/*
 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: 360px;
	right: 30px;
	margin-top: 0px;
}

.contactForm .quickform {
	width: 100%;
	padding: 10px 20px 10px;
	background-color: #dd3d3d;
	transition: .4s all ease-in-out;
}

.contactForm .quickform .formhead {
	text-align: center;
	color: #fff;
}

.contactForm .quickform .gform_wrapper {
	max-height: 0px;
	overflow: hidden;
	transition: .4s all ease;
}

.contactForm .quickform .line1 {
	position: relative;
	text-transform: uppercase;
	font-size: 15px;
	padding: 0 15px;
	font-weight: bold;
	letter-spacing: 2px;
}

.contactForm .quickform .line1:after {
	position: absolute;
	top: 2px;
	right: -10px;
	font-family: ETmodules;
	font-size: 25px;
	font-weight: 500;
	content: "3";
	margin-top: -2px;
	transition: .4s all ease;
}

.contactForm .quickform.expanded .line1:after {
	content: "2";
}

.contactForm .quickform .line3 a {
	color: #fff;
	font-size: 20px;
}

.contactForm .quickform.expanded .gform_wrapper,
.contactForm .quickform .gform_wrapper.gform_validation_error {
	max-height: 3000px;
	transition: .4s all ease;
}

.contactForm .quickform .formsubmit {
	height: 0;
	opacity: 0;
	transition: .2s all ease;
	transition-delay: 0s;
	overflow: hidden;
}

.contactForm .quickform.expanded .formsubmit {
	height: auto;
	opacity: 1;
	transition: .2s all ease;
	transition-delay: .2s;
}

.contactForm .quickform #fName,
.contactForm .quickform #lName {
	width: 49.5%;
	float: left;
	height: 34px;
}

.contactForm .quickform #fName {
	margin-right: 1%;
}

.contactForm .quickform #uEmail,
.contactForm .quickform #uZip {
	width: 100%;
	height: 34px;
	margin-top: 1%;
	margin-bottom: 1%;
}

.contactForm .quickform #uPhone {
	height: 34px;
}

.contactForm .quickform #uPhone {
	margin-right: 1%;
}

.contactForm .quickform #uProc {
	width: 100%;
	height: 34px;
	margin-top: 1%;
	margin-bottom: 1%;
}

.contactForm .quickform #uMsg {
	width: 70%;
}

.contactForm .quickform #sndForm {
	position: absolute;
	width: 30%;
	bottom: 35px;
	float: right;
	right: 11px;
	font-weight: 300;
	border: 0;
	background-color: transparent;
	color: #fff;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
}
#quickform .gfield_description.gfield_consent_description {
	font-size:10px;
	line-height: 12px;
	color: #fff;
	margin-top: 3px;
}

/* Custom Leadform */
.quickform div#gform_wrapper_1 {
    height: 0;
    overflow: hidden;
}

.quickform.expanded div#gform_wrapper_1 {
    height: auto;
}

.quickform .gfield_label {
    color: white;
}


.quickform input[type=submit] {
    border: none;
    background-color: black;
    color: white;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 700;
}
/* - */

textarea#uMsg {
	margin-top: 2px;
}

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

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

#top-menu li {
	float: left;
	padding-right: 40px;
}

#top-menu>li:last-child .sub-menu {
	right: 0;
}

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

#et-info-phone-container {
	float: left !important;
}



/* Site Custom CSS */

/********* 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: #65eeff;
	font-size: 16px;
	font-family: ETmodules;
}

span.menu-closed.menu-open:before {
	content: "\4d";
}

/********* END - Mobile Menu Collapse ********/

#top-header>.container {
	max-width: 80%;
	padding-top: 10px !important;
}

#et-info-email {
	display: none;
}

#et-info-phone {
	display: block;
    font-size: 18px;
    margin-right: 15px !important;
    position: relative;
    bottom: 4px;
}

#et-info {
	float: right !important;
}


#main-header>.container {
	max-width: 80%;
}

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

#top-menu>li>a::after {
	display: none;
}

#top-menu li li a {
	font-weight: normal;
	width: 240px;
}

.nav li ul {
	width: 280px;
}

.nav li li ul {
	left: 280px;
}

/* Homepage */
.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: 455px;
	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-2-col {
	display: grid;
	grid-template-columns: 50% 50%
}

.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
}

/* Animations */
.kb-zoomin.et_pb_slide .et_parallax_bg {
   animation: zoomin 15s forwards;
  -ms-animation: zoomin 15s forwards;
  -webkit-animation: zoomin 15s forwards;
  -o-animation: zoomin 15s forwards;
  -moz-animation: zoomin 15s forwards;
}

.kb-zoomin-right.et_pb_slide .et_parallax_bg {
   animation: zoomin-right 15s forwards;
  -ms-animation: zoomin-right 15s forwards;
  -webkit-animation: zoomin-right 15s forwards;
  -o-animation: zoomin-right 15s forwards;
  -moz-animation: zoomin-right 15s 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);

	}
}

