/* charset */
@charset "UTF-8";

/*


    font-family: 'Exo 2', sans-serif;

    font-family: 'Abel', sans-serif;


*/
* {
    margin: 0;
}

a {
    text-decoration: none;
}

/*codice che serve ad animare il logo */

@-webkit-keyframes rotation {
    0% {
        -webkit-transform: rotateY(0deg);
    }

    100% {
        -webkit-transform: rotateY(360deg);
    }
}

@-moz-keyframes rotation {
    0% {
        -moz-transform: rotateY(0deg);
    }

    100% {
        -moz-transform: rotateY(360deg);
    }
}

@-ms-keyframes rotation {
    0% {
        -ms-transform: rotateY(0deg);
    }

    100% {
        -ms-transform: rotateY(360deg);
    }
}
@keyframes rotation {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

body {
    background-color: rgba(250, 250, 250, 0.1);
}




/*++++++++++++++++++++++      BARRA MENU        ++++++++++++++++++++++++++++++++++++++++++++++*/

#spessore {
    height: 25px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #bab0a6;
}

.prima {
    top: 25px;
}

#barra_menu {
    height: 80px;
    width: 100%;
    /*background-color: rgba(300,300,300,0.3);*/
    position: fixed;
    z-index: 10;
}

.striscia_testa {
    height: 100px;
    width: 100%;
    background-image: url(../img/testa.svg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    position: absolute;
    top: 0;

}

#spessore {
    height: 25px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #bab0a6;
}

.prima {
    top: 25px;
}

#box_logo {
    position: absolute;
    top: 10px;
    left: 40px;
    height: 100px;
    width: 330px;
}

#box_logo img {
    position: absolute;
    top: 0;
    left: 0;


}

#rotate {
    height: 90px;
    width: 90px;
}

#rotate {
    -webkit-animation: rotation 8s linear infinite;
    -moz-animation: rotation 8s linear infinite;
    -ms-animation: rotation 8s linear infinite;
    animation: rotation 8s linear infinite;
}

#nome_azienda {
    margin-top: 28px;
    margin-left: 15px;
    width: 230px;
    height: 80px;
    float: right;
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    color: #003f90;
}

/*+++++++++++++++++++++++++++++++++++++ ICONA MENU++++++++++++++++++++++++++++++++++*/
#icona_menu {
    height: 60px;
    width: 60px;
    position: absolute;
    top: 5px;
    right: 140px;
    transition: 0.3s;
}

#linea1 {
    width: 42px;
    height: 3px;
    position: absolute;
    top: 20px;
    left: 9px;
    background-color: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

#linea2 {
    width: 42px;
    height: 3px;
    position: absolute;
    top: 28px;
    right: 9px;
    background-color: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

#linea3 {
    width: 42px;
    height: 3px;
    position: absolute;
    top: 36px;
    left: 9px;
    background-color: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

#icona_menu:hover {
    -moz-transform: rotate(190deg);
    -webkit-transform: rotate(190deg);
    -o-transform: rotate(190deg);
    transform: rotate(190deg);
}

#icona_menu:hover #linea1 {
    left: 7px;
    width: 48px;
}

#icona_menu:hover #linea3 {
    left: 11px;
    width: 48px;
}

/* *************************RESPONSIVE************************ */
@media screen and (min-width:1025px) and (max-width:2500px) {}

@media screen and (min-width:900px) and (max-width:1024px) {}

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

@media screen and (min-width:601px) and (max-width:767px) {
    #spessore {
        height: 10px;
    }

    .prima {
        top: 5px;
    }

    #box_logo {
        top: 3px;
        left: 20px;
        height: 80px;
        width: 300px;
    }

    #box_logo img {
        height: 75px;
        width: 75px;
    }

    #nome_azienda {
        margin-top: 15px;
        margin-left: 8px;
        width: 200px;
        height: 70px;
        font-size: 16px;
    }

    #icona_menu {
        top: 7px;
        right: 100px;
    }
}

@media screen and (min-width:480px) and (max-width:600px) {
    #spessore {
        height: 10px;
    }

    .prima {
        top: 5px;
    }

    #box_logo {
        top: 3px;
        left: 20px;
        height: 80px;
        width: 300px;
    }

    #box_logo img {
        height: 75px;
        width: 75px;
    }

    #nome_azienda {
        margin-top: 15px;
        margin-left: 5px;
        width: 200px;
        height: 70px;
        font-size: 16px;
    }

    #icona_menu {
        top: 7px;
        right: 70px;
    }
}

