/*
 * 
 * ICIL Group
 * Nicolò Chiellin
 * n.chiellini@4sigma.it / v.lamantia@4sigma.it
 * 
 */
html { 
    width: 100%;  
    min-height: 100%;
    margin: 0px;
    float: left;
    padding: 0px;
    background-color: white;
    font-family: 'Montserrat';
}
body {    
    border: none; 
    padding: 0px; 
    margin: 0px; 
    width: 100%;
    min-height: 100vh;        
    float: left;
    -webkit-text-size-adjust: 100%;    
    color: white;
    position: relative;    
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
}
td {
    border: none;
    text-align: left;    
    margin: 0px;
    padding: 0px;
}
div, p, h1, h2, h3, h4, h5, h6, ul, 
footer, header, nav, article, main, aside,
section, form {
    float: left;
    margin: 0px;
    padding: 0px;
    width: 100%;    
    text-align: left;    
    text-decoration: none;    
    -webkit-text-size-adjust: 100%;
}
img {
    text-decoration: none;
    border: none; 
    vertical-align: middle;
}
svg {
    border: none;
    border-image-width: 0;
    stroke-width: 0px;
}
iframe {
    margin: 0px;
    padding: 0px;
    border: none;
}
table, td, tr {
    margin: 0px;
    padding: 0px;
    border: none;
}
table {
    float: left;
}
label {
    cursor: pointer;
}
a {
    outline: none;    
    text-decoration: none;    
    color: black;    
    cursor: pointer;
    transition: color 0.2s;
    -webkit-transition: color 0.2s;
}
li {
    outline: none;
}

i, em, .italic {
    font-weight: 400i;
}
.underline {
    text-decoration: underline;
}
*:-placeholder
{
    color: #999;
}
*::-webkit-input-placeholder
{
    color: #999;
}

*::-moz-placeholder
{
    color: #999;
}
*:-moz-placeholder
{
    color: #999;
}

*:-ms-input-placeholder
{
    color: #999;
}
button::-moz-focus-inner {
  border: 0;
}
a:focus { 
    outline: none; 
}
input:focus:-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }
input:focus:-ms-input-placeholder  { color:transparent; }

input,
textarea,
select,
button {    
    outline: none;
    border: none;
    padding: 0px;
    -webkit-border-radius: 0px;        
}
select {
    -webkit-appearance: none;
    background-image: url(data:image/png;base64,iVBORw0KGgoAA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ZAfI4IvJ8BW+DjwoNFMUkeJCnoSIoUkqOb5IREUhIlOfGTlK0IZVgAkODRpD7i30MAAAAASUVORK5CYII=);
    background-position: calc(100% - 10px) 50%;
    background-repeat: no-repeat;
    background-size: 5px 11px;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
input[type=date]::-webkit-inner-spin-button, 
input[type=date]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
button {
    cursor: pointer;
    -webkit-appearance: none;
    background-color: transparent;
    font-family: 'Montserrat';
}
input[type="checkbox"] {
    -webkit-appearance: checkbox;
    -webkit-border-radius: auto;
    vertical-align: middle;
}
input[type="radio"] {
/*    -webkit-appearance: checkbox;
    -webkit-border-radius: auto;*/
    vertical-align: middle;
}
input[type=submit] {
    -webkit-border-radius:0px;
    -webkit-appearance: none;
}
.vis_hidden {
    visibility: hidden;
}
.hidden {
    display: none;
}
.opacity_0 {
    display: 0;
}
.over_hidden {
    overflow: hidden;
}
.block,
.desktop {
    display: block;
}
.mobile {
    display: none;
}
.opacity_0 {
    opacity: 0;
}
.inline-block {
    display: inline-block;
}
.inline-desktop {
    display: inline;
}
.table {
    display: table;
    float: none;
    table-layout: fixed;
}
.table-cell {
    display: table-cell;
    float: none;    
    vertical-align: middle;
}
.table-row {
    display: table-row;
    float: none;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.pointer {
    cursor: pointer;
}
.left {
    float: left;
}
.right {
    float: right;
}
.none {
    float: none;
}
.clear {
    clear: both;
}
.v_top {
    vertical-align: top;
}
.text_top {
    vertical-align: text-top;
}
.v_middle {
    vertical-align: middle;
}
.v_bottom {
    vertical-align: bottom;
}
.m_auto {
    margin: 0px auto
}
.w_auto {
    width: auto;
}
.max_w_100pe {
    max-width: 100%;
}
.w_33pe {
    width: 33.333333%;
}
.w_66pe {
    width: 66.666666%;
}
.maxw_100pe {
    max-width: 100%;
}
.w_50 {
    width: 50%;
}
.w_25 {
    width: 25%;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-justify {
    text-align: justify;
}
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thin {
    font-weight: 100;
}
.extralight {
    font-weight: 200;
}
.light {
    font-weight: 300;
}
.normal {
    font-weight: 400;
}
.strike {
      text-decoration: line-through;
}
.medium {
    font-weight: 500;
}
.semibold {
    font-weight: 600;
}
.bold,
strong, 
b {    
    font-weight: 700;
/*     font-style: inherit; */
}
.extrabold {
    font-weight: 800;
}
.black {
    font-weight: 900;
}
.nero,
.blacklink,
.blacklink:visited,
.black_white_lnk {
    color: black;    
}
.white, .bianco {
    color: #FFFFFF;
}
.red {
    color: #E30613;
}
.cover {
    background-size: 100% 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.uppercase {
    text-transform: uppercase;
}
.two-column {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
}
.ritch-cont {
    /* Qua se vogliamo imporre qualcosa */
}
.ritch-cont a {
/*    font-style: normal;*/
/*     font-weight: bold; */
}
.ritch-cont ul {
    width: 100%;
    box-sizing: border-box;
    list-style-type: disc;
    padding-left: 18px;
}
.ritch-cont ol {
    width: 100%;
    box-sizing: border-box;
    list-style-type:decimal;
    padding-left: 18px;
}
.ritch-cont li {
    float: left;
    width: 100%;
}
.ritch-cont img {
    max-width: 100% !important;
    height: auto !important;
}
/* Honey POT anti SPAM */
.hnpt {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    background-color: transparent;
    height: 100%;
    z-index: 100;
}
#over-box {
    display: none;
    position: fixed;
    z-index: 9995;
    background-color: rgba( 255,255,255, 1);
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    cursor: pointer;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px 0px;
}
#over-box-loader {
    display: none;
    position: fixed;
    z-index: 9996;
    background-color: rgba( 255,255,255, 1);
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    cursor: pointer;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}
#over-box-int {
}
#over-box-close-button {
    display: block;
    float: right;
    font-size: 20px;
    line-height: 30px;
    padding: 20px;
    margin: -20px -20px 0px 0px;
}
.modal-box {
    display: none;
    position: fixed;    
    padding: 20px 20px;
    background-color: #fff;
    color: #000;
    text-align: center;        
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);    
    z-index: 100;
    top: -500px;    
    opacity: 1;
    box-sizing: border-box;    
    width: 300px;
    left: 50%;
    margin-left: -150px;
}

