/*
Theme Name: Design Italia Child Theme
Theme URI: https://github.com/italia/design-wordpress-theme/
Author:  Gargano
Author URI: http://marcogargano.com/
Description: Tema child di Design Italia utilizzabile per la customizzazione.
Version: 0.29
License: AGPL-3.0
License URI: https://www.gnu.org/licenses/agpl-3.0.en.html
Template: design-italia
Text Domain: wppa-child
*/

/* GENERAL STYLE  */
blockquote {
	margin: 0;
	border-left: 0.3rem solid currentColor;
	margin-bottom: 3.2rem;
	margin-top: 3.2rem;
	padding-left: 2.4rem;
}

blockquote p {
	font-family: "Titillium Web",Geneva,Tahoma,sans-serif;
	font-style: italic;
	color: #5a6772;
	font-size: 1.3rem;
	letter-spacing: .007em;
}

.it-header-wrapper.is-sticky {
	height: auto;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a h2 {
	font-size: 3.65em;
	margin-right: 10px;
	line-height: 52px;
	float: left;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a h3 {
	float: left;
	font-size: 15px;
	line-height: 26px;
	width: 155px;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a h3:before {
	content: '';
	width: 3px;
	height: 46px;
	background-color: #fff;
	display: block;
	float: left;
	margin-right: 10px;
	margin-top: 4px;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
	height: auto;
}

@media (max-width: 576px) {
	.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a h2 {
		font-size: 35px;
	}
	.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper .it-brand-text {
		padding-right: 10px;
	}
	.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
		width: 28px;
	}
}

@media (min-width: 992px) {
	.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a h2 {
		font-size: 4em;
		margin-right: 20px;
	}

	.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a h3 {
		font-size: 1.4em;
		line-height: 26px;
		width: 300px;
	}

	.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a h3:before {
		margin-right: 20px;
		height: 50px;
	}

	.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
		width: 52px;
		margin-top: 3px;
	}

	.menu-main .nav li a {
		font-size: 1em;
	}
}
/**/

/* FOOTER */
#footer .it-brand-wrapper,
#footer .sub-menu {
	display: none;
}
/**/

/* BTN */
.btn,
.ow-button-base a {
	transition: background-color 0.5s ease;
}
input[type="submit"].btn-primary {
	color: #fff;
}
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active {
	background-color: #be2217!important;
}
/**/

@media (min-width: 601px){
	.mobile-show {
		display: none !important;
	}
}

@media (max-width: 600px){
	.mobile-hide {
		display: none !important; 
	}
}

/* HOME SLIDE */
#home_slider {
    overflow: hidden;
}
#home_slider .owl-dots {
	bottom: 10px!important;
}

#home_slider .owl-nav .owl-next,
#home_slider .owl-nav .owl-prev {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #fff;
	background: none!important;
	font-size: 30px;
}

#home_slider .owl-nav .owl-prev:before {
	content: "\f053";
}

#home_slider .owl-nav .owl-next:before {
	content: "\f054";
}

#home_slider .owl-item .owl-text-wrapper {
	text-align: center;
	padding: 20px;
	background: rgba(255,255,255,0.8);
	-webkit-border-radius: 0.25em;
	-moz-border-radius: 0.25em;
	border-radius: 0.25em;
}

@media (max-width: 600px){
	#home_slider .owl-item>div {
		padding: 12%!important;
	}
}
/**/

/* HOME GENERIC STYLE */
.faq_banner_hp {
	-webkit-border-radius: 0.25em;
	-moz-border-radius: 0.25em;
	border-radius: 0.25em;
	padding: 20px;
	background-color: #fff;
	position: relative;
}

.faq_banner_hp a {
	font-weight: bold;
	transition: color 0.2s;
}

a.person__carousel,
.faq_banner_hp a:hover {
	text-decoration: none;
}

.faq_banner_hp:hover:after,
.faq_banner_hp:hover a {
	color: #be2217;
}

