/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/*-----Leadform------*/

.contactForm {
    position: absolute;
    float: right;
    width: 20%;
    right: 0;
    margin-top: 0px;
}

.contactForm .quickform {
    width: 100%;
    padding: 10px 20px 10px;
    background-color: #8896ad;
	transition: .4s all ease-in-out;
}

.contactForm .quickform .formhead {
	text-align: center; 
	color: #053193;
}

input#uZip {
    margin-top: 2px;
}

/* Gravity Lead Form */
#quickform {
    background: #8896ad;
    max-height: 3000px;
	transition: .4s all ease;
}
.quickform .formhead .line1 {
    color: #fff;
	text-align: center;
	    font-weight: 700;
}
#quickform .gform_fields {
    display: grid;
    grid-column-gap: 2%;
    -ms-grid-columns: (1fr 2%) [ 12 ];
    grid-row-gap: 0px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(auto-fill, auto);
    width: 100%;
}
#quickform .rsi-lead-form_wrapper {
    max-height: 0px;
    overflow: hidden;
	transition: all 0.4s ease 0s;
}
.rsi-lead-form {
    padding-top: 10px;
    padding-bottom: 10px;
}
#quickform.expanded .rsi-lead-form_wrapper,
#quickform .rsi-lead-form_wrapper.gform_validation_error {
    max-height: 3000px;
}
#quickform .gform_heading .gform_required_legend {
    display: none !important;
}
#quickform .gfield_label {
    color: #fff;
    font-size: 15px;
    margin-bottom: 0;
}
#quickform .gfield_required {
    color: #fff;
}
#quickform input[type="text"], #quickform input[type="email"] {
    padding: 1px 5px;
    max-height: 30px;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 14px;
}
#quickform .gfield_consent_label {
    font-size: 10px;
    color: #fff;
    line-height: 20px;
    margin-left: 5px;
}
#quickform .rsi-procedure {
    margin-top: 5px;
}
#quickform select {
    padding: 1px 5px;
    max-height: 30px;
    font-size: 14px;
    line-height: 28px;
}
#quickform textarea {
    max-height: 60px;
    min-block-size: 60px;
}
#quickform .gform_footer {
    margin-top: 0;
    padding-top: 10px;
}
#quickform input[type="submit"] {
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #000;
    color: #fff;
    font-weight: 600;
	padding: 6px 0;
}
#quickform .validation_message.gfield_validation_message {
    display: none !important;
}
#quickform .gform_validation_errors {
    padding: 5px 5px;
    margin: 0 0 10px;
    background: #fff;
}
#quickform .gform_submission_error {
    font-size: 12px;
    line-height: 15px;
}
#quickform .gform_submission_error .gform-icon {
    display: none;
}
#quickform .quickform-arrow {
	position: absolute;
    top: 10px;
    right: 5px;
}
#quickform .quickform-arrow:after {
	position: relative;
    font-family: ETmodules;
    font-size: 25px;
    font-weight: 500;
    content: "3";
	transition: .4s all ease;
}
#quickform.expanded .quickform-arrow:after {
    content: "2";
}


/* Ken Burn Rotator */
.et_pb_slide .et_parallax_bg_wrap {
   animation: zoomin 10s forwards;
  -ms-animation: zoomin 10s forwards;
  -webkit-animation: zoomin 10s forwards;
  -moz-animation: zoomin 10s forwards;
}
@keyframes zoomin{
0%{
    -ms-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    -webkit-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    -o-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    -moz-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    animation-timing-function: linear;
 
 
}
100%{
    -ms-transform: scale3d(1.5, 1.5, 1.5) translate3d(-0px, 0px, 0px);
    -webkit-transform: scale3d(3.5, 3.5, 3.5) translate3d(0px, 0px, 0px);
    -o-transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
    -moz-transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
    transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
 
}
}


/* Theme Styles */
.container {
    width: 90%;
}
#top-header #et-secondary-menu {
    width: auto;
}
#et-secondary-menu #et-secondary-nav {
    float: right;
}
#homepage-rotator .et_pb_slide_content h2 {
    font-size: 70px;
    padding-bottom: 30px;
    line-height: 1em;
}

