/* Salle des fêtes */

.salles__container {
    padding: 0 20px;
    margin-bottom: 50px;
}

.salles .title__content {
    color: var(--punchy-color);
}

.salles div {
    font-size: 1.6rem;
    margin-top: 10px;
}

.salles ul, .salles ol {
    margin-left: 20px;
    margin-top: 10px;
}

.salles ul li::before, .salles ol li::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 14px;
    transform: skewX(-20deg) translateY(1.5px);
    background-color: var(--punchy-color);
    margin-right: 12px;
}

.salles .salle {
    margin-top: 50px;
}

.salle__title {
    font-size: 1.8rem;
}

.salles .salle__infos {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-top: 20px;
    align-items: center;
}

.salle__infos > p {
    margin-bottom: 5px;
}

.salles h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--main-color);
    font-family: 'Raleway', sans-serif;
}

.salles .salle__text {
    margin-top: 20px;
}

.salles .tarifs {
    margin-top: 40px;
}

.salles .tarifs h3 {
    margin-bottom: 10px;
}



/* Images des salles des fêtes */

.salle__imgs {
    margin: 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.salle__img {
    width: 100%;
    max-width: 470px;
    height: 300px;
    object-fit: cover;
    margin: 5px;
}


/* Pret de matériel */

.salles__materiel{
	margin-bottom: 80px;
}

.salles__materiel h2::before {
    content: "";
    width: 100%;
    display: block;
    margin-bottom: 50px;
    margin-top: 50px;
    height: 26px;
    background-image: url('https://saintgeorgesdubois17.com/wp-content/uploads/2021/06/Rectangle-penche-bleu-recadre-5.png');
}


/* Réservation salle des fêtes */

.etapes__title {
    margin-bottom: 10px;
	margin-top: 40px;
}

/*
.etapes__title::before {
    content: "";
    width: 100%;
    display: block;
    margin-bottom: 50px;
    margin-top: 20px;
    height: 26px;
    background-image: url('https://saintgeorgesdubois17.com/wp-content/uploads/2021/06/Rectangle-penche-bleu-recadre-5.png');
}
*/




/* Formulaire */

form a {
    border-bottom: 0 !important;
}

.wpbc_booking_form_structure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.active_booking_form {
    position: relative;
    display: flex;
    width: 20em;
    height: 3em;
    line-height: 3;
    overflow: hidden;
    border-radius: .25em;
    margin-top: 10px;
    border: 2px solid var(--main-color);
    padding: 10px;
}

.wpbc_structure_form p {
    display: inline;
}

.wpbc_structure_form, .form__name, .wpbc_structure_calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wpbc_structure_form p {
    margin-top: 20px;
}

.booking_form .form-group .controls select, .booking_form select, .booking_form textarea, .booking_form input[type="text"] {
    width: inherit !important;
    margin-top: 10px !important;
}

.starttime5, .endtime5, .starttime6, .endtime6 {
    width: 45%;
    display: inline-block;
}

.booking_form_div textarea {
    height: 100px !important;
}

.horaires .wpdev-form-control-wrap input {
    width: 90% !important;
}


/* Calendrier */

.bk_calendar_frame {
    width: 90% !important;
}

.datepick-header {
    transform: translateY(-100%);
}

.datepick-inline .datepick-one-month {
    margin-top: 4px;
} 

.datepick-inline .datepick-title-row th, .datepick-inline .datepick-days-cell {
   height: 55px !important; 
}

.datepick-inline .calendar-links .datepick-prev a, .datepick-inline .calendar-links .datepick-next a, .datepick-inline .calendar-links .datepick-prev a:hover, .datepick-inline .calendar-links .datepick-next a:hover, .datepick-header, .date_available a {
    color: #fff !important;
    text-shadow: inherit !important;
}

.datepick-header span {
    font-size: 1.6rem !important;
}

.wpbc_structure_calendar .datepick-inline .calendar-links {
    background: var(--main-shade-color);
}

.wpbc_structure_calendar .datepick-inline .datepick-header {
    line-height: 0;
    padding: 0;
}

.block_hints .block_free, .block_hints .block_time, .block_hints .block_check_in_out div.check-in-div, .block_hints .block_check_in_out div.check-out-div, .datepick-inline .date_available, .datepick-inline .timespartly.check_in_time div.check-in-div, .datepick-inline .timespartly.check_out_time div.check-out-div {
    background: var(--main-shade-color) !important;
}

.block_hints .date2approve.block_check_in_out, .block_hints .block_pending, .datepick-inline .date2approve, td.timespartly.check_in_time.check_out_time.check_in_time_date_approved.check_out_time_date2approve div.check-in-div, td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve div.check-out-div {
    background: var(--main-color) !important;
}

.block_hints .date_approved.block_check_in_out, .block_hints .block_booked, .datepick-inline .date_approved, td.timespartly.check_in_time.check_out_time.check_in_time_date2approve.check_out_time_date_approved div.check-in-div, td.timespartly.check_in_time.check_out_time.check_out_time_date2approve.check_in_time_date_approved div.check-out-div {
    background: var(--secondary-color) !important;
}

.datepick-inline .datepick-current-day {
    background: var(--punchy-color) !important;
}

div.datepick-inline .datepick-title-row th, .block_hints .block_free, .block_hints .block_time, .block_hints .block_booked, .block_hints .block_pending, .block_hints .block_check_in_out, .datepick-inline .datepick-days-cell {
    color: #000 !important;
    border: 1px solid var(--main-color) !important;
}

.block_hints {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    height: auto !important;
}

.wpdev_hint_with_text {
    height: max-content;
    margin: 0 auto;
}




/* Téléchargements en bas de page */

.bottom-infos {
    background-image: url('https://saintgeorgesdubois17.com/wp-content/uploads/2021/06/Rectangle-penche-bleu-recadre-5.png');
    padding: 40px 20px 120px 20px;
    display: flex;
    flex-direction: column;
    background-repeat: repeat;
    margin-bottom: -50px;
}

.bottom-infos a {
    border-bottom: 0;
}

.bottom-infos__container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.bottom-download__container, .bottom-contact__container {
    padding: 20px;
    background-color: #fff;
}

.bottom-contact__container {
    margin: 20px 0 0 0;
}

.bottom-infos__title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.bottom-infos a {
    color: var(--punchy-color);
    font-weight: 500;
    display: inline;
}

.bottom-infos a:hover {
    font-weight: 600;
}

.bottom-infos__content {
    padding: 20px;
}

.bottom-download__link {
    font-size: 1.6rem;
}

.bottom-download__link::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 16px;
    transform: skewX(-20deg);
    background-color: var(--punchy-color);
    margin-right: 12px;
    margin-bottom: -2px;
}


/* Ecran > 650px */

@media screen and (min-width: 650px) {
    
    .salles h2 {
        font-size: 2.5rem;
    }
    
    .salles .salle__infos {
        flex-direction: row;
    }
    
}

@media screen and (min-width: 1000px) {
    
    .wpbc_booking_form_structure > div {
        width: 50%;
    }
    
    .wpbc_booking_form_structure {
        flex-direction: row;
        align-items: flex-start;
    }
    
}