/*****
Theme Name: MH Magazine Child Theme

Theme URI: https://www.mhthemes.com/themes/mh/magazine/

Description: This is a child theme for MH Magazine WordPress theme to make customizations much easier for you. By using this child theme you make sure, that you keep your changes after an update of the parent theme.

Author: MH Themes

Author URI: https://www.mhthemes.com/

Template: mh-magazine

Version: 1.0.13

License: GNU General Public License v2.0

License URI: http://www.gnu.org/licenses/gpl-2.0.html

*****/

.mh-image-placeholder { display: none; }

form label[for="ws-plugin--s2member-profile-data-protection-tick-box"]{
    opacity: 0 !important;
    height: 0px !important;
    width: 0px !important;
}

#ws-plugin--s2member-profile-data-protection-tick-box{
    display: none !important;
    height: 0px;
    width: 0px;
}

label[for="ws-plugin--s2member-profile-data-protection"] {
	display: none !important;
}
#ws-plugin--s2member-profile-data-protection{
    display: none !important;
}

#s2member-pro-paypal-registration-form-custom-reg-field-purchasing-responsibility-div .ws-plugin--s2member-custom-reg-field-op-l:after {
	content: "";
	display: block;
}

.s2member-pro-paypal-registration-form-custom-reg-field-not-receive-emails-div {
	margin-bottom: 15px !important;
}

#s2member-pro-paypal-registration-custom-reg-field-purchasing-responsibility---0 {
	margin-left: 7px;
}

/* Global */
#register-page{
	margin-top: 50px;
	padding-left: 30px;
	padding-right: 30px;
}

.success{
	display: none;
	text-align: center;
}

#return-home-btn{
	display: inline-block;
	margin: auto;
	margin-top: 20px;
	padding: 12px 40px;
	color: white;
}

#return-btn{
	display: inline-block;
	margin: auto;
}

body {
	-webkit-overflow-scrolling: touch;
}

.mh-container-outer {
	-webkit-overflow-scrolling: touch;
}

.outer-scroll{
		z-index: 10;
		width: 100vw;
		height: 100vh;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		overflow-y: auto;
	}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.cleafix:before {
	content: "";
	display: table;
	clear: both;
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/*	FITC Post	 */
.fitc-link-btn {
	display: none;
	color: #e64946 !important;
	background-color: transparent;
	border: 1px solid #e64946;
	border-radius: 10px;
	padding: 10px 25px;
	margin: 10px 0;
}

.category-urban-distribution .fitc-link-btn {
	display: inline-block;
}

/* Homepage */

#mh_magazine_custom_posts-4 .mh-custom-posts-large {
	position: relative;
}

#mh_magazine_custom_posts-4 .mh-custom-posts-large:before {
	content: "Freight in the City";
	color: white;
	background-color: #a6c718;
	padding: 5px 10px;
	position: absolute;
	top: 10px;
	left: 0;
	z-index: 1001;
	font-size: 12px;
}

#mh_magazine_custom_posts-4 .mh-custom-posts-small .mh-meta-date {
	position: relative;
}

#mh_magazine_custom_posts-4 .mh-custom-posts-small .mh-meta-date:after {
	content: "Freight in the City";
	color: white;
	background-color: #a6c718;
	position: absolute;
	padding: 0 10px;
	top: 0;
	right: -110px;
	z-index: 1001;
	font-size: 10px;
}

.category-freight-in-the-city .entry-thumbnail {
	position: relative;
}

.category-freight-in-the-city .entry-thumbnail:before {
	content: "Freight in the City";
	color: white;
	background-color: #a6c718;
	padding: 5px 10px;
	position: absolute;
	top: 10px;
	left: 0;
	z-index: 1001;
	font-size: 12px;
}

.category-news .category-freight-in-the-city {
	position: relative;
}

