/*
   Theme Name:   GP Child
Description:  Generate Press Child Theme
Author:       Entire Digital
Template:     generatepress
Version:      1.0.2
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         GP extend
Text Domain:  generatepress_child
 */

:root {
	--main-color: #9c65ab;
}

/* css for skin */
body.activeS .header-wrap .site-header{
	background-color:transparent !important;
}
body.activeS .header-wrap .site-header .grid-container{
	background: rgba(255,255,255,0.4);
}
body.activeS .header-wrap #masthead {
	position:relative;
}
body.activeS #site-navigation {
	max-width: 1100px;
	margin: auto;
	padding: 0 40px;
}
body.activeS .page-hero{
	max-width: 1180px;
	margin: auto;
}
body.activeS #page{
	padding:0 20px;
	background-color: #efefef;
}
#page{
position:relative;
}

body:not(.home) #primary {
	max-width:680px;
}

/* sidebar fixed width fix @since 2021 13 04 */
div#right-sidebar {
	width: 300px;
}
@media (min-width: 768px) {
	.tablet-grid-70 { width: calc(100% - 300px); }
}

#right-sidebar.widget-area .widget{padding-left:0;padding-right:0;}

/* remove global table style */
table, th, td { border:none; }
table { margin:0; padding:0; }
th, td { border:none; padding:0; margin:0; }

/* remove rounded border */
body .inside-article,
body .sidebar .widget,
body .comments-area {
	border-radius:0;
	box-shadow:none;
	transition:none;
}

body .inside-article:hover,
body .sidebar .widget:hover,
body .comments-area:hover {
	box-shadow:none;
}

.footerLoghi{
display: flex;
    justify-content: space-between;
}

.tac { text-align:center; }
.mymb { margin-bottom:15px; }
.mymt { margin-top:15px; }
.n1ad-center { text-align:center; line-height:0; }
.n1ad-center-300 { width:300px; margin-left:auto; margin-right:auto; line-height:0; }
.n1ad-center-320 { width:320px; margin-left:auto; margin-right:auto; line-height:0; }
.n1ad-center-468 { width:468px; margin-left:auto; margin-right:auto; line-height:0; }
.n1ad-center-728 { width:728px; margin-left:auto; margin-right:auto; line-height:0; }

.n1ad-center div#vidcar4s{margin:auto}

/* enlarge sidebar container by 20px for GP's grid-30 and .widget width accordingly */
@media (min-width:1025px) {
	/*
		body.single #right-sidebar.grid-30,
		body.page #right-sidebar.grid-30
			{ float: left; width: calc(30% + 20px); }
		body.single #right-sidebar .inside-right-sidebar .widget,
		body.page #right-sidebar .inside-right-sidebar .widget
			{ width:100%;/* padding-right:20px; }
	*/
	body:not(.home) #primary {max-width:70%;width:100%;}

	body #content {
		display:flex;
		justify-content:center;
		background:#ffffff;
	}

	/* no need without featured post activated in customize | layour | blog | archive --- ...article:not(:first-of-type)... */
	/*.generate-columns-container article .inside-article .post-image,*/
	/* this depends if use big featured image of first post or not */
	/* .generate-columns-container article:not(:first-of-type) .inside-article .post-image,
	.generate-columns-container.splitted article .inside-article .post-image */

	/* only set height to normal items, not featured big one */
	.generate-columns-container.splitted article.grid-50 .inside-article .post-image
	{
		height:190px;
		overflow:hidden;
	}

	/* with Cesare filter to use medium_large, we must css fix to 100% in featured big one (Daniele bug report) */
	.generate-columns-container.splitted article.grid-100 .inside-article .post-image img
	{
		width:100%;
		height:auto;
	}

	.generate-columns-container.gp-custom-posts article:first-of-type .inside-article .post-image {
		height:auto;
	}

	.inside-footer-widgets .footer-widget-1 {
		width:30%;
	}

	.inside-footer-widgets .footer-widget-2 {
		width:70%;
	}
}

/* hides sidebar on small devices (not mobile). for mobile it's hidden via PHP in overriden sidebar.php */
@media (max-width: 767px) {
	#right-sidebar {
		display:none;
	}
}


/* same category posts in sidebar */
#right-sidebar h2.widget-title { margin-bottom:10px; font-weight:bold;padding:0 10px 10px 10px;text-align:center; }
#right-sidebar .same-category-posts .same-category-post-item { border-bottom:1px solid #eee; margin-bottom:10px; }
#right-sidebar .same-category-posts .same-category-post-item:last-child { border-bottom:0; margin-bottom:0; }
#right-sidebar .same-category-post-item a.post-title { padding-right:10px; padding-left:10px;font-weight:bold; display:block; }
#right-sidebar .same-category-post-item p { padding-right:10px;  padding-left:10px;}

/* custom area that starts after comments */
.after-main-content-wrapper { background-color:white; padding:0 30px 30px 30px; }

.after-main-content-wrapper .widget-title { font-weight:bold; }

