/*****
Theme Name: Boys Life 2015 Theme
Theme URI: http://www.boyslife.org
Description: The 2015 template for Boys Life magazine. It is a child theme of MH Magazine WordPress theme.
Author: Bryan Wursten and MH Themes
Author URI: http://www.boyslife.org/
Template: mh-magazine
Version: 1.0.0
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*****/

/***** STRUCTURE  *****/

.header-wrap {
	margin:auto;
	width: 1060px;
}

.container {
	margin:0 auto;
	width: 100%;
	background-color: #2a2a2a;
}

.wrapper {
	padding: 0.625em 0 0 0;
	background-image: linear-gradient(#2a2a2a, #fff 95%);
}

.page-id-159384 .page-title, .page-id-154462 .page-title, .page-id-152374 .page-title, .page-id-152376 .page-title, .page-id-152380 .page-title, .page-id-152382 .page-title, .page-id-152384 .page-title, .page-id-152894 .page-title, .page-id-152941 .page-title, .page-id-153172 .page-title, .page-id-164908 .page-title, .page-id-178706 .page-title {
		display:none;
}

.main {
	float:none;
	margin: 0 auto;
	background-color: #fff;
	padding: 20px;
	border-radius:5px;
}

.main:after {
	clear:both;
	content: ".";
	display: block;
	height: 0;
	line-height: 0;
	margin: 0;
	padding: 0;
	visibility: hidden;
}

.hp .main, .mh-two-sb .main, .mh-large .content {
    width: 1060px;
}

#bl_custom_posts-31 {
	display:none;
}

.content, .mh-two-sb .content, .mh-large .hp .content, .mh-no-sb .hp .content {
    width: 700px;
}

.single-format-gallery .content, .page-template-page-full .content, .page-template-page-adfree .content {
	width: 100%;
}

.single-format-gallery .sidebar, .page-template-page-full .sidebar {
	display:none;
}

.sidebar, .hp-sidebar {
	width:340px;
}

.sb-right {
    margin-left: 20px;
	float:right;
}

.sb-widget {
	margin-bottom: 20px;
	border-radius:15px;
}

/***** TYPOGRAPHY  *****/

h1, h2, h3, h4, h5, h6 {
	color:inherit;
    font-family: 'Oswald', sans-serif;
    font-weight: normal;
}

.entry h2, h3, h4, h5, h6 {
	font-size: 1.5rem;
}

.hp a, .hp a:visited, .cp-widget a {
	color: #fff;
	-webkit-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
    -ms-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
}

.bl-widget-white .hp a, .bl-widget-white .cp-widget a, .bl-widget-ivory .hp a, .bl-widget-ivory .cp-widget a, .error404 .cp-widget a {
	color: #2a2a2a;
}

a:hover {
	text-decoration: none;
}

.hp a:hover, .bl-more-link a:hover, .sl-title:hover, .cp-widget a:hover {
	color: rgba(255, 255, 255, 0.5);
}

a[href^="tel:"]:before {
    content: "\260E";
    margin-right: 0.25em;
}

.bl-widget-white .hp a:hover, .bl-widget-white .bl-more-link a:hover, .bl-widget-white .cp-widget a:hover, .bl-widget-ivory .hp a:hover, .bl-widget-ivory .bl-more-link a:hover, .bl-widget-ivory .cp-widget a:hover {
	color: rgba(0, 0, 0, 0.5);
}

.cp-xl-title {
	font-weight: normal;
}

.cp-widget-title, .cp-widget-title a {
	font-family: 'Oswald', sans-serif;
	font-size: 20px;
	font-size: 1.25rem;
	display:flex;
	flex-direction:column;
	justify-content:center;
	height: 90px;
	padding-top: 10px;
}


h4.widget-title, .sl-title {
	font-size: 40px;
	font-size: 2.5rem;
	margin-bottom:0.3rem;
	color:#fff;
}

.error404 h4.widget-title {
	color:#2a2a2a;
}