@media screen and (min-width:321px) and (max-width:479px) {
    #spessore {
        height: 10px;
    }

    .prima {
        top: 5px;
    }

    #box_logo {
        top: 5px;
        left: 8px;
        height: 80px;
        width: 220px;
    }

    #box_logo img {
        height: 62px;
        width: 62px;
    }

    #nome_azienda {
        margin-top: 20px;
        margin-left: 0px;
        width: 140px;
        height: 50px;
        font-size: 12px;
    }

    #icona_menu {
        top: 7px;
        right: 30px;
    }
}

/*+++++++++++++++++++++++++++++++++++++FINE ICONA MENU++++++++++++++++++++++++++++++++++*/

/*+++++++++++++++++++++++++++++++++++++OVERLAY  MENU++++++++++++++++++++++++++++++++++*/
#overlaym {
    height: 100vh;
    width: 100%;
    background-color: #2a282a;
    position: fixed;
    display: none;
    z-index: 20;
    overflow-y: hidden;
}

#close_button {
    position: absolute;
    top: 10vh;
    right: 6%;
}

#overlaym ul {
    position: absolute;
    top: 25vh;
    left: 5vw;
    width: 30vw;
    padding-left: -20px;
}

#overlaym ul li {
    width: 30vw;
    height: 70px;
    border-bottom: 1px solid #fff;
    list-style-type: none;
}

#overlaym ul li a {
    font-family: 'Abel', sans-serif;
    font-size: 20px;
    line-height: 70px;
    color: #fff;
    transition: 0.4s;
    cursor: pointer;
}

#overlaym ul li a:hover {
    padding-left: 10px;
    height: 100%;
    background-color: #353234;
    display: block;
}

#overlaym ul li ul {
    position: absolute;
    top: 0;
    left: 40vw;
    width: 30vw;
    list-style-type: none;
    display: none;
    transition: 1s;
    display: none;

}

#overlaym ul li ul a {
    font-family: 'Abel', sans-serif;
    font-size: 20px;
    color: #fff;

}

/* *************************RESPONSIVE************************ */
@media screen and (min-width:480px) and (max-width:600px) {
    #overlaym ul {

        top: 15vh;
        left: 1vw;
        width: 25vw;
        padding-left: -5px;
    }

    #overlaym ul li a {
        font-size: 14px;
    }

    #overlaym ul li ul a {
        font-size: 14px;
    }

    #overlaym ul li ul {
        top: 0;
        left: 40vw;
    }
}

@media screen and (min-width:321px) and (max-width:479px) {
    #close_button {
        top: 5vh;
        right: 6%;
    }

    #overlaym ul {
        top: 15vh;
        left: 0;
        width: 20vw;
        padding-left: -3px;
    }

    #overlaym ul li a {
        font-size: 14px;
    }

    #overlaym ul li ul a {
        font-size: 14px;
        width: 300px;
        display: block;
    }

    #overlaym ul li ul {
        top: 0;
        left: 110px;
        width: 150px;
    }

    #overlaym ul li ul a:hover {
        width: 140px;
    }

    #overlaym ul li ul li {
        width: 40vw;
        

    }

    #overlaym ul li {
        width: 90px;
        height: 60px;
    }

    #overlaym ul li a {
        display: block;
        line-height: 60px;
        
    }

}

/*+++++++++++++++++++++++++++++++++++++ FINE OVERLAY  MENU++++++++++++++++++++++++++++++++++*/

/*++++++++++++++++++++++ header++++++++++++++++++++++++++++++++++++*/


#header_servizio {
    height: 720px;
    width: 100%;
    background-image: url(../img/rullobn.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

#dream {
    position: fixed;
    top: 55vh;
    right: 10px;
    z-index: 18;
}

.striscia_testa {
    height: 100px;
    width: 100%;
    background-image: url(../img/testa.svg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    position: absolute;
}

.striscia_base {
    height: 100px;
    width: 100%;
    background-image: url(../img/base.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    position: absolute;
    bottom: 0;

}


.h2_header {
    position: absolute;
    width: 100vw;
    text-align: center;
    top: 340px;
    font-size: 75px;
    color: #fff;
}

/* *************************RESPONSIVE************************ */
@media screen and (min-width:900px) and (max-width:1024px) {
    header {
        height: 800px;
        background-position: center 0px;
    }

    h1 {
        top: 300px;
    }

    #box_p_header {
        width: 700px;
        top: 550px;
    }

    header p {
        font-size: 24px;
    }
}

@media screen and (min-width:768px) and (max-width:899px) {
    header {
        height: 760px;
        background-position: center 0px;
    }

    h1 {
        top: 300px;
        font-size: 70px;
    }

    #box_p_header {
        width: 600px;
        top: 540px;
    }

    header p,
    #firma {
        font-size: 21px;
        line-height: 35px;
    }
}

