.stec-booking-popup-background {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 99999;
    left:0;
    top:0;
    font-family: Arial;
    color:#a6a6a6;
    overflow-y: auto;

    * {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

}

.stec-booking-section {
    width: 100%;
    float: left;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ececec;
    clear:both;
}

.stec-booking-popup-header {
    height: 240px;
    width: 100%;
    float: left;
    background-color:#133535;
    text-align: center;

    i {
        color:#fff;
        font-size: 28px;
        border:3px solid #fff;
        border-radius: 100%;
        padding: 15px;
        margin-top: 40px;
        background-color: inherit;
    }

    background-size: cover;
    background-position: 50%;

}

.stec-booking-popup{
    position: absolute;
    left: ~'calc(50% - 400px)';
    top:  100px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: @borders-radius;
    width: 800px;
    margin-bottom: 100px;

    > button {
        width: 50%;
        float: left;
        height: 60px;
        border: none;
        color:#a6a6a6;
        border-top: 1px solid #ebebeb;
        cursor: pointer;
        font-size: 15px;
    }

    .stec-booking-popup-error {
        width: 100%;
        float: left;
        clear: both;
        font-size: 16px;
        color: #d31f27;
        font-weight: bold;
        text-align: center;
        margin-top: 15px;
        border-top: 1px solid #ececec;
        padding-top: 15px;
    }

    .stec-booking-popup-close {
        position: absolute;
        top: -15px;
        right: -15px;
        background: #000;
        color: #fff;
        font-size: 14px;
        border-radius: 100%;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        cursor: pointer;

        &:hover {
            background: #fff;
            color:#000;
        }
    }

    .stec-booking-popup-summary {
        button {
            width: auto;
        }
    }

} 

.stec-booking-popup-wrapper {
    position: relative;
    float: left;
    width: 100%;
    padding: 20px;

    .stec-booking-popup-wrapper-block-action {
        position: absolute;
        top:0;
        left:0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 1;
        opacity: 0.5;
        display: none;
    }

    .stec-booking-event-date {
        font-size: 14px;
        margin:0;
        padding:0;
        line-height: 1;
        width: 100%;
        float: left;
    }

    input {
        border-radius: 3px;
        box-shadow: none;
        width: 100%;
        height: 50px;
        float: left;
        border: none;
        padding: 0 10px;
        width: 100%;
    }

    input[name="discount"] {
        margin-bottom: 15px;
    }

    .stec-scrollable {
        overflow: hidden;
        float: left;
        width: 100%;
        max-height: 350px;
    }

    .stec-scroll-container {
        float: left;
        clear:both;
        width: 100%;

        .stec-scrollable {
            width: 100%;
            max-width: ~'calc(100% - 30px)';
        }
    }

    .stec-booking-items {
        width: 100%;
        float: left;
        overflow: hidden;
    }

    .stec-booking-item {
        &:not(:first-child) {
            margin-top: 15px;
        }
        width: 100%;
        float: left;
        padding-bottom: 15px;
        border-bottom: 1px solid #ececec;

        &:last-child {
            border: none;
        }

        .stec-booking-item-additional-information,
        .stec-booking-item-price,
        .stec-booking-item-title {
            font-weight: bold;
            font-size: 16px;
            width: 100%;
            float: left;
            clear:both;
        }

        .stec-booking-item-additional-information {
            margin-top: 10px;
        }

        .stec-booking-item-price {
            margin-top: 10px;
        }

        .stec-booking-item-until {
            font-size: 12px;
            width: 100%;
            float: left;
            clear:both;
        }

        .stec-booking-item-tickets-left {
            font-size: 12px;
            width: 100%;
            float: left;
            clear:both;
            color:#e25261;
        }

        .stec-booking-item-quantity {
            max-width: 80px;
            float: right;
        }

        .stec-booking-item-out-of-stock {
            white-space: nowrap;
            font-size: 12px;
            min-width: 80px;
            display: block;
            text-align: center;
        }

        .stec-booking-item-desc {
            float: left;
            width: 100%;
            margin-top: 15px;
        }
    }

    .stec-booking-popup-summary {
        width: 100%;
        float: left;
        clear:both;
        border-top: 1px solid #ececec;
        padding-top: 15px;

        .stec-booking-summary-total {
            font-weight: bold;
            font-size: 16px;
        }
    }

    .stec-layout-single-preloader,
    .stec-preloader {
        position: absolute;
        top: ~'calc(50% - 15px)';
        left:0;
        z-index: 2;
    }

}

@media only screen and (max-width: 768px) {


    .stec-booking-popup {
        width: 100%;
        height: auto;
        top:60px;
        left:0;
        z-index: 99999;
        overflow: visible;
        margin-bottom: 60px;

        .stec-booking-popup-close {
            top: -47px;
            left: ~'calc(50% - 15px)';
        }

        .stec-scroll-container {
            .stec-scrollable {
                width: 100%;
                max-width: 100%;
            }
        }
    }

}