/*
 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: 320px;
    right: 30px;
    margin-top: 0px;
}
.contactForm .quickform {
    width: 100%;
    padding: 10px 8px 10px;
}
#quickform {
    background: #103760;
    max-height: 3000px;
	transition: .4s all ease;
}
.quickform .formhead .line1 {
    color: #fff;
	font-size: 15px;
}
#quickform #gform_fields_1 {
    display: grid;
    grid-column-gap: 2%;
    -ms-grid-columns: (1fr 2%) [ 12 ];
    grid-row-gap: 3px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(auto-fill, auto);
    width: 100%;
}
#quickform .rsi-lead-form_wrapper {
    padding-top: 10px;
    padding-bottom: 10px;
    max-height: 55px;
    overflow: hidden;
}
#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: 13px;
    margin-bottom: 0;
}
#quickform .gfield_required {
    color: #fff;
}
#quickform input[type="text"], #quickform input[type="email"] {
    padding: 1px 5px;
    max-height: 24px;
    font-size: 13px;
    margin-bottom: 3px;
    line-height: 13px;
}
#quickform .gfield_consent_label {
    font-size: 10px;
    color: #fff;
    line-height: 20px;
    margin-left: 5px;
}
#quickform .rsi-procedure {
    margin-top: 10px;
}
#quickform select {
    padding: 1px 5px;
    max-height: 24px;
    font-size: 13px;
    line-height: 24px;
}
#quickform textarea {
    max-height: 50px;
    min-block-size: 50px;
}
#quickform .gform_footer {
    margin-top: 5px;
}
#quickform input[type="submit"] {
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #b3e1f7;
    color: #000;
    font-weight: 600;
}
#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: 13px;
    line-height: 16px;
}
#quickform .gform_submission_error .gform-icon {
    display: none;
}
.g-recaptcha, .ginput_recaptcha {
    transform:scale(0.75);
    transform-origin:0 0;
}


/* 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 */
.nav>li>a {
	padding: 10px 15px;
}
.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;
}


/* Header */
div#top-header {
    display: none;
}

ul#top-menu li li a {
    padding: 5px;
    text-transform: capitalize;
    font-weight: 600;
}

#top-menu li.current-menu-ancestor>a {
    color: #000080;
}

ul.et-social-icons {
    position: relative;
    top: -10px
}

.et-social-icon a {
    color: #fff;
    font-size: 14px;
    background-color: #103760;
    padding: 5px 10px;
    border-radius: 50px
}

.menu-phone-number a:before {
    content: "\e090";
    position: relative;
    top: 4px;
    margin-right: 5px;
    font-family: ETmodules!important;
    speak: none;
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
}


/* Homepage */
div#homepage-slider .et_pb_slide_description {
    padding-top: 100px !important;
}

div#homepage-slider .et_pb_slide_title,
div#homepage-slider .et_pb_slide_content {
    width: 30% !important;
    margin-left: auto;
}

.home .procedure-links-heading {
    position: absolute;
    width: 100%;
    bottom: 50px;
    opacity: 1;
    transition: .4s ease all;
    z-index: 1
}

.home .bottom-procedure-links-heading {
    bottom: 180px
}

.home .procedure-links-col:hover .procedure-links-heading {
    opacity: 0;
    z-index: -1
}

.home .procedure-links-col:hover .procedure-links-container {
    box-shadow: 0px 20px 140px -20px rgba(22,29,67,.4);
    transform: scale(1.05);
    transition: .4s ease all
}

.home .procedure-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 30px;
    opacity: 0;
    transform: translate(0px,0px);
    transition: .4s ease all;
    z-index: 2
}

.home .procedure-links:before {
    opacity: .6;
    width: 100%;
    height: 100%;
    background: #000;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1
}

.home .procedure-links ul {
    z-index: 2
}

.home .procedure-links-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.3);
    opacity: 0;
    transition: .4s ease all;
    z-index: -1
}

