/*#maincontent.user_dashboard, #maincontent.user_dashboard ul {*/
/*    color: white;*/
/*    padding-bottom: 2px;*/
/*}*/
/* temporary */
li, #content li, #header li, #maincontent:not(.admin) ul li {
    list-style-type:none;
}
#maincontent:not(.admin) .featured_article ul li {
    list-style-type:disc;
}

#maincontent.user_dashboard .read_more a {
    color: black;
}

.home #maincontent .featured_article:first-child h2:after {
    margin: 0px auto;
    margin-top: 20px;
    position:relative;
}
/* allow a lot of text on slider */
@media(max-width:1600px) {
    .header_slider_wrapper .slipprySlider .slider_description {
        font-size:18px;
    }
}
.sy-caption-wrap .sy-caption a:link, .sy-caption-wrap .sy-caption a:visited {
    color: #f05833 !important;
}
/* made the payment page unusable*/
/*.error, #maincontent .error{*/
/*    display:none !important;*/
/*}*/

/************************************* 
photo galleries
**********************************/
#gia_head {background:transparent;}
.pg_img_div {
    height:250px;
}
.pg_img_div a {
    height:200px;
    display:block;
}
.pg_img_div img {
    height: 100% !important;
    width: auto !important;
}
/***********************************
audio pages 
**********************************/
.ckeditor-html5-audio.html5audio-new > span.left ~ audio, .ckeditor-html5-audio.html5audio-new > span.right ~ audio, .ckeditor-html5-audio.html5audio-new > span.left-center ~ audio, 
.ckeditor-html5-audio.html5audio-new > span.right-center ~ audio {
    max-width:350px !important;
}
#maincontent.photo h2 {
    box-sizing: border-box;
    color: rgb(72, 72, 72);
    display: block;
    font-family: GillSans-SemiBold;
    font-size: 42px;
    font-style: normal;
    font-weight: 400;
    height: 80px;
    line-height: 50.4px;
    margin-bottom: 18px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    padding-bottom: 30px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    position: relative;
    text-align: left;
}
/* override font on the audio libraries page */
body {font-family:'GillSans-SemiBold';}
#maincontent.photo h2:after {
    content: "";
    display: block;
    width: 72px;
    height: 6px;
    background: #f05833;
    position: absolute;
    left: 0px;
    bottom: 0px;
}
#form_23394-element-38,#form_23394-element-39, #form_23394-element-40, #form_23394-element-41,#form_23394-element-42,#form_23394-element-43,#form_23394-element-101,#form_23394-element-140,#form_23394-element-120{
    width: 100px !important;
}

#form_23394-element-37{
    width: 260px !important;
}

#form_23394-element-99,#form_23394-element-139{
    width: 100px !important;
    text-align: center !important;
}

.control-label h2{
    text-align:center;
}
.pfbc-form label {
    font-weight: normal;
    font-size: 20px;
    color: #0E4D6C;
    text-transform: uppercase;
    float: none;
    margin-bottom: 20px;
}

#form_23394-element-14-8, #form_23394-element-14-9, #form_23394-element-14-10,#form_23394-element-15-6,#form_23394-element-15-7,#form_23394-element-15-8,#form_23394-element-14-7{
    margin-left: 15px;
}


.radio, #form_23394-element-38-0{
    padding-top: 2px;
    margin-top: -25px !important;
    padding-left: 11px;
}

.pfbc-form .controls>.radio:first-child{
    font-size: 15px;
    padding-left: 9px !important;
}

.pfbc-form .radio input[type="radio"]{
    display:none;
}
.mosaicflow__item img {
    border-right: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
body.left_aligned #maincontent .content_body p:first-of-type img:first-of-type {
    float:left;
    margin-right:10px;
}
@media (max-width:1400px) {
    .edit-buttons-overlay {
        width:100px;
    }
}
/* admin */
.edit-buttons-overlay .edit-buttons-header, .edit-buttons-overlay .content_button, 
.edit-buttons-overlay .only_edit_mode > div, .edit-buttons-overlay em, .edit-buttons-overlay .ui-icon {
    display:none;
}
.content_button[title="Toggle Editing Buttons"], .content_button[title="Edit Page Options"] {
    display:block;
    font-size:12px;
    text-align:center;
}

