/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

body {}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: "adobe-caslon-pro",Arial;
    height: 100%;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


.pull-left {
  float: left !important;
}
.pull-right {
  float: right !important;
}
#map-canvas {
    height: 100%;
    margin: 0px;
    padding: 0px
}

.map_container{
    position: relative;
    width: 100%;
    padding-bottom: 90%; /* Ratio 16:9 ( 100%/16*9 = 56.25% ) */
}
.map_container .map_canvas{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

.no-wrap {white-space: nowrap}
.center {text-align: center;}

.table-responsive {-webkit-overflow-scrolling: touch;}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.container.main { margin-bottom: 30px;}

.container.main h1 {font-family: "trajan-pro-3", "adobe-caslon-pro",serif; font-weight: normal; font-size: 2.625em; color: #2b344c;border-bottom: 1px solid #F2F2F2 }
.container.main h2 {font-family: "adobe-caslon-pro",serif; font-weight: normal; font-size: 2em;color: #2b344c;border-bottom: 1px solid #F2F2F2 }
.container.main p {font-size:1.125em; line-height: 1.50em; color: #38211b}

.container.main h1 small {font-family: "adobe-caslon-pro",serif;font-weight: normal; color: #999999; font-size: 0.5em; }
.container.main h2 small {font-family: "adobe-caslon-pro",serif;font-weight: normal; color: #999999; font-size: 0.4em; }

.row .col-md-12 > h1:first-child {margin-top: 0;}
.row .col-md-12 > h2:first-child {margin-top: 0;}


.container.main table {width: 100%; margin-bottom: 30px; border: 1px solid;}

.container.main table thead, .container.main table th { color: #fff; vertical-align: middle; margin: 0; line-height: 2em; font-family: trajan-pro-3, adobe-caslon-pro, serif; font-weight: normal;padding: 0px 10px;}
.container.main table thead, .container.main table th {background: #2eb82e;width: initial !important; height: initial !important;}
.container.main table td {padding: 0px 10px; width: initial !important;height: initial !important;}
.container.main table td { margin: 0; line-height: 1em; font-size: 1em;padding-top: 9px;}
.container.main table tr:nth-child(even) {background:#ededed;}
.container.main table tr:hover, .container.main table tr.jummah:hover {background:#38211b; color: #ffffff; font-weight: bolder; border-right-color: #fff}
.container.main table tr.today {background:#2eb82e; color: #fff; border-right-color: #fff; font-weight: bolder;}
.container.main table tr.jummah {background: #bdbdbd; font-weight: bold;}

.container.main table thead {border-bottom-color: #fff; border-right-color: #000}
.container.main table thead tr { border-right-color: #fff}
.container.main table thead tr th:last-child {border-right-color: #000}
.container.main table thead tr:last-child {border-bottom-color: #000}

.namazTable {overflow: auto;}
.namazTable tbody {border-color: #000;}

.borderedLeft {border-left: 1px solid #F2F2F2;}
.margin-top-30 {margin-top: 30px;}
.margin-bottom-30 {margin-bottom: 30px;}

.reset-gut-left {padding-left: 0px;}
.reset-gut-right {padding-right: 0px;}

.text-normal {font-size: 1.125em !important;}

.subject-break {width: 1px;height: 24px;margin-bottom: -7px;margin-left: 5px;margin-right: 5px;background: #F2F2F2;display: inline-block;}
.subject-break:last-child {display: none}

.text-grey a {text-decoration: none;color:#999999 !important;}
.allow-text-break p, p.allow-text-break {
-webkit-hyphens: auto;
   -moz-hyphens: auto;
    -ms-hyphens: auto;
        hyphens: auto;

}

hr {border-top: 1px solid #F2F2F2;}


a, a:visited { color: #2eb82e; text-decoration: underline;
    -webkit-transition: color 0.5s;
       -moz-transition: color 0.5s;
        -ms-transition: color 0.5s;
         -o-transition: color 0.5s;
            transition: color 0.5s;
}
a:hover {color: #2e0b0c;
    -webkit-transition: color 0.5s;
       -moz-transition: color 0.5s;
        -ms-transition: color 0.5s;
         -o-transition: color 0.5s;
            transition: color 0.5s;
}
a:active, a.active {color: #000;
    -webkit-transition: color 0.5s;
       -moz-transition: color 0.5s;
        -ms-transition: color 0.5s;
         -o-transition: color 0.5s;
            transition: color 0.5s;
}

.grey-box {background:#E8E8E8;margin-right: -15px; padding-bottom: 15px; margin-bottom: 30px;
-webkit-transform: translateX(-15px);
   -moz-transform: translateX(-15px);
    -ms-transform: translateX(-15px);
     -o-transform: translateX(-15px);
        transform: translateX(-15px);
}
.grey-box h2 {margin:12px 0 !important; border: none !important;}
.grey-box:last-child {margin-bottom: 0px;}

.important {color: red; font-size: 1.3rem}

#fakeMenuContainer {width: 100%;height: 61px;border-top: 1px solid #fff;border-bottom: 1px solid #fff;max-height: 61px; z-index: -1; display: none;}
#fakeMenuContainer.fixed { display: block;}
#menuContainer {
    width: 100%;
    background: #2eb82e;
    height: 61px;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    max-height: 61px;
}

.csspositionsticky #menuContainer {
    -webkit-transition: box-shadow 0.5s;
    -moz-transition: box-shadow 0.5s;
    -ms-transition: box-shadow 0.5s;
    -o-transition: box-shadow 0.5s;
    transition: box-shadow 0.5s;
    position: -webkit-sticky;
    top: 0px;
    z-index: 450;
}

#menuContainer.open {
    height: auto;
    max-height: 300px;
}

#menuContainer.fixed {
    position: fixed;
    z-index: 1000;
    top:0;
    box-shadow: 0px 1px 3px #000;
    -webkit-transition: box-shadow 0.5s;
    -moz-transition: box-shadow 0.5s;
    -ms-transition: box-shadow 0.5s;
    -o-transition: box-shadow 0.5s;
    transition: box-shadow 0.5s;
}


#nav { list-style: none; margin: 0; padding:0;}
#nav li { float: left; font-family: "trajan-pro-3", "adobe-caslon-pro",serif; width: 16%; min-width: 100px;}
#nav li a { color: #fff; font-size: 1.250em; line-height: 62px; text-decoration: none; height: 60px; width: 100%; display: inline-block; text-align: center;}
#nav li a.largeLabel {line-height: 62px;word-break: break-word;}
#nav li:hover {background: #145214;}
#nav li.active {background: #000;}


#nav .submenu {background:#145214; color: #fff;width: 40%;position: absolute; height: 0; overflow: hidden; z-index: 100; /* left: 0;  */}

#nav li:hover .submenu {height: auto;}

#nav .submenu section { display: inline-block; float: left; position: relative; margin-right: 100px;}
#nav .submenu section:last-child {margin-right: 0px;}
#nav .submenu section h4 {font-size: 1.250em;max-width: 200px;}
#nav .submenu section ul {list-style: none; margin: 0 0 2.33em 0; padding:0;}
#nav .submenu section ul li { float: none; width: 100%;}
#nav .submenu section  ul li ul li { float: none; width: 100%; margin-left: 25px;}


#nav .submenu section::before {
    content: " ";
    width: 1px;
    height: 80%;
    background: #3C2325;
    position: absolute;
    right: -50px;
    top:0;bottom:0;margin: auto;
}

#nav .submenu section.hideDivider::before {display: none;}

#nav .submenu section:last-child::before { display: none;}
#nav .submenu section ul li a{font-family: "adobe-caslon-pro",serif; font-size: 1em !important; font-weight: 100; line-height: 1.5em; text-align: left; height: auto; width: auto;}
#nav .submenu section ul li a:hover { text-decoration: underline;}

#headerContainer {
    width: 100%;
}

#header {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#header #prayerTimes {background: rgba(255,255,255,0.8); font-family: "trajan-pro-3", "adobe-caslon-pro",serif; font-size: 0.875em; position: absolute; left: 375px; z-index: 10; padding: 0px 5px; width:60%}
#header #prayerTimes h4 {margin-bottom: 0px;}
#header #prayerTimes table {line-height: 2em;}
#header #prayerTimes table tr {}
#header #prayerTimes p {font-family: "adobe-caslon-pro",serif; font-size: 1em;}
#header #prayerTimes.open { display: block;height: 100%;background: rgba(255,255,255,0.9);}

#desktopTimes {display: table;width: 620px; margin-top: 10px;}
#mobileTimes {display: none;}
.sal_item_content .sal_item_wotriangle { width: 28%; }
.sal_item_content .sal_item { width: 31%; }

#header #logo {width: 270px; height: 145px; background: url("../img/headergreen.png") no-repeat center; margin: 15px 0 25px 20px; float: left; background-size:contain;}
.no-svg #header #logo {background: url("../img/header-logo.png");}

#header #mosque {width:314px; height:155px;background: url("../img/salLogoTr12.png"); right: -12px; bottom: 0; position: absolute;}
.no-svg #header #mosque {background: url("../img/header-mosque.png");}

#footer {
    border-top: 15px solid #2eb82e;
    width: 100%;
    background: #145214;
    padding: 20px 0px;
    color: #fff;
}
#footer a {color: #fff; display: block;}
#footer p {line-height: 1.5em;}
#footer h3 {
    font-family: "trajan-pro-3", "adobe-caslon-pro",serif;
    font-size: 1.45em;
    text-transform: capitalize;
}

#footer #inner {width: 100%;}
#menuIcon {
    display: none;
    float: right;
    color:#fff;
    font-size: 1.6em;
    cursor: pointer;
    /*margin-right: -15px;*/
    padding: 0px 15px;
}
#menuContainer.open #menuIcon {background: #145214}
#menuIcon i {line-height: 60px;}
#menuIcon span {font-family: "trajan-pro-3", "adobe-caslon-pro",serif; padding-right: 25px;}

#timeIcon {
    display: none;
    float: left;
    color:#fff;
    font-size: 1.6em;
    cursor: pointer;
    /*margin-left: -15px;*/
    padding: 0px 15px;
}

#timeIcon.open {background: #145214}

#timeIcon i {line-height: 60px;}
#timeIcon span {font-family: "trajan-pro-3", "adobe-caslon-pro",serif; padding-left: 12px;font-size: 0.55em;width: 80px;display: inline-block;
-webkit-transform: translateY(5px);
-moz-transform: translateY(5px);
-ms-transform: translateY(5px);
-o-transform: translateY(5px);
transform: translateY(5px);


}

.footer-logo {}


.btn { padding: 8px 14px 6px 14px; background:grey; text-decoration: none; color: #fff !important; font-size: 1em; font-family: "Helvetica", Arial; font-weight: lighter; border-radius: 3px; display: inline-block;}
.btn:hover {text-decoration: none; color: #fff;}
.btn.btn-primary {background: #2eb82e; border: 1px solid #b2291f;
-webkit-transition: background 0.1s linear;
-moz-transition: background 0.1s linear;
-ms-transition: background 0.1s linear;
-o-transition: background 0.1s linear;
transition: background 0.1s linear;
}
.btn.btn-primary:hover, .btn.btn-primary.active {background:#145214; cursor: pointer;
-webkit-transition: background 0.1s linear;
-moz-transition: background 0.1s linear;
-ms-transition: background 0.1s linear;
-o-transition: background 0.1s linear;
transition: background 0.1s linear;
}

.btn.btn-primary.disabled {background: #a8635e; cursor:not-allowed;}

#audioStream {visibility: hidden; position: absolute;}
#player {width:200px;padding: 6px 14px 7px 14px; background:#2eb82e; text-decoration: none; color: #fff; font-size: 1em; font-family: "Helvetica", Arial; font-weight: lighter; border-radius: 3px; display: inline-block;}
#player #playController {padding-top: 2px; cursor: pointer;}
#player #volumeController {float: right; padding-top: 5px;cursor: pointer;}
#player #volumeController.fa-volume-off {padding-right: 8px;}
#player .playerMessage { color: #fff;display:inline-block; margin: 0px 5px -2px 5px; padding-top: 2px;}

.browserupgrade {
    padding: 15px 50px; margin:0; text-align: center;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 615px) { 
  #header #prayerTimes {display: none}
  #timeIcon {display: block;}
  #mobileTimes {/*display: table; width: 100% !important;*/ margin-left: 30px;}
  #header #logo {margin: 25px auto;float: none;}

    #menuContainer.fixed.open {
        height: 100%;
        max-height: 300px;
        max-height: 100%;
    }
    #menuContainer.open {
        overflow: scroll;
        -webkit-overflow-scrolling: touch;
        display: inline-table;
    }
}
@media (max-width: 670px) { 
  #header #prayerTimes {left:initial !important; right: 0px;width: 100%;}
}


@media (max-width: 991px) {
    #header #logo {width: 280px;height: 180px;background-size: contain;background-repeat: no-repeat;}
    #header #prayerTimes {font-size: 0.750em; left: 380px;height:100%;}
    #header #prayerTimes table {line-height: 1.5em;}
    #nav li a { font-size: 1em;} 

    .grey-box {margin-right: -15px; 
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -o-transform: translateX(0px);
        transform: translateX(0px);

    }
    .img-responsive {margin-bottom: 10px;}  
    .borderedLeft {border-left: 0px; border-top: 1px solid #F2F2F2; padding-top: 15px;}

    .reset-gut-left {padding-left: 0px; padding-right: 0px;}
    .reset-gut-right {padding-right: 0px; padding-left: 0px;}

    .carat-2 {height: 37px; width: 100%; background: url('../img/carat-02.svg') center no-repeat;right: 0px; bottom: 0; }

    .carat-2::before {
    
    height: 1px;
    width:50%;
    left: -30px;
    right:initial;
    top:0;
    bottom:0;
    z-index: -1;
}

    .carat-2::after {
    height: 1px;
    width:50%;
    right: -30px;
    left:initial;
    top:0;
    bottom:0;
    z-index: -1;
    }

    .equalHeights .col-md-4 {padding-bottom: 50px;margin-bottom: 13px;}

    .articleImage {float: left !important;margin:15px 100% 30px 0;max-height: 500px; border: none;}

    #desktopTimes {display: none;}
    #mobileTimes {display: table; width: 260px; margin-top: 2px;}

	.sal_item_content .sal_item_wotriangle { width: 98%; }
	.sal_item_content .sal_item { width: 98%; }

}

@media (max-width: 630px) {
    #nav li a.largeLabel {line-height: 62px !important;padding-top: 0px !important;word-spacing: 0px !important;}
    #menuIcon { display: block;}
      #player #volumeController {padding-top: 4px; }
    #menuContainer {overflow: hidden;}
    #nav {margin-top: 61px;}
    #nav li {width: 50%;}
    #nav .submenu .container {margin-bottom: 5px;}
    #nav .submenu section {margin-right: 0px; width: 100%; margin-bottom: 1em;}
    #nav .submenu section h4 {font-size: 1em; max-width: 100%; width: 100%; margin: 1em 0;}
    #nav .submenu section ul li a {font-size: 0.8em !important; padding-right: 10px;}
    #nav .submenu section::before {
        width: 100%;
        height: 1px;
        right: 0px;
        left:0;
        top:initial;
        bottom: -15px;

    }
    #nav .submenu section ul li {float: left;}
    #header #mosque {opacity: 0.4;}
    .btn { padding:6px 7px; font-size: 0.7em;}
    .container.main h1 {font-size: 2em; color: #2b344c;}
    .container.main h2 {font-size: 1.5em;color: #2b344c; }
    .container.main p {font-size:1em; line-height: 1.40em}

}

@media (max-width: 767px) {
    #nav li a.largeLabel {line-height: 24px;padding-top: 6px;word-break: break-word;word-spacing: 10px;}
}
@media (min-width: 768px) {
    
    #footer h3 { margin-top: 0px;}
    .xtra-space {margin:1.5em 0;}

    


}
@media (min-width: 992px) {
    .xtra-space {margin:0 0 1.5em 0;}

}

@media only screen and (min-width: 35em) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.sal_item_container {
	margin: 10px 0px; padding-top: 10px; width:100%;
}
.sal_heading_container {
	text-align: center; margin-bottom: 50px;
}
.sal_heading_container h2 {
	font-size: 32px; margin-bottom: 0px;
}
.sal_heading_container p {
	font-size: 18px; margin-bottom: 22px;
}

.sal_item_content {
	margin-bottom: 8px;
}
.sal_item_content .sal_item {
	background: rgb(245, 245, 245); border-width: 2px 1px 1px; border-style: solid; border-color: rgb(233, 233, 233); padding: 20px 23px 17px 27px; border-radius: 4px; border-image: none;  margin-right: 10px; margin-left: 10px; margin-bottom: 170px; vertical-align: top; display: inline-block; position: relative; 
}
.sal_item_content .sal_item_wotriangle {
	background: rgb(245, 245, 245); border-width: 2px 1px 1px; border-style: solid; border-color: rgb(233, 233, 233); padding: 1px 1px 1px 1px; border-radius: 4px; border-image: none; margin-right: 10px; margin-left: 10px; margin-bottom: 10px; vertical-align: top; display: inline-block; position: relative;
}

.sal_item_content :nth-child(3n+3).sal_item {
	margin-right: 0px;
}
.sal_item_content :nth-child(3n+3).sal_item_wotriangle {
	margin-right: 0px;
}
.sal_item_content .sal_item::after {
	border: solid transparent; border-image: none; left: 11%; top: 100%; width: 0px; height: 0px; position: absolute; content: " "; pointer-events: none;
}
.sal_item_content .sal_item::before {
	border: solid transparent; border-image: none; left: 11%; top: 100%; width: 0px; height: 0px; position: absolute; content: " "; pointer-events: none;
}
.sal_item_content .sal_item::after {
	border-width: 13px; border-color: rgb(245, 245, 245) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0); margin-left: -13px;
}
.sal_item_content .sal_item::before {
	border-width: 15px; border-color: rgb(233, 233, 233) rgba(219, 219, 219, 0) rgba(219, 219, 219, 0); margin-left: -15px;
}
.sal_item_content .sal_item .sal_item_inner {
	left: 3px; width: 100%; bottom: -105px; overflow: hidden; position: absolute;
}
.sal_item_content .sal_item_wotriangle .sal_item_inner {
	left: 3px; width: 100%; bottom: -105px; overflow: hidden; position: absolute;
}
.sal_item_content .sal_item img {
	margin: 1px 12px 0px 0px; border-radius: 100%; width: 74px; height: 74px; float: left; display: inline-block;
}
.sal_item_content .sal_item_wotriangle1 img {
	margin: 1px 12px 0px 0px; border-radius: 100%; width: 74px; height: 74px; float: left; display: inline-block;
}
.sal_item_content .sal_item_wotriangle1 img {
	margin: 1px 12px 0px 0px; display: inline-block;
}
.sal_item_content .sal_item img:hover {
	animation:bounceIn_custom 0.7s ease-in-out; -webkit-animation: bounceIn_custom 0.7s ease-in-out; -moz-animation: bounceIn_custom 0.7s ease-in-out; -o-animation: bounceIn_custom 0.7s ease-in-out;
}
.sal_item_content .sal_item_wotriangle img:hover {
	animation:bounceIn_custom 0.7s ease-in-out; -webkit-animation: bounceIn_custom 0.7s ease-in-out; -moz-animation: bounceIn_custom 0.7s ease-in-out; -o-animation: bounceIn_custom 0.7s ease-in-out;
}
.sal_item_content .sal_item p {
	line-height: 27px; font-size: 17px; margin-bottom: 18px;
}
.sal_item_content .sal_item_wotriangle p {
	line-height: 27px; font-size: 13px; margin-bottom: 18px;
}
.sal_item_content .sal_item .sal_item_inner span {
	color: rgb(84, 84, 84); font-size: 17px; text-decoration: none; margin-top: 20px; vertical-align: top; display: block;
}
.sal_item_content .sal_item_wotriangle .sal_item_inner span {
	color: rgb(84, 84, 84); font-size: 17px; text-decoration: none; margin-top: 20px; vertical-align: top; display: block;
}



/*
.timetable {
    background: url(../img/bg1.jpg) no-repeat;
    color: #ffffff;
    width: 100%;
    float: right;
    padding: 25px;
	background-size:cover; 
}

.timetable h2{
    padding:0;
    margin:0;
    font-size:25px;
}

.timetable a{
    font-weight:bold;
    color:#ffffff;
}

.timetable .td4{
    border-bottom:1px solid #e7e7e7;
    border-left:1px solid #e7e7e7;
    margin:0 !important;
    width:70px;
    float:left;
    padding:5px;
    text-align:center;
}
.timetable .nbr .td4{
    border-bottom:none;
}

.timetable .td4:first-child {
    border-left:none;
    text-align:left;
}

aside .timetable {
    width:100%;
    background-size:cover;
    margin:20px 0 0 0;
}
*/

.sal_item_wotriangle img {
    max-width: 100%;
}

.content-wrapper .content-info {
	margin-bottom: 20px;
}
.content {
	padding-top: 10px; width:100%;
}
.content img {
	max-width: 100%;
}
.content-wrapper .content-info h4 {
	margin: 0px; padding: 0px; text-align: center;
}
#content {
	overflow: hidden; padding-bottom: 5px; margin-top: 5px; margin-bottom: 5px; border-bottom-color: rgb(238, 238, 238); border-bottom-width: 3px; 
}
#content ul.thumbnails {
	margin: 0px auto 0px -32px; padding: 0px; width: 1008px; overflow: hidden; list-style-type: none;
}
#content .one_fourth h2 {
	margin: 20px 0px 12px; padding: 0px; font-size: 22px; font-weight: 400;
}
#content .one_fourth h2 a {
	color: rgb(74, 74, 74);
}
#content .one_fourth img {
	width: 100%; height: auto;
}
#content ul.thumbnails li {
	background: none; margin: 0px 0px 26px 32px; width: 198px; height: 250px; overflow: hidden; float: left;
}
#content ul.thumbnails a.bigthumbs {
	width: 198px; display: block; background-image: url("../images/img-bg.png");
}