.bl-widget-white h4.widget-title, .bl-widget-ivory h4.widget-title {
	color:#2a2a2a;
}

.bl-more-link {
	padding-top: 10px;
}

.bl-more-link a {
	font-family: 'Oswald', sans-serif;
	color: #fff;
}

.spotlight .mh-excerpt {
	color: #fff;
}

.hp-sidebar .mh-excerpt, .cp-widget .mh-excerpt {
	margin-top: 0.3rem;
}

.main-nav li a {
	font-family: 'oswald', 'sans-serif';
	font-size: 1.0rem;
}

.header-widget h4 {
	font-family: 'oswald', 'sans-serif';
	font-size: 0.95em;
	text-transform:uppercase;
	color: #2a2a2a;
	left:75px;
	position:absolute;
	top:35px;
	-ms-transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);	
	transform: rotate(-90deg);				
}

.entry-title h1, .post-header h1, h1.page-title-layout2 {
	font-size: 2.5rem;
}

.gallery-caption {
	color:#000;
	display: initial;
}

.parent-pageid-141306 h1 {
display:none;
}

/***** HEADER  *****/

.leaderboard-ad {
	text-align: center;
}

.blog-banner-ad {
	margin:auto;
	width:728px;
}

.header-wrap, .main-nav {
	background-color: #2a2a2a;
}

.main-nav {
	margin-left: 217px;
	padding-top: 15px;
}

.main-nav li {
	border-left: 1px solid #fff;
}

.main-nav li:hover {
	background: #ffffff;
}

.main-nav li:hover a {
	color: #f87116;
}

.main-nav ul li:hover > ul {
	background: #e9702b;
	text-transform:none;
}

.main-nav li:hover > ul a {
	color: #ffffff;
}

.main-nav li:hover > ul a:hover {
	color: #f87116;
}

.logo-wrap {
    float: left;
    margin: 15px 20px 10px;
    overflow: hidden;
    position: relative;
	width:177px;
}

.news-ticker {
	background: #f7f7f7;
	border-bottom: none;
}

.ticker-title {
	background: none repeat scroll 0 0 #f87116;
}

.ticker-content {
	width:65%;
	float:left;
}

.hp-search #searchform {
	background: url("img/search.png") no-repeat scroll right center / 20px auto #fdb216;
	border: none;
	overflow: hidden;
	padding: 0.17rem;
}

.hp-search #searchform #q {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
	border: medium none;
	color: #2a2a2a;
	font-size: 0.75rem;
	width: 85%;
}

#ticker .meta {
	font-style: normal;
}

.ticker-content ul li {
	text-overflow: ellipsis;
}

.header-widget {
	position:relative;
}


/***** WIDGETS  *****/

.home-3 .bl-color, .home-4 .bl-color, .home-8 .bl-color, .home-9 .bl-color, .home-10 .bl-color {
	min-height:730px;
}

.spotlight {
    background: #f87116;
}

.spotlight img {
	width: 100%;
}

.sl-caption {
	display:none;
}

.textwidget p {
	margin-bottom: 1.25rem;
}

h4.carousel-title-layout2 {
	margin-left: 15px;
	color: #838883;
}

.carousel-layout2 .caption {
    display: none;
}

.carousel-layout2 .carousel-item-title {
	text-align: center;
	color: #666666;
	padding-top: 5px;
}

.mh-social-widget li {
    float: left;
    margin: 0 8px 8px 0;
}

.sb-right {
	margin-bottom:10px;
}

.flexslider .slides img {
	border-radius:5px;
}

.single-format-gallery .cp-widget li {
    float: left;
    width: 50%;
}

#searchform {
	background-color: #FDB216;
	border: none;
}

#search-3, #search-4 {
	background-color: #FDB216;
	padding: 10px;
}

#wpcom_instagram_widget-5 {
	background-color: #2a2a2a;
	padding: 0 20px 20px 20px;
}

#wpcom_instagram_widget-5 h4, #text-59 h4 {
	font-size: 35px;
	font-size: 2.4rem;
}

