/*************************************************/
/******************CUSTOM CSS*********************/
/*************************************************/

/* GENERAL */
a.button_theme,
a.tp-button.button_theme, 
button, 
input[type="submit"], 
input[type="reset"], 
input[type="button"] {
	color: #fff;
}

.dark {
	background-color: #3a608a !important;
}
.dark-contacts {
	background-color: #173862 !important;
	color: #fff;
	padding-top: 150px !important;
	padding-bottom: 0 !important;
}

.mcb-section {
	padding-top: 70px;
	padding-bottom: 30px;
}
.mcb-wrap {
	padding: 0 10px;
}
.one.column  {
	width: 100% !important;
}
.column, .columns {
	margin: 0 0 40px;
}

/* ITEM REALIZZAZINI - PARTNERS */
.item {
	margin-bottom: 30px;
	padding: 5px;
	transition: all 0.5s;
}
.item .column {
	margin: 0;
}
.item img {
	transition: all 0.5s;
}
.item h4 {
	margin: 0;
	padding: 10px;
	text-align: center;
}
.item:hover {
	background-color: #f5f5f5;
}
.item a:hover {
	text-decoration: none;
}

/* HEADER */
#logo img {
	max-width: 200px;
}
#Top_bar .header_phone {
	position: relative;
	top: 45px;
	display: block;
	float: left;
	font-size: 22px;
	line-height: 22px;
	margin-right: 15px;
}
#Top_bar.is-sticky #header_cart {
	top: 22px;
}
#Top_bar a#header_cart {
	font-size: 15px;
}
#Top_bar a#header_cart i {
	font-size: 18px;
}
#Subheader {
	background: rgb(23,56,98);
	background: linear-gradient(180deg, rgba(23,56,98,1) 0%, rgba(86,126,163,0.7859476554293592) 75%, rgba(255,255,255,1) 100%); 
}
#Top_bar .menu > li > a span:not(.description) {
	padding: 0 10px;
}

/* PRODUCTS */
.products {
	display: flex;
	flex-wrap: wrap;
}
.isotope-item {
	width: calc(50% - 30px);
	margin: 0 5px;
	padding: 10px;
	transition: all 0.5s;
}
.isotope-item img {
	transition: all 0.5s !important;
}
.isotope-item .desc h4 {
	margin-top: 10px;
}
.isotope-item:hover {
	background-color: #f5f5f5;
}

/* CONTATTI */
.contatti h1 {
	font-size: 35px;
}
#contactForm .column {
	margin-bottom: 10px;
}
#contactForm input[type=text],
#contactForm input[type=tel],
#contactForm input[type=email],
#contactForm select,
#contactForm textarea,
#contactForm button {
	width: 100%;
}
#contactForm .check-privacy {
	display: flex;
	line-height: 1.1;
}
#contactForm .check-privacy input {
	margin-right: 10px;
}

/* HOMEPAGE */ 
.box-strengths {
	padding: 50px 15px 10px;
	color: #fff;
	width: 25% !important;
}
.box-strengths .column_image,
.box-strengths p {
	margin: 0;
}
.box-strengths h3 {
	color: #fff;
}
.box-strengths:nth-child(1) {
	background-color:#173862;
}
.box-strengths:nth-child(2) {
	background-color:#567ea3;
}
.box-strengths:nth-child(3) {
	background-color:#3a608a;
}
.box-strengths:nth-child(4) {
	background-color:#173862;
}

.home-img-label {
	display: block;
	margin-top: 15px;
	color: orange;
	line-height: 1.3;
}
/* FOOTER */
#Footer {
	background-color: #567ea3;
}
.footer_copy {
	background-color: #173862;
}
#Footer, #Footer .widget_recent_entries ul li a {
	color: #fff;
}
#Footer .widgets_wrapper a {
	font-weight: bold;
	color:#3a608a;
}
#Footer .widgets_wrapper a:hover {
	color:#173862;
	text-decoration: none;
}
#Footer .footer_copy .social li a, 
#Footer .footer_copy .social-menu a,
#Footer .footer_copy .copyright,
a#back_to_top.button.button_js, 
#popup_contact > a.button {
	color: #567ea3;
}
.footer-logo {
	max-width: 210px !important;
}
.footer-social {
	display: flex;
}
.footer-social .social-icon {
	font-size: 22px;
	margin-right: 10px;
}
#Footer .footer_copy .social li a:hover, 
#Footer .footer_copy .social-menu a:hover {
	text-decoration: none;
	color: #fff;
}

