/*
 Theme Name:     SMP Theme 2022
 Theme URI:      https://www.studiobaunz.it
 Description:    SMP Theme 2022 Theme
 Author:         Studio Baunz
 Author URI:     https://www.studiobaunz.it
 Template:       Divi
 text-domain:	 smp
 Version:        1.0.159
*/
/* ------------------------------------------------------- */
:root {
	--main: #006cb6;
	--lGrey: #cccccc;
	--dGrey: #707070;
	--txtbase: #181818;
}

::selection {color: #fff; background: var(--main);}
#et-main-area {overflow-x: hidden;}
.et_pb_image img {pointer-events: none;}
/* Testi */
.smp-txt h1, .smp-txt h2, .smp-txt h3, .smp-txt h4, .smp-txt h5, .smp-txt h6, .smp-txt p {padding-bottom: 0px;}
.smp-txt h1 {font-size:clamp(45px, 4.772vw, 70px) !important;}
.smp-txt h2 {font-size:clamp(35px, 3.6vw, 50px)!important;}
.smp-txt h3, h3.item-title{font-size:clamp(25px, 2.4vw, 35px)!important;}
.smp-txt, .smp-txt h4 {font-size:clamp(16px, 1.8vw, 20px)!important;}

.smp-post-txt h1 {font-size:clamp(35px, 3.6vw, 50px)!important;}


/* MENU */
/* MENU MOBILE */
/* Icona Hamburger */
/* Cambia l'icona quando aperto in mobile */
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}
/* Animazione on click */
.mobile_menu_bar:before {
	transition: all .4s ease;
	transform: rotate(0deg);
	display: block;
    top: 10px !important;
}
.mobile_nav.opened .mobile_menu_bar::before {
	transition: all .4s ease;
	transform: rotate(90deg);
	display: block;
}
/* Chiusura Submenu Mobile */
/*adjust the new toggle element which is added via jQuery*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}
/*some code to keep everyting positioned properly*/
ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}
/*remove default background color from menu items that have children*/
.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}
/*hide the submenu by default*/
ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}
/*show the submenu when toggled open*/
ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}
/*adjust the toggle icon position and transparency*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}
/*submenu toggle icon when closed*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	color: var(--main);
    font-size: 20px;    
}
/*submenu toggle icon when open*/
ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}
/*add point on top of the menu submenu dropdown*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}
/*adjust the position of the hamburger menu*/
.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 10px;
	line-height: 0;
}
/*force the background color and add a rounded border*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}
.et_mobile_menu .menu-item-has-children > a {
	font-weight: 500!important;
}
#mobile_menu1 {
	border-top-width: 0px;
	margin-top: 10px;
}
/* Frecce slider fullwidth base - no hover anim*/
.et_pb_slider:hover .et-pb-arrow-prev {
	left: 0px;
	opacity: 1;
}
.et-pb-arrow-prev {
	left: 0px;
	opacity: 1;
}
.et-pb-arrow-next {
	right: 0;
	opacity: 1;
}
.et_pb_slider:hover .et-pb-arrow-next {
	right: 0px;
	opacity: 1;
}

/* Slider Azienda */
.slider-azienda .et_pb_slide_description {
	padding: 16% 0%;
	width: 500px;
	margin: 0;
}
.slider-azienda .et_pb_slide_title {
	font-size:clamp(35px, 2.6vw, 50px)!important;
	padding-bottom:30px;
}
.slider-azienda .et_pb_slide_content {
	font-size:clamp(16px, 1.8vw, 20px)!important;
}

@media (max-width:980px){
	.slider-azienda .et_pb_slide_description {
		width:auto;
	}
	.slider-azienda .et-pb-arrow-prev, .slider-azienda .et-pb-arrow-next {
		display: none;
	}
}

