html {
    width: 100%;
}

body {
    overflow-x: hidden !important;
}

    body.show-spinner > main {
        overflow: hidden !important;
    }

    /* Hide everything under body tag */
    body.show-spinner > * {
        opacity: 0;
    }

    /* Spinner */
    body.show-spinner::after {
        content: " ";
        display: inline-block;
        width: 30px;
        height: 30px;
        border: 2px solid rgba(0, 0, 0, 0.2);
        border-radius: 50%;
        border-top-color: rgba(0, 0, 0, 0.3);
        animation: spin 1s ease-in-out infinite;
        -webkit-animation: spin 1s ease-in-out infinite;
        left: calc(50% - 15px);
        top: calc(50% - 15px);
        position: fixed;
        z-index: 1;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

#overlay {
    position: absolute;
    display: none;
    top: -40px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
}

    #overlay .spinner {
        border-left: 6px solid rgb(217 217 217 / 15%);
        border-right: 6px solid rgb(217 217 217 / 15%);
        border-bottom: 6px solid rgb(217 217 217 / 15%);
        border-top: 6px solid rgb(255 255 255);
    }

.spinner {
    height: 60px;
    width: 60px;
    margin: auto;
    display: flex;
    position: absolute;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.badge {
    font-size: 64%;
}

.menu .sub-menu ul li a span.badge {
    margin-left: 10px;
}

.logo-single {
    visibility: hidden;
}

.error {
    color: red;
}

.chat-window, .assignroom {
    cursor: pointer;
}