.home .procedure-links-col:hover .procedure-links {
    opacity: 1;
    transform: translate(0px,0px)
}

.home div#procedure-links-row {
    display: flex;
    align-items: center;
}

/* .home div#procedure-links-row .procedure-links-col:nth-child(even) .procedure-links-container {
    height: 450px;
} */


/* Homepage Tabs */
/* .tab-content {
    display: none;
} */

.tab-open {
    display: block;
}

.tab-title {
	cursor: pointer;
}

/* .tab-title.active-tab {
	background-color: #7196a6 !important;
} */

.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: #103760 !important;
    font-size: 26px;
}

.slick-track {
    display: flex;
    align-items: center;
}

.slick-track img {
    max-height: 80px;
    object-fit: contain;
}

/* Inner pages */
.interior-hero-image img {
    height: 450px;
    object-fit: cover;
    object-position: top;
}

/* 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;
}

span.menu-closed:before {
    color: #103760 !important;
}
body:not(.home) #main-content .et_pb_text p {
    padding-bottom: 1em;
}

.et_pb_row {
	width: 90%;
}

.alert.alert-info .bagallery-container > h2,
.bagallery-container>h2 {
	display: none;
}
.bagallery-container {
    display: block;
    padding: 15px 15px 35px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
    width: 48%;
}
.et_pb_column_1_2 .bagallery-container {
    width: 98%;   
}

/* Full Menu */
/* body:not(.full-screen-menu-on) .full-menu-container {
	opacity: 0;
	visibility: hidden;
}

.full-menu-container {
	transition: all 0.4s ease;
	opacity: 1;
	visibility: visible;
	position: fixed;
	background: white;
	inset: 0;
	height: 100%;
	z-index: 9999999999;
	top: 97px;
	max-height: 65%;
    box-shadow: 0px 40px 33px 1px rgba(0,0,0,.17);
}

body.logged-in .full-menu-container {
	top: 129px;
}

ul.full-menu {
    display: flex;
    justify-content: space-between;
    padding: 30px 40px;
}

ul.full-menu > li {
	padding: 0 10px;
	width: 20%;
}

ul.full-menu > li > a {
    font-size: 18px;
	font-weight: 600;
}

ul.full-menu > li > ul {
    margin-top: 5px;
}

ul.full-menu > li > ul li {
    padding-top: 10px;
}

ul.full-menu > li > ul li a {
    color: #777777;
    font-size: 16px;
}

ul.full-menu > li > ul li a:hover {
    color: black;
}

ul#top-full-menu-upper-links li ul {
    width: 250px;
    padding: 10px 0;
}

ul#top-full-menu-upper-links > li > ul {
	top: 57px;
}

ul#top-full-menu-upper-links li li {
    line-height: 1.5em;
    margin: 10px 0 !important;
	display: inline-block;
	width: 100%;
}

ul#top-full-menu-upper-links li li a {
    color: #103760;
    font-size: 16px;
}

.full-menu-toggle {
	cursor: pointer;
}

.full-menu-toggle a {
    display: flex !important;
}

.full-menu-toggle:before {
    font-family: ETmodules!important;
    content: 'a';
    font-size: 32px;
    color: #103760;
    float: left;
}

body.full-screen-menu-on .full-menu-toggle:before {
    content: '\4d';
}

body.full-screen-menu-on header#main-header {
    background: #103760;
}

body.full-screen-menu-on #top-menu a,
body.full-screen-menu-on #top-menu li:before {
    color: white !important;
}

.et-fixed-header #top-menu li:before {
	color: #103760 !important;
}

ul#top-full-menu-upper-links {
    background: #103760;
    display: flex;
    padding: 20px 30px;
    padding-bottom: 0;
    justify-content: space-between;
}

ul#top-full-menu-upper-links > li {
    padding: 20px;
}

ul#top-full-menu-upper-links a {
    font-size: 20px;
    color: white;
	background: unset !important;
}

ul.full-menu li ul li ul {
    margin-left: 20px;
}

body.full-screen-menu-on div#et-top-navigation .et-social-icons li a {
    background: white;
    color: #103760
}

ul#top-full-menu-upper-links > li {
    width: 20%;
    text-align: center;
}

li.menu-our-practice > ul {
    column-count: 2;
    width: 400px !important;
    right: 0;
}

li.menu-tab a {
    position: relative;
    top: -7px;
}

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

.menu-tab.active {
    background: white;
}

.menu-tab.active a {
    color: #103760 !important;
}

.menu-tab.active  a:after {
    content: '\22';
} */


