/* Immagine di sfondo del sito cliccabile */
div.newsstand-full-boxed-background {
	height: 100%;
	width: 100%;
	position: fixed;
	background-position: center top;
	cursor: pointer;
}
.body-wrapper.newsstand-boxed-style {
    z-index: 2;
    position: relative;
}
@media screen and (max-width: 960px){
	.body-wrapper.newsstand-boxed-style {
	    z-index: initial;
	}
}
img.newsstand-full-boxed-background {
    z-index: 0;
    cursor: pointer;
}
@media screen and (max-width: 959px){
div.newsstand-full-boxed-background {
	display: none;
}
}

/* HOME PAGE */

/* Slider doppio degli articoli in evidenza */
#container-slider-home{
	max-width: 1120px;
	position: relative;
	width: 100%;
	margin: 0px auto;
}
@media screen and (min-width: 768px){
div#no-margin-right .newsstand-blog-carousel-item {
	margin-right: 0;
}
div#no-margin-left .newsstand-blog-carousel-item {
	margin-left: 0;
}
}

/* Riduco il padding di default del tema per l'area di contenuto della pagina */
.section-container{
	padding-top: 5px;
}

/* Banner Maximaratona Home */
div#maximaratona-home {
    background-color: #e42d1a;
    padding: 0 0.6em;
    margin-bottom: 1em;
}
div#maximaratona-home h3, div#maximaratona-home p {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0;
}
@media screen and (min-width: 768px) and (max-width: 980px), screen and (max-width: 419px){
	div#maximaratona-home h3 {
		font-size: 1.7em;
	}
}

div#rivista-home{
	position: relative;
	margin-top: 1em;
}
div#rivista-home img {
	max-width: 250px;
	display: block;
	position: relative;
	z-index: 11;
	transform: rotate(7deg);
	margin: 0 auto;
}

/* Banner in home "sommario" e pulsanti "abbonamento" e "store" */
div#sommario-home{
	position: absolute;
	z-index: 12;
	background-color: #e42d1a;
    color: #ffffff;
    padding: 0.3em 1em;
    font-size: 1.2rem;
    font-weight: bold;
    left: 1vw;
    top: 18vh;
}
div#sommario-home p{
	margin-bottom: 0;
}
div#sommario-home a {
	color: #ffffff;
}
div#pulsanti-abbonati-home ul{
	text-align: right;
    margin: -2em 3em 0 0;
}
@media screen and (min-width: 768px) and (max-width: 959px){
	div#pulsanti-abbonati-home ul{
		text-align: center;
    	margin: -4em 0 0 0;
	}
}
@media screen and (max-width: 419px), screen and (min-width: 960px) and (max-width: 980px){
	div#pulsanti-abbonati-home ul{
    	margin: -2em 0 0 0;
	}
}
div#pulsanti-abbonati-home li{
	position: relative;
	z-index: 12;
    list-style: none;
    display: inline-block;
    background-color: #e42d1a;
    padding: 0.5em 0.7em;
    margin-bottom: 4px;
    min-width: 6em;
    text-align: center;
}
div#pulsanti-abbonati-home li a {
	color: #ffffff;
}

/* Blocco a metà homepage con immagine pulsante "Scopri" e testo "Il calendario gare" */
#scopri-calendario h3 {
	color: #ffffff;
	top: -20px;
	position: relative;
	z-index: 1;
}
#scopri-calendario a {
	position: relative;
	z-index: 1;
	padding: 8px 28px;
	text-transform: capitalize;
	font-size: 1rem;
}

/* slider gallerie in homepage */
.newsstand-caption-wrapper.post-slider{
	background-color: #000000;
}

/* rimuovo il clear dal banner in fondo alla home per allinearlo sotto il blocco con le 6 categorie della rubrica */
#no-clear .clear {
	clear: none;
}

/* FINE HOME PAGE */

/* WIDGETS */

/* Riduco il margine di default del tema per ravvicinare i widget incolonnati */
.widget.newsstand-widget {
	margin-bottom: 40px;
}

#subcat-widget > li > a:after{
	content: "+";
	float: right;
	font-size: 1.4rem;
	margin-right: 1rem;
	-webkit-transition: 300ms ease-in-out;
	-moz-transition: 300ms ease-in-out;
	-o-transition: 300ms ease-in-out;
	transition: 300ms ease-in-out;
}
#subcat-widget > li.jsopen > a:after{
   transform: rotate(45deg) !important;
}
#subcat-widget > li.jsopen > ul{
	max-height: 500px;
	transition: max-height 300ms ease-in;
	-webkit-transition: max-height 300ms ease-in;
	-moz-transition: max-height 300ms ease-in;
	-o-transition: max-height 300ms ease-in;
}
.children{
	max-height: 0;
	transition: max-height 300ms ease-out;
	-webkit-transition: max-height 300ms ease-out;
	-moz-transition: max-height 300ms ease-out;
	-o-transition: max-height 300ms ease-out;
	overflow: hidden;
	margin-bottom: 0;
}
ul ul {
	list-style: initial;
}
/* banner widget */
.gdlr-banner-widget-wrapper.gdlr-banner-size-1 {
	padding: 0;
	border-width: 0;
}
.gdlr-banner-widget-wrapper.gdlr-banner-size-1 .newsstand-post-banner-item {
	padding: 0;
	margin: 0;
}
.gdlr-banner-size-1 li{
	float: none !important;
	opacity: 1 !important;
	z-index: 1 !important;
	margin-bottom: 15px;
}
ul.flex-direction-nav {
	display: none;
}
/* widget 12 copertine */
.issue-cover-widget {
	padding: 6px;
	box-sizing: border-box;
	float: left;
	position: relative;
	min-height: 150px;
	width: 33.333%;
}