/* BLOG */
.post-item {
	margin: 0 5px 30px 5px;
	background-color: #f5f5f5;
	overflow: hidden;
	width: calc(33% - 10px) !important;
	padding: 0;
}
.post-item img {
	height: 200px !important;
	object-fit: cover;
}
.post-item .post-title {
	font-size: 22px;
	padding: 10px 15px 0 15px;
}
.post-item .post-description {
	padding: 20px 15px 30px 15px;
	display: block;
	text-align: left;
}
.post-item .post-description p {
	line-height: 1.2;
}
.post-item .post-link {
	padding: 15px 10px;
	background-color: #567ea3;
	max-width: 90px;
	margin: 0 auto;
}
.post-item .post-link a {
	color: #fff;
}
.post-item a:hover {
	text-decoration: none;
}

/* BLOG POST */
.post-intro {
	display: flex;
	align-items: center;
}

/* PARTNERS */ 
.partners-wrapper .item p {
	line-height: 1.4;
}

/* SLICK SLIDER */
.slick-carousel {
	max-height: 550px;
}
.slick-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* SOCIAL WALL */
.filter-items {
	display: none !important;
}
/*************************************************/
/*************CUSTOM CSS RESPONSIVE***************/
/*************************************************/
@media screen and (max-width: 1240px) {
	.box-strengths {
		width: 50% !important;
	}
}
@media screen and (max-width: 767px) {
	p, span, li {
		font-size: 15px !important;
		line-height: 1.5;
	}
	#slide-1-layer-8 p {
		font-size: inherit !important;
		line-height: 25px !important;
	}
	h3 {
		font-size: 22px !important;
		line-height: 1.4;
	}
	h4 {
		font-size: 20px !important;
		line-height: 1.4;
	}
	.mcb-wrap {
		padding: 0;
	}
	#Top_bar #logo img.logo-main {
		max-width: 150px;
	}
	#Top_bar.is-sticky #logo img.logo-main {
		display: block !important;
		max-width: 150px;
	}	
	.section_wrapper .mcb-wrap {
		margin-bottom: 30px;
	}	
    .isotope-item {
        width: 100%;
		margin-bottom: 40px;
    }
	.home-img-label {
		margin-bottom: 30px;
	}
	.box-strengths {
		padding: 50px 15px 50px;
		width: 100% !important;
		margin-bottom: 0 !important;
	}
	.post-item img {
		height: auto !important;
		width: 100%;
	}
	.contatti h1 {
		text-align: center;
	}
	.mobile-reverse-row {
		display: flex;
		flex-wrap: wrap-reverse;
	}
	.post-item .post-link {
		margin-bottom: 20px;
	}
	.dark-contacts {
		padding-top: 70px !important;
		padding-bottom: 30px !important;
	}
	.post-item .post-link {
		max-width: 130px;
	}
	.mobile-header-mini #Top_bar.is-sticky .logo {
		position: relative;
		top: 15px;
	}
	#Top_bar.is-sticky #header_cart {
		top: 18px !important;
		font-size: 13px !important;
	}
	.footer-logo {
		max-width: 300px !important;
	}
	.item {
		padding: 10px;
	}
}

@media screen and (max-width: 480px) {
	#logo img {
		max-width: 150px;
	}
}
@media screen and (max-width: 400px) {
	#header_cart {
		display: none !important;
	}
}

@media (min-width: 767px) and (max-width: 1239px) {
	#Top_bar a.responsive-menu-toggle {
		top: 24px;
	}
	#Top_bar.is-sticky a.responsive-menu-toggle {
		top: 11px;
	}
}