#popup_booking {
    display: flex;
    justify-content: center;
    align-items: stretch;
    border-radius: 6px;
    background-color: white;
    padding: 1rem;
}

#popup_booking a {
    color: blue;
}

#popup_booking select {
    padding: 8px;
}

[btr-part="booking-tab-area"] {
    width: 600px;
    min-height: 350px;
}
[btr-part="booking-tab-area"] .booking-tab {
    min-height: 350px;
    display: grid;
    grid-template-rows: auto 10%;
    padding-bottom: .5rem;
    position: relative;
}

[btr-part="tab-label"] {
    border-bottom: 2px solid var(--btr-color-1);
    padding-bottom: 10px;
    padding-left: 10px;
    color: var(--btr-color-1);
    font-weight: 500;
    font-size: 115%;
}

.tab-infotext{
    border: 1px solid var(--btr-color-1);
    padding: 10px;
}

[btr-part="tab-content"] {
    padding: 10px;
    font-size: 1.2rem;
}

[btr-part="tab-content"] .form-control {
    width: auto;
}
[btr-part="tab-content"] .check_info {
    margin-top: 5px;
    display: inline-block;
}

[btr-part="tab-buttons"] {
    display: flex;
    justify-content: space-around;
    padding-top: 8px;
}
[btr-part="tab-buttons"] button {
    height: 2.8rem;
    padding: .4rem 1rem;
}

[btr-part="select-time-area"] {
    border: 2px solid var(--btr-color-2);
    padding: 10px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
[btr-part="select-time-button"] {
    width: 125px;
    text-align: center;
    background-color: var(--btr-color-2);
    color: white;
    margin: 5px;
    cursor: pointer;
    padding: 6px;
}
[btr-part="select-time-button"] .time-label {
    display: none;
}
[btr-part="select-time-button"].wished {
    /*
    width: 100%;
    opacity: .7;
    */
    border: 2px solid darkolivegreen;
}
[btr-part="select-time-button"]:hover {
    background-color: orange;
    color: white;
}
[btr-part="select-time-button"].selected {
    background-color: orange;
    color: white;
}
[btr-part="select-time-button"].inactive {
    cursor: default;
    background-color: #bb0000;
    color: white;
}
[btr-part="booking-tab-time-loader"] {
    position: absolute;
    top: 40px;
    width: 100%;
    padding: 50px;
    font-weight: bold;
    background-color: white;
    border: 2px solid var(--btr-color-2);
    color: var(--btr-color-3);
    text-align: center;
}
[btr-part="select-time-template"] {
    display: none;
}

[btr-part="select-time-help"] {
    display: flex;
    justify-content: right;
    padding-right: 10px;
    flex-wrap: wrap;
}
[btr-part="select-time-help"] .info {
    width: max-content;
    padding: 5px 10px;
    margin: 6px 0px 0px 8px;
    color: white;
    font-size: 82%;
}
[btr-part="select-time-help"] .info-selected{
    background-color: orange;
}
[btr-part="select-time-help"] .info-free{
    background-color: var(--btr-color-2);
}
[btr-part="select-time-help"] .info-inactive{
    background-color: #bb0000;
}




.big_green{
    font-size: 115%;
    color: var(--btr-color-2);
}
.small_red{
    font-size: 85%;
    color: var(--btr-color-1);
}
.booking-tab input[btr-var="booking_date"] {
    font-size: 100% !important;
    width: 180px !important;
}
.booking-tab input[btr-var="person_phone"] {
    width: 90% !important;
    display: inline-block;
}



[btr-part="booking-tab-check"] .form {
    margin: 0 -10px;
    padding: 10px;
    border: 1px solid gray;
}
[btr-part="booking-tab-check"] .form .form-group {
    padding: 5px 0px;
    border-bottom: 1px solid lightgray;
    margin: 0 -10px;
}
[btr-part="booking-tab-check"] .form .form-group:last-child {
    padding: 5px 0px;
    border-bottom-width: 0px;
    margin: 0 -10px -5px;
}



[btr-part="booking-tab-end"] .end_message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}