@charset "utf-8";


/* MATERIALI PAGINA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.materiali .sottotitolo {
	margin-bottom: 50px;
    text-align: center;
    font-weight: 400;
    color: rgb(var(--blu-biasi));
    background-color: rgb(var(--complementare));
    color: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 21px;
    line-height: 25px;
}
.imm_texture {
    position: relative;
}
.imm_texture img {
	width: 100%;
}
.imm_texture .modifica {
	position: absolute;
    top: 0;
    left: 15px;
}
.titolo_lastre_disponibili {
    margin-bottom: 20px;
    text-align: center;
    background-color: rgb(var(--blu-biasi));
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0;
    position: absolute;
    z-index: 10;
    top: 115px;
    color: rgb(var(--blu-biasi));
    background-color: transparent;
    font-weight: 400;
    font-size: 26px;
    line-height: 26px;
}
.materiali .nr_blocco {
	font-size: 24px;
    margin-bottom: 0px;
    color: rgb(var(--complementare));
    font-weight: 600;
}
.materiali .nome_materiale {
	font-size: 20px;
}
.materiali .piano {
    margin-bottom: 8px;
    margin-top: 0;
    padding-bottom: 3px;
    color: rgb(var(--complementare));
}
.materiali .misure, 
.materiali .num_lastre, 
.materiali .superifice_lastre,
.materiali .spessore {
	font-size: 14px;
	line-height: 20px;
}
.materiali .filetto_top {
	border-top: 1px solid #ccc;
	margin-top: 4px;
    padding-top: 4px;
}
.materiali .sup {
	position:relative;
}
.materiali .sup:after{
	content: '2';
    font-size: 9px;
    position: relative;
    top: -5px;
    left: 1px;
}
.titolo_pagina.materiale_magazzino {
	position: absolute;
    z-index: 1;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    padding-top: 70px;
    font-size: 60px;
    color: rgb(var(--blu-biasi));
}
.materiali .riga_lastra {
    border-bottom: 1px solid rgb(var(--blu-biasi));
    margin-bottom: 40px;
    padding-bottom: 15px;
}
.materiali .riga_lastra .macro {
	position: relative;
    width: 100%;
    display: block;
    padding-bottom: 75%;
}
.materiali .riga_lastra .macro img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
}
.materiali .riga_lastra .magnify {
    position: absolute;
    width: 100%;
    height: 100%;
}
.materiali .riga_lastra .magnify:hover {
    background-image: url(../../../images/lente-bianca.png);
    background-repeat: no-repeat;
    background-position: center center;
	background-color: rgb(0 0 0 / 50%);
}
.materiali .riga_lastra .macrolens {
	display: block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    background-image: url(../../../images/lente.png);
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    left: 12px;
    background-color: rgb(255 255 255 / 80%);
}
.materiali .info_blocco {
	list-style: none;
	padding-left: 0;
}
.materiali .info_blocco label {
    font-weight: 600;
    color: rgb(var(--blu-biasi));
	font-size: 15px;
    line-height: 15px;
}
/* styling comune per tutte le righe */
#Richiesta_list .rich-item {
  position: relative;
  padding: .4em 1.8em .4em .6em;
  border: 1px solid rgb(var(--complementare));
  margin-bottom: .4em;
  border-radius: 0;
  background: #f7f7f7;
  min-height: 2.5em; /* altezza minima per la riga vuota */
}

/* stacco visivo per il placeholder vuoto */
#Richiesta_list .rich-item.riga_placeholder {
  background: #efefef;
  border-style: solid;
  color: transparent; /* testo invisibile */
}
#Richiesta_list .rich-item.riga_placeholder:before {
  content: "\00a0";   /* spazio non-vuoto per forzare l’altezza */
}
#Richiesta_list .remove-item {
	position: absolute;
  right: .4em;
  top: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.2em;
  color: #900;
  padding: 0;

  margin: 0;
  line-height: 1;
	font-weight: bold;
}
.form_container .rsform-block-titolo h2 {
	font-size: 24px;
	color: rgb(var(--complementare));
	font-weight: 600;
}
.btn.aggiungi_blocco {
	color: #333;
    border-color: #333;
    font-size: 14px;
    margin-top: 7px;
	padding-top: 5px;
    padding-bottom: 5px;
}
.btn.aggiungi_blocco:hover {
	background-color: rgb(var(--complementare));
    border-color: rgb(var(--complementare));	
}
.qta-select {
	border-radius: 7px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-left: 4px;
}