/* Pagina Prodotti 
@media (min-width: 981px) {
	#post-115 .et_pb_button_1_wrapper, #post-115 .et_pb_button_3_wrapper, #post-115 .et_pb_button_5_wrapper {
		max-width: 500px;
		margin-right: 0px;
		margin-left: auto;
	}
}*/
/* PAGINE PRODOTTI  2n+1 */
@media (min-width: 981px){
	.prod-row {
		display: flex;
		align-items: center;
		margin-bottom:150px;
	}
	.prod-1st-col {
		width: 47.25%;
		margin-right: 5.5%;
	}
	.prod-1st-col h2 {
		display: none;
	}
	.prod-1st-col img {
		display: none;
	}
	.prod-2nd-col {
		width: 47.25%;
	}
	.prod-details h2 {
		margin-bottom: 5.82%;
		font-weight: 700;
	}
	.prod-details img {
		margin-bottom: 5.82%;
	}
	.prod-desc {
		margin-bottom: 5.82%;
	}
	.prod-slider.slick-initialized.slick-slider.slick-dotted {
		max-width: 550px;
	}
	.prod-row:nth-of-type(odd) {
		flex-direction: row-reverse;
	}
	.prod-row:nth-of-type(odd) .prod-1st-col {
		margin-right: 0px !important;
	}
	.prod-row:nth-of-type(odd) .prod-2nd-col {
		margin-right: 5.5%;
	}
	.prod-row:nth-of-type(odd) .prod-slider.slick-initialized.slick-slider.slick-dotted {
		margin-left: auto;
	}
}
@media (max-width: 980px){
	.prod-row {
		display: block;
		padding: 30px 0;
	}
	.prod-1st-col, .prod-2nd-col {
		width: 100%;
		margin-bottom:30px;
	}
	.prod-1st-col h2 {
		display:block;
		font-weight: 700;
		margin-bottom:30px;
	}
	.prod-1st-col img {
		max-width: 250px;
		margin-bottom: 30px;
	}
	.prod-details h2 {
		display:none;
	}
	.prod-details img {
		display:none;
	}
	.prod-desc {
		margin-bottom: 30px;
	}	
}
/* - Button Pieno - */
.prod-st a {
	padding: 0.912rem 2rem;
	color: #fff!important;
	background-color: var(--main);
	border-radius: 50px;
	border: 1px solid var(--main);
	line-height: 1.7em;
	transition: all 300ms ease 0ms;
}
.prod-st a:hover {
	background-color: rgba(0,108,182,0.8);
}
/* - Button Vuoto - */
.prod-st-b a {
	padding: 0.912rem 2rem;
	color: var(--main)!important;
	background-color: transparent;
	border-radius: 50px;
	border: 1px solid var(--main);
	line-height: 1.7em;
	transition: all 300ms ease 0ms;
}
.prod-st-b a:hover {
	background-color: rgba(0,108,182,0.8);
	color: #fff!important;
}

.prod-st a, .prod-st-b a {
	max-width: 200px;
	display: block;
	text-align: center;
}

.prod-slider .slick-dots {
	position: relative;
	bottom: 0;
	padding: 0px;
	text-align: left;
}
.prod-slider .slick-dots li button::before {
	font-size:10px;
}
.prod-slider .slick-dots li.slick-active button::before {
	color: var(--main);
	opacity: 1;
}

.prod-foto-slide {
	aspect-ratio: 10 / 13;
	background-repeat: no-repeat;
	/*background-size: contain;*/
	background-size: cover;
	background-position-x: center;
}

.prod-row:nth-of-type(odd) .prod-foto-slide {
	/*background-position-x: right;*/
	background-position-x: center;
}