/* FORM */

.form-input {
    display: inline-block;
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 0px 20px 0px 20px;
    height: 60px;
    box-sizing: border-box;
    line-height: 60px;    
    font-size: 12px;
    background-color: #fff;
    /*color: ;*/
}
.form-half-input-cont {
    width: calc(50% - 5px);
}
.form-input:focus,
.form-input-textarea:focus {
}
.form-select {
    display: inline-block;
    float: left;
    width: 100%;
    padding: 0px 40px 0px 10px;
    height: 40px;
    box-sizing: border-box;
    line-height: 40px;    
    font-size: 12px;
    background-color: white;
    color: #000;
}
.form-input-textarea {
    display: inline-block;
    float: left;
    width: 100%;
    padding: 10px 20px 10px 20px;    
    background-color: #fff;
    line-height: 20px;    
    box-sizing: border-box;
    font-size: 12px;    
    position: relative;
    z-index: 1;
}
.btn {
    min-width: 200px;    
    font-size: 15px;
    line-height: 60px;
    font-weight: 500;
    text-transform: uppercase;
    color: white;
    text-align: center;
    padding: 0px 20px 0px 20px;
    border: 1px solid white;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;    
    box-sizing: border-box;
}
/* MENU */
#menu {
    width: 80%;
    height: 50px;
    padding: 0px 200px;
    padding-right: 0;
    box-sizing: border-box;
    background-color: #f2f2f2;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    z-index: 12;
}
#menu-lingue {
    width: 20%;
    height: 50px;
    box-sizing: border-box;
    background-color: #f2f2f2;
    z-index: 12;
}
#menu .sel {
    background-color: #D9D9D9;
    font-weight: 700;
    height: 46px;
}
#menu #dropdown-servizi a {
    font-weight: 400;
}
#menu #dropdown-servizi .sel {
    background-color: #D9D9D9;
    font-weight: 700;
    height: 50px;
}
#menu-lingue .sel {
    font-weight: 700;
    height: 46px;
}
.sidenav .sel {
    font-weight: 700;
}
.sel .menu-bottoni-over-line span:first-child {
    left: 0%;
    width: 50%;
}
.sel .menu-bottoni-over-line span:last-child {
    right: 0%;
    width: 50%;
}

.menu-bottoni {
    display: block;
    width: 150px;
    height: 50px;
    color: #000000;
    font-size: 11px;
    line-height: 50px;
    text-align: center;
    position: relative;
    background-color: #f2f2f2;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
}
.menu-bottoni-drop {
    display: block;
    width: 225px;
    height: 50px;
    color: #000000;
    font-size: 11px;
    line-height: 50px;
    text-align: center;
    position: relative;
    background-color: #f2f2f2;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
}
#servizi-drop {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 50px;
}
#dropdown-servizi {
    display: none;
    position: absolute;
    max-width: 225px;
    z-index: 2;
}

.menu-bottoni-lingue {
    display: block;
    width: 50px;
    height: 50px;
    color: #000000;
    font-size: 11px;
    line-height: 50px;
    text-align: center;
    position: relative;
    background-color: #f2f2f2;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
}
.menu-bottoni-over-line {
    display: block;
    float: left;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 1px;    
}
.menu-bottoni-over-line span {
    display: block;
    float: left;
    height: 5px;
    position: absolute;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;     
    background-color: #E30613;  
}
.menu-bottoni-over-line span:first-child {
    left: 51%;
    width: 0%;
}
.menu-bottoni-over-line span:last-child {
    right: 51%;
    width: 0%;    
}
.sidenav {
    display: none;
}
#openbtn {
    display: none;
}

/* Z_INDEX */
.z-home {
    z-index: 10;
}
.z-azienda {
    z-index: 9;
}
.z-servizi {
    z-index: 8;
}
.z-gallery {
    z-index: 7;
}
.z-contatti {
    z-index: 6;
}
.z-ita {
    z-index: 5;
}
.z-eng {
    z-index: 4;
}
.z-1 {
    z-index: 1;
}
.z-2 {
    z-index: 2;
}

/* MAIN */
main {
    padding-bottom: 150px;  /* Per compensare la risalita  del footer */
    min-height: 100vh;
    box-sizing: border-box;
}
.background-opacity {
    height: 100%;
    width: 100%;
    background: rgb(51,51,51);
    background: -moz-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    opacity: 0.75;
}
.page {
    padding: 0px 40px;
    box-sizing: border-box;
    float: none;
    margin-left: auto;
    margin-right: auto;
}
#button-home {
    width: 140px;
    margin-left: 60px;
    z-index: 120;
}
#logo-top {
    height: 120px;
    display: block;
}
#logo-top-tablet {
    height: 120px;
    display: none;
}
#contatti-header {
    background-color: #262626; 
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    z-index: 118;
}
.contatti-header-text{
    width: calc(100% - 220px);
    font-size: 12px;
    line-height: 30px;
    text-align: left;
    padding-left: 220px;
}
.social {
    padding-right: 10px;
    font-size: 14px;
    line-height: 30px;
    color: black;
}
#home-cover {
    height: 450px;
    background-image: url('../img/icil_home_01.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
/*    -webkit-clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);
    clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);*/
    z-index: 1;
}

#azienda-cover {
    height: 450px;
    background-image: url('../img/azienda.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 40px;
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);
    clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);
}
#privacy-cover {
    height: 450px;
    background-image: url('../img/contatti.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 80px;
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);
    clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);
}
#cover-text {
    width: 100%;
    height: 400px;
    padding-top: 4%;
}
#cover-text-azienda {
    width: 100%;
    height: 400px;
    padding-top: 10%;
}
#cover-text-privacy {
    width: 100%;
    height: 400px;
    padding-top: 10%;
}
#cover-subtitle {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
}
.cover-azienda-subtitle {
    font-size: 40px;
    line-height: 35px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}
.cover-privacy-subtitle {
    font-size: 40px;
    line-height: 35px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}
