:root {
    --bg-page:#ffffff;
    --bg-bt-menu:#fafafa;
    --orange:#ff3200;
    --bleu:#00ffff;
    --coworking:#75e6e4;
    --turquoise:#00f0d4;
    --jaune:#ffff00;
    --vert:#00ff00;
    --text-color:#000000;
    --border-radius:25px;
    --grey:#f5f5f5;
    --transition:all .25s ease-in-out;
    --swiper-pagination-bottom:2rem;
    --swiper-pagination-bullet-width:1rem;
    --swiper-pagination-bullet-height:var(--swiper-pagination-bullet-width);
    --swiper-theme-color:var(--orange);
}

/* Fonts */
@font-face {
    font-family:'Stolzl';
    src: url('../fonts/Stolzl-Regular.woff2') format('woff2');
    font-weight:normal;
}
@font-face {
    font-family:'Stolzl';
    src: url('../fonts/Stolzl-Medium.woff2') format('woff2');
    font-weight:600;
}
@font-face {
    font-family:'Stolzl';
    src: url('../fonts/Stolzl-Bold.woff2') format('woff2');
    font-weight:bold;
}
@font-face {
    font-family:'socialMediaCircled';
    src: url('../fonts/socialMediaCircled.woff2') format('woff2');
    font-weight:normal;
}

body {color:var(--text-color);font-family:'Stolzl';background:var(--bg-page);}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {color:var(--text-color);font-family:'Stolzl';text-transform:uppercase;text-align:center;font-weight:600;line-height:1.2;margin:2rem 0;}
h1 span, h2 span, h3 span, h4 span, .h1 span, .h2 span, .h3 span, .h4 span {color:var(--orange);}
h1 span:nth-of-type(2), h2 span:nth-of-type(2), h3 span:nth-of-type(2), h4 span:nth-of-type(2), .h1 span:nth-of-type(2), .h2 span:nth-of-type(2), .h3 span:nth-of-type(2), .h4 span:nth-of-type(2) {color:var(--text-color);text-transform:none;font-size:60%;display:block;}
h2, .h2 {font-size:1.8rem;font-weight:bold;}
p {font-size:.8rem;font-weight:600;text-align:center;line-height:1.3;}

.loading {background:var(--bg-page);display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:99;transition:var(--transition);}
.loading.ok {opacity:0;pointer-events:none;}

/* Pop'up */
.popup {display:flex;align-items:flex-start;justify-content:center;width:100%;height:100vh;flex-wrap:wrap;}
.popup::before {content:'';position:relative;background:url('../img/logo-QGBlanquefort-orange.svg') no-repeat top center;background-size:contain;width:100%;height:10vh;flex:1 0 100%;margin-top:2vh;}
.popup a.close {background:url('../img/bt-close.svg') no-repeat center center;width:2rem;height:auto;aspect-ratio:1/1;position:absolute;top:1rem;right:1rem;display:block;transform:rotate(45deg);z-index:1;}

/* Formulaires */
form {position:relative;margin-top:2rem;}
form label {position:relative;}
form ::placeholder {color:var(--orange);}
form label span {position:absolute;top:2px;line-height:3;font-size:1rem;left:1rem;font-weight:600;border-radius:var(--border-radius);transition:var(--transition);}
[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea {height:auto;line-height:2;width:100%;border-radius:var(--border-radius);background:none;border:2px solid var(--bg-page);}
[type='text']:focus, [type='password']:focus, [type='date']:focus, [type='datetime']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='week']:focus, [type='email']:focus, [type='number']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='url']:focus, [type='color']:focus, textarea:focus {background:none;box-shadow:none;border:2px solid var(--text-color);}
textarea {resize:none;max-height:20vh;}
[type="submit"] {background:var(--text-color);color:var(--bg-page);border-radius:var(--border-radius);height:auto;line-height:2;border:0;text-transform:uppercase;padding-inline:2rem;margin:-2rem auto 0 auto;display:block;font-weight:bold;position:relative;}
[type='text']:focus + span:not(.wpcf7-list-item-label), [type='password']:focus + span:not(.wpcf7-list-item-label), [type='date']:focus + span:not(.wpcf7-list-item-label), [type='datetime']:focus + span:not(.wpcf7-list-item-label), [type='datetime-local']:focus + span:not(.wpcf7-list-item-label), [type='month']:focus + span:not(.wpcf7-list-item-label), [type='week']:focus + span:not(.wpcf7-list-item-label), [type='email']:focus + span:not(.wpcf7-list-item-label), [type='number']:focus + span:not(.wpcf7-list-item-label), [type='search']:focus + span:not(.wpcf7-list-item-label), [type='tel']:focus + span:not(.wpcf7-list-item-label), [type='time']:focus + span:not(.wpcf7-list-item-label), [type='url']:focus + span:not(.wpcf7-list-item-label), [type='color']:focus + span:not(.wpcf7-list-item-label), textarea:focus + span:not(.wpcf7-list-item-label), select + span:not(.wpcf7-list-item-label), [type='text']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='password']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='date']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='datetime']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='datetime-local']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='month']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='week']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='email']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='number']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='search']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='tel']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='time']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='url']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), [type='color']:not(:placeholder-shown) + span:not(.wpcf7-list-item-label), textarea:not(:placeholder-shown) + span:not(.wpcf7-list-item-label) {top:-.5rem!important;background:var(--text-color);color:var(--bg-page)!important;font-size:.8rem!important;line-height:1.6!important;padding-inline:1rem;}

