/*
 Theme Name:   MH Magazine Child
 Description:  MH Magazine Child Theme
 Author:       Michelle Retzlaff
 Template:     mh-magazine
*/


/* BuddyPress Anpassungen */
#pass-strength-result {
   width: 100% !important;
}

/* allg. Theme-Anpassungen */
.mh-container, .mh-container-inner {
   max-width: 1430px !important;
}


/* Hefte-Darstellung */

.hefte_container {
   display: flex;
}
.heft_meta {
}
.heft_inhalte {
   margin-left: 20px;
}
.heft_thumbnail {
}

.hefte_links {
   margin-top: 15px;
}

.hefte_links a {
   background-color: #555555;
   padding: 10px 15px;
   /*width: 190px;*/
   color: white !important;
   display: block;
}

.shop_link {

}

.single-astro-bilder-header-image img {
	width: 100%;
}


.hefte_wrap .mh-posts-grid-thumb img {
   width: auto !important;
}

.page-id-3292 .mh-posts-grid-thumb img {
    width: 100% !important;
}

.hefte_wrap .mh-col-1-3 {
   width: 29% !important;
} 

h4.heft-title {
   font-size: 16px !important;
}


.mh-loop-layout2 .mh-loop-thumb  img{
   max-width: 600px !important;
}

.broken_link, a.broken_link {
	text-decoration: none !important;
}

/* Spalten-Layout ******************************************/

.djm-col-wrapper {
    display: -ms-flexbox;
    display: -webkit-flex;
    display:         flex;
    margin-right: -12px;
    margin-left: -12px;
        -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
}

.djm-col-wrapper > * {
        -ms-flex: none;
    -webkit-flex: none;
            flex: none;
}

.djm-col-wrapper:before,
.djm-col-wrapper:after {
    content: "";
    display: block;
}

.djm-col-wrapper:after {
	clear: both;
}

/*
 * Grid Collapse
 */

.djm-col-wrapper-collapse {
	margin-left: 0;
	margin-right: 0;
}

.djm-col-wrapper-collapse > [class*='djm-col-'] {
	margin-bottom: 0;
}

.djm-col-wrapper-collapse > [class*='djm-col-'] > .inner {
	margin-left: 0;
	margin-right: 0;
}

/*
 * Grid Mini
 */

.djm-col-wrapper-mini {
	margin-left: -2px;
	margin-right: -2px;
}

.djm-col-wrapper-mini > [class*='djm-col-'] {
	margin-bottom: 4px;
}

.djm-col-wrapper-mini > [class*='djm-col-'] > .inner {
	margin-left: 2px;
	margin-right: 2px;
}

/*
 * Container
 */

.djm-col-6 {
	width: 16.666%;
	float: left;
	margin-bottom: 24px;
}

.djm-col-5 {
	width: 20%;
	float: left;
	margin-bottom: 24px;
}

.djm-col-3 {
	width: 33%;
	float: left;
	margin-bottom: 24px;
}

.djm-col-5-2 {
	width: 40%;
	float: left;
	margin-bottom: 24px;
}

.djm-col-5-4 {
	width: 80%;
	float: left;
	margin-bottom: 24px;
}

.djm-col-4 {
	width: 25%;
	float: left;
	margin-bottom: 24px;
}

.djm-col-4-4 {
	width: 75%;
	float: left;
	margin-bottom: 24px;
}

.djm-col-3-3 {
	width: 66%;
	float: left;
	margin-bottom: 24px;
}

.djm-col-2 {
	width: 50%;
	float: left;
	margin-bottom: 24px;
}

.djm-col-1 {
	width: 100%;
	margin-bottom: 24px;
}

[class*='djm-col-'] > .inner {
	margin-left: 12px;
	margin-right: 12px;
}

/*
 * Col Push & Pull
 */

@media (min-width: 990px) {

	[class*='djm-col-push-'],
    [class*='djm-col-pull-'] {
    	position: relative;
    }

	.djm-col-push-2 {
		left: 50%;
	}

	.djm-col-pull-2 {
		left: -50%;
	}

}

