/* Nav bar styles */
.logo_container {
	text-align: left;
}
#logo {
	max-width: calc(100vw - 50px);
}
#main-header:after {
	content: ' ';
	position: absolute;
	bottom: 0;
	background: #0E76BC;
	height: 50px;
	width: 100%;
	left: 0;
	right: 0;
	z-index: -100;
}
#et-top-navigation {
	text-align: left;
	padding-top: 11px;
	max-width: calc(100% - 180px);
}
.mobile_nav {
	background: none !important;
}
.et_search_outer {
	margin-top: 8px;
}
#mobile_menu {
	transform: translateY(-11px);
}

/* Give the menu more room for text */
ul.sub-menu a {
	padding-left: 0 !important;
}
ul.sub-menu li {
	padding-right: 0 !important;
	width: 100% !important;
}
#top-menu li .menu-item-has-children>a:first-child {
	padding-right: 15px !important;
}
#top-menu li .menu-item-has-children>a:first-child:after {
	right: -5px !important;
}

/* Set the font size of the drop down menus */
#top-menu ul.sub-menu li a {
	font-size: 15px;
}

/* Top Right Header */
#top-right-header {
	position: absolute;
	top: 0;
	color: #0E76BC;
	padding: 24px 0 24px 20px;
	right: 0;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	transition: padding .5s ease-in-out;
}
.et-fixed-header .logo_container {
	height: 0 !important;
}
.et-fixed-header #top-right-header {
	display: none;
}
#top-right-header div {
	padding-left: 20px;
}
#top-right-header .et_pb_button {
	margin-left: 20px;
	color: #fff;
	border: none !important;
	background-color: #0E76BC;
	box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.3);
	border-radius: 5px;
}
.phone-header a {
	font-size: 24px;
	color:#fff;
	line-height: 46px;
}

/* Social Nav */
#social-nav {
	position: absolute;
	top: 98px;
	right: 0;
	display: flex;
	transition: transform .4s ease-in-out;
}
#social-nav a {
	color: #fff;
	padding: 10px;
	font-size: 30px;
	display: block;
}
#social-nav a:hover {
	background: rgb(140, 204, 246);
}
.et-fixed-header #social-nav {
	transform: translateY(-101px);
}

@media (max-width: 1050px) {
	#social-nav{
		display: none;
	}
	#et-top-navigation {
		max-width: 100% !important;
	}
}
@media (max-width: 980px) {
	#main-header {
		padding-top: 10px !important;
		padding-bottom: 9px !important;
	}
	#top-right-header {
		top: -10px;
	}
	#logo {
		transform: translateY(10px) !important;
	}
}
@media (max-width: 900px) {
	#top-right-header .et_pb_button {
		display: none;
	}
}
@media (max-width: 690px) {
	#top-right-header {
		display: none;
	}
	.logo_container {
		text-align: center;
	}
	.et_menu_container {
		width: 100% !important;
	}
	.mobile_nav {
		padding-left: 30px !important;
	}
	.mobile_nav .mobile_menu_bar_toggle {
		right: 30px !important
	}
}

/* Hide Post meta headers */
div.et_post_meta_wrapper {
	display: none;
}

/* Padding on ul and ol elements */
.et_pb_text_inner ul,
.et_pb_text_inner ol,
.et_pb_blurb_description ul,
.et_pb_blurb_description ol {
	padding-left: 30px !important;
}

/* Color of the mobile menu icon */
.mobile_menu_bar:before {
	color: #fff !important;
}
#mobile_menu {
	background-color: rgba(0, 0, 0, 0.8) !important;
}
#et_mobile_nav_menu li a {
	color: #fff !important;
}
