:root {
    --gridPoseHeight: 320px;
    --gridPoseWidth: 216px;
}

#chika {
    position: absolute;
    z-index: 10;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: 50% 50%;
}

.yt-container {
    position: absolute;
    z-index: 2;
    width: 60%;
    height: 65%;
    margin-top: 2%;
    margin-left: 20%;
}

.gridWrapper {
    display: grid;
    overflow-y: scroll;
    overflow-x: hidden
}

@font-face {
    font-family: Gothic;
    /*src: url('fonts/gothic.TTF');*/
}

* {
	padding: 0px;
	margin: 0px;
    font-family: 'Roboto', sans-serif;
	/*cursor: url(images/misc/mouse/1.png), default !important;*/
}

html, body {
    width: 100%;
    height: 100%;
    /* breaks legacy-front server scrolling */
/*    overflow: hidden;*/
}

body[app="coordinator"] {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body[app="eso"] {
    /* breaks legacy-front server scrolling */
    overflow: hidden;
	/*background-image: url("images/base/bg_empty.png");*/
}

.snowLayer {
    background-size: 100% 100%;
    background-position: center;
}

.snowball {
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
    background-position: center;

    background-size: 50px 50px;
    background-repeat: no-repeat;
    transition: all 0.4s ease-in-out;
}

.snowballBreak {
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 450px 450px;
}

.snowball .circleAnim {
    animation: circle 2s ease-in-out;
}

.class_fadein {
    animation: m_fadein linear;
    animation-fill-mode: forwards;
    /*animation-duration: 2s;*/
}

.class_fadeout {
    animation: m_fadeout linear normal forwards;
    animation-fill-mode: forwards;
    /*animation-duration: 2s;*/
}

@keyframes m_fadein {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes m_fadeout {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes circle {
    0% {
        transform:rotate(0deg) transform(0%) rotate(0deg);
  
    }
    100% {
        transform: rotate(90deg) transform(40%) rotate(-90deg);
    }
}

.fullsize {
	width: 100%;
	height: 100%;
}

.layer {
	position: absolute;
    width: 100%;
	height: 100%;
    overflow: hidden;
}

.background {
	width: 100%;
    height: 100%;
    margin: auto;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.layer[top="1"] {
    z-index: 2;
}

.layer[bg="1"] {
    margin: auto;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.character {
	position: absolute;
	width: 100%;
	height: 100%;
    background-size: auto 100%;
    background-position: 50% 100%;
    background-repeat: no-repeat;
	transition: transform 1s ease-in-out;
}

/* --- Анимация перехода спрайтов --- */
.character-transition-ghost {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: auto 100%;
    background-position: 50% 100%;
    background-repeat: no-repeat;
    z-index: 5; /* Поверх основного спрайта */
    opacity: 1;
    transition: opacity 0.2s ease-in-out; /* Время анимации: 0.3 секунды */
    pointer-events: none; /* Пропускать клики сквозь призрака */
}

.character-transition-ghost.fading {
    opacity: 0;
}

.screens {
	position: absolute;
    width: 100%;
    height: 100%;
	top: 0;
    left: 0;
    z-index: 2;
}

body[screenmode="fixed16x9"] .background, body[screenmode="fixed16x9"] .screens {
	position: absolute;
	width: 1920px;
    height: 1080px;
	top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.move-screen {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.chat {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
    overflow: hidden;
}

.messages-wrapper {
    /*height: 100%;*/
    position: absolute;
    width: 100%;
    bottom: 32px;
    /*overflow-y: hidden;*/

    bottom: 1.7em;
    margin-bottom: 0px;
}

.messages-wrapper .messages {
	position: relative;
    overflow-y: hidden;
    width: 100%;
    height: 100%;
    scrollbar-width: none;

    /*bottom: 1.7em;
    margin-bottom: 0px;*/
}

.messages::-webkit-scrollbar {
    display: none;
}
.messages::-webkit-scrollbar-thumb {
    display: none;
}
.messages::-webkit-scrollbar-track {
    display: none;
}

.messages .msg {
    word-wrap: break-word;
	font-size: 1.5em;
    /*font-family: Calibri;*/
    /*line-height: 1.5em;*/
    display: block;
    padding: 0em 0.5em;

    /*width: fit-content;*/
    width: 94%;

    max-width: 94%;
    /*color: #ffdd7d;*/
    text-shadow: 1.5px 1.5px 0 #000;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
	/*animation-name: hidetext;*/
	/*animation-delay: 44s;*/
    /*animation-duration: 0.5s;*/
    animation-fill-mode: forwards;
}

.chat-history-window .messages .msg {
    background: transparent;
}

.msg a {
    color: #e9b627;
    text-decoration: underline;
    /*text-decoration-color: blue;*/
}

.chat .input {
	background-color: rgba(0,0,0,0.75);
    /*height: 1.7em;*/
    position: absolute;
    bottom: 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    padding: 0;
}

.chat .title {
    font-size: 28px;
    line-height: 32px;
    color: #ffdd7d;
    text-shadow: 2px 2px 0 #000;
    padding: 0 0 0 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.chat .input input {
	width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: rgba(0,0,0,0);
    border: 0;
    padding: 0 5px;
    color: #ffdd7d;
    text-shadow: 2px 2px 0 #000;
    font-size: 1.5em;
}

.chat input:focus {
    outline: none;
    border: 0;
}

.chat .input input::-webkit-input-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
    font-family: 'Roboto', sans-serif;
}
.chat .input input:-ms-input-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
    font-family: 'Roboto', sans-serif;
}
.chat .input input::-moz-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
    font-family: 'Roboto', sans-serif;
}
.chat .input input:-moz-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
    font-family: 'Roboto', sans-serif;
}

.chat .yt-icon {
    display: inline-block;
    width: 1em;
}

.chat .chat-track-title {}

.chat .chat-track-title:hover {
    color: blue;
}

/*.context-menu {
	max-width: 768px;
    height: auto;
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 24px;
    line-height: 28px;
    color: rgba(255,221,125,1);
    font-family: Calibri;
    text-shadow: 2px 2px 0px #000;
    transform: translate3d(-50%, -50%, 0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.context-menu .button {
	display: inline-block;
    width: 192px;
    height: 192px;
    text-align: center;
}
.context-menu .title {
	font-size: 24px;
    line-height: 28px;
    color: rgba(255,221,125,1);
    font-family: Calibri;
    text-shadow: 2px 2px 0px #000;
}*/

.leaf {
    position: absolute;
    /*content: url(images/gui/icon/toleft.png);*/
    /*top: 90%;*/
    /*left: 94%;*/
    right: 0%;
    top: 16%;
    width: 34px;
    height: 34px;
    z-index: 2;
    /*background-size: 500px 500px;*/
    /*width: max-content;*/
    /*height: max-content;*/
}

.chat-history-window {
    width: 90%;
    height: 80%;
}

.context-menu-wrapper {
    width: 100%;
    /*height: 100%;*/
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    max-height: 70%;
    z-index: 2;
}

.context-menu {
    width: max-content;
    height: auto; 
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
    position: absolute;
    top: 50%;
    left: 50%;
    /*line-height: 48px;*/
    /*color: rgba(255,221,125,1);*/
    text-shadow: 2px 2px 0px #000;
    transform: translate(-50%, -50%);
}

.context-menu .button {
    font-weight: bold;
    display: inline-block;
    width: 150px;
    height: 24px;
    padding-top: 72px;
    font-size: 1.3em;
    /*font-size: 21px;*/
    /*line-height: 24px;*/
    text-align: center;
    background-repeat: no-repeat;
    background-size: 62px 62px;
    background-position: 50% 0px;
    transition: all 0.1s;
}




/*.context-menu-wrapper {
    background: red;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: 45% 10%;
    grid-template-areas:
        "ctx-m-1 ctx-m-2 ctx-m-3"
        "ctx-m-4 context-menu ctx-m-6";
    justify-items: center;
}

.ctx-m-1 {}
.ctx-m-2 {}
.ctx-m-3 {}
.ctx-m-4 {}
.ctx-m-6 {}

.context-menu {
    position: relative;
    background: blue;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(7vw, 1fr));
    width: 100%;
    height: 100%;
}*/






/*.context-menu-wrapper {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 2;
    overflow: hidden;
}
.context-menu-wrapper:after {
    display: inline-block;
    height: 100%;
    width: 0;
    vertical-align: middle;
    content: '';
}
.context-menu {
    display: inline-block;
    vertical-align: middle;
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
}

.context-menu .button {
    font-weight: bold;
    display: inline-block;
    width: 150px;
    height: 24px;
    padding-top: 72px;
    font-size: 1.3em;
    text-align: center;
    background-repeat: no-repeat;
    background-size: 62px 62px;
    background-position: 50% 0px;
    transition: all 0.1s;
    margin: 0 10px 0 10px;
}*/




.context-menu .button:hover {
    filter: brightness(120%);
    transform: scale(1.1);
}

.context-menu-wrapper-old {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.context-menu-old {
    /*margin-top: 5%;*/
    /*padding-top: 15%;*/
    /*height: 100%;*/
    width: max-content;
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
    position: absolute;
    display: flex;
    align-items: flex-start;
    /*justify-content: center;*/
    flex-direction: column;


    top: 50%;
    left: 50%;
    font-size: 1.5em;
    line-height: 1.9em;
    color: rgba(255,221,125,1);
    /*font-family: Calibri;*/
    text-shadow: 2px 2px 0px #000;
    transform: translate3d(-50%, -50%, 0);
    z-index: 5;
}

.context-menu-old .button {
    /*left: 50%;*/
	display: block;
    padding-left: 48px;
    background-repeat: no-repeat;
    background-size: auto 40px;
    background-position: 4px 50%;
	transition: all 0.1s;
}

.context-menu-old .button:hover {
	background-size: auto 48px;
    background-position: 0px 50%;
	filter: brightness(120%);
	padding-left: 52px;
    padding-right: 0px;
}

.context-menu-old .button:before {
    margin-top: 20px;
}

.context-info-top-bar {
    display: block;
    position: absolute;
    width: 100%;
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent);
    height: 18%;
    z-index: 3;
    margin: 0;
    padding: 0;

}

.context-info-inner-wrapper {
    padding-top: 1%;
    padding-left: 1%;
    padding-right: 1%;
    top: 0;
    left: 0;
    height: 100%;
    display: grid;
    grid-template-rows: min-content min-content;
    grid-template-columns: min-content 1% min-content 1% auto 20% min-content;
    grid-template-areas: 
    "clockbar gap-one metainfo-bar gap-two infobar-first-filler player-title-bar player-control-bar"
    "shit-1 shit-2 shit-3 shit-4 infobar-second-filler shit-6 rp-controls";
}

/* harold.jpg */
.shit-1 {}
.shit-2 {}
.shit-3 {}
.shit-4 {}
.shit-5 {}
.shit-6 {}

.infobar-gap-1 {
    grid-area: gap-one;
}

.infobar-gap-2 {
    grid-area: gap-two;
}

.infobar-gap-3 {
    grid-area: gap-three;
}

.infobar-center-filler {
    grid-area: infobar-first-filler;
}

.infobar-left-filler {
    grid-area: infobar-second-filler;
}

.clock-info-bar {
    grid-area: clockbar;
    /*font-weight: bold;*/
    font-size: 1.9em;
}

.metainfo-bar {
    font-size: 1.4em;

    /*height: 20%;*/
    grid-area: metainfo-bar;
    white-space: nowrap;
    display: flex;
    align-items: flex-end;
}

.player-title-bar {
    grid-area: player-title-bar;
    font-size:  1.5em;
    /*grid-column: 6 / 8;*/
    /*white-space: nowrap;*/
}

.player-title-bar marquee {
    width: 100%;
}

.player-control-bar {
    grid-area: player-control-bar;
    /*display: inline-block;*/
    height: 2em;
    display: grid;
    grid-template-columns: auto auto auto auto;
}

.rp-control-bar {
    grid-area: rp-controls;
    display: grid;
    grid-template-columns: auto auto auto auto;
    width: min-content;
    /*grid-gap: 0.5em;*/
    /*flex-direction: row;*/
    /*margin-left: 3px;*/
}

.rp-control-bar .infobar-controls-icon {
    width: 2.5em;
    height: 2.5em;
}

.infobar-controls-icon {
    width: 2em;
    height: 2em;
    background-size: cover;
    margin-right: 0.5em;
}

.infobar-controls-icon:hover {
    filter: brightness(120%);
    transform: scale(1.1);
}

.map {
    position: absolute;
	left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.map .counter {
    position: relative;
    text-shadow: 2.4px 2.4px 0 #000;
    font-size: 1.6em;
    padding-top: 0.7%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.map .counter .inner-text {
    margin-right: 0.7%;
}

.map .mappoint {
	position: absolute;
    width: 64px;
    height: 64px;
    background-color: rgba(255, 0, 0, 0);
    border: solid rgba(0,0,0,0) 2px;
    box-shadow: 0px 0px 10px rgba(255,0,0,0);
    border-radius: 8px;
    transition: all 0.1s;
}

.map .mappoint:hover {
    background-color: rgba(255, 0, 0, 0.1);
    border: solid #ff0000 2px;
    box-shadow: 0px 0px 10px rgba(255,0,0,1);
}

.map .mappoint .point {
    width: 32px;
    height: 32px;
	margin: auto;
	margin-top: -15px;
    /*margin-left: 0px;*/
    background-color: #F00;
    box-shadow: inset 0px 0px 0px 2px #FFF;
    border-radius: 50%/2% 50% 50% 50%;
    transform: rotate(215deg);
}

.map .mappoint .point::before{
    display: block;
    width: 32px;
    height: 32px;
    position: absolute;
    content: attr(online);
    transform: rotate(-225deg);
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: #FFF;
    /*font-family: Calibri;*/
    font-weight: 600;
    text-shadow: 2px 2px 0px #F00;
}

.pose-selector {
    width: 70%;
    height: 400px;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
    position: absolute;
    top: 50%;
    left: 50%;
    margin: auto;
    transform: translate3d(-50%, -50%, 0);
}

.startscreen .pose-selector {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
    position: relative;
    transform: none;
    top: 0%;
    left: 0%;
    margin: auto;
}

.startscreen .header {
    width: 100%;
    height: 10%;
    position: relative;
    display: grid;
}

.header input {
    background-color: rgba(0, 0, 0, 0.1);
    border: none;
    border-bottom: 2px solid;
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 12pt;
    margin: 1.5% auto;
    outline: none;
    width: min-content;
    width: 100%;
    position: absolute;
    z-index: 2;
}

.char-search-bar {
    margin-top: 1%;
    place-self: center;
    width: 19% !important;
    height: 40%;
    font-size: 12pt;
    text-align: center;
}

.char-grid {
    /*position: center;*/
    left: 50%;
    display: grid;
    overflow-y: scroll;
    overflow-x: hidden;
    /*grid-template-columns: repeat(auto-fit, minmax(--gridPoseWidth 1fr));*/
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-row-gap: 30px;
}

.pose-selector::-webkit-scrollbar {
    display: none;
}

.pose-selector .pose {
    /*width: 216px;*/
    width: 100%;
    height: 320px;
    background-size: auto 100%;
    background-position: 50% 0%;
    display: inline-block;
	filter: brightness(50%);
	transition: filter 0.1s;
    /*margin: 20px;*/
    margin: 30px auto 30px auto;
    background-repeat: no-repeat;

    /*-webkit-backface-visibility: hidden;
    -moz-backface-visibility:    hidden;
    -ms-backface-visibility:     hidden;
    -webkit-transform: translate3d(0, 0, 0);*/
    z-index: 1;
}

.pose .char-info-button {
    background-size: cover;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 0;
    right: 15%;
    filter: brightness(50%);
    opacity: 0.5;
}

.pose:hover .char-info-button {
    opacity: 1;
    filter: brightness(100%);
}

/*.pose-selector .pose:after {
    padding-bottom: 20px;
}*/

.pose-selector .pose:hover {
	filter: brightness(100%);
}

.grecaptcha-badge {
    visibility: hidden;
}

.character-editor {
	width: 100%;
    height: 100%;
    /*background-image: url(images/gui/settings/history_bg.jpg);*/
    background-size: cover;
    background-position: center;
}

.character-editor .recaptcha-text {
    position: absolute;
    /*max-width: 30%;*/
    color: white;
    margin: 10px;
}

.recaptcha-text a {
    color: white;
}

.character-editor .pose-selector {
	background-color: unset;
    box-shadow: unset;
}

.character-editor .settings_title {
	position: absolute;
    width: 100%;
    text-align: center;
    top: 93px;
    font-size: 60px;
    line-height: 60px;
    letter-spacing: 2.6px;
    /*font-family: Gothic;*/
    color: #FFF;
}

.character-editor .settings_title img {
    margin: 0 20px;
    transform: translateY(5px);
}

.character-editor .settings_link {
	/*position: absolute;*/
    font-size: 60px;
    /*line-height: 30px;*/
    letter-spacing: 2.6px;
    color: #909ca3;
    /*font-family: Gothic;*/
    user-select: none;
    text-shadow: 2px 2px 0 #000;
}

.character-editor .gui-wrapper {
    position: absolute;
    bottom: 4%;
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.character-editor .buttons-box {
    /*position: absolute;*/
    /*bottom: 4%;*/
    width: 96%;
    /*height: 10%;*/
    height: max-content;
    margin: 0 2% 0 2%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;

    /*grid-template-areas: "link_lb link_rb";*/
    /*grid-template-columns: 50% 50%;*/
    /*grid-template-columns: repeat(auto-fit, 50%);*/
}

.character-editor .link_lb {
    /*grid-area: link_lb;*/
    /*width: max-content;*/
    /*height: max-content;*/
    /*align-self: flex-start;*/
}

.character-editor .link_center {
    /*grid-area: link_center;*/
}

.character-editor .link_rb {
    /*grid-area: link-rb;*/
    /*width: max-content;*/
    /*height: max-content;*/
    /*align-self: flex-end;*/
    /*text-align: right;*/
}

.character-editor .settings_link .link_lb:hover {
    color: #ffffff;
}
.character-editor .settings_link .link_rb:hover {
    color: #ffffff;
}

.character-editor .settings_link .link_center:hover {
    color: #ffffff;
}

.character-editor .charbg {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: auto 100%;
	background-position: 50% 0;
    transform: translateX(-30%);
}

.pose-selector-mini {
    width: max-content;
    max-width: 100%;
    height: unset;
    text-align: center;
}

.pose-selector-mini .pose {
    width: 128px;
    height: 180px;
}


.pose-selector .pose .face-grid {
    display: grid;
}

.pose-selector .pose .face-wrapper {
    display: inline-flex;
    /*max-width: 60px;*/
    flex-direction: column;
    height: 100%;
}

.pose-selector .pose .face {
    /*width: 48px;*/
	/*height: 48px;*/
    /*max-height: 60px;*/
    background-size: auto 600%;
    opacity: 0;
    transition: opacity 0.1s;
	transition: opacity 0.1s;
    background-repeat: no-repeat;
}

.pose-selector .pose:hover .face {
	opacity: 0.75;
}

.pose-selector .pose .face:hover {
	opacity: 1;
}

.pose-selector .title {
	/*background-image: url(online/icons/pose.png);*/
    background-size: auto 100%;
    background-repeat: no-repeat;
    padding-left: 32px;
    /*font-family: Calibri;*/
    width: 300px;
    font-size: 28px;
    line-height: 32px;
    height: 32px;
    color: #ffdd7d;
    text-align: left;
    text-shadow: 2px 2px 0 #000;
    margin-top: 16px;
}

.pose-selector input {
	display: block;
    width: 500px;
    height: 40px;
    background-color: rgba(0,0,0,0);
    border: 0;
    text-align: center;
    color: #ffdd7d;
    text-shadow: 2px 2px 0 #000;
    font-size: 35px;
    /*font-family: Calibri;*/
}

.pose-selector .inputfield {
	background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid white;
    width: 300px;
}

.pose-selector input::-webkit-input-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
}
.pose-selector input:-ms-input-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
}
.pose-selector input::-moz-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
}
.pose-selector input:-moz-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
}

.pose-selector .title span {
	position: absolute;
}

.pose-selector .title input {
	width: 300px;
    height: 32px;
    opacity: 0;
    position: absolute;
}

#notify {
	max-width: 768px;
    height: auto;
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 28px;
    line-height: 28px;
    color: rgba(255,221,125,1);
    /*font-family: Calibri;*/
    text-shadow: 2px 2px 0px #000;
	/*animation-name: hide;*/
    /*animation-delay: 10s;*/
    /*animation-duration: 0.5s;*/
    /*animation-fill-mode: forwards;*/
}

.fade {
	position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
	animation-name: show;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}
.fadein {
	animation-name: hide;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}
.fadeout {
	animation-name: show;
    animation-duration: 0.5s;
	transition: unset !important;
}

@keyframes show {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes hide {
    0% {opacity: 1;}
    100% {opacity: 0;}
}
@keyframes hidetext {
    0% {transform:translateX(0px); opacity: 1;}
    100% {transform:translateX(-100%); opacity: 0;}
}
@keyframes redAlert {
    0% {background-color: rgba(255,0,0,1);}
    100% {background-color: rgba(255,0,0,0);}
}

.context-menu .context-flex-window {
    width: 100%;
    height: 100%;
    display: flex;
}

.context-flex-window .context-flex-container {
    display: flex;
}

.settings-window {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    user-select: none;
}

.settings-window .settings-container {
    width: 100%;
    height: min-content;
    display: flex;
    justify-content: center;
}

.settings-container .settings-title {
    font-size: 1.5em;
}

.settings-container .progress-bar {
    background: transparent;
    margin-left: 10px;
}

.settings-container .icheckbox {
    margin-left: 10px;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
}

.settings-container .icheckbox-checked {
    box-shadow: inset 0 0 10px #454030;
}

input[type=range] {
  -webkit-appearance: none;
  width: 30%;
}
input[type=range]:focus {
  outline: none;
}


/*input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
  js
}*/
/*input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 20px;
  width: 20px;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
  js
}*/


/*input[type=range]:focus::-webkit-slider-runnable-track {
  background: #367ebd;
  js?
}*/

/*input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}*/



/*

    * Р’РҐРћР” РќРђ РљР›РђР”Р‘РР©Р• Р‘Р›Рћ *

*/

.brightness10 .character {
    filter: brightness(10%);
}
.brightness20 .character {
    filter: brightness(20%);
}
.brightness30 .character {
    filter: brightness(30%);
}
.brightness40 .character {
    filter: brightness(40%);
}
.brightness50 .character {
    filter: brightness(50%);
}
.brightness60 .character {
    filter: brightness(60%);
}
.brightness70 .character {
    filter: brightness(70%);
}
.brightness80 .character {
    filter: brightness(80%);
}
.brightness90 .character {
    filter: brightness(90%);
}
.brightness100 .character {
    filter: brightness(100%);
}

.brightness10 .glow {
    filter: brightness(20%) drop-shadow(0px 0px 10px #FFF);
}
.brightness20 .glow {
    filter: brightness(30%) drop-shadow(0px 0px 10px #FFF);
}
.brightness30 .glow {
    filter: brightness(40%) drop-shadow(0px 0px 10px #FFF);
}
.brightness40 .glow {
    filter: brightness(50%) drop-shadow(0px 0px 10px #FFF);
}
.brightness50 .glow {
    filter: brightness(60%) drop-shadow(0px 0px 10px #FFF);
}
.brightness60 .glow {
    filter: brightness(70%) drop-shadow(0px 0px 10px #FFF);
}
.brightness70 .glow {
    filter: brightness(80%) drop-shadow(0px 0px 10px #FFF);
}
.brightness80 .glow {
    filter: brightness(90%) drop-shadow(0px 0px 10px #FFF);
}
.brightness90 .glow {
    filter: brightness(100%) drop-shadow(0px 0px 10px #FFF);
}
.brightness100 .glow {
    filter: brightness(110%) drop-shadow(0px 0px 10px #FFF);
}
.glow {
    filter: brightness(110%) drop-shadow(0px 0px 10px #FFF);
}

.context-menu .title {
    display: block;
    width: 400px;
    text-align: center;
    background-repeat: no-repeat;
    background-size: auto 40px;
    background-position: 4px 50%;
}

.context-menu .radio {
    display: inline-block;
    text-align: center;
    width: 50%;
    background-repeat: no-repeat;
    background-size: auto 40px;
    background-position: 4px 50%;
    transition: all 0.1s;
}

.context-menu .radio:hover {
    transform: scale(1.1);
}

.context-menu .checked {
    color: #92ff00;
    transform: scale(1.1);
}

.context-menu .hbar {
	-webkit-appearance: none;
	display: block;
	background: linear-gradient(0deg, rgba(100,165,68,1) 0%, rgba(191,238,128,1) 100%), linear-gradient(0deg, rgba(207,153,101,1) 0%, rgba(157,105,69,1) 100%);
	background-size: 10% 100%, 100% 100%;
	background-repeat: no-repeat;
	width: 250px;
	float: right;
	height: 24px;
	transform: translateY(5px);
	margin-top: 10px;
}

.context-menu .help {
	width: 140px;
	display: inline-block;
	text-align: right;
}

.context-menu .hbar::-webkit-slider-thumb{
    -webkit-appearance: none;
    /*background-image: url(images/gui/settings/htumb.png);*/
    background-size: 100%;
    width: 24px;
    height: 24px;
    border-radius: 0px;
}

.context-menu .hbar::-moz-range-thumb{
    /*background-image: url(images/gui/settings/htumb.png);*/
    background-size: 100%;
    width: 24px;
    height: 24px;
	border: 0;
    border-radius: 0px;
}

.spritepacks {
/*    background-image: url(images/gui/save_load/save_bg.jpg);*/
}

.spritepacks .pack {
    text-align: left;
    display: inline-block;
    width: 380px;
    height: 140px;
    transition: all 0.1s;
}

.spritepacks .pack img {
    position: absolute;
    display: inline-block;
    width: 128px;
    height: 128px;
    margin: 6px;
}

.spritepacks .pack .desc {
    display: inline-block;
    /*font-family: Calibri;*/
    font-size: 25px;
    line-height: 26px;
    position: absolute;
    margin-left: 140px;
    margin-top: 6px;
    width: 240px;
    height: 32px;
    color: #ffdd7d;
    text-align: left;
    text-shadow: 2px 2px 0 #000;
}

.spritepacks .pack .mod_thumbnail {
    position: absolute;
    width: 380px;
    height: 140px;
}

.spritepacks .pack .switch {
    display: inline-block;
    /*font-family: Calibri;*/
    font-size: 25px;
    line-height: 26px;
    position: absolute;
    width: 370px;
    margin-top: 108px;
    text-align: right;
    height: 32px;
    color: #ffdd7d;
    text-align: right;
    text-shadow: 2px 2px 0 #000;
}

@-webkit-keyframes markquee_slide {
    0% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    100% {
        -webkit-transform: translate(-100%, 0);
        transform: translate(-100%, 0)
    }
}
 
@-moz-keyframes markquee_slide {
    0% {
        -moz-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    100% {
        -moz-transform: translate(-100%, 0);
        transform: translate(-100%, 0)
    }
}
 
@keyframes markquee_slide {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0)
    }
}
 
.marquee {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}
 
.marquee span {
    display: inline-block;
    padding-left: 100%;
    -webkit-animation: markquee_slide 5s infinite linear;
    -moz-animation: markquee_slide 5s infinite linear;
    animation: markquee_slide 5s infinite linear;
}

.mini-img {
    max-height: 64px;
    max-width: 64px;
}

.img-preview {
    position: fixed;
    top: 0;
    right: 0;
    max-width: 49%;
    max-height: 100%;
    z-index:99;
}
