/* 
    Created on : Feb 26, 2020, 11:55:13 AM
    Author     : admin
*/

.modal-dialog-scrollable .modal-footer,
.modal-dialog-scrollable .modal-header {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden;
}
.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}
@media (min-width: 576px) {
    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem);
    }
    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 3.5rem);
    }
}

#menu,
#trigger-menu {
    display: none;
}
#trigger-menu {
    position: absolute;
    right: 55px;
    top: 30px;
    padding-right: 40px;
    cursor: pointer;
}
#trigger-menu i {
    font-size: 18px;
    position: absolute;
    top: 5px;
    right: 9px;
}

#menu {
    background: rgba(0, 0, 0, 0.25);
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
}

#menu .content {
    padding: 25px;
    height: 100%;
    position: relative;
    left: -300px;
    max-width: 300px;
    background: white;
}

#menu .footer {
    position: absolute;
    bottom: 25px;
}
#menu #close {
    position: absolute;
    top: 23px;
    right: 14px;
    z-index: 1;
    font-size: 30px;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    color: #bfbfbf;
}
#menu .heading {
    margin: 4px 0 20px;
}
#menu .heading .logo {
    display: inline-block;
    position: relative;
    top: -9px;
}
#menu .heading .logo a {
    display: inline-block;
}
#menu .heading .logo img {
    width: 40px;
}
#menu .heading h3 {
    display: inline-block;
    font-size: 30px;
    margin: 0;
    font-weight: bold;
}
#menu .heading h3 a {
    color: #4a9c69;
}

#menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#menu .pages li {
    margin: 5px 0 15px;
}

#menu .pages li:last-child {
    margin-bottom: 0;
}

#menu .pages li:last-child ul.child {
    margin-bottom: 0;
}
#menu ul ul {
    display: none;
    margin: 0 0 0 36px;
}

#menu .pages a,
#menu .footer a {
    font-size: 22px;
    font-weight: 500;
    color: #656565;
    display: block;
    position: relative;
    padding-left: 45px;
    text-decoration: none;
    outline: none;
}

#menu .footer a {
    padding-left: 0;
}
#menu .pages a:hover {
    color: #4a9c69;
}
#menu .pages a.active {
    color: #333;
    font-weight: 700;
}
#menu .pages a.active:hover {
    color: #333;
}
#menu .pages a i {
    width: 35px;
    display: inline-block;
    text-align: center;
    font-size: 19px;
    position: absolute;
    top: 3px;
    left: 0;
}

#menu .footer {
    position: absolute;
    bottom: 25px;
}

#menu .footer a {
    /* position: relative; */
    padding-left: 44px;
}

#menu .footer a i {
    top: 0px;
    /* font-size: 19px; */
    position: absolute;
    left: 5px;
}

#menu .footer a:hover {
    color: #000;
}

#menu .pages a.more i.icon-up-open {
    visibility: hidden;
}
#menu .pages a.more.show i.icon-up-open {
    visibility: visible;
}
#menu .pages a.more.show i.icon-down-open {
    visibility: hidden;
}

#menu ul ul a {
    font-size: 12px;
}

#menu .pages ul ul.child a {
    font-size: 17px;
    margin: 0;
}

#menu .pages ul ul.child li {
    margin: 5px 0;
}

#menu .pages ul ul.child li:last-child {
    margin-bottom: -15px;
}

#menu .pages ul ul.child a i {
    margin-right: -5px;
    font-size: 19px;
    display: none;
}

#menu .pages ul ul.child {
    margin: 0 0 35px 0;
}

@media (max-width: 1024px) {
    #sidebar {
        display: none;
    }
    #trigger-menu {
        display: block;
    }
    .system.page #page_data {
        padding: 35px 55px;
    }
}

