.contact {
    background-color: rgb(var(--beige));
}
.contact h2{
    color: rgb(var(--black));
}


.contact-container {
    width: 100vw;
    height: auto;
}
.contact-container .map {
    width: 50vw;
    height: 100vh;
    background-color: #000;
    position: fixed!important;
    top: 0px;
    left: 0;
    z-index: -1;
    z-index: 0;
}

.contact-container .contact {
    width: 50vw;
    padding: 20vh 5vw 10vh 5vw;
    margin-left: auto;
}
/* CONTACT FRANCHISE */
#contact-franchise {
    justify-content: center;
}
.contact.franchise{
    width: 100%;
    padding: 10vh 5vw 10vh 5vw;
    background-color: #0031a7;
    & h2{
        color: #fff;
    }
    & .wpcf7 {
        border: 2px solid #fff;
    }
    & .my-form-group{
        border: 1px solid #fff;
        & .border-dark{
            border-color: #fff!important;
        }
        & ::placeholder {
            color: #fff !important;
            opacity: 1;
        }
    }
    & .envoyer{
        & p{
            display: flex;
            width: 100%;
            justify-content: center;
            padding-top: 2rem;
            & input{
                border: 1px solid rgb(var(--black))!important;
                text-transform: uppercase!important;
                text-decoration: none!important;
                font-weight: 800!important;
                font-size: 18px!important;
                color: rgb(var(--black))!important;
                font-family: 'new-science', sans-serif!important;
                width: fit-content!important;
                background-color: rgb(var(--beige))!important;
                position: relative;
                
            }
            &::before {
                    content: '';
                    border: 1px solid rgb(var(--black))!important;
                    text-transform: uppercase!important;
                    text-decoration: none!important;
                    font-weight: 800!important;
                    font-size: 18px!important;
                    color: rgb(var(--black))!important;
                    font-family: 'new-science', sans-serif!important;
                    background-color: rgb(var(--beige))!important;
                    position: absolute;
                    top: calc(50% + 15px);
                    left: calc(50% - 28px);
                    transform: translate(-50%, -50%);
                    display: flex;
                    width: 298px;
                    height: 56px;
                }
        }
    }
}

.wpcf7 {
    border: 2px solid black;
}

.my-form-group{
    border: 1px solid var(--beige);
}

.my-form-group p{
    margin: 0;
}

.my-form-row{
    display: flex;
    flex-direction: row;
}

.my-form-row span{
    width: 100%;
}

.my-form-row .my-col{
    width: 50%;

}


.envoyer{
    width: 100%;
    float: right;
    position: relative;
}
.envoyer input.wpcf7-submit:focus {
  color: #000!important;
}
.contact-container .contact input, .contact-container .contact textarea, .contact-container .contact select {
    width: 100%;
    background-color: var(--black);
    color: rgb(var(--black));
    border: none;
    font-size: 1.3rem;
    padding: 1em 1.5rem;
    font-weight: 700;
    font-family: 'new-science', sans-serif;
}

.contact-container .contact input:focus,
.contact-container .contact textarea:focus
.contact-container .contact select:focus{
    color: white !important;
    border: none;
    outline: none !important;
}

.envoyer input{
    background-color: var(--beige);
    color: var(--black);
    font-weight: 800;
    cursor: pointer;
    position: relative;
    border-radius: 0;
    font-size: 100%;
}


.left-col .content{
    width: 80%;
    margin: auto;
    text-align: left;
}


.mail-title{
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    letter-spacing: 1px;
}

.data-warning{
    color: rgba(255, 255, 255, 0.5);
}

.wpcf7-response-output{
    margin-top: 10vh!important;
}

.wpcf7 .wpcf7-response-output{
  color: #fff;
}


/* MAP STYLE */
.gm-style .gm-style-iw-c{
    background: #000;
    max-width: 430px!important;
    width: 100%;
        padding: 1em!important;
}
.gm-style .gm-style-iw-t::after {
    background: linear-gradient(
45deg
,rgba(0,0,0,1) 50%,rgba(0,0,0,0) 51%,rgba(0,0,0,0) 100%);
    box-shadow: -2px 2px 2px 0 rgb(178 178 178 / 40%);
    content: "";
  }
.gm-style .gm-style-iw-c p{
  margin-bottom: 0px;
}
.gm-style .gm-style-iw-c .wp-block-column img{
  margin-top: 24px;
}
.gm-style-iw-d {
    padding: 0px;
    padding-right: 0px;
    overflow: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.gm-style-iw-d::-webkit-scrollbar{
    display: none;
}


@media (max-width: 1024px) {
  .contact-container .map {
    width: 100vw;
    height: auto;
    position: relative!important;
    z-index: 0;
  }
  .contact-container .contact {
      width: 100%;
      padding: 50px;
      margin-left: auto;
  }
  .contact-container {
      flex-direction: column;
  }
}
/* MOBILE */
@media (max-width: 576px) {
    .contact-container .map > div.wp-block-column:first-of-type {
        padding-top: 6rem;
    }
    .contact-container .map .new-btns-wrapper{
        margin-bottom: 2rem;
    }
    .contact-container .map #coordonnees, .contact-container .map #acces, .contact-container .map #horaires{
        display: none;
    }
    .contact-container .contact {
        width: 100%;
        padding: 15px;
        margin-left: auto;
    }
    .envoyer{
        width: 100%;
        float: none;
        position: relative;
    }
    .contact.franchise{
        & .my-form-row{
            flex-direction: column;
            & .my-col{
                width: 100%;
            }
        }
        & .envoyer{
            & p{
                flex-direction: column;
                align-items: center;
                & input{
                    font-size: 14px!important;
                }
                &::before {
                    display: none; 
                }
            }
        }
    }
  
}