@keyframes zoomin-right{
	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(-150px, -20px, 0px);
		-webkit-transform: scale3d(1.5, 1.5, 1.5) translate3d(-150px, -20px, 0px);
		-o-transform: scale3d(1.5, 1.5, 1.5) translate3d(-150px, -20px, 0px);
		-moz-transform: scale3d(1.5, 1.5, 1.5) translate3d(-150px, -20px, 0px);
		transform: scale3d(1.5, 1.5, 1.5) translate3d(-150px, -20px, 0px);

	}
}
/* - */

/* Interior Pages */
/*  */
/* - */

/* Header Styles */
.et_fullwidth_secondary_nav #top-header .container {
	display: none;
}

#et-top-navigation ul.et-social-icons {
    position: relative;
    top: -10px;
    margin-left: 20px;
}

#et-top-navigation ul.et-social-icons li {
    margin-left: 10px;
}

#et-top-navigation ul.et-social-icons li a {
    font-size: 18px;
    color: white;
    background: #dd3d3d;
    padding: 5px 8px;
    border-radius: 50px;
}

#et-top-navigation li.menu-phone-number a {
    color: red;
    font-size: 20px;
}


.contactForm .gform_required_legend {
    display: none !important;
}
#top-header a.mobile-btn {
    color: transparent !important;
}

/* - */

/* Ipad Styles */
@media screen and (max-width: 1024px) and (min-width: 768px) {
	.et_mobile_menu {
		background-color: white !important;
	}

	.contactForm {
		width: 30%;
	}
}

@media (max-width:980px) {
	.menu-phone-number {
		display: none;
	}
	
	#main-header {
		box-shadow: none;
	}

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

	.home .et_pb_section_0.et_pb_section {
		padding-top: 0 !important;
	}

	.et_header_style_left #et-top-navigation,
	.et_header_style_left .et-fixed-header #et-top-navigation {
		padding-top: 50px !important;
		display: block;
	}

	.et_header_style_left #logo {
		max-width: 100% !important;
	}

	#et-info {
		float: none !important
	}

	.mobile-btn {
		color: transparent !important;
	}

	.mobile-btn:before {
		position: relative;
		top: 0;
		left: 0;
		font-size: 25px;
		content: "\61";
		color: white !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
	}
	
	a.mobile-btn.menu:before {
		top: -4px;
	}

	.mobile-btn {
		display: inline-block;
		/* 		padding: 0 15% */
	}

	.mobile-btn.call {
		padding-left: 0
	}

	.mobile-btn.menu {
		padding-right: 0
	}

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

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

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

	a.mobile-btn.call,
	.mobile-btn.location {
		color: white !important;
		font-size: 20px;
		position: relative;
		top: -10px;
	}

	.mobile-btn.call:before,
	.mobile-btn.location:before {
		top: 5px;
		left: -10px;
	}

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

	span.mobile_menu_bar.mobile_menu_bar_toggle:before {
		display: none;
	}

	#main-header .container .logo_container {
		text-align: center;
		padding-top: 20px;
	}

	/* Interior */
	.et_hide_primary_logo:not(.home) #main-header:not(.et-fixed-header) .logo_container {
		height: 80px !important;
		margin-top: -40px;
	}

	#logo {
		max-height: 80%;
	}

	span.menu-closed:before {
		color: #dd3d3d;
	}

	.et_mobile_menu {
		border-top: 3px solid #dd3d3d;
	}

	.contactForm {
		width: 45%;
	}
}

@media (max-width:767px) {
	/* Header */
	.et_fullwidth_secondary_nav #top-header .container {
		display: block;
	}
	
	.et-social-icons {
		display: none;
	}
	/* - */
	
	/* Homepage */
	.instagram-row {
		display: flex;
		justify-content: space-between;
		margin-bottom: 0 !important;
		padding: 0 !important;
	}

	.instagram-row .et_pb_column {
		width: 48% !important;
	}
	/* - */

	/* Custom Leadform */
/* 	.gform_wrapper.gravity-theme .gfield.gfield--width-half {
		grid-column: span 6 !important;
	}

	.contactForm .quickform.expanded .formbody {
		height: 480px;
	} */
	/* - */

	.et_fixed_nav.et_show_nav #page-container {
		padding-top: 0 !important;
	}


	body:not(.home) #main-header .logo_container {
		width: 100% !important;
	}

	.contactForm {
		position: relative;
		width: 100%;
		float: none;
		right: auto;
	}

	.contactForm .quickform #sndForm {
		width: 28%;
		right: 20px;
		bottom: 30px;
		padding: 0;
	}

	.et_header_style_left #logo {
		width: 280px;
		height: auto;
		margin: 0px auto;
	}

	/* Interior Pages - Mobile */
	.interior-page-module .et_pb_row.et_pb_row_1,
	.interior-page-module .et_pb_row.et_pb_row_1 .et_pb_module.et_pb_text {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}

	.interior-page-module img.alignright,
	.interior-page-module img.alignleft {
		float: none !important;
		margin: 0 !important;
		display: block;
		padding: 10px 0;
	}

	img#logo {
		max-height: 130% !important;
		margin-left: -50px;
		margin-top: -80px !important;
	}


	#main-header>.container {
		width: 100% !important;
		padding-top: 10px;
		max-width: 100%;
		background-color: black;
	}

	.et_fixed_nav #top-header,
	#main-header {
		position: relative !important;
		top: auto !important;
	}
}