@import url('https://web-archive.nli.org.il/National_Library/cs_/https://fonts.googleapis.com/css?family=Raleway');

body{
  font-family: 'Raleway', sans-serif;
}
p {
    color: #666;
    font-family: Raleway, sans-serif;
}
a {
    color: #1b69a7;
    text-decoration: none;
}
a:hover,
#footer a:hover {
    color: #3a3a3a;
    text-decoration: none;
}


#quick_links_search_wrapper {
  display:none;
}
/* footer */
#footer .footer_inner {
    padding: 2.5% 0 0 0;
    margin: 0 auto;
    background: #F4F4F4;
    border-bottom: 1px solid #E3E3E3;
    border-top: 1px solid #E3E3E3;
}
#footer .footer_inner .content_body {
    max-width: 1024px;
}
#footer .footer_inner .content_body .col-md-3 {
    float: left;
    width: 24.2%;
    margin: 0 0 0 1%;
    padding: 1%;
    text-align: left;
}
#footer .footer_inner .content_body .col-md-3:first-child {
    margin-left: 0;
}
#footer p {
    color: #666;
    font-weight: 200;
}
#footer a {
    color: #1b69a7;
    font-weight: 200;
    font-size: 17px;
}

#footer .footer_inner .content_body .quick_links,
#footer .footer_inner .content_body .upcomingEvents {
    margin-left: 0;
    padding: 0;
}
#footer .footer_inner .content_body .quick_links li {
    display: block;
    padding: 10px 0;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-color: #B1B1B1;
    text-align: left;
}
#footer .footer_inner .content_body .col-md-3:first-child img {
    display: block;
    padding: 10px 0;
}

#footer .footer_inner .content_body .col-md-3 h3 {
    font-weight: 200;
    margin-bottom: 6px;
    padding: 10px 0;
}
#footer .footer_inner .content_body .upcomingEvents .event_widget_time {
    font-size: 17px;
    font-style: inherit;
}
#footer .footer_inner .content_body .upcomingEvents .event_widget_time span {
    font-weight: 200;
}
#footer .footer_inner .content_body .upcomingEvents .event_widget_moreinfo {
    margin-top: 2px;
}
#footer .global_terms_links {
    display: none;
}
#footer .copyright {
    clear: both;
    padding: 10px 0 20px 0;
    margin: 0;
    background: #10293e;
    overflow: hidden;
    text-align: center;
}
#footer .footer_inner .content_body .col-md-3:nth-child(4) .button,
#container.donate-0 #maincontent .content_container a,
#maincontent #loginFrm .inner_button,
#maincontent.user_dashboard form input[type="submit"],
#maincontent.user_dashboard form .login_intercept_button,
.event #maincontent table .ev_share,
.event #maincontent table .ev_save_cal,
.event #maincontent table .ev_print,
.calendar_table tbody tr td  input#submit_button,
.subscribe-php #maincontent_sidebar_wrapper #maincontent form input[type="submit"] {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 200;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    -khtml-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    color: #616161;
    background-color: #E9E9E9;
    border-color: #B8B8B8;
    text-shadow: 0 1px 0 white;
}
#footer .footer_inner .content_body .col-md-3:nth-child(4) .button:hover,
#container.donate-0 #maincontent .content_container a:hover,
#maincontent #loginFrm .inner_button:hover,
#maincontent.user_dashboard form input[type="submit"]:hover,
#maincontent.user_dashboard form .login_intercept_button:hover,
.event #maincontent table .ev_share:hover,
.event #maincontent table .ev_save_cal:hover,
.event #maincontent table .ev_print:hover,
.calendar_table tbody tr td  input#submit_button:hover,
.subscribe-php #maincontent_sidebar_wrapper #maincontent form input[type="submit"]:hover {
    background-color: #efefef;
    color: #444;
}
#footer .fck_widget_map a {
    font-size: inherit;
}
#footer .fck_widget_map #map-canvas-1 {
    height: 200px !important;
}
#footer .fck_widget_map #map-canvas-1 .gmnoprint .gm-style-mtc > div {
    font-size: 12px !important;
}
@media (max-width : 1024px) {
    #footer .footer_inner .content_body {
        padding: 0 2% !important;
    }
    .copyright {
        padding: 0 2% !important;
        width: 100%;
    }
}
@media (max-width: 700px) {
    #footer .footer_inner .content_body .col-md-3 {
        float: none !important;
        width: auto !important;
    }
}


