.popup-overlay {
    transition: all 250ms ease-in-out;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.575);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
}

.popup-overlay.enter {
    visibility: visible;
    opacity: 1;
}

.bkntc_popup-x {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
}

.bkntc_popup_close_icon:before {
    content: "\f00d";
}

.booknetic_custom_duration_popup
{
    z-index: 1;
    transition: all 250ms ease-in-out;
    bottom: -100%;
    left: 0;
    min-height: 100px;
    max-height: 100%;
    background: #fff;
    padding: 32px;
    position: absolute;
    width: 100%;
    flex-direction: column;
    display: flex;
    flex-grow: 1;
    overflow: hidden;

}

/*be theme conflict*/
.booknetic_custom_duration_popup button:after
{
    content: none;
}

.booknetic_custom_duration_popup.enter {
    bottom: 0;
}

.booknetic_custom_duration_popup_body {
    position: relative;
    flex-direction: column;
    display: flex;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.booknetic_custom_duration_popup_header {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
    text-align: center;
    color: #292D32;
    margin-bottom: 20px;

}

.bkntc_custom_duration.booknetic_custom_duration_popup_body {
    max-height: 100%;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.bkntc_custom_duration.booknetic_custom_duration_popup_body_labels {
    max-height: 100%;
    display: block;
}

.bkntc_custom_durations {
    padding: 12px !important;
    background-color: transparent;
    border: 1px solid rgba(26, 44, 55, 0.2);
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(26, 44, 55, 0.06);
    box-sizing: border-box;
    cursor: pointer;
    margin: 0 10px 10px;
}

.bkntc_custom_durations_labels {
    background-color: transparent;
    border: 1px solid rgba(26, 44, 55, 0.2);
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(26, 44, 55, 0.06);
    box-sizing: border-box;
    cursor: pointer;
    margin: 0 10px 10px;
}

.bkntc_custom_duration_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bkntc_custom_duration_time {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    border-right: 1px solid rgba(26, 44, 55, 0.2);
}

.bkntc_custom_duration_time > span {
    display: flex;
    align-items: center;
    padding: 12px 16px;
}

.bkntc_custom_duration_time > p {
    padding: 12px 16px;
    border-left: 1px solid rgba(26, 44, 55, 0.2);
}

.bkntc_custom_duration_p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: #000;
    margin: 0;
}

.bkntc_custom_duration_p_labels {
    font-size: 15px;
    font-weight: 500;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000;
    margin: 0;
}

.bkntc_custom_duration_price_wrapper {}

.bkntc_custom_duration_price_wrapper_labels {
    padding: 12px;
    min-width: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bkntc_custom_duration_price_wrapper > p,
.bkntc_custom_duration_price_wrapper_labels > p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    padding: 5px 8px;
    margin: 0 0 0 8px;
    border-radius: 12px;
}

.bkntc_custom_duration_price {
    color: green;
    background-color: rgba(1, 151, 25, 0.1);
    margin: 0;
}

.bkntc_custom_duration_line {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    margin: 12px 0 20px;
    color: rgba(26, 44, 55, 0.6);
}

.bkntc_custom_duration_line:before {
    margin-right: 10px !important;
}

.bkntc_custom_duration_line:after {
    margin-left: 10px !important;
}

.bkntc_custom_duration_line:before, .bkntc_custom_duration_line:after {
    content: "";
    flex: 1 1;
    border-bottom: 1px solid rgba(26, 44, 55, 0.6);
    margin: auto;
}

.bkntc_custom_duration_footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: rgba(26, 44, 55, 0.6);
}


.bkntc_custom_duration_btn.bkntc_custom_duration_continue.bkntc_custom_duration_btn_container {
    line-height: 16px;
    width: 100%;
    justify-content: space-between;
}

.bkntc_custom_duration_continue span {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 4px 12px 4px 0;
}

.bkntc_custom_duration_default_price {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: var(--bkntc-primary-color);
    background-color: var(--bkntc-secondary-color);
    border-radius: 12px;
    padding: 5px 8px;
}

.bkntc_custom_duration_continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    font-size: 14px;
    font-weight: 500;
    white-space: normal;
    border-radius: 6px;
    outline: 0;
    margin: 0;
    padding: 8px 24px;
    cursor: pointer;
    /*transition: .3s all ease-in-out;*/
}

.bkntc_label_duration_wrapper {
    display: flex;
}

.bkntc_custom_duration_continue.bkntc_custom_duration_btn_color {
    background-color: var(--bkntc-primary-color);
    color: var(--bkntc-secondary-color);
    border: 1px solid var(--bkntc-primary-color);
}


@media only screen and (max-width: 768px) {
    .bkntc_custom_duration_content {
        flex-direction: column;
    }

    .bkntc_custom_duration_time {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(26, 44, 55, 0.2);
    }

    .bkntc_custom_duration_p_labels {
        min-width: 100px;
        padding: 8px 12px;
    }

    .bkntc_custom_duration_time > span {
        padding: 8px 12px;
    }

    .bkntc_custom_duration.booknetic_custom_duration_popup_body {
        overflow: auto;
        justify-content: flex-start;
    }

    .bkntc_custom_durations {
        max-width: 250px !important;
        width: 100% !important;
        margin: 0 auto;
    }

}