#text-59 {
	background-color: #2a2a2a;
	padding: 20px 20px 0;
	margin-top: 10px;
	margin-bottom: 0;
	border-radius: 15px 15px 0 0;
}

#block-7 {
	background-color: #2a2a2a;
	padding: 10px;
	margin-bottom: 20px;
	border-radius: 0 0 15px 15px;
}

#text-48, #mh_custom_pages-2 {
	background-color: #0064A8;
	margin-bottom: 0;
	padding-bottom: 20px;
}

#custom_html-6, #custom_html-22 {
	background-color: #0064A8;
	margin-bottom: 20px;
	padding: 20px;
}

#custom_html-26 {
	background-color: #fa1e44;
	margin-bottom: 20px;
	padding: 20px;
}

#acm_ad_zones-3, #acm_ad_zones-4, #acm_ad_zones-5, #acm_ad_zones-8, #acm_ad_zones-9, #custom_html-15, #custom_html-16, #custom_html-17, #custom_html-18, #custom_html-23 {
	background-color: #838883;
	padding-bottom: 20px;
}

#text-49 {
	background-color: #fa1e44;
	margin-top: 10px;	
	padding: 20px;
}

#text-23 {
	background-color: #fff;
	padding: 20px;
}

#text-23 h4, #text-23 .bl-more-link a {
	color:#000;
}

#text-23 .bl-more-link a:hover {
	color:#e64946;
}

#text-25 {
	background-color: #87A100;
	padding: 20px;
	color: #fff;
}

#text-25 a {
	color: #fff;
}

#text-25 a:hover {
	color: rgba(0, 0, 0, 0.5);
}

#acm_ad_zones-3 h4, #acm_ad_zones-4 h4, #acm_ad_zones-5 h4, #acm_ad_zones-8 h4, #acm_ad_zones-9 h4, #custom_html-15 h4, #custom_html-16 h4, #custom_html-17 h4, #custom_html-18 h4, #custom_html-23 h4 {
	text-align: center;
	font-size: 1em;
	margin-bottom: 0;
	margin-top: 10px;
	text-transform:uppercase;
}

#acm-ad-tag-BL-HomepageHalfpage, #acm-ad-tag-SidebarInsidepages300x250, #acm-ad-tag-SecondSidebarInsidepages300x250, #acm-ad-tag-BL-Games-300x250-TopRectangle {
	margin:auto;
	width:300px;
}

#acm-ad-tag-HeaderHomepage728x90, #acm-ad-tag-HeaderInsidepages728x90, #acm-ad-tag-BL-Games-728x90-Header {
	margin:auto;
	width:160px;
}

#mh_custom_pages-2, #text-48 {
	padding: 20px;
	border-top: solid 10px #ffffff;
}

.wt-layout1 .widget-title {
	border-bottom: none;
	padding-bottom: none:
}

.error404 .hp-sidebar {
	width:100%;
}

/***** WIDGET COLORS: Selected by dropdown in BL Custom Posts and BL RSS Posts widgets  *****/


.bl-widget-white {
	padding:20px;
	background-color: #ffffff;
}

.bl-widget-black {
	padding:20px;
	background-color: #2a2a2a;
}

.bl-widget-light_blue, .category-bl-workshop .bl-cat-header {
	padding:20px;
	background-color: #1102F5;
}

.bl-widget-orange, .page-id-158969 .spotlight {
	padding:20px;
	background-color: #F87116;
}

.bl-widget-green, .category-online-games .bl-cat-header {
	padding:20px;
	background-color: #77c122;
}

.bl-widget-ivory {
	padding:20px;
	background-color: #E8E2D6;
}

.bl-widget-gray {
	padding:20px;
	background-color: #838883;
}

.bl-widget-brown, .category-write-a-funny-caption .bl-cat-header {
	padding:20px;
	background-color: #FA1E44;
}

.bl-widget-yellow {
	padding:20px;
	background-color: #FDB216;
}

.bl-widget-blue, .page-id-158969 .bl-cat-header, .category-projects .bl-cat-header {
	padding:20px;
	background-color: #005FAE;
}

