@charset "UTF-8";

/* CSS Document */
:root {
    --nero: #3c3c3b;
    --black: #313133;
    --bianco: #ffffff;
}

body {
    width: auto !important;
    overflow-x: hidden !important
}

h1,
h2,
h3,
h4,
h5,
p {
    font-family: "Poppins", sans-serif;
}
.link-no-style{
    text-decoration: none;
}
.link-box {
    text-decoration: none;
}

.animated {
    animation-duration: 2s;
}

.navbar {
    background-color: var(--nero);
    padding-bottom: 0;
}

.back-form {
    background-image: url(../img/back-form.svg);
    background-size: cover;
}

.navbar-toggler-icon {
    background-image: url(../img/icon-menu.svg) !important;
}

.navbar-toggler,
.navbar-toggler:focus {
    border: #313133;
    box-shadow: unset;
}

.bg-light {
    background-color: transparent !important;
    padding-top: 0px;
}


.logo-nav {
    max-width: 180px;
    min-width: 180px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.nav-link {
    font-size: calc(18px + (23 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #fff;
    margin-right: 3rem;
    border-bottom: 2px solid var(--nero)
}

.navbar-brand {
    margin-right: 0px;
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.navbar>.container-fluid {
    background-color: #3c3c3b !important;
    margin-left: 0rem;
    padding-left: 0px;
}

.back-head,
.back-head-page {
    background-image: url(../img/head.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 124vh;
}

.back-head-page,
.arredamento,
.porte,
.serramenti,
.zanzariere {
    background-image: url(../img/serramenti/3.jpg);
    background-position: 80% 25%;
    background-size: cover;
    height: 90vh;
}

.porte {
    background-image: url(../img/porte/);

}

.list li {

    font-size: calc(16px + (30 - 16) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(18px + (46 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #313133;

}

.back-white {
    background-image: url(../img/back-bianco.svg);
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    margin-top: -24vh;
}

.box-h2 {
    padding-left: 4rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.title-h1 {
    padding-top: 40vh;
    font-family: DM Serif Display;
    font-size: calc(18px + (125 - 18) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(18px + (99 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #fff;
    text-shadow: 0px 3px 1px #00000029;
}

.sub-h1 {
    font-family: Poppins;
    font-size: calc(18px + (75 - 18) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(18px + (99 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #fff;
    font-weight: 400;
}

.title-h2 {
    font-family: DM Serif Display;
    font-size: calc(18px + (100 - 18) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(18px + (100 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #313133;
    padding-bottom: 4rem;
}

.txt {
    font-size: calc(18px + (30 - 18) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(18px + (46 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #313133;
}

.box-categorie {
    padding-top: 8rem;
    padding-bottom: 8rem;
    padding-left: 4rem;
    padding-right: 4rem;
}

.sp-colonne {
    padding: 2rem;
}

.back-showroom {
    background-image: url(../img/back-showroom.jpg);
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
}

.back-sez-page {
    background-image: url(../img/serramenti/2.jpg);
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
}

.back-sez-page-2 {
    background-image: url(../img/serramenti/1.jpg);
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
}

.back-pvc {
    background-image: url(../img/serramenti/4.jpg);
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
}

.btn-w {
    font-size: calc(18px + (30 - 18) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(18px + (46 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #fff;
    border: 5px solid #fff;
    background-color: transparent;
    padding: 0.5rem 2rem 0.8rem 2rem;
    text-align: center;
    transition-duration: 2s;
    text-decoration: none;
}

.btn-w:hover {
    color: #fff;
}

.title-h3 {
    font-family: DM Serif Display;
    font-size: calc(18px + (69 - 18) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(18px + (71 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #fff;
    padding-bottom: 4rem;
    transition-duration: 2s;
}

.btn-w a {
    color: var(--bianco);
    text-decoration: none;
}

.h-btn {
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    right: 2rem;
}

.cont-zoom {
    overflow: hidden;
    position: relative;
}

.categoria {
    position: relative;
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4rem;
    padding-bottom: 2rem;
    height: 70vh;
    transition-duration: 2s;
}

.h-form-page {
    height: 88vh;
}

.categoria-f {
    position: relative;
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4rem;
    padding-bottom: 2rem;
    height: 70vh;
}

.categoria-f-page {
    position: relative;
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4rem;
    padding-bottom: 2rem;
    height: auto;
}

.categoria-f-page-form {
    position: relative;
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4rem;
    padding-bottom: 0rem;
    height: auto;
}

.categoria:hover {
    transform: scale(1.1);
    transition-duration: 2s;

}

.categoria:hover>h3 {
    transform: scale(0.9);
    transition-duration: 2s;
}

.categoria:hover>p {
    transform: scale(0.9);
    transition-duration: 2s;
    bottom: 2rem;
}

.loghi-partner {
    padding-left: 3rem;
    padding-right: 3rem;
    max-width: 300px;
}

/*--------------------------form--------------------------*/
.form-control {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: calc(18px + (26 - 18) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
    line-height: 1.5;
    padding-left: 1.5rem;
    color: #3c3c3b;
    background-color: #fff;
    background-clip: padding-box;
    border: 3px solid #3c3c3b;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0rem 0rem 0rem 0rem;
    margin-top: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #3c3c3b;
    background-color: #fff;
    border: 3px solid #3c3c3b;
    outline: 0;
    box-shadow: 0 0 0 0;
    font-weight: 400;
}

.form-check-input {
    width: 1.5rem;
    height: 1.5rem;

    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, 0.25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}

.form-check {
    padding-left: 3rem;
}

.form-check-label {
    font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
    color: #999;
    padding-left: 1rem;
    padding-right: 6rem;
}

/*--------------------------fine-form--------------------------*/

.footer {
    background-color: #3c3c3b;
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
}

.logo-foot {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 400px;
}

.box-foot {
    padding-left: 4rem;
    padding-right: 4rem;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.tit-foot {
    font-family: DM Serif Display;
    font-size: calc(18px + (48 - 18) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(18px + (71 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #fff;
}

.txt-foot {
    font-size: calc(18px + (28 - 18) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(18px + (30 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #fff;
}

.black {
    color: #3c3c3b;
}

.white {
    color: #fff;
}

.title-porte {
    padding-top: 29vh;
}

.owl-carousel {
    cursor: grab;
}

.megamenu {
    padding: 4rem;
    background-color: var(--nero);
    box-shadow: 0px 0px 10px 0px #1a1a1a75;
    background-image: url("../img/back-nav.png");
    background-position: right;
    background-size: cover;
}


.tit-menu {
    display: block;
    font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
    text-decoration: none;
    font-weight: 700;
    color: var(--bianco);
    margin-bottom: 1rem;
}

.link-menu a {
    display: block;
    font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    text-decoration: none;
    font-weight: 500;
    color: var(--bianco);
    margin-bottom: 0rem;
}

.txt-foot {
    font-size: calc(16px + (28 - 16) * ((100vw - 300px) / (1920 - 300)));
}

.txt-foot a {
    color: var(--bianco);
    text-decoration: none;

}

.arredamento {
    background-image: url("../img/arredamento-su-misura/header.jpg");
}

.tit-foot-h4 {
    color: var(--bianco);
    font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
}

/* ============ desktop view ============ */
.dati-aziendali {
    background-color: #000000;
    color: gray;
    font-size: calc(12px + (18 - 12) * ((100vw - 300px) / (1920 - 300)));
}

.dati-aziendali a {
    color: gray;
    text-decoration: none;
    font-size: calc(12px + (18 - 12) * ((100vw - 300px) / (1920 - 300)));
}


.btn-invia {
    transition: 0.5s;
    background-color: var(--nero);

    border: 1px solid var(--nero);
}

.btn-invia:hover {
    background-color: var(--bianco);

    color: var(--nero);
    border: 1px solid var(--nero);
}

.list-footer {
    list-style: none;
    padding-left: 0;
}

.list-footer li,
.list-footer li a {


    color: var(--bianco);
    font-size: calc(16px + (28 - 16) * ((100vw - 300px) / (1920 - 300)));
    text-decoration: none;
}

.tit-foot a {
    text-decoration: none;
    color: var(--bianco);
}

.zanzariere {
    background-image: url("../img/zanzariere/header.jpg");
}

.list-per-form li {

    color: var(--black);

}

.zanzariere-2 {
    background-image: url(../img/zanzariere/sfondo-sez.jpg);
}

.iubenda-nostyle {
    color: #999;

}

.iubenda-nostyle:hover {
    color: #999;

}

.list-per li {
    font-family: "Poppins", sans-serif;
}

.megamenu {
    background-color: var(--bianco);

}

.megamenu a {
    color: var(--nero);
}

.tit-menu a {
    font-weight: 700;
}

.dropdown-toggle:focus {
    color: var(--bianco);
}

.dropdown-toggle:hover {
    cursor: pointer;
}

.title-pages {
    padding-top: 28vh;
}

.domande {
    font-size: calc(16px + (30 - 16) * ((100vw - 300px) / (1920 - 300)));
    line-height: 1rem;
}

.active {
    color: var(--bianco) !important;
    border-bottom: 2px solid var(--bianco);
}

.active-black {
    color: var(--nero) !important;
    display: inline-block;
    border-bottom: 2px solid var(--nero);
    width: auto;
}

.nav-link:hover {

    border-bottom: 2px solid var(--bianco);
    color: var(--bianco);
}

.icon {
    padding-right: 1em;
    font-size: calc(30px + (43 - 30) * ((100vw - 300px) / (1920 - 300)));
}

.nav-link,
li>a {
    font-family: "Poppins", sans-serif;
}

ul.list-per li {
    list-style: decimal-leading-zero;
    list-style-position: inside;
}

.white li {
    color: var(--bianco) !important;
}

ul {
    padding-left: 0;
}

.list-per-modal li {
    line-height: unset;
    font-size: 1.3rem;
}

.txt-modal {
    line-height: unset;
    font-size: 1.3rem;
}

.title-modal {

    padding-bottom: 0;
    line-height: unset;
    font-size: 2.8rem;
}

.btn-modal {
    font-size: calc(3px + (30 - 18) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(3px + (46 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #fff;
    border: 5px solid #fff;
    background-color: transparent;
    padding: 0.5rem 1rem 0.8rem 1rem;
    text-align: center;
    transition-duration: 2s;
    text-decoration: none;
}

.modal-body {
    padding: 0;
}

.list-per-modal-button {
    position: absolute;
    bottom:12%;
    left:8%;
    gap: 2rem;
    list-style: none;
    padding-left: 0;
    display: inline-flex;
    flex-direction: row;
}

.btn-modal {
    background-color: var(--nero);
    border: 2px solid var(--nero);
}

.btn-modal:hover {
    background-color: var(--bianco);
    color: var(--nero);
    border: 2px solid var(--nero);
}

.relative {

    position: relative;
}

.box-modal {
    padding-left: 4em;
    padding-bottom: 6em;
    padding-top: 10em;
    padding-right: 3em;
}

.x-button {
    top: 0;
    position: absolute;
    left: 4rem;
    top: 4rem;
}

.modal-content {
    background-color: transparent;
    border: unset;
}

.box-modal {}

.back-modal {
    background-image: url(../img/back-modal.svg);
    background-size: 100%;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 1920px) {

    .h-form-page {
        height: auto;
    }
}

@media only screen and (max-width: 1832px) {


    .title-h1 {
        padding-top: 34vh;
    }
}

@media all and (max-width: 1024px) {
    .box-categorie {
        padding: 1em;
    }

    .categoria {
        height: 40vh;
    }

    .back-head {
        height: 74vh;
        background-size: 150vw;
    }

    .title-h1 {
        padding-top: 25vh;
    }

    .categoria-f {
        height: unset;
    }

    .loghi-partner {
        max-width: 100%;
    }

    .logo-foot {
        max-width: 250px;
    }

    .navbar .megamenu {
        width: 100% !important;
    }

    .logo-nav {
        max-width: 150px;
        min-width: 150px;
    }

    .nav-link {
        transition: 1s;
        margin-right: 1.5rem;
        display: inline-block;
    }

    .back-head-page {
        height: 80vh;
    }

    .categoria {
        height: 35vh;
    }

}

@media all and (min-width: 992px) {


    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        left: 0;
        right: 0;
        width: 70%;
        margin-top: 4px;
    }

}

@media(max-width: 991px) {
    .modal-dialog {
        max-width: 600px;
        width: auto;
    }

    .navbar.fixed-top .navbar-collapse,
    .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }

    .navbar {
        padding: 1.1em;
    }

    .box-h2 {
        padding-left: 2rem;
    }
}

@media only screen and (max-width: 840px) {
    .back-modal {
        background-image: url(../img/back-modal.svg);
        background-size: 80vw;
        background-repeat: no-repeat;
    }

    .megamenu {
        background-image: unset;
    }

    .box-categorie {
        padding: 1em;
    }

    .categoria {
        height: 40vh;
    }

    .back-head {
        height: 74vh;
        background-size: 150vw;
    }

    .title-h1 {
        padding-top: 25vh;
    }

    .categoria-f {
        height: unset;
    }

    .loghi-partner {
        max-width: 100%;
    }

    .logo-foot {
        max-width: 250px;
    }

    .navbar .megamenu {
        width: 100% !important;
    }

    .logo-nav {
        max-width: 150px;
        min-width: 150px;
    }

    .nav-link {
        margin-right: 1.5rem;
    }

    .back-head-page {
        height: 80vh;
    }

    .categoria {
        height: 35vh;
    }

    .btn-modal {
        font-size: 1rem;
    }

}

@media only screen and (max-width: 590px) {
    
    .list-per-modal-button li{
        font-size: 1rem;
    }
    .back-modal {
        background-position: center center;
        background-image: url(../img/back-modal-mobile.svg);
        background-size: cover;
        padding-top: 7em;
        
        padding-left: 3em;
        padding-bottom:7em;
        padding-right: 0em;
        background-repeat: no-repeat;
    }
    

    .box-modal {
        padding-top: 0;
        padding-left: 0em;
        padding-bottom: 0em;
        
        padding-right: 3em;

    }

    .modal-dialog {
        max-width: unset;
        width: auto;

    }

    .list-per-modal li {
        line-height: unset;
        font-size: 1.3rem;
    }

    .loghi-partner {
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
        padding: 1em;
    }

    .navbar {
        background-color: var(--nero);
        padding: 1.1em;
    }

    .back-form {
        background-image: unset;
    }

    #contactForm {
        background-image: url(../img/back-form-mobile.svg);
        padding: 0.85em;
        background-size: cover;
    }

    .form-check-input {
        margin-top: 1em;
    }

    .form-check-label {
        padding-right: 1em;
        padding-top: 1em;
        color: var(--nero);
    }

    .logo-nav {
        min-width: 130px;
        max-width: 130px;
    }

    .back-head-page,
    .consumi,
    .certificazioni,
    .zanzariera-vantaggi {
        position: relative;
        z-index: -1;
        bottom: 3.2rem;
        background-size: 140vw;
        height: 59vh;
    }

    .consumi {
        background-size: 150vw;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url(../img/serramenti/sez-mobile.jpg);
    }

    .certificazioni {
        background-image: url(../img/serramenti/sez-mobile-2.jpg);
        background-size: 190vw;
        background-repeat: no-repeat;
        background-position: center;
    }

    .zanzariera-vantaggi {
        background-image: url(../img/zanzariere/header-2.jpg);
        background-size: 190vw;
        background-repeat: no-repeat;
        background-position: center;
    }

    .title-h1 {
        padding-top: 20vh;
        font: normal normal normal 37px / 37px DM Serif Display;
    }

    .title-h2 {
        padding-bottom: 2rem;
        font: normal normal normal 36px/37px DM Serif Display;

    }

    .title-h3 {
        padding-top: 2rem;
        padding-bottoM: 2rem;
    }

    .box-h2 {
        padding-left: 0rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .title-h3 {
        font-size: 38px;
        line-height: calc(38px + (71 - 18) * ((100vw - 300px) / (1920 - 300)));
        ;
    }

    .box-pagine,
    .box-categorie {
        padding: 0;
    }

    .categoria {
        height: 45vh;
    }

    .categoria-f {
        padding-top: 0;
        height: unset;
    }

    .sp-colonne {
        padding: 0rem;
    }

    .title-partner {
        padding-left: 0.75em;
        padding-bottom: 0;
    }

    .logo-foot {
        max-width: 180px;
    }

    .spacing-mobile-form {
        padding: 2.5rem;
        padding-left: 1.9rem;
        padding-right: 1.9rem;
        padding-top: 0.3rem;
    }

    .btn-invia,
    .btn-mobile {
        transition: unset;
        background-color: var(--nero);
        padding: 1em;
        padding-left: 2em;
        padding-right: 2em;
        border: 1px solid var(--nero);
    }

    .btn-invia:hover,
    .btn-mobile:hover {
        background-color: var(--bianco);
        padding: 1em;
        padding-left: 2em;
        padding-right: 2em;
        color: var(--nero);
        border: 1px solid var(--nero);
    }

    .btn-w {
        border: 2px solid var(--bianco);
        padding-top: 1em;
        padding-bottom: 1em;
    }

    .txt {

        font-size: calc(16px + (30 - 16) * ((100vw - 300px) / (1920 - 300)));

    }

    .txt-foot {
        line-height: 0.5rem;
    }

    .col-footer {
        padding-top: 2em;
    }

    .box-foot {
        padding: 1em;
    }

    .iubenda-nostyle {
        color: var(--nero);
    }

    .back-head {
        height: 60vh;
        background-size: 155vw;
    }

    .list {
        padding-left: 0;
    }

    .list-footer {
        list-style: none;

    }

    .list-footer li {
        color: var(--bianco) !important;
    }

    .megamenu {
        background-image: unset;
        padding: 2em;
    }

    .list-per-form {
        padding-left: 2em;
    }

    .megamenu {
        background-color: var(--bianco);

    }

    .megamenu a {
        color: var(--nero);
    }

    .tit-menu a {
        font-weight: 800
    }

    .txt {
        font-size: 1.2rem;
    }

    .title-modal {
        font-size: 1.6rem;
        padding: 0;
    }

    .x-button{
        left:2rem;
        top:2rem;
    }

    .btn-modal {
        font-size: 0.8rem;
    }


}

@media only screen and (max-width: 390px) {
    
    .x-button {
        
        position: absolute;
        left: 3rem;
        top: 2rem;
    }

    .box-modal {
        padding: 2em;
    }

    .back-head-page {
        background-size: cover;
        background-position: top;
        height: 65vh;
    }


    .categoria {
        height: 55vh;
    }

    .title-arredamento {
        padding-top: 25vh;
    }
    .back-modal {
        background-position: center center;
        background-image: url(../img/back-modal-mobile.svg);
        background-size: cover;
        padding-top: 4em;
        
        padding-left: 0em;
        padding-bottom:0em;
        padding-right: 0em;
        background-repeat: no-repeat;
    }
}