/*****
Theme Name: MH Magazine - Child
Theme URI: https://mhthemes.com/themes/mh-magazine/
Author: MH Themes
Author URI: https://mhthemes.com/
Description: MH Magazine is a clean, modern and fully responsive premium magazine WordPress theme for blogs, online magazines, news websites and other editorial projects. The theme includes useful page templates, several custom widgets and advanced theme options including colorpickers with unlimited colors to create your own color scheme.
Version: 3.9.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mh-magazine
Domain Path: /languages/
Tags: one-column, two-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, footer-widgets, theme-options, threaded-comments, full-width-template, post-formats, translation-ready, rtl-language-support, blog, entertainment, news
Template: mh-magazine
*****/

/** This is the childtheme CSS code to overwrite the main CSS code **/

/***** Structure *****/
.mh-container, .mh-container-inner { max-width: 1200px; } /*Set width of main containter*/
.mh-container-outer { margin: 4px auto; } /* Removes margin at the top of the page */
.mh-main-nav li a { padding: 10px 15px; } /*****  Main Navigation Menu *****/
.mh-social-nav { float: left; padding-left: 0.5em; } /*Social logos in header */
.footer-button span { border-color: #004680 !important; } /*footer buttons */
.footer-button span:hover { border-color: #4d7ea7 !important; } /*footer buttons */
/*.mh-header { background: linear-gradient(90deg, #033054, 70%, #457b9d); } */
.before-footer .mh-widget { margin-bottom: 0;}
li.user-menu { float: right;}

/** Advert spot **/
.partner-spot { display: block; padding: 0 10px;  text-align: center; background: transparent; }
.button-cluster { padding: 2px; }
.home-skyscraper { padding: 30px 10px 10px 10px; }

/** Follow on social box at the end of each post **/
.after-post-follow { background: #004680; padding: 1em 1em 0.3em 1em; margin: 1em; box-shadow: 4px 3px 6px 1px grey; }
.after-post-follow h6, .after-post-follow h6 a { color: #ffffff; }

/** Restricted content message **/
#wpmem_restricted_msg { background-color: #004680; color: white; padding: 1em; margin-top: 1em; font-weight: bold; }

/** Related posts inline (contextual posts plugin) **/
#crp-list {display: flex; list-style: none; flex-direction: row; flex-flow: wrap; justify-content: space-between; padding-bottom: 1em; margin: 0;}
.crp_related h3 { border-bottom: solid 3px #457b9d; text-transform: uppercase;  }
.crp-list-item {width: 31.66%;}
.crp_related ul li a { display: flex; flex-direction: column; border-bottom: none;}

/** EdExec LIVE Pages **/
#menu-edexec-live{ display: flex; flex-direction: column; align-items: center; }
.edexeclive-menu li { background:#061544; padding: 0.4em;	margin: 0.2em; font-weight: bold; font-size: 1.2em;	width: 80%; text-align:center;	border: solid 4px #061544; }
.edexeclive-menu li:hover { border-color: #ea602f; }
.edexeclive-menu li a {	color: white; }
.edexeclive-menu li a:hover { border-bottom: solid 2px; }
.ul-list { list-style: initial; 	margin-left: 2em; }
.elementor-text-editor ul { list-style: initial; 	margin-left: 2em; }

/*Partner Page */
.page-id-272 .entry-content a {
	border-bottom: none;
}

/* Leadebord alignment in header */
.mh-header-widget-2 { position: absolute !important; top: 0px; z-index: +99999 !important; width: 70%; right: 0px; }
@media screen and (max-width: 1075px) { .mh-header-widget-2 { position: relative !important; width: 100%; } }


/***** GLOBAL STYLES *****/
.entry-content a { border-bottom: solid 2px; }
.entry-content a:hover { text-decoration: none; }
.mh-excerpt-more { font-weight: bold; border-bottom: solid 2px; } /* Global exerpts */
.mh-custom-posts-item,
.mh-posts-list-item,
.mh-category-column-item,
.mh-posts-large-item { border-bottom: none; }   /* Removes the dotted border under custom posts*/

/* Bulletpoint lists */
.entry-content ul,
.entry-content ol { margin: 0 1.5em 1.25em; }
.entry-content ul { list-style: disc; }

/* Cookie Notice */
#cookie-notice .cookie-notice-container { height: 250px; display: flex; flex-direction: row; justify-content: center;  align-items: center; font-size: 1rem; color: #ffffff; }
.cookie-button { color: #ffffff !important; background: #004680 !important; }


/***** Home Page *****/
.home-quote { font-size: 1.2em; }
.mh-home-area-6 { width: 30%; } /* Sidebar on homepage */
.mh-home-area-2 { width: 62%; } /* Slider column on homepage */
/* NEWS IN BRIEF */
.mh-home-area-3 { width: 35%; } /* News in brief column on homepage */


/* SECOND ROW HOME PAGE */
.mh-home-area-4, .mh-home-area-5, .mh-home-area-7 { width: 31%; } /*Sets width of columns */
.mh-home-area-5 { margin-left: 2.5%; margin-top: 3.5%;}
.mh-home-area-4 {margin-left: 0;}
#mh_magazine_custom_posts-25 { margin-bottom: 0; }

/* 1/4 WIDTH COLUMNS */
.mh-home-area-9,
.mh-home-area-10,
.mh-home-area-11,
.mh-home-area-12,
.mh-home-area-14,
.mh-home-area-15,
.mh-home-area-16,
.mh-home-area-17,
.mh-home-area-18,
.mh-home-area-19,
.mh-home-area-20,
.mh-home-area-21,
.mh-home-area-22,
.mh-home-area-24,
.mh-home-area-25,
.mh-home-area-26,
.mh-home-area-27 { width: 23%; margin-bottom: 2em; }

#mh_magazine_custom_posts-7, #mh_magazine_custom_posts-22 { padding-bottom: 0; } /* removed the padding on the top post in category sections */

/** Remove Page titles **/
.page-id-251 .page-title, 
.page-id-20767 .page-title {
	display: none;
}


/*** Category Pages ***/

/*Mangement Catgegory Page*/
.page-id-616 span.entry-meta-date { display: none; }
.page-id-616 span.entry-meta-categories { display: none; }
.page-id-616 .mh-posts-stacked-widget div.mh-meta.entry-meta { display: none; }
.page-id-616 .mh-spotlight-widget,
.page-id-616 .mh-image-caption,
.page-id-616 .mh-posts-stacked-title,
.page-id-616 .mh-posts-stacked-item .mh-meta { background: #C1292E; border-color: #C1292E; }
.page-id-616 .mh-posts-digest-small-category { color: #C1292E; }

/*Leadership Category Page*/
.page-id-18253 span.entry-meta-date { display: none; }
.page-id-18253 span.entry-meta-categories { display: none; }
.page-id-18253 .mh-posts-stacked-widget div.mh-meta.entry-meta { display: none; }
.page-id-18253 .mh-spotlight-widget,
.page-id-18253 .mh-image-caption,
.page-id-18253 .mh-posts-stacked-title,
.page-id-18253 .mh-posts-stacked-item .mh-meta { background: #157F1F; border-color: #157F1F; }
.page-id-18253 .mh-posts-digest-small-category { color: #157F1F; }

/*ICT Matters Category Page*/
.page-id-18265 span.entry-meta-date { display: none; }
.page-id-18265 span.entry-meta-categories { display: none; }
.page-id-18265 .mh-posts-stacked-widget div.mh-meta.entry-meta { display: none; }
.page-id-18265 .mh-spotlight-widget,
.page-id-18265 .mh-image-caption,
.page-id-18265 .mh-posts-stacked-title,
.page-id-18265 .mh-posts-stacked-item .mh-meta { background: #F77F00; border-color: #F77F00; color: #000000 }
.page-id-18265 .mh-posts-digest-small-category { color: #F77F00; }
.page-id-18265 .mh-spotlight-widget a, .page-id-18265 .mh-posts-stacked-title a, .page-id-18265 .mh-posts-stacked-title { color: #000000 }

/*Money talks Category Page*/
.page-id-18288 span.entry-meta-date { display: none; }
.page-id-18288 span.entry-meta-categories { display: none; }
.page-id-18288 .mh-posts-stacked-widget div.mh-meta.entry-meta { display: none; }
.page-id-18288 .mh-spotlight-widget,
.page-id-18288 .mh-image-caption,
.page-id-18288 .mh-posts-stacked-title,
.page-id-18288 .mh-posts-stacked-item .mh-meta { background: #8B1E3F; border-color: #8B1E3F; }

/*Compliance Category Page*/
.page-id-18300 span.entry-meta-date { display: none; }
.page-id-18300 span.entry-meta-categories { display: none; }
.page-id-18300 .mh-posts-stacked-widget div.mh-meta.entry-meta { display: none; }
.page-id-18300 .mh-spotlight-widget,
.page-id-18300 .mh-image-caption,
.page-id-18300 .mh-posts-stacked-title,
.page-id-18300 .mh-posts-stacked-item .mh-meta { background: #1B998B; border-color: #1B998B; }

/*Academies and MAT Categpru Page*/
.page-id-18306 span.entry-meta-date { display: none; }
.page-id-18306 span.entry-meta-categories { display: none; }
.page-id-18306 .mh-posts-stacked-widget div.mh-meta.entry-meta { display: none; }
.page-id-18306 .mh-spotlight-widget,
.page-id-18306 .mh-image-caption,
.page-id-18306 .mh-posts-stacked-title,
.page-id-18306 .mh-posts-stacked-item .mh-meta { background: #805D93; border-color: #805D93; }

/*Live it Category Page*/
.page-id-18310 span.entry-meta-date { display: none; }
.page-id-18310 span.entry-meta-categories { display: none; }
.page-id-18310 .mh-posts-stacked-widget div.mh-meta.entry-meta { display: none; }
.page-id-18310 .mh-spotlight-widget,
.page-id-18310 .mh-image-caption,
.page-id-18310 .mh-posts-stacked-title,
.page-id-18310 .mh-posts-stacked-item .mh-meta { background: #EF476F; border-color: #EF476F; }

/*Procurement Categpry Page*/
.page-id-18292 span.entry-meta-date { display: none; }
.page-id-18292 span.entry-meta-categories { display: none; }
.page-id-18292 .mh-posts-stacked-widget div.mh-meta.entry-meta { display: none; }
.page-id-18292 .mh-spotlight-widget,
.page-id-18292 .mh-image-caption,
.page-id-18292 .mh-posts-stacked-title,
.page-id-18292 .mh-posts-stacked-item .mh-meta { background: #0A2239; border-color: #0A2239; }

/*CPD Category Page*/
.page-id-18296 span.entry-meta-date { display: none; }
.page-id-18296 span.entry-meta-categories { display: none; }
.page-id-18296 .mh-posts-stacked-widget div.mh-meta.entry-meta { display: none; }
.page-id-18296 .mh-spotlight-widget,
.page-id-18296 .mh-image-caption,
.page-id-18296 .mh-posts-stacked-title,
.page-id-18296 .mh-posts-stacked-item .mh-meta { background: #5A0370; border-color: #5A0370; }

/* NEWS Category Page */
.page-id-18839 span.entry-meta-date { display: none; }
.page-id-18839 span.entry-meta-categories { display: none; }
.page-id-18839 .mh-posts-stacked-widget div.mh-meta.entry-meta { display: none; }

/* Comment and Blogs Category Page */
.page-id-20553 span.entry-meta-date { display: none; }
.page-id-20553 span.entry-meta-categories { display: none; }
.page-id-20553 .mh-posts-stacked-widget div.mh-meta.entry-meta { display: none; }

/* MAGZINE PAGE */
.page-id-251 .elementor-widget-heading .elementor-heading-title a { color: #247ba0; }
.page-id-251 .elementor-widget-heading .elementor-heading-title a:hover { color: #e64946; }

/* SIGN UP PAGE */
/* WP Registration forms */
#wpmem_reg .form { box-shadow: 0 0 3px #aaa; padding: 5px 20px !important; background: #ececec; border-radius: 10px; }
#wpmem_reg fieldset { padding: 20px ; background: #ececec; }
#wpmem_reg label { font-weight: bold; }
/* Campus Form */
.sg-form-container .sg-btn { background-color: #457b9d !important; text-transform: uppercase; border-radius: 0px !important; border: none !important; }
.sg-form-container label { font-size: 16px; }


/* POST SIDEBAR WIDTH*/
.post-template-default .mh-widget-col-1.mh-sidebar { width: 28%; }
.post-template-default .mh-content { width: 68%; }

/** Polls styling on home page **/
.widget_polls-widget, .widget_polls-widget .mh-widget-title { margin-bottom: 0; }
.wp-polls { background: whitesmoke; font-size: 1.1em; padding: 1em; margin-top: 1.5em; }
.wp-polls .Buttons { border: 1px solid #00467f; background-color: #00467f; color: white; font-size: 1.1em; }

/*TAKEOVER ADVERTS*/
body { max-width: 1200px; margin: 0 auto;}
/*Whole Site*/
#backgroundwidget {
position: fixed;
	top: 0px;
	width: 2000px;
	left: calc((100% - 2000px) / 2);
	z-index: -999;
}
/*Home only */
#takeoverwidget {
position: fixed;
	top: 0px;
	width: 2000px;
	left: calc((100% - 2000px) / 2);
	z-index: -999;
}
/* Setting elementor page background for the takeover */
.elementor-inner { background: #FFFFFF;}

/*Displaying the category menu on mobile */
@media screen and (max-width: 767px) {
	#mh-mobile div.mh-container.mh-container-outer header div.mh-extra-nav-wrap div nav {
		display: block;
	}
	
}

#menu-edexec-live {
	list-style: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.edexec-live-nav-item {
	background: #061544; 
	width: 100%;
	text-align: center;
	padding: 0.5em;
	margin: 0.2em 0em;
	border-bottom: none;
}

.edexec-live-nav-item:hover {
	background: #EF693A; 
}

.edexec-live-nav-item a {
	color: white;
	font-weight: bold;
	text-decoration: none;
	border-bottom: none;
}

.edexec-live-nav-item a:hover {
	color: white;
}

.edexec-live-nav-item.current-menu-item {
	background: #EF693A; 
	color: white;
}
.widget_nav_menu .menu li {
		border-bottom: none;
} 

@media screen and (max-width: 767px) {
	.mh-home-sidebar,.post-template-default .mh-widget-col-1.mh-sidebar { float: none; width: 100%; margin: 1em 0em;}
	#latest-issue-home { justify-content: space-evenly; }
}