/* members of the month */
.featured_article.mofmonth {
    float:left;
    width:33%;
}
.featured_article.mofmonth .content_body {
    text-align:center;
    height:450px;
}
.featured_article.mofmonth .content_body img {
    border-radius:50%;
}
.featured_article.mofmonth .content_body .cke_editable {
    height:auto;
}
#maincontent .featured_article.mofmonth .content_body a {
    text-decoration:none;
}
.featured_article.mofmonth + div.clear {display:none;}
/*temporary until push template */
.staff #maincontent .featured_article:not(.staff_title) .content_body .section_subcontent{ 
	min-height: 220px;
	margin-bottom: 25px;
}
.staff #maincontent .content_body .section_subcontent a.email {
    margin-bottom:15px;
    display:block;
}
.staff_bio #maincontent_sidebar_wrapper {
    	background:url(https://tbsnj.shulcloud.com/templates/71/images/maincontent_bg.png) repeat-x top center;

}
.staff #maincontent .content_body .section_subcontent h3{ color:#484848; text-transform:inherit; margin-bottom:0px;}
.staff #maincontent .content_body .section_subcontent p{ margin-bottom:0px; line-height:1.5;}
.staff #maincontent .content_body .section_subcontent img{ position:absolute; left:0px; top:0px; width:175px !important; height:auto !important;}
.staff #maincontent .content_body .section_subcontent:last-child{ padding-left:208px;}
.staff #maincontent .content_body .section_subcontent:last-child img{ left:8px;}
.staff #maincontent .content_body .section_subcontent a.phone,
.staff #maincontent .content_body .section_subcontent a.email,
.staff_bio #content  a.phone,
.staff_bio #content a.email{ font-size:24px; color:#484848; text-decoration:none; font-family: 'GillSans-SemiBold';}
.staff #maincontent .content_body .section_subcontent a.phone:before,
.staff #maincontent .content_body .section_subcontent a.email:before,
.staff_bio #content  a.phone:before,
.staff_bio #content  a.email:before{ content:""; display:inline-block; margin-right:5px; background-size:100% auto; background-position: center center; background-repeat:no-repeat; width:20px; height:20px; vertical-align:middle;}
.staff #maincontent .content_body .section_subcontent a.phone:before,
.staff_bio #content  a.phone:before{ background-image:url(https://tbsnj.shulcloud.com/templates/71/images/phone-icon.svg);}
.staff #maincontent .content_body .section_subcontent a.email:before,
.staff_bio #content  a.email:before{ background-image:url(https://tbsnj.shulcloud.com/templates/71/images/email-icon-sm.svg);}

@media (min-width: 1200px) {
    #footer .footer_wrapper  .row {
        margin-left:0px;
    }
}
.footer_blue{
    padding-bottom: 18px !important;
}

.footer_beige{
    padding-bottom: 20px !important;
}

.footer_blue .logo {
    padding-left: 50px;
    padding-top: 44px;
    width: 500px;
}

.footer_blue .logo+.col-md-7 {
    width: auto;
    float: right;
    padding-top: 79px;
}

@media (max-width:1450px) {
    .staff #maincontent .content_body .section_subcontent a.phone, .staff #maincontent .content_body .section_subcontent a.email {
        font-size:18px;
    }
}

@media (min-width:769px) {
	body.staff_bio #sidebar_right {
	    padding-top: 182px;
	}
	/* reduce white space between nav and logo */
	#mainnav {
	    margin-top:0px;
	}
}
@media (max-width:768px) {
    /* members of the month */
    .featured_article.mofmonth {
        float:none;
        width:100%;
        height:auto;
    }
    .featured_article.mofmonth + div.clear {display:block;}
}

/* this fixes an issue where setting the slider to fully clickable made the image go full width rather than leaving room on the left for the caption */
@media (min-width:1100px) {
    .header_slider_wrapper .sy-slide img {
        width: 66.66%;
        margin-left: 33.4%;
    }
}

/* shabbat info on home page */
#maincontent:not(.admin) .featured_article.shabbat_events .section_subcontent:first-child ul li {
    list-style-type:none;
    list-style:none;
}
#maincontent .shabbat_events .section_subcontent:first-child li:before {
    content: "";
    display: inline-block;
    margin-left: -60px;
    width: 50px;
    height: 50px;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
}
#maincontent .shabbat_events .section_subcontent:first-child .row > div.col-md-6:first-child li:first-child:before {
    background: url(https://images.shulcloud.com/1559/uploads/Images/Website/Home/torah-icon.svg);
}
#maincontent .shabbat_events .section_subcontent:first-child .row > div.col-md-6:first-child li:nth-child(2):before {
    background:url(https://images.shulcloud.com/1559/uploads/Images/Website/Home/candle-icon.svg) no-repeat;
}
#maincontent .shabbat_events .section_subcontent:first-child .row > div.col-md-6:first-child li:nth-child(3):before {
    background:url(https://images.shulcloud.com/1559/uploads/Images/Website/Home/chalice-icon.svg) no-repeat;
}
#maincontent .shabbat_events .section_subcontent:first-child .row > div.col-md-6:nth-child(2) li:first-child:before {
    background:url(https://images.shulcloud.com/1559/uploads/Images/Website/Home/temple-icon.svg) no-repeat;
}
#maincontent .shabbat_events .section_subcontent:first-child .row > div.col-md-6:nth-child(2) li:nth-child(2):before {
    background:url(https://images.shulcloud.com/1559/uploads/Images/Website/Home/family-icon.svg) no-repeat;
}

#footer .endowment {
    margin-top:20px;
    color:#fff;
}
@media (min-width:569px) {
    #footer .endowment {
    padding-left:50px;
    }
}
@media (max-width:1474px) {
    .footer_blue .logo+.col-md-7 {
        width:100%;
    }
}