/*
Theme Name: Grand News Child
Theme URI: http://themes.themegoods2.com/grandnews/landing
Description: Premium News & Magazine Theme
Version: 1.0
Tags: black, white, responsive-layout, custom-header, custom-background, threaded-comments, translation-ready, editor-style, custom-menu
Author: ThemeGoods
Author URI: http://themeforest.net/user/ThemeGoods
License: GNU General Public License
License URI: http://themeforest.net/licenses/regular_extended
Text Domain: grandnews
Template: grandnews
*/

.header_style_wrapper .top_bar {
	background-image:  url('images/stv-silhouette-blue-st-1091x498.png'), radial-gradient(circle at center, rgba(255,255,255,1) 0, rgba(255,255,255,.4) 70%, rgba(255,255,255,0) 90%, rgba(26,131,232,0) 100%);
	/* background-image:  url('images/stv-silhouette-blue-st-1091x498.png'); */
	background-color: #1A83E8;
	background-size: contain, 80%;
	background-position: 40% bottom, -120% 0;
	background-repeat: no-repeat, no-repeat;
	border-bottom: none;

}
#menu_wrapper .nav ul li ul,
#menu_wrapper div .nav li ul {
	border: none;
}
#menu_wrapper .nav ul li ul li a,
#menu_wrapper div .nav li ul li a,
#menu_wrapper div .nav li.current-menu-parent ul li a {
	border: none;
}
#menu_wrapper .nav ul li.megamenu ul li ul li,
#menu_wrapper div .nav li.megamenu ul li ul li a {
	color: #1a83e8;
}
/* fix small images */ 
.horizontal_gallery_wrapper tbody tr td img.horizontal_gallery_img { height: 450px; }
.ppb_blog_horizontal .horizontal_gallery .horizontal_gallery_wrapper .gallery_image_wrapper .horizontal_gallery_img { }

/* nab - move to desktop only 
.ppb_blog_horizontal .horizontal_gallery .horizontal_gallery_wrapper .gallery_image_wrapper .post_header {
	height: 30%;
	padding-top: 20px;
	margin-bottom: 7px;
	background-color: rgba(26,131,232,0.5);
} - nab end */


/*
.ppb_blog_horizontal .horizontal_gallery .horizontal_gallery_wrapper .gallery_image_wrapper .post_header .post_detail *,
.ppb_blog_fiterable_list_sidebar_pagination .sidebar_content .post_header .post_detail * {
	font-size: 0.85rem;
	line-height: 1.5;
}
.ppb_blog_horizontal .horizontal_gallery .horizontal_gallery_wrapper .gallery_image_wrapper .post_header .post_detail span.post_info_author,
.ppb_blog_fiterable_list_sidebar_pagination .sidebar_content .post_header .post_detail span.post_info_author {
	display: none;
}
*/
.post_header .post_detail * {
	font-size: 0.85rem;
	line-height: 1.5;
}
.home .post_header .post_detail span.post_info_author {
	display: none;
}
ul.post_filter li a {
	font-size: 1.3rem;
}
/* fix small images */
#page_content_wrapper .inner .sidebar_content img,
.page_content_wrapper .inner .sidebar_content img,
.one_half img, .one_third img, .one_fourth img, .one_fifth img, .two_third img,
.post_img, .post_img img {
	width: 100% !important;
}

