/*
Theme Name: F.I.R.S.T. 16 (Basato su MagZilla)
Version: 1.0
Text Domain: favethemes
Template: magzilla
*/



.header-6 .header-6-light {
	background-color: #006139;
	border: 0 none;
	color: #fff;
}
.header-6 .header-6-light ul.navbar-nav > li > a {
	color: #fff;
}
.header-6 .header-6-light ul.navbar-nav > li > a:hover {
	color: rgba(255,255,255,0.8);
}
.header-6 .header-6-light.sticky-nav ul.navbar-nav > li > a {
	color: #006139;
}
.header-6 ul#main-nav > li > a {
	text-transform: none;
	font-size: 0.9em;
}
.header-6 .header-6-light ul.navbar-nav > li.dropdown:hover {
	background: none;
}
.header-6 .yamm .dropdown.yamm-fw .dropdown-menu,
.header-6 .yamm .dropdown .dropdown-menu {
	top: 39px;
}

@media screen and ( min-width:992px ) and (max-width:1199px) {
	/* Voci menù più compatte */ 
	.header-6 ul#main-nav > li > a {
		padding-left: 12px;
		padding-right: 12px;
	}	
}
.mobile-menu .navbar-brand img {
	max-height: 30px;
}
.mobile-menu .navbar-brand {
	padding: 10px 15px;
}

.header-right {
	text-align: right;
}
.logo-wrap img,
.header-right img {
	max-height: 70px;
	width: auto;
}
.logo-wrap a {
    display: inline-block;
}
.mag-info {
	display:none;
}

body.home .magzilla-main-wrap {
	margin-top: 20px;
	margin-bottom: 0;
}

.archive h1.page-title {
	display: none;
}


.page-header h1,
.post-title > a {
	color: #006139;
}

.dropdown-menu > .menu-item > a {
	font-weight: bold;
}
.dropdown-menu > .menu-item > a:focus,
.dropdown-menu > .menu-item > a:hover {
	color: #0060a0;
}


.thumb-content {
	color: #fff;
	line-height: 1.25;
}
.banner-slide .left-side a + .thumb-content,
.banner-slide .left-side a:hover + .thumb-content {
	padding:15px;
	background: rgba(0,0,0,0.45);
	text-rendering: optimizeLegibility;
	width:auto;
	max-width: 100%;
}
.banner-slide .thumb .category-label {
	font-size: 0.9em;
	margin: -0.2em 0 0.5em;
	text-transform: none;
	padding: 0 0 0.2em;
	border-bottom: 1px solid rgba(255,255,255,0.8);
}
.banner-slide .thumb .category-label a {
	padding: 0;
	background: none;
	margin: 0 0.2em 0.2em 0;
}
.banner-slide .thumb-content .gallery-title-big {
	line-height: 1.2;
}
.banner-slide .owl-controls {
	margin-top: 0;
}

@media (max-width: 320px) {
	.banner-slide .thumb-content>div {
		display:none;
	}
}

.module-small-title,
.module-small-title a {
	color: #006139;
}
.post.post .module-small-title {
	line-height: 1.15;
}
.module-small-title a:hover,
.module-small-title a:focus,
.module-small-title a:active {
	color: #0060a0;
}
.post-small-content > p {
	margin: 0;
}

@media (max-width: 991px) {
	.post.post .module-small-title {
		font-size: 17px;
	}
}
@media (max-width: 767px) {
	.post-small-content {
		line-height: 1.33;
	}
	.post.post .module-small-title {
		font-size: 20px;
	}
}
@media (max-width: 480px) {
	.post.post .module-small-title {
		font-size: 19px;
	}
}


.featured-image-wrap {
	overflow: hidden;
}
.featured-image-wrap > .category-label {
	top: auto;
	bottom: 0;
}
.featured-image-wrap > .category-label a {
	top: auto;
	margin-bottom: 0;
	border-radius: 0;
	text-transform: none;
	padding: 0.6em 0.8em;
	font-size: 14px;
}


