/* firefox scroll bars */

* {
    scrollbar-width: thin;
    scrollbar-color: #f1f1f1 transparent;
}

/* webkit scrollbars */

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 0 6px #f1f1f1;
    border: 2px solid transparent;
    border-radius: 5px !important;
}
::-webkit-scrollbar-thumb:window-inactive {
    box-shadow: inset 0 0 0 6px #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
    box-shadow: inset 0 0 0 6px #888;
}
::-webkit-scrollbar-corner {
    background: transparent;
}

div.required .control-labels:not(span):after,
td.required:after {
    content: ' *';
    color: #f00;
    font-weight: bold;
}

div.required .control-label:not(span):after,
td.required:after {
    content: ' *';
    color: #f00;
    font-weight: bold;
}

#role-permissions .permission-select-button {
    cursor: pointer;
}

#role-permissions .permission-unselect-button {
    cursor: pointer;
}

input[type='search']::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
    cursor: pointer;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #fff;
}
.preloader .loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font: 14px arial;
}

/* Mobile */
@media only screen and (max-width: 600px) {
    .text-right {
        text-align: left;
    }

    .text-center {
        text-align: left;
    }
}

/* Landscape */
@media only screen and (min-width: 601px) {
    .text-right {
        text-align: left;
    }

    .text-center {
        text-align: left;
    }
}

/* Tab/Ipad */
@media only screen and (min-width: 768px) {
    .text-right {
        text-align: left;
    }
}

/* Laptop */
@media only screen and (min-width: 992px) {
    .text-right {
        text-align: right;
    }
    .text-center {
        text-align: center;
    }
}
