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


/********* Mobile Menu Collapse ********/
#main-header .et_mobile_menu li ul.hide {
	display: none !important;
}
 
#mobile_menu .menu-item-has-children {
	position: relative;
}

#mobile_menu .menu-item-has-children > a {
	background: transparent;
}
 
#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;
}
 
span.menu-closed:before {
	content: "\4c";
	display: block;
	color: black;
	font-size: 16px;
	font-family: ETmodules;
}

span.menu-closed.menu-open:before {
	content: "\4d";
}
    
.skip-navigation {
    position: fixed;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    bottom: 20px;
    z-index: 99999;
    left: 20px;
    font-size: 14px;
    font-weight: 500;
    background: #687d77;
    color: #fff !important;
    padding: 10px 20px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    text-transform: uppercase;
}

button.aicon_link {
    top: auto;
    bottom: 50px;
}

body:not(.home) .skip-navigation {
    display: none !important;    
}


#ssb-container.ssb-btns-right {
    right: -35px !important;
}
#ssb-container ul li a {
    color: transparent;    
}
#ssb-container ul li a span {
    color: #fff;
}

.et_pb_video_play {
    font-size: 14px !important;
    color: transparent !important;
}
.et_pb_video_play:before {
    font-size: 6rem !important;
    color: #597d7d !important;
}


/* NEW RSI LEAD FORM */
.contactForm {
    position: absolute;
    float: right;
    width: 320px;
    right: 30px;
    margin-top: 0px;
}

.contactForm .quickform {
    width: 100%;
    padding: 10px 8px 10px;
    background-color: #20c5cb;
	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: 14px;
    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: #687d77;
    border: 0;
    color: #fff;
    cursor: pointer;
    width: 100%;
    position: static;
    float: none;
    padding: 10px;
    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;
}
*/
@media only screen  and (max-width : 1440px) {
    .contactForm .quickform #sndForm { 
	}
}  
    
@media only screen  and (max-width : 1024px) {    
    .contactForm {width: 30%;}
}

@media only screen  and (max-width : 980px) {   
	body.home #main-header {
		padding-bottom: 0px !important;
	}
	
	#main-header {
	
	}
	#top-header .mobile-btn {
	    height: 40px;
        position: relative;
        color: transparent;
	}
	#top-header .mobile-btn:before {
	    position: relative;
        top: 50%;
        transform: translate(0px, -25%);
	}
}
    
@media only screen  and (max-width : 768px) {  
	
	.contactForm {
		width: 100%;
		float: none;
		right: auto;
	}
	
	.contactForm .quickform #sndForm { 
		width: 28%;
		right: 20px;
		bottom: 30px;
		padding: 0;
	}
}

/* Leadform Mobile */
@media (max-width: 600px) {
	.contactForm {
		right: 0;
	}
	.et_fixed_nav #main-header {
        z-index: 1000000;
    }
}
/* - */


/* RSI Mobile Menu */

.mobile_location_link {
	display: none;
}

.mobile_location_link:before {
	position: relative;
    top: 0;
    left: 0;
    font-size: 25px;
    content: "\e01d";
	color: #5ba6b6;
    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_call_link {
	display: none;
}

.mobile_call_link:before {
	position: relative;
    top: 0;
    left: 0;
    font-size: 25px;
    content: "\e090";
	color: #5ba6b6;
    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;
}

@media (max-width:980px) {
	
	.et_header_style_split #logo {
		max-height: 100px;
	}
	
/* 	nav#top-menu-nav, */
	.select_page
	{
		display: none !important;
	}

	.et_header_style_split #main-header .mobile_nav {
		background-color: transparent;
		padding: 0;
	}

	.et_header_style_split .et_menu_container .mobile_menu_bar {
		position: relative;
		top: auto;
		right: auto;
	}

	.et_header_style_split #et_mobile_nav_menu {
		position: initial;
		float: right;
		margin-top: 0;
	}
	
	.et_header_style_split .et_mobile_menu {
		top: 80px;
		height: auto;
	}

	.et_header_style_split #main-header div#et-top-navigation {
		display: flex;
		justify-content: space-between;
	}

	.mobile_menu_bar:before {
		color: #5ba6b6 !important;
	}
	
	.mobile_call_link {
		display: block !important;
	}
	
	.mobile_location_link {
		display: block !important;
	}
}

/* Custom Nested Mobile Menu CSS */

#main-header .et_mobile_menu .menu-item-has-children {
	position: relative;
}

#main-header .et_mobile_menu .menu-item-has-children > a.has-children-indicator {
	background-color: transparent; 
	position: absolute; 
	top: 0;
    right: 0;
    z-index: 2;
}