.bl-widget-purple, .category-game-reviews .bl-cat-header {
	padding:20px;
	background-color: #7B3DBA;
}

#custom_html-25 {
	padding:20px 0 0 20px;
	background-color: #7B3DBA;
}

.category-podask .bl-cat-header {
	background-color: #77c122;
}

.donate-background {
	background-color:#003f87;
  	text-align:center;
	padding:10px;
	color:#ffffff;
}

.donate-background h4 {
	margin-bottom: 10px;
	color:#ffffff;
}

a:link.donate-button, a:visited.donate-button {
  	background-color: #0170EB;
  	border: none;
  	color: #ffffff;
	border-radius: 10px;
  	padding: 10px;
  	text-align: center;
  	text-decoration: none;
  	display: inline-block;
  	font-size: 16px;
	margin:10px;
}

a.donate-button:hover {
  	opacity: 0.6;
	color: #ffffff;
}

/***** SMALL THUMBNAILS ON HOMEPAGE: Makes them round and spin *****/

.cp-thumb img {
	width:100px;
	height:100px;
	border-radius:50%;
	margin-top:10px;
}

.cp-thumb:hover img{
-webkit-animation: spin 1s infinite linear;
-moz-animation: spin 1s infinite linear;
-o-animation: spin 1s infinite linear;
-ms-animation: spin 1s infinite linear;
}

@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg);}
100% { -webkit-transform: rotate(360deg);}
}
@-moz-keyframes spin {
0% { -moz-transform: rotate(0deg);}
100% { -moz-transform: rotate(360deg);}
}
@-o-keyframes spin {
0% { -o-transform: rotate(0deg);}
100% { -o-transform: rotate(360deg);}
}
@-ms-keyframes spin {
0% { -ms-transform: rotate(0deg);}
100% { -ms-transform: rotate(360deg);}
}

/***** FOOTER *****/

.footer-nav {
	background: none repeat scroll 0 0 #f87116;
}

.wt-layout1 .footer-widget-title {
	border-bottom: 3px solid #fff;
}

.copyright-wrap {
	margin: 0 auto -5px;
	width: 100%;
}

.copyright {
	display:none;
}

.bl_copyright {
    font-size: 11px;
    font-size: 0.6875rem;
    padding: 2px 5px;
    padding: 0.125rem 0.3125rem;
    color: #999;
}

.bl_copyright a {
    color: #999;
}

/***** STYLES FOR CATEGORY PAGES *****/

.archive .main {
	margin: 0 auto;
	width: 1060px;
}

.archive .loop-layout2 .meta {
	background: none repeat scroll 0 0 #345777;
}

.mh-excerpt img {
	display: none;
}

.bl-cat-header {
	background-color: #87a100;
	padding:20px;
	margin-bottom:1.875rem;
}

.page-id-180815 .bl-cat-header {
	background-color: #005fae;
}

.archive .breadcrumb, .archive .breadcrumb a, .error404 .breadcrumb, .error404 .breadcrumb a, .page-template-page-section .breadcrumb, .page-template-page-section .breadcrumb a {
	color: rgba(255,255,255,0.50);
	margin-bottom:0;	
}

.cat-desc {
	background:none;
	border-bottom:none;
	border-top:none;
	color: #fff;
	float: right;
	margin-bottom: 0;
	padding: 0;
	width:40%;
}

.entry .loop-title a {
    color: #000;
}

.cat-desc a {
	color: #fff;
	text-decoration: underline;
}

.cat-desc a:hover, .entry .loop-title a:hover {
	color: #e64946;
	text-decoration: none;
}

.archive h1.page-title-layout2, .error404 h1.page-title-layout2, .page-template-page-section h1.page-title-layout2 {
	color: #fff;
	font-size: 3.5rem;
	float:left;
	margin-bottom:0;
	padding-right: 20px;
}

.page-numbers:hover, .current, a:hover .pagelink {
	background-color: #E9702B;
}