@media screen and (min-width:601px) and (max-width:767px) {
    header {
        height: 760px;
        background-position: center 0px;
    }

    h1 {
        top: 300px;
        font-size: 55px;
    }

    #box_p_header {
        height: 250px;
        width: 470px;
        top: 500px;
    }

    header p,
    #firma {
        font-size: 21px;
        line-height: 35px;
    }
}

@media screen and (min-width:480px) and (max-width:600px) {
    header {
        height: 760px;
        background-position: center 0px;
    }

    h1 {
        top: 290px;
        font-size: 45px;
    }

    #box_p_header {
        height: 250px;
        width: 350px;
        top: 500px;
    }

    header p,
    #firma {
        font-size: 20px;
        line-height: 30px;
    }
}

@media screen and (min-width:321px) and (max-width:479px) {
    header {
        height: 680px;
        background-position: center 0px;
    }

    h1 {
        top: 220px;
        font-size: 45px;
    }

    .h2_header {
        width: 90vw;
        font-size: 50px;
        left: 5%;
        top: 300px;
    }

    #box_p_header {
        height: 250px;
        width: 270px;
        top: 480px;
    }

    header p,
    #firma {
        font-size: 20px;
        line-height: 30px;
    }

    #dream img {
        right: 0;
        height: 55px;
        width: 55px;
    }
}

/*++++++++++++++++++++++ fine header++++++++++++++++++++++++++++++++++++*/


/*++++++++++++++++++++++ fascia descrizione  ++++++++++++++++++++++++++++++++++++*/



.fascia_descr {
    height: 1500px;
    width: 100%;
    background-image: url(../img/murobianco.jpg);
    background-position: top;
    background-repeat: repeat;
    position: relative;
}

.box_h2 {
    height: 80px;
    width: 60vw;
    left: 50vw;
    margin-left: -30vw;
    position: absolute;
    z-index: 2;
    top: 150px;
}

h2 {
    font-family: 'Abel', sans-serif;
    position: absolute;
    font-size: 60px;
    color: #003f90;
}

.lineablu {
    position: absolute;
    height: 1px;
    width: 10px;
    bottom: 0;
    background-color: #003f90;
    opacity: 0;
    transition: 4s;
}

.testo {
    height: 650px;
    width: 60vw;
    display: block;
    position: absolute;
    top: 260px;
    left: 50vw;
    margin-left: -30vw;
}

.testo p {
    font-family: 'Abel', sans-serif;
    font-size: 20px;
    color: #696969;
}

.testo a {
    color: #003f90;
    font-style: italic;
    cursor: pointer;
}

span {
    font-weight: 700;
}

/* *************************RESPONSIVE************************ */
@media screen and (min-width:1025px) and (max-width:2500px) {
    .fascia_descr {
        height: 1600px;
    }
}

@media screen and (min-width:900px) and (max-width:1024px) {
    .fascia_descr {
        height: 1800px;
    }
}

@media screen and (min-width:768px) and (max-width:899px) {
    .fascia_descr {
        height: 1650px;
    }

    .testo {
        height: 850px;
        width: 65vw;
    }

    .testo p {
        font-size: 18px;
    }
}

@media screen and (min-width:601px) and (max-width:767px) {
    .fascia_descr {
        height: 1750px;
    }

    .box_h2 {
        margin-left: -32vw;
    }

    .testo {
        height: 850px;
        width: 65vw;
        margin-left: -32vw;
    }

    .testo p {
        font-size: 18px;
    }


}

@media screen and (min-width:480px) and (max-width:600px) {
    .fascia_descr {
        height: 1750px;
    }

    .testo {
        height: 850px;
        width: 75vw;
        top: 220px;
        margin-left: -37vw;
    }

    .testo p {
        font-size: 18px;
    }

    .box_h2 {
        margin-left: -37vw;
    }

    h2 {
        font-family: 'Abel', sans-serif;
        position: absolute;
        font-size: 60px;
        color: #003f90;
    }


}

@media screen and (min-width:321px) and (max-width:479px) {
    .fascia_descr {
        height: 1920px;
    }

    .testo {
        height: 850px;
        width: 75vw;
        top: 265px;
        margin-left: -39vw;
    }

    .testo p {
        font-size: 16px;
    }

    .box_h2 {
        margin-left: -39vw;
    }

    h2 {
        font-size: 40px !important;
        line-height: 55px;
        top: -45px;
    }
}

/*+++++++++**************+++++ GALLERY +++++*******************+++++++++++++++++++++*/

#contenitore_slider {
    width: 100%;
    height: 600px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
    background-image: url(../img/murobianco.jpg);
    background-position: top;
    background-repeat: repeat;
}