/* Forms error */
.erreur {border-color:#f00!important;}
.erreur + span, .erreur:focus + span {color:#f00!important;}

select#list-documents {display:none;}

#monespace {scroll-margin:15vh;}

@media screen and (max-width:390px) and (max-height:672px) {
    ul#menu-menu * {font-size:95%;}
    .menu a.button[href*="mon-enfant-ne-sait-pas-quoi-faire"] {margin-bottom:1.25rem;}
    .menu > li:last-of-type a.button {margin-top:1.25rem;}
}

@media screen and (min-width:768px) {
    h1, .h1 {font-size:2.5rem;}
    p {font-size:1rem;}
}

/* Calendarista */
.popup .calendarista .btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: 'Stolzl';
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 600;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: #212529;
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: var(--border-radius);
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    border-radius: var(--border-radius);
    width:100%;
    margin:.5rem auto;
}
.popup .calendarista .btn-primary {
    --bs-btn-color: var(--bg-page);
    --bs-btn-bg: var(--orange);
    --bs-btn-border-color: var(--orange);
    --bs-btn-hover-color: var(--bg-page);
    --bs-btn-hover-bg: var(--orange);
    --bs-btn-hover-border-color: var(--orange);
    --bs-btn-focus-shadow-rgb: 0 0 0;
    --bs-btn-active-color: var(--bg-page);
    --bs-btn-active-bg: var(--text-color);
    --bs-btn-active-border-color: var(--text-color);
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: var(--bg-page);
    --bs-btn-disabled-bg: var(--grey);
    --bs-btn-disabled-border-color: var(--grey);
}
.popup .calendarista {width:calc(90vw - .625rem);}
.popup .calendarista.card {border-radius:var(--border-radius);border:0!important;background:var(--grey);max-width:1320px;}
.poup .calendarista .card {background:none;color:var(--text-color);}
.popup .calendarista .row>* {margin:0 auto;}
.popup .calendarista button.calendarista-btn-next, .popup .calendarista button.calendarista-btn-prev, .popup .calendarista button.calendarista-btn-booknow {margin:.2rem auto;display:block;width:100%;line-height:2;}
.popup .calendarista button.calendarista-btn-next, .popup .calendarista button.calendarista-btn-prev {font-size:0;width:2.5rem;aspect-ratio:1/1;display:inline-block;}
.popup .calendarista-align-right {text-align:center;}
.popup .calendarista button.calendarista-btn-next i, .popup .calendarista button.calendarista-btn-prev i {font-size:1rem;line-height:2;}
.popup div.calendarista-summary-info.alert.alert-primary {background:var(--grey);color:var(--text-color);border-radius:var(--border-radius);border:0;padding:1rem;}
.popup .calendarista .card-header {padding:0;margin-bottom:0;background-color:var(--grey);border-bottom:0;margin-inline:2rem;}
.popup .calendarista-typography--subtitle1, .popup .calendarista-typography--subtitle2, .popup .calendarista-typography--subtitle3, .popup .calendarista-typography--subtitle4 {text-align:center;display:flex;width:100%;align-items:center;justify-content:center;flex-direction:column;font-weight:600;}
.popup .calendarista .col-1 {flex:0 0 100%;}
.popup .calendarista .form-control {border-radius:var(--border-radius);border:2px solid var(--orange);background:none;}
.popup .calendarista .form-control:focus, .popup .calendarista .form-select:focus {box-shadow:none;border-color:var(--text-color)!important;background:none;}
.popup .calendarista .form-control:focus + label.input-group-text, .popup .calendarista .form-select:focus + label.input-group-text {background:var(--text-color);}
body div.calendarista-datepicker {font-family:'Stolzl';}
body div.calendarista-datepicker .ui-datepicker-header.ui-widget-header {border:0;background:var(--orange);color:var(--bg-page);font-weight:600;}
body .ui-corner-all {border-radius:var(--border-radius);}
body .ui-datepicker .ui-datepicker-title {text-transform:uppercase;}
body div.calendarista-datepicker .ui-state-default, body div.calendarista-datepicker .ui-widget-content .ui-state-default, body div.calendarista-datepicker .ui-widget-header .ui-state-default, body div.calendarista-datepicker .ui-button, body div.calendarista-datepicker .ui-button.ui-state-disabled:hover, body div.calendarista-datepicker .ui-button.ui-state-disabled:active {background:var(--grey);color:var(--text-color);border:0;}
body div.calendarista-datepicker .ui-state-hover, body div.calendarista-datepicker .ui-state-active {background:var(--orange);color:var(--bg-page);}
body .calendarista .alert {border-radius:var(--border-radius);position:relative;width:100%;margin:0;text-align:center;}
body .calendarista .alert-success {--bs-alert-color:var(--bg-page);--bs-alert-bg:var(--orange);--bs-alert-border-color:var(--orange);}
body .calendarista .alert-success button.close {display:none;}
body .calendarista .alert-success + form {display:none;}
body .calendarista button.close {background:url('../img/bt-close.svg') no-repeat center center;width:2rem;height:auto;aspect-ratio:1/1;position:absolute;top:.5rem;right:.5rem;display:block;transform:rotate(45deg) scale(.75);font-size:0;opacity:1;}
body a.calendarista-add-to-calendar-link {background:var(--bg-page);border-radius:var(--border-radius);color:var(--orange);font-weight:600;padding-inline:1rem;line-height:2;transition:var(--transition);}
body a.calendarista-add-to-calendar-link:first-of-type {margin-top:1rem;}
body a.calendarista-add-to-calendar-link:hover {background:var(--text-color);}
body .calendarista .alert-dismissible {padding:15px;}
body .calendarista-typography--subtitle1 {font-size:1.2rem;}
body .calendarista-typography--subtitle4 {font-size:.9rem;}
body .calendarista .fa {margin:.5rem auto!important;background:var(--orange);aspect-ratio:1/1;width:2rem;border-radius:50%;line-height:2rem;color:var(--bg-page);display:block;}
.popup .calendarista .btn-primary[name="prev"] .fa, .popup .calendarista .btn-primary[name="next"] .fa, .popup .calendarista label .fa {display:inline-block;width:fit-content;line-height:1;margin:0!important;background:none;}
.popup .calendarista label.input-group-text {background:var(--orange);border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-color:var(--orange);}
.popup .calendarista .form-select {border-radius:var(--border-radius);border:2px solid var(--orange);background-position:right -1.8rem center;}
.popup .calendarista .form-select[multiple="multiple"] option {border-radius:var(--border-radius);padding:.5rem 1rem;text-align:center;margin-bottom:.5rem;}
.popup .calendarista .form-select[multiple="multiple"] option:checked, .popup .calendarista .form-select[multiple="multiple"]:focus option:checked {background:var(--orange)!important;color:var(--bg-page)!important;}
.popup .calendarista .alert-warning {
    --bs-alert-color:var(--orange);
    --bs-alert-bg:var(--grey);
    --bs-alert-border-color:var(--grey);
}

body .calendarista .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), body .calendarista .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, body .calendarista .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, body .calendarista .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {border-top-left-radius:var(--border-radius);border-bottom-left-radius:var(--border-radius);border:2px solid var(--orange);}