#cover-title {
    font-size: 40px;
    line-height: 35px;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.btn-trasparente {
    height: 60px;
    width: 200px;
    border: 1px solid white;
    background-color:transparent;
    margin-left: calc(50% - 100px);
    box-sizing: border-box;  
}
.btn-trasparente-bottom {
    height: 60px;
    width: 200px;
    border: 1px solid white;
    background-color:transparent;
    transition: .2s ease;
    opacity: 0;
    top: 50%;
    left: calc(50% + 10px);
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    box-sizing: border-box;  
}
.btn-trasparente-bottom-azienda {
    height: 60px;
    width: 200px;
    border: 1px solid white;
    background-color:transparent;
    transition: .2s ease;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    box-sizing: border-box;  
}
.btn-trasparente-scopri {
    height: 60px;
    width: 200px;
    border: 1px solid white;
    background-color:transparent;
    box-sizing: border-box;  
}
.btn-trasparente-invia {
    height: 60px;
    width: 200px;
    border: 1px solid white;
    background-color:transparent;
    box-sizing: border-box;  
}
.btn-text-white {
    width: auto;
    display: block;
    font-size: 15px;
    line-height: 60px;
    font-weight: 500;
    text-transform: uppercase;
    color: white;
    text-align: center;
    padding: 0px 10px 0px 10px;
}
.btn-trasparente-black {
    height: 60px;
    width: 200px;
    border: 1px solid black;
    background-color:transparent;
    box-sizing: border-box;  
}
.btn-text-black {
    width: auto;
    display: block;
    font-size: 15px;
    line-height: 60px;
    font-weight: 500;
    text-transform: uppercase;
    color: black;
    text-align: center;
    padding: 0px 10px 0px 10px;
}
/*#triangle-cover {
    top: 120px;
    width: 100%;
    height: 660px;
    background-color: white;
    -ms-transform: skewY(-2.8deg);
    transform: skewY(-2.8deg);
    z-index: 0;
}*/
#triangle-cover-left {
    position: absolute; 
    z-index: 20;
    bottom: 0px;
    left: 0px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 calc(100vw * (70.5 / 1600))  100vw;
    border-color: transparent transparent #fff transparent ;
}
#triangle-cover-right {
    position: absolute; 
    z-index: 20;
    top: 0px;
    left: 0px;
    width: 0;
    height: 0;
    border-style: solid;    
    border-width: calc((100vw - 40px) * (70.5/ 1600)) calc(100vw - 40px) 0 0;
    border-color: #fff transparent transparent  transparent ;
}
/* Così ti togli i problemi dei margini sinistra e destra */
.section-hp {
    width: 100%;
    padding: 0px 20px;
    box-sizing: border-box;     
}
#section-hp-2 {
    margin-top: -20px;
    position: relative;
    z-index: 0;
}
#left-home {
    width: 50%;
    float: left;
    padding: 0px 10px 0px 0px; /* Così hai 5 in mezzo */
    margin-bottom: 20px;   
    box-sizing: border-box;    
}
#right-home {
    width: 50%;
    float: right;
    padding: 0px 0px 0px 10px; /* Così hai 5 in mezzo */
    margin-bottom: 20px;   
    box-sizing: border-box;    
}
#img-left-hp {
    /*
        Spostati nel contenitore
    margin-left: 20px;
    margin-bottom: 20px;
    */
    /* height: calc(100% + 600px); */ /* Non serve se combinato con la larghezza deforma l'immagine */
    display: block;
    float: left;
    width: 100%;
    height: auto;
}
#right-hp {
    /*
    width: calc(100% - 200px); Te la cavi con il border-box
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 60px;
    padding-right: 140px;
    */
    /*  
    Sono già al 100%
    width: 100%; 
    */ 
    box-sizing: border-box;
    padding: 40px 140px 40px 60px;    
}
.icil {
    width: 100px;
    padding-bottom: 40px;
}
.text-right-hp {
    font-size: 40px;
    line-height: 45px;
    text-align: left;
    text-transform: uppercase;
    color: black;
}
#links-hp-bottom {
    min-height: 280px;
}
#links-hp-bottom ul {
    display: block;
    float: left;
    width: 100%;
}
#links-hp-bottom li {
    display: block;
    float: left;
    width: calc((100% - 60px) / 4); /* Qui proprio serve, 30 sono i 10px tra ciascuno meno l'ultimo */    
    margin-right: 20px;
}
#links-hp-bottom li:last-child { /* L'ultimo è il diverso */
    margin-right: 0px;
}

#links-hp-bottom span,
#links-hp-bottom a { /* Usiamo le span che se wrappate da un <a> si comportano meglio */
    display: block;
    float: left;
    width: 100%;
}
#links-hp-bottom img { /* Devono avere tutte la stessa proporzione, se no vanno messe come background */
    width: 100%;
}
.links-hp-img-cont {
    height: calc(((100vw - 100px) / 4)  / 1.6); /*Proporizione tra 1600x1000 e lo spazio rimanente se le vogliamo in cover*/
    width: 100%;        
    background-size: 110% auto;
    background-position: top center;
    background-repeat: no-repeat;
    overflow: hidden;
}
#center-azienda .links-hp-img-cont {
    height: calc(340px  / 1.6); /*Proporizione tra 1600x1000 e lo spazio rimanente se le vogliamo in cover*/
}
#links-hp-bottom .btn-text-white,
.azienda-img-list .btn-text-white {
    display: block;
    float: left;
    width: 200px;
    line-height: 60px;
    height: 60px;
    position: absolute;
    z-index: 5;
    left: calc(50% - 100px);    
    top: calc(40% - 30px);    
    font-size: 15px;    
    font-weight: 500;
    text-transform: uppercase;
    box-sizing: border-box;
    border: 1px solid white;
    opacity: 0;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition-timing-function: ease-in-out;
}
.links-hp-img-cont {
    position: relative;    
}
.links-hp-triangle-left,
.links-hp-triangle-right {
    position: absolute; 
    z-index: 2;
    bottom: 0px;
    left: 0px;
    width: 0;
    height: 0;
    border-style: solid;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition-timing-function: ease-in-out;
}
.links-hp-triangle-left {
    /*
        calc((100vw - 60px) / 4) -> Larghezza del triangolo
        calc(((100vw - 60px) / 4) * (105.75 / 1600)) -> Altezza del triangolo (1600x105.75 è quanto detto da Marco)
    */
    
    border-width: calc(((100vw - 100px) / 4) * (105.75 / 1600)) 0 0 calc((100vw - 100px) / 4);
    border-color: transparent transparent transparent #fff;
}
.links-hp-triangle-right {
    border-width: 0 0 calc(((100vw - 100px) / 4) * (105.75 / 1600)) calc((100vw - 100px) / 4);
    border-color: transparent transparent #fff transparent ;
}
.text-bottom-hp {
    font-size: 18px;
    line-height: 18px;
    text-align: left;
    text-transform: uppercase;
    color: black;
    padding: 20px 0px 10px 0px;
    box-sizing: border-box;    
    height: 66px;
    box-sizing: border-box;
    margin-top: 0px;
    position: relative;
    background-color: #fff;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition-timing-function: ease-in-out;
    z-index: 2;
}
.links-hp-background {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;    
    background: rgb(51,51,51);
    background: -moz-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);    
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
        transition: 0.2s;
        -webkit-transition: 0.2s;
        transition-timing-function: ease-in-out;
}
/*
#img-tot-bottom {
    width: calc(100% - 20px);
    padding-right: 20px;
    margin-bottom: 40px;
}
.background-opacity-bottom-dispari {
    height: 100%;
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-bottom: 10px;
    background: rgb(51,51,51);
    background: -moz-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 0% 85%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 0% 85%);
    transition: .2s ease;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
#img-bottom-hp-1 {
    width: calc(100% - 20px);
    padding-left: 20px;
    padding-bottom: 10px;
    display: block;
    float: left;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 0% 85%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 0% 85%);
}
.background-opacity-bottom-pari {
    height: 100%;
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-bottom: 10px;
    background: rgb(51,51,51);
    background: -moz-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 95%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 95%);
    transition: .2s ease;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
#img-bottom-hp-2 {
    width: calc(100% - 20px);
    padding-left: 20px;
    padding-bottom: 10px;
    display: block;
    float: left;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 95%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 95%);
}
#img-bottom-hp-3 {
    width: calc(100% - 20px);
    padding-left: 20px;
    padding-bottom: 10px;
    display: block;
    float: left;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 0% 85%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 0% 85%);
}
#img-bottom-hp-4 {
    width: calc(100% - 20px);
    padding-left: 20px;
    padding-bottom: 10px;
    display: block;
    float: left;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 95%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 95%);
}
.text-bottom-hp {
    font-size: 18px;
    line-height: 18px;
    text-align: left;
    text-transform: uppercase;
    color: black;
    width: calc(100% - 20px);
    padding-left: 20px;
    margin-bottom: 80px;
}
*/