.category-jokes .loop-thumb img {
	display: none;
}

.page-id-141373 .entry-title h1, .page-id-141322 .entry-title h1, .page-id-141394 .entry-title h1, .page-id-133518 .entry-title h1, .parent-pageid-136758 .page-title {
	display: none;
}

.category-games-guru .textwidget ul{
	list-style-position: inside;
	list-style-type: initial;
} 

/***** STYLES FOR SINGLE PAGES *****/

.single .main, .page .main, .error404 .main {
	margin: 0 auto;
	padding:20px;
	width: 1060px;
}

/***** STYLES FOR CONTENT *****/

.QuizQuestion-feedback-header-state {
	display:none !important;
}

.post-145676 .loop-layout2 {
	background-color: #ccedf6;
	border-bottom: medium none !important;
	padding: 20px 10px;
}

.post-145676 .loop-content::before, .post-145676 .post-header::before, .post-150955 .loop-content::before, .post-50955 .post-header::before {
	content: "SPONSORED POST";
	font-size: .85rem;
	font-weight: normal;
}

.page-id-162627 .main {
	background-color: #374046;
	color: #edeff0;
	font-family: courier new, courier;
}

.page-id-162627 h1 {
	font-family: courier new, courier;
}

.page-id-164651 .main {
	background-color: #7B3DBA;
	color: #ffffff;
}

.page-id-164908 .main {
	background-color: #21becf;
	color: #000;
	font-size:16px;
}

.page-id-164908 .breadcrumb {
	display:none;
}

.post-header .post-meta {
	border-top:none;
	border-bottom:none;
}

.category-mobile-games .jp-relatedposts, .category-online-games .jp-relatedposts, .category-quizzes .jp-relatedposts, .category-write-a-funny-caption .jp-relatedposts, .category-podask .jp-relatedposts {
	display:none !important;
}

.scouting_content {
    position: relative;
    padding-bottom: 500%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.scouting_content iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

.scouting_content ol {
		padding:5px 0 5px 25px;
}

.scouting_content .quote {
	background:none repeat scroll 0 0 #F1F0F0;
	float:right;
	margin:5px;
	padding:10px;
	width:250px;
}

.mblist {
	width: 100%;
	margin: 0 auto;
}

.mblist .title {
	display:inline-block;
}

.mblist .listing-item {
	width: 150px;
	clear: none !important;
	float: left;
	text-align: center;
	line-height: normal;
	height: 175px;
}

.mblist .image, .mblist .alignleft {
	margin-bottom: none;
	margin: 0;
}

.videolist {
	width: 100%;
	margin: 0 auto;
	display: inline-block;
}

.videolist .listing-item {
	width: 33%;
  box-sizing: border-box;
	clear: none !important;
	float: left;
	text-align: center;
	line-height: normal;
	min-height: 250px;
	padding:10px;
}

.videolist img, .videolist .alignleft {
	margin-bottom: none;
	margin: 0;
	width: 100%;
}

div.interior_left .single_item .scouting_content img {
		float:right;
}

.entry table, td {
	border-left:none;
	border-top: none;
	border-bottom:none;
	border-right:none;
}

.category-games-guru blockquote {
	box-shadow: none;
  margin: 0 0 0 2.5rem;
	font-style: normal;
	color: initial;
}

.category-programming blockquote {
	border-left: none;
	border-right: none;
	box-shadow: none;
  margin: 0 0 0 2.5rem;
	font-style: normal;
	color: initial;
	padding: none;
}

.scouting-home-rss ul {
	margin: 0 !important;
	list-style: none;
}

.scouting-home-rss li {
	margin: 0 0 20px 0;
}

.scouting-home-rss a {
	font-size: 1.5rem;
	font-family: 'Oswald',sans-serif;
	line-height: 1.3;
	font-weight: 400;
	color: #000 !important;
}

.scouting-home-rss a:hover {
	color: #e64946 !important;
	text-decoration: none;
}

#scout-law span, #scout-law2 span {
    cursor: pointer;
    transition: color 0.2s ease;
}

