/*
Theme Name: NewsMag
Theme URI: https://www.machothemes.com/newsmag-lite/
Author: MachoThemes
Author URI: https://www.machothemes.com/
Description: Newsmag is a clean and modern magazine, news or blog WordPress theme for magazines, news websites, blogs and others. It have 4 different blog page style. It is will make your website adaptable with any type of mobile devices. Your site will be adaptive when viewed on a smartphone or tablet. Fully Responsive, Customizable and Search Engine ( SEO ) Friendly Friendly WordPress Theme using Twitter Bootstrap 3, Microformats and Font Awesome icons. You can add Contact Form and Google Maps to contact page. You can also build custom front page to use 3 different block styles, post banner and slider as unlimited. The theme offers Widgetized Sidebar, four column Footer Widgets. You can add unlimted Widgets in each Sidebar and Footer Column. Theme Features: Advanced Custom Fields, Contact Form, Custom Front Page Settings, Custom Background Support, Custom Menu ( 3 Level on Header, 1 Level on footer ), Custom Colors, Google Fonts, Dynamic Widgets, Slider ( Responsive and Mobile Touch Friendly ), Featured Post Banner, Different Blog Page and Homepage Style, Redux Framework, Post Formats, Microformats, Responsive Video, Flickr and Popular Posts Widgets. To learn more about the theme please go to the theme uri and read the documentation.
Version: 2.0.0
Tags: custom-menu, custom-background, custom-colors, featured-images, translation-ready, threaded-comments, two-columns, three-columns, news, blog
Text Domain: newsmag
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
This theme is licensed under the GPL.
*/
/*Custom CSS*/
/*Allgemein*/
.site-content a:visited{
color:#2250a3;F
}
.site-content a:hover{
color: #6a8cdf !important;
}
.form-submit .submit:hover{
background-color:#183975 !important;
}
/*Header*/
.header-banner{
padding:15px 0 0;
}
#top_bild {
height: 60px;
overflow: hidden;
display: flex;
align-items: center;}
@media screen and (max-width:750px){
#top_bild {
height: auto;
overflow: hidden;
display: block;
align-items: center;}
}

.custom-logo{
margin-top:0 !important;
}
.newsmag-custom-header{
  height:145px !important;
}
.newsmag-custom-header.newsmag-custom-header-single-post {
  height: 200px !important;
  background-position: 0 !important;
}
.newsmag-custom-header .container{
  top:50% !important;
  transform:translateY(-50%);
}
.newsmag-custom-header .h2{
  color: #FFF;
  font-size: 23px;
  font-family: 'Open Sans', serif;
  font-weight: 700;
  text-align: center;
}

/*Slider*/
.icv-slider .container {
    padding: 0;}
.chpcs_image_carousel{
	padding:0;}
.chpcs_foo_content{
	padding:0;
	margin:0;}
.chpcs_foo_content .chpcs_img {
	height: 100%;
	overflow: hidden;}
.chpcs_foo_content img {
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;}
.chpcs_title {
	position: absolute;
	bottom:0;
	padding-left:15px;
	width:100%;
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
	text-align: left;
	color:#ffffff;}
.chpcs_title a {
	color: #ffffff;
	display: block;
	font-size: 20px;
	padding-bottom: 20px;}
.chpcs_title a:visited,
.chpcs_title a:hover{
	color:#ffffff;}
#wa_chpcs_pager a{
	width: 10px;
	height: 10px;
	margin: 5px 7px;
	background: #D6D6D6 !important;
	display: inline-block;
	-webkit-backface-visibility: visible;
	transition: opacity 200ms ease;
	border-radius: 30px;}
#wa_chpcs_pager a.selected{
	background-color: #2253A0 !important;}
/*Navigation*/
nav{
background-color: #ffffff;
}
/*nav .container{
padding:0;
}*/
.main-navigation{
  width:97%;}
.main-navigation ul ul{
  float:none !important;}
/*Sub Menu*/
.sub-menu{
width: 490px;
}
@media screen and (max-width:840px){
.sub-menu{
  width:250px;}
}
.sub-menu-columns ul.sub-menu li {
    display: inline-block;
    float: left;
    width: 230px;
}
.sub-menu-columns ul.sub-menu li a{
    width: 230px;
}
.sub-menu-columns ul.sub-menu li:nth-child(odd) {
    float: left;
    margin-right: 10px;
}
.sub-menu-columns ul.sub-menu li:nth-child(even) {
    float: right;
}

/*Menu bars*/
#site-navigation .menu-toggle{
    margin:0;
}
.menu-toggle .fa-bars{
    font-size:20px;
}
@media screen and (max-width:599px){
#site-navigation div[class*="col-sm"] {
    box-sizing: border-box;
    float: left;}
}

