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

#page-container {
	padding-top: 104px !important;
}
#et-top-navigation {
	padding-left: 0 !important;
}
body:not(.logged-in) #main-header {
	top: 0px !important;
}
.entry-content p a,
.entry-content .et_pb_promo a,
.entry-content .et_pb_text a {
	text-decoration: underline;
}

/* Responsive */
@media (max-width:1180px) {
	
}
@media screen and (max-width: 981px) {

}

@media (max-width:767px) {
	#page-container {
		padding-top: 179px !important;
	}
	body:not(.logged-in) #main-header {
		top: 60.4px !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";
}

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

#top-header {
	display: none;
}

li.menu-phone a,
.et-fixed-header #top-menu li.menu-phone a {
    color: #51A687 !important;
}

.et_mobile_menu {
    border-top: 3px solid #51A687 !important;
}

@media (min-width: 768px) {
	ul.sub-menu {
		width: fit-content !important;
	}

	.wide-menu > ul.sub-menu li a {
		width: 370px !important;
	}

	.menu-about > ul.sub-menu li a {
		width: 260px !important;
	}
}

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

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

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

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

	header#main-header .container {
		height: 120px;
	}

	.et_header_style_left #logo {
		max-width: 100%;
		padding-left: 40px;
		transform: scale(1.5);
	}

	.et_header_style_left #et-top-navigation .mobile_menu_bar {
		display: none !important;
	}
	
	#et-info {
		display: none;
	}
	
	/* Interior */
	body:not(.home) .et_pb_section.et_pb_section_0 {
		padding-top: 0;
	}
}

#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;
}
#top-menu li:focus-within > ul {
    opacity: 1;
    visibility: visible;
}