#content {
    background: #fff;
}
#content #sidebar_left {
    height: 70px;
    background: #234056;
}
#content #sidebar_left #mainnav {
    margin-top: 5px;
}
#content #sidebar_left #mainnav #nav_section a {
    color: #C8CACB !important;
    padding: 20px 25px 25px;
    font-weight: 600;
    font-size: 1.15em;
}
#content #sidebar_left #mainnav #nav_section li ul li {
    width: 180px;
}
#content #sidebar_left #mainnav #nav_section li ul li a {
    background: #234056 !important;
    color: #fff !important;
    min-width: 150px;
    margin: 0;
    font-size: 13px;
    text-align: left;
    overflow: hidden;
    padding: 8px 11px;
    border-radius: 0;
    border-top: 1px solid #838383;
    border-width: 1px 0 0 0;
    text-transform: none !important;
    line-height: 2;
}
#content #sidebar_left #mainnav #nav_section li ul li a:hover {
    background: #10293e !important;
}
#content #sidebar_left #mainnav #nav_section li.selected_nav a {
    color: #FFF;
    padding: 20px 25px 20px;
    border-color: #607D8B !important;
}
#content #sidebar_left #mainnav #nav_section li.selected_nav ul li a {
    padding: 8px 11px !important;
}
/*#content #sidebar_left #mainnav #nav_section li.selected_subnav a {*/
#content #sidebar_left #mainnav #nav_section li ul li.selected_subnav a {
    color: #FFF;
    padding: 8px 11px !important;
    border-bottom: 4px solid #607D8B !important;
}
#maincontent_sidebar_wrapper {
    overflow: unset;
}

#sidebar_left {
    margin-top: 40px;
    padding: 0px 12%;
    max-width: 100%;
}
#sidebar_left #img_div {
    left: 13%;
}
#sidebar_left #img_div img {
    width: 305px;
}
#sidebar_left .top_links {
    /*padding: 2px 0 0 40%;*/
    padding: 2px 0 0 45%;
    background: #10293e;
    display: block;
    left: 0; 
    position: absolute;
    width: 100%;
    top: -40px;
    margin-left: 0;
    height: 40px;
}
#sidebar_left .top_links li{
    /*width: 10%;*/
     width: 8%;
}


#sidebar_left .top_links li:nth-child(2) {
    margin-right: 20px;
}
#sidebar_left .top_links>li a {
    text-transform: uppercase;
    background: none;
    margin-left: 0;
    width: 100%;
    border-radius: 2px;
    font-weight: normal;
    padding: 12px 0px 0px 0px;
    height: 45px;
    text-indent: unset;
    display: block;
    text-decoration: none; 
    display: block;
    font-size: 13px;
    letter-spacing: 0.25px;
    color: #cccccc;
}
#sidebar_left .top_links>li a:hover {
    color: #fff;
}
#sidebar_left .top_links>li a:after {
    content: "";
}

#sidebar_left .search_area {
    position: absolute;
    display: block;
    left: 67%;
    top: -32px;
}
#sidebar_left .search_area form {
    display: flex;
}
#sidebar_left .search_area form input[type=submit] {
    background: #e85020;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    text-transform: uppercase;
    border: none;
    box-shadow: none;
    text-shadow: none;
    border-radius: 4px;
}
#sidebar_left .search_area form input[type=text] {
    width: auto;
    height: auto;
    margin: 0 5px 0 0 !important;
    padding: 6px;
    position: relative;
    border-radius: 3px;
    min-width: 200px;
    border: none;
}

