/*
@ Overwrite css
@ file di correzione bug css front-end
*/
@font-face {
	font-family: 'icomoon';
	src:  url('/dshare/fonts/icomoon.eot?4pepyb');
	src:  url('/dshare/fonts/icomoon.eot?4pepyb#iefix') format('embedded-opentype'),
	url('/dshare/fonts/icomoon.ttf?4pepyb') format('truetype'),
	url('/dshare/fonts/icomoon.woff?4pepyb') format('woff'),
	url('/dshare/fonts/icomoon.svg?4pepyb#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

:root {
	--agi-color: #ffd500;
	/* utilizzo:  var(--agi-color);*/
}

/*ICONE CUSTOM (ICOMOON) */
[class^="icon-"], [class*=" icon-"] {
	/* use !important to prevent issues with browser extensions that change fonts */
	font-family: 'icomoon' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.icon-pictures,
.icon-pictures2,
.icon-pictures3,
.icon-camera,
.icon-camera2,
.icon-camera3 {
	color: var(--agi-color);
	padding: 10px;
	border:2px solid var(--agi-color);
	border-radius: 100%;
	position: absolute;
	z-index: 10;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-24px, -24px);
	-webkit-transform: translate(-24px, -24px);
	transform: translate(-24px, -24px);
	display: inline-block;
}
.icon-weibo:before {
	content: "\e905";
	color: #e6162d;
}
.icon-pictures:before {
	content: "\e902";
	font-size: 24px;
	color: #fff;
}
.icon-pictures2:before {
	content: "\e903";
	font-size: 24px;
	color: #fff;
}
.icon-pictures3:before {
	content: "\e904";
	font-size: 24px;
	color: #fff;
}
.icon-camera:before {
	content: "\e900";
	font-size: 24px;
	color: #fff;
}
.icon-camera2:before {
	content: "\e901";
	font-size: 24px;
	color: #fff;
}
.icon-camera3:before {
	content: "\e90f";
	font-size: 24px;
	color: #fff;
}

/*WEIBO SOCIAL ICON*/
.icon-weibo {
	font-size: 22px;
	text-align: center;
	display: inline-block;
	width: 42px;
	line-height: 42px;
}
.icon-weibo:hover {
	background-color: #e6162d;
}
.icon-weibo:hover::before {
	color: #fff;
}

.box1__related-article-col {
	position: relative;
}

.menu-international-col:nth-child(odd) .menu-international__link {
	padding-left: 0 !important;
}
@media all and (max-width: 767px) {
	.menu-international-col:nth-child(odd) .menu-international__link {
		padding: 10px 20px 0 !important;
	}
}


	.box5__link .icon-pictures {
	/*bottom: 30px;*/
}

/*FIX ARTICOLO*/
.breadcrumb-item li a,
.article-content__sidebar-box-inner-title a,
.article-page .article-content__tag a,
.article-content__sidebar-box-image-container a,
.article-page .share-box-social-item2__link,
.article-page  .related-article-title a {
	border-bottom: 0 !important;
	color: inherit;
	text-decoration: inherit !important;
}

.breadcrumb-item li a:hover,
.article-content__sidebar-box-inner-title a:hover,
.article-page .article-content__tag a:hover,
.article-content__sidebar-box-image-container a:hover,
.article-page .share-box-social-item2__link:hover,
.article-page  .related-article-title a:hover,
._adv-container ._fake_play_btn:hover,
.flex-direction-nav a:hover {
	background-color: transparent !important;
}

.share-box-social-item2__link {
	color: #fff !important;
}

/*fix per immagini in articolo da esterno*/
.article-page .article-content__body img {
	max-width: 540px;
}
.article-page__header-byline-blog-author a {
	color: #555555;
	text-decoration: none;
}

.article-image-overlay-credits {
	position: absolute;
	bottom: 0;
	display: block;
	color: #ffffff;
	padding: 5px;
	background: rgba(0,0,0, .5);
	width: 100%;
	font-size: 11px;
}

/*BLOG FIX */
.blog-page .box9__image-container {
	overflow: hidden;
}
.blog-page .box9__image-container .box9__image.no-cut, .listing-page .box9__image-container .box9__image.no-cut {
	overflow: hidden !important;
	width: inherit !important;
}
.blog-page .box9__image-container .box9__image.no-image, .listing-page .box9__image-container .box9__image.no-image {
	width: inherit !important;
	margin-left: -25%;
}

/*LISTING */
.listing-page .box9__image-container {
	overflow: hidden !important;
}

/*FIX DI PREVIEW */
.previewClass .article-social-container {
	border: 0;
}

/*THRON CONTAINER */
.thron-container {
	width: 100%;
	height:415px;
	display: block;
	margin-bottom: 20px;
	text-align: center;
}
@media all and (max-width: 767px) {
	.thron-container {
		width: 100%;
		height:275px;
		min-height: 195px;
		display: block;
		margin-bottom: 20px;
		text-align: center;
	}

	.gallery-page .thron-cotainer {
		min-height: 225px;
	}
}
.mejs-overlay-button svg{display:none !important;}
.mejs-overlay-button {
	background-image: url(../images/play-ico.svg) !important;
	background-size: contain !important;;
	background-repeat: no-repeat !important;;
	background-position: center center !important;
	cursor: pointer !important;
}

/* VIDEO INLINE MOBILE FIX */
@media all and (max-width: 767px) {
	.gallery-page .inline-content > div {
		height:275px !important;
		min-height: 195px;
	}
}

/*AGI LIVE */
.agilive-desktop-zone1 {
	width: 90% !important;
}
.agilive-desktop-news-container {
	width: calc(100% - 130px) !important;
}
.agilive-desktop-zone2 {
	width: 10% !important;
}
.agilive-desktop-cta-container {
	width: 100% !important;
}
.agilive-desktop-cta {
	width: 100% !important;
}
.agilive-desktop .copy-embed-container {
	right: 50px !important;
}

div#div-gpt-ad-leaderboard.mp-code.leaderboard, div#div-gpt-ad-headofpage.mp-code.headofpage {
	text-align: center !important;
	margin-bottom: 20px !important;
}

/*COOKIE LAW */
.cookielaw-container {
	position: fixed;
	width: 100%;
	z-index: 9000;
	background-color: rgba(0,0,0,.9);
	min-height: 100px;
	bottom: 0;
}
.cookielaw-container .container {
	background-color: transparent;
	color: #fff;
	font-size: 16px;
	line-height: 22px;
	margin-top: 10px;
	width: 100%
}
.cookielaw-container .container::before  {
	content: " ";
	display: table;
	box-sizing: border-box;
}
.cookielaw-container .container::after  {
	content: " ";
	display: table;
	box-sizing: border-box;
	clear: both;
}
.cookielaw-container .btn {
	margin-top: 8px;
	margin-right: 8px;
	float: right;
	background-image: linear-gradient(to bottom, #919191 0, #727272 100%);
	background-repeat: repeat-x;
	border-color: #6d6d6d;
	color: #fff;
	background-color: #919191;
	display: inline-block;
	margin-bottom: 0;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	touch-action: manipulation;
	cursor: pointer;
	border: 1px solid transparent;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	border-radius: 4px;
	user-select: none;
}
.cookielaw-container a, a:focus {
	color: #919191;
}
.cookielaw-container a, a:hover {
	text-decoration: none;
}

/* PULSAZIONE */
.c-pulse::before {
	display: inline-block;
	animation: agilivepulse 1s infinite;
	margin-top: -2px;
}

/*TEST FIX VIDEO MOBILE*/
@media all and (max-width: 767px) {
	.box7__video-row {
		background: url('../images/Eclipse.gif') no-repeat center center;
	}
	.box7__video-row.ready {
		background: none;
	}

	.box7__video-row .agi-mediagallery {
		position: relative;
		z-index: -1;
	}
}

/*FIX only home logo*/
@media all and (max-width: 767px) {
	img[src*="agi_logo_white.svg"].logo-container__logo1 {
		min-width: 100px !important;
	}
}

.box1__byline a:VISITED,
.box1__byline a:link,
.box1__byline a:active,
.article-content__body--full a {
	color: inherit;
    text-decoration: none;
	border-bottom: 2px solid var(--agi-color);
	padding-left: 2px;
	padding-right: 2px;
}

.box1__byline a:hover,
.article-content__body--full a:hover {
	background-color: var(--agi-color);
}

.box1__byline a.box4__link, .box1__byline a.box4__link:VISITED, 
.box1__byline a.box4__link:LINK, .box1__byline a.box4__link:ACTIVE, .box1__byline a.box4__link:HOVER {
    color: inherit !important;
    text-decoration: inherit !important;
    cursor: pointer !important;
    border-bottom: inherit !important;
    background-color: inherit !important;
}

.box4__related-article-title .box4__link {
	font-size: 13px !important;
    color: #555 !important;
    margin-bottom: 10px !important;
    font-weight: normal !important;
}
.box4__related-article-title .box4__link > .box3__authorname { 
    font-weight: bold !important;
}

/*FIX CONTENUTI GALLERY COME ARTICOLO */
.gallery-page .article-content__cover-image-container {
	margin-bottom: 40px;
	min-height: 240px;
	position: relative;}
.gallery-page .article-content__cover-image-container figcaption,
.gallery-page .article-content__cover-image-container figure {
	position: relative; }
@media all and (max-width: 767px) {
	.gallery-page .article-content__cover-image-container {
		margin-left: -20px;
		margin-right: -20px;
		min-height: 160px; } }
.gallery-page .article-content__cover-image {
		display: block;
		margin-bottom: 10px; }
.gallery-page .article-content__cover-image-caption {
	font-size: 14px;
	font-weight: 600;
	line-height: 19.0px;
	color: #ffffff; }
@media all and (max-width: 767px) {
	.gallery-page .article-content__cover-image-caption {
		padding: 0 20px; } }
.gallery-page .article-content__tags-container {
	border-top: 1px solid #c9cbca;
	border-bottom: 1px solid #c9cbca;
	padding-top: 10px;
	margin-bottom: 20px; }
.gallery-page .article-content__body a {
	color: inherit;
	text-decoration: inherit !important;
	cursor: pointer !important;
	border-bottom: 2px solid var(--agi-color) !important; }
.gallery-page .article-content__body a:hover {
	background-color: var(--agi-color);}
.gallery-page .article-content a:active, .article-content a:focus {
	outline: none; }
.gallery-page blockquote {
	border-left: 10px solid #a7aaa9;
	padding-left: 10px;
	font-size: 18px;
	font-weight: 600;
	line-height: 24.0px;
	color: #ffffff;
	margin: 0 0 25px; }
@media all and (max-width: 767px) {
	.gallery-page blockquote {
		font-size: 16px;
		line-height: 22px; } }
.gallery-page blockquote p {
	font-style: italic;}
.gallery-page table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 20px;
	margin-top: 20px;}
.gallery-page .table > thead > tr > th,
.gallery-page .table > tbody > tr > th,
.gallery-page .table > tfoot > tr > th,
.gallery-page .table > thead > tr > td,
.gallery-page .table > tbody > tr > td,
.gallery-page .table > tfoot > tr > td {
	padding: 8px;
	line-height: 1.42857143;
	vertical-align: top;
	border-top: 1px solid #dddddd; }
.gallery-page .table > thead > tr > th {
	vertical-align: bottom;
	border-bottom: 2px solid #dddddd; }
.gallery-page .table > caption + thead > tr:first-child > th,
.gallery-page .table > colgroup + thead > tr:first-child > th,
.gallery-page .table > thead:first-child > tr:first-child > th,
.gallery-page .table > caption + thead > tr:first-child > td,
.gallery-page .table > colgroup + thead > tr:first-child > td,
.gallery-page .table > thead:first-child > tr:first-child > td {
	border-top: 0; }
.gallery-page .table > tbody + tbody {
	border-top: 2px solid #dddddd; }
.gallery-page .table .table {
	background-color: #ffffff; }
.gallery-page .article-page__body-title {
	font-size: 20px;
	font-weight: 900;
	line-height: 26.0px;
	color: #ffffff;
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px; }
@media all and (max-width: 767px) {
	.gallery-page .article-page__body-title {
		font-size: 16px;
		line-height: 22px;
		padding-left: 16px; } }
.gallery-page .article-page__body-title:before {
	content: "";
	width: 16px;
	height: 16px;
	background: #a7aaa9;
	position: absolute;
	left: 0;
	top: 5px; }
@media all and (max-width: 767px) {
	.gallery-page .article-page__body-title:before {
		width: 10px;
		height: 10px;
		top: 4px; } }
.gallery-page .article-content hr {
	border: 1px solid #999;
	height: 0;
	margin: 0 0 20px; }
.gallery-page .article-content ul,
.gallery-page .article-content ol {
	margin: 0;
	padding: 0;
	margin-bottom: 20px;
	list-style-position: inside; }
.gallery-page .article-content ul li,
.gallery-page .article-content ol li {
	margin-bottom: 10px;
	padding: 0;
	font-size: 18px;
	font-weight: 500;
	font-style: normal;
	font-stretch: normal;
	line-height: 24.0px;
	letter-spacing: normal;
	color: #000000; }
.gallery-page .article-content ul li ul:not(.flex-direction-nav),
.gallery-page .article-content ul li ol:not(.flex-direction-nav),
.gallery-page .article-content ol li ol:not(.flex-direction-nav),
.gallery-page .article-content ol li ul:not(.flex-direction-nav) {
	margin-left: 20px;
	margin-top: 10px;
}

.col-md-6 p.box4__excerpt {
	margin-top: -5px !important; 
}

/*fix per iframe importati*/
.article-content__body iframe[src*="youtube"],
.article-content__body div[id^="media_"] {
	max-width: 520px !important;
	max-height: 295px !important;
}

.logo-container__logo1.visibility--visible-desktop,
.error-page .logo-container__logo1.visibility--visible-desktop,
.html-page .logo-container__logo1.visibility--visible-desktop {
	 display: inline-block;
 }
@media all and (max-width: 767px) {
	.homepage .nav-container__left,
	.homepage .logo-container,
	.search-area-container {
		width: calc(100% - 50px); /* senza icona utente */
		/*width: calc(100% - 100px);*/
	}

	.homepage .logo-container__logo1.visibility--visible-desktop,
	.error-page .logo-container__logo1.visibility--visible-desktop,
	.html-page .logo-container__logo1.visibility--visible-desktop,
	.listing-page .logo-container__logo1.visibility--visible-desktop{
		display: none;
	}
	.homepage .logo-container__logo-left {
		position: relative;
		width: 100%;
		text-align: center;
	}

	.homepage .logo-container__logo1.visibility--visible-mobile,
	.error-page .logo-container__logo1.visibility--visible-mobile,
	.html-page .logo-container__logo1.visibility--visible-mobile,
	.listing-page .logo-container__logo1.visibility--visible-mobile {
		display: inline-block;
		min-width: 82px !important;
		max-width: 82px !important;
	}
}

.searchbar-input-container__searchbar {
	background-size: 20px;
}
.agi-preview__logo {
	clear: both;
	display: block;
	height: auto;
	margin-bottom: 20px;
	overflow: hidden;
	min-width: 50%;
	max-width: min-content;
}
.agi-preview__logo.anteprima {
	clear: both;
	display: block;
	height: auto;
	margin-bottom: 20px;
	max-width: 100%;
	min-width: 50%;
	overflow: hidden;
}

.footer-menu-item {
	margin-right: 20px;
}

.c-share-box-social-item--flipboard {
	text-align: center;
	padding-top: 5px;
}
.c-share-box-social-item--flipboard img {
	height: 24px;
	margin-top: 3px;
}

.article-page .share-box-social-item2__link.share-box-social-item2--facebook,
.article-page .share-box-social-item2__link.share-box-social-item2--facebook:hover {
	background-color: #3a5695 !important;
}

.article-page .share-box-social-item2__link.share-box-social-item2--twitter,
.article-page .share-box-social-item2__link.share-box-social-item2--twitter:hover {
	background-color: #55acee !important;
}

.article-page .share-box-social-item2__link.share-box-social-item2--whatsapp,
.article-page .share-box-social-item2__link.share-box-social-item2--whatsapp:hover {
	background-color: #55ae00 !important;
}

.article-page .share-box-social-item2__link.share-box-social-item2--linkedin,
.article-page .share-box-social-item2__link.share-box-social-item2--linkedin:hover {
	background-color: #0077b5 !important;
}
.share-box-social-item2--linkedin svg {
	background-color: #fff;
}
.article-page .share-box-social-item2__link.share-box-social-item2--googleplus,
.article-page .share-box-social-item2__link.share-box-social-item2--googleplus:hover{
	background-color: #dc4e41 !important;;
}

.article-page .share-box-social-item2__link.share-box-social-item2--mail,
.article-page .share-box-social-item2__link.share-box-social-item2--mail:hover {
	background-color: #bd5c5d !important;
}

.article-page .share-box-social-item2__link.share-box-social-item2--flipboard,
.article-page .share-box-social-item2__link.share-box-social-item2--flipboard:hover{
	background-color: #E12828 !important;
	padding: 0;
	line-height: 35px;
}

.article-page .share-box-social-item2__link.share-box-social-item2--flipboard img {
	height: 24px;
}

.share-box-social-item2__link svg {
	margin-top: -2px;
}

p.suggerimenti {
	font-size: 16px;
	font-style: italic;
}

/*PLACEHOLDER GOOGLE TAGS */
.footer-banner-placeholder {
	width:100%;
	min-height:50px;
	margin:10px auto;
	text-align: center;
}

.navigation .menu-user-box__ico,
body.logged .navigation .menu-user-box__ico {
	width: 16px;
	height: 15px;
	background: url(../images/lnr-user.svg) center center no-repeat;
	position: relative;
	top: 50%;
	transform: translateY(-6px);
	margin: 0 auto;
	vertical-align: middle;
}

body.logged .navigation .menu-user-box__ico {
	background: url(../images/lnr-user-fill.svg) center center no-repeat;
}

.homepage .navigation .menu-user-box__ico,
body.homepage.logged .navigation .menu-user-box__ico {
	transform: translateY(0);
}

.navigation .menu-more-loggedin-container .icon.icon-user {
	width: 24px;
	height: 24px;
	background: url(../images/ic_account_circle_white_24px.svg) center center no-repeat;
	position: relative;
	top: 50%;
	transform: translateY(0);
	margin-right: 5px;
	vertical-align: middle;
	display: inline-block;
}

.navigation .menu-more-loggedin-container .icon.icon-logout {
	width: 24px;
	height: 24px;
	background: url(../images/ic_exit_to_app_white_24px.svg) center center no-repeat;
	position: relative;
	top: 50%;
	transform: translateY(0);
	margin-right: 5px;
	display: inline-block;
	vertical-align: middle;
}

.navigation .menu-more-loggedin-container .icon.icon-profile {
	width: 24px;
	height: 24px;
	background: url(../images/ic_contacts_white_24px.svg) center center no-repeat;
	background-size: 24px;
	position: relative;
	top: 50%;
	transform: translateY(0);
	margin-right: 5px;
	display: inline-block;
	vertical-align: middle;
}

.menu-more-loggedin-container {
	padding: 6px;
	width:168px;
}

.menu-more-link.with-icon {
	/*font-size: 11px;*/
	/*padding: 8px;*/
}


@media all and (max-width: 767px) {
	.navigation .menu-more-box.login {
		display: block !Important;
		width: 50px;
	}

	.navigation .menu-user-box__ico,
	body.logged .navigation .menu-user-box__ico,
	.homepage .navigation .menu-user-box__ico,
	body.homepage.logged .navigation .menu-user-box__ico{
		transform: translateY(-6px);
	}

	.logo-container {
		width: calc(100% - 50px) !important;
	}

	.logo-container__logo-right {
		display: none;
	}

	.menu-more-loggedin-container {
		top: 50px;
	}
}

h5.error-msg {
	display: block;
	background: #d9534f;
	width: calc(100% - 15px);
	line-height: 30px;
	color: #fff;
}

#browsi_wrapper_0_ai_1_rc_0 {
	display:none !important;
}