.category-news .category-freight-in-the-city:before {
	content: "Freight in the City";
	color: white;
	background-color: #a6c718;
	padding: 5px 10px;
	position: absolute;
	top: 10px;
	left: 0;
	z-index: 1001;
	font-size: 12px;
}

.search-results .category-freight-in-the-city {
	position: relative;
}

.search-results .category-freight-in-the-city:before {
	content: "Freight in the City";
	color: white;
	background-color: #a6c718;
	padding: 5px 10px;
	position: absolute;
	top: 10px;
	left: 0;
	z-index: 1001;
	font-size: 12px;
}

.skyscraper{
	display: none;
	z-index: 100;
	pointer-events: none;
}

.skyscraper-left,
.skyscraper-right{
	pointer-events: all;
}


.gradient {
	text-align: center;
	color: white;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#6fa3cb+1,7db9e8+100&1+0,0+100 */
	background: -moz-linear-gradient(top, rgba(111,163,203,1) 0%, rgba(111,163,203,0.99) 1%, rgba(125,185,232,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(111,163,203,1) 0%,rgba(111,163,203,0.99) 1%,rgba(125,185,232,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(111,163,203,1) 0%,rgba(111,163,203,0.99) 1%,rgba(125,185,232,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6fa3cb', endColorstr='#007db9e8',GradientType=0 ); /* IE6-9 */
}

.gradient h1 {
	margin-bottom: 15px;
}
.gradient img {
	margin-top: 25px;
	max-width: 200px;
}

.mh-wrapper-clean-air .mh-content {
	width: 100%;
}

.mh-wrapper-clean-air .mh-content h1 {
	margin: 10px 0;
	color: white;
}

.mh-wrapper-clean-air .mh-content h4 {
	margin: 10px 0;
	color: white;
}


.clean-air-nav {
	padding: 0;
	margin-bottom: 20px; 
	text-align: center;

}

.clean-air-nav li {
	display: inline-block;
	padding: 0 12px;
	border-right: 1px solid black;
}

.clean-air-nav li:last-of-type {
	border-right: none;
}

.mh-wrapper-clean-air #about {
	text-align: center;
	padding: 10px;
}

.mh-wrapper-clean-air #about .btn {
	border: 1px solid black;
	padding: 5px 25px;
	border-radius: 20px;
	margin: 20px 0;
	display: inline-block;
}

.mh-wrapper-clean-air #about h2 {
	margin-bottom: 10px;
}
.mh-wrapper-clean-air #about p{
	margin-top: 12px;
}
.mh-wrapper-clean-air #about ul{    
	margin-bottom: 8px;
	list-style: disc!important;
	text-align: left;
	display:inline-block;

}
.mh-wrapper-clean-air #about ul li{
	padding-top: 2px!important;
	margin-left: 10px;
	list-style-position: inside;
}
.mh-wrapper-clean-air #about p a{
	font-weight: 600;    color: #e64946;
}

#on-the-day {
	background-color: #1a8049;
	color: white;
}

#on-the-day h2 {
	color: white;
	text-align: center;
	margin-bottom: 20px;
}


#on-the-day h3, 
#on-the-day h4, 
#on-the-day h5, 
#on-the-day h6 {
	color: white !important;
}

#on-the-day .mh-content > ul > li > h2 {	
	text-align: left;
}

#on-the-day .mh-content > ul {
	padding: 0 100px;
	margin: 20px 0;
}

#on-the-day .mh-content > ul::before {
	content: "";
	display: table;
	clear: both;
}

#on-the-day .mh-content > ul::after {
	content: "";
	display: table;
	clear: both;
}

#on-the-day .mh-content > ul > li {
	float: left;
}

#on-the-day  .mh-content > ul > li:first-of-type {
	width: 20%;
}

#on-the-day  .mh-content > ul > li:nth-of-type(2) {
	width: 80%;
}

