@import url( 'https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;500;600;700&display=swap' );
/*
@import url( 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css' );
*/
.dxkocs-container, #facility_type, #facility_loc, .ui-datepicker-month, .ui-datepicker-year {
    font-family: 'Barlow Semi Condensed', sans-serif;
}

#facility_type,
#facility_loc,
#dxkocs-username,
#dxkocs-password {
    font-size:13px;
    height:auto;
    padding: 8px;
    margin-right: 16px;
}

.dxkocs-page-title {
    font-size: 40px;
}

.dxkocs-nav-date {
    font-weight: bold;
    margin-right: 35px;
    min-width: 200px;
}

.dxkocs-page-text {
    color: #4D4D4D;
    font-size:14px;
}

.dxkocs-filters {
    display:flex;
    margin-bottom: 20px;
}

.dxkocs-nav {
    display:flex;
    justify-content: space-between;
    margin-top: 30px;
    align-items: center;
}

.dxkocs-duration label {
    font-size:13px;
}

#court_duration {
    font-size:13px;
    height:auto;
    padding: 8px;
}

.dxkocs-display-name {
    font-size: 16px;
    text-transform: uppercase;
    align-items: center;
    width: 135px;
    padding: 5px 10px;
    border-bottom: 1px #808080 solid;
    border-left: 1px #CCCCCC solid;
    position: sticky;
    top: 0;
    background: #fff;
    height: 100%;
    z-index: 12;
}

.dxkocs-display-name svg,
.dxkocs-name-container-close svg {
    width: 18px;
    height: 18px;
}

.dxkocs-nav-time-container {
    display:flex;
    align-items: center;
}

.dxkocs-display {
    display: flex;
    overflow: scroll;
    max-height: 700px;
}

.dxkocs-display-container {
    position: relative;
    height: 100%;
}

.dxkocs-court-name {
    font-size: 12px;
    font-weight:bold;
    text-align: center;
}

.dxkocs-nav-next {
    margin-right: 27px;
    font-size:14px;
}

.dxkocs-court-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dxkocs-restype-name {
    font-size: 14px;
    width: 92%;
    white-space: nowrap;
    overflow: auto;
    scrollbar-width: none;
}

.dxkocs-court-icon svg {
    margin-left: 5px;
}

.dxkocs-nav-prev {
    margin-right: 25px;
    font-size:14px;
}

.dxkocs-display-time {
    text-align: center;
    border-left: 1px #CCCCCC solid;
    padding-top: 61;
    width: 135px;
}

.dxkocs-nav-dlprint {
    font-size:14px;
}

.dxkocs-nav-dlprint svg,
.dxkocs-nav-calendar svg,
.dxkocs-nav-prev a,
.dxkocs-nav-next a,
.dxkocs-nav-dlprint a,
.ui-datepicker-header a span{
    color: #0278AC;
}

.dxkocs-time-blocks {
    cursor: pointer;
    border-bottom: 1px #CCCCCC solid;
    transition: .5s ease-out;
    position: relative;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
}

.dxkocs-time-blocks-bg {
    background-color: #F2F2F2;
}

.dxkocs-time-blocks-bg-lapsed {
    background-color: #999999;
    color: #D3D3D3;
    border-bottom: 1px #CCCCCC solid;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
}

.dxkocs-time-blocks:hover {
    background-color: #2EA8DE;
    color: #FFF;
}

.dxkocs-time-blocks-active {
    background-color: #0278AC;
    color: #FFF;
}

.dxkocs-nav-calendar {
    cursor: pointer;
    transition: .5s ease-out;
    position: relative;
}

/* .ui-icon {
    text-indent: 0px;
} */
/* .ui-datepicker table {
    margin-top: 30px !important;
} */

.ui-datepicker-month,
.ui-datepicker-year {
    font-family: "Barlow Semi Condensed", sans-serif !important;
    height: auto;
    padding: 8px;
    margin-right: 16px;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    padding: 2px;
    cursor: pointer;
    /* font-size: 11px; */
}

.ui-datepicker-next {
    text-align: unset !important;
}

/* .ui-datepicker-title { */
.ui-datepicker .ui-datepicker-title {
    font-size: 10px;
    padding: 0px !important;
    grid-column: 1/span 2;
}

.ui-datepicker-header a span {
    color: #0278AC;
}

.dxkocs-nav-datepicker {
    background-color: #fff;
    color: #4D4D4D;
    padding: 5px;
    position: absolute;
    top: 0;
    right: 100; /*calc( 200 + 300 );*/
    /*width: 200px;*/
    z-index:14;
    border: 1px solid #ccc;
}

.ui-datepicker-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ui-datepicker-next {
    text-align: right;
}

.ui-datepicker-calendar thead tr th {
    padding: 10px;
    text-align: center;
    background-color: #0278AC;
    color: #fff;
    border: #ccc solid 1px;
    font-size: 10px;
}

.ui-datepicker-calendar tbody tr td {
    text-align: center;
    border: #ccc solid 1px;
    cursor: pointer;
    font-size: 11px;
    background: #fff !important;
}

.ui-datepicker-calendar tbody tr td a {
    color: #000;
}

.ui-datepicker-unselectable {
    background: #EAEAEA !important;
    cursor: auto !important;
}

.ui-state-highlight {
    color: #0278AC !important;
}