.prod-slider .slick-prev::before, .prod-slider .slick-next::before {
	color: var(--main);
}
.prod-slider .slick-prev {
	left: -45px !important;
}
.prod-slider .slick-next {
	right: -15px !important;
}
/* Prodotti Blog Grid 
.smp-blog-prod {
    display: grid;
    gap: 2rem;
}
@media (min-width: 600px) {
    .smp-blog-prod { 
        grid-template-columns: repeat(2, 1fr); 
    }
}
@media (min-width: 900px) {
    .smp-blog-prod { 
        grid-template-columns: repeat(3, 1fr); 
    }
}
@media (min-width: 1230px) {
	.smp-blog-prod { 
        grid-template-columns: repeat(4, 1fr); 
    }
}
.prod-foto { margin-bottom: .5rem; }
*/
/* PROJECT SLIDER HOME */
.slide-post {
	height: 90vh !important;
	display: flex !important;
	align-items: flex-end;
	background-size: cover;
	background-position: center;
}
.slide-post::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(24, 24, 24, 0.08);
}
.slide-post-content {
	position: relative;
	text-align: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	z-index: 5;
	padding-bottom: 80px;
}
.slide-post-content h4 {
	color:#fff;
	font-weight: 600;
}
.slide-post-content a {
	color:#fff;
	line-height: 1.7em;
}
.slider-project .slick-dots {
	bottom: 0;
}
.slider-project .slick-dots li button::before, .slider-project .slick-dots li.slick-active button::before {
	color:#fff;
} 
.slider-project .slick-prev  {
	left: 0px;
	z-index:5;
	width: 50px;
    height: 50px;
	/* Padding per centrare con menu */
	padding-top: 97px;
}
.slider-project .slick-next {
	right: 0px;
	z-index:5;
	width: 50px;
	height: 50px;
	/* Padding per centrare con menu */
	padding-top: 97px;
}
.slick-prev::before, .slick-next::before {
	font-family: 'ETmodules'!important;
	font-size: 50px!important;
}
.slick-prev::before {
	content: '4'!important;
}
.slick-next::before {
	content: '5'!important;
}
.slick-dotted.slick-slider {
	margin-bottom: 0px!important;
}
/* Slick slider dots */
.slick-dots li button::before {
	font-size: 7px!important;
	margin-right: 10px!important;
}
.slick-dots li {
	width: 7px!important;
	height: 7px!important;
}
/* PAGINA PROGETTI BLOG */
.project-post {
	height: 60vh;
	display: flex;
	align-items: end;
	background-repeat: no-repeat;
	background-size: cover;
	background-blend-mode: multiply;
	background-position-y: center;
	transition: all ease 0.3s;
}
.project-post:hover {
	transform: scale(1.02);
	margin-bottom: .2rem;
}
.project-post-content h2 {
	padding: 1rem;
	color: #fff;
}
.project-excerpt p {
	text-align: right;
}
.project-excerpt {
	margin-bottom: 8vh;
}
/* Paginazione */
.pagination {
	display: flex;
	gap: .5rem;
}
.pagination a {
	font-size: 1.5rem;
	padding: .5em;
	border: 1px solid var(--main);
}
.page-numbers.current {
	font-size: 1.5rem;
	padding: .5em;
	border: 1px solid var(--main);
	background-color: var(--main);
	color: #ffffff;
}
.pagination a:hover {
	background-color: var(--main);
	color: #ffffff;
}
.pagination .prev.page-numbers, .pagination .next.page-numbers {
	font-family: ETModules;
	font-weight: 400;
	font-style: normal;
	font-variant: normal;
}

@media screen and (max-width:500px) {
	.pagination a {
		font-size:1.2rem !important;
	}
	.page-numbers.current {
		font-size:1.2rem !important;
	}
}
/* PAGINA PROGETTO */
/* Lista prodotti usati */
.lista-prod-usati {
	list-style-type: none !important;
	padding: 0px !important;
}
.lista-prod-usati a {
	color: var(--txtbase);
	line-height: 2em;
}