@media (max-width: 575px) {
    .system.page #page_data {
        padding: 20px;
    }
    #trigger-menu {
        height: 34px;
        width: 34px;
        padding: 0;
        top: 23px;
        right: 20px;
        background: #f8f9fa;
        position: fixed;
        z-index: 1;
    }
    #trigger-menu i {
        margin: -2px -5px 0 0;
    }
    #trigger-menu span {
        display: none;
    }
    .stats {
        padding: 10px 20px 20px;
    }

    .stats .countries {
        margin: 10px 0 0;
    }

    .stats .countries ul {
        margin: 0;
    }

    .stats .countries ul li {
        padding: 0 0 3px;
        background: none;
        margin: 0;
        border-bottom: 1px solid rgb(106 114 125 / 10%);
    }

    .stats .countries ul li:last-child {
        border: none;
    }
    .stats .countries .country {
        display: inline-block;
    }

    .stats .countries .counter {
        width: auto;
        height: auto;
        top: 9px;
        right: 0;
        display: inline-block;
        font-size: 13px;
        line-height: 10px;
        margin-left: 3px;
        background: none;
    }
    .stats .details:not(.big) {
        margin: 0;
        padding: 0;
        background: none;
    }
    .stats .details:not(.big) .divider {
        display: none;
    }

    .stats .details:not(.big) > div:not(.divider) {
        position: relative;
        border-bottom: 1px solid rgb(106 114 125 / 10%);
        margin: 0;
        padding: 8px 0;
    }

    .stats .details:not(.big) > div:not(.divider):after {
        content: '';
        clear: both;
        display: block;
    }

    .stats .details:not(.big) .count {
        float: right;
        font-size: 13px;
        line-height: 10px;
        position: relative;
        top: 1px;
    }

    .stats .details:not(.big) label {
        float: left;
        font-size: 13px;
        letter-spacing: 1px;
        font-weight: 400;
        line-height: 10px;
        color: #333;
        margin: 0;
    }
    .stats .details:not(.big) > div:not(.divider).last {
        border: none;
    }
    
    .system.page #page_data .white-box {
        padding: 0 20px;
    }

    .dataTables_wrapper .dataTables_length {
        display: none;
    }

    .dataTables_wrapper input[type="search"] {
        margin: 5px 0 0;
        width: 100%;
    }

    .dataTables_wrapper .dataTables_filter:after {
        bottom: 12px;
        top: unset;
        right: 12px;
    }

    .dataTables_wrapper label {
        text-align: left;
        margin: 12px 0 0;
    }

    .system.page #page_data #page-title {
        padding-right: 50px;
        font-size: 24px;
        font-weight: 300;
        margin: 3px 0 -8px;
    }

    .system.page #page_data .white-box table.dataTable thead {
        display: none;
    }

    .dataTables_wrapper .dataTables_info {
        top: unset;
        text-align: left;
        margin: 0 0 14px;
    }

    .system.page #page_data .white-box table.dataTable {
        margin: 20px 0 13px;
        width: 100%;
        display: block;
    }

    .system.page #page_data .white-box table.dataTable tbody tr,
    .system.page #page_data .white-box table.dataTable tbody td {
        display: block;
        border: none;
    }
    .system.page #page_data .white-box table.dataTable tbody td {
        padding: 0;
        word-break: break-word;
    }

    .system.page #page_data .white-box table.dataTable tbody tr {
        padding: 10px;
        border: 1px solid #dee2e6;
        width: 100%;
        margin: -2px 0;
    }

    .system.page #page_data .white-box table.dataTable tbody {
        display: block;
    }

    .system.page #page_data .white-box table .action-btns .btn {
        padding: 0;
    }

    body .white-box table.w-ctr tr td:not(.dataTables_empty):first-child::before {
        display: none;
    }
    .system.page #page_data .heading .d-flex.align-items-center {
        display: block !important;
    }

    .system.page #page_data .heading .form-inline .col-auto {
        margin: 0;
        padding: 0;
    }

    .system.page #page_data .heading .form-inline input#target-link {
        margin-bottom: 10px;
    }

    .system.page #page_data .heading .btn {
        width: 100%;
        margin: 0;
    }

    .system.page #page_data .heading .btn + .btn {
        margin: 10px 0 -15px;
    }
    .system.page #page_data .heading .form-inline {
        margin: 27px 0 0;
    }
    #menu .content {
        padding: 20px;
    }

    #menu #close {
        top: 18px;
        right: 6px;
    }

    #menu .heading {
        margin-bottom: 5px;
    }

    #menu .pages li {
        margin: 0 0 5px;
    }

    #menu .pages a, #menu .footer a {
        font-size: 16px;
    }

    #menu .pages a i {
        font-size: 14px;
        top: 1px;
    }

    #menu .pages ul ul.child a {
        font-size: 14px;
    }

    #menu .pages ul ul.child {
        margin-bottom: 22px;
    }
    .system.page body#dashboard #page_data .heading {
        margin-bottom: 35px;
    }
    .system.page #page_data .white-box .table-bordered tbody tr td.dataTables_empty {
        height: auto;
        font-size: 12px;
        padding: 10px;
        background: #f8f9fa;
        font-weight: 700;
    }
    .dataTables_wrapper .dataTables_paginate span .paginate_button {
        width: 25px;
        height: 25px;
        line-height: 22px;
        font-size: 13px;
    }

    .dataTables_wrapper .dataTables_paginate > .paginate_button.next {
        display: none;
    }

    .dataTables_wrapper .dataTables_paginate > .paginate_button.previous {
        display: none;
    }

    .dataTables_wrapper .dataTables_paginate .ellipsis {
        line-height: 1;
    }
    .system.page #page_data .white-box table tr:hover .action-btns .btn:hover,
    .system.page #page_data .white-box table tr:hover .action-btns .view {
        background: none !important;
    }
    .system.page #page_data .white-box table tr:hover td {
        color: #212529;
    }
    
    body#slots .col {
        width: 100%;
        display: block;
        flex: none;
        margin-bottom: 1em;
    }
    table#registration-slots td:first-child {
        width: .1px;
    }
    .system.page body#slots #page_data .white-box {
        padding: 15px 20px 0;
    }
    
    tr.duplicate {
        background: rgb(220 53 69 / 25%)!important;
    }
    tr.duplicate td {
        background: transparent;
        color: #dc3545!important;
    }
}
