


/* ----- grid ----- */
.bloc_form-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-gap: 25px;
}
.bloc_form-wrap.full {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 25px;
}

.bloc_form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.bloc_form.full {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
}

@media only screen and (max-width: 768px) {
    .bloc_form-wrap {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 20px;
    }
    .bloc_form-wrap.full {
        grid-gap: 20px;
    }
    .bloc_form-wrap .bloc_form.full {
        grid-column: span 1 / span 1;
        grid-row: span 1 / span 1;
    }
}


/* ----- form reset ----- */
input, label, select, textarea { margin: 0; border: 0; padding: 0; display: inline-flex; vertical-align: middle; white-space: normal; background: none; line-height: 1; -webkit-appearance: none; appearance: none; -webkit-box-sizing:border-box; box-sizing:border-box; outline:0; }
input[type=button], input[type=submit], input[type=checkbox], input[type=radio], input[type=number], select { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }
input:focus, select:focus, textarea:focus { outline:0; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active, textarea:-webkit-autofill, select:-webkit-autofill { -webkit-text-fill-color: var(--color-light); caret-color: var(--color-light); transition: background-color 5000s ease-in-out 0s; box-shadow: inset 0 0 0 1px var(--line-form), inset 0 0 0 1000px rgba(0,0,0,0); }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }


/* ----- placeholder ----- */
::placeholder, ::-webkit-input-placeholder, :-moz-placeholder { color: var(--color-grey); }


/* ----- label ----- */
.bloc_form label {
    display: flex;
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.05;
    font-weight: 400;
    color: var(--color-grey-light);
}

/* ----- input ----- */
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type="file"], textarea, select {
  	position: relative;
    box-shadow: inset 0 0 0 1px var(--line-light);
    background-color: rgba(255,255,255,.1);
    width: auto;
    font-size: 16px;
    line-height: 55px;
    padding: 0 15px;
    color: var(--color-light);
    border-radius: var(--radius-md);
}
textarea {
    position: relative;
	resize:vertical;
    min-height: 175px;
    max-height: 300px;
    line-height: 1.4;
    padding: 15px;
}
select {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 40px 0 15px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='15'%3E%3Ctext x='0' y='11' fill='white'%3E%E2%96%BE%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 20px 15px;
    background-position: calc(100% - 5px) center;
}
select::-ms-expand { display: none; }


input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 15px;
    width: 16px;
    height: 16px;
}

input[type="file"] {
    padding: 15px;
    font-size: 14px;
    line-height: 1;
    display: flex;
}
input[type="file"]::file-selector-button {
    padding: 15px;
    border-width: 0;
    border-radius: var(--radius-sm);
    background-color: var(--color-light);
    color: var(--color-dark);
    box-shadow: inset 0px 0px 0px 1px var(--color-dark);
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    transition: all .25s ease-in-out;
    cursor: pointer;
    margin-right: 20px;
}

/* ----- checkbox ----- */
.bloc_form.check {
    grid-gap: 0!important;
}
.bloc_form.check input[type=checkbox] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    opacity: 0;
}
.bloc_form.check input[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    font-size: 14px;
    line-height: 1.5!important;
    font-weight: 400;
    padding-left: 30px;
    text-transform: none;
    user-select: none;
    cursor: pointer;
    color: var(--color-grey-light);
}
.bloc_form.check input[type="checkbox"] + label strong {
    font-weight: 500;
    font-size: 17px;
    color: var(--color-dark);
}
.bloc_form.check input[type="checkbox"] + label::before,
.bloc_form.check input[type="checkbox"] + label::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -1px;
    margin-top: 0;
    width: 20px;
    height: 20px;
}
.bloc_form.check input[type="checkbox"] + label::before {
    border: none;
    box-shadow: inset 0px 0px 0px 1px var(--line-light);
    background: rgba(255,255,255,.1);
}
.bloc_form.check input[type="checkbox"] + label::before,
.bloc_form.check input[type="checkbox"] + label::after {
    border-radius: var(--radius-sm);
}
.bloc_form.check input[type="checkbox"] + label::after {
    background-color: var(--color-light);
    background-position: center center;
    background-repeat: no-repeat;
    display: none;
}
.bloc_form.check input[type="checkbox"] + label::after {
    font-family: "IonIcons";
    content: "\f122";
    color: var(--color-dark);
    position: absolute;
    z-index: 1;
    text-align: center;
    font-size: 13px;
    line-height: 21px;
}
.bloc_form.check input[type="checkbox"]:checked + label::after {
    display: block;
}
.bloc_form.check input[type="checkbox"]:checked + label::before,
.bloc_form.check input[type="checkbox"]:checked + label::after {
    -webkit-animation: cd-bounce 0.3s;
    animation: cd-bounce 0.3s;
}

.bloc_form.check label a { text-decoration: underline; color: inherit; margin: inherit; display: inline-block; max-width: inherit; width: inherit; }
.no-touch .bloc_form.check label a:hover { text-decoration: none; }

@-webkit-keyframes cd-bounce {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(.8); transform: scale(.8); }
}
@keyframes cd-bounce {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(.8); transform: scale(.8); }
}


.contact-form .bloc_form.check {
    grid-gap: 5px!important;
}
.contact-form .bloc_form.check input[type="checkbox"] + label {
    font-size: 14px;
    line-height: 1.1!important;
}
.contact-form .bloc_form.check input[type="checkbox"] + label {
    padding-left: 28px;
}
.contact-form .bloc_form.check input[type="checkbox"] + label::before,
.contact-form .bloc_form.check input[type="checkbox"] + label::after {
    top: -2px;
    width: 20px;
    height: 20px;
}


/* ----- btn ----- */
.bloc_form.bloc_form-btn {
    margin: 15px 0 0 0;
    align-items: flex-start;
}








