/*
Theme Name: Panorama Auto
Author: Fabio Sirchia, Antonio Angeli, Softfobia
Author URI: https://wordpress.org/
Description: siamo partiti dal twentyseventeen per fare questo tema.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: panorama-auto

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body.single-post .gallery .slick-slide figure:after {
    background-image: url("./assets/images/gradiente_gallery_foglia.png");
}

.article-tags .tag-label {
    padding: 6px 10px 4px 10px;
}

.ameheader_nav > ul li.selected a:after{
    background-color: transparent;
}

.ameheader_nav ul li.selected > a:after{
    background-color: #e80a33;
}
.load-more-container .load-more.ajax-load, .load-more-container .load-more:hover.ajax-load, .load-more-container .load-more:active.ajax-load, .load-more-container .load-more:focus.ajax-load {
    background-image: url("./assets/css/ajax-loader.gif");
    background-repeat: no-repeat;
    height: 53px;
    background-position: center;
}
/* Gestione contenitori immagini a rapporto fisso */
.ratio-wrapper {
  width: 100%;
  position: relative;
}
.ratio-wrapper.r-4-3 {
  /* 4:3 */
  padding-bottom: 75%;
}
.ratio-wrapper.r-3-4 {
  /* 3:4 */
  padding-bottom: 133.33%;
}
.ratio-wrapper.r-16-9 {
  /* 16:9 */
  padding-bottom: 56.25%;
}
.ratio-wrapper.r-3-2 {
  /* 3:2 */
  padding-bottom: 66.67%;
}
.ratio-wrapper.r-1-1 {
  /* 1:1 */
  padding-bottom: 100%;
}
.ratio-wrapper.r-7-8 {
  /* 7:8 */
  padding-bottom: 114.28%;
}
.ratio-wrapper.header-speciale .ratio-content {
  overflow: hidden;
}
.ratio-wrapper.header-speciale .ratio-content img {
  -ms-transform: none;
  -webkit-transform: none;
  transform: none;
  margin: -16px 0 0 -16px;
}
.ratio-wrapper.header-speciale .ratio-content img.lazy-loaded {
  position: static;
  margin: 0;
}
.ratio-wrapper.header-speciale.canale-desktop {
  padding-bottom: 26.68%;
}
.ratio-wrapper.header-speciale.foglia-desktop {
  padding-bottom: 11.87%;
}
.ratio-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.ratio-content img {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.slick-dots .number_red{
  color:#ea0039;
  font-size: 26px;
  font-weight: 700;
}
.slick-dots .number_white{
  color:#fff;
  font-size: 16px;
  font-weight: 700;
}

.channel-top-band figure img{
	width:auto !important;
}
img.img-responsive.lazy{
	text-align:center;
	margin:auto;
}
.copy{
	margin-right: 0 !important;
    margin-left: 20px;
}
.author-napa-incontent {
	display: none;
}
@media screen and (max-width: 768px) {
	.mediamond-tag.hide-desk {
		margin-left: -10px;
	}
	.news-blocks .news-blocks .mediamond-tag-bp-m.hide-desk {
		margin-left: 0;
	}
	.logo-brand-widget{
		text-align:center;
	}
}

.napa-title {
	width: 80%;
	float: left;
}

.brand_right {
	width: 20%;
	float: right;
}

.napa-article-sponsored-text {
	float:left;
	margin-left: -130px;
}
.napa-article-collab-text {
	float:left;
	margin-left: -130px;
}
.napa-article-collab-text strong {
	text-transform: uppercase;
	font-weight: 300 !important;
	font-style: normal;
	font-size: 15px;
}
.napa-article-sponsored-text strong {
	text-transform: uppercase;
	font-weight: 300 !important;
	font-style: normal;
	font-size: 20px;
}

header p {
	width: 100%;
	clear: both;
}

.author-napa-intext {
	width: 120px;
	height:120px;
	float: left !important;
	background: #fff;
	margin: 18px;
	margin-top: 0px;
	margin-bottom: 0px;
}

.napa-sponsored-intext, .napa-sponsored-logo-intext {
	background: #fff;
	text-align: center;
}

.napa-sponsored-intext strong {
	text-transform: uppercase;
	font-weight: 300 !important;
	font-style: normal;
	font-size: 12px;
}

.napa-sponsored-logo-intext img {
	border-radius: 4px;
	margin-right: 8px;
	max-width: 120px !important;
	max-height: 80px;
}
.napa-sponsored-logo-intext{
	    line-height: 80px;
}
.napa-sponsored-intext {
	padding-top: 10px;
}

.text-copyright {
	padding-bottom: 10px;
	padding-top: 10px;
}
/*CCS Napa */
.author-brand-image {
	max-height: 120px;
	max-width: 120px;
}

.brand_right .author-brand-image {
    max-height: 60px;
    max-width: 60px;
	
}

.auth-e-date {
	text-transform: none;
}

.napa-sponsored-story {
	float: right;
	text-align: left;
	font-size: 14px;
	text-transform: none;
	margin: 10px auto;
}
.brand-top-story.sponsored h1,
.thumb span.label.sponsored,
.block span.label.sponsored {
	background: #1c2239;
}
.brand-top-story.consigliato h1,
.thumb span.label.consigliato,
.block span.label.consigliato {
	background: #8250ff;
}
.brand-top-story.offers h1,
.thumb span.label.offers,
.block span.label.offers {
	background: #0a4bff;
}
.thumb span.label.offers, .thumb span.label.sponsored, .thumb span.label.consigliato {
	width: 100%;
	text-transform: none;
	padding: 15px 10px 13px 10px;
	text-align: right;
	font-size: 16px;
	font-weight: 400;
}

.image-napa-hp {
	height: auto !important;
	max-height: 123px !important;
	max-width: 144px !important;
}

.brand-blocks .article-entry:before {
	content: "";
	display: block;
	border-top: 1px solid #939394;
	margin-bottom: 5px;
}

.brand-blocks .block h3 a, .brand-blocks .block .article-entry h2 a {
	font-size: 18px;
}

.brand-blocks .block h3 a, .brand-blocks .block .article-entry h2 {
	font-size: 0px;
	margin-bottom: 0px;
	margin-top: 0px;
}

.branded-banner-hp {
	max-width: 290px;
	max-height: 290px;
}

.section-header .brand-payoff {
	color: #A4A8AD;
	font-weight: 300;
	margin-left: 20px;
	padding-left: 20px;
	border-left: 1px solid #D9D9D9;
}

.section-header .brand-payoff {
	color: #A4A8AD;
	font-weight: 300;
	margin-left: 20px;
	padding-left: 20px;
	border-left: 1px solid #D9D9D9;
}

.brand-blocks-header .brand {
	float: left;
}

.brand-blocks-header .brand-payoff {
	float: left;
	font-size: 23px;
	margin-left: 25px;
	font-size: 23px;
}

.brand-blocks-header {
	margin-bottom: 10px;
}

.blocks .block.horizontal-block .left-block .padd .label {
	padding-right: 10px;
	z-index: 99;
}
.blocks .block.horizontal-block .left-block .padd .label.consigliato,
.blocks .block.horizontal-block .left-block .padd .label.sponsored,
	.blocks .block.horizontal-block .left-block .padd .label.offers {
	width: 296px;
}
.article-highlight {
    position: relative;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.article-highlight .highlight-title {
    background-color: #d8d8d8;
    padding: 5px 8px;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
	text-align: left;
	height: 29px;
}
.article-highlight .media {
 	margin-top: 0px;
}
.article-highlight .media img{
    height: auto;
}
.media > .pull-left {
    max-width: 47%;
}
.media-left, .media > .pull-left {
    padding-right: 10px;
}
.media-body {
    width: 10000px;
}
.article-highlight .media-body .article-title {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 19px;
	text-align: left;
}

.article-highlight .media-body .article-title a {
	color: #252834;
}

.article-highlight {
	margin-bottom: 20px;
}

.ineditorial {
	margin-top: 10px;
}

.brand-blocks {
	margin-bottom: 30px;
}
.napa-article-sponsored-logo a{
	width: 70px;
	text-align:center;
    height: 70px;
    float: left !important;
    background: #fff;
    margin-left: 5px;
	line-height: 70px;
}
@media screen and (max-width: 768px) {
	.article-highlight .media {
		height: 124px;
	}
	.brand-blocks {
		margin-bottom: 0px;
	}
	.brand-blocks-header .brand {
		float: none;
		text-align: center;
		margin-bottom: 10px;
	}
	.brand-blocks-header .brand-payoff {
		margin-left: 0px;
		float: none;
		text-align: center;
	}
	.brand_right {
		display: none;
	}
	.napa-title {
		width: 100%;
		float: none;
	}
	.author-napa-incontent {
		width: initial !important;
		background: #fff;
		margin: 18px;
		margin-top: 0px;
		display: block;
		padding-bottom: 10px;
	}
	.napa-sponsored-incontent, .napa-sponsored-logo-incontent {
		background: #fff;
		text-align: center;
	}
	.napa-sponsored-incontent {
		padding-top: 10px;
	}
	.napa-sponsored-incontent strong {
		text-transform: uppercase;
		font-weight: 300 !important;
		font-style: normal;
		font-size: 12px;
	}
	.napa-sponsored-logo-incontent img {
		border-radius: 4px;
		margin-right: 8px;
		max-width: 120px !important;
	}
	.blocks .block.horizontal-block .left-block .padd .label.consigliato,
		.blocks .block.horizontal-block .left-block .padd .label.sponsored,
		.blocks .block.horizontal-block .left-block .padd .label.offers {
		width: 100%;
	}
}
/* Fine CCS Napa */

@media screen and (min-width: 768px) {
	.ameheader_bottom_container h1 {
	   	display: none;
	}
	.ameheader_header_sticky .ameheader_second_logo, .ameheader_topstrip .ameheader_second_logo{
		display: block;
	}
}

#newsstand{
	text-align: center;
    background: white;
}