/* About us pages */
#container #maincontent_sidebar_wrapper {
    margin: 50px auto;
}
#container #maincontent_sidebar_wrapper .breadcrumbsection {
    display: block;
}
#container .breadcrumbsection .breadcrumb_inner_wrapper {
    margin: 10px 0px;
    margin-bottom: 10px;
    border-bottom: #eee 1px solid;
    padding-bottom: 0.5em;
}
#container .breadcrumbsection .breadcrumb_inner_wrapper a,
#container .breadcrumbsection .breadcrumb_inner_wrapper span {
    font-size: inherit
}
#container .breadcrumbsection .breadcrumb_inner_wrapper a:last-child {
    color: #666;
}
#container .breadcrumbsection .breadcrumb_inner_wrapper span::after {
    content: '>';
}
#container #maincontent_sidebar_wrapper .breadcrumbpaginationh1section h1 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: left;
    text-transform: capitalize;
    font-weight: 200;
    padding: 0;
    background: none;
}
#container .content_container .movable_area {
    background-size: cover;
    background: #fff;
    padding: 0;
}
#container .content_container .content_body {
    margin: 0;
}
#container .content_container .content_body .rtecenter {
    text-align: center;
}
#container .content_container .content_body p {
    font-weight: 200;
}
.about-us-our-clergy #maincontent img,
.about-us-temple-leadership #maincontent img {
    width: 186px;
    float: left;
    height: 253px;
    margin: 0 20px 10px 0 !important;
}
.about-us-temple-leadership #maincontent.default ul {
    margin: 0;
    list-style-type: disc !important;
}

/* Sidebar */
#container #sidebar_right .right_box1 {
    display: none;
}
#container #sidebar_right .right_bm {
  background: none;
}
#container.about-us #sidebar_right .right_bm:last-child,
#container.about-us-our-clergy #sidebar_right .right_bm:first-child,
#container.about-us-policies #sidebar_right .right_bm:first-child {
  display: none;
}
#container #sidebar_right .right_bm h2 {
  padding: 0 15px 15px 0;
  margin-bottom: 6px;
  overflow: hidden;
  text-align: left;
  font-weight: 200;
  text-transform: uppercase;
  font-size: 21px;
}
#container #sidebar_right .right_bm .content_body li.main_nav_item {
  padding: 0;
  margin: 0;
  border-bottom: 0px;
}
#container #sidebar_right .right_bm .content_body li.main_nav_item a {
  background: #234056 !important;
  color: #fff !important;
  font-weight: 300;
  margin: 0;
  padding: 10px 20px;
  display: block;
  font-size: 25px;
  line-height: 1.3;
  border-radius: 3px 3px 0 0;
  border-bottom: 0px solid transparent;
}
#container #sidebar_right .content_body ul {
  padding: 10px 19px 10px 19px;
  margin-top: 0px;
  background: #f8f8f8;
  border: 1px solid #f1f1f1;
  border-radius: 0 0 3px 3px;
  margin: 0;
}
#container #sidebar_right .content_body ul li {
  padding: 5px 0;
  margin: 5px 0;
  border-bottom: 1px solid #efefef;
}
#container #sidebar_right .content_body ul li:last-child {
  border-bottom: none;
}
#container #sidebar_right .content_body ul li a {
  color: initial !important;
  font-weight: 300;
  font-size: 17px;
}
#container #sidebar_right .content_body ul li a:hover,
#container #sidebar_right .content_body ul li.selected_nav > a {
  color: #1b69a7 !important;
  border-bottom: 0;
}


