/* Regole generali */
body {
	background: #fff;
	color: #383a3c;
	font-weight: 400;
	font-size: 1em;
	line-height: 1.25;
	font-family: 'Raleway', Calibri, Arial, sans-serif;
}

a, button {
	outline: none;
}

a {
	color: #566473;
	text-decoration: none;
}

a:hover, a:focus {
	color: #34495e;
}

.riquadro-destra a {
	color: #436cb1;
	text-decoration: underline;
}

.riquadro-destra .no-margin img {
position: relative;
left: 0%;
max-width: 40px;
}

section {
	padding: 1em;
	text-align: center;
}

/* Index: Header con effetto bolle */
.header-largo {
	position: relative;
	width: 100%;
	background: #FFF;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
	z-index: 1;
}

.effetto-bolle .header-largo {
	background-image: url('../img/braccio-doccia-index-bg.jpg');
	background-position: center bottom;
}

/* Index: Box con foto animate */
.box-foto {
	width: 30%;
	height: 100%;
   background: rgb(51, 51, 51);
   background: rgba(255, 255, 255, 0.4);
	position: absolute;
	margin: 0;
	padding: 0;
	color: #383a3c;
	text-align: center;
	top: 0%;
	left: 3%;
	z-index: 5;
}

.box-foto img {
	width: 90%;
	margin-bottom: 200px;
}

.foto-prodotti {
   background: rgba(255, 255, 255, 0.6);
}

.foto-prodotti {
font-family: 'Segoe Script', Calibri, Arial, sans-serif;
font-size: 40px;
}

/* Pagine: Header senza effetto bolle */
.corpo-pagine {
	background-image: url('../img/braccio-doccia-pages-bg.jpg');
	background-position: center top;
	background-repeat: no-repeat;
	background-size: contain;
}

/* Index: Banner triangolare "Vendita diretta" */
.triangolo {
margin: 0;
padding: 0;
top: 0%;
right: 0%;
position: absolute;
width: 0;
height: 0;
border-style: solid;
border-width: 0 150px 150px 0;
border-color: transparent rgba(81, 81, 81, 0.2) transparent transparent;
}

.triangolo .testo {
position:absolute;
top:-67.7px;
right:-229.7px;
width:141.4px;
height:20px;
line-height:20px;
padding:118.4px 0 3px 0;
text-align:center;
background:none;
color:#FFF;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
-ms-transform: rotate(45deg);
text-transform: uppercase;
letter-spacing: 1px;
font-size: 80%;
font-weight: bold;
}

/* Index e Pagine: Elementi dell'Header */
.intestazione {
	margin: 0;
	padding: 0;
	text-align: center;
   position: relative;
	padding: 2em;
	text-align: center;

	background-position: center bottom;
	background-size: cover;
}

.intestazione h1 {
	margin-top: 20px;
	font-size: 2.5em;
	line-height: 1;
	font-weight: 200;
		   background: rgba(51, 51, 51, 0.2);
		   padding: 25px;
		   color: #e4e4e4;
}

.intestazione h1 span {
	display: block;
	padding: 0.8em 0 1.5em;
	font-size: 46%;
	color: #e4e4e4;
	line-height: 1.4;
}

.logo-titolo {
	margin: 0;
	padding: 0;
	text-align: center;
	top: 10%;
	right: 2%;
   position: absolute;
	padding: 2em;
	text-align: center;
	max-width: 1030px;
	z-index: 10;
}

.logo-titolo h1 {
	margin: 0;
	font-size: 4.5em;
	line-height: 1;
	font-weight: 200;
}

.logo-titolo h1 span {
	display: block;
	padding: 1em 0 1.5em;
	font-size: 36%;
	color: #333;
	line-height: 1.4;
}

/* Index e Pagine: Pulsanti di Navigazione tra le pagine */
.pulsanti-navigazione {
	padding-top: 1em;
	font-size: 0.8em;
}

.pulsanti-navigazione a {
	display: inline-block;
	margin: 0.35em 0.1em;
	padding: 0.5em 1.2em;
	outline: none;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	border-radius: 2px;
	font-size: 110%;
	border: 2px solid transparent;
	background-color: #FFF;
	opacity: 0.8;
}