#slider {
    display: block;
    height: 480px;
    width: 100%;
    left: 10%;
    right: 10%;
    margin: auto;
    overflow: hidden;
}

#slider #slides {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#slider #slides > div {
    list-style: none;
    height: 100%;
    width: 500%;
    position: relative;
    left: 0px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Set 3D perspective since we're using 3D transforms */
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
    perspective: 600px;
    -webkit-perspective-origin: 10% 50%;
    -moz-perspective-origin: 10% 50%;
    perspective-origin: 10% 50%;
}

#slides > div > span {
    /* Run the tranistions */
    -webkit-transition: all 0.7s cubic-bezier(0.550, 0.085, 0.680, 0.530);
    -moz-transition: all 0.7s cubic-bezier(0.550, 0.085, 0.680, 0.530);
    -o-transition: all 0.7s cubic-bezier(0.550, 0.085, 0.680, 0.530);
    transition: all 0.7s cubic-bezier(0.550, 0.085, 0.680, 0.530);
    height: 100%;
    width: 10%;
    min-width: 300px;
    float: left;
    border-radius: 5px;
    border: 3px solid #fff;
    opacity: 1;
    overflow: hidden;
    display: block;
    position: relative;
    top: 20px;
    z-index: 1;
}

/* Display none, so the user doesn't see whats happening with the radio buttons */
#slider input[type=radio] {
    display: none;
}

#slider #slides > div > span > img {
    margin: auto;
    height: 100%;
}

/* Style the arrows so they look nice! */
#slider .arrows {
    background-image: url(../img/freccia_gallery.svg);
    display: none;
    position: absolute;
    top: 250px;
    cursor: pointer;
    z-index: 18;
    width: 50px;
    height: 50px;
    opacity: 0.7;
}

/* The info boxes */
#slides .info {
    min-width: 280px;
    padding: 20px 20px 25px 20px;
    position: relative;
    bottom: 120px;
    border-radius: 5px 5px 5px 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    -webkit-transition: all 1s 0.2s cubic-bezier(1, 0, 0.6, 1);
    transition: all 1s 0.2s cubic-bezier(1, 0, 0.6, 1.0);
    color: #fff;
    background-color: #000000;
    line-height: 30px;
    font-family: 'Abel', sans-serif;
    font-weight: 100;
    font-size: 22px;
    opacity: 0.7;
    text-align: center;
    letter-spacing: 1px;
}

#slides .info strong {
    padding: 3px 0;
    min-width: 300px;
}



/* This is for positioning the arrows */
#button-1:checked ~ #arrow-2,
#button-2:checked ~ #arrow-3,
#button-3:checked ~ #arrow-4,
#button-4:checked ~ #arrow-5,
#button-5:checked ~ #arrow-6 {
    right: 25%;
    display: block;
}

/* Since there is no previous sibling selector in CSS, we have to select the correct arrow, reposition it and rotate it 180deg so it appears as though it's a back arrow */
#button-2:checked ~ #arrow-1,
#button-3:checked ~ #arrow-2,
#button-4:checked ~ #arrow-3,
#button-5:checked ~ #arrow-4,
#button-6:checked ~ #arrow-5 {
    left: 25%;
    display: block;
    -webkit-transform: rotateZ(180deg);
    -o-transform: rotateZ(180deg);
    transform: rotateZ(180deg);
}




/* The next bit is a bit wordy, but it just positions the slides at either side of the selected slide 
   so we get a cool 3D effect */
#slider #button-1:checked ~ #slides > div #image-2,
#slider #button-1:checked ~ #slides > div #image-3,
#slider #button-1:checked ~ #slides > div #image-4,
#slider #button-1:checked ~ #slides > div #image-5,
#slider #button-1:checked ~ #slides > div #image-6,
#slider #button-2:checked ~ #slides > div #image-3,
#slider #button-2:checked ~ #slides > div #image-4,
#slider #button-2:checked ~ #slides > div #image-5,
#slider #button-2:checked ~ #slides > div #image-6,
#slider #button-3:checked ~ #slides > div #image-4,
#slider #button-3:checked ~ #slides > div #image-5,
#slider #button-3:checked ~ #slides > div #image-6,
#slider #button-4:checked ~ #slides > div #image-5,
#slider #button-4:checked ~ #slides > div #image-6,
#slider #button-5:checked ~ #slides > div #image-6 {
    -webkit-transform: rotateY(-10deg) scale(0.8) translateX(-10%);
    transform: rotateY(-10deg) scale(0.8) translateX(-10%);
    z-index: 0;
}

