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

body {
	color: #000;
}

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

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

.contactForm {
    position: absolute;
    float: right;
    width: 300px;
    right: 50px;
	transition: .4s all ease-in-out;
}

.contactForm .quickform {
    width: 100%;
    padding: 10px 20px 10px;
    background-color: white;
	transition: .4s all ease-in-out;
}
#quickform {
    background-color: #159897;
    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: 3px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(auto-fill, auto);
    width: 100%;
}
#quickform .rsi-lead-form_wrapper {
    max-height: 60px;
    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: red;
}
#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: 15px;
}
#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: #fff;
    color: #159897;
    font-weight: 600;
	padding: 10px 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";
}

#top-menu ul.sub-menu a {
	padding: 10px 5px;
	line-height: 1.2em;
}

.menu-shift-left ul.sub-menu {
	right: 0;
}

.et-fixed-header #top-menu li > ul.sub-menu a {
	color: black !important;
}

#top-menu li a {
    background: transparent !important;
}

body:not(.home) .contactForm .quickform {
    background-color: #139997;
}

body:not(.home) .contactForm .quickform .line1 {
    color: white;
}

body:not(.home) header#main-header {
    background-color: #777777;
}

body:not(.home) .et_pb_section.et_pb_section_0.et_section_regular {
    padding-top: 0;
}

.et-fixed-header#main-header .nav li ul {
	background-color: white !important;
}

body:not(.home) .et-fixed-header#top-header {
    background-color: #129897;
}

/* Gallery */
.alert.alert-info {
    background-color: white;
    border: 2px solid #119a97;
    border-radius: 0;
}

.bagallery-container h2 {
    text-align: center;
    color: #119a97;
}

.bagallery-container .gallery-labels .left,
    .bagallery-container .gallery-labels .right{
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    padding: 5px;
    color: #119a97;
    font-weight: 400;
}

.bagallery-container a.bagallery-box-view {
    background: white;
}

.bagallery-container .bagallery-box-view .single-image img.thumbnail {
    border: none;
    padding: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.bagallery-container .bagallery-box-view .single-image {
    margin: 1%;
    width: 48%;
}

.bagallery-container a.bagallery-box-view .caption-text {
    background: none;
	color: gray;
}
/* - */

body.single #main-content a {
	text-decoration: underline;
}

/* Galleries - Interior Pages */
@media (min-width: 769px) {
	.ba-gallery-page .et_pb_text_inner,
	.ba-gallery-page .et_pb_code_inner {
		display: flex;
		flex-wrap: wrap;
	}

	.ba-gallery-page .et_pb_text_inner .alert.alert-info,
	.ba-gallery-page .et_pb_code_inner .alert.alert-info{
		width: 46%;
		margin: 10px 1%;
	}
}
/* - */

body:not(.home) .et_builder_inner_content .et_pb_row.et_pb_row_0 {
    padding-top: 0;
}

/* Mobile Header */
#logo {
    max-height: 80%;
}

.contactForm {
    right: 0;
    margin-top: 0px;
}

.logo-2-wrap {
    display: none !important;
}

.et-social-icons {
    display: inline-block !important;
}

/* #et-info {
    float: none !important;
} */

.mobile-btn.call,
.mobile-btn.location,
.mobile-btn.menu {
	display: none;
}

/* Menu-Header */
@media (max-width: 767px) {
	.smsconsent label {
		color: #fff !important;
	}
	.mobile-btn:before {
		position: relative;
		top: 8px;
		left: 0;
		font-size: 25px;
		content: "\61";
		color: white;
		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;
		display: block;
	}

	#top-header .mobile-btn {
		display: block;
		color: transparent;
	}

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

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

	.mobile-btn.location:before {
		content: "\e01d";
	}

	div#top-header .container {
		width: 100%;
	}

	div#top-header .container #et-info {
		display: flex;
		justify-content: space-around;
		width: 100%;
	}

	#et-info span#et-info-phone,
	#et-info ul.et-social-icons {
		display: none !important;
	}

	span.mobile_menu_bar.mobile_menu_bar_toggle {
		display: none;
	}

	.container.et_menu_container {
		height: 100px;
		text-align: center;
	}

	.container.et_menu_container #mobile_menu {
		text-align: left;
	}

	.et_header_style_left #logo {
		max-width: 90%;
	}

	header#main-header {
		background: #129897;
	}
	
	.contactForm {
		width: 100%;
	}

	.quickform {
		background-color: gray !important;
	}

	.quickform .formhead .line1 {
		color: white;
	}

	ul#mobile_menu {
		background-color: white !important;
	}

	ul#mobile_menu a {
		color: black;
	}
	
	/* Homepage */
	.homepage-dr-logos {
		display: flex;
		justify-content: space-between;
	}

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

/* - */

@media (max-width: 1180px) {
	header#main-header {
		background: #129897 !important;
	}

	.mobile_menu_bar:before {
		color: white !important;
	}
	
	ul#mobile_menu {
		background-color: white !important;
	}

	ul#mobile_menu a {
		color: black;
	}
	
	.quickform {
		background-color: gray !important;
	}

	.quickform .formhead .line1 {
		color: white;
	}
}

@media screen and (max-width: 1180px) and (min-width: 981px) {
   nav#top-menu-nav {
        display: none!important;
    }
    #et_mobile_nav_menu {
       display: block;
    }
    form.et-search-form {
        width: 50%!important;
        max-width: 50%!important;
    }
    #et_top_search {
        float: left;
        margin: 8px 32px;
    }
}

.skip-navigation {
    position: fixed;
    bottom: 20px;
    z-index: 99999;
    left: 20px;
    font-size: 16px;
    background: #159897;
    color: #fff;
    padding: 10px 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 12px;
}


#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 !important;
}
.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;
}
.et_pb_text a {
    text-decoration: underline;
}