/* Custom Navigation */
#top-menu ul.sub-menu a,
#top-menu .long-menu ul ul a {
    font-size: 18px;
}
#top-menu .long-menu > ul.sub-menu {
    width: 900px;
    max-width: 100vw;
    position: fixed;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
}
#top-menu .long-menu > ul.sub-menu > li {
    width: 300px;
    float: left;
}
#top-menu .long-menu > ul.sub-menu > li > a {
    padding-right: 0;
    width: 100%;
    background-color: rgba(0,0,0,0);
    opacity: 1;
    font-weight: 700;
    font-size: 20px;
}
#top-menu .long-menu:hover > ul.sub-menu ul {
    opacity: 1;
    visibility: visible;
}
#top-menu .long-menu ul li,
#top-menu .long-menu ul li a {
    width: 100%;
}
#top-menu .long-menu > ul.sub-menu ul {
    position: static;
    box-shadow: none;
    width: 100%;
}
#top-menu .long-menu > ul.sub-menu ul li {
    padding-left: 0;
    padding-right: 0;
}
#top-menu .two-columns-menu > .sub-menu {
    width: 600px;
    column-count: 2;
	right: 0;
}
#top-menu .two-columns-menu > .sub-menu li a {
    width: 260px;
}
#top-menu .two-columns-menu > .sub-menu ul {
    width: 300px;
    left: auto;
    right: 100%;
    top: -22.5px;
}

#top-menu > li:last-child  > ul.sub-menu {
    left: auto;
    right: 0;
}

/* Homepage Tabs */
body:not(.et-fb) .tab-content {
    display: none;
}

body:not(.et-fb) .tab-content.tab-open {
    display: block;
}

.tab-title {
	cursor: pointer;
}

.tab-title .et_pb_module_header a:after {
    content: '\24';
    position: relative;
    top: 8px;
    left: 20px;
    font-family: ETmodules;
    speak: none;
    font-weight: 400;
    line-height: 1;
    font-size: 36px;
    font-style: normal;
    display: inline-block;
    box-sizing: border-box;
}

.tab-title.active-tab .et_pb_module_header a:after {
    content: '\22';
}

.et_pb_blurb.tab-title.active-tab .et_pb_module_header a {
    color: #1a4079 !important;
    font-size: 26px;
}

/* Gallery */
div#revGalleryWrap label[for=revCatname] {
    margin-right: 20px !important;
}

div#revGalleryWrap .revCatImageSet {
    width: 48% !important;
    margin-bottom: 20px !important;
    margin-right: 1% !important;
}

.jscroll-loading {
	display: none !important;
}

div#revPatientImages {
    margin-top: 50px !important;
}

/* Mobile Menu */
#mobile-topbar {
    display: none;
}
.mobile-btn {
    display: inline-block;
    padding: 0 15%;
    color: transparent !important;
}
.mobile-btn.call {
    padding-left: 0;
}
.mobile-btn.menu {
    padding-right: 0;
}
.mobile-btn:before {
    position: relative;
    top: 0;
    left: 0;
    font-size: 25px;
    content: "\61";
    color: #fff !important;
    cursor: pointer;
    text-shadow: 0 0;
    font-family: ETmodules!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
}
.mobile-btn.call:before {
    content: "\e090";
}
.mobile-btn.location:before {
    content: "\e01d";
}
.mobile-btn.menu:before {
    font-size: 30px;
}
#et-top-navigation #mobile_menu.et_mobile_menu {
    background-color: rgba(0, 0, 0, 0.9);
}
#et-top-navigation #mobile_menu li a {
    color: #fff;
}
span.menu-closed:before {
    color: #fff !important;
}
body:not(.home) #main-content .et_pb_text p {
    padding-bottom: 1em;
}

.et_pb_row {
	width: 90%;
}
.alert.alert-info .bagallery-container > h2 {
	display: none;
}

/* Interior */
h2 {
	padding-bottom: 1em;
}

.interior-image img {
    height: 450px;
    object-fit: cover;
    object-position: top;
	width: 600px;
}

#et-top-navigation {
    padding-left: 0 !important;
}

@media screen and (min-width: 1025px) and (max-width: 1351px) {
    #main-header #logo {
        max-width: 200px;
    }
    #main-header #top-menu .menu-item-has-children>a:first-child, 
    #et-secondary-nav .menu-item-has-children>a:first-child {
        padding-right: 15px;
    }
    #main-header #top-menu li {
        padding-right: 10px;
    }
    #main-header #top-menu li a,
    #top-header #et-secondary-nav a {
        font-size: 15px;
    }
}

