/*
Theme Name: MDHearingAid Theme
Theme URI: https://www.mdhearingaid.com
Version: 1.4
Description: MDHearingAid child theme of the Beaver Builder Theme version 1.5.4.
Author: MDHearingAid
Author URI: https://www.mdhearingaid.com
Text Domain: mdha-theme
Template: bb-theme
*/

/* Add your custom styles here... */

/* @group General Styles */

button, 
input[type=button], input[type=submit] {
	background: #f3a435;
	color: #ffffff;
	padding: 12px 18px;
	border-color: #FFFFFF;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-o-transition: all .3s linear;
	-ms-transition: all .3s linear;
	transition: all .3s linear;
}
button:hover, 
input[type=button]:hover, input[type=submit]:hover {
	background: #FFFFFF;
	color: #f3a435;
	border-color: #f3a435;
}

/* @end */

/* @group Header */

/* Top bar */
.fl-page-bar-container {
	padding-bottom: 0px;
	padding-top: 0px;
}

/* Sticky Sub Menu */
.admin-bar .is-sticky #sub-menu-block {
	top: 32px;
	padding-top: 32px;
}
#sticky-wrapper .fl-page-header {
	z-index: 1200;
	border-bottom: 1px solid rgba(128, 128, 128, 0.13);
}

/* @end */

/* @group sub-menu-block */

.sub-menu-health {
	margin: 0;
	padding: 4px 20px;
	background-color: #2d2d2d;
	background-color: rgba(45, 45, 45, 1);
}
#sub-menu-block.sub-menu-health .container {
	max-width: 1100px;
}
.sub-menu-health .custom-sub-menu ul {
	font-size: 14px;
	text-transform: uppercase;
}
.custom-sub-menu {
	margin: 20px 0;
}
.custom-sub-menu ul, .custom-sub-menu li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.custom-sub-menu li {
	position: relative;
}
.custom-sub-menu ul.menu > li {
	float: left;
}
.custom-sub-menu a {
	display: block;
	padding: 4px 12px;
	line-height: 1;
	text-decoration: none;
	color: #FFFFFF;
}
.custom-sub-menu .sub-menu li {
	display: list-item;
	
}
.custom-sub-menu .sub-menu a {
	display: block;
	position: relative;
}
.custom-sub-menu a:hover {
	color: #ffaa00;
}
.custom-sub-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	visibility: hidden;
	opacity: 0;
	min-width: 220px;
	text-align: left;
	z-index: 10;
}
.custom-sub-menu li.menu-item-has-children:hover > .sub-menu {
	display: block;
	visibility: visible;
	opacity: 1;
}


#sub-menu-block ul.sub-menu {
	background: none;
	color: #FFFFFF;
	font-size: 14px;
	list-style: none;
	position: absolute;
	padding: 24px 0 0;
	z-index: 1000;
	border-top: none;
	/*-moz-box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);*/
}
#sub-menu-block ul.sub-menu li {
	background: #333;
}
#sub-menu-block ul.sub-menu li a {
	
	clear: none;
	margin: 0 10px;
	padding: 10px 15px;
	color: #FFFFFF;
	display: block;
	font-weight: 400;
	line-height: 20px;
}
#sub-menu-block ul.sub-menu li a:hover, 
#sub-menu-block ul.sub-menu li a:focus {
	color: #e9a107;
	text-decoration: none;
}

#sub-menu-block .current-menu-parent a,
#sub-menu-block .current-menu-item a {
	color: #ffaa00;
}

/* @end */



/* @group ** Archive ** */

.fl-archive .fl-archive-title {
	font-size: 32px;
	color: #515151;
	background: #FFFFFF;
	padding: 10px 20px;
	margin-top: 0;
}
a.fl-post-more-link {
	background: #ffffff;
	border-color: #888888;
	border-width: 1px;
	border-style: solid;
	padding: 5px 10px;
	color: #888888;
	font-weight: 500;
	font-size: 14px;
	text-transform: uppercase;
	cursor: pointer;
}
a.fl-post-more-link:hover {
	border-color: #f29313;
	color: #f29313;
	text-decoration: none;
}

/* @end */


/* @group ** Blog ** */

.fl-content-left {
	border-right: none;
	padding-left: 0;
	padding-right: 20px;
}
.blog .fl-post {
	border-bottom: none;
}
h2.fl-post-title {
	font-size: 24px;
	line-height: 1.1;
	letter-spacing: 0px;
	margin-top: 0px;
	margin-bottom: 6px;
}
h2.fl-post-title a {
	
}
/* Single Post */
#blog-header, 
#blog-header .header-content {
	height: 380px;
}
.bg-overlay .fl-row-content-wrap {
	position: relative;
	background-image: url(/wp-content/themes/bb-theme-child/img/gray-bkgd.png);
	background-repeat: repeat;
	background-position: center center;
	background-attachment: scroll;
	background-size: cover;
}
.bg-overlay .fl-row-content-wrap:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	background-color: #000000;
	background-color: rgba(0, 0, 0, 0.4);
}
#blog-header .header-content {
	position: relative;
	z-index: 1;
}

#blog-header header {
	position: absolute;
	bottom: 0;
}

#blog-header .fl-post-header,
#blog-header .fl-post-title {
	color: #FFFFFF;
}

/* @end */

/* @group ** Sidebar ** */

.fl-sidebar {
	border-style: solid;
	border-top-width: 8px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-color: #e5e5e5;
	background: #FFFFFF;
	padding-bottom: 10px;
}
.fl-sidebar-right {
	padding-left: 20px;
}

h4.fl-widget-title {
	font-size: 22px;
	font-weight: 500;
}
.fl-widget li {
	line-height: 1.3;
	padding: 4px 0;
}


/* @end */




@media (min-width: 768px) {

/* Nav */
	.fl-page-nav ul.sub-menu {
		background: #333;
		color: #FFFFFF;
		top: 100%;
		margin-top: 11px;
		border-top: none;
		-moz-box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
		-webkit-box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
		box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
	}
	.fl-page-nav ul.sub-menu li a {
		color: #FFFFFF;
	}

}

@media (max-width: 992px) {
	
	.fl-content-left {
		padding-left: 20px;
	}
/* Sidebar */
	.blog .fl-sidebar.fl-sidebar-display-always {
		float: left;
		margin-left: 30px;
		margin-right: 30px;
	}
	
}

/* @group Plugins */

/* Recent Post Widget */
.fl-widget .rpwwt-post-date {
	color: #888888;
	font-size: 12px;
	padding-top: 4px;
}


/* @end */