﻿html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Almarai', sans-serif;
    background: linear-gradient(#141e30, #243b55);
}

.login-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    padding: 40px;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,.5);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0,0,0,.6);
    border-radius: 10px;
}

    .login-box h2 {
        margin: 0 0 30px;
        padding: 0;
        color: #fff;
        text-align: center;
    }

    .login-box .user-box {
        position: relative;
    }

        .login-box .user-box input {
            width: 100%;
            padding: 10px 0;
            font-size: 16px;
            color: #fff;
            margin-bottom: 10px;
            border: none;
            border-bottom: 1px solid #fff;
            outline: none;
            background: transparent;
        }

        .login-box .user-box label {
            position: absolute;
            top: 0;
            left: 0;
            padding: 10px 0;
            font-size: 12px;
            color: #fff;
            pointer-events: none;
            transition: .5s;
        }

        .login-box .user-box input:focus ~ label,
        .login-box .user-box input:valid ~ label {
            top: -20px;
            left: 0;
            color: #FFD700;
            font-size: 16px;
        }

    .login-box form button {
        position: relative;
        display: inline-block;
        padding: 10px 20px;
        color: #FFD700;
        font-size: 16px;
        text-decoration: none;
        text-transform: uppercase;
        overflow: hidden;
        transition: .5s;
        margin-top: 40px;
        letter-spacing: 4px;
        border: 1px solid #FFD700;
    }

    .login-box button:hover {
        background: #FFD700;
        color: #fff;
        border-radius: 5px;
    }

    .login-box button span {
        position: absolute;
        display: block;
    }

        .login-box button span:nth-child(1) {
            top: 0;
            left: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #FFD700);
            animation: btn-login-anim1 1s linear infinite;
        }

        .login-box button span:nth-child(2) {
            top: -100%;
            right: 0;
            width: 2px;
            height: 100%;
            background: linear-gradient(180deg, transparent, #FFD700);
            animation: btn-login-anim2 1s linear infinite;
            animation-delay: .25s
        }

        .login-box button span:nth-child(3) {
            bottom: 0;
            right: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(270deg, transparent, #FFD700);
            animation: btn-login-anim3 1s linear infinite;
            animation-delay: .5s
        }

        .login-box button span:nth-child(4) {
            bottom: -100%;
            left: 0;
            width: 2px;
            height: 100%;
            background: linear-gradient(360deg, transparent, #FFD700);
            animation: btn-login-anim4 1s linear infinite;
            animation-delay: .75s
        }
/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
        background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        /* hide "loading..." text */
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 150ms infinite linear;
            -moz-animation: spinner 150ms infinite linear;
            -ms-animation: spinner 150ms infinite linear;
            -o-animation: spinner 150ms infinite linear;
            animation: spinner 150ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
content:"" !important;
}
table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before{
    content:"" !important;
}
::-webkit-scrollbar { 
    width:5px;
    height:8px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(20, 20, 20,.8);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(20, 20, 20,.8);
}
@media only screen and (min-device-width: 320px) and (max-device-width: 425px) {
    body {
        zoom: 190%;
    }
}

@media only screen and (min-device-width: 425px) and (max-device-width:768px) {
    body {
        zoom: 170%;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width:1024px) {
    body {
        zoom: 158%;
    }
}

@media only screen and (device-width: 768px) {
    #AdminSideBar {
        width: 13% !important;
        white-space: nowrap;
        margin: 0;
        padding: 0;
    }

        #AdminSideBar .d-flex {
            padding-left: 25px !important;
        }

    .link-item {
        display: none !important;
    }
}

@media only screen and (device-width: 768px) {
    .right-panel {
        zoom: 69%;
    }
}

@media only screen and (device-width: 425px) {
    .right-panel {
        zoom: 52%;
    }
}

@media only screen and (device-width: 375px) {
    .right-panel {
        zoom: 40%;
    }
}

@media only screen and (device-width: 320px) {
    .right-panel {
        zoom: 30%;
    }
}

@media only screen and (device-width: 425px) {
    #AdminSideBar {
        width: 20% !important;
        white-space: nowrap;
        margin: 0;
        padding: 0;
    }

    .link-item {
        display: none !important;
    }

    #tblCompanyList_filter, #tblUsersList_length, #tblMakingChargesList_length {
        float: left;
    }

    #tblCompanyList_length, #tblUsersList_filter, #tblMakingChargesList_filter {
        float: left;
    }
}

@media only screen and (device-width: 375px) {
    #AdminSideBar {
        width: 20% !important;
        white-space: nowrap;
        margin: 0;
        padding: 0;
    }

    .link-item {
        display: none !important;
    }

    #tblCompanyList_filter, #tblUsersList_length, #tblMakingChargesList_length {
        float: left;
    }

    #tblCompanyList_length, #tblUsersList_filter, #tblMakingChargesList_filter {
        float: left;
    }
}

@media only screen and (device-width: 320px) {
    #AdminSideBar {
        width: 20% !important;
        white-space: nowrap;
        margin: 0;
        padding: 0;
    }

    .link-item {
        display: none !important;
    }

    #tblCompanyList_filter, #tblUsersList_length, #tblMakingChargesList_length {
        float: left;
    }

    #tblCompanyList_length, #tblUsersList_filter, #tblMakingChargesList_filter {
        float: left;
    }
}

@media only screen and (device-width: 1024px) {
    #AdminSideBar {
        width: 13% !important;
        white-space: nowrap;
        margin: 0;
        padding: 0;
    }
}

@media only screen and (min-device-width: 1024px) and (max-device-width:1440px) {
    body {
        zoom: 120%;
    }

    #AdminSideBar {
        width: 25% !important;
    }

        #AdminSideBar h5 {
            white-space: normal;
        }
}

@media only screen and (min-device-width: 1440px) and (max-device-width:1920px) {
    body {
        zoom: 114%;
    }

    #AdminSideBar {
        width: 20% !important;
    }

        #AdminSideBar h5 {
            white-space: nowrap;
        }
}

@media only screen and (min-device-width: 1920px) and (max-device-width:2256px) {
    body {
        zoom: 150%;
    }

    #AdminSideBar {
        width: 25% !important;
    }
}

@media only screen and (min-device-width: 2256px) and (max-device-width:2736px) {
    body {
        zoom: 210%;
    }
}

@media only screen and (min-device-width: 2736px) and (max-device-width:3200px) {
    body {
        zoom: 250%;
    }
}

@media only screen and (min-device-width: 3200px) and (max-device-width:3840px) {
    body {
        zoom: 300%;
    }
}
