﻿.container {
    width: 1320px;
    letter-spacing: 0px !important;
}

div.content {
    padding-bottom: 0px;
}

    div.content p {
        line-height: normal;
    }

.grid figure, .grid figure:last-child {
    position: relative;
    float: left;
    overflow: hidden;
    width: 19%;
    text-align: center;
    cursor: pointer;
    height: 370px;
    margin: 0.5%;
}

    .grid figure img {
        position: relative;
        display: block;
        max-width: initial;
        opacity: 0.8;
        height: 110%;
        width: auto;
    }

figure.effect-layla:last-child h2, figure.effect-layla h2 {
    padding-top: 93%;
}

.slideshow_landing {
    background-image: url(../images/slide-landing.jpg);
    background-size: cover;
    display: inline-block;
    width: 100%;
    padding: 40px 0px;
}

div.testata {
    padding: 20px 0px;
}

.triple_box {
    width: 100%;
    display: block;
}

    .triple_box .form {
        background: rgb(227 148 102);
    }

.content .triple_box p {
    line-height: 23px;
}

.triple_box h2 {
    margin-bottom: 20px;
}

.triple_box .box {
    width: 33%;
    display: inline-block;
    padding: 10px;
}

.box.left, .box.right {
    max-width: 48%;
    display: inline-block;
    text-shadow: 0 0 3px black !important;
}

    .box.left .img {
        padding: 20px;
        border-radius: 5px;
        background: rgb(255 255 255);
        width: auto;
        display: inline-block;
        margin-bottom: 10px;
    }

.box.half {
    width: 50%;
    position: relative;
    float: left;
    padding: 0px 45px;
}

.box ul li {
    font-size: 16px;
    margin: 10px 0px;
    color: #5c5049;
    letter-spacing: 0px;
    line-height: 21px;
    width: 100%;
    display: inline-block;
}

    .box ul li::before {
        content: "";
        color: #e39466;
        font-weight: bold;
        font-family: "Font Awesome 5 Free";
        margin-right: 0px;
        font-size: 12px;
    }

    .box ul li svg {
        color: #e39466;
        margin: 3px 8px 11px 8px;
        font-size: 30px;
        position: relative;
        float: left;
    }

    .box ul li.singolo svg {
        top: -6px;
        margin-bottom: 0px;
    }

    .box ul li strong {
        vertical-align: bottom;
    }

.box ul {
    /*  padding: 20px;*/
}

.form h2, .form p, .form .label_module, .campo_form .me-select label span {
    text-shadow: 0 0 3px black;
    color: white;
}

.box.left h2 {
    font-size: 24px;
    color: #5c5049;
    font-weight: 500;
    line-height: initial;
    margin-bottom: 10px;
    text-transform: inherit;
    width: auto;
    padding: 20px 30px;
    display: inline-block;
    text-shadow: none;
    background: rgb(255 255 255 / 80%);
    text-shadow: 0 1px white;
    position: relative;
    border-radius: 5px;
}

.box.left h3 {
    margin-bottom: 0px;
    color: #584c45;
    font-weight: 400;
    display: inline-block;
    font-size: 16px;
    padding: 20px 30px;
    background: rgb(255 255 255 / 80%);
    text-shadow: none;
    margin-bottom: 10px;
    line-height: 24px;
    display: inline-block;
    text-shadow: 0 1px white;
    position: relative;
    border-radius: 5px;
    width: 90%;
}

    .box.left h3:last-child {
        width: 80%;
    }

.left {
    display: inline-block;
    float: left;
}

.right {
    display: inline-block;
    float: right;
    /* padding: 20px; */
}

.testata {
    background: #e39466;
}

.form {
    padding: 20px 30px;
    background: rgb(227 148 102 / 90%);
    border-radius: 5px;
}

.triple_box .form {
    padding: 20px;
}

.field_module, .select_module, input[type="number"] {
    border: none;
    border-radius: 3px !important;
}

.form p, .form h1, .form h2, .campo_form .me-select span, .label_module, .campo_form .me-select label span a {
    color: white !important;
}

.campo_form {
    padding-bottom: 20px;
}

.form .btn, .form .btn:hover {
    text-decoration: none;
    background: #5c5049 !important;
    color: white;
}

.content p.shadow {
    font-size: 18px;
    color: #ffffff;
    line-height: 22px;
    margin-bottom: 10px;
    letter-spacing: 0px;
    text-shadow: 0 0 3px black;
}

footer {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0px;
    background-color: #f2f1f1;
    padding: 40px 0px;
}

    footer p {
        margin: 0px;
        font-size: 18px;
    }

h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.alert {
    padding: 10px;
    background: white;
    border-radius: 5px;
}

.content .p_logo {
    letter-spacing: 0px;
    margin: 10px 0px 0px 0px;
    text-shadow: none;
    text-align: center;
    font-size: 12px;
    line-height: inherit;
    color: #86776f;
}

.alert p.errore {
    color: red !important;
    padding: 0px;
    margin: 5px 0px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    line-height: normal;
    width: 100%;
    text-shadow: none;
}

.alert p.ok {
    color: forestgreen !important;
    padding: 0px;
    margin: 5px 0px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    line-height: normal;
    width: 100%;
    text-shadow: none;
}

.btn {
    font-size: 22px !important;
    text-transform: uppercase;
}

.video_home {
    width: 100%;
    margin-top: 40px;
    position: relative;
}

    .video_home video {
        width: 100%;
    }