/* LAVORA CON NOI */
/* Contact */
.bz-contact {
    font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
}
.bz-contact label {
    font-size: clamp(18px, 1.5vw, 20px);
    font-weight:500;
}
.bz-field { width:100%; }
.bz-field input, .bz-field select, .bz-field textarea {
	margin-bottom: 1.5rem;
	padding: 1rem;
	font-size: clamp(15px, 1.2vw, 18px);
    text-align: center;
}
.bz-text {
    width: 100%;
    border: 1px solid var(--txtbase);
}
input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {
	border: 1px solid var(--txtbase);
}
.wpcf7 input[type="file"] {
	padding-left: 0px;
}
.bz-select {
    width: 100%;
    background-color: var(--txtbase);
    color: #fff;
    text-align: center;
    text-align-last: center;
    -moz-text-align-last: center;
    font-weight: 400;
}
.bz-select:focus {
    color:#fff;   
}
.bz-radio {
    accent-color: var(--txtbase);
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5em;
}
.bz-radio input {
    width: clamp(15px, 1.2vw, 18px);
    height: clamp(15px, 1.2vw, 18px);
}
.contact-btn {
    width: 100%;
    border: none;
    color:#fff;
    background: color var(--txtbase);;
}
.wpcf7 .wpcf7-submit:disabled {
    background-color:var(--dGrey);
    color: var(--txtbase);;
	border: 2px;
}
.bz-field input, .bz-field select, .bz-field textarea {
    margin-right: .5em;
}
.p-privacy {
	font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif !important;
	font-weight: 400;
	font-size: 18px;
}
/* Privacy acceptance */
#privacy {width: auto!important;}
.wpcf7-acceptance p {
	font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 400;
}
.wpcf7-list-item > label:nth-child(1) {
	display: flex;
	margin-top: 1rem;
}
.wpcf7-list-item {
	margin-left: 0px;
}
.bz-hidden {
	visibility:hidden;
}

/* Pagina Lavora con noi */

.job-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 4rem;
	gap: 3%;
}
.job-column {
	width: 47%;
}
.job-btn {
	margin-top: 1.5rem;
	color: #FFF !important;
	border-width: 2px !important;
	border-color: var(--main);
	border-radius: 50px;
	font-weight: 500 !important;
	background-color: var(--main);
	padding: 14px 20px 16px 20px !important;
	font-size: 20px !important;
}


.p-desc {
	padding-top: 2rem;
	margin-bottom: 4rem;
}

@media (max-width: 980px){
	.job-item{
		display: block;
		margin-bottom: 6rem;
	}
	.job-column {
		width: 100%;
	}
	.job-column h2 {
		padding-top: 2rem;
	}
	.p-desc {
		margin-bottom: 2rem;
	}
}


/* PAGINA INTERNA PRODOTTO */

/*  Tabella Valori (BASE) */
.prod-valori {
	margin-bottom: 2rem;
}
.prod-valori td {
	width: 33.33%;
	padding: .5em;
}

.valore {
	/*margin-left: auto;
	margin-right: auto;*/
	display: flex;
	background-color: var(--main);
	border-radius: 100px;
	align-items: center;
	padding: 1em;
	width: 100px;
	height: 100px;
	justify-content: center;
}

.valore span {
	font-weight: 400;
	font-size: clamp(18px, 1.3vw, 25px);
	color: #FFF;
}

@media screen and (max-width:980px) {

	.valore {
		width: 80px;
		height: 80px;
	}

}
/*  Tabella Valori (COMPLETA) */
.prod-valori-complete h3 {
	margin-bottom: 2rem;
	font-weight: 600;
}
.prod-valori-complete table {
	margin-bottom:2rem;
}
.prod-valori-complete td {
	width: 33.33%;
	padding: .5em;
}


/* Scheda tecnica */
.smp-prod-schedatec h3 {
	margin-bottom: 2rem;
	font-weight: 600;
}

.smp-prod-schedatec a {
	color: #FFF !important;
	border-width: 2px !important;
	border-color: var(--main);
	border-radius: 50px;
	font-weight: 500 !important;
	background-color: var(--main);
	padding: 14px 20px 16px 20px !important;
	font-size: 20px !important;
	position: relative;
  	display: block;
  	width: 200px;
  	text-align: center;
}

/* Galleria Foto */
.smp-gallery-prod {
	display: grid;
	/*grid-template-columns: repeat(auto-fit,minmax(min(18.75rem, 100%),1fr));*/
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	overflow-x: hidden;
}
.smp-gallery-prod .gallery-img {
	width: 100%;
	aspect-ratio: 3/2;
	background-position: center;
	background-size: cover;
}