#main-header .et_mobile_menu .menu-item-has-children > a.has-children-indicator:after { 
	font-family: 'ETmodules'; 
	text-align: center; 
	speak: none; 
	font-weight: normal; 
	font-variant: normal; 
	text-transform: none; 
	-webkit-font-smoothing: antialiased; 
	position: absolute; 
}

#main-header .et_mobile_menu .menu-item-has-children > a.has-children-indicator:after { 
	font-size: 16px; 
	content: '\4c';
	right: 20px; 
}

#main-header .et_mobile_menu .menu-item-has-children.visible > a.has-children-indicator:after {
	content: '\4d'; 
}

/* #main-header .et_mobile_menu ul.sub-menu { 
	display: none !important; 
	visibility: hidden !important;  
	transition: all 1.5s ease-in-out;
} */

#main-header .et_mobile_menu .visible > ul.sub-menu { 
	display: block !important; 
	visibility: visible !important; 
}

/* Custom Desktop Menu CSS 

.top-header-logo {
	position: absolute;
    top: 0px;
}

.top-header-logo a {
	display: block;
    width: 85px;
}

#main-header div.container.custom-menu-container {
    display: flex;
    justify-content: flex-end;
	background: #a9bd89;
	padding-left: 30px !important;
	padding-right: 30px !important;
	padding-top: 10px;
	padding-bottom: 10px;
}

#main-header > .container {
	width: 80%;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

#et-secondary-nav {margin-top: 2px;}

#et-top-navigation {
	
}

#et-info-phone::before {
    position: relative;
    top: 1px;
    margin-right: 2px;
    content: "\e090";
    font-size: 16px;
}

#top-header a {
    color: #fff;
    font-size: 16px;
}

#top-menu-nav {
	width: 100%;
}

#top-menu {
	display: flex;
    flex-direction: row;
    justify-content: center;
}

#top-menu::before {
	display: none;
}

#top-menu > li {
	position: static;
    padding-right: 10px;
    padding-left: 10px;
}


#top-menu > li > a {
	margin-bottom: 12px;
}

#top-menu > li.menu-item {
    text-transform: uppercase;
    font-size: 18px;
}

#top-menu > li > a {
	padding-top: 0px !important;
	padding-left: 0px !important;
	padding-bottom: 20px !important;
}

#top-menu > li > ul.sub-menu {
	display: flex;
    flex-direction: row;
	justify-content: space-between;
    width: 100%;
    max-width: none;
    left: 0;
	z-index: -1;
	visibility: hidden;
	pointer-events: none;
}

#top-menu > li.active-menu-item > ul.sub-menu {
	opacity: 1;
	visibility: visible;
}

#top-menu > li:hover > ul.sub-menu {
	z-index: 999999;
	visibility: visible;
	pointer-events: all;
}

#top-menu > li > ul.sub-menu > li {
	padding: 0 10px;
	text-transform: capitalize;
	font-size: 14px;
}

#top-menu > li > ul.sub-menu > li > a {
	width: auto;
    font-weight: 700;
	line-height: 1.3em;
    padding: 6px 10px;
}

#top-menu > li > ul.sub-menu > li.menu-item.menu-item-has-children > a:first-child::after {
	top: 50% !important;
    transform: translate(0, -50%);
}

#top-menu > li > ul.sub-menu > li > ul.sub-menu {
	position: relative;
	top: auto;
	left: auto;
	display: flex;
    flex-direction: column;
	width: auto;
	border-top: none;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	background: none;
    padding: 5px 0 0;
}

#top-menu > li > ul.sub-menu > li > ul.sub-menu > li {
	padding: 0 10px;
}

#top-menu > li > ul.sub-menu > li > ul.sub-menu > li > a {
	width: auto;
	padding: 6px 0 !important;
    line-height: 1.3em;
}

#top-menu > li > ul.sub-menu > li.not-parent-menu-item > a {
	font-weight: 600;
}

#top-menu > li > ul.sub-menu > li.not-parent-menu-item > a::after {
	display: none;
}

#top-menu > li > ul.sub-menu > li.not-parent-menu-item > ul.sub-menu {
	padding-top: 0;
}

.menu-item-8090 > ul.sub-menu {
	flex-wrap: wrap;
}

.menu-item-8090 > ul.sub-menu > li {
	flex-basis: 33.333%;
}

.menu-item-8090 > ul.sub-menu > li:nth-child(1),
.menu-item-8090 > ul.sub-menu > li:nth-child(2),
.menu-item-8090 > ul.sub-menu > li:nth-child(3) {
	margin-bottom: 15px !important;
}

@media (min-width:981px) {
	.contactForm {
		top: 87px;
	}
	
	.et-fixed-header .contactForm {
		top: 80px;
	}
}

@media (max-width:980px) {
	#main-header > .container {
		max-width: 80%;
	}
	.contactForm.interior-contactForm {
		margin-top: 20px;
	}
	
}*/