.calltoaction {
    position: fixed;
    bottom: 0px;
    background: rgb(136 121 113 / 90%);
    width: 100%;
    padding: 1em 3em;
    text-align: center;
    z-index: 9;
}

    .calltoaction .btn, .calltoaction a {
        font-size: 24px;
    }

    .calltoaction .btn {
        float: none;
        margin: 0px 5px;
        /* background: var(--cc-tertiary); */
        /* height: 63px; */
        -moz-transition: all 0.2s linear 0s;
        -webkit-transition: all 0.2s linear 0s;
        -o-transition: all 0.2s linear 0s;
        /* width: 280px; */
        /* padding: 15px 20px; */
        background: #5c5049;
    }

    .calltoaction a {
        margin: 0px 5px;
        text-align: center;
        position: relative;
        vertical-align: middle;
        -moz-transition: all 0.2s linear 0s;
        -webkit-transition: all 0.2s linear 0s;
        -o-transition: all 0.2s linear 0s;
        height: 55px;
    }

        .calltoaction a:hover {
            font-size: 25px;
            height: 55px;
            -moz-transition: all 0.2s linear 0s;
            -webkit-transition: all 0.2s linear 0s;
            -o-transition: all 0.2s linear 0s;
            font-size: 25px !important;
        }

        .calltoaction a svg {
            position: relative;
            margin-right: 15px;
            top: 2px;
        }

.intro {
    display: inline-block;
    margin: 0px;
    position: relative;
    float: left;
    width: 100%;
}

    .intro .img {
        width: auto;
        height: auto;
        margin-bottom: 0px;
        position: relative;
        float: left;
        margin-right: 20px;
    }

    .intro img:first-child {
        width: auto;
        height: auto;
        margin-bottom: 0px;
        margin-right: 0px;
        margin: 10px 0px;
    }

    .intro h1 {
        font-weight: 300;
        letter-spacing: 5px;
        font-size: 30px;
        text-align: left;
        color: #a29791;
        position: relative;
        float: left;
        display: inline-block;
        margin-top: 28px;
        text-transform: uppercase;
        float: right;
        position: relative;
    }

@media (max-width:1370px) {
    figure.effect-layla h2 {
        padding-top: 86%;
    }

    .grid figure h2 {
        font-size: 24px;
    }
}

@media (max-width:1280px) {
    .container {
        width: 100%;
    }
}

@media (max-width:1080px) {
    .container {
        width: 100%;
    }

    .left, .right {
        width: 50%;
    }

        .right p {
            text-align: right;
        }

        .right .form p {
            text-align: left;
        }

    .intro h1 {
        text-align: left;
        width: 50%;
        text-align: right;
        margin: 10px 0px;
    }

    .grid figure, .grid figure:last-child {
        position: relative;
        float: left;
        overflow: hidden;
        width: 49%;
        text-align: center;
        cursor: pointer;
        height: 740px;
        margin: 0.5%;
    }

        .grid figure:last-child img {
            position: relative;
            display: block;
            max-width: initial;
            opacity: 0.8;
            height: auto;
            width: 100%;
        }

        .grid figure:last-child {
            width: 100%;
        }

    figure.effect-layla:last-child h2, figure.effect-layla h2 {
        font-size: 38px;
    }

    figure.effect-layla:last-child h2 {
        padding-top: 31%;
    }
}

@media (max-width:1024px) {
    .box ul li svg {
        margin: 7px 12px 32px 8px;
    }

    .box ul li.singolo svg {
        top: -12px;
    }

    .intro .img {
        width: 100%;
        text-align: center;
    }

    .intro img:first-child {
        float: none;
    }

    .intro h1 {
        width: 100%;
        text-align: center;
        font-size: 23px;
        font-weight: bold;
    }

    .left, .right {
        width: 100%;
    }

        .left p, .right p {
            text-align: center;
            font-size: 14px;
        }

    .box.left, .box.right {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .right .form p {
        text-align: left;
        text-align: center;
    }
}

@media (max-width:900px) {
    .grid figure, .grid figure:last-child {
        height: 525px;
    }

    .box.half {
        width: 100%;
        padding: 0px 71px;
    }
}

@media (max-width:800px) {
    .grid figure, .grid figure:last-child {
        height: 525px;
    }

    .box.half {
        width: 100%;
        padding: 0px 71px;
    }
}

@media (max-width:600px) {
    .box.left h2, .box.left h3, .box.left h3:last-child {
        width: 100%;
        margin-bottom: 0px;
        border-radius: 0px;
        padding-bottom: 0px;
        text-align: center;
    }

        .box.left h3:last-child {
            padding-bottom: 30px;
        }

    .grid figure, .grid figure:last-child {
        width: 100%;
        height: 520px;
        margin: 0px 0px 20px 0px;
    }

        .grid figure:last-child img {
            max-width: initial;
            height: 120%;
            width: auto;
            left: 0px;
        }

    figure.effect-layla h2, figure.effect-layla:last-child h2 {
        padding-top: 78%;
    }

    .box.half {
        width: 100%;
        padding: 0px 20px;
        margin-top: 40px;
    }

    .box ul li {
        text-align: center;
    }

        .box ul li svg {
            width: 100%;
            margin: 20px 0px 13px 0px;
        }

    div.content p {
        line-height: 30px;
        text-align: center;
    }

    h2 {
        font-size: 25px;
        margin-bottom: 15px;
        text-align: center;
    }
    .calltoaction {
        padding:20px;
    }
    .btn, input[type="button"].btn, input[type="submit"].btn {
        padding: 15px;
    }
    .intro h1 {
        width: 100%;
        text-align: center;
        font-size: 12px;
        font-weight: bold;
        letter-spacing: 3px;
        margin-top: 0px;
    }
}