#slider #button-2:checked ~ #slides > div #image-1,
#slider #button-3:checked ~ #slides > div #image-2,
#slider #button-3:checked ~ #slides > div #image-1,
#slider #button-4:checked ~ #slides > div #image-3,
#slider #button-4:checked ~ #slides > div #image-2,
#slider #button-4:checked ~ #slides > div #image-1,
#slider #button-5:checked ~ #slides > div #image-4,
#slider #button-5:checked ~ #slides > div #image-3,
#slider #button-5:checked ~ #slides > div #image-2,
#slider #button-5:checked ~ #slides > div #image-1,
#slider #button-6:checked ~ #slides > div #image-5,
#slider #button-6:checked ~ #slides > div #image-4,
#slider #button-6:checked ~ #slides > div #image-3,
#slider #button-6:checked ~ #slides > div #image-2,
#slider #button-6:checked ~ #slides > div #image-1 {
    -webkit-transform: rotateY(10deg) scale(0.8) translateX(10%);
    transform: rotateY(10deg) scale(0.8) translateX(10%);
    z-index: 0;
}

/* Show the info box when the user selects the slides */
#slider #button-1:checked ~ #slides > div #image-1 .info,
#slider #button-2:checked ~ #slides > div #image-2 .info,
#slider #button-3:checked ~ #slides > div #image-3 .info,
#slider #button-4:checked ~ #slides > div #image-4 .info,
#slider #button-5:checked ~ #slides > div #image-5 .info,
#slider #button-6:checked ~ #slides > div #image-6 .info {
    bottom: 0;
}

/* .. and finally, move the slides into the correct position when the user clicks the arrow, so the right
   slide is selected */

#slider #button-1:checked ~ #slides > div > span {
    left: 5%
}

#slider #button-2:checked ~ #slides > div > span {
    left: -5%
}

#slider #button-3:checked ~ #slides > div > span {
    left: -15.1%
}

#slider #button-4:checked ~ #slides > div > span {
    left: -25.2%
}

#slider #button-5:checked ~ #slides > div > span {
    left: -35.2%
}

#slider #button-6:checked ~ #slides > div > span {
    left: -45.2%
}

/* *************************RESPONSIVE************************ */
@media screen and (min-width:1025px) and (max-width:2500px) {

    #slider #button-2:checked ~ #slides > div > span {
        left: -5.1%
    }

    #slider #button-3:checked ~ #slides > div > span {
        left: -15.2%
    }

    #slider #button-4:checked ~ #slides > div > span {
        left: -25.3%
    }

    #slider #button-5:checked ~ #slides > div > span {
        left: -35.4%
    }

    #slider #button-6:checked ~ #slides > div > span {
        left: -45.5%
    }

}

@media screen and (min-width:900px) and (max-width:1024px) {

    #slider #button-2:checked ~ #slides > div > span {
        left: -5.1%
    }

    #slider #button-3:checked ~ #slides > div > span {
        left: -15.2%
    }

    #slider #button-4:checked ~ #slides > div > span {
        left: -25.4%
    }

    #slider #button-5:checked ~ #slides > div > span {
        left: -35.5%
    }

    #slider #button-6:checked ~ #slides > div > span {
        left: -45.7%
    }

}

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


    #slider #button-2:checked ~ #slides > div > span {
        left: -5.15%
    }

    #slider #button-3:checked ~ #slides > div > span {
        left: -15.3%
    }

    #slider #button-4:checked ~ #slides > div > span {
        left: -25.5%
    }

    #slider #button-5:checked ~ #slides > div > span {
        left: -35.6%
    }

    #slider #button-6:checked ~ #slides > div > span {
        left: -45.8%
    }

}

@media screen and (min-width:601px) and (max-width:767px) {
    #slider {
        height: 400px;
    }

    #slides .info {
        padding: 10px 10px 10px 10px;
    }

    #slider .arrows {
        top: 220px;
    }

    #slider #button-2:checked ~ #slides > div > span {
        left: -5.2%
    }

    #slider #button-3:checked ~ #slides > div > span {
        left: -15.4%
    }

    #slider #button-4:checked ~ #slides > div > span {
        left: -25.6%
    }

    #slider #button-5:checked ~ #slides > div > span {
        left: -35.75%
    }

    #slider #button-6:checked ~ #slides > div > span {
        left: -46.2%
    }

}