/* Search form */
.widget_search input[type="search"]{
  padding-bottom: 0;
  padding-top: 0;
}

/*Slider*/
#newsmag-homepage-slider .post-categories {
    display: none;
}
#newsmag-homepage-slider a.u-photo {
    display: block;
    overflow: hidden;
}
.newsmag_slider .newsmag-slider .main-slider-previous i.fa,
.newsmag_slider .newsmag-slider .main-slider-next i.fa{
font-size:70px;
}
.item-image:before {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%) repeat scroll 0 0;
    bottom: 0;
    content: "";
    height: 45%;
    left: 0;
    position: absolute;
    width: 100%;
}
@media screen and (max-width:480px){
#newsmag-homepage-slider a.u-photo{
    max-height: 100px;}
}
@media screen and (min-width:481px){
#newsmag-homepage-slider a.u-photo{
    max-height: 150px;}
}
@media screen and (min-width:641px){
#newsmag-homepage-slider a.u-photo{
    max-height: 200px;}
}
@media screen and (min-width:769px){
#newsmag-homepage-slider a.u-photo{
    max-height: 300px;}
}
@media screen and (min-width:1225px){
#newsmag-homepage-slider a.u-photo{
    max-height: 400px;}
}
/*Homepage*/
.newsmag_builder h2.colored {
    font-size: 23px;
}
/*Banner View*/
.newsmag_builder .newsmag-blog-post-layout-banner .banner-content{
    position: absolute;
    bottom: 0;
    width: auto;
    left: 0;
    padding: 0 20px;
}
.newsmag_builder .newsmag-blog-post-layout-banner:before{
background:linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.6) 100%) !important;
height:65% !important;
}
.newsmag_builder .newsmag-blog-post-layout-banner .banner-content h3{
margin-bottom:0;
}
@media screen and (max-width:1023px){
.newsmag-blog-post-layout-banner{
margin-bottom:20px;
}}
@media screen and (min-width:1024px){
.newsmag-blog-post-layout-banner{
border-bottom:30px solid #F2F3F3;
}
.newsmag-blog-post-layout-banner:nth-child(2n+1){
border-left:15px solid #F2F3F3;
}
.newsmag-blog-post-layout-banner:nth-child(2n){
border-right:15px solid #F2F3F3;
}}
/*Banner Advanced Ads*/
.contr-adlabel{
 font-size:13px;
 line-height: 20px;
 padding: 5px 15px;
}
.super-banner,
.full-banner{
 /*text-align: center;*/
}
.super-banner img{
 width: 728px;
 height: 90px;
}
/*temporar*/
.full-banner img{
 /*width: 468px;*/
 /*height: 60px;*/
 width:auto;
 max-height:250px;
}
.contr-widget:after {
    content: '';
    clear: both;
    display: table;
}

/*Spalten*/
.newsmag-post-box-image {
    max-height: 250px;
    overflow: hidden;
    height: 250px;
}
.newsmag-post-box-image {
    text-align:center;
}
.newsmag-post-box-a a.newsmag-post-box-image {
    margin-bottom: 20px;
}
.newsmag_builder .newsmag-blog-post-layout-b{
   min-height: 100px;
}
/*class cover Height - equal image height to blog items*/
.newsmag_builder .newsmag-blog-post-layout-b .coverH .newsmag-image {
    display: inline-block;
    float: left;
    width: 100%;
    height: 100px;
    overflow: hidden;}
.newsmag-blog-post-layout .newsmag-image{
	height:200px;}
