.sidebar {
    padding: 0 !important;
}

@media screen and (max-width: 992px) {
    .layout-fixed .main-sidebar {
        overflow-y: scroll;
    }
}
.error {
    color: rgb(230, 92, 92);
    font-size: 14px;
    font-weight: 500;
}

.main-sidebar {
    background-color: #231f20;
}

.layout-navbar-fixed
    .wrapper
    .sidebar-dark-dark
    .brand-link:not([class*="navbar"]) {
    background-color: #231f20;
    color: #f6bd00;
    font-weight: bold;
}
.sidebar-dark-dark .nav-sidebar > .nav-item > .nav-link {
    padding-top: 13px;
    padding-bottom: 13px;
    border-radius: 0;
}

.sidebar-dark-dark .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-dark .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #f6bd00;
    border-radius: 0;
    color: #231f20;
}

.brand-link .brand-image {
    float: none;
    line-height: normal;
    margin: 0 auto 15px;
    max-height: none;
    height: 100px;
    max-width: 100%;
    opacity: 1;
    display: block;
}

.layout-navbar-fixed .wrapper .main-sidebar:hover .brand-link {
    transition: width 0.3s ease-in-out;
    /* width: 550px; */
    width: 250px;
}
.layout-navbar-fixed.layout-fixed .wrapper .sidebar {
    margin-top: 175px;
}

.layout-navbar-fixed.sidebar-mini.sidebar-collapse .wrapper .sidebar {
    margin-top: 95px;
}
.layout-navbar-fixed.sidebar-mini-md.sidebar-collapse .wrapper .brand-link,
.layout-navbar-fixed.sidebar-mini.sidebar-collapse .wrapper .brand-link {
    height: 87px;
    margin-bottom: 0;
}
@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .brand-image,
    .sidebar-mini.sidebar-collapse .main-sidebar:hover .brand-image {
        margin-right: auto;
    }
}

.layout-navbar-fixed.sidebar-mini-md.sidebar-collapse
    .wrapper
    .brand-link
    .brand-image,
.layout-navbar-fixed.sidebar-mini.sidebar-collapse
    .wrapper
    .brand-link
    .brand-image {
    height: 60px;
}

.nav-sidebar .nav-treeview {
    padding-left: 15px;
    font-size: 14px;
}

.layout-navbar-fixed.sidebar-mini-md.sidebar-collapse
    .wrapper
    .nav-sidebar
    .nav-treeview,
.layout-navbar-fixed.sidebar-mini.sidebar-collapse
    .wrapper
    .nav-sidebar
    .nav-treeview {
    padding-left: 0;
}

.nav-treeview .nav-link .nav-icon {
    font-size: 12px !important;
}
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link {
    border-radius: 0;
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active,
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active:focus,
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #c2c7d0;
}

.btn-primary,
.page-item.active .page-link,
.custom-control-input:checked ~ .custom-control-label::before {
    color: #000;
    background-color: #f6bd00;
    border-color: #f6bd00;
}

.btn-primary,
.page-item.active .page-link,
.custom-control-input:checked ~ .custom-control-label::before {
    color: #000;
    background-color: #f6bd00;
    border-color: #f6bd00;
}
.btn-primary:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    color: #000;
}

.card-primary:not(.card-outline) > .card-header {
    background-color: #f6bd00;
}

a {
    color: #f6bd00;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0 !important;
}

td form {
    display: inline-flex;
}

.navbar {
    background-color: #231f20;
}

.layout-navbar-fixed .wrapper .content-wrapper {
    margin-top: 57px;
}
.btn-warning {
    color: #000;
}

.btn-warning:hover {
    color: #000;
}
.card-primary:not(.card-outline) > .card-header {
    color: #000;
}
.card-title {
    margin: 0;
}

.ui-widget-header .ui-icon {
    /* background-color: #d39e00 !important; */
    text-indent: 0 !important;
    background-position: center;
    background-size: contain;
    color: transparent !important;
    cursor: pointer;
}

.ui-widget-header .ui-datepicker-next .ui-icon {
    font-size: 0;
    background-image: url("../img/next.png") !important;
}
.ui-widget-header .ui-datepicker-prev .ui-icon {
    font-size: 0;
    background-image: url("../img/prev.png") !important;
}

.btn-graph.active {
    background-color: #f6bd00;
    color: #231f20;
}

table.dataTable > thead .sorting:before,
table.dataTable > thead .sorting:after,
table.dataTable > thead .sorting_asc:before,
table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_desc:before,
table.dataTable > thead .sorting_desc:after,
table.dataTable > thead .sorting_asc_disabled:before,
table.dataTable > thead .sorting_asc_disabled:after,
table.dataTable > thead .sorting_desc_disabled:before,
table.dataTable > thead .sorting_desc_disabled:after {
    display: none;
}