#center-azienda {
    height: auto;
    max-width: 860px;
    padding: 0px 80px;
    box-sizing: border-box;
    float: none;
    margin-left: auto;
    margin-right: auto;
}
#center-privacy {
    height: auto;
    max-width: 860px;
    box-sizing: border-box;
    float: none;
    margin-left: auto;
    margin-right: auto;
}
.title-black {
    font-size: 40px;
    line-height: 35px;
    text-align: left;
    text-transform: uppercase;
    color: black;
    padding-bottom: 20px;
}
.text-black {
    font-size: 20px;
    line-height: 30px;
    text-align: left;
    color: black;
    padding-bottom: 20px;
} 
.azienda-img-ul {
    display: block;
    float: left;
    width: 100%;
}
.azienda-img-list li {
    display: block;
    float: left;
    width: calc((100% - 20px) / 2); /* Qui proprio serve, 30 sono i 10px tra ciascuno meno l'ultimo */    
    margin-right: 20px;
}
.azienda-img-list li:nth-child(2n) { 
    margin-right: 0px;
}
.azienda-img-list span, 
.azienda-img-list a {
    display: block;
    float: left;
    width: 100%;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition-timing-function: ease-in-out;
}
#azienda-img-list-cont {
    min-height: 280px;
}
#center-azienda .links-hp-triangle-left {
    /*
        calc((100vw - 60px) / 4) -> Larghezza del triangolo
        calc(((100vw - 60px) / 4) * (105.75 / 1600)) -> Altezza del triangolo (1600x105.75 è quanto detto da Marco)
    */
    border-width: calc(340px * (105.75 / 1600)) 0 0 340px;
    border-color: transparent transparent transparent #fff;
}
#center-azienda .links-hp-triangle-right {
    border-width: 0 0 calc(340px * (105.75 / 1600)) 340px;
    border-color: transparent transparent #fff transparent ;
}

#img-center-azienda-left {
    width: calc(100% - 10px);
    padding-right: 10px;
    padding-bottom: 20px;
}
#img-center-azienda-right {
    width: calc(100% - 10px);
    padding-left: 10px;
    padding-bottom: 20px;
}
.background-opacity-azienda-1 {
    height: 100%;
    width: calc(100% - 10px);
    margin-right: 10px;
    margin-bottom: 10px;
    background: rgb(51,51,51);
    background: -moz-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 0% 85%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 0% 85%);
    transition: .2s ease;
    opacity: 0;
    top: 50%;
    left: calc(50% - 5px);
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
#img-bottom-azienda-1 {
    width: calc(100% - 10px);
    padding-right: 10px;
    padding-bottom: 10px;
    display: block;
    float: left;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 0% 85%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 0% 85%);
}
.background-opacity-azienda-2 {
    height: 100%;
    width: calc(100% - 20px);
    padding-left: 10px;
    padding-bottom: 10px;
    background: rgb(51,51,51);
    background: -moz-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    background: linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 95%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 95%);
    transition: .2s ease;
    opacity: 0;
    top: 50%;
    left: calc(50% + 5px);
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
#img-bottom-azienda-2 {
    width: calc(100% - 10px);
    padding-left: 10px;
    padding-bottom: 10px;
    display: block;
    float: left;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 95%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 95%);
}
#testo-1-azienda {
    font-weight: 500;
}
#testo-2-azienda {
    width: calc(100% - 10px);
    padding-left: 10px;
    font-weight: 500;
}

