/*
 Theme Name: MH Magazine lite child
 Theme URI: http://themes4wp.com/product/alpha-store-pro/
 Description: Child theme for MH Magazine lite
 Author: Larry Judd @Codeable
 Template: mh-magazine-lite
 Version: 1.0.0
*/
/* 
//////////////////////////////////////////////////
//  Maximum width of page can be set here.      //
//  Use caution 1480px is the max.              //
//  Default is 1080.                            //
//////////////////////////////////////////////////
----------------------------------------- */
.mh-container {
    max-width: 1080px;
}
 
/* Here we changed the width of the content and sidebar
   mh-content was originally 65.83% 
   mh-sidebar orig 31.66% 
----------------------------------------- */
.mh-content {
    width: 73.1175%;
}
.mh-sidebar {
    width: 24.3725%;
}

@media screen and (min-width: 319px) and (max-width: 761px) {
    body {
        max-width: 98vw; 
    }
    .mh-content {
        width: 98%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .mh-sidebar {
        width: 98%;
        max-width: 100%;
    }
	.mh-site-logo {
		margin-top: 0;
		padding-top: 8px;
	}
}

/* mhchild aside - disclaimer content 
----------------------------------------- */
.mhchild-aside {
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 30px;
    margin-top: 30px;
}
.inner-aside p:not(.lead) {
    font-size: 11px;
    font-style: italic;
}
.inner-aside ul li {
    list-style: inside disc;
    font-size: 11px;
}
.mhchild-inner-one h5 {
    margin-top: 12px;
    border-top: 1px solid #ebebeb;
padding-top: 8px;
}
.mhchild-inner-two h5 {
    margin-top: 12px;
    border-top: 1px solid #ebebeb;
padding-top: 8px;
}
.mhchild-inner-two p.lead {
    font-style: none;
}

/* Navigation colors 
----------------------------------------- */
.mh-main-nav,
.mh-widget-title {
    border-color: #1e73be;
}
.mh-loop-pagination .current,
span.page-numbers.current,
.entry-content a {
    color: #1e73be !important
}
.mh-main-nav .menu > .current_page_item a {
    background: #1e73be;
}

/* input fields that were originally red */
#subscribe-email input,
input {
    border-color: #1e73be;
}
input[type="submit"] {
    background: #1e73be;
}
.mhchild-search {
    max-height: 40px;
    width: 300px;
    float: right;
    display: block;
    position: relative;
    top: -80px;
    margin-bottom: 0;
}
.mhchild-search form input#searchsubmit {
    min-width: 80px;
    width: auto;
    max-width:80px;
    font-size: 15px;
    margin-left: -2px;
    margin-top: 0;
    font-weight: 400;
    padding: 1px 10px 4px 10px;
    position:relative;
    top: 0;
    height:30.25px;
}
.mhchild-search:after {
    content: " ";
    clear:both;
    height: .05%;
    margin: 0 0 -40px 0;
}
@media all and (max-width: 767px) {
    .mhchild-search {
      display: none;
    }
}

#blog_subscription-3.mh-widget.jetpack_subscription_widget {
	margin-top: -1.5em !important;
}


/* custom header elements
------------------------- */
.mh-header-title {font-size: 2.282rem;}
.mh-header-tagline {font-size: 1.2rem; }
.mh-header-text{margin-bottom: 12px;}

.mh-site-logo {
    position: relative;
top: 1em;
    float: left;
    overflow: hidden;
    padding-bottom: 0;
	margin-bottom: 8px;
}
.mh-site-logo a.custom-logo-link img {
    padding-right: 5px;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top:0;
}
.mh-header-text {
    position: relative;
    margin-left: 5px;
    float: right;
    padding-top: 22px;
    min-height: 1px;
}
span.floatright {
	float: right;
	clear: none;
}
@media screen and (max-width: 768px) and (min-width: 501px) {
	.mh-site-logo {
	float: none;
	top: 0;
	overflow: hidden;
	margin-top: 1em;
	}
	.mh-header-text {
	float: none;
	}
	.mh-site-logo a.custom-logo-link img {
	padding-left: 15px;
	padding-top: 0;
	margin-top: 18px;
	}
	.mh-custom-header {
	min-height: 220px; 
	margin-bottom: 8px;
	display: block;
	padding-bottom: 8px;
	margin-top: 8px;
	padding-top: 0;
	}
.mh-main-nav-wrap:before{content:" "; height: 18px; width: 100%; display:block;position:relative; top: 0px;background: #fff;padding-bottom: 1px;clear:left;}
}

/* Removes the featured image redundant on single posts 
------------------------------------------------------- */
article.post.type-post figure.entry-thumbnail {
    display: none;
}
#text-25.mh-widget a img {}

/* ********* HEADER ADS ********  
------------------------------------------------------- */
/* blue bar in header 
--------------------- */
hr.child-hr {
    width: 98%; 
    margin: 2px auto;
    height: 1px;
    background: #1e73be;
    border: 1px solid #1e73be;
    display: block;
}

.ad-header-img { 
   max-height:124px; 
}
.ad-header {
    padding-bottom: 0;
}
.ad-header a,
.ad-header a img { 
	display: block; 
	position:relative; 
	margin: 0 auto;
}
.ad-header img:last-child {
    margin-bottom: 1px;
}

/* ******** For Header ads ******** */
@media all and (max-width: 768px) {
	.ad-header{
		min-height: 192px; 
		width: 100%;
		display: block;
		padding: 1px 5px;
		margin: 0;
	}
} 
 

@media all and (min-width: 300px) and (max-width: 860px) {
  body { -webkit-overflow-scrolling: touch; }
    .mh-container.mh-container-outer {
	width: 100vw; 
	overflow-x: hidden;
	margin-right: -1px; 
    }

#AdHead{margin-bottom:1px;display: block; min-height: 1px;width: 100%;}}


/* Sets content width for mobile 
------------------------------------------------------- */
@media all and (max-width: 540px) {
 	body, 
	.mh-container.mh-container-outer {
	    max-width: 100%;
	    -webkit-box-sizing: border-box;
       	       -moz-box-sizing: border-box;
            	    box-sizing: border-box;
	}
	
    .custom-logo-link img.custom-logo {max-height: 80px!important; max-width: 80px;}
    #AdHead {margin-bottom: 0;}
}

@media all and (min-width: 319px) and (max-width: 600px) {
    .ad-header { height: 19vh;}
    .ad-header-img { 
    	width:auto; 
		max-width: 98%;
		height:auto; 
		margin:0 auto;
		margin-left: -2px;

	}
}