/* same category posts under post content */
.after-main-content-wrapper .same-category-posts { margin:1em 0 0 0; }
.after-main-content-wrapper .same-category-posts ul { margin:0; list-style:none; }
.after-main-content-wrapper .same-category-posts ul .same-category-post-item { border-bottom:1px solid #eee; margin-bottom:20px; padding:15px;background: #efefef; }
.after-main-content-wrapper .same-category-posts ul .same-category-post-item a.post-title { font-size:22px; line-height:30px; }
.after-main-content-wrapper .same-category-posts ul .same-category-post-item p:last-child { margin-bottom:0; }
.after-main-content-wrapper .same-category-posts ul .same-category-post-item:last-child { border-bottom:0; margin-bottom:0; }

.site-main > .comments-area { padding:0 30px 30px 30px; }
/* fix GP nested .comment-area resulting in double padding */
.comments-area > .comments-area { padding:0; }

/* social */

/* fb big share buttons */
.fbbsb-buttons {
	overflow:hidden;
	display:flex;
	height:35px;
	/* margin-bottom:15px; useless, put by <header> */
	vertical-align:bottom;
	font-family:Arial,sans-serif;
}
@media (max-width: 569px) {
	.fbbsb-buttons {
		margin-left: 0;
		display: flex;
		float: none;
	}
}
.fbbsb-button {
	margin-right: 0;
}
.fbbsb-button { width:40px; display:block; float:none; text-align:center; padding:4px 0; /*margin:0 4px 4px 0;*/ text-decoration:none; -moz-border-radius:0; -webkit-border-radius:0; -khtml-border-radius:0; border-radius:0; flex:1 1 0;}
.fbbsb-button.fbbsb-button-intro { display:none; }
/*{ text-indent:-9999px; display:block; width:30px; height:30px; margin:2px 0 0 0;
 *         background:transparent url("./images/fb-big-share-buttons/share.png") top left no-repeat;
 *                 -webkit-background-size:contain; -moz-background-size:contain; -o-background-size:contain; background-size:contain; }
 *                  .fbbsb-button .fbbsb-intro { line-height:30px; height:30px; color:black; font-size:1.2rem; } */
.fbbsb-button .fbbsb-icon { display:none; }
/*{ float:left; display:block; margin:7px 0 0 7px; width:20px; height:20px;
 *         background:transparent url("./images/fb-big-share-buttons/icons.png") no-repeat; }*/
.fbbsb-button .fbbsb-text { float:none; display:inline-block; /*height:34px; line-height:34px;*/ color:white; font-size:1.1rem; margin:0; }
.fbbsb-button .fbbsb-counter { float:none; display:inline-block; height:20px; line-height:20px; margin:0 8px; color:black;
	padding:0 3px; background-color:rgba(255,255,255,0.5);
	-moz-border-radius:3px; -webkit-border-radius:3px; -khtml-border-radius:3px; border-radius:3px; }
/* facebook */
a.fbbsb-button-facebook { background-color:#3b5998; }
a.fbbsb-button-facebook:visited, a.fbbsb-button-facebook:active, a.fbbsb-button-facebook:hover {
	background-color:#8b9dc3;
	text-decoration:none;
}
a.fbbsb-button-facebook span.fbbsb-icon { background-position:0 0; }
a.fbbsb-button-facebook.fbbsb-textual {
	display:inline; width:auto; height:auto;
	background:none; border:0 none; text-shadow:none;
}
a.fbbsb-button-facebook.fbbsb-textual:hover { background:none; }
a.fbbsb-button-facebook.fbbsb-textual span { color:initial; display:inline; line-height:inherit; height:auto; font-size:inherit; text-align:left; }
/* google */
a.fbbsb-button-google { background:#C63D2D; }
a.fbbsb-button-google:visited, a.fbbsb-button-google:active, a.fbbsb-button-google:hover {
	background:#e85c46;
	text-decoration:none;
}
a.fbbsb-button-google span.fbbsb-icon { background-position:0 -40px; }

a.fbbsb-button-google.fbbsb-textual {
	display:inline; width:auto; height:auto;
	background:none; border:0 none; text-shadow:none;
}
a.fbbsb-button-google.fbbsb-textual:hover { background:none; }
a.fbbsb-button-google.fbbsb-textual span { color:initial; display:inline; line-height: inherit; height:auto; font-size:inherit; text-align:left; }
/* twitter */
a.fbbsb-button-twitter { background: rgb(5,171,224); /* Old browsers */ }
a.fbbsb-button-twitter:visited, a.fbbsb-button-twitter:active, a.fbbsb-button-twitter:hover {
	background: rgb(135,224,253);
	text-decoration:none;
}
a.fbbsb-button-twitter span.fbbsb-icon { background-position:0 -20px; }
a.fbbsb-button-twitter.fbbsb-textual {
	display:inline; width:auto; height:auto;
	background:none; border:0 none; text-shadow: none;
}
a.fbbsb-button-twitter.fbbsb-textual:hover { background:none; }
a.fbbsb-button-twitter.fbbsb-textual span { color:initial; display:inline; line-height: inherit; height:auto; font-size:inherit; text-align:left; }
/* linkedin */
a.fbbsb-button-linkedin { background:#4875B4; }
a.fbbsb-button-linkedin:visited, a.fbbsb-button-linkedin:active, a.fbbsb-button-linkedin:hover {
	background:#658fd1; /* Old browsers */
	text-decoration:none;
}
a.fbbsb-button-linkedin span.fbbsb-icon { background-position:0 -60px; }
a.fbbsb-button-linkedin.fbbsb-textual {
	display:inline; width:auto; height:auto;
	background:none; border:0 none; text-shadow: none;
}
a.fbbsb-button-linkedin.fbbsb-textual:hover { background:none; }
a.fbbsb-button-linkedin.fbbsb-textual span { color:initial; display:inline; line-height: inherit; height:auto; font-size:inherit; text-align:left; }
/* whatsapp */
a.fbbsb-button-whatsapp { background-color:#5cbe4a; }
a.fbbsb-button-whatsapp:visited, a.fbbsb-button-whatsapp:active, a.fbbsb-button-whatsapp:hover {
	background-color:#5cbe4a;
	text-decoration:none;
}
a.fbbsb-button-whatsapp span.fbbsb-icon { background-position:0 -80px; }
a.fbbsb-button-whatsapp.fbbsb-textual {
	display:inline; width:auto; height:auto;
	background:none; border:0 none; text-shadow: none;
}
a.fbbsb-button-whatsapp.fbbsb-textual:hover { background:none; }
a.fbbsb-button-whatsapp.fbbsb-textual span { color:initial; display:inline; line-height: inherit; height:auto; font-size:inherit; text-align:left; }
/* messanger */
a.fbbsb-button-messenger {
    background-color: #448aff;
}

a.fbbsb-button-twitter,
a.fbbsb-button-messenger,
a.fbbsb-button-whatsapp {
    max-width: 10%;
}

.mobile-share .fbbsb-button .fbbsb-text {
	font-size: 15px;
	padding: 0px 3px 5px 0;
	line-height: 1em;
}
.mobile-share a.fbbsb-button {
	float: left;
	border-right: 1px solid #fff;
	box-sizing: border-box;
}
.mobile-share a.fbbsb-button-facebook {
	max-width: 80%;
}

/* correlati */

.posts-1,
.posts-2 {
	margin: 25px 0;
	text-align: left;
/*	padding: 0 20px 20px 20px;*/
}

.posts-1.sb-widget,
.posts-2.sb-widget {
	margin-bottom: 20px;
	margin-top: 0;
}

.posts-1 .widget-title,
.posts-2 .widget-title {
	text-align: left;
	padding: 20px 0;
	border-top: none;
	margin-bottom: 0;
	font-weight: 700;
}

.posts-1 .cp-widget,
.posts-2 .cp-widget {
	padding: 0 20px;
}

.posts-1.sb-widget ul,
.posts-2.sb-widget ul{
	margin:0;
    display: flex;
    flex-direction: column;
}
.pgsts-1.same-category-posts .post-title,
.posts-2.same-category-posts .post-title {
	font-weight: 900;
	display: block;
	font-size: 1.17em;
	line-height: 1.2;
	margin-bottom: 10px;
}

.site-info {
	border-top: 3px solid rgba(255,255,255,.3);
	font-size: 14px;
}

.inside-footer-widgets .footer-widget-1 #custom_html-2{
margin-bottom:10px;
}
.footer-bar-active .footer-bar .widget, .footer-bar p{
margin-bottom:0px;
}

.footer-bar-align-right .footer-bar, .footer-bar-align-left .copyright-bar{
float: left;
    text-align: left;
}

@media (min-width:480px) {

	.posts-1 .same-category-post-item a:first-child,
	.posts-2 .same-category-post-item a:first-child {
		float:left;
		max-width:50%;
	}

	.posts-1 .same-category-post-item img,
	.posts-2 .same-category-post-item img {
		padding-right:15px;
		display:block;
	}

	.posts-1 .same-category-post-item img,
	.posts-1 .same-category-post-item a,
	.posts-1 .same-category-post-item p,
	.posts-2 .same-category-post-item img,
	.posts-2 .same-category-post-item a,
	.posts-3 .same-category-post-item p {
		box-sizing:border-box;
	}

}

.ntz-heading{
	position: absolute;
	top: 0px;
	right: 0px;
	z-index:1;
	padding: 5px 5px 0;
	background: #fff;
}
@media (max-width: 768px) {
	.ntz-heading{
		display:none;
	}
}

.video-mast-head {
	background-color: #fff;
	border: 1px solid #dfe7ea;
}
body .video-mast-head.grid-container {
	z-index: 99999997 !important; /* lesser than 99999998 (iubenda) */
	/* z-index: 2147483647; /-* must be greater than #page and .featured-image (1) for BC video to not hide behind them */
}
/* su sfondo nero, in video mast head */
.video-mast-head .widget_mrfbwg { margin:0; }
.video-mast-head .widget_mrfbwg .mrfb-root .mrfb-titles {
	position:relative;
	z-index:12;
	overflow:hidden;
	margin:0;
	padding:0;
	float:right;
	margin-top:-35px;
}
.video-mast-head .widget_mrfbwg .mrfb-root .mrfb-titles li {
	/*border:1px solid #cccccc;*/ border-bottom:1px solid #dfe7ea; /*border-left:0;*/ list-style-type:none; margin:0; font-size:15px;
	float:left; clear:none; cursor:pointer; padding:10px; background-color:transparent; color:#AAAAAA;
	-webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box; -khtml-box-sizing:border-box; box-sizing:border-box;
}
.video-mast-head .widget_mrfbwg .mrfb-root .mrfb-titles li:before { content:""; margin:0; padding:0; }
.video-mast-head .widget_mrfbwg .mrfb-root .mrfb-titles li:first-child { /*border-left:1px solid #cccccc;*/ }
.video-mast-head .widget_mrfbwg .mrfb-root .mrfb-titles li.selected { color:#000; border-bottom:1px solid #dfe7ea; background-color:transparent; text-decoration:none; }
.video-mast-head .widget_mrfbwg .mrfb-tabs { padding:10px 0; border-top:1px solid #dfe7ea; clear:both; z-index:10; position:relative; top:0; background-color:transparent; overflow:hidden; }
.video-mast-head .widget_mrfbwg .mrfb-root ol.mrfb-posts-list { line-height:1; margin:0; padding:0; list-style-type:none; }
.video-mast-head .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li { border:0; padding:0; margin:0 0 10px 0; display:list-item; list-style-type:inherit; list-style-position:inside; float:left; overflow:hidden; }
.video-mast-head .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li:before,
.video-mast-head .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li:after { content:""; }
.video-mast-head .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li a {
	border: 0;
	font-size: 12px;
	max-width: 205px;
	display: inline-block;
	float: left;
	line-height: 1.2em;
	max-height: 43px;
	overflow: hidden;
	color:#000;
}
.video-mast-head .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li a:last-child {
	width: 205px;
	min-height: 43px;
}
.video-mast-head .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li a:hover{
	color:#9c65ab;
}
.video-mast-head .mrfb-posts-list li img {
	margin: 0 10px;
	border-left: 5px solid #9c65ab;
	max-width: 60px;
}
.video-mast-head .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li a.the-pic { float:left; width:auto; height:60px; display:block; margin:0 10px 0 0; text-align:center; overflow:hidden; }
.video-mast-head .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li a.the-pic img { width:auto; height:auto; max-width:100px; max-height:50px; display:inline-block; border:solid 2px #01A8E2; }

/* video mast head */
@media (min-width:0) {
	.video-mast-head { overflow:hidden; background-color:#eeeeee; }
	.video-mast-head > .left { }
	.video-mast-head > .left > .inner { padding:0px; }
	.video-mast-head > .left iframe { display:block; /* fix small margin bottom */max-height:380px; }
	.video-mast-head > .right { }
	.video-mast-head > .right > .inner { padding:0; }
	.video-mast-head > .right aside > header { }
	.video-mast-head > .right > .inner aside header .h2 {
		padding-left:10px;
		margin:5px 0 0 0; font-size:20px; color:white; text-transform:uppercase; font-weight:bold; color:#9c65ab;
	}
}
@media (min-width:481px) {
	.video-mast-head > .left { float:left; width:49%; }
	.video-mast-head > .right { float:right; width:50%; max-height:260px; }
}

/* su sfondo bianco, in sidebar */
#right-sidebar .widget_mrfbwg { margin:0 0 40px 0; }
#right-sidebar .widget_mrfbwg .mrfb-root .mrfb-titles { position:relative; z-index:12; overflow:hidden; margin:0; padding:0; }
#right-sidebar .widget_mrfbwg .mrfb-root .mrfb-titles li { border:1px solid #e3d5d5; border-bottom:1px solid #e3d5d5; border-left:0; list-style-type:none; margin:0; font-size:15px;
        float:left; clear:none; cursor:pointer; padding:10px; background-color:#ebe5e6;
        -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box; -khtml-box-sizing:border-box; box-sizing:border-box; }
#right-sidebar .widget_mrfbwg .mrfb-root .mrfb-titles li:before { content:""; margin:0; padding:0; }
#right-sidebar .widget_mrfbwg .mrfb-root .mrfb-titles li:first-child { border-left:2px solid #e3d5d5; }
#right-sidebar .widget_mrfbwg .mrfb-root .mrfb-titles li.selected { color:#000; border-bottom:1px solid #ffffff; background-color:#ffffff; text-decoration:none; }
#right-sidebar .widget_mrfbwg .mrfb-tabs {
        padding:10px;
        border:2px solid #e3d5d5;
    border-top-width: 1px;
        clear:both; z-index:10; position:relative; top:-1px; background-color:#ffffff;
        overflow:hidden; }



#right-sidebar .widget_mrfbwg .mrfb-root ol.mrfb-posts-list { line-height:1; margin:0; padding:0; list-style-type:none; }
#right-sidebar .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li {
        border:0;
        padding:0; margin:0.5em 0 0 0;
        display:list-item;
        list-style-type:inherit;
        list-style-position:inside;
        float:none;
        overflow:hidden;
    padding-bottom: 9px;
    border-bottom: 1px solid #e3d5d5;
}
#right-sidebar .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
#right-sidebar .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li:before,
#right-sidebar .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li:after { content:""; }
#right-sidebar .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li a { border:0; font-size:15px; }
#right-sidebar .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li a.the-pic { float:left; width:100px; height:60px; display:block; margin:0 10px 0 0; text-align:center; overflow:hidden; }
#right-sidebar .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li a.the-pic img { width:auto; height:auto; max-width:100px; max-height:60px; display:inline-block; }
#right-sidebar .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li a:nth-child(2) {
        line-height: 1.2em;
    display: inline-block;
    max-width: 185px;
    font-weight: 700;
    font-size: 13px;
}
#right-sidebar .widget_mrfbwg .mrfb-root ol.mrfb-posts-list li a:first-child {
    max-height: 45px;
    overflow: hidden;
    display: inline-block;
    float: left;
}


.home .mrfb-posts-list li {
    margin: 10px !important;
}

.mrfb-posts-list li img {
    max-width: 60px;
    float: left;
    margin-right: 10px;
}



#right-sidebar .cp-widget .cp-widget-item { border-bottom:1px solid #eee; margin-bottom:15px; }
#right-sidebar .cp-widget .cp-widget-item:last-child { border-bottom:0; margin-bottom:0; }
#right-sidebar .cp-widget-item .h3 a { padding-right:10px;  padding-left:10px;font-weight:bold; display:block;color:#000; }
#right-sidebar .cp-widget-item p a { padding-right:10px;  padding-left:10px;font-weight:bold; display:block;color:#000;}

.generate-columns-container article:not(:first-of-type) .entry-header .entry-title,
.generate-columns-container.splitted article .entry-header .entry-title,
.wp-show-posts article:not(:first-of-type) .wp-show-posts-entry-title { height:auto; }

@media (min-width:768px) {
	body.home .generate-columns-container article:not(:first-of-type) .entry-header .entry-title,
	body.home .generate-columns-container.splitted article .entry-header .entry-title, /* injected advs split the .generate-columns-container */
	body.home .wp-show-posts article:not(:first-of-type) .wp-show-posts-entry-title { font-size:1vw; }
}
/** MULTIPAGINA ***/

body.is-multipage #site-navigation,
body.is-multipage .entry-header .entry-meta,
body.is-multipage footer.entry-meta,
body.is-multipage #toc_container
{display:none;}


body.is-multipage #right-sidebar .mh-widget{
margin-bottom:10px;
}

body.is-multipage.single .entry-content{
margin-top:10px;
}



body.is-multipage .entry-content ins.adsbygoogle {
    margin: auto;
    display: block !important;
}

body.is-multipage a.multipage-next {
    display: block;
    background-color: #c3c3c3;
    color: #3c3c3c;
    padding: 15px 15px;
    border-radius: 12px;
    font-size: 1.55em;
    text-align: center;
    margin: 40px 40px 60px;
}
body.is-multipage a.multipage-next:hover {
    color: #3c3c3c;
    background-color: #e6e5e5;
}

body.is-multipage #right-sidebar{position:relative}
body.is-multipage .inside-right-sidebar.fixedBan {
    position: fixed;
    top: 0;
}
body.is-multipage .inside-right-sidebar.fixedBan.absBan {
        position:absolute;
        bottom:0;
        top:auto;
}

@media (max-width:768px) {
body.is-multipage a.multipage-next{
    margin: 5px;
    padding: 5px;
    font-size: 1.2em;
}

}

.ads-loop{
    clear: both;
    width: 100%;
    text-align: center;
margin:20px auto;
}

.top-banner {
	margin:20px 0 0 0;
	text-align:center;
	line-height:0;
}

.made-in-milano .heart { color: #d7598b; }

/* i 4 loghi actualidad, infos, newshub, notizie linkati ai rispettivi siti */
.mh-very-bottom-links { width:100%; max-width:1022px; margin:5px auto 0 auto; text-align:center; }
.mh-very-bottom-links img { height:16px; width:auto; max-width:100%; display:block; margin:1em auto; }
.mh-very-bottom-links { display:flex; flex-flow:row wrap; justify-content:space-around; align-items:center; }
.mh-very-bottom-links img { height:12px; flex:1 1 auto; margin:0; }
@media (min-width:768px) {
	.mh-very-bottom-links img { height:16px; }
}
@media (min-width:900px) {
	.mh-very-bottom-links { margin-top:5px; }
	.mh-very-bottom-links img { height:24px; }
}

/* il logo entire digital learn to read again */
.mh-entire-learn { width:100%; max-width:1022px; margin:1em auto 1em auto; text-align:center; }
.mh-entire-learn a { display:inline-block; margin:0 auto; background-color:#ffffff; border-radius:10px; padding:6px 12px; }
.mh-entire-learn img { /*width:75%; height:auto;*/ display:block; }
@media (min-width:400px) {
	/*.mh-entire-learn img { max-width:400px; }*/
}
@media (min-width:900px) {
	.mh-entire-learn { }
}

.inside-article h3 {font-weight:bold;}

body.home .site-content .site-main article .inside-article,
body.archive .site-content .site-main article .inside-article {
        position:relative
}
body.home .site-content .site-main article .inside-article footer.entry-meta,
body.archive .site-content .site-main article .inside-article footer.entry-meta{
        position: absolute;
        top: 0;
        right: 0;
        margin-top: 0;
        padding: 0.2em 1em;
        background: #9c65ab;
        color: #fff;
        font-weight: bold;
}

footer.entry-meta { margin-top:1em; }

body.home .site-content .site-main article .inside-article footer.entry-meta .cat-links:before,
body.archive .site-content .site-main article .inside-article footer.entry-meta .cat-links:before{
        display:none;
}
body.home .site-content .site-main article .inside-article footer.entry-meta a ,
body.archive .site-content .site-main article .inside-article footer.entry-meta a {
        color:#fff;
}

@media (max-width:768px) {
	body.home .site-content .site-main article .inside-article footer.entry-meta a,
	body.archive .site-content .site-main article .inside-article footer.entry-meta a {
		font-size:0.8em;
		line-height:0.8em;
	}
}

body.single .site-content .site-main article .inside-article footer.entry-meta {
	margin-bottom:1em;
}

#toc_container {
        padding: 5px 0;
    margin: 1.25rem 0;
        border-top:1px solid #9c65ab;
        border-bottom:1px solid #9c65ab;
}
#toc_container ul.toc_list,
#toc_container ul.toc_list ul,
#toc_container ul.toc_list ul ul {
        margin-bottom:0;
        /*margin-left:2rem;*/
}
#toc_container ul.toc_list li {
        margin: 0 25px 6px 0;
}
#toc_container ul.toc_list a {
        font-weight: 400;
}
#toc_container p.toc_title {
    font-size: 11px;
    font-weight: 900;
    margin: 0 0 5px;
    padding: 0 1.2rem;
    text-transform: uppercase;
}
#toc_container ul.toc_list::after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
    visibility: hidden;
}