/* FINE WIDGETS */

/* Pagina "Rivista" */
#abbonati-image a{
	position: absolute;
	bottom: -3em;
	right: -2em;
	width: 45%;
}
@media screen and (max-width: 767px){
#abbonati-image a{
	right: -1em;
}
}
a.more-link {
    margin: 2em;
    float: right;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: underline;
}
.issue-feat-img {
	position: relative;
	float: left;
	margin: 0 2em 2em 0;
	max-width: 300px;
}
@media screen and (max-width: 768px){
	.issue-feat-img {
		float: none;
		margin: 0 0 2em;
		max-width: 100%;
	}
}

/* Header pagina Calendario */
#calendar-header{
	position: relative;
}
#calendar-header p{
	margin: 0;
}
#calendar-header p:first-child{
	position: absolute;
	top: 0;
	left: 0;
	background-color: #e42d1a;
	font-size: 2rem;
	padding: 0.1rem 1rem;
	color: #ffffff;
}
#calendar-header img{
	margin: 0;
	display: block;
}
#calendar-header .calendar-form{
	position: absolute;
	bottom: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	   -moz-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	     -o-transform: translateX(-50%);
	        transform: translateX(-50%);
	background-color: #f3f3f3;
	max-width: 740px;
	width: 100%;
	padding: 1rem;
	box-sizing: border-box;
}
@media screen and (max-width: 767px){
	#calendar-header .calendar-form{
		position: relative;
	}
}
/* Form pagina Calendario */
.calendar-form label{
	color: #e42d1a;
	font-weight: bold;
}
.calendar-form .columns{
	margin-bottom: 1rem;
}
.calendar-form input[type="submit"] {
    border: none;
    background-color: #e42d1a;
    margin: 0;
    color: #ffffff;
    padding: 0.6rem 1rem;
    float: right;
}
.calendar-form .text-right{
	text-align: right;
}
@media screen and (max-width: 767px){
	.calendar-form .text-right{
		text-align: initial;
	}
}
.calendar-form hr{
	margin: 0;
}
.advanced-search{
	position: relative;
}
.advanced-search a{
	font-weight: bold;
	color: #000000;
}
.advanced-search a::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 5px solid #000000;
	border-bottom: 5px solid transparent;
	border-top: 5px solid transparent;
	position: absolute;
	top: 35%;
	margin-left: 8px;
}

/* DFP Banner Widget and Page Builder Element */
.dfp-banner-container{
	margin: 0 auto;
	position: relative;
}
.dfp-banner-widget, .dfp-banner-item {
    margin-bottom: 15px;
}
.dfp-banner-widget > *, .dfp-banner-item > * {
    display: block;
    margin: 0 auto;
}

/* DFP Banner for "Top Skin" - "Left Skin" - "Right Skin" */
.top-skin-dfp-banner{
	max-height: 150px;
	height: 100%;
	width: 100%;
	overflow: hidden;
}
.top-skin-dfp-banner > div, .top-skin-dfp-banner iframe, .top-skin-dfp-banner img {
	width: 100% !important;
	height: auto !important;
}
.left-skin-dfp-banner{
	width: 350px;
	overflow: hidden;
	height: 100vh;
	background-color: #e5e5e5;
	position: absolute;
	top: 41px;
	left: 50%;
	z-index: 1;
	-webkit-transform: translateX(-960px);
	   -moz-transform: translateX(-960px);
	    -ms-transform: translateX(-960px);
	     -o-transform: translateX(-960px);
	        transform: translateX(-960px);
}
.right-skin-dfp-banner{
	width: 350px;
	overflow: hidden;
	height: 100vh;
	background-color: #e5e5e5;
	position: absolute;
	top: 41px;
	right: 50%;
	z-index: 1;
	-webkit-transform: translateX(960px);
	   -moz-transform: translateX(960px);
	    -ms-transform: translateX(960px);
	     -o-transform: translateX(960px);
	        transform: translateX(960px);
}
@media screen and (max-width: 1220px){
	.right-skin-dfp-banner, .left-skin-dfp-banner{
		display: none !important;
	}
}

.scw-credits{
	color: #000000;
	margin: 10px 15px 0;
}