@media screen and (min-width:480px) and (max-width:600px) {

    /* This is for positioning the arrows */
    #button-1:checked ~ #arrow-2,
    #button-2:checked ~ #arrow-3,
    #button-3:checked ~ #arrow-4,
    #button-4:checked ~ #arrow-5,
    #button-5:checked ~ #arrow-6 {
        right: 12%;
        display: block;
    }

    /* Since there is no previous sibling selector in CSS, we have to select the correct arrow, reposition it and rotate it 180deg so it appears as though it's a back arrow */
    #button-2:checked ~ #arrow-1,
    #button-3:checked ~ #arrow-2,
    #button-4:checked ~ #arrow-3,
    #button-5:checked ~ #arrow-4,
    #button-6:checked ~ #arrow-5 {
        left: 12%;
        display: block;
        -webkit-transform: rotateZ(180deg);
        -o-transform: rotateZ(180deg);
        transform: rotateZ(180deg);
    }

    #slider #slides > div {
        width: 700%;
        left: -20%;
    }


    #slider {
        height: 450px;
    }

    #slider .arrows {
        top: 220px;
    }

    #slides > div > span {
        min-width: 0px;
    }

    #slides .info {
        min-width: 0px;
        padding: 10px 10px 15px 10px;
        font-size: 18px;
    }

    #slider #button-1:checked ~ #slides > div > span {
        left: 5%
    }

    #slider #button-2:checked ~ #slides > div > span {
        left: -5.3%
    }

    #slider #button-3:checked ~ #slides > div > span {
        left: -15.5%
    }

    #slider #button-4:checked ~ #slides > div > span {
        left: -25.6%
    }

    #slider #button-5:checked ~ #slides > div > span {
        left: -35.7%
    }

    #slider #button-6:checked ~ #slides > div > span {
        left: -46.5%
    }

}

@media screen and (min-width:321px) and (max-width:479px) {

    /* This is for positioning the arrows */
    #button-1:checked ~ #arrow-2,
    #button-2:checked ~ #arrow-3,
    #button-3:checked ~ #arrow-4,
    #button-4:checked ~ #arrow-5,
    #button-5:checked ~ #arrow-6 {
        right: 12%;
        display: block;
    }

    /* Since there is no previous sibling selector in CSS, we have to select the correct arrow, reposition it and rotate it 180deg so it appears as though it's a back arrow */
    #button-2:checked ~ #arrow-1,
    #button-3:checked ~ #arrow-2,
    #button-4:checked ~ #arrow-3,
    #button-5:checked ~ #arrow-4,
    #button-6:checked ~ #arrow-5 {
        left: 12%;
        display: block;
        -webkit-transform: rotateZ(180deg);
        -o-transform: rotateZ(180deg);
        transform: rotateZ(180deg);
    }

    #slider #slides > div {
        width: 800%;
        left: -30%;
    }

    #slider {
        height: 400px;
    }


    #slides > div > span {
        min-width: 0px;
    }

    #slides .info {
        min-width: 0px;
        padding: 5px 5px 5px 5px;
        font-size: 18px;
    }

    #slider .arrows {
        top: 190px;
        width: 40px;
        height: 40px;
    }

    #slider #button-1:checked ~ #slides > div > span {
        left: 5%
    }

    #slider #button-2:checked ~ #slides > div > span {
        left: -5.3%
    }

    #slider #button-3:checked ~ #slides > div > span {
        left: -15.6%
    }

    #slider #button-4:checked ~ #slides > div > span {
        left: -25.8%
    }

    #slider #button-5:checked ~ #slides > div > span {
        left: -36.0%
    }

    #slider #button-6:checked ~ #slides > div > span {
        left: -46.4%
    }

}


/*++++++++**********************+++++ FINE GALLERY+++++**********+++++++++++++++++*/


/*++++++++**********************+++++ ALTRE FOTO+++++**********++++++++++++++++++*/
#fascia_altre_foto {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Abel', sans-serif;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    background-image: url(../img/murocemento2.jpg);
    background-position: top;
    background-repeat: repeat;
    overflow: auto;
}

.container {
    display: -webkit-box;
    display: -moz-box;
    display: -moz-flex;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 80%;
    margin-top: 120px;
    margin-bottom: 120px;
}

.box_foto {
    height: 350px;
    width: 250px;
    transform: rotate(7deg);
    position: relative;
    margin: 40px 80px;
}

.screen {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.0);
    position: absolute;
    top: 0;
    left: 0;
    transition: 1.2s;
}

.screen2 {
    height: 80%;
    width: 80%;
    position: absolute;
    top: 10%;
    left: 10%;
    transition: 1.5s;
    transform: rotate(-5deg);
}

.screen3 {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.0);
    position: absolute;
    top: 0;
    left: 0;

    transition: 1.5s;
}

.link_gallery {
    position: absolute;
    width: 380px;
    height: 100px;
    bottom: 190px;
    left: 0px;
    color: #fff;
    font-family: 'Abel', sans-serif;
    font-size: 45px;
    line-height: 50px;
    transform: rotate(-97deg);
    transition: 0.8s;
    opacity: 0;
}