.ui-datepicker-current-day {
    background-color: #2EA8DE !important;
}

.ui-datepicker-current-day a {
    color: #fff !important;
}

.dxkocs-remove-slot {
    position:absolute;
    top: 0;
    right: 5px;
}

.dxkocs-hide,
.dxkocs-hide-remove {
    display:none;
}

.dxkocs-clicked {
    background-color: #0278AC;
}

.dxkocs-popup-container {
    background-color: #fff;
    color: #4D4D4D;
    padding: 5px;
    position: absolute;
    top: 0;
    left: 135px; /*calc( 200 + 300 );*/
    width: 240px;
    z-index:10;
    border: 1px solid #ccc;
}

.dxkocs-name-container-close {
    z-index: 11;
}

.dxkocs-detail-options-wrap {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.dxkocs-name-container {
    text-align: left;
}

.dxkocs-timer-location {
    font-weight: 500;
}

.dxkocs-timer-facility {
    font-size: 12px;
    color: #566573;
}

.dxkocs-popup-timer {
    text-align: left;
}

.dxkocs-popup-flex {
    display: flex;
    justify-content: space-between;
}

.dxkocs-facility {
    font-size:13px;
}

.dxkocs-reserve-btn,
.dxkocs-add-more-btn,
#dxkocs-modal-reserve-btn,
#dxkocs-modal-login-btn,
#dxkocs-modal-back-btn {
    background-color: #0278AC;
    border: none;
    color: white;
    font-size: 11px;
    text-align: center;
    text-decoration: none;
    transition-duration: 0.4s;
    padding: 5px;
    cursor: pointer;
}

#dxkocs-modal-reserve-btn,
#dxkocs-modal-login-btn,
#dxkocs-modal-back-btn {
    border-radius: 4px;
}

.dxkocs-modal-error {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f00;
}

.dxkocs-reserve-button:hover {
    background-color: #2EA8DE;
    color: #000;
}

.dxkocs-remove-btn {
    font-size: 10px;
}

@media print {

    body {
        visibility: hidden;
    }

    #dxkocs-container-print {
        visibility: visible;
        position: absolute;
        left: 0;
        top: 0;
        background: transparent;
    }

}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2EA8DE;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2EA8DE;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.dxkocs-checkout {
    width: 30px;
    height: auto;
    position: relative;
    bottom: 0px;
    right: 0px;
    cursor: pointer;
}

/* The Modal (background) */
.modal-loading {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    padding-top: 200px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content-loading {
    position: relative;
    /*background-color: #fefefe;*/
    margin: auto;
    padding: 0;
    z-index: 101;
    /*border: 1px solid #888;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;*/
    width: 250px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
/*
.modal-content-login {
    width: 300px;
}*/

.modal-content-preview {
    width: 50%;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.dxkocs-modal-close {
    color: #fff;
    float: right;
    font-size: 28px;
}

.dxkocs-modal-close:hover,
.dxkocs-modal-close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.dxkocs-modal-header {
    padding: 10px 16px;
    background-color: #00244e;
    display: flex;
    justify-content: space-between;
    /* vertical-align: middle; */
    align-items: center;
}

.modal-header-text {
    color: #fff;
    font-size: 20px;
}

.dxkocs-modal-body {
    /* padding: 2px 16px; */
    padding: 16px;
    display: flex;
}

.modal-body-left-wrap {
    padding: 5px;
    width: 70%;
    border-right:1px solid #f5f5f5;
}

.dxkocs-modal-footer {
    padding: 10px 16px;
    background-color: #00244e;
    color: white;
    display: flex;
    justify-content: space-between;
}

#modal-alert {
    color:#f00;
    font-size: 10px;
}



/**
 * loading animation
 */
@keyframes breath-94aa6336-3816-4898-86e3-905039f41c17 {
    0% {
        animation-timing-function: cubic-bezier(0.9647,0.2413,-0.0705,0.7911);
        transform: scale(0.9099999999999999);
    }
    51% {
        animation-timing-function: cubic-bezier(0.9226,0.2631,-0.0308,0.7628);
        transform: scale(1.02994);
    }
    100% {
        transform: scale(0.9099999999999999);
    }
}

@media screen and (max-width: 760px){
    .dxkocs-nav-time-container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .dxkocs-filters {
        display: flex;
        margin-bottom: 20px;
        flex-direction: column;
        /* width: 100%; */
    }
    .dxkocs-nav-dlprint {
        display: none;
    }

    .dxkocs-nav-next {
    border: solid 1px #2EA8DE;
    
    width: 100%;
    text-align: center;
    border-radius: 20px;
    width: 100%;
    margin-top: 10px;
    }
    .dxkocs-nav-prev {
    border: solid 1px #2EA8DE;
    
    width: 100%;
    text-align: center;
    border-radius: 20px;
    width: 100%;
    /* position: absolute; */
    }
    .dxkocs-nav-calendar {
        cursor: pointer;
        transition: .5s ease-out;
        position: relative;
        border: solid 1px #2EA8DE;
        
        width: 100%;
        text-align: center;
        border-radius: 20px;
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    #prev_day, #next_day{
        display: block;
        padding: 10px;

    }
    #facility_type, #facility_loc, #dxkopp-username, #dxkopp-password{
        margin-bottom: 20px;
        width: 100%;
    }
}