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

/* Gravity Lead Form */
.contactForm {
    position: absolute;
    float: right;
    width: 300px;
    right: 30px;
    margin-top: 0;
}
#quickform {
    background: #7095b9;
    max-height: 3000px;
	transition: .4s all ease;
	    padding: 5px 10px;
}
.quickform .formhead .line1 {
    color: #fff;
	text-align: center;
    font-weight: 700;
	display: block;
}
#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: 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: #9a8c7e;
    color: #fff;
    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: 5px;
    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";
}



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

body:not(.home) #main-content .et_pb_text p {
    padding-bottom: 1em;
}

/* Responsive */

/********* 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: #7095b9;
font-size: 16px;
font-family: ETmodules;
}
  
span.menu-closed.menu-open:before {
content: "\4d";
}



/********* 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;
font-size: 16px;
font-family: ETmodules;
}
  
span.menu-closed.menu-open:before {
content: "\4d";
}

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

/* Navigation */
ul#top-menu li > ul.sub-menu li a {
    font-size: 14px;
    line-height: 1.4em;
    width: 220px;
}

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

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

.li-last > ul.sub-menu {
    right: 0 !important;
}

.menu-2-col > ul {
    column-count: 2;
    width: auto !important;
}

ul#et-secondary-nav ul.sub-menu li {
    padding: 0 10px;
}

ul#et-secondary-nav ul.sub-menu li a {
    text-align: left;
}

ul#et-secondary-nav ul.sub-menu li a:after {
    left: auto !important;
    right: 2.3em !important;
}

/* Homepage */
.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-container {
    transition: .4s ease all
}

.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: 480px;
    padding: 10px;
    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 .procedure-links-col:hover .procedure-links-bg {
    opacity: 1
}

.home .procedure-links a {
    padding: 2px;
    margin: 2px 0
}

.procedure-links ul {
    list-style-type: '';
}

/* Interior Pages */
/* body:not(.home) header#main-header {
    background: black;
} */

body:not(.home) #top-menu li {
	padding-right: 0;
}

/* Interior Gallery */
.alert.alert-info {
    border: none;
    background: none;
}

.alert.alert-info h2 {
    font-size: 22px;
    text-align: center;
}

.interior-gallery-images .alert.alert-info h2 {
    display: none;
}

.alert.alert-info img {
    border: none !important;
    border-radius: 5px !important;
}

.alert.alert-info .single-image:nth-of-type(1) {
    padding-right: 10px;
}

.alert.alert-info .single-image:nth-of-type(2) {
    padding-left: 10px;
}

.alert.alert-info a {
    background: none !important;
}

.alert.alert-info .caption-text {
    background: none !important;
    color: black;
    font-size: 16px !important;
    font-weight: 300;
    padding: 0 0 0 !important;
    padding-top: 10px !important;
    text-align: center;
    line-height: 1.6em !important;
}

.interior-gallery-images .caption-text {
	display: none;
}

.alert.alert-info .gallery-labels div {
    padding: 0 0 !important;
    color: black;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
}

.bagallery-container .carousel-indicators {
    margin-left: unset !important;
    display: block;
    width: 100%;
    bottom: -60px;
    left: unset;
    margin: 0 auto;
}

.carousel-control {
	display: none;
}

.bagallery-container .bagallery-box-view .single-image img.thumbnail {
    height: 300px;
    object-fit: contain;
}

.interior-gallery-images .bagallery-container .bagallery-box-view .single-image img.thumbnail {
    height: 180px;
}

.alert.alert-info {
    background: #f3f3f3;
    border-radius: 10px;
}

.interior-gallery-set .et_pb_code_inner,
.interior-gallery-set .et_pb_text_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.interior-gallery-set .alert.alert-info {
    width: 48% !important;
}

.interior-gallery-set br,
.interior-gallery-set .et_pb_text_inner > p {
	display: none;
}

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

ul#et-secondary-nav > li:first-child {
    margin-right: 40px;
}

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

/* Mobile */
@media (max-width: 767px) {
	/* Mobile Nav */
	#top-header {
		display: block !important;
	}
	
	div#mobile-topbar {
		display: flex;
	}

	div#mobile-topbar {
		padding: 15px 0;
	}

	#top-header {
		background: #0055a5;
	}

	.et-social-icons {
		display: none;
	}

	header#main-header .container {
		height: 130px;
		text-align: center;
	}

	.et_header_style_left #et-top-navigation .mobile_menu_bar {
		display: none !important;
	}
	
	.contactForm {
		width: 100%;
		right: 0;
	}
	
	header#main-header {
		background: white;
	}
	
	#main-header {
		padding-top: 40px !important;
	}
	
	div#et-info {
		display: none;
	}
	
	header#main-header {
		padding-top: 0 !important;
	}
	
	.et_header_style_left #logo {
		max-width: 100%;
	}
	
	#main-header .et_mobile_menu {
        background-color: white !important;
    }
	
	.et_mobile_menu {
    	border-top: 3px solid #7095b9;
	}
	
	/* Header */
	#logo {
		max-height: 85%;
	}
	
	#mobile_menu a {
		text-align: left !important;
	}
	
	.et_pb_section_first {
		padding-top: 230px !important;
	}
	
	/* Interior Pages */
	body:not(.home) .et_pb_section_first {
		padding-top: 260px !important;
	}
	
	/* Gallery */
	.interior-gallery-set .alert.alert-info {
		width: 100% !important;
	}
}

li.menu-item-16523 ul{
	width: 470px!important;
}
li.menu-item-16523 ul li{
	padding: 0!important
}
