

/* ----------- .layout-contact ----------- */

.layout-contact {
    background-color: hsl(0deg 0% 98%);
    position: relative;
    margin-top: 50px;
}

.layout-contact .layout-message {
    display: none;
    max-width: initial !important;
    padding: initial !important;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
    flex-direction: column;
    justify-content: center;
}

.layout-contact .layout-message p {
    font-size: 18px;
    text-align: center;
    font-weight: 400;
}

.layout-contact .layout-message .close {
    width: 40px;
    height: 30px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    margin-bottom: 30px;
}

.layout-contact .layout-message .close i {
    font-size: 25px;
}

.layout-contact .layout-message .content {
    margin-top: 0px !important;
}

.layout-contact .layout-message.on {
    display: flex;
}

.layout-contact .layout-timer {
    display: none;
    position: absolute;
    z-index: 2;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
}

.layout-contact .layout-timer img {
    display: block;
    width: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30%;
}

.layout-contact .layout-timer.on {
    display: block;
}

.layout-contact>div {
    padding: 40px 40px;
    padding-bottom: 10px;
    max-width: 1100px;
}

.layout-contact>div>div {
    max-width: 750px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

.layout-contact h2 {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1;
}

.layout-contact p {
    margin-bottom: 15px;
}

.layout-contact p label {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin: 0;
    margin-right: 20px;
    width: 280px;
    font-size: 18px;
    font-weight: 400;
    text-align: right;
    line-height: 50px;
    height: 50px;
}

.layout-contact p input {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin: 0;
    width: calc(100% - 310px);
    padding: 0px 10px;
    border: 1px solid #e5e3e3;
    height: 50px;
    font-size: 18px;
    border-radius: 2px;
    outline: none;
}

.layout-contact p textarea {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: calc(100% - 310px);
    padding: 10px 10px;
    border: 1px solid #e5e3e3;
    height: 200px;
    font-size: 18px;
    border-radius: 2px;
    outline: none;
}

.layout-contact p button {
    display: inline-block;
    width: fit-content;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border: navajowhite;
    font-weight: 400;
    padding: 14px 40px;
    background-color: var(--orange);
    border-radius: 30px;
    border-top-left-radius: 0;
    letter-spacing: 0.02em;
    text-transform: none;
    cursor: pointer;
}


/* ---------------- mobiles ---------------- */

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



    /* ---- .layout-contact ---- */

    .layout-contact p label {
        display: block;
        width: 100%;
        text-align: left;
        line-height: 30px;
        height: 30px;
    }

    .layout-contact p label sup {
        color: #ff0000;
    }

    .layout-contact p input {
        display: block;
        width: 100%;
    }

    .layout-contact p textarea {
        display: block;
        width: 100%;
    }

    
    
}