/* adjust ratings text */

span.post-ratings { font-size:18px; }
@media (min-width:768px) {
	span.post-ratings { font-size:22px; }
}

/* easyazon block render */
.easyazon-block.alignnone { display:block; margin:0; padding:0; overflow:hidden; }
.easyazon-block .ntzon-block { background-color:#fbfbfb; border:1px solid #dbdbdb; margin-bottom:20px; }
/*.easyazon-block .ntzon-block:hover { background-color:#f4f4f4; }*/
.easyazon-block .ntzon-block a.easyazon-link { display:block; text-decoration:none; color:#232323; overflow:hidden; padding:18px; }
.easyazon-block .ntzon-block .ntzon-block-image-container { margin:0 auto 20px auto; text-align:center; }
.easyazon-block .ntzon-block .ntzon-block-image-container img { max-width:500px; height:auto; border:1px solid #dbdbdb; }
.easyazon-block .ntzon-block .ntzon-text { text-align:center; }
.easyazon-block .ntzon-offer {
	background:linear-gradient(to bottom, #f6c88f, #ed9220); color:white; font-size:18px; font-weight:bold; text-align:center;
	position:absolute; top:50px; right:-140px;
	width:300px; height:26px; line-height:26px;
	transform-origin:center -40px;
	transform:rotate(45deg);
}
.easyazon-block .ntzon-block .ntzon-text .ntzon-block-information-title { font-size:1.2rem; margin-bottom:0.4rem; color:#ed008f; }
.easyazon-block .ntzon-block .ntzon-text .ntzon-block-information-price { font-weight:normal; margin-bottom:0.5rem; }
.easyazon-block .ntzon-block .ntzon-text .ntzon-block-information-price em { font-style:normal; }
.easyazon-block .ntzon-block .ntzon-text .ntzon-block-information-price.price-suggested em { /*text-decoration:line-through;*/ }
.easyazon-block .ntzon-block .ntzon-text .ntzon-block-information-price.price-for-you { }
.easyazon-block .ntzon-block .ntzon-text .ntzon-block-information-price.price-for-you em { font-size:130%; color:#b12704; }
.easyazon-block .ntzon-block .ntzon-text .ntzon-block-information-price.price-you-save em { color:#b12704; }
.easyazon-block .ntzon-block .ntzon-text .ntzon-button {
	display:inline-block; background:linear-gradient(to bottom, #f7dfa5, #f0c14b); color:#000000; padding:7px 10px; font-size:16px; font-weight:normal;
	border-width:1px; border-style:solid; border-color:#a88734 #9c7e31 #846a29;
	-moz-border-radius:3px; -webkit-border-radius:3px; -khtml-border-radius:3px; border-radius:3px;
}
.easyazon-block .ntzon-block .ntzon-text .ntzon-button:hover { background:linear-gradient(to bottom, #f5d78e, #eeb933); }
@media (max-width:640px) {
	/* on almost ~mobile */
	.easyazon-block .ntzon-block .ntzon-block-image-container img { max-width:100%; }
}
@media (max-width:480px) {
	/* on ~mobile */
	.easyazon-block.alignnone { margin-left:-20px; margin-right:-20px; }
	.easyazon-block .ntzon-block a.easyazon-link { overflow:visible; }
}

/* author info bottom content single */
.author-info { margin-top:1em; font-style:italic; font-size:16px; }

article.post > .inside-article > .entry-content iframe[src*="/embed/"] { width:100%; margin:0 0 15px 0; }
article.post > .inside-article > .entry-content iframe[src*="/embed/"]:not([data-instgrm-payload-id]) {	height:380px; }
article.post > .inside-article > .entry-content iframe[src*="/embed/"].instagram-media-rendered { margin:0 auto 15px auto !important; }

.st-swap-player {
        height:100vh;
        width:100vw;
        max-height:427px;
}
@media (max-width:768px) {
        .st-swap-player {
                max-height:200px;
        }
}

body.siteunder .featured-image {display:none;}

.separate-containers .inside-article {
	padding-bottom:0;
}
.separate-containers .site-main article.post {
	margin-bottom:0;
}

#wpcomm .wc-thread-wrapper {
	padding:0;
	margin:0;
}

body.single .site-main > .comments-area {
	padding-bottom:0;
}

.inside-article a { font-weight:bold; }

.video-post-bottom { margin:15px 0; }

.contatti-sponsor {
    text-align: right;
    font-size: 10px;
}

.qc-cmp2-persistent-link { display:none !important; }

.advertisements-label { text-align:center; font-size:11px; color:#cccccc; text-transform:uppercase; overflow:hidden; }
.advertisements-label:before,
.advertisements-label:after {
  background-color: #cccccc;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width:50%;
}
.advertisements-label:before {
  right:0.5em;
  margin-left:-50%;
}
.advertisements-label:after {
  left:0.5em;
  margin-right:-50%;
}

body.single header.entry-header h1.entry-title { margin-bottom:20px; }

#iol_player_container.vjs-top-parent-mobile {
	width: 250px;
	position: fixed;
	z-index: 1000;
	/* top: 50px; right: 0;*/
	bottom:0; left:0;
	margin:0;
}
.video-js button:not(.vjs-big-play-button) {
	/*background-color:inherit;*/
	font-weight:inherit;
	text-transform:inherit;
	font-size:inherit;
}
.video-js button:hover { background-color:inherit; }

h1.entry-title { margin-bottom:20px; }
body.separate-containers .featured-image.page-header-image-single { margin-top:0; }

/* Extra Small Devices, Phones */
@media (max-width:480px) {
	main#main.site-main { margin-top:0; }
}

body .grid-container { position:relative; }
.author-box { line-height: 1.5; margin-bottom: 20px; margin-bottom: 1.25rem; background: #f5f5f5; }
.author-box .screen-reader-text { position: absolute; top: -9999rem; left: -9999rem; }
.author-box-content { padding: 25px; }
.author-box img.avatar { border-radius: 50%; float: left; margin-right: 20px; }
.author-box-header { margin-bottom: 10px; }
.author-box-name { font-size: 16px; font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.author-box h3 { display: inline; }
.author-box .description { overflow: hidden; }
.author-box-contact { font-weight: 600; padding: 15px; border-top: 1px solid #bbb; }
.author-box-contact a, .author-contact-title { display: inline-block; min-width: 70px; padding: 5px 8px; text-align: center; }
.author-box-contact a { border-left: 1px dotted #bbb; }

.cat-item {font-size: 1.2rem; font-weight: bold; text-transform: capitalize;}
.cat-sitemap > .cat-item {margin-bottom: 20px;}
.cat-item a { margin: 4px; }
.cat-item a[href$="feed/"]::after {
	content: "\f09e";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-left: 5px;
}

p.excerpt {
	color: #222222;
	font-family: "Playfair Display", serif;
	font-size: 24px;
	margin: 10px 0 20px 0;
	line-height: 1.2em;
	font-weight: 400;
	text-transform: none;
}
@media (max-width: 768px) {
	p.excerpt {
		font-size: 20px;
	}
}

.entry-date {
	font-size: 11px;
	text-transform: uppercase;
}

/****************************
EvolutionAdv
****************************/

[data-adunitid]:not([id*="video"]):not([data-adunitid="3"]):not([data-adunitid="4"]):not([data-adunitid="10"]),
[data-adunitid]:not([id*="video"]):not([data-adunitid="3"]):not([data-adunitid="4"]):not([data-adunitid="10"]) > div,
[data-adunitid]:not([id*="video"]):not([data-adunitid="3"]):not([data-adunitid="4"]):not([data-adunitid="10"]) > div > div {
    margin: auto !important;
    display: flex;
    flex:1;
    justify-content: center;
}

.player_evolution { display: flex; justify-content: center; align-items: center;margin: auto;  }

/* DESKTOP */
@media (min-width:981px) {

    /* /5966054,22057399995/foodblog_it/foodblog_it_Masthead */
    [data-adunitid="0"] { min-height: 250px; }

    [data-adunitid="0"],
    [data-adunitid="0"] > div,
    [data-adunitid="0"] > div > div {
        justify-content: space-around !important;
    }

    /* /5966054,22057399995/foodblog_it/foodblog_it_ATF */
    [data-adunitid="1"] { min-height: 280px; padding:20px 0 0 0; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Intext */
    [data-adunitid="2"] { min-height: 280px; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_SidebarTop */
    [data-adunitid="3"] { min-height: 600px; text-align:center; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_SidebarSticky */
    [data-adunitid="4"] { min-height: 1050px; text-align:center; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Skin_skyscraper */
    [data-adunitid="8"] { min-height: 600px; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Intext_content_revolution */
    [data-adunitid="9"] { min-height: 280px; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_SidebarMiddle */
    [data-adunitid="10"] { min-height: 1050px; text-align:center; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Halfpage_HP */
    [data-adunitid="11"] { min-height: 600px; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Masthead_HP */
    [data-adunitid="12"] { min-height: 280px; }

    [data-adunitid="12"],
    [data-adunitid="12"] > div,
    [data-adunitid="12"] > div > div {
        justify-content: space-around !important;
    }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Interstitial_CRevo */
    [data-adunitid="13"] { min-height: 480px; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Box_Categorie */
    [data-adunitid="14"] { min-height: 90px; }

    [data-adunitid="14"],
    [data-adunitid="14"] > div,
    [data-adunitid="14"] > div > div {
        justify-content: space-around !important;
    }

    [data-admobile="true"],
    [data-admobile="1"],
    [data-addesktop="false"],
    [data-addesktop="0"]
    {min-height: 0 !important; max-height: 0; display: contents !important;}

    .player_evolution { width: 100%; max-width: 550px; min-height: 309px; }

}

/* MOBILE */
@media (max-width:980px) {

    /* /5966054,22057399995/foodblog_it/foodblog_it_Masthead */
    [data-adunitid="0"] { min-height: 100px; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_ATF */
    [data-adunitid="1"] { min-height: 430px; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Intext */
    [data-adunitid="2"] { min-height: 480px; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_SidebarTop */
    [data-adunitid="3"] { min-height: 250px; text-align:center; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_SidebarSticky */
    [data-adunitid="4"] { min-height: 600px; text-align:center; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Intext_content_revolution */
    [data-adunitid="9"] { min-height: 480px; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_SidebarMiddle */
    [data-adunitid="10"] { min-height: 600px; text-align:center; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Halfpage_HP */
	[data-adunitid="11"] { min-height: 250px; text-align:center; padding:10px 0 15px; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Interstitial_CRevo */
    [data-adunitid="13"] { min-height: 480px; }

    /* /5966054,22057399995/foodblog_it/foodblog_it_Box_Categorie */
    [data-adunitid="14"] { min-height: 250px; }

    [data-addesktop="true"],
    [data-addesktop="1"],
    [data-admobile="false"],
    [data-admobile="0"]
    { min-height: 0 !important; max-height: 0; display: contents !important; }

    .player_evolution { width: 100%; max-width: 300px; min-height: 188px; margin-top:20px; }

}

/* fix space beneath */
body.archive .gptslot.evo-custom14 {
    padding-bottom: 20px;
    text-align: center;
}

/* homepage video section */

.video-section-title {
	border-bottom: 2px solid var(--main-color);
	margin-bottom: 20px !important;
}
.video-section-title span {
	display: inline-block;
	color: white;
	font-size: 22px;
	font-weight: bold;
	padding: 2px 8px;
	background-color: var(--main-color);
}

.vs-vid0 { /*background-color: IndianRed;*/ grid-area: vs-v0; }
.vs-vid1 { /*background-color: HotPink;*/ grid-area: vs-v1; }
.vs-vid2 { /*background-color: Tomato;*/ grid-area: vs-v2; }
.vs-vid3 { /*background-color: Moccasin;*/ grid-area: vs-v3; }
.vs-vid4 { /*background-color: MediumSeaGreen;*/ grid-area: vs-v4; }
.video-section {
    display: grid;
    gap: 25px;
    grid-template-columns: 1fr;
    grid-template-rows: auto; /* repeat(5, minmax(50px, auto)); */
    grid-template-areas:
          "vs-v0"
          "vs-v1"
          "vs-v2"
          "vs-v3"
          "vs-v4"
    ;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--main-color);
}
@media (min-width: 800px) {
    .video-section {
        display: grid;
		gap: 25px 10px;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: repeat(2, minmax(50px, auto));
        grid-template-areas:
              "vs-v0 vs-v0 vs-v1"
              "vs-v2 vs-v3 vs-v4"
        ;
    }    
}

.video-section article .featured-media {
	width: 100%;
	height: auto;
	/* aspect-ratio: 4 / 3; */
	position: relative;
	overflow: hidden;
}
.video-section article .featured-media a {
	display: block;
	/* position: absolute; */
	position: relative;
	width: 100%;
	height: 100%;
}
.video-section article .featured-media a .the-blurred-background {
	position: absolute;
	width: 100%;
	height: 100%;
	filter: blur(8px) brightness(150%);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	z-index: 1;
}
.video-section article .featured-media img {
	/* position: absolute; */
	position: relative;
	display: block;
	width: 100%;
	/* height: 100%; */
	height: auto;
	/* object-fit: contain; */
	z-index: 2;
}

.video-section article header h2 {
	font-family: "Playfair Display", serif;
	color: #000;
	line-height: 2.5ex;
	font-weight: bold;
    text-transform: none;
    font-size: 1vw;
    margin-top: 1ex;
    text-align: center;
}

/* end of: homepage video section */