.faq_banner_hp:after {
	position: absolute;
	content: "\f054";
	font-family: "FontAwesome";
	font-size: 14px;
	bottom: calc(50% - 12px);
	right: 20px;
	color: #0066cc; /*#caced7;*/
	transition: all 150ms ease-out;
}

#featuredPostWrapper {
	position: relative;
}

#featuredPostWrapper .about-us__navigation {
	position: absolute;
	top: 0;
	right: 0;
}

/* .page-template-home-fullwidth .registro-hp-wrapper a img, */
.registro-sidebar-wrapper a img {
	/* -webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	filter: grayscale(100%); */
	/* -webkit-filter: sepia(0) saturate(100%) hue-rotate(0deg);
	-moz-filter: sepia(0) saturate(100%) hue-rotate(0deg);
	filter: sepia(0) saturate(100%) hue-rotate(0deg); */
	/* transition: all 0.5s ease; */
}

/* .page-template-home-fullwidth .registro-hp-wrapper:hover a img, */
.registro-sidebar-wrapper:hover a img {
	/* -webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%);
	filter: grayscale(0%); */
	/*  -webkit-filter: sepia() saturate(10000%) hue-rotate(30deg);
	-moz-filter: sepia() saturate(10000%) hue-rotate(30deg);
	filter: sepia() saturate(10000%) hue-rotate(30deg); */
}

.registro-sidebar-wrapper a {
	text-decoration: none;
}
.registro-sidebar-wrapper:hover a {
	color: #1b9dd9!important; /* #be2217 */
}

.entry-content .registro-hp-wrapper img {
	margin-bottom: 10px;
}
/**/

.entry-content ul {
	padding-left: 30px;
}

.download-list-container {
	margin-top: 30px;
}

.download-elem {
	margin-bottom: 15px;
}

.share-link .fa {
	font-size: 50%;
}

#projects {
	background-color: #eeeeee;
}

@media (min-width: 768px) {
	.page-widget-area {
		padding-top: 105px;
	}
}
.entry-content [href$=".pdf"]:after {
	font-family:'Line Awesome Free';
	content:"\f1c1";
}
.entry-content [href$=".zip"]:after {
	font-family:'Line Awesome Free';
	content:"\f1c6";
}
.entry-content [href$=".xlsx"]:after,
.entry-content [href$=".xls"]:after,
.entry-content [href$=".xml"]:after {
	font-family:'Line Awesome Free';
	content:"\f1c3";
}

.hbps-responsive-video { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden;
	max-width: 1200px;
	margin: 0 auto;
	margin-bottom: 30px;
}
.hbps-responsive-video iframe, 
.hbps-responsive-video object, 
.hbps-responsive-video embed, 
.hbps-responsive-video video { 
	position: absolute; 
	top: 0; 
	left: 0; 
	right: 0;
	width: 100%;
	height: 100%;
}

/* COOKIE BAR */
#cookie-notice {
	padding: 0;
}
#cookie-notice.cookie-notice-hidden .cookie-notice-container {
	padding: 15px 30px;
}
#cookie-notice .cookie-notice-container {
	max-width: 100%;
}
/**/

/* CF7 */
.wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
	font-size: small;
}
.wpcf7-acceptance .wpcf7-list-item label {
	font-weight: normal;
}
.wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
    vertical-align: text-bottom;
}
.wpcf7-not-valid-tip {
	font-size: small;
	margin-top: 5px;
	font-weight: bold;
}
/**/

.hide {
	display: none !important;
}
.menu-item.inverted {
    background: #fff;
}
.menu-item.inverted a {
	color: #be2217;
}
.menu-main .nav li.inverted:hover a,
.menu-item.inverted a:hover {
	color: #fff!important;
}
.menu-main .nav .current-menu-item.menu-item.inverted > a,
.menu-item.inverted a:active {
	color: #0066cc;
}

#show-menu-lingua {
	overflow: hidden;
}