/* .full-menu-main-link > a {
    font-size: 28px !important;
}

.full-menu-main-link > ul > li:first-child > a {
    font-size: 18px !important;
    color: #103760;
    font-weight: 600;
}

.full-menu > li:not(:first-child) {
    margin-top: 45px !important;
}

li.menu-our-practice > a{
    font-size: 28px !important;
}

ul#menu-type-gallery.full-menu {
    justify-content: left;
} */

/* Header */
div#et-top-navigation span#et-info-phone {
    color: #103760;
    font-size: 20px;
    margin-right: 10px;
    margin-left: 10px;
    position: relative;
    top: -5px;
    font-weight: 700;
}

.et-social-icons li {
    margin-left: 10px;
}

#top-menu > li {
	padding-right: 0;
}

#top-menu > .menu-item-has-children>a:first-child:after {
	top: 9px;
}

/* Interior Header */
body:not(.home) #top-menu a {
    color: #103760;
}

body:not(.home) #top-menu li:before {
    color: #103760 !important;
}

body:not(.home) #et-top-navigation nav>ul>li>a {
    margin-top: -10px;
}

.interior-title-image img {
    height: 550px;
    object-fit: cover;
    object-position: top;
	width: 600px !important;
}

body.full-screen-menu-on:not(.home) #top-menu li:before {
	color: white !important;
}
/* - */

/* Logo */
/* body:not(.home) #logo {
	max-height: 100% !important;
} */
/* .logo-white {
	display: none !important;
}

body.full-screen-menu-on .logo-white {
	display: block !important;
}

body.full-screen-menu-on .logo-blue {
	display: none !important;
} */
/* - */

/* Interior Pages */
.gallerycases {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.gallerycases .alert.alert-info {
    width: 48%;
}

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

/* Responsive */
@media screen and (min-width: 1024px) {
    body:not(.home) h1.entry-title {
        max-width: 50%;
        line-height: 1.2em;
    }
}

@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:980px) {
    #main-header .et_mobile_menu {
        background: #fff !important;
    }
    #et-top-navigation #et-info-phone,
    #et-top-navigation .et-social-icons {
        display: none;
    }
    #top-header {
        padding-top: 0;
    }
    #mobile-topbar {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 20px 0;
        background: #103760;
    }
    #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: 200px;
        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%;
		right: auto;
	}
	.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) {
    .bagallery-container {
        width: 98%;
    }
    body.home .et_pb_section.et_pb_section_1 {
            padding-top: 140px !important;
    }
    #page-container {
            margin-top: 0px !important;
    }
	div#et-top-navigation span#et-info-phone {
		display: none;
	}
	
    #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;
    }
    
	header#main-header .et-social-icons {
		display: none;
	}
	
	.contactForm {
		right: 0;
	}
	
	#main-header #logo {
		max-width: 350px;
	}
	
	#et-top-navigation #mobile_menu.et_mobile_menu {
		background: white;
	}
	
	/* Interior */
	body:not(.home) .et_pb_section.et_pb_section_0 {
		padding-top: 50px !important;
	}
	
	.gallerycases {
		display: block;
	}

	.gallerycases .alert.alert-info {
		width: 100%;
	}
}


/********* 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";
}