figcaption {
    position: absolute;
    bottom: 135px;
    left: 130px;
    color: #fff;
    font-family: 'Abel', sans-serif;
    font-size: 20px;
    transform: rotate(-90deg);
    width: 280px;
    opacity: 1;
    transition: 0.8s;
}

.box_foto:hover .screen {
    background-color: rgba(0, 0, 0, 0.4);
    transform: skewX(5deg);
    transform: skewY(-5deg);
    transform: rotate(-8deg);
}

.box_foto:hover .screen2 {
    border: 1px solid #fff;

}

.box_foto:hover .screen3 {
    transform: skewX(8deg);
}

.box_foto:hover .link_gallery {
    left: -75px;
    opacity: 1;
}

.box_foto:hover figcaption {
    opacity: 0;
    left: 140px;
}

/* *************************RESPONSIVE************************ */
@media screen and (min-width:1025px) and (max-width:2500px) {
    .container {
        max-width: 90%;
    }
}

@media screen and (min-width:900px) and (max-width:1024px) {
    .container {
        max-width: 93%;
    }
}

@media screen and (min-width:768px) and (max-width:899px) {
    .container {
        max-width: 94%;
    }

    .box_foto,
    .box_foto img {
        height: 280px;
        width: 200px;
    }

    figcaption {
        bottom: 130px;
        left: 80px;
    }

    .link_gallery {
        font-size: 35px;
        line-height: 40px;
        bottom: 180px;
    }

    .box_foto:hover .link_gallery {
        left: -95px;
    }

    h2 {
        font-size: 50px;
    }
}

@media screen and (min-width:321px) and (max-width:479px) {
    .container {
        max-width: 95%;
    }

    .box_foto,
    .box_foto img {
        height: 265px;
        width: 188px;
    }

    figcaption {
        bottom: 130px;
        left: 65px;
    }

    .link_gallery {
        font-size: 32px;
        line-height: 40px;
        bottom: 173px;
    }

    .box_foto:hover .link_gallery {
        left: -110px;
    }

    .box_foto:hover figcaption {
        opacity: 0;
        left: 100px;
    }

    h2 {
        font-size: 50px;
    }
}


/*++++++++++++++++++++++ fascia contatti  ++++++++++++++++++++++++++++++++++++*/
#fascia_contatti {
    height: 300px;
    width: 100%;
    background-image: url(../img/murocemento2.jpg);
    background-size: cover;
    position: relative;
}

#box_p_contatti {
    height: 50px;
    width: 960px;
    position: absolute;
    top: 125px;
    left: 50%;
    margin-left: -480px;
}

#box_p_contatti p {

    font-family: 'Abel', sans-serif;
    font-size: 25px;
    color: #fff;
    float: left;
    line-height: 40px;
    padding-top: 15px;
}

#bottone {
    display: inline;
    width: 180px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    background-color: #003f90;
    font-family: 'Abel', sans-serif;
    text-align: center;
    font-size: 30px;
    padding: 10px;
    float: right;
    border-radius: 6px;
    border-style: ridge;
    border-width: 6px;
    border-color: #003f90;
    transition: 0.6s;

}

#bottone:hover {
    transform: scale(1.05);
    background-color: #0000ff;
    cursor: pointer;
}

/* *************************RESPONSIVE************************ */
@media screen and (min-width:900px) and (max-width:1024px) {

    #box_p_contatti {
        width: 820px;
        margin-left: -410px;
    }

    #box_p_contatti p {
        font-size: 22px;
    }

    #bottone {
        width: 160px;
        height: 40px;
    }
}

@media screen and (min-width:321px) and (max-width:899px) {
    #box_p_contatti p {
        display: none;
    }

    #box_p_contatti {
        width: 212px;
        margin-left: -106px;
    }
}


/*++++++++++++++++++++++ fine contatti ++++++++++++++++++++++++++++++++++++*/


/*++++++++++++++++++++++ footer  ++++++++++++++++++++++++++++++++++++*/
footer {
    height: 420px;
    width: 100%;
    background-color: #bab0a6;
    position: relative;

}

#box_footer {
    height: 300px;
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding-top: 30px;

}

#footer_logo {
    height: 300px;
    width: 250px;
    float: left;
    margin-top: -12px;
}

#footer_ind {
    height: 360px;
    width: 250px;
    float: left;
}

#footer_servizi {
    height: 300px;
    width: 250px;
    float: right;
}

#footer_logo a:before {
    content: "";
    display: block;
}

#footer_logo a {
    font-family: 'Exo 2', sans-serif;
    color: #003f90;
    font-size: 20px;
    padding-top: 20px;
}

