/*
Theme Name: PortNews
Description: Theme developed for Autorità di Sistema Portuale del Mar Tirreno Settentrionale
Author: 77Agency - Andrea De Panfilis
Version: 1.4.1
Template: fox
Text Domain: wi-child
*/

@import url("../fox/style.min.css");

/* Typography */
h1 {
	color: #931a21;
}

/* Header */
#header-area {
	padding: 0 0 15px;
}
#logo-area {
	padding-top: 20px;
}
#header-area aside.widget {
	margin-top: 20px;
}
.section-heading {
	padding-top: 10px;
	letter-spacing: 1px;
}

/* Menu Customizations */
#wi-mainnav .menu > ul > li.current-menu-ancestor > a,
#wi-mainnav .menu > ul > li.current-menu-item > a {
	background-color: #931a21;
}

/* Home page Customizations */
figure.big-forced img {
	width: 100%;
}
/* Remove some stuff */
.big-more,
.main-stream .grid-cats,
.wi-section .grid-date {
	display: none;
}
.grid-cats:before {
	content: '';
}

/* Single News Customizations */
.has-thumbnail .big-meta {
	top: inherit !important;
	bottom: 0;
	left: 0;
}
.grid-thumbnail .big-meta {
	font-size: 8px;
	z-index: 11;
	margin-top: -16px;
}
.grid-thumbnail .big-cats {
	background: #fff;
}
/* Occhiello */
.single-h3 {
	font-size: 24px;
	margin-bottom: 0;
}
/* Sottotitolo */
.single-h2 {
	font-style: italic;
	margin: 15px 0;
	font-size: 22px;
	font-weight: 500;
}
/* Qualifica */
.meta-qualifica {
    font-style: italic;
}

main.content-area a {
	text-decoration: underline;
}
body.home main.content-area a,
main.content-area article section a,
main .single-tags a,
main .wi-pagination a {
	text-decoration: none;
}

/* Footer customizations */
.disable-hand-lines #wi-footer, 
.disable-hand-lines .topbar-inner:after {
	color: #fff;
	background-color: #931a21;
}
.sponsor-imgs {
	margin-top: 20px;
	text-align: center;
}
.sponsor-imgs a {
	width: 120px;
	display: inline-block;
	margin-right: 20px;
}
.sponsor-imgs a:last-child {
	margin-right: 0;
}

/* New Custom Post Types settings */
.enable-2-columns:not(.woocommerce):not(.woocommerce-page) .entry-content.disable-2-cols {
	column-count: 1;
	text-align: left;
}

.additional-sections {
	border-top: none;
	border-bottom: 2px solid;
	padding: 12px 0;
}
.additional-sections h3 {
	text-align: center;
}
.additional-sections:nth-of-type(1) {
	border-top: 2px solid;
}

/* Events settings */
.event-details {
	font-size: 16px;
	font-style: italic;
}
.event-date {
	position: absolute;
	top: 0;
	left: 0;
	width: 70px;
	padding: 10px;
	font-size: 24px;
	color: #fff;
	background-color: #931a21;
	text-align: center;
	text-transform: uppercase;
	line-height: 1;
}

/* Radar icon settings */
span.impacts {
	font-size: 32px;
}
.impact-1 {
	/* Green */
	color: #00a000;
}
.impact-2 {
	/* Yellow */
	color: #fdd53c;
}
.impact-3 {
	/* Red */
	color: #e00000;
}

/* Content Dock */
#content-dock {
	width: 400px;
	padding: 0 14px 24px;
	overflow: hidden;
/*	overflow-x: hidden;
	overflow-y: scroll;*/
}
#content-dock .dock-title {
	letter-spacing: 3px;
	padding: 6px 12px 6px 24px;
}
#content-dock .close {
	right: 5px;
}

/* Share single post */
.post-share.share-3 ul li {
	width: 33.3333333%;
}
/* Share Linekdin added instead of Pinterest */
.post-share ul li.li-linkedin a {
	background: #0077b5;
}

/* New Print Icon */
.print-icon {
	text-align: right;
	font-size: 26px;
	margin: 20px 0;
}

/* Fix Multilanguage tabs display ONLY for 1 single news having post id = 6335 */
/*
 .postid-6335.enable-2-columns:not(.woocommerce):not(.woocommerce-page) .entry-content {
	column-count: 1;
}
*/
.tab-in-two-columns {
	column-count: 2;
	text-align: justify;
}
@media (max-width: 479px) {
	.tab-in-two-columns {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
		text-align: left;
	}
	#wonderplugintabs-1 > .wonderplugintabs-header-wrap {
		width: 100% !important;
	}
}
/* Avoid the tabs plugin to show the free plugin watermark */
.wonderplugintabs-panel > a {
	position: absolute;
	top: 0;
	left: 99999px;
}
.wonderplugintabs-panel > a > div {
	height: 0;
}


/***************/
/* Mobile mods */
/***************/
@media (max-width: 767px) {
	/* Footer images distance */
	.sponsor-imgs img {
		margin-bottom: 10px;
	}
	.single-h3 {
		font-size: 18px;
	}
	/* Hide the header red line only on subpages, only on mobile */
	.hidden-mobile {
		display: none;
	}
	body.home .hidden-mobile {
		display: block;
	}
	/* Reduce the logo for mobile devices */
	#logo-area {
		width: 70%;
		margin: 0 auto;
	}
	
}
@media (max-width: 479px) {
	/* Home page section titles */
	.section-heading {
		font-size: 18px !important;
	}
	.single-h3 {
		font-size: 16px;
	}
}


/* WPML Overrides */
.wpml-ls-menu-item .wpml-ls-flag {
	display: inline;
	vertical-align: initial;
	width: 24px;
	height: 24px;
}

#wi-mainnav .menu > ul > li.wpml-ls-menu-item > ul {
	width: auto;
}


/* TEST */
/*
 body:not(.admin-bar) li.wpml-ls-current-language {
	display: none !important;
}
*/