/*#img_div {*/
/*    float: left;*/
/*    text-align: left;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    width: 100%;*/
/*    padding-left: 60px;*/
    /*background: url(https://images.shulcloud.com/1298/uploads/Logo/bannermuted.jpg) center no-repeat;*/
/*    background: url(https://images.shulcloud.com/1298/uploads/Logo/bannerimage.jpg) center no-repeat;*/
/*    height: 150px;*/
/*}*/
/*#img_div a {*/
/*    box-shadow: 0px 0px 30px 30px #07006d;*/
/*}*/
#img_div {
    width:auto;
    height: fit-content;
}

.tribe_row, .css-panes .member_item.tribe_row {display:none;}

#sidebar_right .upcomingEvents > li {
    margin-bottom:10px;
}
#sidebar_right .event_widget_title {
    line-height:23px;
}
.home .featured_article {
    margin-top:-17px;
}
.home #sidebar_right {
    margin-top:13px;
}

#maincontent h2 {
    float: none;
    font-style: normal;
    padding: 0;
    height: auto;
    line-height: 32px;
    font-size: 20px;
    font-family: 'montserratregular';
    color: #30474e;
    padding-bottom: 0;
    font-weight: normal;
}

.fck_widget_slider .sy-box .sy-pager {
    display:none;
}
.sy-controls {
    display:none!important;
}
body.home #sidebar_right h2:not(.content_title) a{
    color:#5a477e;
    font-weight:bold;
    font-size:22px;
    text-decoration:underline;
}
body.home #sidebar_right h2:not(.content_title) a:hover {
    color:#5a477e;
}
/*show date on blog post*/
.blog .featured_article H3.date {
    display:block;
    color:#000;
    border:0px;
    padding-bottom:0px;
}
.blog .featured_article {
    margin-bottom:5px;
}
.blog #maincontent .readmore {
    display:inline;
}

.featured_article H3.date{
    margin-bottom:0 !important;
}
#sidebar_right .search_area {
    display:block;
    position:relative;
    margin-bottom:15px;
}
#sidebar_right .search_area input[type="submit"] {
    background:#2e7194;
    color:white;
    font-family: 'montserratregular', sans-serif;
    text-transform:uppercase;
    border:0px;
    padding:2px;
    cursor:pointer;
}

body.event #maincontent h2.individual_event_page_header {
    padding-top: 0px;
    padding-bottom: 0px;
    background: none;
    line-height: 1.2;
    font-size: 30px;
}
.content_body .section_subcontent:last-child {
    padding-right:15px;
}
/*------------------Admin*/

.action-button.follow_up_button {
    background:#ddd;
}
#maincontent.admin table.listing td.debit {
    color:red;
}
#maincontent.admin table.listing td.credit {
    color:green;
}

@media (min-width:992px) {
    .featured_article.history-building img {
        max-width:100% !important;
    }
    .featured_article.history-building .section_subcontent {
        width:20%;
    }
    .featured_article.history-building .section_subcontent:first-child,
    .featured_article.history-building .section_subcontent:last-child {
        width:40%;   
    }
    .featured_article.history-building .section_subcontent:first-child img {
        padding-right:15px;
        box-sizing:border-box;
    }
    .featured_article.history-building .section_subcontent:last-child img {
        padding-left:15px;
        box-sizing:border-box;
    }
}




@media (max-width:767px) {
    #container #content {
      margin-top: 50px !important;
    }
    #top_info2 {
        margin-left:0px;
        right:0px;
    }
    #footer table, #footer table tr, #footer table td, #footer table p {
        max-width:100% !important;
    }
    #nav_section > li > a {
        color:#7D2A29 !important;
    }
    #img_div {
        justify-content: center;
        padding-left:0px;
    }
}







/*@media (min-width:768px) {*/
    /*putting the header slider back to full width*/
/*    .header_slider_wrapper {*/
/*        max-width: 80%;*/
/*        margin: 0px auto;*/
/*        margin-top: 10px;*/
/*    }*/
/*}*/

body.admin .menu > div[style="float: right; padding-top: 8px; padding-right: 10px"] {
    z-index:999;
    position:relative;
}

.selected_nav > a, #nav_section li a:hover {
    color: #31415A;
}
#nav_section > li.selected_nav > a, #nav_section li a:hover {
    color: #31415A;
}
#maincontent p a {
    text-decoration: underline;
}
a:link {
  color: #31415a;
}
a:visited {
  color: #31415a;
}
a:hover {
  color: #9f9f99;
}

.button {
  background-color: #920033;
  border: none;
  color: white;
}
#sidebar_right .readmore a, #sidebar_right .fck_widget_zmanim a, #maincontent .event_widget_moreinfo a {
    background: #920033;
    border-bottom: 2px solid #920033;
}

#sliderPanel, #content .header_slider_wrapper {
    background: #31415a;
    background-image: url();
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 25px 0px;
}
.dropdown-content {
  background-color: #d1d3d4;
}
.dropdown {
  color: #d1d3d4;
}
#maincontent p {
    padding: 0;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
}
body {
    background: #fff;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #000;
}
#sidebar_right p {
    font-family: 'Lato', sans-serif;
}
#maincontent .content_body h1 {
    float: none;
    font-style: normal;
    padding: 0;
    height: auto;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
    color: #31415a;
    padding-bottom: 0;
    font-weight: 600;
    line-height: 1.5;
}
#maincontent .content_body h2 {
    Font-Family: 'Georgia', Serif;
    Font-Size: 36px;
    color: #920033;
    line-height: 45px;
}
#maincontent .content_title {
    Font-Family: 'Georgia', Serif;
    font-size: 30px;
    color: #31415a;
}
#footer .footer_inner {
    border: 0px solid #ccc;
    padding: 10px 20px 20px;
}
#maincontent .content-container {
    padding: 0px;
}
#maincontent h2.content_title {
    font-size: 30px;
    color: #58595b;
}
div.content_body {
    padding-bottom: 0px;
}
#maincontent.default UL LI, #maincontent .featured_article ul li {
    list-style: none;
    padding-left: 25px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    position: relative;
}
#nav_section {
    list-style:none;
    margin:0 auto;
    padding:0;
    text-align:center;
    float: left;
}
#mainnav {
    float:none;
}
#nav_section li a {
    font-size: 24px;
}
.featured_article .form_replacement .control-label {
    margin-bottom: 10px;
    font-size: medium;
}
.featured_article .form_replacement .control-group {
    margin-bottom: 15px;
    font-size: medium;
}