#on-the-day .mh-content > ul > li ul{
	list-style-type: none;
	padding-left: 20px;
}
#on-the-day .mh-content > ul > li ul li{
	list-style-type: disc;
	display: list-item;
}

#speakers {
	text-align: center;
	font-size: 0;
}

#speakers h2 {
	margin-bottom: 20px;
	font-size: 1.5rem;
}

#speakers figure {
	width: 33.33%;
	display: inline-block;
	text-align: center;
	padding: 20px;
	box-sizing: border-box;
}

#speakers figure img {
	border-radius: 50%;
	width: 150px;
	height: 150px;
	margin-bottom: 10px;
}
#speakers figure h3 {
	margin-bottom: 10px;
	font-size: 1.25rem;
}

#speakers figure p {
	font-size: 14px;
}

#exhibitors {
	background-color: #0f4891;
	color: white;
}

#exhibitors h2 {
	margin-bottom: 20px;
	color: white;
	text-align: center;
}

#exhibitors ul {
	padding: 0 100px;
}


#exhibitors ul li {
	padding: 30px 0;
	border-bottom: 1px solid white;
}

#exhibitors ul li:last-of-type {
	border-bottom: none;
}

#exhibitors ul li img {
	float: left;
	margin-right: 20px;
	border-radius: 50%;
	max-width: 70px;
}

#exhibitors ul li h3 {
	color: white;
}

#watch-this-space h2 {
	margin-bottom: 20px;
	text-align: center;
}

#watch-this-space ul {
	padding: 0 100px;
	font-size: 0;
}

#watch-this-space ul li {
	width: calc(50% - 20px);
	border-bottom: 1px solid black;
	margin: 20px 10px;
	box-sizing: border-box;
	padding-bottom: 50px;
	display: inline-block;
}

#watch-this-space ul li h3 {
	font-size: 1.25rem;
}
#watch-this-space ul li p {
	font-size: 14px;
}
#watch-this-space ul li:nth-of-type(3) {
	border-bottom: none;	
}
#watch-this-space ul li:nth-of-type(4) {
	border-bottom: none;	
}

#watch-this-space ul li a {
	margin: 10px 0;
	display: inline-block;
	color: #7979e6;
	text-decoration: underline;
	font-size: 14px;
}

#highlights {
	background: #5ca746;
	padding: 20px 0;
}
#highlights #pager a {
	margin: 0 4px;
}

#slider {
	width: 500px;
	height: 300px;
	margin: 0 auto 10px;
	overflow: hidden;
	position: relative;
}
#slider ul {
	overflow: hidden;
	*zoom: 1;
}
#slider ul li {
	font-size: 1.5em;
	color: #fff;
	text-align: center;
	float: left;
	width: 500px;
	height: 300px;
	line-height: 300px;
}
#slider-outer{
	position:relative;
	width: 560px;
	margin: 0 auto 10px;
}
#slider-outer a#sliderPrev,
#slider-outer a#sliderNext {
	display: block;
	position: absolute;
	color: #fff;
	font-size: 2em;
	top: 40%;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	margin-top: -15px;
	text-decoration: none;
	font-weight: bold;
	border-radius: 50%;
}
#slider-outer a#sliderPrev {
	left: -30px;
}
#slider-outer a#sliderNext {
	right: -30px;
}
#slider-outer a#sliderPrev:hover,
#slider-outer a#sliderNext:hover {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
	opacity: 0.5;
}

#pager {
	text-align: center;
}
#pager a {
	display: inline-block;
	vertical-align: middle;
	*vertical-align: auto;
	*zoom: 1;
	*display: inline;
	cursor: pointer;
	-moz-transition-property: opacity;
	-o-transition-property: opacity;
	-webkit-transition-property: opacity;
	transition-property: opacity;
	-moz-transition-duration: 0.2s;
	-o-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
	-moz-transition-timing-function: ease-in;
	-o-transition-timing-function: ease-in;
	-webkit-transition-timing-function: ease-in;
	transition-timing-function: ease-in;
}
#pager a:hover, #pager a.active {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
	opacity: 0.5;
}