/* Responsive */
@media screen and (min-width: 981px) and (max-width: 1024px) {
    ul#top-menu > li > a {
        font-size: 18px !important;
    }
    .contactForm {
        width: 300px;
    }
}
@media screen and (max-width:1024px) {
    .et_pb_menu .et_pb_menu__menu {
        display: none;
    }
    .et_mobile_nav_menu {
        display: block;
    }
	.homepage-logos {
		display: flex;
		justify-content: space-between;
	}

	.homepage-logos .et_pb_column {
		width: 30% !important;
	}

	body:not(.et-fb) .tab-content {
		display: block;
	}
	
    #top-header {
        padding-top: 0;
    }
    #mobile-topbar {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0.75em 0;
        background: #8896ad;
    }
    #et_mobile_nav_menu {
    	display: block;
    }
    #mobile_menu {
        top: 0;
    }
    #top-menu,
    #main-header #et-info,
    #top-header #et-info, #top-header #et-secondary-menu {
    	display: none;
    }
    #page-container {
	    padding-top: 0 !important;   
	}
    #main-header #et-top-navigation,
    #main-header.et-fixed-header #et-top-navigation {
        float: right;
        padding: 0 !important;
    }
    #main-header #logo,
    #main-header.et-fixed-header #logo {
        max-width: 350px;
        height: auto;
        max-height: none;
    }
    #top-header, #main-header {
        display: block !important;
        position: relative !important;
        top: auto !important;
    }
    #main-header > .container {
        display: block;
    }
    #main-header .logo_container {
        width: 100%;
        text-align: center;
        align-content: center;
        padding: 15px 0;
        position: relative;
    }
    .contactForm {
		width: 100%;
	}
	.mobile_menu_bar.mobile_menu_bar_toggle:before {
		display: none;
	}
	ul#mobile_menu li {
		text-align: left;
	}
	#main-header #et-top-navigation {
		height: 0;
		padding: 0 !important;
		width: 100%;
	}
	#main-header .container {
	     width: 100%;
	     padding: 0;
	}
	#top-header .container {
	    width: 100%;
	    padding: 0;
	}
	#top-header .logo_container {
	    width: 100%;
	    text-align: center;
	    padding-top: 25px;
	}
	#top-header .container {
        display: block;
	}
	.et_mobile_menu {
	    border-top: 0 !important;
	}
	#homepage-rotator .et_pb_slide_content h2 {
        font-size: 50px;
	}
	#homepage-rotator .et_pb_slide_description {
	    padding-top: 200px !important;
	}
	span.logo_helper {
	    display: none;
	}
	
}
@media screen and (max-width: 980px) and (min-width: 768px) {

}
@media screen and (max-width:767px) {
    #homepage-rotator .et_pb_slide_content p {
        font-size: 18px !important;
    }
    #homepage-rotator .et_pb_slide_content h2 {
        font-size: 40px;
    }
    #homepage-rotator .et_pb_slide_content:before {
        width: 60px;
        height: 60px;
        top: -70px;
    }
    body:not(.home) #main-content h1 {
        font-size: 35px;
        line-height: 1.2em;
    }
    body:not(.home) #main-content .et_pb_accordion h2,
    body:not(.home) #main-content .et_pb_text h2 {
        font-size: 30px;
        line-height: 1.2em;
    }
    
}


/********* Mobile Menu Collapse ********/
  
/**** This hides the sub menu items on mobile ****/
  
#main-header .et_mobile_menu li ul.hide {
display: none !important;
}
  
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
  
#mobile_menu .menu-item-has-children {
position: relative;
}
#mobile_menu .menu-item-has-children > a {
background: transparent;
}
  
/**** This styles the icon and moves it to the right ****/
  
#mobile_menu .menu-item-has-children > a + span {
position: absolute;
right: 0;
top: 0;
padding: 10px 20px;
font-size: 20px;
font-weight: 700;
cursor: pointer;
z-index: 3;
}
  
/**** Here you can swap out the actual icons ****/
  
span.menu-closed:before {
content: "\4c";
display: block;
color: #053193;
font-size: 16px;
font-family: ETmodules;
}
  
span.menu-closed.menu-open:before {
content: "\4d";
}
