/*
 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;
}
#main-header {
    box-shadow: none;
}
#main-header #et-top-navigation,
#main-header.et-fixed-header #et-top-navigation {
    padding-top: 70px !important;
}
#main-header #top-menu > li > a,
#main-header.et-fixed-header #top-menu > li > a {
    padding-bottom: 20px;
}
#et-top-navigation {
    padding-left: 0 !important;
}
/* #top-menu li {
    padding-right: 40px;
} */
#main-content .et_pb_text ul li,
#main-content .et_pb_text ol li {
    margin-bottom: 10px;
}
.mobile-header-buttons {
    display: none;
}
#footer-menu a {
	display: inline-block;
	padding: 0 20px;
	border-right: 2px solid #000;
}
#footer-menu a:last-child {
  border-right: 0;
}

/* Responsive */
@media (max-width:1180px) {
	
}
@media screen and (max-width: 980px) {
    #page-container {
        padding-top: 0 !important;
    }
    #header-social-icons {
        display: none;
    }
    .mobile_menu_bar:before,
    .logo_helper {
        display: none !important;
    }
    .mobile-header-buttons {
        position: relative;
    }
    #main-header {
        position: relative !important;
        top: 10px !important;
        background: #fff !important;
        padding-top: 0px;
    }
/*     body:not(.logged-in) #main-header.et-fixed-header,
    #main-header.et-fixed-header {
        position: fixed !important;
        top: 55px !important;
        z-index: 999999;
        padding-top: 0px;
    } */
/* 	body:not(.logged-in) #main-header.et-fixed-header .logo_container,
	#main-header.et-fixed-header .logo_container {
		display: none;
	} */
    #main-header > .container {
        width: 100%;
    }
    #main-header .logo_container {
        position: relative;
        padding: 15px 0;
    }
    #main-header #logo {
        max-width: 70%;
        display: block;
        margin: 0 auto;
        padding: 0;
    }
    #main-header #et-top-navigation, #main-header.et-fixed-header #et-top-navigation {
        padding-top: 0 !important;
    }
    .mobile_menu_bar {
        padding-bottom: 0 !important;
    }
    .mobile-header-buttons {
        background: #426987;
        position: fixed;
        width: 100%;
        padding: 10px 0;
        top: 0;
        z-index: 99999999;
		display: flex;
		justify-content: space-around;
    }
    a.mobile-btn:before {
        display: inline-block !important;
        width: 32%;
        text-align: center;
        position: relative;
        top: 0;
        left: 0;
        font-size: 25px;
        content: "\61";
        color: #fff;
        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: "\e081";
    }
    .mobile-btn.menu:before {
        font-size: 30px;
    }
    .navigation-phone.menu-item {
        display: none;
    }
    #mobile_menu.et_mobile_menu {
        border-top: 3px solid #013567;
		height: auto !important;
		max-height: 450px;
    	overflow-y: scroll;
    }
	.mobile-close-menu {
		display: block !important;
	}
	.mobile-close-menu {
		text-align: right;
	}
	.mobile-close-menu a {
		font-weight: 900;
	}
	.mobile-close-menu a:before {
		content: '\4d';
		font-family: ETModules;
		margin-right: 10px;
	}
	#et-top-navigation {
		position: initial;
    	transform: none;
	}
	#mobile_menu {
		background: #fff !important;
	}
	#mobile_menu li a {
		color: #000;
	}
}

@media (max-width:767px) {
	#footer-menu a {
		border-right: 0;
		display: block;
		padding-bottom: 5px;
	}
	
	header#main-header,
	#main-header.et-fixed-header {
		position: fixed !important;
		top: 50px !important;
	}

	div#main-content {
		padding-top: 100px;
	}
	
	header#main-header ul.et-social-icons {
		display: none;
	}
	
	body:not(.home) .et_pb_section_0 {
		padding-top: 30px;
	}
}

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


/* Header */
/* FIX SUB-MENU SPACING */
ul#top-menu li > ul.sub-menu {
	width: 320px;
}

ul#top-menu li > ul.sub-menu li a {
    font-weight: 400;
    line-height: 1.4em;
    width: 300px;
}

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

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

header#main-header ul.et-social-icons li a {
    font-size: 20px;
    background: #426987;
    color: white;
    padding: 10px 8px 6px 8px;
    border-radius: 5px;
    position: relative; 
    top: -12px;
}