body .ui-datepicker.calendarista-flat.calendarista-borderless {border-radius:var(--border-radius);}
body div.calendarista-datepicker .ui-datepicker-buttonpane {border-color:var(--orange);}
body div.calendarista-datepicker .ui-datepicker-close, body div.calendarista-datepicker .ui-datepicker-current {border-radius:var(--border-radius);}

.popup .calendarista-align-right [name="prev"] + .cgv {display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;}

body input.parsley-error, body select.parsley-error, body textarea.parsley-error, body .parsley-required, body .parsley-email, body .parsley-number, body .parsley-integer, body .parsley-alphanum, body .parsley-url, body .parsley-minlength, body .parsley-maxlength, body .parsley-length, body .parsley-min, body .parsley-max, body .pasley-range, body .parsley-pattern, body .parsley-mincheck, body .parsley-maxcheck, body .parsley-check, body .parsley-type, body .parsley-custom-error-message {color:var(--bg-page)!important;background-color:var(--orange)!important;border:inherit!important;border-radius:var(--border-radius);line-height:1.4;position:relative;}
body .parsley-required {width:fit-content;padding-inline:1rem!important;}
body .parsley-required::before {content:'';display:inline-block;height:0;width:0;border-right:15px solid transparent;border-bottom:15px solid var(--orange);border-left:15px solid transparent;position:absolute;top:-8px;left:10px;}
body input.parsley-error::placeholder, body select.parsley-error::placeholder, body textarea.parsley-error::placeholder, body .parsley-required::placeholder, body .parsley-email::placeholder, body .parsley-number::placeholder, body .parsley-integer::placeholder, body .parsley-alphanum::placeholder, body .parsley-url::placeholder, body .parsley-minlength::placeholder, body .parsley-maxlength::placeholder, body .parsley-length::placeholder, body .parsley-min::placeholder, body .parsley-max::placeholder, body .pasley-range::placeholder, body .parsley-pattern::placeholder, body .parsley-mincheck::placeholder, body .parsley-maxcheck::placeholder, body .parsley-check::placeholder, body .parsley-type::placeholder, body .parsley-custom-error-message::placeholder {color:var(--bg-page)!important;}
body input.parsley-success, body select.parsley-success, body textarea.parsley-success {color:var(--text-color)!important;background-color:transparent!important;border:2px solid var(--orange)!important;}

tbody tr:nth-child(even) {background:var(--grey);}