@font-face {
    font-family: "taalam";
    font-weight: normal;
    font-style: normal;
    src: url(https://dl.dropboxusercontent.com/s/88rgfrkynhl1us1/Ta3alamFont.eot);
    src: url(https://dl.dropboxusercontent.com/s/88rgfrkynhl1us1/Ta3alamFont.eot?#iefix) format('embedded-opentype'),
    url(https://dl.dropboxusercontent.com/s/4o1q9vz7rnsan5q/Ta3alamFont.woff) format('woff'),
    url(https://dl.dropboxusercontent.com/s/7bql7padzeg1gbb/Ta3alamFont.ttf) format('truetype');
}
@font-face {
    font-family: "din";
    font-weight: bold;
    font-style: normal;
    font-display: auto;
    src: url("../fonts/DIN NEXT™ ARABIC BOLD.otf");
}
@font-face {
    font-family: "din";
    font-weight: 600;
    font-style: normal;
    font-display: auto;
    src: url("../fonts/DIN NEXT™ ARABIC MEDIUM .otf");
}
@font-face {
    font-family: "din";
    font-weight: normal;
    font-style: normal;
    font-display: auto;
    src: url("../fonts/DIN NEXT™ ARABIC REGULAR.otf");
}
:root {
	--primary-color: #0F3A30;
	--secondary-color : #E4F8F5;
	--third-color: #919B5D;
	font-size: 16px;
}
body {
	background: #ffffff;
	direction: rtl;
	font-family: "din";
	font-weight: normal;
	font-size: 1rem;
}
.primary-bg {
	background-color: var(--primary-color);
}
.secondary-bg {
	background-color: var(--secondary-color);
}
.third-bg {
	background-color: var(--third-color);
}
.relative-row {
	position: relative;
}
#top-header {
    height: 50px;
    background: var(--primary-color);
    padding-left: 30px;
    padding-right: 30px;
}
#social-links {
    float: left;
}
#social-links a {
    display: inline-block;
    color: var(--primary-color);
    background-color: var(--third-color);
    font-size: 18px;
    height: 30px;
    width: 30px;
    border-radius: 100%;
    text-align: center;
    line-height: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 5px;
    transition: transform 0.6s, background 0.6s;
}
#social-links a:hover,
#social-links a:focus {
    background-color: #ffffff;
    transform: rotate(-360deg);
}
#date-now {
    float: right;
    font-size: 16px;
    font-weight: normal;
    color: #fff;
    padding-top: 14px;
    padding-bottom: 14px;
}
#menu-bar {
    background-color: var(--secondary-color);
}
.navbar-header {
    height: 160px;
    width: 100%;
}
.navbar-brand {
    float: none;
    height: 100%;
    width: 100%;
    line-height: 100%;
    display: block;
}
.navbar-brand > img {
    max-height: 100%;
    max-width: 100%;
    margin: auto;
}
.navbar {
    margin: 50px 0;
}
.navbar-inverse {
    background: transparent;
    border: 0;
    border-radius: 4px;
}
.navbar-inverse .nav.navbar-nav {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), #ffffff);
    border: 0;
    border-radius: 4px;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
	border: none;
}
.navbar-inverse .navbar-nav>li>a,
.navbar-inverse .navbar-text {
    color: var(--primary-color);
    font-size: 1rem;
	font-weight: bold;
	border-left: 1px outset #cccccc;
}
.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li:first-child > a {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.navbar-inverse .navbar-nav>li:last-child > a {
	border: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.navbar-inverse .navbar-nav>.active>a, 
.navbar-inverse .navbar-nav>.active>a:focus, 
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.search>a,
.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li>a:hover {
    color: #fff;
    background-color: var(--primary-color);
}
.navbar-toggle {
    padding: 60px 10px;
    margin-left: 0;
}
.navbar-toggle .icon-bar {
    background-color: var(--primary-color);
}
#slider {
    width: 100%;
    height: 460px;
    position: relative;
}
#slider-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}
.slider-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: 0.6s;
}
.slider-item.current {
	display: block;
    visibility: visible;
    opacity: 1;
}
.slider-item::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: #000000;
    opacity: 0.2;
}
.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-meta {
    position: absolute;
    bottom: -100%;
    width: 100%;
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 40px;
    transition: 0.6s;
}
.slider-item.current .slider-meta {
	bottom: 0%;
}
.slider-caption {
    border-bottom: 2px solid #ffffff;
    padding-bottom: 16px;
}
.slider-caption > a {
    color: #ffffff;
    text-decoration: none;
}
.slider-description {
	color: #ffffff;
	font-size: 1rem;
	text-align: justify;
}
#slider-right,
#slider-left {
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    width: 60px;
    height: 60px;
    margin: auto;
    font-size: 36px;
    color: #ffffff;
    border-radius: 100%;
    border: 4px solid #ffffff;
    cursor: pointer;
    text-align: center;
    line-height: 56px;
}
#slider-left {
	right: auto;
	left: 20px;
}
#slider-controls {
    position: absolute;
    bottom: 10px;
    left: 100px;
}
#slider-controls a {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 100%;
    background-color: var(--third-color);
    margin-right: 6px;
}
#slider-controls a.current {
    background-color: #ffffff;
}
#links-slider {
    padding-left: 10px;
    padding-right: 10px;
    background-color: var(--third-color);
    overflow: hidden;
}
#links-slider-inner {
    white-space: nowrap;
    display: table;
    width: 100%;
    transition: margin 0.6s;
}
#links-slider-outter {
    width: calc(100% - 120px);
    overflow: hidden;
}
.links-slider-item,
.links-slider-item:hover,
.links-slider-item:focus {
    font-size: 1rem;
    color: #ffffff;
    padding: 16px;
    display: inline-block;
}
.links-slider-item::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 100%;
    margin-right: 30px;
}
#links-slider-controls {
    float: left;
    height: 40px;
    padding-top: 6px;
}
#links-slider-controls > div {
    width: 40px;
    float: right;
    height: 40px;
    background: #ffffff;
    margin-right: 10px;
    border-radius: 100%;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    cursor: pointer;
}
#maraaf-right {
    float: right;
    width: 400px;
    padding: 15px;
}
.maraaf-link {
    width: 175px;
    display: inline-block;
    margin: 4px;
    text-align: center;
    padding: 20px 10px;
    background-color: var(--secondary-color);
    height: 150px;
    vertical-align: middle;
    border-radius: 20px;
}
.maraaf-link img {
    height: 45px;
    width: auto;
}
.maraaf-caption {
    font-size: 1.3rem;
    font-weight: bold;
    vertical-align: middle;
    color: var(--primary-color) !important;
    text-decoration: none !important;
}
#maraaf-left {
    overflow: hidden;
    background-color: var(--secondary-color);
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    height: 100%;
    min-height: 100%;
    position: relative;
}
.primary-head,
.white-head {
    white-space: nowrap;
    overflow: hidden;
    vertical-align: middle;
    margin-bottom: 20px;
}
.primary-head h3,
.white-head h3 {
    color: var(--primary-color);
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    height: 40px;
}
.white-head h3 {
    color: #ffffff;
}
.primary-head::after,
.white-head::after {
    content: "";
    background-image: url(../images/primary-border.png);
    display: inline-block;
    width: 100%;
    height: 40px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
    vertical-align: middle;
}
.white-head::after {
    background-image: url(../images/white-border.png);
}
#maraaf {
    padding-top: 20px;
    padding-bottom: 20px;
}
#maraaf-thumbnail {
    width: 100%;
    height: 18vw;
    min-height: 230px;
}
#maraaf-thumbnail > img {
    width: 100%;
    height: auto;
    border: 5px solid #eeeeee;
    max-height: 100%;
    object-fit: cover;
}
#maraaf-title {
    margin-bottom: 10px;
    border-bottom: 1px solid;
    padding-bottom: 6px;
}
#maraaf-desc {
    text-align: justify;
    line-height: 1.8;
}
#maraaf-footer {
	text-align: left;
	padding-top: 20px;
}
.table.meta-table {
    color: #1ca900;
    font-weight: bold;
}
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:hover {
    color: #fff;
    background-color: var(--third-color);
    border-color: var(--third-color);
    border-radius: 0;
}
#video-library,
#audio-library,
#fatawa-library,
#books-slider-library,
.row-section {
    padding-top: 40px;
    padding-bottom: 40px;
}
#audio-library {
    background-color: #ffffff;
}
#video-library-inner {
    height: 450px;
    position: relative;
    width: 100%;
}
#video-library-embed {
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
}
#video-library-embed iframe {
    width: 100%;
    height: 100%;
}
#video-library-elements {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
}
.video-libary-item {
    display: inline-block;
    float: right;
    height: 218px;
    overflow: hidden;
    width: calc(50% - 15px);
    margin-bottom: 15px;
    margin-right: 15px;
    background: #fff;
    border: 1px solid #dddddd;
}
.video-libary-item > img {
    height: 50%;
    width: 100%;
    object-fit: cover;
}
.video-libary-item .table.meta-table {
    height: 20%;
    margin: 0;
    font-size: 0.8rem;
}
.video-libary-item h4 {
    margin: 0;
    padding: 20px;
    white-space: nowrap;
    color: #0c14a3;
    border-top: 2px solid #0c14a3;
}
.audio-library-item,
.fatawa-library-item {
    width: 100%;
    vertical-align: middle;
    overflow: hidden;
    position: static !important;
    height: 50px;
    border-bottom: 1px solid #cccccc;
    line-height: 50px;
}
.audio-library-col .audio-library-item:last-child,
.fatawa-library-col .fatawa-library-item:last-child {
	border: 0;
}
.audio-library-title,
.fatawa-library-title {
    display: inline-block;
    white-space: nowrap;
    left: 50px;
    max-width: 100%;
    overflow: hidden;
    float: right;
    position: absolute;
    right: 0;
}
.audio-library-title > a,
.fatawa-library-title > a {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
}
.audio-library-title::before,
.fatawa-library-title::before {
    content: "";
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    background-image: url(../images/speaker.png);
    background-size: 100% 100%;
}
.fatawa-library-title::before {
    background-image: url(../images/question.png);
}
.audio-controls,
.fatawa-controls {
    float: left;
    display: inline-block;
    position: absolute;
    left: 0;
    width: 50px;
    text-align: center;
    font-size: 20px;
}
.audio-controls > a {
    color: #444444;
}
.fatawa-controls {
    width: 80px;
    font-size: 14px;
}
.fatawa-controls > a {
    margin-right: 10px;
    color: #32a594;
}
.fatawa-library-title {
	left: 80px;
}
.fatawa-add .fa {
	border-bottom: 1px solid;
    border-left: 1px solid;
    padding-left: 2px;
    padding-bottom: 1px;
    border-radius: 2px;
}
#tabs-wrap {
    margin-top: 10px;
    background: transparent;
}
.nav-tabs {
    border-bottom: 1px solid #32a594;
    background-color: #eee;
}
.nav.nav-tabs > li {
    width: 50%;
    text-align: center;
}
.nav-tabs>li>a {
    margin-left: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    color: #444444;
}
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    color: #32a594;
    cursor: default;
    background-color: #fff;
    border: 1px solid #32a594;
    border-bottom-color: transparent;
}
.nav-tabs>li>a:hover {
    border-color: transparent;
    border-bottom-color: #32a594;
}
.tab-content .list-group .list-group-item {
	border-top: 0;
	border-bottom: 2px dashed #ddd;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
}
.tab-content .list-group .list-group-item:last-child {
	border-bottom: 2px dashed transparent;
}
.list-meta {
    font-size: 12px;
    color: #999999;
    margin-top: 10px;
}
#books-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-left: 40px;
    padding-right: 40px;
}
#books-slider-outter {
    max-width: 100%;
    overflow: hidden;
}
#books-slider-inner {
    display: table;
    white-space: nowrap;
    transition: margin 0.6s;
}
.books-slider-item {
    width: 250px;
    height: 230px;
    display: inline-block;
}
#books-slider-left,
#books-slider-right {
    width: 0;
    height: 0;
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    border-right: 10px solid #fff;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    cursor: pointer;
}
#books-slider-right {
	right: 10px;
	left: auto;
    border-right: 0;
    border-left: 10px solid #fff;
}
.footer-social {
    text-align: center;
}
.footer-social-item {
    display: inline-block;
    font-size: 26px;
    color: #444444;
}
.footer-head {
    width: 100%;
}
.footer-head::after {
    display: block;
    content: "";
    border-bottom: 1px solid;
    width: 50px;
    margin-bottom: 20px;
}
.input-email-letter {
    padding: 12px;
    border-color: #444444;
    border-width: 1px;
    width: 100%;
}
#footer .container {
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid;
}
.twitter-widget {
    max-height: 400px;
    overflow: auto;
}
.visitor-counter {
    min-width: 160px;
    color: #0994e9;
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    border: 1px solid #444444;
    margin: auto;
    display: table;
    margin-top: 20px;
}
#bottom-footer {
    background-color: var(--third-color);
    color: #ffffff;
}
.footer-nav > li > a {
    color: #fff;
}
.footer-nav>li>a:focus,
.footer-nav>li>a:hover {
    text-decoration: none;
    background-color: transparent;
    color: #eee;
}
#copyright {
    min-height: 50px;
    line-height: 50px;
    text-align: left;
}
#menu-bar .row {
    display: table;
    width: 100%;
    margin: 0;
}
.statistic {
    text-align: center;
    font-weight: bold;
}
.statistic > img {
    max-height: 80px;
    vertical-align: middle;
    display: inline-block;
}
.statistic > h2 {
    font-weight: bold;
    font-size: 2rem;
}
#page-up {
    width: 40px;
    height: 40px;
    background-color: var(--third-color);
    color: #fff;
    font-size: 45px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    margin-top: -70px;
    float: right;
}
@media(max-width: 991px) {
	#menu-bar-content .nav.navbar-nav {
	    float: none;
	    display: table;
	    margin: auto;
	}
}
@media(max-width: 767px) {

        #top-header {
	    height: auto;
	    min-height: 50px;
	}
	#social-links,
	#date-now {
	    float: none;
	    display: table;
	    margin: auto;
	}
    #menu-bar-content .nav.navbar-nav {
        width: 100%;
    }
	.navbar-nav {
	    margin: 0;
	}
	.navbar-inverse .navbar-nav>li>a,
	.navbar-inverse .navbar-nav>li:first-child > a,
	.navbar-inverse .navbar-nav>li:last-child > a {
		border-radius: 0;
	}
	#maraaf-right,
	#maraaf-left {
		float: none;
		width: 100%;
		text-align: center;
	}
    .maraaf-link {
        width: 140px;
        display: inline-block;
        margin: 4px;
        text-align: center;
        padding: 20px 10px;
        background-color: var(--secondary-color);
        height: 150px;
        vertical-align: middle;
        border-radius: 20px;
    }
	#video-library-inner {
		height: auto;
	}
	#video-library-embed,
	#video-library-elements {
	    width: 100%;
	    height: 450px;
	    position: relative;
	    margin-bottom: 15px;
	}
	#video-library-elements {
	    margin-right: -15px;
	    width: auto;
	    margin-left: -15px;
	}
	.video-libary-item {
		width: calc(50% - 22px);
	}
	.footer-nav {
		width: 100%;
		text-align: center;
	}
	.footer-nav > li > a {
	    color: #fff;
	}
	#copyright {
		width: 100%;
	    text-align: center;
	}
    .navbar-brand {
        float: none;
        position: relative;
        width: 80%;
    }
    .navbar-brand > img {
        max-height: 100%;
        max-width: 100%;
        margin: auto;
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        width: auto;
        top: 0;
        bottom: 0;
    }
}