#highlights h2 {
	color: white;
	margin-bottom: 20px;
	text-align: center;
}

#sponsors h2 {
	margin-bottom: 20px;
	text-align: center;
}

#sponsors .mh-main {
	padding-bottom: 100px;
	border-bottom: 1px solid black;
}

#sponsors ul {
	font-size: 0;	text-align: center;
}

#sponsors ul li {
	text-align: center;
	width: 33.33%;
	box-sizing: border-box;
	padding: 0 20px;
	display: inline-block;	
}

#sponsors ul li h3 {
	margin: 10px 0;
	font-size: 1.25rem;
}

#sponsors ul li p {
	font-size: 14px;
}
#sponsors ul li a {
	font-size: 14px;
}

#sponsors ul li a {
	margin: 10px 0;
	display: inline-block;
	color: #7979e6;
	text-decoration: underline;
}

#relevant-stories {
	padding: 0 100px;
	padding-bottom: 25px;
}


#relevant-stories h2 {
	margin-bottom: 20px;
	text-align: center;
}

#relevant-stories #main-content {
	font-size: 0;
}

#relevant-stories img {
	width: 100%;
}

#relevant-stories figure {
	width: 50%;
	padding: 0 20px;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
	margin: 10px 0;
}

#relevant-stories figure h3 {
	margin: 20px 0;
	font-size: 1.25rem;
}

#relevant-stories figure p {
	font-size: 14px;
}

#pointelle_slider_7 {
	max-width: 600px !important;
}

/* Full width Banner Theme */

.container {
	width: 90%;
	margin: 0 auto;
} 

#full-width-banner{
	padding: 0;
}

#full-width-banner .mh-breadcrumb {
	margin: 0;
}

#full-width-banner #banner {
	height: 350px;
	background-image: url("images/iStock-466069264-bnw.jpg");
	background-position: center;
	background-size: cover;
	text-align: center;
}


#full-width-banner #banner {
	position: relative;
}

#full-width-banner #banner .banner-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 60%;
	height: 50%;
	margin: auto auto;
	text-align: center;
}

#full-width-banner #banner .banner-wrapper button {
	display: inline-block;
}

#full-width-banner #banner .banner-wrapper h1 {
	
	color: white;
}


#full-width-banner #banner .banner-wrapper p {
	color: white;
	margin-bottom: 20px;
}

/* Register page */
/*icon styling*/
#icon-title{
	text-align: center;
	margin-top: 35px;
	margin-bottom: 35px;
}

#icon-bar-reg{
	width: 100%;
	padding: 10px;
}

#column{
	width: 19%;
	display: inline-block;
	text-align: center;
}

#icon-bar-icon{
	max-width: 110px;
	max-height: 110px;
	margin-bottom: 20px;
}

#icon-text{
	width: 168px;
}

#icon-head{
}

@media screen and (max-width: 1024px){
	#icon-text{
		width: auto;
		font-size: 11px;
	}
}

@media screen and (max-width: 768px){
	#column{
	width: 32%;
	}
	#column:nth-of-type(4){
		width: 49%;
		}
	#column:nth-of-type(5){
		width: 49%;
		margin-top: 20px;
		}
	#icon-text{
			font-size: 14px;
	}

	.mt-nav-btn{
		padding: 10px 18px !important;
	}
}

@media screen and (max-width: 550px){
	#column{
	width: 100%;
	}
	#column:nth-of-type(4){
		width: 100%;
		}
	#column:nth-of-type(5){
		width: 100%;
		margin-top: 20px;
		}
	#icon-bar-icon{
	margin-top: 25px;

	}
}


input, select {}