.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) {
    background: #234056 !important;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body {
    max-width: 1024px;
    margin: 0 auto;
    clear: both;
    /*padding: 30px 0 0 0;*/
    padding: 30px 0 30px 0;
    position: relative;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent {
    padding: 0 2%;
    height: 100%;
    position: relative;
    text-align: center;
    border-right: 1px solid #3c5865;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent h2 {
    padding: 10px 0;
    margin: 0;
    color: #ffffff;
    font-size: 25px;
    letter-spacing: 0.25px;
    margin-bottom: 0px;
    text-transform: uppercase;
    font-weight: normal;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent:nth-child(4) {
    border-right: none;
    text-align: left;
    padding: 0 0 0 2%;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent:nth-child(4) p {
    text-align: right;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent:nth-child(4) p a {
    color: #88c23e;
    margin-right: 60px;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent:nth-child(4) .fck_widget_events {
    padding-left: 0px;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent:nth-child(4) .upcomingEvents {
    padding-left: 0;
    margin-left: 0;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent:nth-child(4) .upcomingEvents li {
    font-size: 17px;
    line-height: 1.5;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent:nth-child(4) .upcomingEvents li a {
    color: #8CC73B;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent:nth-child(4) .upcomingEvents li i {
    font-style: normal;
    color: #fff;
    font-weight: normal;
}
.home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent p a {
    text-decoration: none;
}
* {
    font-weight: 200;
}
strong, b {
    font-weight: 500;
}
#maincontent p a,
#maincontent a {
    text-decoration: none;
}
#maincontent h2 {
  font-weight: 300;
}
#container #maincontent .content_container h2.content_title,
#container #sidebar_right .right_bm p {
display: inherit !important;
}
#container #maincontent .content_container .rtecenter img:first-child {
  width: 80%;
}
.home #maincontent .content_container .movable_area:nth-child(1) div:nth-child(1) {
    max-width: 1024px;
    margin: 90px auto 100px auto;
    text-align: center;
    overflow: hidden;
    font-size: 16px;
    line-height: 150%;
}
.home #maincontent .content_container .movable_area:nth-child(1) div:nth-child(1) .content_body {
    max-width: 1024px;
}
.home #maincontent .content_container .movable_area:nth-child(5) .content_body {
    max-width: 1024px;
    margin: 50px auto;
    overflow: hidden;
}
.home #maincontent .content_container .movable_area:nth-child(5) .content_body hr {
    border-bottom: 1px solid #eeeeee;
}
.home #maincontent .content_container .movable_area:nth-child(7) {
    background: #234056;
}
.home #maincontent .content_container .movable_area:nth-child(7) .content_body {
    padding: 10px 0 50px 0;
    text-align: center;
    background: #234056;
    max-width: 1024px !important;
    margin: 0px auto !important;
}
.home #maincontent .content_container .movable_area:nth-child(7) .content_title {
    padding: 0;
    color: #ffffff;
    font-size: 25px;
    letter-spacing: 0.25px;
    padding: 70px 0 0 0;
    display: block !important;
    font-weight: normal;
    margin-bottom: 0;
}
@media (max-width: 960px) {
    #maincontent_sidebar_wrapper #maincontent,
    #maincontent_sidebar_wrapper #sidebar_right {
    width: 100%;
    }
    #maincontent_sidebar_wrapper #maincontent .pad-helper {
      margin: 10px;
    
    }
    #mainnav {
        display: none !important;
    }
}
@media (min-width: 960px) and (max-width: 1024px) {
  #maincontent_sidebar_wrapper #maincontent {
    width: 75% !important;
  }
   #maincontent_sidebar_wrapper #sidebar_right {
    width: 25% !important;
  }
}
@media (max-width: 1070px) {
  #container #maincontent_sidebar_wrapper {
    padding: 0 2%;
  }
}

@media (min-width: 0px) and (max-width: 960px) {
  #sidebar_left .search_area {
    margin: 0 auto;
    position: absolute;
    display: block;
    left: 0%;
    top: 0px;
    width: 100%;
    text-align: center;
  }
  #content #sidebar_left {
    height: 100px;
  }
  #sidebar_left .top_links {
      height: 80px;
      padding: 2px;
      display: flex;
      justify-content: center;
  }
  #sidebar_left .top_links li {
      width: auto;
  }
  #sidebar_left .search_area form {
      display: block;
      width: 100%;
      margin: 0 auto;
  }
  #sidebar_left .search_area form input[type=submit] {
      padding: 5px 12px;
  }
}