#footer_ind p {
    font-family: 'Abel', sans-serif;
    color: #003f90;
    font-size: 18px;

}

#footer_servizi ul,
#footer_servizi li a {
    font-family: 'Abel', sans-serif;
    color: #003f90;
    font-size: 18px;
    cursor: pointer;
}

#box_autor {
    position: absolute;
    bottom: 0;
    height: 50px;
    width: 100%;
    background-color: #2a282a;
}

span {
    font-weight: 700;
    letter-spacing: 1px;
}

#box_autor p {
    color: #fff;
    font-family: 'Abel', sans-serif;
    font-size: 15px;
    line-height: 50px;
    padding-left: 50px;
}

.kebasvg {
    position: absolute;
    right: 50px;
    top: 15px;
}

/* inizio frecciasu*/

.frecciasu {
    position: fixed;
    right: 16px;
    bottom: 30px;
    width: 30px;
    height: 30px;
    background-image: url(../img/freccia_su.svg);
    background-position: top;
    background-size: 100%;
    cursor: pointer;
    transition: 0.4s;
	z-index: 200;
}

.frecciasu:hover {
    background-position: bottom;
}

/* fine freccia su*/

/* bottone whats app*/
#bottonWa {
	position: fixed;
    right: 10px;
    bottom: 70px;
	z-index: 200;
}

.iubenda-ibadge {
    margin-left: 50px;
    margin-top: 5px;
    margin-right: -40px;
}

/*++++++++++++++++++++++fine footer  ++++++++++++++++++++++++++++++++++++*/

/* *************************RESPONSIVE************************ */
@media screen and (min-width:1025px) and (max-width:1280px) {
    #box_autor {
        height: 80px;
    }

    #box_autor p {
        width: 67%;
        line-height: 25px;
        padding-top: 14px;
        padding-left: 35px;
    }

    #box_footer {
        width: 90%;
    }

    .kebasvg {
        right: 35px;
        top: 35px;
    }
}

@media screen and (min-width:900px) and (max-width:1024px) {
    #box_autor {
        height: 80px;
    }

    #box_autor p {
        width: 67%;
        line-height: 25px;
        padding-top: 14px;
        padding-left: 35px;
    }

    #box_footer {
        width: 90%;
    }

    .kebasvg {
        right: 35px;
        top: 35px;
    }
}

@media screen and (min-width:768px) and (max-width:899px) {
    #box_autor {
        height: 80px;
    }

    #box_autor p {
        width: 80%;
        line-height: 25px;
        padding-top: 12px;
        padding-left: 35px;
    }

    #box_footer {
        width: 90%;
    }

    .kebasvg {
        right: 30px;

    }

}

@media screen and (min-width:601px) and (max-width:767px) {
    footer {
        height: 650px;
    }

    #box_autor {
        height: 100px;
    }

    #box_autor p {
        width: 70%;
        line-height: 25px;
        padding-top: 12px;
        padding-left: 35px;
    }

    #box_footer {
        width: 90%;
    }

    #box_footer {
        height: 300px;
        width: 80%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 auto;
        padding-top: 5px;

    }

    .kebasvg {
        right: 35px;
        top: 60px;
    }

    #footer_logo {
        display: none;
    }

    #footer_ind {
        margin-left: 40px;
        height: 280px;
    }

    #footer_servizi {
        margin-left: 15px;
    }

}

@media screen and (min-width:480px) and (max-width:600px) {
    footer {
        height: 670px;
    }

    #box_autor {
        height: 124px;
    }

    #box_autor p {
        width: 70%;
        line-height: 25px;
        padding-top: 12px;
        padding-left: 35px;
    }


    #box_footer {
        height: 300px;
        width: 80%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 auto;
        padding-top: 5px;

    }

    .kebasvg {
        right: 35px;
        top: 85px;
    }

    #footer_logo {
        display: none;
    }

    #footer_ind {
        margin-left: 40px;
        height: 280px;
    }

    #footer_servizi {
        margin-left: 15px;
    }

}

@media screen and (min-width:321px) and (max-width:479px) {
    footer {
        height: 760px;
    }

    #box_autor {
        height: 200px;
    }

    #box_autor p {
        width: 60%;
        line-height: 25px;
        padding-top: 12px;
        padding-left: 35px;
    }

    #box_footer {
        height: 300px;
        width: 80%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 auto;
        padding-top: 5px;
    }

    .kebasvg {
        right: 15px;
        top: 160px;
    }

    #footer_logo {
        display: none;
    }

    #footer_ind {
        margin-left: 40px;
        height: 300px;
    }

    #footer_servizi {
        margin-left: 15px;
    }

}
