@font-face { font-family: title; src: url('../fonts/Ubuntu-M.ttf'); }
@font-face { font-family: standard; src: url('../fonts/Ubuntu-L.ttf'); }
@font-face { font-family: title_italic; src: url('../fonts/Ubuntu-MI.ttf'); }
@font-face { font-family: standard_italic; src: url('../fonts/Ubuntu-LI.ttf'); }
body { overflow: hidden; margin: 0; background-image: url('../images/background.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; height: 100vh; width: 100vw; font-family: standard; font-size: 11pt; }
* { scrollbar-width: auto; scrollbar-color: #ff0000 rgba(255,255,255, 0.9); }
*::-webkit-scrollbar { width: 5px; height: 5px; }
*::-webkit-scrollbar-track { background: rgba(255,255,255, 0.9); }
*::-webkit-scrollbar-thumb { background-color: #ff0000; border-radius: 10px; border: 1px solid rgba(255,255,255, 0.9); }
.add_status_list {
    display: flex;
    flex-flow: row nowrap;
    gap: 5px;
    align-items: center;
    border-radius: 5px;
    background: white;
    font-size: 12pt;
    padding: 6px 8px;
    font-size: 11pt;
    align-self: flex-end;
    transition: all .3s ease-in-out;
}
* {
    box-sizing: revert!important;
}
input[type="checkbox"] { -webkit-appearance: none; appearance: none; background-color: white; margin: 0; font: inherit; color: red; width: 18px; height: 18px; border: 1px solid black; border-radius: 4px; transform: translateY(-0.075em);display: grid; place-content: center; }
input[type="checkbox"]::before { content: ""; width: 10px; height: 10px; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); transform: scale(0); transition: 80ms transform ease-in-out; box-shadow: inset 1em 1em red;}
input[type="checkbox"]:checked::before { transform: scale(1); }
.add_status_list img {
    max-height: 25px;
}
.add_status_list:hover {
    background-color: #df3a5c;
    color: white;
    cursor: pointer;
}
.btn {
    padding: 8px 12px;
    background: red;
    color: white;
    border-radius: 6px;
    text-align: center;
    font-size: 12pt;
    transition: all .3s ease-in-out;
    border: none;
    outline: 0;
    font-family: inherit;
}
.btn:hover {
    cursor: pointer;
    transform: scale(1.04) translateY(-1px);
}
.content_wrapper {
    position: fixed;
    top: 70px;
    background: rgba(255,255,255,0.9);
    overflow: hidden auto;
}
.notification {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 250px;
    z-index: 10002;
    transition: all .5s ease-in-out;
    animation: fade-in .5s ease-in-out;
    padding: 12px 16px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 15px;
}
.notification img {
    max-height: 20px;
    align-self: flex-start;
    cursor: pointer;
}
.notify_msg {
    margin: 0;
    padding: 12px 16px;
    font-size: 12pt;
    border-radius: 4px;
}
.info {
    background: #1f8abf;
}
.error {
    background: red;
    color: white;
}
.success {
    background: #2cbf1f;
}

@keyframes fade-in {
    0% {
        right: -282px;
    }
    100% {
        right: 0;
    }
}
.notification_fade_out {
    animation: fade-out .5s ease-in-out;
}
@keyframes fade-out {
    0% {
        right: 0;
    }
    100% {
        right: -282px;
    }
}
.smoke {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
}
.popup {
    display: flex;
    flex-flow: column nowrap;
    gap: 10px;
    background: white;
    padding: 14px 16px;
    border-radius: 0 0 7px 7px;
    min-width: 250px;
    max-width: 500px;
	max-height: 80dvh;
    position: absolute;
    margin: 50vh auto 0;
    left: 0;
    right: 0;
    font-size: 12pt;
    transform: translateY(-50%);
    z-index: 10001;
}
.popup::before {
    position: absolute;
    content: attr(data-title);
    padding: 15px;
    top: -46px;
    left: 0;
    font-size: 14pt;
    text-align: center;
    width: calc(100% - 30px);
    border-style: none none solid none;
    border-color: gray;
    border-width: 1px;
    height: 20px;
    border-radius: 7px 7px 0 0;
    background: white;
}
.popup input[type='text'], .popup input[type='number'], .popup input[type='email'], .popup input[type='date'], .popup input[type='password'], .popup select {
    text-align: center;
    border-style: none none solid none;
    border-color: gray;
    border-width: 1px;
    width: 195px;
    padding: 0;
    outline: 0;
    font-family: inherit;
    font-size: 11pt;
}
.popup::placeholder {
    text-align: center;
}
.popup .item {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
}
.popup .item-grid {
    display: grid;
    align-items: center;
    grid-template-columns: 60% 20% 20%;
}
.popup input[type="number"] {
    width: 40px;
}
.tab_bar {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-end;
    border-style: none none solid none;
    border-width: 1px;
    border-color: gray;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10000000;
}
.tab_bar .item {
    background: whitesmoke;
    padding: 6px 8px;
    font-size: 11pt;
    border: 1px solid gray;
    transition: all .3s ease-in-out;
    font-family: title;
}
.tab_bar .item:hover {
    cursor: pointer;
    border-bottom-color: red;
    background: lightgray;
}
.tab_bar .active {
    background: lightgray;
}
.tab_content {
    margin-top: 15px;
    overflow: hidden auto;
}
.smoke object {
    position: absolute;
    max-width: 90vw;
    max-height: 100vh;
    margin: 0 auto 0;
    left: 0;
    right: 0;
    overflow: hidden;
    border-radius: 7px;
    z-index: 100001;
    transition: all 150ms ease-in-out;
}
.lang_selector {
    position: relative;
}
.lang {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    min-width: 65px;
    transition: all .3s ease-in-out;
    cursor: pointer;
    user-select: none;
}
.all_langs .lang:hover {
    background-color: limegreen;
}
.lang > img {
    max-height: 15px;
}
.all_langs {
    position: absolute;
    display: none;
    flex-flow: column nowrap;
    background-color: lightgrey;
}
.l_auth {
    bottom: 100%;
}
.l_default {
    top: 100%;
}

/* MOBILE CHANGES */

@media only screen and (min-width: 800px) {
    .content_wrapper { left: 81px; width: calc(100dvw - 81px); height: calc(100vh - 70px); }
    .tab_bar { padding: 12px; max-width: 100%; }
    .tab_content { padding: 12px; max-width: 100%; }
}
@media only screen and (max-width: 800px) {
    .content_wrapper { left: 0; width: 100dvw; height: calc(100vh - 150px); }
    .tab_bar { padding: 6px; max-width: 100%; }
    .tab_content { padding: 6px; max-width: 100%; }
    .s_desktop { display: none!important; }
}