/* Donate page */
.payment-php #maincontent.user_dashboard {
    padding: 20px;
    max-width: 1120px;
    width: 100%;
    float: none;
    margin: 0px auto;
}
.payment-php #maincontent.user_dashboard .content_container .content_body {
    max-width: 1120px;
    padding: 20px;
    margin: 0px auto;
}
.payment-php #begin_form select, .payment-php #begin_form input[type="text"], .payment-php #begin_form input[type="password"], .payment-php #begin_form textarea {
    font-size: 15px !important;
    border-radius: 0 !important;
    padding: 5px;
}
@media (max-width: 768px) {
    .payment-php #maincontent.user_dashboard .content_container .content_body {
        text-align: inherit !important;
    }
}

/* Event page */
.event #maincontent table {
  border: 0;
}

/* Calendar page */
.calendar #maincontent.full_width {
    max-width: 1120px;
    margin: 40px auto;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    float: none;
}
#maincontent.cal #calendar_page_header {
    margin: 0;
    padding: 20px 0;
    font-size: 39px;
}
#maincontent.cal .calendar_table {
  border: 0;
}
.calendar_table .second_date.advanced_option {
    display: block !important;
}

.calendar_header_date .month_header,
.calendar thead tr th {
    font-weight: normal;
}
table.calendar td {
    font-family: Raleway, sans-serif;
}
.calendar_day_view table.ce_table.ce_view_week {
    padding-left: 20px;
}
#maincontent.cal .calendar_day_view h2 {
    font-size: 22px;
    border-bottom: #eee 1px solid;
    padding: 0 0 10px 0;
    text-transform: capitalize;
    text-align: left;
    background: none;
    font-weight: 600;
    font-family: Raleway, sans-serif;
}
 #filterFrm .calendar_table select, #filterFrm .calendar_table input[type="text"], #filterFrm .calendar_table button {
    border-radius: 0 !important;
    font-size: 12px;
}
#maincontent table.calendar td ul li {
    font-size: 10px !important;
}
#maincontent.cal h1 {
    font-size: 18px;
    padding: 15px 0;
    font-family: Raleway, sans-serif;
}

@media (min-width: 375px) and (max-width: 404px) {
    .calendar_table tr:first-child .ui-widget {
        width: 180px !important;
    }
}
@media (min-width: 405px) and (max-width: 425px) {
    .calendar_table tr:first-child .ui-widget {
        width: 200px !important;
    }
}
@media (max-width: 570px) {
    #content #maincontent.cal .calendar_day_view h2 {
        background: #1b69a7 !important;
        font-size: 15px;
        font-weight: 500;
        padding: 5px 0;
    }
    #maincontent.cal #calendar_page_header {
        font-size: 18px !important;
    }
    .subscribe-php #maincontent_sidebar_wrapper #maincontent form input[type="text"] {
        width: 100% !important;
    }
}
@media (min-width: 571px) and (max-width: 768px) {
    #maincontent.cal #calendar_page_header {
        font-size: 32px !important;
    }
}
@media (min-width: 375px) and (max-width: 425px) {
    .calendar_table td {
        font-size: 13px;
    }
    #advanced_mode_button {
      font-size: 12px;
    }
}

@media (min-width: 320px) and (max-width: 374px) {
    #advanced_mode_button {
        font-size: 12px;
    }
    .calendar_table tr:first-child .ui-widget,
    #filterFrm .calendar_table select {
        width: 155px !important;
    }
}
@media (max-width: 425px) {
    #filterFrm .calendar_table select, #filterFrm .calendar_table input[type="text"], #filterFrm .calendar_table button {
        width: 180px !important;
        margin-top: 2px;
    }
}
@media (min-width: 375px) and (max-width: 425px)  {
    .calendar_table tr td:first-child {
        float: inherit;
        width: 20% !important;
    }
}
@media (min-width: 0px) and (max-width: 374px)  {
    .calendar_table tr td:first-child {
        float: inherit;
        width: 15% !important;
    }
    #filterFrm .calendar_table select, #filterFrm .calendar_table input[type="text"], #filterFrm .calendar_table button {
        width: 135px !important;
    }
    .calendar_table td {
        font-size: 12px;
    }
}
@media (min-width: 961px) and (max-width: 1024px) {
  #sidebar_left #img_div {
    text-align: left;
    padding: 0;
  }
  #img_div > a {
    margin-top: 17px;
    margin-left: 5px;
  }
  #sidebar_left {
    padding: 0;
  }
  #content #sidebar_left #mainnav {
    margin-top: -52px;
  }
}
@media (min-width: 961px) and (max-width: 999px) {
  #content #sidebar_left #mainnav #nav_section a {
    padding: 20px 15px 25px;
  }
}
@media (min-width: 1000px) and (max-width: 1024px) {
  #content #sidebar_left #mainnav #nav_section a {
    padding: 20px 20px 25px;
  }
}