.pulsanti-navigazione a:hover,
.pulsanti-navigazione {
	border-color: #383a3c;
}

.pulsanti-navigazione h3 {
	margin: 0;
	padding: 1em 0 0.5em 0;
	font-size: 0.9em;
	float: left;
	min-width: 90px;
	clear: left;
}

.pulsanti-navigazione div:not(:first-child) h3 {
	padding-top: 2em;
}

.pulsanti-navigazione a:hover,
.pulsanti-navigazione {
	color: inherit;
	border-color: initial;
}

.flag {
visibility: visible;
}

/* Pagine: Riquadro di sinistra delle pagine che contiene Icone catalogo e Fotografie del Contatto */
.riquadro-sinistra {
	width: 40%;
	height: 100%;
	position: relative;
	margin: 0;
	padding: 0;
	color: #383a3c;
	text-align: center;
	margin-top: 2%;
	left: 2%;
float: left;
}

/* Pagine Catalogo: Stile della Tabella che regola le icone del Catalogo */
table .quadrato {
border-bottom: 0px solid #FFF;
}

table .quadrato img {
width: 100%;
}

table .quadrato a:link {
padding: 20px;
background: rgba(51, 102, 153, 0.2);
display: block;
color: #FFFFFF;
text-decoration: none;
width: 100%;
height: 100%;
margin-bottom: 0px;
}

table .quadrato a:visited {
padding: 20px;
background: rgba(51, 102, 153, 0.2);
display: block;
color: #FFFFFF;
text-decoration: none;

}

table .quadrato a:hover {
padding: 20px;
background: rgba(51, 51, 51, 0.5);
display: block;
color: #FFFFFF;
text-decoration: none;

}

table .quadrato a:active {
padding: 20px;
background: rgba(51, 51, 51, 0.5);
display: block;
color: #FFFFFF;
text-decoration: none;

}

body#prodotto-ita1 a#ita1,
body#prodotto-ita2 a#ita2,
body#prodotto-ita3 a#ita3,
body#prodotto-ita4 a#ita4,
body#prodotto-ita5 a#ita5,
body#prodotto-ita6 a#ita6,
body#prodotto-ita7 a#ita7,
body#prodotto-ita8 a#ita8,
body#prodotto-ita9 a#ita9,
body#prodotto-ita10 a#ita10,
body#prodotto-ita11 a#ita11 {
background: rgba(51, 102, 153, 0.5);
}

body#prodotto-eng1 a#eng1,
body#prodotto-eng2 a#eng2,
body#prodotto-eng3 a#eng3,
body#prodotto-eng4 a#eng4,
body#prodotto-eng5 a#eng5,
body#prodotto-eng6 a#eng6,
body#prodotto-eng7 a#eng7,
body#prodotto-eng8 a#eng8,
body#prodotto-eng9 a#eng9,
body#prodotto-eng10 a#eng10,
body#prodotto-eng11 a#eng11 {
background: rgba(51, 102, 153, 0.5);
}

/* Pagine: Riquadro di destra delle pagine che contiene Schede dei prodotti e testo del Contatto */
.riquadro-destra {
float: right;
width: 50%;
margin-right: 60px;
margin-top: 31px;
padding: 20px;
padding-bottom: 45px;
font-family: 'Raleway', Calibri, Arial, sans-serif;
background: rgba(235, 235, 235, 0.7);
}

.riquadro-destra img {
position: relative;
left: 20%;
}

/* Pagine Catalogo: Intestazione delle Schede dei prodotti */
.foto-catalogo-prodotti {
background: rgba(255, 255, 255, 0.6);

}

.foto-catalogo-prodotti {
font-family: 'Segoe Script', Calibri, Arial, sans-serif;
font-size: 3em;
}

/* Pagine Catalogo: Tabella della scheda del prodotto */
.scheda-prodotto {
table-layout: fixed;
text-align: center;
width: 100%;
font-family: 'Raleway', Calibri, Arial, sans-serif;
color: #767676;
margin-bottom: 15px;
}

.scheda-prodotto tr td {
border-bottom: 5px solid #bdbdbd;
background: rgba(255, 255, 255, 0.8);
padding: 0.5em;
}

.lunghezze-prodotto {
table-layout: fixed;
text-align: center;
width: 100%;
font-family: 'Raleway', Calibri, Arial, sans-serif;
color: #767676;
margin-top: 15px;
}