.time-slots input[type="checkbox"] {
    opacity: 0;
}
.time-slots input + label::after {
    content: "";
    width: 15px;
    height: 15px;
    border: 1px solid #ddd;
    position: absolute;
    left: 0;
    top: 3px;
    border-radius: 2px;
}
.time-slots input:checked + label::after {
    background-color: #f6bd00;
    border-color: #f6bd00;
}
.time-slots input:checked + label::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: 4px;
    left: 3px;
    font-size: 9px;
    z-index: 9;
}

.court-rdo img {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
}

.courtlists {
    display: flex;
    flex-wrap: wrap;
}

.court-rdo {
    position: relative;
}
.court-rdo input {
    opacity: 0;
}
.court-rdo input + label::after {
    content: "";
    width: 15px;
    height: 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    position: absolute;
    top: 4px;
    left: 0;
}
.court-rdo input:checked + label::before {
    content: "";
    width: 9px;
    height: 9px;
    background-color: #f6bd00;
    position: absolute;
    top: 7px;
    left: 3px;
    border-radius: 15px;
}
.court-rdo input:checked + label::after {
    border-color: #f6bd00;
}

.card-primary.card-outline {
    border-top-color: #f6bd00;
}

.text-primary {
    color: #f6bd00 !important;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #000;
    background-color: #f6bd00;
    border-color: #f6bd00;
}

@media screen and (max-width: 767px) {
    .heading{
        font-size: 25px;
        margin-bottom: 20px;
    }

    #nex2HourBooking_wrapper .dt-buttons{
        width: 100%;
        margin-bottom: 20px;
    }
}

#bookingTable tbody tr td:last-child{
    display: flex;
}

#bookingTable tbody tr td:last-child .dtr-details li .dtr-data a, #bookingTable tbody tr td:last-child a{
    margin-left: 5px;
    margin-right: 5px;
}
#bookingTable tbody tr td:last-child .dtr-details li .dtr-data{
    display: inline-flex;
    flex-wrap: nowrap;   
}
body.sidebar-open{
    overflow: hidden;
}
.main-sidebar{
    overflow: auto;
    scrollbar-width: 0;    
}
.main-sidebar::-webkit-scrollbar{
    width: 0;
}

.custom-chart.active{
    background-color: #F6BD00;
    color: #000;
}
.custom-chart{
    background: #6c757d;
    padding: 7px 15px;
    font-size: 13px;
    color: #fff;
    border-radius: 3px;
    border: 0;
    cursor: pointer;
    width: 200px;
    text-align: center;
}

.daterangepicker td.in-range {
    background-color: #fff8e4;
    border-color: transparent;
    color: #000;
    border-radius: 0;
}
.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #F6BD00;
    border-color: transparent;
    color: #000;
}
.custom-chart:focus{
    outline: none;
}

.daterangepicker td.end-date {
    border-radius: 0 4px 4px 0 !important;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.plus-minus-input{
    border: 1px solid #ddd;
    display: flex;
    justify-content: space-between;    
}

.plus-minus-input input{
    width: 55px;
    border: 0;
    text-align: center;    
}
.plus-minus-input button{   
    border: 0;  
    padding: 8px 7px;  
    background-color: #fff;
}

.timeduration{
    opacity: 0;
    position: absolute;
}

.timeduration + label{
    padding: 7px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-weight: normal !important;
    cursor: pointer;
}

.timeduration:checked + label{
    background-color: #F6BD00;
    border-color: #F6BD00;
}
.form-check{min-width: 60px;}
.form-check-label,.form-check-input{cursor: pointer;font-weight: bold;}
.week_day{display: flex;margin-top: 1rem;margin-bottom: 1rem;}
.week_day .form-check,.week_day .actions{display: flex;align-items: flex-start;padding-top: 16px;}
.week_day .slots{margin-right: auto;margin-left: 2rem;}
.week_day .slots .slot{margin-top: 10px;}
.week_day .slots input,.week_day .slots select{width: 130px;height: 40px;}
.week_day .slots button{margin-left: 10px;}
.week_day button{margin-left: 10px;color: #717171;background: transparent;border: 0px;}
.week_day button:focus,.week_day input:focus,.week_day select:focus{outline: unset;}
.week_day .slots input,.week_day .slots select{border: 1px solid #bdbdbd;border-radius: 5px;margin: 0px 5px;padding: 10px;}
#calendarModel .ui-widget.ui-widget-content{width: 100%;}
@media (min-width: 576px){
    #calendarModel .modal-dialog {
        max-width: 400px;
        margin: 1.75rem auto;
    }
}