@media (min-width: 1024px) and (max-width: 1100px) {
  #sidebar_left #img_div {
    left: 0;
  }
  #sidebar_left {
    padding: 0;
  }
}

@media (min-width: 1101px) and (max-width: 1150px) {
  #sidebar_left #img_div {
    left: 3%;
  }
  #sidebar_left {
    padding: 0 3%;
  }
}
@media (min-width: 1151px) and (max-width: 1200px) {
  #sidebar_left #img_div {
    left: 6%;
  }
  #sidebar_left {
    padding: 0 4%;
  }
}
@media (min-width: 1201px) and (max-width: 1250px) {
  #sidebar_left #img_div {
    left: 8%;
  }
  #sidebar_left {
    padding: 0 6%;
  }
}
@media (min-width: 1251px) and (max-width: 1300px) {
  #sidebar_left #img_div {
    left: 9%;
  }
  #sidebar_left {
    padding: 0 7%;
  }
}
@media (min-width: 1301px) and (max-width: 1350px) {
  #sidebar_left #img_div {
    left: 11%;
  }
  #sidebar_left {
    padding: 0 8%;
  }
}
@media (min-width: 1351px) and (max-width: 1400px) {
  #sidebar_left #img_div {
    left: 13%;
  }
  #sidebar_left {
    padding: 0 9%;
  }
}
@media (min-width: 961px) and (max-width: 1100px) {
    #sidebar_left .top_links {
        /*padding: 2px 0 0 32%;*/
        padding: 2px 0 0 38%;
    }
    #sidebar_left .top_links li:nth-child(4) {
        width: 14%;
    }
    #sidebar_left .top_links>li a {
        letter-spacing: 0.15px;
        font-size: 12px;
    }
    #sidebar_left .top_links li {
        width: 13%;
    }
}
@media (min-width: 1101px) and (max-width: 1280px) {
    #sidebar_left .top_links li {
        width: 12%;
    }
}
@media (min-width: 1101px) and (max-width: 1200px) {
    #sidebar_left .top_links {
        padding: 2px 0 0 37%;
    }
    #sidebar_left .top_links li:nth-child(4) {
        width: 14%;
    }
}
@media (min-width: 1201px) and (max-width: 1400px) {
    #sidebar_left .top_links {
        padding: 2px 0 0 40%;
    }
    #sidebar_left .top_links li:nth-child(4) {
        width: 14%;
    }
}
@media (min-width: 0px) and (max-width: 960px) {
    #header {
        /*background: url(/National_Library/oe_/https://images.shulcloud.com/13429/images/bg_header.png) center top repeat-x;*/
        height: 53px;
        background: #000;
    }
    #header #header_inner {
        height: 100% !important;
    }
    .inner, #sidebar_left .sidebar_left_inner, #header #header_inner, .content_body, .copyright {
        margin-left: 20px;
        margin-right: 20px;
        width: auto;
    }
    .copyright-parent .copyright {
        margin: 0 20px 0 20px !important;
        width: 100% !important;
    }
    #topnav {
        display: block;
    }
    #header #header_inner #header_buttons {
        height: 100% !important;
    }
    #header #header_inner #header_buttons > div#header_login_button {
        text-align: left;
        display: block;
        background: url(https://web-archive.nli.org.il/National_Library/oe_/https://tbdcheshire.shulcloud.com/templates/87/images/bg_mobile_header_top_right_link.png) center center no-repeat;
        text-indent: -999em;
        width: 28px;
        height: 100%;
        border: 0;
    }
    #header_admin_menu_button,
    #header_help_button {
        margin-top: 12px;
    }
    #sidebar_left .top_links li {
        margin: 0 6px;
    }
    #sidebar_left .top_links li:nth-child(2) {
        margin-right: 6px;
    }
    
}