.lunghezze-prodotto tr td {
border-bottom: 1px solid #bdbdbd;
border-top: 5px solid #bdbdbd;
background: rgba(255, 255, 255, 0.8);
padding: 0.5em;

}

.lista-lunghezze-prodotto {
color: #666666;
}

.rosetta-opzionale {
table-layout: fixed;
text-align: center;
width: 100%;
font-family: 'Raleway', Calibri, Arial, sans-serif;
color: #767676;
margin-top: 15px;
}

.rosetta-opzionale tr td {
border-bottom: 1px solid #bdbdbd;
border-top: 5px solid #bdbdbd;
background: rgba(255, 255, 255, 0.8);
padding: 0.5em;

}

.lista-rosetta-opzionale {
background: rgba(235, 235, 235, 0.4);
color: #666666;
}

@media screen and (min-width: 1030px) {
.rosetta-opzionale-mobile {
visibility: hidden;
margin-top: -370px;
}

.lista-rosetta-opzionale-mobile {
visibility: hidden;
}
}

/* Index e Pagine: Stile Tabella del Box con foto animate della Index e delle Schede Prodotti del Catalogo */
table {
table-layout: fixed;
text-align: center;
width: 100%;
font-family: 'Raleway', Calibri, Arial, sans-serif;
color: #a4a4a4;
}

table tr td {
border-bottom: 1px solid #bdbdbd;
}

/* Index: Parte bassa della pagina che contiene Link a Baruzzi, Testo libero, ISO, Pulsanti grandi e Fotografie delle lavorazioni in Index */
.corpo-testo-index {
padding-right: 40px;
padding-left: 40px;
font-family: 'Raleway', Calibri, Arial, sans-serif;
font-size: 1.1em;
background-image: url('../img/bracci-doccia-soffione-bg.png');
background-position: center top;
background-repeat: no-repeat;
background-size: contain;
}

/* Pagine: Parte bassa della pagina che contiene Link a Baruzzi, ISO, Pulsanti grandi */
.corpo-testo-pagine {
padding-right: 40px;
padding-left: 40px;
font-family: 'Raleway', Calibri, Arial, sans-serif;
font-size: 1.1em;
background-image: url('../img/bracci-doccia-soffione-bg.png');
background-position: right top;
background-repeat: no-repeat;
background-size: contain;
}

/* Index e Pagine: Link a Baruzzi */
.baruzzi-site {
	width: 100%;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.69em;
	text-align: center;
	padding: 1em 0;
}

.baruzzi-site a {
	display: inline-block;
	padding: 1.5em;
	text-decoration: none;
	letter-spacing: 1px;
}

/* Index e Pagine: Fotografie con icone cliccabili e ingrandimento sopra  */
.slider-small{
width: 100%;
max-width: 500px;
position: relative;
padding-top: 377px;
margin: 0;
float: left;
margin-right: 40px;
margin-top: 15px;
margin-bottom: 20px;
}

.slider-small>img{
position: absolute;
left: 0; top: 0;
transition: all 1.3s;
width: 100%;
margin-right: 40px;
box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.75);
}
 
.slider-small input[name='slide_switch'] {
display: none;
}
 
.slider-small label {
margin: 40px 0 10px 25px;
float: left;
cursor: pointer;
transition: all 0.5s;
opacity: 0.6;
}
 
.slider-small label img{
display: block;
border: 2px solid #999;
}

.slider-small input[name='slide_switch']:checked+label {
border-color: #666;
opacity: 1;
}

.slider-small input[name='slide_switch'] ~ img {
opacity: 0;
transform: scale(1.1);
}

.slider-small input[name='slide_switch']:checked+label+img {
opacity: 1;
transform: scale(1);
}

@media screen and (max-width: 767px) {
.slider-small{
width: 100%;
max-width: 500px;
position: relative;
padding-top: 350px;
margin: 0;
float: left;
margin-right: 40px;
margin-top: 15px;
margin-bottom: 20px;
background-color: rgba(0,0,0,0.2);
}
}

/* Index e Pagine: Pulsanti grandi a metà della pagina */
.pulsanti-grandi {
	padding: 0;
		font-family: 'Raleway', Calibri, Arial, sans-serif;
}