@media screen and (max-width:980px) {
	.smp-gallery-prod {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media screen and (max-width:500px) {
	.smp-gallery-prod {
		grid-template-columns: repeat(2, 1fr);
	}
}
/* Lista Referenze */
.prod-ref-list {
	display: grid;
	/*grid-template-columns: repeat(auto-fit , minmax(min(20rem, 100%), 1fr));*/
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.prod-ref-img {
	height: auto;
	aspect-ratio: 3/2;
	background-size: cover;
	width: 100%;
}
.prod-ref.smp-txt {
	width: 100%;
}
.prod-ref-desc {
	padding-top: 2rem;
	color: var(--txtbase) !important;
}

@media screen and (max-width:980px) {
	.prod-ref-list {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media screen and (max-width:500px) {
	.prod-ref-list {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* MODULO CONTATTI */
.et-pb-contact-message {
	text-align: center;
	font-size: 20px;
	padding: 2em 0;
	color: #FFF;
}

/* REFERENZE Related slider */
.ref-slide {
	padding-right: 50px;
}
.smp-ref-slider .slick-dots {
	position: relative;
	bottom: 0;
	padding: 0px;
	padding-top: 1rem;
}
.smp-ref-slider .slick-dots li button::before {
	font-size:10px;
}
.smp-ref-slider .slick-dots li.slick-active button::before {
	color: var(--main);
	opacity: 1;
}
.smp-ref-slider .slick-prev::before, .smp-ref-slider .slick-next::before {
	color: var(--main)!important;
	font-size: 35px !important;
}
.smp-ref-slider .slick-prev, .smp-ref-slider .slick-next {
	top: -10% !important;
	width: 35px !important;
	height: 35px !important;
	right: 0px!important;
}
.smp-ref-slider .slick-prev {
	left: auto !important;
	right: 2% !important;
}

@media screen and (max-width: 768px) {

	.ref-slide {
		padding-right: 1em !important;
		padding-left: 1em !important;
	}
	.smp-ref-slider .slick-next {
		right: -2rem !important;
	}
	.smp-ref-slider .slick-prev {
		right: 30px !important;
	}
	
}

/* SUBMENU */
.sub-menu a {
	font-size: 18px !important;
}


/* */
.svidor-mod-slider .slick-prev::before, .svidor-mod-slider .slick-next::before {
	color: var(--main)!important;
	font-size: 50px !important;
}
.svidor-mod-slider .slick-prev::before { left: -55px; }


/* --- SLIDER PRODOTTI HOME DIVI CAROUSEL (GLOBAL) --- */
.slider-prod-pages .dica-container .swiper-buttton-container {
	flex-direction: row-reverse;
}
.slider-prod-pages .dica-container .swiper-button-next::before {
	content: '4' !important;
}
.slider-prod-pages .swiper-button-prev.dica-prev-btn-0 {
	visibility: hidden!important;
}
@media (min-width: 981px) {
	.slider-prod-pages .desktop_middle-outside .swiper-button-next {
		-webkit-transform: translateX(-150%)!important;
		transform: translateX(-150%)!important;
	}
}
@media (max-width: 980px) and (min-width: 768px) {
	.tablet_middle-outside .swiper-button-next {
	 	-webkit-transform: translateX(-150%)!important;
	  	transform: translateX(-150%)!important;
	}
}
@media (max-width: 767px) {
	.mobile_middle-outside .swiper-button-next {
	  	-webkit-transform: translateX(-150%)!important;
	  	transform: translateX(-150%)!important;
	}
}

/* ------ REFERENZE BLOG LOAD MORE ------ */
.load-more-container {
	text-align: center;
}
.load-more {
	padding: 0.912rem 2rem;
	color: #fff !important;
	background-color: var(--main);
	border-radius: 50px;
	line-height: 1.7em;
	transition: all 300ms ease 0ms;
	border: none;
	font-size: clamp(16px, 1.8vw, 20px) !important;
	cursor: pointer;
}
.load-more:hover {
	background-color: rgba(0,108,182,0.8);
}