@media screen and (min-width: 481px) and (max-width: 991px) {

	.djm-col-3 {
		width: 50%;
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	.djm-col-4 {
		width: 100%;
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	.djm-col-6 {
		width: 33%;
	}

	.djm-col-3-3,
	.djm-col-4-4,
	.djm-col-5-2,
	.djm-col-5-4,
	.djm-col-5 {
		width: 100%;
		float: none;
	}

	.djm-col-2 {
		width: 100%;
		float: none;
	}
}

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

	.djm-col-3 {
		width: 100%;
		float: none;
	}

	.djm-col-5-2 {
		width: 100%;
		float: none;
	}

	.djm-col-4 {
		width: 100%;
		float: none;
	}

	.djm-col-5 {
		width: 100%;
		float: none;
	}

	.djm-col-6 {
		width: 100%;
		float: none;
	}

	.djm-col-3-3 {
		width: 100%;
		float: none;
	}

	.djm-col-4-4 {
		width: 100%;
		float: none;
	}

	.djm-col-2 {
		width: 100%;
		float: none;
	}
}


.mh-widget-title, .mh-tab-button.active, .mh-loop-caption {
background-color: #00aae1 !important;
}

.mh-tab-buttons.clearfix {
border-bottom-color: #00aae1 !important;
}

.grid-items .element.excerpt, .grid-items .element.read_more {
display: none !important;
}

.grid-items .layer-media img {
height: 161px;
}
#post-grid-10616 .item {
margin-right: 10px;
}
#post-grid-10616 {
padding: 0px !important;
}

#post-grid-10616 .element_0 {
font-size: 16px !important;
font-weight: bold !important;
padding: 5px 0px !important;
}

#post-grid-10616 .layer-content {
padding: 5px 0px !important;
}

#mh_magazine_slider-2 .flex-viewport, #mh_magazine_slider-2 .flex-viewport .mh-slider-item {
	min-height: 380px;
}

/* Nur 8 Posts anzeigen in MH Tabbed */
.mh-tab-content-posts li:nth-last-child(1), .mh-tab-content-posts li:nth-last-child(2) {
	display: none;
}

.tv-termine th, .tv-termine td {
	padding: 5px;
	font-size: 13px;
}

.header_abo_logo {
	display: none;
	position: relative;
	z-index: 2;
}

.header_abo_logo a {
	position: absolute;
	right: 130px;
	top: -150px;
}

@media screen and (max-width: 900px) {
	.header_abo_logo {
		display: none !important;
	}
}

.mh-spotlight-caption {
	background-color: #00aae1;
}

.mh-header-nav.mh-col-2-3.clearfix,.mh-social-icons.mh-social-nav.mh-col-1-3.clearfix {
	display: inline-block;
	width: auto;
}

.mh-header-nav.mh-col-2-3.clearfix {
	float: right;
}

@media screen and (max-width: 767px) {
	.mh-header-nav.mh-col-2-3.clearfix {
		display: none;
	}
	
	.mh-social-icons.mh-social-nav.mh-col-1-3.clearfix {
		width: 100%;
	}
}

#wpuf-featured_image-upload-container .wpuf-file-warning {
	display: none;
}

.flex-active-slide img {
	max-height: 450px;
}

.mh-slider-layout4 .flex-control-nav {
	width: auto;
	top: 20px;
	right: 15px;
	bottom: auto;
}

.mh-slider-layout4 .flex-control-paging li a {
	width: 20px;
	height: 20px;
	background: #969696;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
}

.mh-slider-layout4 .flex-control-paging li a:hover {
	background: #f5f5f5;
}

.mh-slider-layout4 .flex-control-paging li a.flex-active {
	background: #00aae1 !important;
}

.mh-slider-layout4 .mh-slider-category {
	position: absolute;
	top: 0;
	font-size: 14px;
	font-size: .875rem;
	font-weight: 700;
	color: #fff;
	padding: 10px 15px;
	background: #00aae1;
	text-transform: uppercase;
}

.mh-slider-layout4 .mh-slider-caption {
	width: 100%;
	bottom: 0;
}

.mh-widget-col-1 .mh-slider-layout4 .flex-control-nav, .mh-widget-col-2 .mh-slider-layout4 .flex-control-nav {
	top: 15px;
	right: 10px;
}

.mh-slider-layout4 .mh-slider-content {
	padding: 15px 25px;
}

.mh-slider-layout4 .mh-slider-content .mh-excerpt {
	margin-top: .225rem;
}