@media (min-width:768px) {


	body.skyscraper-enabled{
		overflow: hidden;
	}

	body.skyscraper-enabled .skyscraper{
		display: block;
	}

	body.skyscraper-enabled .outer-scroll{
		position: fixed;
		z-index: 10;
		width: 100vw;
		height: 100vh;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		overflow-y: auto;
	}

	.skyscraper{
		max-width: 1400px;
		width: 100%;
		height: 100vh;
		margin: auto;
		text-align: center;
		position: relative;
	}
	.skyscraper-left,
	.skyscraper-right{
		position: absolute;
		top: 25px;
		width: 120px; 
		height :600px;
		z-index: 100;
	}

	.skyscraper-left{
		right: 1280px;
	}

	.skyscraper-right{
		left: 1266px;
	}

}

.mh-header-2 {

	margin: 20px 0px 20px 0px;

}



@media (min-width:768px) {

	aside.mh-col-2-3.mh-header-widget-2 {

		margin-left:0px;

		width:68.34%;

	}

}



@media (max-width:767px) {

	#speakers figure {
		width: 100%;
	}

	#sponsors ul li {
		width: 100%;
	}

	#relevant-stories figure {
		width: 100%;
	}

	#watch-this-space ul li {
		width: 100%;
	}

	aside.mh-col-2-3.mh-header-widget-2 {

		width:initial;

	}

}

@media (max-width:615px) {


	#mh_magazine_custom_posts-4 .mh-custom-posts-small .mh-meta-date:after, #mh_magazine_custom_posts-4 .mh-custom-posts-large:before, .category-freight-in-the-city .entry-thumbnail:before, .category-news .category-freight-in-the-city:before, .search-results .category-freight-in-the-city:before {
		padding: 0;
		font-size: 7px;
	}

	#mh_magazine_custom_posts-4 .mh-custom-posts-small .mh-meta-date:after {
		right: -70px;	
	}



}



.entry-content p:first-of-type { 

	font-weight:bold;

}


/**** Post Archive List ****/
.archive-post-list {
	margin: 0 !important;
	padding: 0 !important;
}

.archive-post-list .year {
	font-weight: bold;
	display: block;
	color: #000;
	width: 100%;
	font-size: 18px;
	margin-top: 20px;
	margin-bottom: 10px;
}

.archive-post-list .year a {
	color: #000;
}

.archive-post-list .month a {
	border: 2px solid #f5f5f5;
	margin-bottom: 5px;
	display: inline-block;
	padding: 5px 10px;
	transition: all 0.5s;
}

.archive-post-list .month a:hover {
	text-decoration: none;
	color: #fff;
	background-color: #e64946;
	border-color: #e64946;
}

/** Signup Page **/
#s2member-pro-paypal-registration-form-custom-fields-section-title {
	display: none !important;
}

/**Registration page*/

#steps {
	font-size: 0;
	height: 5px;

}

#steps .step-bar {
	width: 33.33% !important;
	box-sizing: border-box;
	display: inline-block;
	width: 100%;
	height: 100%;
}

#steps .step-bar {
	padding: 0 2px;
}

#steps .step-bar span {
	display: block;
	width: 100%;
	height: 100%;
	background-color: #d2232a;
}

.mt-nav-btn {
	background-color: #d2232a;
	padding: 15px 50px;
	color: white;
	border: none;
	font-weight: bold;
	cursor: pointer;
	margin-bottom: 25px;
	font-size: 14px;
}

#navigation-btns {
	margin-top: 15px;
}

[data-step="0"] #navigation-btns {
	display: none;
}

[data-step="1"] #prev-btn {
	display: none;
}

#submit-btn {
	display: none;
} 

[data-step="3"] #submit-btn {
	display: block;
}

[data-step="3"] #next-btn {
	display: none;
}

#steps .step-bar {
	opacity: 0;
	transition: opacity 500ms;
}

[data-step="0"] #step-pagination {
	display: none;
}

[data-step="1"] #steps .step-bar:nth-of-type(1) {
	opacity: 1;
}

