/*******************************************************************************
*
* (c) 2018 Copyright
*
* File description :        (Tablet styles)
*
* Created by       :        Arnold Velzel
* Created on       :        02/10/2018
*
*******************************************************************************/

* {
    box-sizing: border-box;
    position: relative;
}
html {
    color: var(--text-light);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    font-family: 'Raleway', sans-serif;
    background: var(--body-background);
}

body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    background-color: transparent;
}
@keyframes loading-page {
    100% {
        transform: rotate(360deg);
    }
}
body[data-page-loading="1"]::after {
    content: "\e97c";
    font-family: pyes;
    display: block;
    font-size: 4em;
    height: 1em;
    line-height: 1em;
    width: 1em;
    text-align: center;
    color: var(--light-text);
    z-index: 10;
    position: absolute;
    top: calc(50% - 0.5em);
    left: calc(50% - 0.5em);

    animation-name: loading-page;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-timing-function: steps(12, end);
}

/*** SCROLL BARS ***/
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-button {
    display: none;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-track-piece {
}
::-webkit-scrollbar-thumb {
    border-radius: 7px;
    background: #333;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--daylight);
    box-shadow: 0 0 3px 1px inset #888;
}
::-webkit-scrollbar-corner {
}
::-webkit-resizer {
}
/*** SCROLL BARS ***/

div.page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dark-background);

    z-index: -1;
    opacity: 0;

    transition: opacity ease 150ms;
    overflow: auto;
}
div.page[data-active="1"] {
    z-index: 1;
    opacity: 1;
}

/*** TABLES ***/
.table {
    display: table;
}
.table .group {
    display: table-row-group;
    page-break-inside: avoid;
}
.table .row {
    display: table-row;
    page-break-inside: avoid;
}
.table .row .cell {
    display: table-cell;
    page-break-inside: avoid;
}
/*** TABLES ***/