/* Site Custom CSS */
.fwidget.widget_search .wp-block-search .wp-block-search__button {
    cursor: pointer !important;
}

.fwidget.widget_search {
    padding-top: 5px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.fwidget.widget_search .wp-block-search .wp-block-search__button {
    background-color: white;
    border-color: #687d77;
}

.fwidget.widget_search .wp-block-search .wp-block-search__input {
    border-color: #687d77;
}

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

body:not(.home) a {
    color: #597d7d;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
    content: '\43' !important;
    font-family: ETmodules!important;
}


@media (max-width:980px) { 
	#et_mobile_nav_menu .menu-item-7855,
	#et_mobile_nav_menu .menu-item-7856,
	#et_mobile_nav_menu .menu-item-7876 {
		display: none;
	}
	
	#et_mobile_nav_menu ul#mobile_menu > li > ul.sub-menu > li.not-parent-menu-item > ul.sub-menu {
		display: block !important;
		visibility: visible !important;
		padding-left: 0 !important;
	}
	
	#et_mobile_nav_menu ul#mobile_menu > li > ul.sub-menu > li.not-parent-menu-item > ul.sub-menu > li {
		padding-left: 0 !important;
	}
	
	#et_mobile_nav_menu ul#mobile_menu > li > ul.sub-menu > li.not-parent-menu-item > ul.sub-menu > li > a {
		font-weight: 700;
	}
	
	#et_mobile_nav_menu ul#mobile_menu > li > ul.sub-menu > li.not-parent-menu-item > a.has-children-indicator {
		display: none !important;
	}
	
}

/* Homepage */
.medspa-homepage-section .et_pb_row {
    display: flex;
	flex-wrap: wrap;
}

.medspa-homepage-section .et_pb_column:nth-child(2) {
    align-self: flex-end;
}

.homepage-accred-logos img {
    margin-right: 40px;
}
/* - */

/* Interior Pages */
a#videostab.selected,
a#blogstab.selected {
    background-color: #687c77;
    color: white;
    border: 1px solid #687c77;
}
/* - */

/* Homepage Mobile */
@media (max-width: 600px) {
	.medspa-homepage-section .et_pb_row {
		flex-direction: column-reverse;
	}
	
	.homepage-accred-logos {
        padding-bottom: 50px;
    }
    
    .homepage-accred-logos img {
        margin-right: 0px;
    }
	
	#top-header {
		display: block !important;
	}
}
/* - */

/* Header - Desktop */

.et_header_style_left .logo_container {
	width: 95% !important;
	bottom: 10px;
	padding-top: 20px;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu {
    padding-bottom: 20px !important;
}

.header-bottom-bar {
    height: 40px;
    background: #687d77;
    display: flex;
    align-items: center;
}

.header-bottom-bar__container {
    display: flex;
    width: 100%;
    max-width: 950px;
    justify-content: space-between;
    margin-left: auto;
    margin-right: 50px;
}

.header-bottom-bar__container input {
	border: none !important;
}

.header-bottom-bar__container #searchsubmit {
    background: none;
    color: white;
    font-size: 18px;
	border: none !important;
}

.header-bottom-bar__info a:nth-child(2) {
    border-left: 1px solid white;
    padding-left: 15px;
}

.header-bottom-bar__info a:nth-child(2) span:before {
    position: relative;
    top: 2px;
}

ul#mega-menu-primary-menu > li:last-of-type > ul.mega-sub-menu {
    right: 20px !important;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul.mega-sub-menu {
    right: 100%;
    left: unset;
}
/* - */

/* Header - Mobile */

@media (max-width: 769px) {
	.header-bottom-bar {
		display: none;
	}
	
/* @media (max-width: 980px) { */
	.header-logo-container .header-contact,
	.header-logo-container .header-address {
		display: none;
	}
	
	#main-header {
		background-color: white !important;
	}
	
	.et_header_style_left #logo {
		max-width: 75%;
	}
	
	#et-info .et-social-icons {
		display: inline-block;
	}
}
/* - */
/* RSI Mobile Icons */

.mobile-btn {
	display: none;
}