[data-step="2"] #steps .step-bar:nth-of-type(2) {
	opacity: 1;
}

[data-step="2"] #steps .step-bar:nth-of-type(1) {
	opacity: 1;
}

[data-step="3"] #steps .step-bar {
	opacity: 1;
}

#form .s2member-pro-paypal-form-div {
	width: 60%;
}

#form .s2member-pro-paypal-form-div input {
	background-color: white;
	border: 1px solid black;
}

#form #s2member-pro-paypal-registration-form-captcha-section-title {
	display: none;
}

#form #s2member-pro-paypal-registration-form-captcha-div {
	display: none;
}

[data-step="3"] #s2member-pro-paypal-registration-form-captcha-div {
	display: block !important;
}

#form .hide {
	display: none !important;
}

.hide {
	display: none !important;
}

.error-message {
	color: red;
	font-style: italic;
}

#s2member-pro-paypal-form-response.s2member-pro-paypal-form-response-info {
	height: 50vh;
	border-top: 1px solid black;
    border-radius: 0;
	border-bottom: 1px solid black;
	color: #d2232a;
	font-weight: bold;
	text-align: center;
	font-size: 1.5em;
	line-height: 4vh;
	background: url(images/tick-circle-red.svg) no-repeat center;
	background-size: 20%;
	border-left: none;
	border-right: none;
}

.mobile-hidden{
	display: none;
}
@media screen and (max-width: 1450px){
	.s2member-pro-paypal-registration-form-response-info{
		background-size: 15% !important;
	}
}

@media screen and (max-width: 768px){
	#register-page{
		padding-right: 20px;
	}

	#s2member-pro-paypal-form-response.s2member-pro-paypal-form-response-info {
		line-height: 3.4vh;
		padding: 10px 10px 10px 10px;
	}
	.mobile-hidden{
		display: block;
		margin: auto;
		margin-top: 15px;
	}
	.s2member-pro-paypal-registration-form-response-info{
		background-size: 12.5% !important;
		font-size: 1em !important;
	}
}
@media screen and (max-width: 500px){
	.s2member-pro-paypal-registration-form-response-info{
		background-size: 35% !important;
		background: url(images/tick-circle-red.svg) no-repeat 50% 20%;
		font-size: 1.2em !important;
	}
}

@media screen and (max-width: 375px){
	.banner-wrapper{
		height: 75% !important;
	}
}
.whitepapers-sidebar{
	background-color: #2a2a2a;
	border-bottom: 3px solid #e64946;
	padding: 25px;
	color: #fff;
}
.whitepapers-sidebar .wrapper .whitepaper-sidebar-title{
	color: #fff;
	line-height: 1.3;
	font-weight: 700;
	font-size: 1.25rem;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
.whitepapers-sidebar .wrapper .whitepaper-sidebar-text{
	color: #fff;
}
.nav-social-icon-items{
	list-style-type: none;
}

.nav-social-icon-item{
	display: inline-block;
	width: 40px;
}
.nav-social-icon-item a{
	padding: 0px !important;
}
.nav-social-icon-item:hover{
	background: #2a2a2a !important;
}
.mh-navigation .mh-widget{
	margin-bottom: 0px !important;
}
.report-intro{
	font-weight: 700;
	border-bottom: 1px solid #d3d3d3;
	padding-bottom: 25px;
}
/*Custom Post type: Reports - Styling*/
.link-download a{
	display: inline-block;
	color: #ff0000;
	font-weight: 700;
}
.read-more-report{
	margin-right: 20px;
}
.reports .mh-excerpt{
	padding: 5px 0px;
}
.link-download a p:after{
	content: '>';
	margin-left: 5px;
	top: 1px;
	position: absolute;
}
.link-download .download-report p:after{
	content: '';
}
.link-download a p{
	position: relative;
}

.mh-navigation .mh-home-11{
	position: absolute;
	right: 0px;
}