.wpb_wrapper > .module:last-child {
	margin-bottom: 0;
}


.home .module-7 .thumb-content {
	display: none;
}

.bottom-footer .nav > li > a:hover {
	color: #000;
}
@media only screen and ( max-width:990px ) {
	.bottom-footer .nav > li > a {
		padding: 2px;
	}
}

.top-footer .widget {
	font-size: 0.9em;
}



.entry-content blockquote {
	font-style: normal;
}
.entry-content .post-title a {
	text-decoration: none;
}



.archive .post-title.module-big-title {
	font-size: 23px;
	font-weight: bold;
}
.search-results .page-title.page-title {
	font-size: inherit;
}
.search-result-posts .post-title.post-title,
.archive .page-title {
	line-height: 1.15;
}


/***************************************************/

.widget-top > .widget-title {
	font-size: 18px;
	line-height: 1.1;
	margin-bottom: 0!important;
}

.widget .post-date {
}
.posts-by-tag-list, .posts-by-tag-item,
.widget_recent_entries ul,
.widget_recent_entries li,
.widget_rrm_similar_posts ul,
.widget_rrm_similar_posts li {
	list-style: none;
	padding:0;
	margin:0;
}
.posts-by-tag-item,
.widget_recent_entries ul li,
.widget_rrm_similar_posts li {
	padding-top: 1em;
	margin-top: 1em;
	border-top: 1px solid #e0e0e0;
	font-size: 1em;
	line-height: 1.4;
	font-family: "PT Sans Narrow", sans-serif;
}
.posts-by-tag-item:first-child,
.widget_recent_entries li:first-child,
.widget_rrm_similar_posts li:first-child {
	padding-top: 0;
	margin-top: 0;
	border-top: 0  none;
}
.posts-by-tag-item > a,
.widget_recent_entries li > a,
.widget_rrm_similar_posts li h5 {
	font-size: 1.05em;
	font-weight: normal;
	line-height: 1.15;
}
.widget_recent_entries ul li > a {
	color: #006139;
	width: auto;
	padding: 0;
}
.widget_recent_entries ul li a:hover {
	text-indent: 0;
}
.widget_recent_entries ul li:before {
	content: none;
}
.widget_rrm_similar_posts .post-date,
.widget_rrm_similar_posts .post-date + br {
	display: none;
}


/*........................ */


input[type="checkbox"].wpcf7-form-control,
input[type="radio"].wpcf7-form-control {
	height: 1.1em;
	width: auto;
	margin: 0 0.5em;
	vertical-align: middle;
}
.wpcf7-form p {
	margin-bottom: 0.5em;
	font-weight: normal;
}


/*.........................*/
/* Home */

/* Testo messaggio apertura */
.testo-apertura {
	overflow: hidden;
	margin-left: 0;
	margin-right: 0;
}
.testo-apertura {
	color: #fff;
	background: #0965A9;
	background-image: linear-gradient(20deg, hsl(206, 90%, 35%) 33%, hsl(206, 90%, 30%) 100% );
}
.banner-slider .banner-txt,
.testo-apertura .banner-txt {
	padding:20px 15px 10px 20px;
}
.testo-apertura .banner-txt > .entry-title {
	font-size: 1.2em;
	line-height: 1.55;
	margin: 0;
}
.banner-slider .banner-img,
.testo-apertura .banner-img {
	position: relative;
	padding: 0 0 0 20px;
}
.testo-apertura p {
	margin: 0;
}
/*
@media screen and ( min-width:1200px ) {
	.testo-apertura {
		height: 160px;
	}
	.testo-apertura .banner-img img {
		position: absolute;
	}
}
*/
@media screen and ( max-width:1199px ) {
	.testo-apertura .banner-txt {
		padding:15px;
	}
}
@media screen and ( min-width:992px ) and ( max-width:1199px ) {
	.testo-apertura .banner-txt > .entry-title {
		font-size: 0.95em;
	}
}
@media screen and ( min-width:768px ) and ( max-width:991px ) {
	.testo-apertura .banner-txt > .entry-title {
		font-size: 0.92em;
	}
	.testo-apertura .banner-txt > .entry-title p {
		line-height: 1.33;
	}
}
@media screen and ( max-width:991px ) {
	.testo-apertura .banner-img {
		padding-left: 15px;
	}
	.testo-apertura .banner-txt > .entry-title {
		line-height: 1.4;
		margin:-2px 0;
	}
}
@media screen and ( max-width:767px ) {
	.testo-apertura .banner-img {
		padding: 0 15px 15px;
		text-align: center;
	}
	.testo-apertura .banner-img img {
		width: 240px;
		border: 1px solid #fff;
	}
	.testo-apertura .banner-txt > .entry-title {
		font-size: 1.1em;
	}
}