.post_info_cat span {
	background-color: #1a83e8;
	font-weight: 600;
	padding: 4px 10px 2px;
}
.post_info_cat , .post_info_cat a, .post_info_cat a:hover,
.post_info_cat a, .post_info_cat a:hover { color: #fff !important; text-decoration: none !important; }

/* SIDEBARS */
.inner .sidebar .content ul.sidebar_widget li.widget_search { }
.inner .sidebar .content ul.sidebar_widget li.widget_search #searchform {
	font-size: 1rem;
}
.inner .sidebar .content ul.sidebar_widget li.widget_search #searchform #s {
	width: calc(100% - 60px);
	padding: .7em 1em .6em 1em;
}
.inner .sidebar .content ul.sidebar_widget li.widget_search #searchform #searchsubmit {
	padding: .8em 1em .7em 1em !important;
	margin-left: 0;
}
.inner .sidebar .content ul.sidebar_widget li.widget_search #searchform #searchsubmit i {
	font-size: 1.2rem;
}
.inner .sidebar .content ul.sidebar_widget li.widget_nav_menu {
	background-color: #f7f7f7;
}
.inner .sidebar .content ul.sidebar_widget li.widget_nav_menu h2.widgettitle, /* single posts */
#page_content_wrapper .sidebar .content ul.sidebar_widget li.widget_nav_menu h2.widgettitle { /* home page */
	font-size: 1.2rem;
	text-align: left;
	color: #1a83e8;
	
}
.inner .sidebar .content ul.sidebar_widget li.widget_nav_menu h2.widgettitle span, /* single posts */
#page_content_wrapper .sidebar .content ul.sidebar_widget li.widget_nav_menu h2.widgettitle span { /* home page */
	background-color: transparent;
	padding: 15px 30px 15px 65px;
}
.inner .sidebar .content ul.sidebar_widget li.widget_nav_menu h2.widgettitle::before, /* single posts */
#page_content_wrapper .sidebar .content ul.sidebar_widget li.widget_nav_menu h2.widgettitle::before { /* home page */
	content: '';
	position: absolute;
	left: 10px;
	top: 10px;
	border-bottom: none;
	width: 40px;
	height: 40px;
	background-color: #1a83e8;
}
.inner .sidebar .content ul.sidebar_widget li.widget_nav_menu ul#menu-sendungen {
	padding-top: 10px;
}
.inner .sidebar .content ul.sidebar_widget li.widget_nav_menu ul#menu-sendungen > li {
	float: none;
	font-weight: 500;
}
.inner .sidebar .content ul.sidebar_widget li.widget_nav_menu ul#menu-sendungen > li > a {
	padding-left: 30px;
}
.inner .sidebar .content ul.sidebar_widget li.widget_nav_menu ul#menu-sendungen > li:nth-child(odd) > a {
	background-color: #ebebeb;
}

/* SOCIAL ICONS */
.social_wrapper.large ul li {
	margin: 0 15px 15px 15px !important;
}
.social_wrapper.large ul li a i {
	font-size: 33px;
	line-height:35px;
}

/* FOOTER */
.footer_bar {
	position: relative;
}
.footer_bar #footer {
	position: relative;
	z-index: 1;
}
.footer_bar::before {
	content: "";
	background-image: url('images/stv-silhouette-white-st-1091x498.png');
	background-repeat: no-repeat;
	background-position: 70% -12px;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	opacity: 0.1;
}
.footer_bar::after {
	content: "";	
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 12px;
	background: linear-gradient(to right, #1a83e8, #3fbcf4);
}
.footer_bar_wrapper #copyright {
	color: #1a83e8;
}
#footer .sidebar_widget li.widget_nav_menu ul li {
	text-align: right;
	text-transform: uppercase;
	border-bottom: #444 1px solid;
}
#footer .sidebar_widget.three > li {
    width: 30.99%;
    float: right;
    margin-right: 3.5%;
}

/**
*
* NABDIGITAL ADDED STYLES
*
**/