#mainnav.menu-open, #mainnav li ul.child-menu-open {
  display: block;
}
/* Responsive menu for mobile and tablet layout */
@media (min-width: 0px) and (max-width: 960px) {
    #mainnav {
        z-index: 9999 !important;
        border: 0;
        background: #000;
        border-top: 5px solid #000;
    }
    #content #sidebar_left {
        padding: 0 !important;
    }
    #mainnav li ul, #nav_section li ul li ul, #nav_section li ul li:hover>ul {
        display: none !important;
    }
    #mainnav.menu-open {
        display: block !important;
        position: absolute;
    }
    #mainnav li ul.child-menu-open {
        display: block !important;
    }
    #nav_section li {
        background: #234056;
        display: block;
    }
    #nav_section > li:last-child {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
    }
    #nav_section > li:last-child a {
        padding: 20px 20px;
    }
    #nav_section li ul li a {
        font-size: 16px;
    }
    #nav_section li ul .subnav_has_children ul a {
        font-size: 13px;
    }
    #nav_section li:nth-last-child(4), #nav_section li:nth-last-child(3), #nav_section li:nth-last-child(2), #nav_section li:last-child {
        display: block;
    }
    #nav_section li a {
        width: 100%;
        padding: 11px !important;
        color: #fff;
        border-radius: 0;
        text-align: center;
        border-bottom: 1px solid #1e262d;
    }
    #nav_section li.selected_nav a {
        border-bottom: 4px solid #607D8B;
    }
    #nav_section li a span,  #nav_section li ul .subnav_has_children a span {
        float: right;
        border-top: 10px solid rgba(255,255,255,.5);
        border-bottom: 0 solid rgba(255,255,255,.5);
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        transition: border-bottom .1s, border-top .1s .1s;
    }
    #nav_section>li:nth-last-child(4) a, #nav_section>li:nth-last-child(3) a, #nav_section>li:nth-last-child(2) a {
        margin: 0 !important;
    }
    #nav_section li ul li {
        width: 100% !important;
    }
    #content #sidebar_left #mainnav #nav_section li ul li a {
        text-align: center !important;
        padding: 5px !important;
        border-top: 0;
        /*border-bottom: 1px solid #333;*/
        border-bottom: 0px !important;
        background: #000 !important;
    }
    #sidebar_left #img_div {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    #content #sidebar_left #mainnav #nav_section li.selected_subnav a {
        border-bottom: 2px solid #607D8B !important;
    }
    #header #header_inner .hosted_by_text {
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 1175px) {
    #header #header_inner .hosted_by_text,
    #header #header_inner #header_buttons {
        padding: 0 10px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent:nth-child(2) {
        margin-bottom: 70px;
    }
    .home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent:nth-child(4) {
        border-left: 1px solid #3c5865;
        margin-left: -1px;
    }
    .home #content #maincontent .pad-helper #div_order .movable_area:nth-child(3) .content_body .section_subcontent:nth-child(4) p {
        text-align: left;
    }
}
#maincontent .event_widget_picture {
    float: inherit;
}
@media (max-width: 767px) {
    #maincontent .event_widget_picture {
        margin: 0 auto;
    }
}
@media (min-width: 1024px) and (max-width: 1050px) {
    #content #sidebar_left #mainnav #nav_section a {
        padding: 20px 22px 25px;
    }
    #content #sidebar_left #mainnav #nav_section li.selected_nav a {
        padding: 20px 23px 18px;
    }
}
@media (min-width: 1000px) and (max-width: 1010px) {
    #content #sidebar_left #mainnav #nav_section a {
        padding: 20px 18px 25px;
    }
}
@media (min-width: 1100px) and (max-width: 1115px) {
    #content #sidebar_left #mainnav #nav_section a {
        padding: 20px 22px 25px;
    }
}
@media (min-width: 1151px) and (max-width: 1160px) {
    #content #sidebar_left #mainnav #nav_section a {
        padding: 20px 23px 25px;
    }
}
@media (min-width: 1200px) and (max-width: 1215px) {
    #content #sidebar_left #mainnav #nav_section a {
        padding: 20px 23px 25px;
    }
}
.sy-pager li {
    margin: 0 3px !important;
}
.copyright-parent {
    background: #10293e;
}
.copyright-parent .copyright {
    text-align: left !important;
    margin: 0 auto !important;
    width: 1024px !important;
}
@media (min-width: 320px) and (max-width: 710px) {
    .copyright-parent .copyright {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .copyright-parent .copyright {
        width: 100% !important;
    }
}

#container .content_container .content_body p #main_error_area,
.payment-php #begin_form h2 {
    margin-bottom: 0;
}
.payment-php #begin_form h2 {
    font-weight: 500;
    font-size: 28PX;
    font-weight: 600;
}
.payment-php #begin_form h3 {
    margin: 5px;
    font-size: 18px;
    font-weight: 600;
}
.calendar table.calendar .dayhead {
    float: right;
    text-align: right;
}
.calendar table.calendar td {
    border: 1px solid #ccc;
    padding: 10px;
}
.calendar table.calendar td span.day {
    border-left: 1px solid #3F3636;
    border-bottom: 1px solid #000;
    padding-left: 9px;
    padding-bottom: 2px;
    padding-right: 8px;
    text-align: center;
    font-size: 16px;
}
.calendar table.calendar td span.jewishDay {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 9px !important;
    clear: both;
    display: block !important;
    padding-right: 0 !important;
    text-align: right !important;
}
.calendar table.calendar td.today {
    border: 2px solid #1b69a7 !important;
}
.advanced_option .date_end_box {
    margin: 5px 0;
}
#content #sidebar_left #mainnav #nav_section li.selected_nav a {
    padding: 20px 19px 20px !important;
}