#img-center-azienda {
    width: 100%;
}
#img-center-azienda-big {
    height: 400px;
    background-image: url('../img/man-standing-on-stainless-steel-filamend-46168.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 20px;
}
.bottoni-trio {
    display: flex;
    justify-content: space-around;
    height: auto;
    padding-top: 40px;
    padding-bottom: 80px;
    max-width: 700px;
    box-sizing: border-box;
    float: none;
    margin-left: auto;
    margin-right: auto;
}
.big-triangle {
    position: absolute; 
    z-index: 2;    
    left: 0px;
    width: 0;
    height: 0;
    border-style: solid;
}
.big-triangle-bottom-right {
    border-width: 0 0 calc(50vw * (105.75 / 1600)) 50vw;
    border-color: transparent transparent #fff transparent ;
    bottom: 0px;
}
.big-triangle-top-right {
    border-width: 0 50vw calc(50vw * (105.75 / 1600)) 0;
    border-color: transparent #fff transparent transparent ;
    top: 0px;
}
.big-triangle-top-left {
    border-width: calc(50vw * (105.75 / 1600)) 50vw  0 0;
    border-color: #fff transparent  transparent transparent ;
    top: 0px;
}
.big-triangle-bottom-left {
    border-width: calc(50vw * (105.75 / 1600)) 0 0 50vw ;
    border-color: transparent  transparent transparent #fff;
    bottom: 0px;
}
#img-servizi-1-idraulici {
    height: 700px;
    background-image: url('../img/tubazioni.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
/*    -webkit-clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);
    clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);*/
}
.text-servizi {
    width: calc(50% - 40px);
    height: 700px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
}
#img-servizi-2-idraulici {
    height: 700px;
    background-image: url('../img/saldatura.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
#img-servizi-3-idraulici {
    height: 700px;
    background-image: url('../img/montaggi-meccanici.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
#img-servizi-4-idraulici {
    height: 700px;
    background-image: url('../img/carpenteria.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
#img-servizi-1-miscelazione {
    height: 700px;
    background-image: url('../img/installazioni.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
#img-servizi-2-miscelazione {
    height: 700px;
    background-image: url('../img/revamping.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
#img-servizi-3-miscelazione {
    height: 700px;
    background-image: url('../img/manutenzione.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
#img-servizi-4-miscelazione {
    height: 700px;
    background-image: url('../img/ricambi.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.progetti-cover {
    height: 700px;    
    background-size: 100% 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;    
    -webkit-clip-path: polygon(0 10%, 0 100%, 100% 90%, 100% 0);
    clip-path: polygon(0 10%, 0 100%, 100% 90%, 100% 0);    
    position: relative;    
    margin-top: -100px;
}
.progetti-cover:first-child {
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);
    clip-path: polygon(0 0, 0 100%, 100% 90%, 100% 0);
}
.progetti-cover:last-child {
    -webkit-clip-path: polygon(0 10%, 0 100%, 100% 100%, 100% 0);
    clip-path: polygon(0 10%, 0 100%, 100% 100%, 100% 0);    
}
.text-progetti {
    width: calc(50% - 40px);
    margin: 20px;
    margin-top: 140px;
}
.title-white {
    font-size: 40px;
    line-height: 35px;
    text-align: left;
    text-transform: uppercase;
    color: white;
    padding-bottom: 20px;
}
.text-white {
    font-size: 20px;
    line-height: 30px;
    text-align: left;
    color: white;
    padding-bottom: 20px;
}
#contatti-cover {
    height: auto;
    min-height: calc(100vh - 300px);
    background-image: url('../img/contatti.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-bottom: 200px;
    box-sizing: border-box;
/*    -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);*/
}
.form-contatti {
    width: calc(50% - 40px);
    margin: 20px;
    margin-top: 188px;
    margin-bottom: 60px;
}
.form-contatti p {
    font-size: 12px;
    line-height: 15px;
    color: white;
}
.form-contatti a {
    font-size: 12px;
    line-height: 15px;
    font-weight: 600;
    color: #E30613;
}
.contatti-right {
    width: calc(50% - 100px);
    margin-right: 20px;
    margin-left: 80px;
    margin-top: 100px;
    margin-bottom: 60px;
}
.contatti-right-text {
    width: calc((100% - 60px) / 3);
    padding-right: 60px;
    margin-bottom: 40px;
}
.contatti-text {
    font-size: 15px;
    line-height: 20px;
    color: white;
    margin: 0px;
}
.contatti-link{
    font-size: 15px;
    line-height: 20px;
    color: #E30613;
    display: block;
    float: left;
    width: 100%;
}

footer {
    position: relative;
    z-index: 100;
    margin-top: -50px;
}
#footer-shadow {
    width: 100%;
    height: 100%;
    /*-webkit-filter: drop-shadow(0px 0px 20px rgba(0,0,0,0.25));
    filter: drop-shadow(0px 0px 20px rgba(0,0,0,0.25));*/
    position: relative;
}
#footer-content {
   background-color: #F2F2F2;
   position: relative;
   z-index: 10;
}
#footer-triangle {
    position:absolute;
    top: calc((-100vw * 0.0261769483) );
    left: 0px;
    width: 100%;
    height: calc((100vw * 0.0261769483) * 1.7);
    -ms-transform: skewY(1.5deg);
    transform: skewY(1.5deg);
   background-color: #F2F2F2;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
}
#logo-footer {
    width: 100px;
    padding-left: 80px;
}
.info-footer {
    width: calc((100% - 240px) / 6);
    padding-right: 20px;
    padding-left: 20px;
    margin-top: 60px;
    margin-bottom: 30px;
}
.info-footer-text {
    font-size: 15px;
    line-height: 20px;
    color: #000000;
    margin: 0px;
}
.info-footer-link{
    font-size: 15px;
    line-height: 20px;
    color: #E30613;
}
#footer-elenco li {
    font-size: 15px;
    line-height: 20px;
}
#footer-elenco-social li a{
    font-size: 22px;
    line-height: 36px;
    color: #E30613;
    font-weight: 700;
}
.link-footer, .link-contatti {
    padding-top: 20px;
}
.link-contatti-social {
    padding-top: 40px;
}
.link-contatti-social a {
    font-size: 26px;
    line-height: 38px;
    color: #E30613;
    font-weight: 700;
    padding-right: 15px;
}
/* Over Cage */
@media only screen and (min-width:1025px) and (max-width:10000px) {      
    a:hover {
        color: #000;       
        transition: color 0.2s;
        -webkit-transition: color 0.2s;
    }
    #contatti-header a:hover {
        color: white;       
        transition: color 0.2s;
        -webkit-transition: color 0.2s;
    }
    #menu .menu-bottoni:hover,
    #menu a:hover {
        background-color: #D9D9D9;
        font-weight: 700;
    }
    #menu .menu-bottoni:hover #dropdown-servizi {
        display: block;
    }
    #menu #dropdown-servizi a:hover {
        background-color: #D9D9D9;
        font-weight: 700;
    }
    #menu-lingue a:hover {
        font-weight: 700;
    }
    .menu-bottoni:hover {
        height: 46px;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;  
    }
    .menu-bottoni-lingue:hover {
        height: 46px;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;  
    }
    #menu .menu-bottoni:hover .menu-bottoni-over-line span:first-child {
        left: 0%;
        width: 50%;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;      
    }
    #menu .menu-bottoni:hover .menu-bottoni-over-line span:last-child {    
        right: 0%;
        width: 50%;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;       
    }
    #servizi-drop a:hover .menu-bottoni-over-line span:first-child {
        left: 0%;
        width: 50%;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;      
    }
    #servizi-drop a:hover .menu-bottoni-over-line span:last-child {    
        right: 0%;
        width: 50%;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;       
    }
    .menu-bottoni-drop:hover {
        transition: all 0.2s;
        -webkit-transition: all 0.2s;  
    }
    #servizi-drop:hover #dropdown-servizi {
        display: block;
    }

    #menu-lingue a:hover .menu-bottoni-over-line span:first-child {
        left: 0%;
        width: 50%;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;      
    }
    #menu-lingue a:hover .menu-bottoni-over-line span:last-child {    
        right: 0%;
        width: 50%;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;       
    }
    #footer-elenco a:hover{
        color: #E30613;
        transition: color 0.2s;
        -webkit-transition: color 0.2s;
    }
    #footer-elenco-social a:hover{
        color: black;
        transition: color 0.2s;
        -webkit-transition: color 0.2s;
    }
    .btn-trasparente-black:hover {
        background-color: #E30613;
        border: none;
    }   
    .btn-text-black:hover {
        color: white;
        transition: color 0.2s;
        -webkit-transition: color 0.2s;
    }
    .btn-trasparente:hover {
        background-color: #E30613;
        border: none;
    }
    .btn-trasparente-scopri:hover {
        background-color: #E30613;
        border: none;
    }    
    .btn-text-white:hover {
        color: white;
        transition: color 0.2s;
        -webkit-transition: color 0.2s;
    }
    .form-contatti a:hover {
        color: black;
    }
    .btn:hover {
        background-color: #E30613;
        color: white;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;      
        border: 1px solid #E30613;
    }
    #links-hp-bottom a:hover .links-hp-background,
    .azienda-img-list a:hover .links-hp-background {
        transition: 0.2s;
        -webkit-transition: 0.2s;
        opacity: 0.75;
        transition-timing-function: ease-in-out;
    }
    #links-hp-bottom a:hover .btn-text-white,
    .azienda-img-list a:hover .btn-text-white { 
        opacity: 1;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
        transition-timing-function: ease-in-out;
    }
    #links-hp-bottom .btn-text-white:hover,
    .azienda-img-list .btn-text-white:hover {
        background-color: #E30613;
        border: 1px solid #E30613;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
        transition-timing-function: ease-in-out;
    }
    #links-hp-bottom a:hover .links-hp-img-cont,
    .azienda-img-list a:hover .links-hp-img-cont {        
        background-size: 110% auto;
        background-position: -20px -20px;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
        transition-timing-function: ease-in-out;
    }
    #links-hp-bottom a:hover .links-hp-triangle-left,
    #links-hp-bottom a:hover .links-hp-triangle-right,
    .azienda-img-list a:hover .links-hp-triangle-right,
    .azienda-img-list a:hover .links-hp-triangle-left {
        bottom: 20px;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
        transition-timing-function: ease-in-out;
    }
    #links-hp-bottom a:hover .text-bottom-hp,
    .azienda-img-list a:hover .text-bottom-hp {
        margin-top: -20px;
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
        transition-timing-function: ease-in-out;
        z-index: 15;
    }

    /*
    .img-dispari:hover {
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 75%);
        clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 75%);
        transition: 0.2s;
        -webkit-transition: 0.2s;
        transition-timing-function: ease-in-out;
    }
    .img-dispari:hover .background-opacity-bottom-dispari {
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 75%);
        clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 75%);
        transition: 0.2s;
        -webkit-transition: 0.2s;
        opacity: 0.75;
        transition-timing-function: ease-in-out;
    }
    .img-dispari:hover .background-opacity-azienda-1 {
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 75%);
        clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 75%);
        transition: 0.2s;
        -webkit-transition: 0.2s;
        opacity: 0.75;
    }
    .img-dispari:hover .btn-trasparente-bottom {
        opacity: 1;
        transition-timing-function: ease-in-out;
    }
    .img-dispari:hover .btn-trasparente-bottom-azienda {
        opacity: 1;
    }
    .img-dispari:hover #testo-1-azienda {
        margin-top: -20px;
        transition: 0.2s;
        -webkit-transition: 0.2s;
    }
    .img-pari:hover {
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 0% 85%);
        clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 0% 85%);
        transition: 0.2s;
        -webkit-transition: 0.2s;
    }
    .img-pari:hover .background-opacity-bottom-pari {
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 0% 85%);
        clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 0% 85%);
        transition: 0.2s;
        -webkit-transition: 0.2s;
        opacity: 0.75;
    }
    .img-pari:hover .background-opacity-azienda-2 {
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 0% 85%);
        clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 0% 85%);
        transition: 0.2s;
        -webkit-transition: 0.2s;
        opacity: 0.75;
    }
    .img-pari:hover .btn-trasparente-bottom {
        opacity: 1;
    }
    .img-pari:hover .btn-trasparente-bottom-azienda {
        opacity: 1;
    }
    .btn-trasparente-bottom:hover {
        background-color: #E30613;
        border: none;
    }
    .btn-trasparente-bottom-azienda:hover {
        background-color: #E30613;
        border: none;
    }
    
    #img-1:hover #testo-1 {
        margin-top: -20px;
        transition: 0.2s;
        -webkit-transition: 0.2s;
        transition-timing-function: ease-in-out;
    }
    #img-2:hover #testo-2 {
        margin-top: -20px;
        transition: 0.2s;
        -webkit-transition: 0.2s;
    }
    #img-2:hover #testo-2-azienda{
        margin-top: -20px;
        transition: 0.2s;
        -webkit-transition: 0.2s;
    }
    #img-3:hover #testo-3 {
        margin-top: -20px;
        transition: 0.2s;
        -webkit-transition: 0.2s;
    }
    #img-4:hover #testo-4 {
        margin-top: -20px;
        transition: 0.2s;
        -webkit-transition: 0.2s;
    }
    */


}