/* FORM_CONTATTO
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.form_container {
    margin-top: 0 !important;
	padding-left: 20px;
    padding-right: 20px;
    background-color: #fff;
	margin-bottom: 0 !important;
	padding-bottom: 50px;
}
.form_container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: rgb(var(--blu-biasi));
    font-weight: 400;
}
.form_container label {
	margin-bottom: 0;
    display: block;
    font-size: 15px;
    line-height: 18px !important;
}
.form_container .rsform-type-textarea label {
	margin-bottom: 3px;
}
.form_container #invia {
    background-color: rgb(var(--blu-biasi));
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
    margin: auto;
    display: block;
}
.form_container input[readonly],
.form_container textarea[readonly] {
	cursor: not-allowed; /* Cambia il cursore per indicare che l'input è disabilitato */
    pointer-events: none; /* Disabilita l'interazione con il mouse */
	color: #696969;
}
.ancora_form {
    display: table;
    margin: auto;
    background-color: #999;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 16px;
    padding: 10px;
    margin-bottom: 50px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.ancora_form:hover {
	background-color: rgb(var(--blu-biasi));
	color: #fff;
}



/* MODAL
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.materiali .modal-box {
    /*display: none;*/
}
.materiali .modal_box_mat {
    top: 0 !important;
    width: 100%;
    left: 0 !important;
    height: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
	display: table;
}
.materiali .js-modal-close-img-modal {
    padding: 20px;
    background-color: #fff;
    color: #555;
    top: 0;
    right: 0;
    font-size: 34px;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
	z-index: 10000;
	position: fixed;
}
.materiali .modal_body_mat {
    display: table;
    height: 100%;
    width: 100%;
}
.materiali .modal_body_mat .img_cont {
    vertical-align: middle;
    display: table-cell;
}
.materiali .modal_body_mat .img_cont img {
    margin: auto;
}
.materiali .modal_box_form {
    top: 0 !important;
    width: 100%;
    left: 0 !important;
    height: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: table !important;
    position: fixed;
    z-index: 1000;
}
.materiali .modal_box_form .modal_box_form_tb_cell {
	display: table-cell;
    vertical-align: middle;
}
.materiali .modal_box_form .modal_box_form_tb_cell .form_background {
	background-color: #fff;
    padding: 30px;	
}
.materiali .modal-box.form_materiali {
	display: block;
}
.materiali  .form_container .modal_box_form header, .form_container .modal_box_form footer {
    display: block;
	position: relative;
}
.modal-box .container {
  padding: 0;
}
.modal-box header,
.modal-box .modal-header {
  border-bottom: 1px solid #ddd;
}

.modal-box header h3,
.modal-box header h4,
.modal-box .modal-header h3,
.modal-box .modal-header h4 { margin: 0; }

.modal-box .modal-body { padding: 2em 1.5em; }

.modal-box footer,
.modal-box .modal-footer {
  padding: 1em;
  border-top: 1px solid #ddd;
  background: rgba(0, 0, 0, 0.02);
  text-align: right;
}
.modal-box footer a {
	display: table;
    margin: auto;
    text-transform: uppercase;
    color: #333;
    font-weight: 900;
    font-size: 18px;  
}
.modal-box footer a:hover {
	text-decoration: none; 
	color: #cc1719;
}
.materiali .modal-overlay {
  opacity: 0;
  filter: alpha(opacity=0);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9) !important;
}

a.close {
	line-height: 1;
    font-size: 30px;
    position: absolute;
    top: 6px;
    right: 15px;
    text-decoration: none;
    color: #555;
    font-weight: bold;
}

a.close:hover {
  color: #222;
  -webkit-transition: color 1s ease;
  -moz-transition: color 1s ease;
  transition: color 1s ease;
}
.materiali .js-modal-close-img-modal, .fullscreen_texture .btn-close {
    padding: 20px;
    background-color: #fff;
    color: #555;
    top: 0;
    right: 0;
    font-size: 36px;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    position: fixed;
    opacity: 1;
    border-radius: 0;
    line-height: 36px;
    z-index: 10;
}
.fullscreen_texture {
	padding: 0;
}
.fullscreen_texture img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}


/* RESPONSIVE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 768px) {
	
.item-pagemateriali .img_cont {
    position: relative;
    height: 300px;
}
.item-pagemateriali .img_cont img {
    position: absolute;
    width: auto;
    height: 300px;
}	
.item-pagemateriali	.imm_texture_due {
    padding: 0;
}
	
}







