:root {
    --fore-color: #fff;
    --back-color: rgb(13, 110, 253);
    --hover-color: rgb(13, 110, 253);
    --inactive-color: rgb(13, 110, 253);
    --active-color: #F1F6FC;
    --dark-color: #212529;
    --border-color: #dee2e6;
    --bs-border-color: #999 !important;
}

html {
    height: 100%;
}
body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* General styling */
.app-padding {
    padding: 10px 15px;
}
.app-padding2 {
    padding: 16px;
}
.app-right {
    display: flex;
    justify-content: flex-end;
}
.app-row {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
}
.app-col-6 {
    flex-basis: 50%;
}
.md-button {
    text-transform: none !important;
}
.app-clear {
    display: block;
    clear: both;
}
.app-right {
    float: right;
}

/* Pagination */
.pagination .page-link {
    cursor: pointer;
}

/* Loader */
.AppLoader {
    z-index: 32000;
    visibility: visible;
    opacity: 1;
    transition: all 1s linear;
}
.AppLoaderHide > .spinner-border {
    visibility: hidden;
    opacity: 0;
    transition: all 0.25s linear;
}
.AppLoaderHide {
    visibility: hidden;
    opacity: 0;
    transition: all 1s linear;
}

/* Top bar */
.TopBar {
    background-color: var(--back-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-basis: 50px;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
    color: #fff;
}
.TopBar > div {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.TopBar .material-icons {
    color: #fff;
}
.TopBar > div > a.material-icons {
    display: inline-block;
    color: #fff;
    font-size: 30px;
    line-height: 30px;
    padding: 10px;
}
.TopBar a {
    text-decoration: none;
    cursor: pointer;
}
.TopBarCircleWithLetter {
    color: #fff;
    font-size: 15px;
    line-height: 28px;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    text-align: center;
    margin: 10px;
    text-decoration: none !important;
}
.TopBarUserMenu {
    position: absolute;
    top: 50px;
    right: 0px;
    width: 250px;
    background-color: #fff;
    box-shadow: 0px 0px 50px #ccc;
    display: block;
    font-size: 14px;
    overflow: hidden;
}

/* Bottom container */
.BottomContainer {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    flex-shrink: 1;
    overflow: hidden;
}

/* Menu */
.Menu {
    flex-shrink: 0;
    flex-grow: 0;
    width: 210px;
    height: 100%;
    white-space: nowrap;
    transform: translateX(-210px);
    margin-right: -210px;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    z-index: 32000;
}
.MenuVisible {
    transform: translateX(0px);
    margin-right: 0px;
}
.MenuAlwaysVisible {
    transform: none !important;
    margin-right: 0 !important;
}
@media only screen and (max-width: 800px) {
    .Menu {
        position: absolute;
        background-color: rgba(255, 255, 255, 0.9);
    }    
}

/* Content */
.Content {
    flex-basis: auto;
    flex-shrink: 1;
    flex-grow: 1;
    background-color: #fff;
    padding: 20px;
    overflow-y: scroll;
}

/* Hide something */
.Hidden {
    display: none !important;
}

/* Input fields */
.inputIcon > .material-icons {
    position: absolute;
    padding-top: 8px;
    padding-left: 8px;
    color: gray;
}
.inputIcon > input {
    padding-left: 35px !important;
}

/* Sorting */
.sorting-none::after {
    content: '';
}
.sorting-forward::after {
    content: '\25bc';
}
.sorting-reverse::after {
    content: '\25b2';
}