@media only screen and (min-width:1024px) and (max-width:1279px) {
    #button-home {
        margin-left: 20px;
    }
    #logo-footer {
        padding-left: 30px;
    }
    .info-footer-text, .info-footer-link {
        font-size: 12px;
        line-height: 16px;
    }
    #footer-elenco li {
        font-size: 12px;
        line-height: 16px;
    }
    #footer-elenco-social li a {
        font-size: 20px;
        line-height: 33px;
    }
    .contatti-header-text {
        width: calc(100% - 180px);
        padding-left: 170px;
        font-size: 10px;
    }
    .social {
        padding-right: 5px;
        font-size: 12px;
        line-height: 30px;
    }
    #menu {
        width: 90%;
        padding-left: 160px;
    }
    .menu-bottoni {
        width: 130px;
    }
    #servizi-drop {
        width: 130px;
    }
    #menu-lingue {
        width: 10%;
    }
    #home-cover, #azienda-cover, #privacy-cover {
        height: 350px;
    }
    .progetti-cover, 
    #img-servizi-1-idraulici, #img-servizi-2-idraulici, #img-servizi-3-idraulici, #img-servizi-4-idraulici,
    #img-servizi-1-miscelazione, #img-servizi-2-miscelazione, #img-servizi-3-miscelazione, #img-servizi-4-miscelazione,
    #contatti-cover {
        height: 600px;
    }
    .text-servizi {
        height: 600px;
    }
    #contatti-cover {
        height: 800px;
    }
    #triangle-cover {
        height: 560px;
        -ms-transform: skewY(-3.3deg);
        transform: skewY(-3.3deg); 
    }
    #right-hp {
        width: calc(100% - 80px);
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 30px;
        padding-right: 50px;
    }
    .text-right-hp {
        font-size: 32px;
        line-height: 35px;
    }
    .text-bottom-hp {
        font-size: 15px;
        line-height: 15px;
        margin-bottom: 40px;
    }
    .title-black, .title-white {
        font-size: 32px;
        line-height: 28px;
    }
    .text-black, .text-white {
        font-size: 15px;
        line-height: 20px;
    }
    .text-progetti {
        width: calc(60% - 40px);
    }
    .form-contatti {
        margin-top: 148px;
    }
    .contatti-right {
        margin-top: 60px;
        width: calc(50% - 80px);
        margin-left: 60px;
    }
    .contatti-right-text {
        width: calc((100% - 30px) / 3);
        padding-right: 80px;
        margin-bottom: 30px;
    }
    .link-contatti-social a {
        font-size: 20px;
        line-height: 34px;
        padding-right: 10px;
    }
}
@media only screen and (min-width:220px) and (max-width:1023px) {           
}
@media only screen and (min-width:768px) and (max-width:1023px) {
    main {
        padding-bottom: 120px;  /* Per compensare la risalita  del footer */
    }
    #button-home {
        margin-left: 0px;
    }
    #logo-top {
        display: none;
    }
    #logo-top-tablet {
        display: block;
    }
    footer {
        margin-top: -60px;
    }
    #logo-footer {
        padding-left: 0px;
    }
    .info-footer {
        width: calc((100% - 180px) / 6);
        padding-right: 10px;
        padding-left: 20px;
        margin-top: 80px;
    }
    .info-footer-text, .info-footer-link {
        font-size: 12px;
        line-height: 16px;
    }
    #footer-elenco li {
        font-size: 12px;
        line-height: 16px;
    }
    #footer-elenco-social li a{
        font-size: 20px;
        line-height: 33px;
    }
    .contatti-header-text {
        width: calc(100% - 140px);
        font-size: 10px;
        line-height: 15px;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 140px;
    }
    #menu {
        width: 86.8%;
        padding-left: 127px;
    }
    .menu-bottoni {
        width: 105px;
        font-size: 10px;
    }
    #servizi-drop {
        width: 105px;
        font-size: 10px;
    }
    #menu-lingue {
        width: 13.2%;
    }
    .menu-bottoni-lingue {
        font-size: 10px;
    }
    #home-cover, #azienda-cover, #privacy-cover {
        height: 350px;
    }
    .progetti-cover, 
    #img-servizi-1-idraulici, #img-servizi-2-idraulici, #img-servizi-3-idraulici, #img-servizi-4-idraulici,
    #img-servizi-1-miscelazione, #img-servizi-2-miscelazione, #img-servizi-3-miscelazione, #img-servizi-4-miscelazione {
        height: 500px;
    }
    .text-servizi {
        height: 500px;
        width: calc(50% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 10px;
    }
    #triangle-cover {
        height: 485px;
        -ms-transform: skewY(-3.5deg);
        transform: skewY(-3.5deg);
    }
    #right-hp {
        width: calc(100% - 60px);
        padding-top: 20px;
        padding-bottom: 40px;
        padding-left: 30px;
        padding-right: 30px;
    }
    .icil {
        padding-bottom: 30px;
    } 
    .text-right-hp {
        font-size: 24px;
        line-height: 30px;
    }
    #links-hp-bottom li {
        display: block;
        float: left;
        width: calc((100% - 20px) / 2); /* Qui proprio serve, 30 sono i 10px tra ciascuno meno l'ultimo */    
        margin-right: 20px;
    }
    #links-hp-bottom li:nth-child(2n) {
        margin-right: 0px;
    }
    .links-hp-img-cont {    
        background-size: cover;
        background-position: center center;
        height: calc(((100vw - 60px) / 2)  / 1.6)
    }
    
    #center-azienda .links-hp-img-cont {    
        background-size: cover;
        background-position: center center;
        height: calc(((100vw - 220px) / 2)  / 1.6)
    }
    .links-hp-triangle-left {
        /*
            calc((100vw - 60px) / 4) -> Larghezza del triangolo
            calc(((100vw - 60px) / 4) * (105.75 / 1600)) -> Altezza del triangolo (1600x105.75 è quanto detto da Marco)
        */
        border-width: calc(((100vw - 60px) / 2) * (105.75 / 1600)) 0 0 calc((100vw - 60px) / 2);
        border-color: transparent transparent transparent #fff;
    }
    #center-azienda .links-hp-triangle-left {
        border-width: calc(((100vw - 220px) / 2) * (105.75 / 1600)) 0 0 calc((100vw - 220px) / 2);
    }
    .links-hp-triangle-right {
        border-width: 0 0 calc(((100vw - 60px) / 2) * (105.75 / 1600)) calc((100vw - 60px) / 2);
        border-color: transparent transparent #fff transparent ;
    }
    #center-azienda .links-hp-triangle-right {
        border-width: 0 0 calc(((100vw - 220px) / 2) * (105.75 / 1600)) calc((100vw - 220px) / 2);
    }
    /*
    .img-bottom {
        width: 50%;
    }
    .text-bottom-hp {
        font-size: 15px;
        line-height: 15px;
        margin-bottom: 40px;
    }
    */
    #cover-title {
        font-size: 32px;
        line-height: 28px;
    }
    #cover-text-azienda, #cover-text-privacy {
        padding-top: 15%;
    }
    .cover-azienda-subtitle, .cover-privacy-subtitle {
        font-size: 32px;
        line-height: 28px;
    }
    .title-black, .title-white {
        font-size: 24px;
        line-height: 28px;
    }
    .text-black, .text-white {
        font-size: 15px;
        line-height: 20px;
    }
    .btn {
        min-width: 150px;
    }
    .btn-trasparente-black, .btn-trasparente-scopri {
        width: 150px;
    }
    .text-progetti {
        width: calc(60% - 30px);
        margin-top: 120px;
    }
    .bottoni-trio {
        max-width: 500px;
    }
    #contatti-cover {
        height: 800px;
    }
    .form-contatti {
        width: calc(50% - 20px);
        margin-right: 0;
        margin-top: 190px;
    }
    .contatti-right {
        width: calc(50% - 40px);
        margin-left: 20px;
    }
    .contatti-right-text {
        width: calc((100% - 40px) / 2);
        padding-right: 20px;
        margin-bottom: 30px;
    }
    .link-contatti-social a {
        font-size: 20px;
        line-height: 34px;
        padding-right: 10px;
    }
    #section-hp-2 {
        margin-top: -10px;
    }
}
@media only screen and (min-width:220px) and (max-width:767px) { 
    main {
        padding-bottom: 50px;  /* Per compensare la risalita  del footer */
    }
    #section-hp-2 {
        margin-top: 0px;
    }
    #button-home {
        margin-left: 0px;
    }
    #logo-top {
        display: none;
    }
    #logo-top-tablet {
        display: block;
        height: 100px;
    }
    footer {
        margin-top: -20px;
    }
    #logo-footer {
        width: 80px;
        padding-left: 0px;
    }
    #footer-content {