#scout-law span.hidden, #scout-law2 span.hidden {
    color: transparent;
    border-bottom: 1px solid white;
}

#reset-button, #reset-button2 {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #E9E9E4;
    color: #003366;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/***** STYLES FOR JETPACK RELATED POSTS *****/

div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post {
    opacity: 1;
    padding-right: 10px;
}

div#jp-relatedposts h3.jp-relatedposts-headline em::before {
    border-top: 1px solid rgba(0, 0, 0, 1);
    content: "";
    display: block;
    min-width: 30px;
}

div#jp-relatedposts h3.jp-relatedposts-headline {
    font-family: oswald,sans-serif;
    font-size: 1.125rem;
    width: 100%;
}

div#jp-relatedposts h3.jp-relatedposts-headline em {
    font-style: normal;
    font-weight: normal;
}

 /* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  transform: rotateY(180deg);
} 


/***** STYLES TO SHOW ALTERNATIVE CONTENT FOR MOBILE *****/

.mobile-only {
	display:none;
}

.desktop-only {
	display:inherit;
}

@media only screen
and (max-device-width : 1024px) {
  .mobile-only {
    display: inherit;
  }
  .desktop-only {
	  display:none;
  }
}

/***** STYLES FOR GOOGLE SEARCH RESULTS *****/

.gsc-control-cse table {
	border-collapse: initial;
	margin-bottom: initial;
}

.gsc-control-cse td {
	padding: initial;
}

.gcsc-branding-clickable img {
	vertical-align: text-bottom;
	width: 46px;
}

.gs-title, .gs-title b {
	text-decoration: none !important;
	height: 1.4em !important;
	font-family: 'oswald', sans-serif;
	font-weight: 400;
	font-size: 1.25rem !important;
	color: #000 !important;
}

.gsc-selected-option-container {
	min-width: 60px !important;
}

.gs-image-box.gs-web-image-box.gs-web-image-box-portrait {
    width: 110px !important;
    height: 75px !important;
    overflow: hidden;
}

.gs-web-image-box-portrait img.gs-image {
    max-width: 100px !important;
    max-height: 75px !important;
    width: 100px !important;
}

.gs-web-image-box-landscape img.gs-image {
    max-width: 100px !important;
    max-height: 75px !important;
    width: 100px !important;
}

.gs-image-box.gs-web-image-box.gs-web-image-box-landscape {
    width: 110px !important;
    height: 75px !important;
		overflow: hidden;
}

.gs-result .gs-snippet {
    font-size: 14px !important;
}

.cse .gsc-search-button input.gsc-search-button-v2, input.gsc-search-button-v2 {
    margin-top: 5px !important;
}



@media screen and (max-width: 620px) {

					.gs-title, .gs-title b {
						text-decoration: none !important;
						height: 1.4em !important;
						font-family: inherit;
						font-weight: 800 !important;
						font-size: 14px !important;
						color: #000 !important;
					}

			
					.gs-image-box.gs-web-image-box.gs-web-image-box-portrait {
							display: none;
					}
					
					.gs-web-image-box-portrait img.gs-image {
							display: none;
					}
					
					.gs-web-image-box-landscape img.gs-image {
							display: none;
					}
					
					.gs-image-box.gs-web-image-box.gs-web-image-box-landscape {
							display: none;
					}
					
					.gs-result .gs-snippet {
					    font-size: 12px !important;
					}



}


/***** STYLES FOR DESKTOP SCREENS *****/

@media screen and (max-width: 1340px) {

	.mh-mobile .hp .content {
    	width: 700px;
	}
	
	#mh-mobile .container {
		width: 100%;
	}

	#mh-mobile .copyright-wrap {
		width: 100%;
	}

}

/***** STYLES FOR TABLET SIZES *****/

