/* Font and Text Rendering */
html, body {
    height: 100%;
    font-family: 'Mulish', serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
}


/* Layout */

.form-body {
    height: 100%;
}

.form-body > .row {
    position: relative;
    margin: 0;
    height: 100%;
}

/* Logo Styles */
.logo {
    width: 280px;
    display: block;
    margin: 0 auto;
    margin-bottom: 10%;
}

.mobile-logo {
    width: 150px;
    display: none;
}

/* Image Holder */
.img-holder {
    position: absolute;
    width: 550px;
    height: 100%;
    padding: 60px;
    text-align: center;
    z-index: 999;
}


.img-holder .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/img2.jpg");
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.info-holder {
    position: absolute;
    left: 0;
    right: 0;
    top: 20%;
}

/* Form Holder */
.form-holder {
    margin-left: 550px;
    width: 100%;
}

.form-holder .form-content {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    min-height: 100%;
}

/* Form Items */
.form-content .form-items {
    display: inline-block;
    width: 100%;
    max-width: 500px;
    padding: 50px;
    text-align: left;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

/* Form Inputs */
.form-content input {
    width: 95%;
}

.form-content select {
    width: 30%;
}

.form-content input,
.form-content select {
    margin-right: 10px;
    padding: 20px 20px;
    text-align: left;
    border: 0;
    outline: 0;
    border-radius: 6px;
    background-color: #f7f7f7;
    font-size: 15px;
    font-weight: 300;
    color: #000;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-bottom: 14px;
}

.datedesejour {
    margin-bottom: 10px;
}

/* Form Input Hover/Focus Styles */
.form-content input:hover, .form-content input:focus {
    border: 0;
    background-color: #ebeff8;
    color: #8D8D8D;
}

.brochure-mobile {
    margin-top: 50px;
    text-align: center;
    display: none;
}

/* Checkbox Styles */
.form-content input[type=checkbox]:not(:checked), .form-content input[type=checkbox]:checked {
    position: absolute;
    left: -9999px;
}

.form-content input[type=checkbox]:not(:checked) + label, .form-content input[type=checkbox]:checked + label {
    position: relative;
    padding-left: 23px;
    cursor: pointer;
    display: inline;
    font-size: 15px;
    margin-left: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Checkbox Indicator */
.form-content input[type=checkbox]:checked + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 15px;
    height: 15px;
    border-radius: 50px;
    border: 0px solid #fff;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.form-content input[type=checkbox]:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 15px;
    height: 15px;
    background: transparent;
    border-radius: 50px;
    border: 2px solid #fff;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* Checkbox Checkmark */
.form-content input[type=checkbox]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}

.form-content input[type=checkbox]:checked + label:after, .form-content input[type=checkbox]:not(:checked) + label:after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 600;
    position: absolute;
    top: 3px;
    left: 3px;
    font-size: 9px;
    line-height: 14px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

/* Adjusted Checkbox Styles */
.form-content input[type=checkbox]:checked + label:before,
.form-content input[type=checkbox]:not(:checked) + label:before {
    border-radius: 4px;
}

/* Other Links */
.form-content .other-links {
    margin-top: 10px;
}

.form-content .other-links span {
    font-size: 12px;
    font-weight: 300;
    margin-right: 20px;
}

/* Button Container */
.btn-container {
    justify-content: flex-end;
    display: flex;
}

.btn-container .btn-inscription {
    background-color:#D3003E;
    color: #fff;
    border: 0;
    margin-top: 20px;
    background: #D3003E;
    padding: 15px;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition-duration: 0.2s;
    padding-left: 30px;
    padding-right: 30px;
    font-weight: bold;
}

.btn-inscription:disabled {
    background-color: #dddddd; 
    color: #888888; 
    pointer-events: none; 
}
/* Button Hover Effect */
.btn-container .btn-inscription:hover {
    transition-duration: 0.2s;
    border-radius: 24px;
    background-color: #F90049;
}


/* Placeholder Color */
.form-holder .form-content ::-webkit-input-placeholder,
.form-holder .form-content :-moz-placeholder,
.form-holder .form-content ::-moz-placeholder,
.form-holder .form-content :-ms-input-placeholder {
    color: #000;
}

/* Form Content Heading */
.form-content h3 {
    font-family: 'Barlow Condensed', serif;
    text-transform: uppercase;
    text-align: left;
    color: #212121;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Form Content Paragraph */
.form-content p {
    color: #000;
    text-align: left;
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 30px;
}

/* Adjusted Input Hover/Focus Styles */
.form-content input:hover, .form-content input:focus {
    border: 0;
    background-color: #EAEAEA;
    color: #000;
}

/* Checkbox Checked Styles */
.form-content input[type=checkbox]:checked + label:before {
    background: #000;
    border: 0px solid #000;
}

/* Checkbox Unchecked Styles */
.form-content input[type=checkbox]:not(:checked) + label:before {
    background: transparent;
    border: 2px solid #000;
}

/* Checkbox Checkmark Color */
.form-content input[type=checkbox]:not(:checked) + label:after,
.form-content input[type=checkbox]:checked + label:after {
    color: #fff;
}


/* Media Queries */

@media (max-width: 992px) {
    .form-holder {
        margin-left: 0;
    }
    .website-logo {
        top: 50px;
        left: 50px;
        right: initial;
        bottom: initial;
    }
    .img-holder {
        display: none;
    }

    .website-logo .logo {
        background-image: unset;
    }
    
    .website-logo .logo img {
        display: block;
    }

    .mobile-logo {
        display: block;
        margin-bottom: 50px;
    }

    .brochure-mobile {
        display: block;
    }
}