.subscribe-php #maincontent_sidebar_wrapper #maincontent {
    float: left;
}
.subscribe-php #maincontent_sidebar_wrapper #maincontent h1 {
    font-size: 28px;
    margin: 20px 0;
    text-align: left;
    text-transform: capitalize;
    font-weight: 200;
    padding: 0;
    background: none;
}
.subscribe-php #maincontent_sidebar_wrapper #maincontent form input[type="text"] {
    width: 50%;
    font-size: inherit;
}
.home #maincontent .content_container .movable_area:nth-child(5) .content_body .fck_widget_blog .col-xs-12.col-md-12 h4 {
    margin-bottom: 0;
}
.home #maincontent .content_container .movable_area:nth-child(5) .content_body .fck_widget_blog .col-xs-12.col-md-12 {
    margin-bottom: 18px;
}
.home #maincontent .content_container .movable_area:nth-child(5) .content_body .fck_widget_blog_more_posts a {
    float: right;
}
@media (max-width: 1024px) {
    .home .content_body .section_subcontent:last-child {
        padding-right: 15px;
    }
}
#container.blogs-rabbi-micah #maincontent .content_container h2.content_title {
    display: block !important;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: left;
    padding: 0;
}
#container.blogs-rabbi-micah #maincontent .content_container .content_title a {
    color: #000;
    text-transform: uppercase;
}
#container.blogs-rabbi-micah #maincontent .content_container .date,
#container.blogs-rabbi-micah #maincontent .content_container .content_body p[align="center"] {
    display: none;
}
#container.blogs-rabbi-micah #maincontent .content_container .content_body a.readmore {
    background: #F3F3F3;
    padding: 5px 10px;
    border: 1px solid #E7E7E7;
    text-align: left;
    margin: 10px 0;
    font-style: inherit;
    font-family: inherit;
}
@media (max-width: 960px) {
     #content #sidebar_left #mainnav #nav_section li.selected_nav a {
        padding: 11px !important;
    }
    #content #sidebar_left #mainnav #nav_section li.selected_nav ul li a{
        padding: 5px !important;
    }
}