/* basic content */
.post_content_wrapper h1, .post_content_wrapper h2, .post_content_wrapper h3, .post_content_wrapper h4, .post_content_wrapper h5, .post_content_wrapper h6 { line-height: 28px; color: #111 !important; }
#page_content_wrapper h1, #page_content_wrapper h2, #page_content_wrapper h3, #page_content_wrapper h4, #page_content_wrapper h5, #page_content_wrapper h6 { line-height: 28px; color: #111 !important; }
#post_content_wrapper h4, #page_content_wrapper h4 { font-size: 24px; font-weight: bold; margin-bottom: 10px !important; }



.post_info_comment, #post_info_comment { display: none !important; }
.post_button_wrapper { font-size: 18px; color: #1a83e8; }

a.readmore { font-size: 16px; color: #1a83e8; }
a.pagination_load_more { font-size: 30px; }
.pagination_load_more::before { border-bottom: 2px solid #1a83e8; }

/* search modal */
#overlay_background_search .search_wrapper .search_content form input { font-size: 48px!important; }

/* search results page */
.search_form_wrapper .searchform input[type="text"] { width: 50%; }
.search-results .one_third { width: 31.29% !important; } /* undo - fix small images */ 

/* social shares */
.social_share_counter { display: none; }
.post_share_center { text-align: left; }
.post_header.single h4 { margin-top: 16px; }
.social_share_button_wrapper ul li a { padding: 2px 14px 0 14px; line-height: 30px; height: 30px; font-size: 14px; }
.social_share_button_wrapper ul li a:hover { color: #fff !important; text-decoration: none !important}
#logo_right_button #search_icon i { font-size: 16px; }
#footer .sidebar_widget li.widget_nav_menu ul li { border-bottom-color: #fff; }

/* startpage - Post Slider */
.horizontal_gallery_wrapper tbody tr td .gallery_image_wrapper::after { display: none; }
.ppb_blog_horizontal .horizontal_gallery .horizontal_gallery_wrapper .gallery_image_wrapper .post_header { margin-bottom: 12px; }

/* single post */
.single .post_header { line-height: 28px; }
.single .post_header h1 { line-height: 42px !important; margin-top: 0 !important; }
.single .post_header .post_detail.post_date { margin-top: 0 !important; width: 85% !important; }
.single .post_header h4 { margin-top: 30px; }
.single .authorlink { color: inherit; }
.single .post_header .post_detail .post_info_date { font-size: 0.83rem !important; margin-top: 1px !important; }
.single .flagpm_photo_show .flagpm_carousel .flagpm_photo_carousel { width: 350px; }
.single .flagpm_photo_show .flagpm_photo_header .flagpm_actions { float: left; }
.single .read_next_wrapper .post_img { width: 120px !important; }
.single .read_next_wrapper::before { top: auto !important; margin-top: 14px !important; font-size: 72px !important; }
.single .read_next_wrapper h3 { margin-top: 0 !important; }
.single .post_header { margin-bottom: 0px !important; }
.single .post_header .post_detail.post_date { margin-bottom: 0px !important; }

/* blog, archive etc. */
.post_content_wrapper h5 { line-height: 36px !important; margin-top: 18px !important; }
.post_content_wrapper h5 a:hover { text-decoration: none !important; }
#about_the_author h4 { font-size: 24px !important; }


/* small cat box colorization */
span.catid12 { background-color: #1f3e75 !important; } /*jugendrat */
span.catid21 { background-color: #df3344 !important; } /* news */
span.catid5  { background-color: #5206fc !important; } /* trifft */
span.catid16 { background-color: #ef9719 !important; } /* das sagt */
span.catid30 { background-color: #97e05f !important; } /* sport */
span.catid34 { background-color: #434343 !important; } /* techchecker*/
span.catid35 { background-color: #e83f9f !important; } /* sirkas */
span.catid18 { background-color: #f3cd38 !important; } /* schultour */
span.catid11 { background-color: #bb3b42 !important; } /* spezial */

/* cat archive header */

body .post_category_tag a, body .post_category_tag span { padding: 4px 10px 2px 10px; letter-spacing: 2px; }

body.category #page_caption { padding: 10px 0; }
body.category #page_caption h1, body.category #page_caption .post_info_cat { color: #fff !important; }
body.category #page_caption h1:before { border-color: #fff; }
body.category #page_caption .breadcrumb { display: none; }

body.category-12 #page_caption, body.category-12 #page_caption h1 span, body.category-12 .pagination a, body.category-12 .pagination .pagination_page { background-color: #1f3e75 !important; } /* jugendrat */
body.category-21 #page_caption, body.category-21 #page_caption h1 span, body.category-21 .pagination a, body.category-21 .pagination .pagination_page { background-color: #df3344 !important; } /* news */
body.category-5  #page_caption, body.category-5  #page_caption h1 span, body.category-5  .pagination a, body.category-5  .pagination .pagination_page { background-color: #5206fc !important; } /* trifft */
body.category-16 #page_caption, body.category-16 #page_caption h1 span, body.category-16 .pagination a, body.category-16 .pagination .pagination_page { background-color: #ef9719 !important; } /* das sagt */
body.category-30 #page_caption, body.category-30 #page_caption h1 span, body.category-30 .pagination a, body.category-30 .pagination .pagination_page { background-color: #97e05f !important; } /* sport */
body.category-34 #page_caption, body.category-34 #page_caption h1 span, body.category-34 .pagination a, body.category-34 .pagination .pagination_page { background-color: #434343 !important; } /* techchecker */
body.category-35 #page_caption, body.category-35 #page_caption h1 span, body.category-35 .pagination a, body.category-35 .pagination .pagination_page { background-color: #e83f9f !important; } /* sirkas */
body.category-18 #page_caption, body.category-18 #page_caption h1 span, body.category-18 .pagination a, body.category-18 .pagination .pagination_page { background-color: #f3cd38 !important; } /* schultour */
body.category-11 #page_caption, body.category-11 #page_caption h1 span, body.category-11 .pagination a, body.category-11 .pagination .pagination_page { background-color: #bb3b42 !important; } /* spezial */

/* twitter & instagram */
h2.widgettitle { font-size: 28px !important; line-height: 32px !important; letter-spacing: 0.6px !important; }
#footer_photostream ul li a:hover { cursor: pointer !important; }

/* archive */
 .pagination a, .pagination .pagination_page { font-size: 18px; background-color: #1a83e8; color: #fff !important; padding: 4px 8px 8px !important; display: block !important; height: 24px !important; line-height: 24px !important; }
 
/* Startpage - Bilderslider */
img.horizontal_gallery_img { cursor: pointer !important; }

/* Startpage - Post Element Flters */
.ppb_blog_filterable_3cols .post_filter li:nth-child(1) a { color: #444; opacity: 1; } /* blog */
.ppb_blog_filterable_3cols .post_filter li:nth-child(2) a { color: #ef9719; opacity: 1; } /* das sagt */
.ppb_blog_filterable_3cols .post_filter li:nth-child(3) a { color: #5206fc; opacity: 1; } /* trifft */
.ppb_blog_filterable_3cols .post_filter li a:hover { opacity: 0.5; } /* blog */
.ppb_blog_filterable_3cols .ppb_subtitle_left h5 { color: #df3344; } /* news */

/* Sidebar - Sendealarm */
.sidebar .widget_text a { color: #1a83e8 !important; }
.sidebar .widget_text #ctf #ctf-more, .sidebar .widget .widget-button { color: #fff !important; }
.sidebar .widget .widget-button {
    display: block;
	margin: 20px 0 0;
    border: none;
    background: rgba(0,0,0,.05);
    width: 100%;
    min-height: 30px;
    padding: 5px 0;
    position: relative;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-transition: background 0.1s ease-in-out;
    -webkit-transition: background 0.1s ease-in-out;
    -o-transition: background 0.1s ease-in-out;
    transition: background 0.1s ease-in-out;
}
a.sendealarm { display: block; width: 404px; height: 412px; background: #061f44	 url('images/banner_sendealarm.jpg') no-repeat right top; }
a:hover.sendealarm { background-position: left top; }

/* Sidebar - Infobox */
.sidebar .infoxboxwidget div p { padding: 0 20px; }

/* Sidebar - Weather Widget */
.sidebar .awesome-weather-darken { background: rgba(0,0,0,0); }

#page_content_wrapper .inner .sidebar_content img.emoji { width: 20px  !important; }

/* video player not full width */
/* #video_caption { max-width: 1305px; margin-left: auto; margin-right: auto; } */
#video_caption.stvvideoplayer { margin-left: auto; margin-right: auto; }

#video_caption.stvvideoplayer { margin-top: 40px; }

/* presse */
.press-entry { margin-top: 20px; }

/* search */
.search .post_header_title h5 { margin-top: 6px !important; }
.search_form_wrapper .searchform input[type="text"] { width: 60%; }


/* contact form */
#nf-form-2-cont .nf-before-form-content { margin-bottom: 40px; }
#nf-form-2-cont .nf-form-content { margin: 0 0; }
#nf-form-2-cont .nf-form-content button, #nf-form-2-cont .nf-form-content input[type="button"], #nf-form-2-cont .nf-form-content input[type="submit"] { background: #1a83e8; }
#nf-form-2-cont .nf-form-content button:hover, #nf-form-2-cont .nf-form-content input[type="button"]:hover, #nf-form-2-cont .nf-form-content input[type="submit"]:hover { background: #333; color: #fff;}

/* general page formatting */
#page_content_wrapper { line-height: 28px; color: #444; }
#page_content_wrapper h1, #page_content_wrapper h2, #page_content_wrapper h3 { margin: 30px 0 12px;font-weight: bold; color: #444; }
#page_content_wrapper h1 { }
#page_content_wrapper p { margin-bottom: 0.6em; }
#page_content_wrapper a:hover { color: #1a83e8; text-decoration: underline; }
div.wp-caption { text-align: left !important; }

#menu_wrapper .nav li.catmenu2 > a::after, #menu_wrapper div .nav li.catmenu2 > a::after { font-size: 12px; }

.pagination .pagination_page { display: none!important; }

/* instagram footer */
a.instagramlink, a:hover.instagramlink { color: #111 !important; }

/* main menu */
#nav_wrapper { background-color: inherit !important; }
#main_menu .sub-menu li a { font-size: 18px !important; color: #111 !important; }
#main_menu .sub-menu li a:hover { color: #fff !important; }
#main_menu .sub-menu li.darkhead>a { color: #1A83E8 !important; font-weight: 800px !important; }
#main_menu .sub-menu li#menu-item-40442 a:hover { background-color: #df3344 !important; } /* news */
#main_menu .sub-menu li#menu-item-10696 a:hover { background-color: #ef9719 !important; } /* das sagt */
#main_menu .sub-menu li#menu-item-770 a:hover { background-color: #5206fc !important; } /* trifft */
#main_menu .sub-menu li#menu-item-17652 a:hover { background-color: #97e05f !important; } /* sport */
#main_menu .sub-menu li#menu-item-35331 a:hover { background-color: #434343 !important; } /* techchecker */
#main_menu .sub-menu li#menu-item-1528 a:hover { background-color: #1f3e75 !important; } /* jugendrat */
#main_menu .sub-menu li#menu-item-26531 a:hover { background-color: #f3cd38 !important; } /* schultour */
#menu_wrapper .nav ul li.megamenu ul li ul li, #menu_wrapper div .nav li.megamenu ul li ul li a { padding-top: 10px; }

/* mobile menu */
.mobile_menu_wrapper #close_mobile_menu_button { background-color: #1a83e8 !important; }
.mobile_menu_wrapper .mobile_main_nav li a, .mobile_menu_wrapper #sub_menu li a { line-height: 2em; font-weight: 600 !important; font-family: Hind, Helvetica, Arial, sans-serif !important; color: #111 !important; font-size: 22px !important; }
.mobile_menu_wrapper .mobile_main_nav li a:hover, .mobile_menu_wrapper #sub_menu li a:hover { color: #1a83e8 !important; }
.mobile_menu_wrapper .mobile_main_nav li a:focus, .mobile_menu_wrapper #sub_menu li a:focus { color: #111 !important; }
.mobile_menu_wrapper #sub_menu li#menu-item-40354>a, .mobile_menu_wrapper #sub_menu li#menu-item-40533>a { display: none; line-height: 0 !important; }
.mobile_menu_wrapper #sub_menu #menu_back { color: #1a83e8 !important; font-size: 12px !important; margin-bottom: 28px !important; }
.mobile_menu_wrapper #sub_menu .sub-menu li { margin-bottom: 22px !important; }
.mobile_menu_wrapper #sub_menu .sub-menu li a { line-height: 26px !important; }
.mobile_menu_wrapper #sub_menu .sub-menu { margin-left: 0 !important; list-style: none !important; }
.mobile_menu_wrapper li#menu-item-40351>a { display: none !important; }
.mobile_menu_wrapper #close_mobile_menu_button { font-size: 18px; width: 30px; height: 30px; line-height: 33px; }

/* misc */
.error_text { max-width: 700px; line-height: 60px; margin: 0 auto; }

/* Countdown */
body.background { font-family: Hind, Helvetica, Arial, sans-serif !important; }
body.background h1 { font-size: 32px !important; } 
body.background countdown { font-size: 64px !important; }


/**
*
* MOBILE DEVICES / RESPONSIVE STYLES
*
**/

/**
*
* Widescreen Devices
*
**/
@media only screen and (min-width: 1100px) {
	#video_caption.stvvideoplayer { width: 1040px; height: 585px; }
	.ppb_blog_horizontal .horizontal_gallery .horizontal_gallery_wrapper .gallery_image_wrapper .post_header {
		height: 30%;
		padding-top: 20px;
		margin-bottom: 7px;
		background-color: rgba(26,131,232,0.5);
	}
}

/* 
#Tablet (Landscape)
================================================== 
*/

@media only screen and (min-width: 960px) and (max-width: 1099px) {
	#video_caption.stvvideoplayer { width: 960px; height: 540px; }
	.ppb_blog_horizontal .horizontal_gallery .horizontal_gallery_wrapper .gallery_image_wrapper .post_header {
		height: 30%;
		padding-top: 20px;
		margin-bottom: 7px;
		background-color: rgba(26,131,232,0.5);
	}
}

/* 
#Tablet (Portrait)
================================================== 
*/
@media only screen and (min-width: 768px) and (max-width: 960px) {
	#video_caption.stvvideoplayer { width: 768px; height: 432px; }
	.ppb_blog_horizontal .horizontal_gallery .horizontal_gallery_wrapper .gallery_image_wrapper .post_header { text-shadow: 1px 1px #111; }
}

/*  
#Mobile (Portrait)
================================================== 
*/
@media only screen and (max-width: 767px) {

	.home .ppb_blog_horizontal, .home .ppb_blog_video, .home .ppb_blog_filterable_3cols { display: none; }
	#video_caption.stvvideoplayer { max-width: 640px; max-height: 360px; }
	.ppb_blog_horizontal .horizontal_gallery .horizontal_gallery_wrapper .gallery_image_wrapper .post_header { text-shadow: 1px 1px #111; }
	#overlay_background_search .search_wrapper .search_content form input { font-size: 28px !important; }
	/* #overlay_background_search .search_wrapper .search_content form .search_tagline { display: none !important; } */
	
	.header_style_wrapper .top_bar.scroll #logo_wrapper .logo_container { display: block !important; }
	.header_style_wrapper .top_bar { background-image: none; }
	.top_bar #logo_wrapper .logo_container a#custom_logo img {
		display: block;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		background: url('images/stv-logo-white.png') no-repeat;
		width: 200px;
		padding-left: 200px;
		height: 35px;
		background-size: 200px 35px;
		margin: 0 auto;
	}
	.top_bar.scroll #logo_wrapper .logo_container a#custom_logo img {
		width: 130px ;
		padding-left: 130px;
		height: 23px;
		background-size: 130px 23px;
		margin-bottom: -25px;
	}

}



/*
#Mobile (Landscape)
================================================== 
*/
@media only screen and (min-width: 480px) and (max-width: 960px) {

	.home .ppb_blog_horizontal, .home .ppb_blog_video, .home .ppb_blog_filterable_3cols { display: none; }
	#video_caption.stvvideoplayer { max-width: 960px; max-height: 540px; }
	.ppb_blog_horizontal .horizontal_gallery .horizontal_gallery_wrapper .gallery_image_wrapper .post_header { text-shadow: 1px 1px #111; }
	.header_style_wrapper .top_bar.scroll #logo_wrapper .logo_container { display: block !important; }
	.header_style_wrapper .top_bar { background-image: none; }
	.top_bar #logo_wrapper .logo_container a#custom_logo img {
		display: block;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		background: url('images/stv-logo-white.png') no-repeat;
		width: 285px;
		padding-left: 285px;
		height: 50px;
		background-size: 285px 50px;
		margin: 0 auto;
	}
	.top_bar.scroll #logo_wrapper .logo_container a#custom_logo img {
		width: 130px ;
		padding-left: 130px;
		height: 23px;
		background-size: 130px 23px;
		margin-bottom: -25px;
	}
}