/* Slider a fascia orizzontale */
.banner-slider {
	background: #888;
	line-height: 1.25;
	color: #fff;
}
.banner-slide {
	margin: 0;
}
.banner-slider .banner-txt {
	padding-right: 0;
	padding-bottom: 5px;
}
.banner-slider .banner-txt p {
	margin: 0;
	display: inline;
}
.banner-slider .banner-txt a.read-more {
	color: #555;
	display: inline-block;
	margin-left: 0.5em;
	font-weight: bold;
}
.banner-slider .banner-txt a,
.banner-slider .entry-title a {
	color: #fff;
}
.banner-slider .entry-title {
	font-size: 1.25em;
	line-height: 1.25;
	margin: -0.05em 0 0.3em;
}
.testo-apertura + .banner-slider {
	margin-top: 20px;
}
.banner-slider .owl-nav {
	top: 0;
	right: 5px;
	text-shadow: 1px 1px 0 #fff;
}

@media screen and ( min-width:992px ) and ( max-width:1199px ) {
	.banner-slider .banner-txt {
		font-size: 0.9em;
	}
	.banner-slider .entry-title {
		margin-top: -0.65em;
	}
}

@media screen and ( max-width:991px ) {
	.banner-slider .banner-img,
	.banner-slider .banner-txt {
		padding: 15px;
	}
}

@media screen and ( min-width:992px ) {
	.banner-slider .owl-controls {
		position: absolute;
		left: 660px;
		right: 0;
		bottom: 0;
		height: 32px;
	}
	.banner-slider .owl-dots {
		position: absolute;
		bottom: 0;
	}
}
@media screen and ( min-width:1200px ) {
	.banner-slider .owl-controls {
		left: 810px;
	}
}


.owl-theme .owl-controls .owl-dot span {
	width: 14px;
	height: 14px;
	margin: 3px;
	background: #fff;
	border: 1px solid #0965A9;
	border-radius: 50%;
}
.owl-theme .owl-controls .owl-dot.active span {
	background: #0965A9;
	border: 1px solid #fff;
/*	width: 16px;
	height: 16px;
	margin: 2px;*/
}

.notizie-nazionale > .vc_column-inner,
.col.notizie-nazionale {
	background-color: #eee;
}
.notizie-nazionale h3 {
    text-transform: uppercase;
    color: #006139;
    line-height: 1.0;
}
.notizie-nazionale .post-title {
    font-size: 1em;
    line-height: 1.1;
	font-weight: bold;
    margin: 0;
    font-family: "PT Sans Narrow", sans-serif;
}
.notizie-nazionale .post-content {
    font-size: 0.8em;
    line-height: 1.1;
}
.notizie-nazionale .featured-image-wrap,
.notizie-nazionale article {
	margin-bottom: 0;
}
.notizie-nazionale .row.post + .row.post {
    margin-top: 10px;
}
.notizie-nazionale .category-label-wrap {
    display: none;
}
.notizie-nazionale article {
	margin-bottom: 4px;
	padding-bottom: 5px;
	border-bottom: 1px solid #ccc;
}
.notizie-nazionale .row:last-child article {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0 none;
}
.notizie-nazionale .post-meta {
	display: none;
}
.notizie-nazionale .post-title {
	margin: 0 0 0.25em;
}
.notizie-nazionale .module {
	margin: 0;
}



