/* ----------------------------------------------------------------
	Modifiche css
-----------------------------------------------------------------*/

/*goontop stay blue after click on mobile*/
.device-touch > #gotoTop:hover {
	background-color: rgba(0,0,0,0.3);
}

/* header in dark mode */
.dark > #header-wrap > .container { 
	border-bottom: 1px solid rgba(255,255,255,0.2);
	padding-bottom: 5px;
}
#primary-menu > ul > li > a {
	font-size: 15px;
	font-weight: 400 !important;
	text-transform: capitalize;
	font-family: 'Poppins', sans-serif !important;
	margin: 0 15px;
	padding: 39px 5px;
}
.dark #header-wrap:not(.not-dark) #primary-menu > ul > li > a,
.dark #header-wrap:not(.not-dark) #primary-menu > .container > ul > li > a,
.dark.overlay-menu #header-wrap:not(.not-dark) #primary-menu > ul > li > a,
.overlay-menu #primary-menu.dark > ul > li > a,
.dark.overlay-menu #header-wrap:not(.not-dark) #primary-menu > #overlay-menu-close,
.overlay-menu #primary-menu.dark > #overlay-menu-close,
.dark #header-wrap:not(.not-dark) #top-search a,
.dark #header-wrap:not(.not-dark) #top-cart a,
.dark #header-wrap:not(.not-dark) #side-panel-trigger a,
.dark #header-wrap:not(.not-dark) #top-account a,
.dark #top-cart .top-cart-item-desc a,
body.top-search-open .dark #header-wrap:not(.not-dark) #top-search a,
.dark #header-wrap:not(.not-dark) #top-search a:hover,
.dark #header-wrap:not(.not-dark) #top-cart a:hover,
.dark #header-wrap:not(.not-dark) #side-panel-trigger a:hover,
.dark #header-wrap:not(.not-dark) #top-account a:hover,
.dark #header-wrap:not(.not-dark) #top-search form input {
	color: #FFF;
	text-shadow : 2px 2px 2px rgba(0,0,0,0.8);
}
.dark #header-wrap:not(.not-dark) #primary-menu > ul > li:hover > a,
.dark #header-wrap:not(.not-dark) #primary-menu > ul > li.current > a,
.dark #header-wrap:not(.not-dark) #primary-menu > .container > ul > li:hover > a,
.dark #header-wrap:not(.not-dark) #primary-menu > .container > ul > li.current > a { color: #FFFFFF; }

/* header in sticky mode */
#primary-menu ul li:hover > a,
#primary-menu ul li.current > a {
	color: #444;
}
#primary-menu ul li a:hover,
#primary-menu ul li.current > a {
	color: #267DF4;
}

/* Slide */
#rev_slider_679_1_wrapper {
	padding:0px;
}
#rev_slider_679_1 {
	display:none;
}
.word-slide, .heading-block h2 {
	color: #054B78!important;
}
.tp-bannertimer {
	background: rgba(5,75,120,.15)!important;
}
.revo-slider-emphasis-text {
	font-size: 64px;
	font-weight: 700;
	letter-spacing: -1px;
	font-family: 'Raleway', sans-serif;
	padding: 15px 20px;
	border-top: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
}
.revo-slider-desc-text {
	font-size: 20px;
	font-family: 'Lato', sans-serif;
	width: 650px;
	text-align: center;
	line-height: 1.5;
}
.tp-caption { white-space: nowrap; }
/* not see arrow preview on touch device */
@media only screen and (max-device-width : 1024px) {
	.tp-arr-imgholder, .tp-arr-allwrapper { display: none; }
}

/* Azienda */
.content-wrap {
	padding: 0;
}
.section {
	position: relative;
	padding-top: 60px;
	background-color: transparent;
	overflow: hidden;
}
.heading-block:after {
	width: 100px;
	border-top: 2px solid #054B78;
}
@media (max-width: 767.98px) {
	.col_three_fifth {
		margin-bottom: 0px !important;
	}
}
.word-company {
	font-weight:bold;
	text-decoration: none;
	color: #054B78;
}
.heading-block h4, .heading-block h1 {
	color: #054B78;
}

/* Divisorio */
.divider:after,
.divider.divider-center:before,
.divider.divider-center.divider-short:before {
	content: '';
	position: absolute;
	width: 100%;
	top: 8px;
	left: 30px;
	height: 0;
	border-top: 1px solid rgba(5,75,120,.2);
}
.divider {
	color: rgba(5,75,120,.2);
}

/*Service*/
.portfolio-desc {
	font-size: 20px;
}
body:not(.device-touch) #service span .device-touch {
	display: none;
}
.heading-block h2 + span {
	font-size: 16px;
}
.service-image {
	width: 60px;
	height: 60px;
	margin-top: 5px;
}
@media only screen and (max-device-width : 1024px) {
	#content .flip-card-inner p {
		line-height: 1.6rem;
	}
}
.flip-card-front:after,
.flip-card-back:after {
	background-color: #595959;
}