@media screen and (max-width: 1060px) {

	.main {
		padding: 10px 0 0 0;
	}

	.single .main, .page-template .main, .page-template-default .main, .error404 .main {
		width: 748px;
	}

	.hp .main, .mh-mobile .hp .content, .archive .main {
		width: 768px;
		padding: 10px 0 0 0;
	}

	.mh-mobile .hp-sidebar-right {
    	margin-left: 10px;
    }
	

	.mh-mobile .hp-sidebar-left, .mh-mobile .hp-sidebar-right {
    	width: 379px;
    }

	.error404 .hp-sidebar-left, .error404 .hp-sidebar-right {
		width:100%;
	}

	.home-10 .bl-color {
		min-height:0px;
	}	

	.logo-wrap {
		text-align:center;
		float:none;
		margin:auto;
		padding-top:10px;
	}
	
	.header-wrap {
		margin:auto;
		width: 768px;
	}

	.main-nav {
		padding-top:5px;
		margin:auto;
		width:768px;
	}

	.ticker-content {
	width:55%;
	}
	
	.header-widget h4  {
		left: -30px;
	}
	
}

@media screen and (max-width: 767px) {

	.single .main, .page-template .main, .page-template-default .main, .error404 .main {
		width: 580px;
	}

	.hp .main, .mh-mobile .hp .content, .archive .main, .single .main {
		width: 600px;
	}

	.mh-mobile .hp-sidebar-left, .mh-mobile .hp-sidebar-right {
    	width: 295px;
    }
	
.sb-widget {
	border-radius:initial;
}
	
	.logo-wrap {
		float:left;
    	margin: 0px 10px 5px;
		padding-top:10px;
	}
	
	.header-wrap {
		margin:auto;
		width: initial;
	}

	.main-nav {
		margin-left:217px;
		padding-top: 20px;
		width: initial;
	}
	
	.ticker-content {
	width:40%;
	}
	
	.wrapper {
		background-image: none;
		background-color: #fff;
	}

	.archive h1.page-title-layout2, .error404 h1.page-title-layout2, .page-template-page-section h1.page-title-layout2 {
font-size:2.5rem;	
float:none;
	}

	.cat-desc {
		float: none;
		width: auto;
	}
	
	h1.page-title-layout2 {
		float:none;
	}

.header-widget h4 {
	display:none;
}

}

/***** STYLE FOR MOBILE AD SIZE *****/

@media screen and (max-width: 750px) {

.blog-banner-ad {
	margin:auto;
	width:320px;
}

.header-widget {
	margin:auto;
}

.header-widget .sb-widget {
	margin-bottom: 0px;
}

}

/***** STYLES FOR PHONE SIZES *****/

@media screen and (max-width: 620px) {

	.single .main, .page-template .main, .page-template-default .main, .error404 .main {
		width: 380px;
		padding:0px;
	}

	.hp .main, .mh-mobile .hp .content, .archive .main, .single .main {
		width: 400px;
	}

	.mh-mobile .hp-sidebar-left, .mh-mobile .hp-sidebar-right {
    	width: 100%;
		margin:0;
    }
	
	.ticker-title {
		display:none;
	}

	.ticker-content {
		display: none;
	}

	.hp-search #searchform {
		width:99%;
	}	

}


@media screen and (max-width: 420px) {

	#mh-mobile .header-widget {
		width: 100%;
	}

	.single .main, .page-template .main, .page-template-default .main, .error404 .main {
		width: 94%;
	}

	.hp .main, .mh-mobile .hp .content, .archive .main {
		width: 100%;
	}

#bl_custom_posts-31 {
	display:initial;
}

#bl_custom_posts-31 .bl-widget-orange {
	background:#f87116;
	margin-bottom:20px;
}

#bl_custom_posts-20, #bl_custom_posts-8 {
	margin-top:20px;
}

#mh_carousel_hp-2 {
	display:none;
}

#mh_spotlight_hp-2, #custom_html-8 {
	margin-bottom: 0;
	border-bottom: 1px solid #ebebeb;
}
	
	.logo-wrap {
		text-align:center;
		float:none;
		margin:auto;
		padding-top:10px;
	}
	
	.main-nav {
		padding-top:0.625em;
		margin-left:0;
	}
	
}