/* Pulsanti vc custom (con immagine...) */
.vc_btn3-container[class*=" vc_custom_"] {
	position: relative;
}
.vc_btn3-container[class*=" vc_custom_"] .vc_btn3-block.vc_btn3-o-empty {
	position: absolute;
	padding: 0;
	height: 100%;
}





/* Sez. Link in homepage Sottositi */

.visual-links .vc_btn3-container {
    position: relative;
    padding: 0 0 75%!important;
}

.visual-links .vc_btn3-container > a,
.visual-links .vc_btn3-container > button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 50%!important;
    text-shadow: 0 0 12px #000;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 120%!important;
}

.home .module-5 + .module-5 {
	margin-top: -30px;
}
/*.home .module-5 + .module-5 .featured-image-wrap {
	display: none;
}*/


.widget_recent_comments ul li a,
.widget_pages ul li a,
.widget_recent_entries ul li a,
.widget_categories ul li a,
.widget_nav_menu ul li a,
.widget_meta ul li a,
.widget_pages ul li a,
.widget_archive ul li a,
.widget_display_forums ul li a,
.widget_display_views ul li a,
.widget_display_topics ul li a {
	padding: 2px 0;
	line-height: 1.2;
}
.widget_recent_comments ul li:before,
.widget_pages ul li:before,
.widget_recent_entries ul li:before,
.widget_categories ul li:before,
.widget_nav_menu ul li:before,
.widget_meta ul li:before,
.widget_pages ul li:before,
.widget_archive ul li:before,
.widget_display_forums ul li:before,
.widget_display_views ul li:before,
.widget_display_topics ul li:before {
	margin-top: 0px;
}

.jwplayer {
	max-width: 100%;
}

.gallery-caption:before {
	z-index: -1;
}

.banner-xtra {
	text-align:center;
}
.banner-xtra .banner-right {
	text-align:center;
	float: none;
	height: 50px;
}
.banner-xtra h1 img,
.banner-xtra .banner-right img {
	height: 50px;
	margin: 0!important;
}

@media only screen and ( min-width:768px ) {
	.banner-xtra {
		height: 40px;
		overflow: hidden;
		margin: -70px 30px 0 0;
		position: absolute;
		right: 30px;
	}
	.banner-xtra a,
	.banner-xtra > h1,
	.banner-xtra > h1 img,
	.banner-xtra .banner-right,
	.banner-xtra .banner-right>*,
	.banner-xtra .banner-right img {
		display: block;
		height: 100%;
		margin: 0!important;
	}
}


/* Più spazio alle voci di menù primario */
@media (min-width: 992px) {
	nav.magazilla-main-nav.navbar {
		padding-right: 40px;
	}
	.header-6 ul#main-nav > li > a {
		padding-inline: 18px;
	}
	.magazilla-main-nav > .sticky_inner,
	.magazilla-main-nav > .sticky_inner > .nav {
		display: flex;
		justify-content: space-between;
		align-content: center;
	}
	.magazilla-main-nav > .sticky_inner > .nav {
		flex-basis: 100%;
	}
	.magazilla-main-nav > .sticky_inner > .nav::before {
		content: none;
	}
}



@media ( max-width:480px ) {
	.single-post .single-featured-image.half {
		width: auto;
		float: none;
		margin: 0 0 30px;
	}
}



.entry-content .post a {
	text-decoration: none;
}
.entry-content ul.post-meta {
	margin: 0;
	padding: 0;
}