.pulsanti-grandi p {
	font-size: 1.5em;

}

.pulsanti-grandi > a {
	display: inline-block;
	text-align: center;
	margin: 20px 10px;
	padding: 25px;
	vertical-align: middle;
}

.pulsanti-grandi a img {
	max-width: 100%;
	opacity: 0.7;
	border-radius: 10px;
}

.pulsanti-grandi a:hover img,
.pulsanti-grandi a:active img {
	opacity: 1;
}

.pulsanti-grandi a h3 {
	margin: 0;
	min-height: 63px;
	padding: 0.5em 0 0.3em;
	max-width: 300px;
	text-align: center;
	font-weight: 400;
	font-size: 1em;
		font-family: 'Raleway', Calibri, Arial, sans-serif;
}

/* Index e Pagine: Footer */
p.footer {
	text-align: center;
	padding: 2em 1em;
	background-color: #333;
	color: #f2f2f2;
	min-height: 300px;
	margin-bottom: 0px;
	font-family: 'Raleway', Calibri, Arial, sans-serif;
}

/* Pagine: Modal per aprire le foto dei prodotti a tutto schermo */
#myImg {
    border-radius: 5px;
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.8;}

#myImg1 {
    border-radius: 5px;
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    transition: 0.3s;
}

#myImg1:hover {opacity: 0.8;}

.modal {
    display: none; 
    position: fixed; 
    z-index: 10; 
    padding-top: 100px; 
    padding-right: 30%;   
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    #overflow: auto; 
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
font-family: 'Segoe Script', Calibri, Arial, sans-serif;
font-size: 3em;
position: absolute;
top: 25px;
}

.modal-content, #caption { 
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}



/* TABLET */
@media screen and (max-width: 1030px) {
.box-foto {
	width: 100%;
	height: 50%;
	top: 50%;
	left: 0%;
	z-index: 5;
}

.box-foto img {
	width: 40%;
	margin-bottom: 10px;
}

.logo-titolo {
	top: 0%;
	z-index: 10;
}

.riquadro-sinistra {
width: 100%;
margin-top: 0%;
left: 0%;
margin-bottom: 63px;
}

.riquadro-destra {
width: 100%;
margin-right: 0px;
margin-top: 0px;
}

.rosetta-opzionale {
visibility: hidden;
margin-top: -320px;
}

.lista-rosetta-opzionale {
visibility: hidden;
}

.rosetta-opzionale-mobile {
visibility: visible;
table-layout: fixed;
text-align: center;
width: 100%;
font-family: 'Raleway', Calibri, Arial, sans-serif;
color: #767676;
margin-top: 15px;
}

.rosetta-opzionale-mobile tr td {
visibility: visible;
border-bottom: 1px solid #bdbdbd;
border-top: 5px solid #bdbdbd;
background: rgba(255, 255, 255, 0.8);
padding: 0.5em;

}

.lista-rosetta-opzionale-mobile {
visibility: visible;
background: rgba(255, 255, 255, 0.6);
color: #666666;
}
}



/* SMARTPHONE */
@media screen and (max-width: 767px) {
.logo-titolo {
margin-top: -150px;
position: relative;
z-index: 10;
}

.logo-titolo h1 {
font-size: 2.5em;
font-weight: 50;
}

.intestazione h1 {
font-size: 1.5em;
font-weight: 100;
color: #FFF;
}

.intestazione h1 span {
color: #FFF;
}

.box-foto {
visibility: hidden;
}

.pulsanti-navigazione a {
border: 1px dotted #666666;
font-size: 90%;
}

.pulsanti-grandi > a {
margin: 0px;
padding: 0px;
width: 40%;
}

.riquadro-destra img {
width: 100%;
left: 5%;
margin-top: 63px;
}

.riquadro-sinistra .quadrato img {
width: 70%;
}

.riquadro-sinistra {
width: 100%;
margin-top: 0%;
left: 0%;
margin-bottom: 63px;
}

.riquadro-destra {
width: 100%;
margin-right: 0px;
margin-top: 0px;
}

.lista-lunghezze-prodotto {
table-layout: inherit;
font-size: 0.8em;
}

}

.modal-content {
width: 100%;
}

}