/*        -webkit-clip-path: polygon(0% 0%, 100% 5%, 100% 100%, 0% 100%);
        clip-path: polygon(0% 0%, 100% 5%, 100% 100%, 0% 100%);*/
        padding-top: 40px;
    }
    .info-footer {
        width: calc((100% - 80px) / 2);
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .info-footer:first-child {
        width: calc(100% - 80px);
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .info-footer-text, .info-footer-link {
        font-size: 12px;
        line-height: 16px;
    }
    #footer-elenco li {
        font-size: 12px;
        line-height: 16px;
    }
    #footer-elenco-social li a {
        font-size: 18px;
        line-height: 30px;
    }
    #contatti-header{
        height: 60px;
    }
    .contatti-header-text {
        display: none;
    }
    /* MENU MOBILE */  
    .sidenav {
        display: block;
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 200;
        top: 0;
        left: 0;
        background: rgb(51,51,51);
        background: -moz-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
        background: -webkit-linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
        background: linear-gradient(45deg, rgba(51,51,51,1) 0%, rgba(227,6,19,1) 100%);
        opacity: 1;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 50%;
        text-align: center;
    }
    .sidenav a {
        padding: 10px 10px 10px 10px;
        text-decoration: none;
        font-size: 16px;
        color: white;
        display: block;
        transition: 0.3s;
    }
    .sidenav a:last-child {
        padding: 0px 10px 10px 10px;
        text-decoration: none;
        font-size: 16px;
        color: white;
        display: block;
        transition: 0.3s;
    }
    .sidenav .closebtn {
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 50px;
        margin-left: 50px;
    }
    #openbtn {
        display: block;
        float:right;
        width: 60px;
        height: 60px;
        color: white;
        line-height: 60px;
        text-align: center;
        position: relative;
        font-size:20px;
        text-transform: uppercase;
        cursor:pointer;
    }
    /* */
    #menu {
        display: none;
    }
    .menu-bottoni {
        display: none;
    }
    #servizi-drop {
        display: none;
    }
    #menu-lingue {
        display: none;
    }
    .menu-bottoni-lingue {
        display: none;
    }
    .page {
        padding: 0px 20px;
    }
    #home-cover, #azienda-cover {
        height: 300px;
    }
    #privacy-cover {
        height: 300px;
        margin-bottom: 40px;
    }
    #img-servizi-1-idraulici, #img-servizi-2-idraulici, #img-servizi-3-idraulici, #img-servizi-4-idraulici,
    #img-servizi-1-miscelazione, #img-servizi-2-miscelazione, #img-servizi-3-miscelazione, #img-servizi-4-miscelazione {
        height: 350px;
    }
    .text-servizi {
        height: 350px;
    }
    .progetti-cover {
        height: 500px;
    }
    #cover-text {
        padding-top: 15%;
    }
    #cover-text-azienda, #cover-text-privacy {
        padding-top: 30%;
    }
    #triangle-cover {
        height: 310px;
        -ms-transform: skewY(-4.8deg);
        transform: skewY(-4.8deg);
    }
    #cover-title {
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 20px;
    }
    .cover-azienda-subtitle, .cover-privacy-subtitle{
        font-size: 20px;
        line-height: 20px;
    }
    #cover-subtitle {
        font-size: 12px;
        line-height: 15px;
        margin-bottom: 20px;
    }
    #left-home, #right-home {
        width: 100%;
        padding-right: 0px;
        padding-left: 0px;
    }
    #left-home {
        margin-right: 0px;
    }
    #img-left-hp {
        width: 100%
    }
    .icil {
        width: 80px;
        padding-bottom: 30px;
    }
    #right-hp {
        width: calc(100% - 20px);
        padding-top: 20px;
        padding-bottom: 40px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .text-right-hp {
        font-size: 20px;
        line-height: 25px;
    }
    #links-hp-bottom li {
        display: block;
        float: left;
        width: 100%;
        margin-right: 0px;
    }
    #links-hp-bottom li:nth-child(2n) {
        margin-right: 0px;
    }
    .links-hp-img-cont {
        height: calc((100vw - 40px)  / 1.6); /*Proporizione tra 1600x1000 e lo spazio rimanente se le vogliamo in cover*/
        width: 100%;    
    }
    .links-hp-triangle-left {
        /*
            calc((100vw - 60px) / 4) -> Larghezza del triangolo
            calc(((100vw - 60px) / 4) * (105.75 / 1600)) -> Altezza del triangolo (1600x105.75 è quanto detto da Marco)
        */
        border-width: calc((100vw - 40px)  * (105.75 / 1600)) 0 0 calc(100vw - 40px);
        border-color: transparent transparent transparent #fff;
    }
    .links-hp-triangle-right {
        border-width: 0 0 calc((100vw - 40px) * (105.75 / 1600)) calc(100vw - 40px);
        border-color: transparent transparent #fff transparent ;
    }
    .azienda-img-list li {
        width: 100%;
        margin-right: 0px;
    }
    #center-azienda .links-hp-img-cont {
        height:calc((100vw - 40px) / 1.6);
    }
    #center-azienda .links-hp-triangle-right {
        border-width: 0 0 calc((100vw - 40px) * (105.75 / 1600)) calc(100vw - 40px);
    }
    #center-azienda .links-hp-triangle-left {
        border-width: calc((100vw - 40px) * (105.75 / 1600)) 0 0 calc(100vw - 40px);
    }
    .text-bottom-hp {
        width: calc(100% - 20px);
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 40px;
        font-size: 15px;
        line-height: 15px;
    }
    .title-black, .title-white {
        font-size: 20px;
        line-height: 20px;
    }
    .text-black, .text-white, .contatti-text, .contatti-link {
        font-size: 12px;
        line-height: 15px;
    }
    .btn {
        min-width: 100px;
        font-size: 12px;
        line-height: 40px;
    }
    .btn-trasparente-black, .btn-trasparente-scopri {
        width: 100px;
        height: 40px;
    }
    .btn-text-black, .btn-text-white {
        font-size: 12px;
        line-height: 40px; 
    }
    #center-azienda {
        padding: 0px 0px;
    }
    #img-azienda-left, #img-azienda-right {
        width: 100%;
    }
    #img-center-azienda-left, #img-center-azienda-right {
        width: 100%;
        padding-right: 0px;
        padding-left: 0px;
    }
    #img-center-azienda-big {
        height: 300px;
    }
    #img-bottom-azienda-1 {
        width: 100%;
        padding-right: 0px;
    }
    #img-bottom-azienda-2 {
        width: 100%;
        padding-left: 0px;
    }
    #testo-2-azienda {
        width: 100%;
        padding-left: 0px;
    }
    .text-progetti {
        width: calc(100% - 20px);
        margin: 10px;
        margin-top: 170px;
    }
    .text-servizi {
        width: calc(100% - 20px);
        margin: 10px;
        margin-top: 20px;
        height: auto;
    }
    #img-servizi-1-idraulici, #img-servizi-2-idraulici, #img-servizi-3-idraulici, #img-servizi-4-idraulici,
    #img-servizi-1-miscelazione, #img-servizi-2-miscelazione, #img-servizi-3-miscelazione, #img-servizi-4-miscelazione {
        width: 100%;
    }
    #servizi-2, #servizi-4 {
        display:flex;
        flex-direction: column-reverse;
    }
    .bottoni-trio {
        max-width: 500px;
        margin-left : 10px;
    }
    #contatti-cover {
        height: 1200px;
    }
    .form-contatti {
        width: calc(100% - 40px);
        margin: 20px;
        margin-top: 100px;
        margin-bottom: 40px;
    }
    .contatti-right {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-top: 0;
    }
    .contatti-right-text {
        width: calc((100% - 40px) / 2);
        padding-right: 20px;
        margin-bottom: 30px;
    } 
    .link-contatti-social {
        padding-top: 30px;
    }
    .link-contatti-social a {
        font-size: 18px;
        line-height: 34px;
        padding-right: 10px;
    }
    .big-triangle-bottom-right {
        border-width: 0 0 calc(100vw * (105.75 / 1600)) 100vw;
    }
    .big-triangle-top-right {
        border-width: 0 100vw calc(100vw * (105.75 / 1600)) 0;
    }
    .big-triangle-top-left {
        border-width: calc(100vw * (105.75 / 1600)) 100vw  0 0;
    }
    .big-triangle-bottom-left {
        border-width: calc(100vw * (105.75 / 1600)) 0 0 100vw ;
    }
    #footer-elenco-social li {
        width: 25%;
        display: block;
        float: left;
    }
}   

/* h1 per i motori di ricerca e gli screen reader nelle pagine dove il titolo e' nell'immagine di copertina */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
