/*
Theme Name:     Touro Synagogue
Description:    Touro Synagogue Foundation
Version:        1.37
Author:         Lawrence Zevon
Author URI:     http://www.zevonmedia.com/
Template:       enfold
License:        GPL v2
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url("../enfold/style.css");

/* General customization */
.logo img { width: 800px; margin-top: 2% !important; margin-left: 1% !important; padding-right: 20px; }
#top #wrap_all .social_bookmarks a { color: #b9402d; }
.container_wrap { border: none; }
.container { width: 95%; }
b { font-weight: bold; color: inherit !important; }
strong { font-weight: bold; color: inherit !important; }
.header_bg { opacity: 1 !important; }
html { background: white!important; }

#avia2-menu a { color: #b9402d; }
#pathways-video { max-height: 360px !important; }

/* Home */
.home-callout p { font-size: 30px; }
.home-callouts { letter-spacing: 0.2em; }
.home-donate p { font-size: 20px; line-height: 27px; margin-top: -3px; }
.congregation-events { padding: 20px; text-align: center; background-color: #deeece; }
.congregation-svcs-home, .congregation-svcs-home a { text-align: center; background-color: #b9402d;color: #fff; }
h3.congration-svcs-title { font-size: 20px !important; color: #b9402d !important; }
h3.congration-svcs-title-home { font-size: 20px !important; color: #ffffff !important; font-weight: 400; }

h3.congration-events-title { font-size: 20px !important; color: #b9402d !important; font-weight: 400; }
.congregation-events p { font-size: 15px; line-height: 1.6em !important; color: #b9402d; }
.congregation-svcs-home p { font-size: 15px; line-height: 1.6em !important; }

/* Footer edits */
span.copyright { font-size: 14px; color: #603528; }
div.socket-spacer { padding-left: 50px; display: inline; }
div.socket-spacer a { color: #603528; }
div.socket-spacer a:hover { color: #603528; text-decoration: underline; }
input#input_3_2.large { margin-top: -25px; }
input#input_4_2.large { margin-top: -25px; }
#top .footer_color .input-text, #top .footer_color input[type='text'] { font-size: 12px; color: #919497; border: #b9402d 1px solid !important; background: #deeece; }
#top .footer_color input[type='text'] { font-size: 13px; }
.gform_wrapper .gform_fields .gfield input::-webkit-input-placeholder { font-size: 12px; color: #919497; }
input#gform_submit_button_3.gform_button.button { background: #b9402d; padding-top: 3px; padding-bottom: 3px; text-transform: uppercase; font-size: 14px; }
input#gform_submit_button_4.gform_button.button { padding-top: 3px; padding-bottom: 3px; text-transform: uppercase; font-size: 14px; }
.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer { padding-top: 0px !important; }
#footer .widget { margin: 0px; font-size: 16px; line-height: 24px; } /* adjusted type to 15, still 2 lines */
#footer { padding-bottom: 0px !important; }
#footer img, a img { position: relative; left: 0; }
.footer-text-body { font-size: 15px; line-height: 24px; margin-top: -10px; padding-bottom: 10px; }
.connected { color: #603528; font-size: 19px; margin-top: 6px; margin-bottom: 0px; }
.wp-image-365 { max-height: 78px; } /* NPS */
.wp-image-366 { max-height: 60px; } /* NTHP */
.wp-image-367 { max-height: 57px; } /* GWIRF */
.wp-image-368 { max-height: 85px; } /* TOURO */
hr.footer-logos { border-top: 1px solid #b9402d; width: 80%; }

#extra_footer { font-size: 12px; color: #603528; background-color: #deeece; }
.copyright { width: 100%; text-align: center; }


/* Mailing Lists */
#gform_fields_6 input[type='text'] { font-size: 12px; color: #919497; border: #b9402d 1px solid !important; background: #deeece; }
input#gform_submit_button_6.gform_button.button { padding-top: 3px; padding-bottom: 3px; background: #b9402d; }
#gform_fields_7 input[type='text'] { font-size: 12px; color: #919497; border: #b9402d 1px solid !important; background: #deeece; }
input#gform_submit_button_7.gform_button.button { padding-top: 3px; padding-bottom: 3px; background: #b9402d; }
.gform_wrapper.gravity-theme .gform_fields { padding-bottom: 12px; }


.congregation-services { padding: 20px; text-align: center; background-color: #deeece; border-top: #b9402d 2px solid !important; border-bottom: #b9402d 2px solid !important; }
h3.congration-svcs-title { font-weight: 400; }
.congregation-services p { font-size: 14px; line-height: 24px; }
.congregation-services h3 { font-size: 20px !important; }
.lifecycle-events p { font-size: 25px; line-height: 50px; color: #b9402d; }
#top #header_main { border: none; } /* fix line incongregation section */
#top #main { margin-top: -2px; }
.sidebar-event-day { font-size: 15px; font-weight: bold !important; }
span.sidebar-event-link { font-size: 15px; }

.congregation-services p .sidebar-event-year { color: #b9402d; }
.mobile-only.menu-item-2146.av-active-burger-items { margin-top: 20px !important; }

/* CJI Footer */
h3.congregation-footer { color: #b9402d !important; margin-top: -15px; margin-bottom: 4px; }
h3.congregation-footer-more { color: #b9402d !important; margin-top: -15px; margin-bottom: 0px; }
h3.congregation-footer-tsf { color: #b9402d !important; margin-top: -15px; margin-bottom: 4px; }
h3.congregation-footer-forms { color: #b9402d !important; margin-top: 0px; margin-bottom: 0px; }
.footer-connected { font-size: 18px; color: #892b1d; }
#footer .flex_column:nth-child(1) {
    width: 32%;
    margin-left: 0;
}
#footer .flex_column:nth-child(2) {
    width: 26%;
    margin-left: 2%;
	margin-top: 20px;
}
#footer .flex_column:nth-child(3) {
    width: 32%;
    margin-left: 6%;
}
.footer-linkouts { display: block; }

/* Donate */
h3.gsection_title { font-weight: 400; }
body #gform_wrapper_2 .gform_body .gform_fields .gfield input[type=text], body #gform_wrapper_2 .gform_body .gform_fields .gfield select, body #gform_wrapper_2 .gform_body .gform_fields .gfield textarea { border: thin #b9402d solid !important; background: #ffffff !important; }
 .ginput_quantity { width: 50px !important; display: inline !important; }
#field_2_6 h3.gsection_title  { font-size: 30px !important; }
.gform_wrapper.gravity-theme .ginput_quantity_label { margin-left: 10px; }
input#gform_submit_button_2.gform_button.button { background-color: #b9402d !important; font-size: 1.5em; margin-top: 20px; padding: 10px 50px 10px; }


/* Headline treatment */
h1 { line-height: 38px; letter-spacing: -0.020em !important; }
h2 { line-height: 30px; letter-spacing: -0.010em !important; }
h3 { line-height: 34px; }
h4 { line-height: 50px; }
h5 { line-height: 42px; }
h6 { line-height: 45px; }
.h7 { font-size: 27px; line-height: 42px; color: #b93f2d; }
.page-id-80 h2 { line-height: 40px; letter-spacing: -0.010em !important; }
.sidebar-title-rollover h3 { line-height: 30px; }
.tsf-sidebar-menus a { color: #b9402d !important; }

/* Text treatment */
body p { font-size: 18px; line-height: 34px; }
#av-burger-menu-ul a { text-transform: uppercase; }
.special_amp {
   font-family:  inherit;
   font-style: normal;
   font-size: inherit;
   font-weight: inherit;
   color: inherit !important;
}
sup, sub { vertical-align: baseline; position: relative; top: -0.4em; }
sub { top: 0.4em; }

.t2 { font-size: 22px !important; line-height: 36px !important; color: #222222 !important; }
.t3 { font-size: 22px !important; line-height: 36px !important; color: #b93f2d !important; }
.t4 { font-size: 22px !important; line-height: 36px !important; font-style: italic !important; color: #222222 !important; }
.t5 { font-size: 27px !important; line-height: 38px !important; font-weight: 700 !important; color: #222222 !important; }
.t6 { font-size: 15px !important; line-height: 25px !important; color: #222222 !important; }
.t6-names { font-size: 15px !important; line-height: 30px !important; color: #222222 !important; }

/* Form edits */
@media only screen and (min-width: 641px) {
    .gform_wrapper form.gf_simple_horizontal {
        width: fit-content;
        text-align: center;
    }
    h2.gform_title { 
        vertical-align: middle; 
    }

}
#gform_submit_button_5, #gform_submit_button_4 { background-color: #b93f2d !important; }

/* Contact */
input#input_5_1.large, input#input_5_2.large, input#input_5_3.large, textarea#input_5_5.textarea.small { background-color: #ffffff !important; border-color: #b93f2d !important; }

/* Donate */
#top #wrap_all .avia-button { border-radius: 0 !important; }
.avia-button.avia-size-x-large { padding-top: 12px !important; padding-bottom: 12px !important; padding-right: 75px !important; padding-left: 75px !important; }
.donate-btn span.avia_iconbox_title { font-size: 1.5em; line-height: auto; }
#menu-item-57 span.avia-menu-text { color: #b9402d !important; font-weight: 700 !important; font-size: 18px; }
#menu-item-57 { float: right !important; padding-right: 120px !important; margin: 0%; }
#menu-item-342 .avia-menu-text{font-weight: 700;}
#menu-item-342 { float: right !important; padding-right: 100px !important; margin: 0%; }

/* History */
.history-toggle .toggle_content { background-color: none !important; border-color: none !important; }
.history-toggle p.toggler { font-size: 30px !important; background-color: transparent!important; }
.accordion-link a { color: #b9402d !important; }
h3.inaccordion-title-top { margin-top: 40px; margin-bottom: -16px; font-weight: 400; }
h3.inaccordion-title { margin-top: 30px; margin-bottom: -16px; font-weight: 400; }
.inaccordion-img { padding: 8px 6px 0 0; }
.sidebar-links a { color:#333; text-decoration: underline; }
.accord-title { font-weight: 300; margin-top: 0; }
.accord-subtitle { font-weight: 300; margin-top: -8px; margin-bottom: -10px; }
.accord-subtitle-double { font-weight: 300; margin-top: -8px; margin-bottom: 6px; }

/* Programs */
.page-id-74 .prog-events-toggle .toggle_content { background-color: none !important; border-color: none !important; }
.page-id-74 .prog-events-toggle p.toggler { font-size: 35px !important; background-color: transparent!important; }
.page-id-74 .accordion-link a { color: #b9402d !important; }
.page-id-74 .av_toggle_section img { margin-top: 22px; }

/* Foundation */
@media (min-width:584px){
    .seixas-ltr + .seixas-ltr{ margin-left: 50px; }
}
@media (max-width:583.9px){
    .seixas-ltr{
        width:calc(50% - 15px);
    }
    .seixas-ltr + .seixas-ltr{
        margin-right:0;
        float:right;
    }
}

.ltr-inset { padding-right: 10px; }
.ltr-inset-scholar { padding-top: 6px; padding-right: 10px; }
.headshot-inset { padding-right: 10px; padding-top: 7px; }

.desktop-75-yrs { width: 164px; }

/* Religious Freedom */
.img-inset { padding-right: 10px; padding-top: 10px; }
.video-media-toggle .toggle_content { background-color: none !important; border-color: none !important; }
.video-media-toggle p.toggler { font-size: 20px !important; background-color: transparent!important; }
.video-media-toggle .custom-toggle .toggle_content { background-color: none !important; border-color: none !important; }
.video-media-toggle { margin-top:-15px; }
.video-media-toggle .vert_icon { height: 12px !important; left: 6px !important; }
.video-media-toggle .hor_icon { width: 13px !important; top: 5px !important; }

.video-media-toggle-2 p.toggler { font-size: 24px !important; background-color: transparent!important; }

/* Plan a Visit */
.constrain-image-75 img { max-width: 75%; }
.restrict-width { max-width: 640px; }
.custom-toggle .toggle_content { background-color: none !important; border-color: none !important; }
.custom-toggle .toggler.av-inherit-font-color.hasCustomColor.av-inherit-border-color { margin-top: -20px !important; }
.custom-toggle p.toggler { font-size: 25px !important; background-color: transparent!important; }
.vert_icon { height: 17px !important; left: 8px !important; }
.hor_icon { width: 17px !important; top: 8px !important; }
#top .av_toggle_section .av-inherit-font-color * { color: #333333; }
.av-minimal-toggle .toggle_content { padding: 0px; }
.toggle_content { background-color: transparent!important; margin-top: -30px !important; }

/* Responsive edits */
@media only screen and (min-width: 990px) { 
.mobile-only { display: none !important; } 
.logo img { width: 735px; top: -15px !important; }
#header_main { z-index: 10 !important; }
#top #header_meta { z-index: 11 !important; }
}

@media only screen and (max-width: 1434px) {
  #avia-menu .menu-item {
    display: none;
  }
  .av-burger-menu-main.menu-item-avia-special {
    display: block;
  }
  #header_main_alternate #avia-menu li.av-burger-menu-main{
    position: absolute;
    top: -65px;
    right: 0;
  }

}

/* Menu edits */
@media only screen and (min-width: 990px) {
.sidebar-menu, .sidebar-menu a { font-size: 20px; line-height: 40px; color: #b93f2d; }
#top .sub-menu .avia-menu-text { text-transform: none; }
#top #header .av-main-nav li a { text-transform: uppercase; }
nav.main_menu { margin-right: 0!important; margin-left: 0!important; }
#top #header .av-main-nav > li { padding-left: 5px; padding-right: 5px; }
.av-main-nav-wrap, .main_menu { width: 100% !important; }
}
@media only screen and (max-width: 767px) {
.responsive #top #header .main_menu .social_bookmarks { display: none; }
}

/* Imaage height */
@media (min-width: 1680px){
    .inner-page-imgs{
        height: calc(100vh - 170px) !important;
    }
}

/* Logo */
.logo svg{
    max-width: 100%;
}
.avia-mobile-logo{
    display: none;
}
@media only screen and (max-width: 989px){
    .responsive #top .logo {
        width: calc(100% - 200px);
    }
}
@media only screen and (max-width: 726px){
    .responsive #top .logo {
        width: calc(100% - 100px);
    }
}
@media only screen and (max-width: 470px){
    .responsive #top .logo {
        width: calc(100% - 80px);
    }
}
@media (max-width: 768px){
    .avia-mobile-logo{
        display: block;
        padding-bottom: 20px;
    }
    .responsive #top .avia-svg-logo{
        display: none !important;
    }
    .responsive #top .avia-mobile-logo svg{
        max-height: initial;
        margin-bottom: 20px;
    }
	 .responsive #top #wrap_all .av-flex-cells .inner-page-imgs-after.no_margin{
		 	min-height: auto !important;
		 	height: auto !important;
	}
}
/* Mobile menu icon */

#top .header_color .av-hamburger-inner, 
#top .header_color .av-hamburger-inner::before, 
#top .header_color .av-hamburger-inner::after{
    background:#b9402d !important;
}

/* Fullwidth image */
@media (max-width: 767px){
    .col-3-custom{
        padding:0 !important;
    }
    .col-3-custom .avia-image-container-inner,
    .col-3-custom .avia-image-overlay-wrap,
    .col-3-custom img{
        width:100%;
    }
}

/* Event box on homepage */
@media (min-width: 768.1px){
    .custom-event-col{
        position:relative !important;
    }
    .custom-event-col .avia-builder-widget-area,
    .custom-event-col .widget{
        position:static !important;
    }
    .custom-event-col a{
        text-decoration:underline;
    }
}
@media (min-width:1242px){
    .custom-event-col .congregation-events{
        padding-left:32px;
        padding-right:32px;
    }
	.col-3-custom .avia_image{
		width:100%;
	}
	.congregation-events p:last-child{
		margin-bottom:47px;
	}
}
.col-3-custom .avia-image-container-inner{
    width:100%;
}

/* Hide sidebar menus on mobile */

@media only screen and (max-width: 1024px) {
.hide-sidebar-nav-mobile { display: none !important; }
.tsf-sidebar-menus { display: none !important; }
.mobile-75-yrs { display: none; }
h1 { font-size: 32px !important; }
h3 { font-size: 22px !important; }
h2, h5 { font-size: 25px !important; }
h5 { line-height: 34px; }
.history-toggle p.toggler { font-size: 25px !important; }
.mobile-poems p { font-size: 14px; line-height: 30px; }
.lifecycle-events p { font-size: 20px; line-height: 35px; color: #b9402d; }
h3.congregation-footer { color: #b9402d !important; line-height: 28px; margin-top: -15px; margin-bottom: 4px; }
h3.congregation-footer-tsf { color: #b9402d !important; line-height: 28px; margin-top: -15px; margin-bottom: 4px; }
.footer-text-body { margin-top: 3px;  }
}

@media (max-width: 1024px) {
    .responsive #top #wrap_all .av-flex-cells .inner-page-imgs {
        background-size:100% auto !important;
        min-height: 56.1vw;
        height: 56.1vw !important;
		width:100%;
    }
	.responsive #top #wrap_all .av-flex-cells .inner-page-imgs + div{
		display:none;
	}

/* .img-inset-mobile img { width: 100%; display: block; align: left !important; } */


}
/* Fix image alignment and extra padding for mobile */
@media (max-width: 767.9px){
    .alignleft:not(.small-img){
        float: none !important;
        margin-bottom: 1em !important;
    }
    .mobile-no-padding-left{
        padding-left: 0 !important;
    }
}


/* Box vertical spacing for mobile */
@media (max-width:767.9px){
	#top .upcoming-event-item{
		margin-bottom:42px !important;
	}
	#top .fall-winter-item{
		margin-bottom:46px !important;
	}
	.upcoming-event-item .hr{
     display:none;
   }
	.upcoming-event-item{
    padding-top:20px !important;
	}
	.congregation-svcs-home {
    padding-top: 20px !important;
	}
}

@media only screen and (max-width: 990px) {
  #header_meta .sub_menu { display:none !important; }
}

@media (max-width: 1024px) {
    .responsive #top.page-id-84 #wrap_all .av-flex-cells .inner-page-imgs {
        min-height: 38.1vw;
        height: 38.1vw !important;
    }
}
@media (max-width: 990px) {
    .responsive #top.page-id-84 #wrap_all .av-flex-cells .inner-page-imgs {
        min-height: 45.1vw;
        height: 45.1vw !important;
    }
}

.home-callouts.tablet{
    display:none;
}
@media (max-width:1186px) and (min-width:702px){
    .home-callouts.non-tablet{
        display:none;
    }
    .home-callouts.tablet{
        display:block;
    }
}

.phone-info a { text-decoration: none; color: #b9402d !important; }