﻿:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

::selection {
    color: var(--color-secondary);
    background: var(--color-main);
}

body {
    overflow-y: scroll;
    min-width: 1700px;
    margin: 0;
    box-sizing: border-box;
}

@media (max-width: 1700px) {
    body {
        zoom: 0.9; 
        overflow-x: auto;
        height: 90%; 
    }
}

html,
body,
#root {
    height: 100%;
}

html,
body {
    background: var(--color-background);
    color: var(--color-text-primary);
    font-family: 'Open Sans', sans-serif;
}

a,
.btn-link {
    cursor: pointer;
    color: var(--color-text-primary);
}

a:hover,
.btn-link:hover {
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1rem;
    height: 100%;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background-color: var(--color-main);
}

/* loading */

.loading-force {
    z-index: 300 !important;
}

.loading-container.active {
    opacity: 1;
    pointer-events: all;
}

.loading-container {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    display: flex;
    z-index: 99;
    justify-content: center;
    align-items: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    background-color: var(--color-background);
}

.loading-image img {
    width: 96px;
    height: auto;
}

/* dropdown */

.dropdown {
    display: inline-block;
    user-select: none;
}

.with-title::before {
    content: attr(data-title);
    position: absolute;
    bottom: 130%;
    left: 0;
    font-size: 14px;
    font-weight: 600;
}

.title {
    padding: 3px 32px 3px 12px;
    display: inline-block;
    border-radius: 4px;
    border: 1px solid rgba(43, 47, 54, 0.8);
    background-color: var(--color-secondary);
    color: var(--color-text-primary);
    font-weight: 600;
    cursor: pointer;
    min-width: 95px;
}

.title::after {
    font-family: "Font Awesome 5 Free";
    content: "\f0d7";
    font-weight: 900;
    margin-left: 10px;
    transition: all .2s ease;
    display: inline-block;
    right: 12px;
    position: absolute;
}

.menu {
    height: auto;
    position: absolute;
    overflow-x: hidden;
    white-space: nowrap;
    min-width: 100%;
    width: auto;
    margin-top: 10px;
    background: var(--color-secondary);
    border: var(--color-menu-item-hover) solid 1px;
    box-shadow: rgb(53 59 67) 0px 0px 5px inset;
    z-index: 99;
    cursor: pointer;
    border-radius: 4px;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    max-height: 350px;
    transition: all .2s ease;
    transform-origin: top;
}

.dropdown.show .menu {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: all;
}

.dropdown.hoverable.show .free-space {
    position: absolute;
    width: 100%;
    height: 10px;
}

.hiden {
    display: none;
}

.dropdown.show .title::after {
    transform: rotate(180deg);
}

.menu-item {
    padding: 5px 12px 5px 12px;
    font-weight: 600;
}

.menu-img {
    width: 16px;
    height: auto;
    display: inline-block;
    margin-right: 8px;
}

.menu-item hr {
    height: 1px;
    border: none;
    background: #8a8a8a7a;
    margin: 3px -7px -5px -7px;
}

.menu-item:hover {
    background-color: var(--color-menu-item-hover);
    color: var(--color-main) !important;
}

.menu-header {
    padding: 5px 12px 5px 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: default;
    color: var(--color-main);
    text-align: center;
    font-size: 11px;
    letter-spacing: 1px;
}

.menu-item.no-close {
    padding-left: 30px;
    position: relative;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .7px;
    text-transform: none;
}

.no-close i {
    position: absolute;
    top: 9px;
    left: 10px;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

#footer-content {
    position: absolute;
    height: 80px;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: rgb(13, 17, 23);
    border-top: 1px solid var(--color-header-border);
    padding: 10px 20px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

div#footer-content a {
    color: var(--color-text-primary);
}

.flex-center {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.link-hov:hover {
    text-decoration: underline !important;
    color: var(--color-primary) !important;
}

.btn-simple-hov:hover {
    cursor: pointer;
    color: var(--color-main) !important;
}

.btn-hov:hover {
    cursor: pointer;
    color: var(--color-secondary) !important;
    background-color: var(--color-main) !important;
}

/* notification */

.notify-list {
    position: fixed;
    right: 20px;
    top: 70px;
    width: 325px;
    background: transparent;
    text-align: center;
    vertical-align: top;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    z-index: 500;
}

.notify-list .notify-item {
    color: var(--color-header);
    background: linear-gradient(var(--color-main) 0%, var(--color-main) 100%);
    border-radius: 4px;
    padding: 5px 15px;
    bottom: 20px;
    right: 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    animation-name: notify;
    margin: 8px 0px;
    opacity: 0;
    box-shadow: var(--color-main) 0 0 2px;
}

.update-bar {
    background: linear-gradient(270deg, var(--color-main) 0%, var(--color-main) 100%);
    position: absolute;
    height: 1px !important;
    width: 100%;
    top: 100%;
    left: 0;
    animation: update 500ms;
}

/* ANIMATIONS */

.anim-card .anim-card-target {
    transition: 250ms all ease;
}

.anim-card:hover .anim-card-target {
    transform: scale(1.15) rotate(-3deg);
}

.anim-card-target-svg {
    transition: 250ms all ease;
}

.anim-card:hover .anim-card-target-svg {
    transform: scale(1.1);
}

@keyframes update {
    0% {
        width: 0%
    }

    100% {
        width: 100%
    }
}

@-moz-keyframes update {
    0% {
        width: 0%
    }

    100% {
        width: 100%
    }
}

@-moz-keyframes notify {
    0% {
        transform: rotate(-30deg) scale(0);
        opacity: 0;
    }

    5% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    95% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    100% {
        transform: rotate(0deg) scale(.4) translateY(-150px);
        opacity: 0;
    }
}

@keyframes notify {
    0% {
        transform: rotate(-30deg) scale(0);
        opacity: 0;
    }

    5% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    95% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    100% {
        transform: rotate(0deg) scale(.4) translateY(-150px);
        opacity: 0;
    }
}

@keyframes ld-dim {
    0% {
        animation-timing-function: cubic-bezier(0.9647, 0.2413, -0.0705, 0.7911);
        opacity: 0.2
    }

    51% {
        animation-timing-function: cubic-bezier(0.9226, 0.2631, -0.0308, 0.7628);
        opacity: .9
    }

    100% {
        opacity: 0.2
    }
}

@-moz-keyframes ld-dim {
    0% {
        animation-timing-function: cubic-bezier(0.9647, 0.2413, -0.0705, 0.7911);
        opacity: 0.2
    }

    51% {
        animation-timing-function: cubic-bezier(0.9226, 0.2631, -0.0308, 0.7628);
        opacity: .9
    }

    100% {
        opacity: 0.2
    }
}

.ld.ld-dim {
    animation: ld-dim 1s infinite linear
}

svg.logo-full-svg {
    width: 300px;
    fill: var(--color-complementary);
}

.elems-10 {
    display: flex;
}

.elems-10>*:not(:last-child) {
    margin-right: 10px
}

.btn-icon-r {
    font-size: 14px !important;
    padding-left: 5px
}

.ReactVirtualized__List {
    overflow: visible !important;
}

.ReactVirtualized__Grid__innerScrollContainer {
    overflow: visible !important;
}

#new-year {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    pointer-events: none;
}

#new-year .ny-item {
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: -65px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#snowman {
    left: 5%;
    background-image: url(/Resources/new-year/snowman.png);
    transform: rotate(10deg);
}

#gift {
    right: 5%;
    background-image: url(/Resources/new-year/gift.png);
    transform: rotate(-10deg);
    bottom: -50px !important;
    width: 172px !important;
    height: 172px !important;
}