/*
 Theme Name:   Extra Child for HHI
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  HHI Child Theme
 Author:       HHI
 Author URI:   http://example.com
 Template:     Extra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fifteen-child
*/

/* Header styles */

h1 {
  font-size: 30px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 20px; 

}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 16px;
}
h6 {
  font-size: 14px;
}

.et_pb_text H3 {
text-transform: initial !important;
font-family: serif !important;
color: #018e79;
}

#page-container .button, #page-container button, #page-container button[type="submit"], #page-container input[type="submit"], #page-container input[type="reset"], #page-container input[type="button"], .read-more-button, .comment-body .comment_area .comment-content .reply-container .comment-reply-link, .widget_tag_cloud a, .widget_tag_cloud a:visited, .post-nav .nav-links .button, a.read-more-button, a.read-more-button:visited, #footer .widget_tag_cloud a, #footer .widget_tag_cloud a:visited, #footer a.read-more-button, #footer a.read-more-button:visited, #footer .button, #footer button, #footer button[type="submit"], #footer input[type="submit"], #footer input[type="reset"], #footer input[type="button"] { 
color: rgba(255,255,255,1.0) !important; 
}

/* Core Styles for Posts */

.single-post .post-content p span {
color: #000 !important;
}

.post-thumbnail img {
max-width: 400px !important;
margin:0 auto;
}

blockquote {
font-weight: normal !important;
}

.author-box.vcard {
display: none;
visibility: hidden;
}

/* Header */

#main-header .container {
padding: 0 !important;
}

#main-header #et-navigation {

background-color: #969900;
width: 100%;
}

#main-header #et-menu {
width: 90%;
max-width: 1280px;
margin: 0 auto;
}

#et-menu li {
    font-size: 15px;
}

#et-navigation > ul > li {
margin: 0 7px;
}

#et-navigation > ul > li > a {
padding: 15px 0 15px;
}

.et-fixed-header #main-header .logo {
    margin: 0;
}

#et-secondary-nav {
width: 100%;
}

#et-secondary-menu {
width: 55%;
margin:0 auto;
}

#et-secondary-nav #et-secondary-menu {
    background-color: #cff5fe !important;
}

#et-secondary-menu > li > a:hover:before {
    display: none !important;
}

.nav li ul.sub-menu {
    padding: 3px 0;
}

#et-navigation ul.sub-menu li {
    padding: 0px 10px;
}

#et-navigation ul.sub-menu li a {
    padding: 3px 0;
    text-transform: capitalize;
}

#et-navigation > ul > li > a:before {
    content: none !important;  
}

@media (min-width: 1141px) and (max-width: 1400px) {
	#et-navigation > ul > li {
    	margin: 0px 6px;
	}

	#et-menu li {
    	font-size: 12px;
	}

	#et-secondary-menu {
		width: 69%;
	}
}

@media (min-width: 1025px) and (max-width: 1140px) {
	#et-navigation > ul > li {
    	margin: 0px 4px;
	}

	#et-menu li {
    	font-size: 11px;
	}

	#et-secondary-menu {
		width: 78%;
	}
}

@media (max-width: 768px) {
	#et-mobile-navigation {
		margin: 0 auto;
	}

	#main-header .logo {
		width: 100% !important;
		height: 100px;
	}
}

/* Fixes for Modules */

.et_pb_post .entry-featured-image-url {
    max-height: 258px;
    overflow: hidden;
}

.category-tabbed-posts .main-post .header {
max-height: 300px;
overflow: hidden;
}

.et_pb_cta_0 .et_pb_promo_description {
    padding-bottom: 0;
}

.et_pb_cta_0 .et_pb_promo_description h2 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.et_pb_extra_module .posts-list article .post-thumbnail, .et_extra_other_module .posts-list article .post-thumbnail {
width: 100px;
max-height: 100px;
height: 100%;
}

.et_pb_toggle_content  a {
color: #1e69ce !important;
}

.et_pb_toggle_content  a:hover {
text-decoration: underline;
}

.et_pb_newsletter_description {
margin-bottom: 0px;
}

.et_pb_newsletter_description h2 {
font-size: 20px;
}

.et_pb_newsletter_form p {
margin-bottom: 0.9em;
}

/*Post Styles */

.rating-stars {
display: none !important;
}

.post-wrap .note {
    background-color: #F8E890;
    padding: 8px;
}

.posts-carousel-module h1 {
display: none !important;
}


.ds-hover-1 {
    display: inline-block;
	position: relative;
	margin: 0px;
	overflow: hidden;
	background: #000;
}
.ds-hover-1 img {
	display: block;
	max-width: 100%;
	-webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
}
.ds-hover-1:hover img {
	opacity: 0.5;
}
.ds-hover-1::after {
	content: attr(ds-title);
	position: absolute;
	height: 12%;
	color: #fff;
    z-index: 1;
	top: 0;
	width: 90%;
	background: rgba(0,0,0,0.5);
	font-weight: 300;
	font-size: 40px;
	text-transform: uppercase;
	padding: 5%;
	-webkit-transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.3s ease-in-out; 
	-moz-transition: -moz-transform 0.3s ease-in-out; 
	transition: transform 0.3s ease-in-out; 
}
.ds-hover-1::before {
	content: attr(ds-desc);
	position: absolute;
	height: 100%;
	color: #fff;
	z-index: 1;
	top: 27%;
	width: initial;
	background: rgba(255,102,0,0.5);
	font-size: 16px;
	padding: 2% 5% 5% 5%;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.3s ease-in-out; 
	-moz-transition: -moz-transform 0.3s ease-in-out; 
	transition: transform 0.3s ease-in-out; 
}
.ds-hover-1:hover::after,
.ds-hover-1:hover::before {
	-webkit-transform: translateY(0%);
	-moz-transform: translateY(0%);
	transform: translateY(0%);
}

body #page-container a.et_pb_button {
    color: #FFF !important;
}