﻿
.SubHeader {
    z-index: 2;
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-image: url(media/Home/HPSubheader_Definitivo.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    position: relative;
}


.Testo_X {
    position: absolute;
    right: 10%;
    width: 55%;
    top: 23%;
    z-index: 6;
    color: #50341e;
}



    .Testo_X i {
        font-size: 20px;
        padding: 0 10px;
        display: inline-block;
    }



    .Testo_X .Txt_Importante {
        font-weight: bold;
        color: #805268;
        text-transform: uppercase;
        font-size: 47px;
        text-align: right;
        display: block;
        line-height: 35px;
    }

        .Testo_X .Txt_Importante b {
            display: block;
            margin-top: 19px;
        }

    .Testo_X .Testo2 {
        font-size: 24px;
        line-height: 30px;
        text-align: right;
        display: block;
        padding-top: 40px;
        font-weight: 200;
        float: right;
        width: 80%;
    }

        .Testo_X .Testo2 b {
            font-weight: bold;
        }

.Bottonihome {
    left: 10%;
    width: 80%;
    display: flex;
    position: absolute;
    bottom: 0;
    justify-content: space-between;
}

.btnHome {
    background-color: #7F5667;
    padding: 10px 20px;
    border-radius: 10px;
    display: block;
    width: 300px;
    position: relative;
}

    .btnHome img {
        position: absolute;
        left: 20px;
        width: 60px;
        top: 13px;
    }

.Bottonihome .btnHome:first-of-type img {
    width: 90px;
}

.btnHome span {
    color: #F2D0B9;
    text-transform: uppercase;
    font-size: 15px;
    display: block;
    text-align: center;
    padding-left: 66px;
    line-height: 20px;
    padding-top: 10px;
}

.Bottonihome .btnHome:first-of-type span {
    padding-top: 0;
}


.btnHome span b {
    font-size: 22px;
}

.Farfalla {
    position: absolute;
    left: 28%;
    top: 10%;
    width: 165px;
    z-index: 5;
}

.PraticaDolce {
    position: absolute;
    left: 20%;
    bottom: 25%;
    width: 300px;
    z-index: 5;
}

.Testo_X .Testo1 {
    padding-top: 20px;
}

.BottoneSubHeader {
    z-index: 6;
    position: absolute;
    bottom: 14%;
    right: 0;
    width: 60%;
}

.Testo2 a {
    width: 350px;
}


@media (max-width: 1200px) {
    .Testo_X {
        position: absolute;
        right: 15%;
        color: #000;
        width: 70%;
        top: 9%;
        color: #50341e;
        z-index: 6;
    }

    .PraticaDolce {
        display: none;
    }

    .Bottonihome {
        left: 1%;
        width: 98%;
    }
}

@media (max-width: 980px) {

    .Testo_X {
        position: absolute;
        right: 5%;
        color: #000;
        width: 90%;
        top: 118px;
    }

        .Testo_X span:first-of-type {
            font-size: 4vw;
        }

        .Testo_X span {
            font-size: 3vw;
            line-height: 4vw;
        }

        .Testo_X a {
            display: block;
            margin-top: 20px;
        }


    .Farfalla {
        left: 45%;
        top: 0;
        width: 121px;
    }

    .PraticaDolce {
        left: calc(50% - 125px);
        bottom: 5%;
        width: 250px;
    }
}



.DiconodiMe {
    background-color: #DCB596;
    padding: 50px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    margin: 50px 0 0 0;
    min-height: 430px;
}

    .DiconodiMe p {
        padding: 0 60px;
    }

        .DiconodiMe p span {
            display: block;
            font-weight: 900;
            padding: 20px 0;
            color: #805268;
            font-style: italic;
            text-align: center;
        }






.RiquadroSezioni {
    background-color: #805268;
    padding: 20px;
    color: #fff;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    text-align: center;
}

    .RiquadroSezioni a {
        font-size: 18px;
        letter-spacing: 1px;
        color: #fff;
        padding-bottom: 10px;
        display: block;
        font-weight: bold;
        text-transform: uppercase;
    }

    .RiquadroSezioni i {
        font-size: 10px;
        padding-top: 9px;
    }

#FormContatti {
    position: relative;
    z-index: 3;
}

    #FormContatti label {
        font-size: 12px;
        padding-right: 10px;
        padding-left: 5px;
    }

.Home {
    padding-top: 100px;
}

.RigaSpirale img {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
}

.TestoApertura {
    display: block;
    border-left: 3px solid #805268;
    padding-left: 20px;
    font-size: 20px;
    margin-top: 100px;
    font-style: italic;
}

@media (max-width:900px) {
    .SubHeader {
        background-position: bottom right;
    }

    .Testo_X {
        top: 100px;
    }

        .Testo_X .Testo2 {
            font-size: 27px;
        }

    .btnHome {
        width: auto;
    }

    .Bottonihome {
        bottom: 10%;
    }

    .Testo_X .Testo2 {
        width: 100%;
    }
}

@media (max-width:768px) {
    .Testo_X .Testo2 {
        font-size: 19px;
        line-height: 30px;
        padding-top: 0;
    }

    .Testo_X a {
        margin-top: 10px;
    }

    .Testo_X {
        top: 40px;
    }

    .RiquadroSezioni i {
        display: none;
    }

    .SubHeader {
        height: 600px;
    }

    .Bottonihome {
        display: block;
        justify-content: normal;
    }

    .btnHome {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width:570px) {
    .Testo_X {
        top: 100px;
    }

        .Testo_X .Testo1 {
            padding-top: 0;
        }

        .Testo_X span:first-of-type {
            font-size: 34px;
        }

        .Testo_X .Txt_Importante {
            padding-bottom: 15px;
        }

    .PraticaDolce {
        left: calc(50% - 125px);
    }

    .Testo_X i {
        font-size: 15px;
        padding: 10px 0;
        display: block;
        line-height: 16px;
    }

    .Farfalla {
        width: 95px;
    }

    .Testo_X a {
        margin-top: 10px;
    }

    .Bottonihome {
        bottom: 0;
    }
}

@media (max-width: 280px) {
    .Testo_X .Txt_Importante {
        font-size: 35px;
    }

    .Testo_X i {
        font-size: 23px;
        padding: 0 0 10px 0;
        line-height: 21px;
    }

    .Testo_X .Testo2 {
        font-size: 17px;
    }

    .PraticaDolce {
        display: none;
    }
}
