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


/* SLICK SLIDER */
.slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}

body {
    color: #000;
}

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

.contactForm {
    position: absolute;
    float: right;
    width: 320px;
    right: 30px;
    margin-top: 0px;
}
.contactForm .quickform {
    width: 100%;
    padding: 10px 8px 10px;
    background-color: #365f8a;
	transition: .4s all ease-in-out;
    }
.quickform * {
    box-sizing: border-box;    
}
.contactForm .quickform .formhead {
	text-align: center;
	color: #fff;
	height: auto;
	overflow: hidden;
}
.contactForm .quickform .line1 {
	position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 17px;
    padding: 0 10px 0 0;
}
.contactForm .quickform .line1 .quickform-arrow {
	position: absolute;
    top: 2px;
    right: 0;
	margin-top: -2px;
}
.contactForm .quickform .line1 .quickform-arrow:after {
	position: relative;
    font-family: ETmodules;
    font-size: 25px;
    font-weight: 500;
    content: "3";
	transition: .4s all ease;
}
.contactForm .quickform.expanded .line1 .quickform-arrow:after {
    content: "2";
}
.contactForm .quickform .line3 a {
	color: #fff;
}

.quickform .rsi-lead-form {
    max-height: 0px;
	overflow: hidden;
	transition: .4s all ease;
}
.quickform.expanded .rsi-lead-form {
    max-height: 3000px;
	transition: .4s all ease;
}
.quickform .formbody {
    display: grid;
    grid-column-gap: 2%;
    -ms-grid-columns: (1fr 2%) [12];
    grid-row-gap: 6px;
    grid-template-columns: repeat(12,1fr);
    grid-template-rows: repeat(auto-fill,auto);
    width: 100%;
}
.quickform input[type=text], .quickform select, .quickform textarea  {
    width: 100%;
    min-width: 0;
    -ms-grid-column-span: 12;
    grid-column: span 12;
    background-color: #fff;
    border: 1px solid #bbb;
    padding: 2px;
    color: #4e4e4e;
    font-size: 15px;
    margin-bottom: 0;
    margin-top: 0;
    padding: 8px;
}
.quickform input[type=text].form-width-half {
    -ms-grid-column-span: 6;
    grid-column: span 6;
}
.formsubmit {
    margin-top: 10px;    
}
#sndForm {
    background: #000;
    border: 0;
    color: #fff;
    cursor: pointer;
    width: 100%;
    position: static;
    float: none;
    padding: 10px !important;
    text-transform: uppercase;
}
.rsi-form-error {
    background: #fff9f9;
    font-size: 13px;
    color: #c02b0a;
    border: 1px solid #c02b0a;
    padding: 5px;
    text-align: center;
    line-height: 15px;
    margin: 10px auto;
    -ms-grid-column-span: 12;
    grid-column: span 12;
    display: none;
}
/* NEW RSI LEAD FORM END */


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


/* 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: -6px
}

.et-social-icons li:first-of-type {
	margin-left: 20px;
}

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

.et-social-icon a {
    color: #fff;
    font-size: 14px;
    background-color: #365f8a;
    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: 485px;
    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)
}


/* 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: #365f8a !important;
    font-size: 26px;
} */

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

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

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

.interior-hero-image > span {
    border-radius: 0 !important;
}

body:not(.home) h2 {
	font-size: 24px;
}

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

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

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

ul#top-full-menu > li > a {
    font-size: 24px;
}

ul#top-full-menu > li > ul {
    margin-top: 10px;
}

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

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

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

.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: black;
    float: left;
}

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

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

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

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

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

ul#top-full-menu-upper-links a {
    font-size: 26px;
    color: white;
}

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: 122px;
	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: 50%;
}

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

ul.full-menu > li > ul {
    margin-top: 15px;
	display: flex;
    justify-content: space-between;
}

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: #365f8a;
    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: #365f8a;
    float: left;
}

body.full-screen-menu-on .full-menu-toggle:before {
    color: white;
}

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

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

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: #365f8a !important;
}

ul#top-full-menu-upper-links {
    background: #365f8a;
    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;
}

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: 25%;
    text-align: center;
}

ul#top-full-menu-upper-links > li:nth-child(1) {
    width: 20%;
}

li.menu-highlight a {
    font-size: 28px !important;
    color: #365f8a !important;
}

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:#365f8a !important;
}

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

ul.full-menu > li > ul > li > a {
    color: #365f8a;
    font-size: 20px;
}

.full-menu .menu-flat > ul {
	display: block;
}

.full-menu .menu-flat.col-2 > ul {
    column-count: 2;
}

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

.menu-link-disable > a {
    pointer-events: none;
    cursor: default;
}

.logo-slider img {
    margin: 0 auto;
}

.entry-content .et_pb_text a {
    text-decoration: underline;
}

/* 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:980px) {
    #top-header {
        padding-top: 0;
    }
    #mobile-topbar {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0.75em 0;
        background: #365f8a;
    }
    #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%;
	}
	.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: 24px;
        line-height: 1.2em;
    }
    
	.contactForm {
		right: 0;
	}
	
	.contactForm {
		right: 0;
	}

	#et-top-navigation ul.et-social-icons {
		display: none;
	}
	
	body:not(.home) .et_pb_section.et_pb_section_0 {
		padding-top: 50px !important;
	}
}


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

#skip-to-main {
    box-sizing: border-box;
    left: 38px;
    top: -100px;
    position: fixed !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
    background: #fff !important;
    border-radius: 8px !important;
    border: 2px solid #000000 !important;
    max-width: 275px;
    padding: 0 15px 0 !important;
    text-align: left !important;
    width: 100% !important;
    height: 63px !important;
    box-shadow: 0px 5px 5px 2px rgba(0, 0, 0, 0.6) !important;
    opacity: 0;
    transition: top .2s, opacity .2s;
    z-index: 1000000;
    font-size: 16px;
    color: #000000;
}
#skip-to-main:focus {
    top: 40px;
    opacity: 1;
    outline: 1px solid rgba(255, 255, 255, 0);
    background: #fff !important;
}
:focus-visible {
    outline: 2px dashed #f00;
}
.home .procedure-links-col .procedure-links:focus,
.home .procedure-links-col .procedure-links:focus-within {
    opacity: 1;
    transform: translate(0px,0px)
}
#top-menu li:focus-within > ul {
    opacity: 1;
    visibility: visible;
}