/*.newsmag_builder .newsmag-post-box-a .newsmag-post-box-image{
	height:250px;}
*/
.container .newsmag_builder .newsmag-post-box-a{
   margin-bottom: 40px;
}
.newsmag_builder .newsmag-post-box-a h3 a{
   text-overflow: ellipsis;
   position: relative;
   overflow: hidden;
   height: 50px;
   display: block;
}
.newsmag_builder .newsmag-post-box-a p{
   margin-top: 0;
   min-height: calc(24px*4);
   margin-bottom: 12px;
}
/*
.newsmag_builder .newsmag-post-box-a h3 a:after {
    content: '...';
    height: 1.5em;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #f2f3f3;
    display: block;
}
*/
.newsmag_builder .newsmag-blog-post-layout-b .coverH .newsmag-image img,
.attachment-newsmag-recent-post-list-image.size-newsmag-recent-post-list-image.wp-post-image,
//.attachment-newsmag-recent-post-big.size-newsmag-recent-post-big.wp-post-image,
.newsmag-blog-post-layout .newsmag-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;}
/*Startseite widget mit id Anpassung*/
#newsmag_widget-6{
   clear: both;
}
.widget:not(.widget_newsmag_banner){
margin-bottom: 1.5em !important;
}
/*Article*/
article.type-page {
    padding-top: 20px;
}
article.type-post em {
    font-size: 15px;
}
article.type-post img {
    margin-bottom:20px;
}
/*article.type-post em:before,*/
article.type-post p:before {
    clear: both;
    content: "";
    display: block;
    height: 1px;
}
.newsmag-content p {
    overflow: hidden;}
/*Datum*/
.post_date {
    font-size: 13px;
    line-height: 20px;
}
.post_date:after {
    clear: both;
    content: "";
    display: block;
    height: 10px;
}

/*Subtitle*/
.chpcs_title span,
.newsmag-post-box-a span,
.widget_recent_entries span,
.posts-list span,
.banner-content span,
.newsmag-title span,
.newsmag-custom-header h1 span{
	display: block;
	font-size: 80%;
	line-height: 1.5;
}
/*Tabs*/
.ui-tabs ul.ui-tabs-nav > li:before{
	content:''!important;
}
.wordpress-post-tabs-skin-default .ui-tabs .ui-tabs-nav li.ui-state-active.ui-tabs-active{
	display:none;
}
.wordpress-post-tabs-skin-default .ui-tabs .ui-tabs-nav li.ui-state-default a{
	background: #2253A0 none repeat scroll 0% 0%;
	color: rgb(250, 250, 250) !important;
	margin-bottom: 10px;
	margin-right: 10px;
	display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
}


/*Kommentare*/

h3#reply-title {
    font-size: 16px;
    margin-top: 60px;
}
.newsmag-article-post .post-date .newsmag-date {
    color: #333;
    display: block;
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 5px;
}
.newsmag-author {
    display: block;
    margin-bottom: 20px;
}

/*Sidebar*/
.widget.widget_recent_entries:not(.widget_newsmag_banner) ul li{
margin-bottom:10px !important;
padding-bottom:10px !important;
}
.newsmag-blog-post-layout-b h4 {
    margin-bottom: 0;
}
/*footer*/
footer p, footer a{
font-size: 13px;
line-height: 20px;
}

.blogroll img {
    display: block;
    margin-bottom: 5px;
    margin-top: -20px;
    margin-left:-15px;
}
.site-footer .widget.widget_categories > ul > li, 
.widget_links > ul > li,
.customMetaWidget > ul > li{
padding-left:15px;
}
/*Meta*/
.customMetaWidget:before {
    clear: both;
    content: "";
    display: block;
    height: 1px;
}
.site-footer .customMetaWidget h3.widget-title {
    margin: 20px 0 5px;
}
/* Menu social */
#menu-social ul li a[href*="xing.com"]:before {
	content: '\f168';
	color: #026466;
}
/*Websites Links 269=ID Kategorie*/
#linkcat-269 li {
    padding-bottom: 30px;
}
/* Fix with IDs */
#newsmag_widget-3,
#newsmag_widget-4,
#newsmag_widget-5{
  display: inline;
}