@media (max-width:980px) {	
	
	.et_header_style_centered nav#top-menu-nav {
		display: inline-block !important;
	}

	.mega-toggle-blocks-right {
		position: absolute;
		top: -152px;
		right: 30px;
		z-index: 99999999999;
	}

	#mega-menu-wrap-primary-menu .mega-menu-toggle {
		background: none;
	}
	
	.mobile-btn.menu {
		display: none;
	}
	
	#top-header {
		z-index: 1;
	}
	
	#mega-menu-wrap-primary-menu .mega-menu-toggle+#mega-menu-primary-menu {
		top: 10px;
	}
	
	#mega-menu-wrap-primary-menu .mega-menu-toggle .mega-toggle-block-1:after {
		content: '\61' !important;
		font-family: 'ETmodules' !important;
	}
	
	#mega-menu-wrap-primary-menu .mega-menu-toggle.mega-menu-open .mega-toggle-block-1:after {
		content: '\51' !important;
	}
	
	.et_header_style_centered #logo {
		max-height: 60px !important;
		transform: scale(2) translateY(12px) !important;
	}

	#mega-menu-wrap-primary-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner,
	#mega-menu-wrap-primary-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner:after,
	#mega-menu-wrap-primary-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner:before {
		background-color: white;
	}
	
	a.mobile-btn::before {
		display: block !important;
		position: relative;
		top: 0;
		left: 0;
		font-size: 25px;
		content: "\61";
		color: #0f7865;
		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 {
		display: block;
	}

	.mobile-btn.menu::before {
		font-size: 30px;
	}

	.mobile-btn.call::before {
		content: "\e090";
	}

	.mobile-btn.location:before {
		content: "\e010";
		padding: 0 90px;
	}
	
	.et_secondary_nav_only_menu #top-header {
		display: block !important;
	}
	
	.custom-top-header {
		display: none !important;
	}
	
	div#top-header .container {
		display: flex !important;
		justify-content: center;
		width: 100%;
   	 	padding: 10px 0 !important;
	}
	
	#et-info {
		display: none;
	}
	
	.et_secondary_nav_only_menu header#main-header {
		top: 45px !important;
	}
	.et_fixed_nav.et_secondary_nav_only_menu.admin-bar header#main-header {
		top: 91px !important;
	}
	
	span.mobile_menu_bar.mobile_menu_bar_toggle:before {
		display: none;
	}
	
	.et_header_style_left .logo_container {
		position: relative !important;
		margin-top: 24px;
		text-align: center;
		height: 60px;
	}

	.et_header_style_left .logo_container img {
		height: 90px;
		max-height: none !important;
	}
}

/* New Menu */
.fwidget.widget_search {
    padding-top: 5px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.fwidget.widget_search .wp-block-search .wp-block-search__button {
    background-color: white;
    border-color: #687d77;
}

.fwidget.widget_search .wp-block-search .wp-block-search__input {
    border-color: #687d77;
}

ul#mega-menu-primary-menu {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

#top-menu-nav {
    position: relative;
    top: 0;
}

#mega-menu-primary-menu > li a {
    padding: 0 20px !important;
}

#mega-menu-primary-menu ul.mega-sub-menu .mega-menu-item {
    padding: 5px 10px !important;
    padding-top: 5px !important;
    padding-bottom: 0 !important;
}

ul#mega-menu-primary-menu {
    margin-top: 25px !important;
}

.header-logo-container {
    display: flex;
    justify-content: space-evenly;
}

#top-header {
	display: none;
}

.header-contact,
.header-address{
    width: 300px;
    text-align: center;
    font-size: 10px;
	padding-top: 25px;
}

span#et-info-email,
span#et-info-phone {
	color: black !important;
	font-weight: normal !important;
}

.header-address a {
	color: black !important;
	font-size: 12px;
	font-weight: 400;
}

.header-address a:before {
    font-family: ETmodules!important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 0;
    direction: ltr;
    content: "\e01d";
    margin-right: 4px;
}
/* - */


.button-title {
    text-align: center;
    min-height: 86px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) and (min-width: 768px) {
	.button-title .et_pb_text_inner div {
		font-size: 30px
	}
}


@media (max-width: 768px) {
    div#top-header {
        display: block !important;
    }   
}

/* Ipad Fix */
@media (min-width: 769px) and (max-width: 980px) {
    #main-header .container {
        width: 95%;
    }

    .header-logo-container {
        justify-content: space-between;
    }

    .header-contact, .header-address {
        width: 200px;
    }

    .header-address a {
        font-size: 10px !important;
    }

    #mega-menu-wrap-primary-menu #mega-menu-primary-menu {
        text-align: center;
    }
}
/* - */

#gform_wrapper_2 .gform_heading .gform_title {
	height: auto !important;
}