
#contact {
    position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;

	width: 100%;
    padding: 28px 7vw;
}

#contact .head {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;

	margin: 30px 0 5vw;
}

#contact .head.head-center {
	justify-content: center;
	align-items: center;
}

#contact .description {
    display: flex;
    flex-direction: column;
}
#contact .contact-central-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}



/** ***********************************************
 * FORMULAIRE
 */
#contact .contact-form {
    width: 100%;
    max-width: 50vw;
    border-radius: 30px;
    box-shadow: 0 0 1vw var(--color-shadow);
    padding: 3%;
}

#contact .fields {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#contact .row {
    margin: 20px 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#contact .row.field.textarea {
    align-items: flex-start;
}

#contact .row.field label {
    max-width: 20%;
}

#contact .row.field input,
#contact .row.field textarea {
    width: 80%;
    height: 2.6vw;
    border-radius: 30px;
    padding: 0 15px;

    border: 1px solid #D4D4D4;
    background-color: var(--color-bg-input);

    font-size: 1vw;
    font-family: "Tajawal", "sans-serif";
    font-weight: 400;
	color: var(--color-eighth);
}

#contact .row.field textarea {
    padding: 15px;
    height: 240px;
}

#contact .row.field textarea::-webkit-scrollbar {
    display: none;
}

#contact .contact-form .legend,
#contact .contact-form .btn-submit,
#contact .contact-form .rgpd_consent_checkbox {
    margin: 1vw 0;
    width: 80%;
}

#contact .contact-form .rgpd_consent_checkbox {
    font-weight: 800;
}

#contact .contact-form .rgpd_consent_checkbox .rgpd_checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#contact .contact-form .rgpd_consent_checkbox .rgpd_checkbox input {
    height: 1vw;
    width: 1vw;
    margin-right: 1.5vw;
}

/** ***********************************************
 * INFORMATIONS
 */
#contact .contact-information {
    position: relative;
    width: 100%;
    max-width: 30vw;
    height: auto;
}

#contact .contact-fidelia-anchor{
    position: relative;
    width: 100%;
    height: 100px;
}

#contact .contact-f-a,
#contact .contact-fidelia {
    position: absolute;

    box-shadow: 0 0 1vw var(--color-shadow);
    border-radius: 30px;
    padding: 2.6vw 3vw;
}

#contact .contact-f-a {
    right: 0;
    top: 0;

    color: #ffffff!important;
    background-color: var(--color-eighth);
}

#contact .contact-fidelia {
    right: calc(-2 * 3vw);
    top: 50%;

    width: calc(100% + 2 * 3vw);
    background-color: #ffffff;
}

#contact .contact-f-a a {
    text-decoration: none;
    color: var(--color-white);
}

#contact .contact-fidelia a {
    color: var(--color-eighth);
}

#contact .contact-f-a .address,
#contact .contact-f-a .item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

#contact .contact-f-a .item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
}
#contact .contact-f-a .item i {
    width: 1vw;
    margin-right: 10px;

    color: var(--color-sixth);
    text-align: center;
}

#contact .contact-f-a .item-content {
    width: 100%;
}

#contact .contact-f-a .hours > span {
    margin-bottom: 5px;
}


#contact .contact-fidelia .legend {
    font-size: 0.8vw;
}


/***************************************************************
 * OTHER
 */

 
#contact .cnil {
    width: 50vw;
    padding: 20px 2vw;
    font-size: 0.8vw;
}

#contact .cnil .info_mention.info_text {
    text-align: left;
}

#contact .contact-background {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -10;

    width: 80%;
    max-width: 850px;
}

 
#contact .mobile-content {
    display: none;

    width: 100%;
}



@media screen and (max-width: 991px) {
    #contact {
        padding-left: unset;
        padding-right: unset;
        width: 100%;
    }

    #contact .description {
        margin-bottom: 300px;
    }

    #contact .contact-central-block {
        flex-direction: column;
    }

    #contact .contact-form {
        max-width: 90vw;
        margin: 5vw;
    }

    #contact .row.field input,
    #contact .row.field textarea {
        height: 5.2vw;
        font-size: 2vw;
    }

    #contact .row.field textarea {
        height: 240px;
    }

    #contact .contact-information {
        max-width: unset;
        width: 100%;
    }


    #contact .contact-f-a {
        position: relative;
        padding: 10%;

        width: 100%;
        border-radius: unset;
    }

    #contact .contact-f-a .item i {
        width: 3vw;
    }

    #contact .contact-fidelia {
        right: unset;
        left: 50%;

        padding: 10%;
        transform: translateX(-50%);
    }

    #contact .contact-fidelia .legend,
    #contact .cnil {
        font-size: 1.5vw;
    }

    #contact .contact-form .legend,
    #contact .contact-form .btn-submit,
    #contact .contact-form .rgpd_consent_checkbox {
        width: 100%;
    }

    #contact .contact-form .rgpd_consent_checkbox .rgpd_checkbox {
        align-items: flex-start;
    }

    #contact .contact-form .rgpd_consent_checkbox .rgpd_checkbox input {
        height: 2vw;
        width: 2vw;
    }
     
    #contact .mobile-content {
        display: block;
    }

    #contact .desktop-content {
        display: none;
    }

}


@media screen and (max-width: 650px) {
    
    #contact .contact-fidelia .legend,    
	#contact .cnil {
		font-size: 2vw;
	}

    #contact .row.field label {
        max-width: 30%;
    }
    
    #contact .row.field input,
    #contact .row.field textarea {
        width: 70%;
        height: 7.8vw;
        font-size: 3vw;
    }

    #contact .row.field textarea {
        height: 240px;
    }

    #contact .contact-form .rgpd_consent_checkbox .rgpd_checkbox input {
        height: 3vw;
        width: 3vw;
    }
}

@media screen and (max-width: 480px) {
    #contact .contact-fidelia .legend,
	#contact .cnil {
		font-size: 3vw;
	}

    #contact .row.field input,
    #contact .row.field textarea {
        height: 10.4vw;
        font-size: 4vw;
    }

    #contact .row.field textarea {
        height: 240px;
    }

    #contact .contact-form .rgpd_consent_checkbox .rgpd_checkbox input {
        height: 4vw;
        width: 4vw;
    }
}