@media screen and (min-width: 1199px) and (max-width: 100vw) {
	.flip-card-inner p {
		font-size: 16px;
	}
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
	.flip-card-inner p {
		font-size: 14px;
	}
	.card-body {
		padding: 0;
	}
	.flip-card-inner .card-title {
		font-size: 22px;
	}
	.height-1 {
		max-height: 320px;
		min-height: 320px;
	}
	.height-2 {
		max-height: 610px;
		min-height: 610px;
	}
	.height-3 {
		max-height: 560px;
		min-height: 560px;
	}
	.height-4 {
		max-height: 266px;
		min-height: 266px;
	}
	.height-5 {
		max-height: 270px;
		min-height: 270px;
	}

}
@media screen and (min-width: 768px) and (max-width: 992px) {
	.flip-card-inner p {
		font-size: 16px;
	}
	.height-1, .height-2, .height-3, .height-4, .height-5 {
		max-height: 280px;
	}
	.maps {
		min-height: 220px;
	}
	.img-company {
		min-height: 700px;
	}
}
@media screen and (min-width: 560px) and (max-width: 768px) {
	.flip-card-inner p {
		font-size: 14px;
	}
	.height-1, .height-2, .height-3, .height-4, .height-5 {
		max-height: 280px;
	}
	.img-company {
		max-height: 600px;
	}
}
@media screen and (min-width: 480px) and (max-width: 560px) {
	.flip-card-inner p {
		font-size: 14px;
		line-height: 1.5!important;
	}
	.height-1, .height-2, .height-3, .height-4, .height-5 {
		max-height: 280px;
	}
}
@media screen and (min-width: 430px) and (max-width: 480px) {
	.flip-card-inner p {
		line-height: 1.2!important;
		font-size: 13.5px;
	}
	.card-body {
		padding: 5px;
	}
	.flip-card-inner .card-title {
		font-size: 18px;
	}
	.height-1, .height-2, .height-3, .height-4, .height-5 {
		max-height: 290px;
	}
}
@media screen and (min-width: 0vw) and (max-width: 430px) {
	.flip-card-inner p {
		line-height: 1.4!important;
		font-size: 14px;
	}
	.flip-card-inner {
		padding: 5px;
	}
	.card-body {
		padding: 0;
	}
	.flip-card-inner .card-title {
		font-size: 17px;
	}
	.height-1, .height-2, .height-3, .height-4, .height-5 {
		max-height: 300px;
	}
	.button.button-xlarge {
		font-size: 15.5px;
	}
}

/*Reference*/
.grab {
	cursor: -webkit-grab;
	cursor: grab;
	touch-action: none;																			/*Per errore su Chrome*/
}

/*Contatti*/
address {
	margin-bottom: 10px!important;
}

/*Footer*/
.pointer {
	cursor: pointer;
}
#footer {
	background: url('image/img-footer.jpg') no-repeat;
	background-size: 100% 100%;
}
.img-footer {
	position: relative;
	margin: auto;
	left: 0;
	right: 0;
}
.font-weight-600 {
	font-weight: 600;
}

/*MODAL PRIVACY*/
.ul-modal {
	margin-left: 18px;
}
.toast-top-right {
	top: 7%;
	right: 12px;
}


@media (min-width: 992px) {

	#primary-menu > ul > li.menu-item-emphasis > a {
		padding-top: 9px;
		padding-bottom: 9px;
		border-radius: 20px;
		margin-top: 30px;
		margin-bottom: 30px;
	}

	#header.sticky-header #primary-menu > ul > li.menu-item-emphasis > a {
		padding-top: 9px !important;
		padding-bottom: 9px !important;
		margin-top: 20px;
		margin-bottom: 20px;
	}

	#header:not(.sticky-header) #primary-menu > ul > li.menu-item-emphasis > a {
		background-color: rgba(255,255,255,0.1);
		text-shadow: none;
	}

	#header:not(.sticky-header) #primary-menu > ul > li.menu-item-emphasis > a:hover {
		background-color: #FFF;
		color: #267DF4 !important;
	}

	#header.sticky-header #primary-menu > ul > li.menu-item-emphasis > a {
		background-color: #267DF4;
		color: #FFF;
	}

	#primary-menu ul ul:not(.mega-menu-column) {
		width: 260px;
		padding: 20px;
		border: 1px solid #EEE !important;
		border-radius: 0 0 3px 3px;
		left: -20px;
	}

	#primary-menu ul ul li > a {
		font-size: 14px;
		font-weight: 400;
		text-transform: capitalize;
		padding: 12px 20px;
		font-family: 'Poppins', sans-serif !important;
	}

	#primary-menu ul ul li:hover > a { padding-left: 25px; }

}

#header.sticky-header:not(.static-sticky),
#header.sticky-header:not(.static-sticky) #header-wrap,
#header.sticky-header:not(.static-sticky):not(.sticky-style-2):not(.sticky-style-3) #logo img { height: 80px; }

#header.sticky-header:not(.static-sticky) #primary-menu > ul > li > a {
	padding-top: 29px;
	padding-bottom: 29px;
}

#header.sticky-header:not(.static-sticky) #top-search,
#header.sticky-header:not(.static-sticky) #top-cart,
#header.sticky-header:not(.static-sticky) #side-panel-trigger {
	margin-top: 30px !important;
	margin-bottom: 30px !important;
}

#header.sticky-header:not(.static-sticky) #top-cart .top-cart-content,
#header.sticky-header:not(.static-sticky) #primary-menu.sub-title.style-2 > div #top-cart .top-cart-content { top: 50px; }

#footer { border-top: 1px solid #DDD; }

.before-heading {
	font-family: 'Poppins', sans-serif !important;
	font-style: normal;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	color: #AAA;
}