@import url('https://fonts.lehtodigital.fi/b8ef82a5749d95ad0d2ad4edc51422e6.css');

body {
    
    background: rgb(191,132,215);
    background: linear-gradient(0deg, rgba(143,108,209,1) 0%, rgba(222,193,245,1) 100%);
    
    background-attachment: fixed;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    
    font-family: 'Fira Sans', sans-serif;
    font-size: 11pt;
    overflow: hidden;
    
    margin: 0px;
    padding: 0px;
    
}

body.x-dark {
    background: #252729;
}

tt, code, pre {
    font-family: 'Inconsolata', monospace;
}

code {
    font-size: 11pt;
    color: inherit;
    background-color: rgba(0,0,0,0.2);
    padding: 0.1em 0.5em 0.1em 0.5em;
    margin: 0 0.1em 0 0.1em;
    border-radius: 4px;
}

.btn-sm {
    padding: .25rem .5rem;
    padding-top: .30rem;
}

.btn-xsm {
    font-size: 10pt;
    padding: .05rem .5rem;
    padding-top: .1rem;
}

.x-sidebar {
    height: 100vh;
}

.x-page-content {
    height: 100vh;
    overflow-y: scroll;
    background-color: #ffffff;
}

.x-sidebar-logo {
    font-family: 'Staatliches', sans-serif;
    font-size: 40pt;
    color: rgba(0,0,0,0.7);
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
    transform: translateY(.02em);
}

.x-dark .x-sidebar-logo, .x-dark .x-sidebar, .x-dark .x-menu-item {
    color: #ffffff !important;
}

.x-dark .x-menu-item.active {
    color: #be71f4 !important;
}

.x-page-content .card, .x-page-content .card-body {
    background-color: rgba(255,255,255,0.05) !important;
}

.x-page-content.bg-dark a {
    color: Skyblue !important;
}

.x-page-content.bg-dark table * {
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

@media screen and (max-width: 992px) {
    
    body {
        overflow-y: scroll;
    }
    
    .x-sidebar {
        height: auto;
        padding-bottom: 1em;
    }

    .x-page-content {
        height: auto;
        overflow-y: visible;
    }
    
}

.x-shadow {
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}

.x-menu-item {
    display: block;
    padding: 0.5em 2em 0.5em 2em;
    color: #000000 !important;
    text-decoration: none !important;
    transition: all ease-in-out .1s;
    font-weight: 300;
    font-size: 120%;
}

@media screen and (max-width: 1360px) {
    .x-menu-item {
        font-size: 100%;
    }
}

.x-menu-item:hover {
    transform: translateX(0.5em);
}

.x-menu-item.active {
    font-weight: bold;
    color: #3b0266 !important;
}

.x-menuicon {
    width: 20px;
}

.x-featured {
    display: block;
    padding: 1em;
    text-align: center;
    background-color: rgba(0,0,0,0.05);
    border-radius: 3px;
}

.x-featured:hover {
    background-color: rgba(0,0,0,0.07);
}

.x-featured .x-huge .feather {
    width: 64px;
    height: 64px;
    color: #007bff !important;
}

.x-dark .x-featured .feather {
    color: Skyblue !important;
}

.x-featured p {
    font-size: 16pt;
    font-weight: 300;
    text-decoration: none !important;
}

.x-mi {
    width: 20px;
    margin-top: -2px;
    margin-left: -8px;
    margin-right: 5px;
}

.x-hi {
    display: inline-block;
    vertical-align: middle;
    margin-top: -.2em;
}

.x-bi, .btn .feather {
    width: 16px;
    margin-top: -2px;
    margin-right: 3px;
}

.x-head-select {
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 15px;
}

.x-head-select:hover img {
    transform: scale(1.1);
}

.x-head-select.clicked {
    animation-name: clicked;
    animation-duration: 2s;
}

@keyframes clicked {
    0% {
        border: 3px solid Skyblue;
        box-shadow: 0px 0px 15px Skyblue;
        transform: scale(1.1);
    }
    100% {
        border: 3px solid transparent;
        box-shadow: 0px 0px 15px transparent;
        transform: scale(1);
    }
}

.x-search-page {
    display: inline-block;
    min-width: 2em;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 2px;
    background: rgba(0,0,0,0.05);
    margin: 1px;
}

.x-search-page.active, .x-search-page.active:hover {
    border: 1px solid rgba(0,0,0,0.3);
    background: rgba(0,0,0,0.2);
}

.x-search-page:hover {
    border: 1px solid rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.1);
}

.x-spinner {
    display: inline-block;
    width: 48px;
    height: 48px;
    background-image: url('assets/icon.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    animation-name: xspin;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

.x-dark .x-spinner {
    filter: invert(100%);
}

@keyframes xspin {
    0% {
        transform: rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: rotateY(180deg) rotateZ(25deg);
    }
    50% {
        transform: rotateY(360deg) rotateZ(0deg);
    }
    75% {
        transform: rotateY(180deg) rotateZ(-25deg);
    }
    100% {
        transform: rotateY(0deg) rotateZ(0deg);
    }
}

.x-head-preview {
    width: 128px;
    height: 128px;
    image-rendering: pixelated;
    
    animation-name: xhead;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.x-head-preview > *, .x-head-grid > * {
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}

.x-head-grid {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
    
    animation-name: xhead2;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.x-head-grid > .front {
    background-position: -320px -64px, -64px -64px !important;
}
    
.x-head-grid > .back {
    background-position: -448px -64px, -192px -64px !important;
}
    
.x-head-grid > .right {
    background-position: -384px -64px, -128px -64px !important;
}
    
.x-head-grid > .left {
    background-position: -256px -64px, 0px -64px !important;
}
    
.x-head-grid > .top {
    background-position: -320px 0px, -64px 0px !important;
}
    
.x-head-grid > .bottom {
    background-position: -384px 0px, -128px 0px !important;
}

@keyframes xhead {
    0% {
        transform: rotateY(0deg) rotateX(-20deg);
    }
    50% {
        transform: rotateY(180deg) rotateX(20deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(-20deg);
    }
}

@keyframes xhead2 {
    0% {
        transform: rotateY(0deg) rotateX(-20deg);
    }
    50% {
        transform: rotateY(180deg) rotateX(20deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(-20deg);
    }
}
