:root {
    --4C1917: #4C1917;
    --4C1916: #4C1916;
    --500D07: #500D07;
    --500D08: #500D08;
    --7C160D: #7C160D;
    --7C160E: #7C160E;
    --7C160F: #7C160F;
    --B02213: #B02213;
    --B02214: #B02214;
    --B02215: #B02215;
    --B02216: #B02216;
    --DF8A22: #DF8A22;
    --F76823: #F76823;
    --3C0904: #3C0904;
    --290100: #290100;
    --FFB253: #FFB253;
    --FFD7A6: #FFD7A6;
    --510D08: #510D08;
    --2F160A: #2F160A;
    --3A0905: #3A0905;
    --571207: #571207;
    --723010: #723010;
    --351508: #351508;
    --8D1C10: #8D1C10;
    --FFD7A5: #FFD7A5;
    --72140C: #72140C;
    --FF6624: #FF6624;
    --FD7939: #FD7939;
    --FDA50F: #FDA50F;
    --FFC055: #FFC055;
}

/* font-styles */

body {
    --4px: 0.15625vw;
    --8px: 0.31250vw;
    --9px: 0.46875vw;
    --10px: 0.5208vw;
    --12px: 0.625vw;
    --13px: 0.67708vw;
    --14px: 0.72917vw;
    --16px: 0.83vw;
    --18px: 0.9375vw;
    --20px: 1.0417vw;
    --24px: 1.25vw;
    --32px: 1.667vw;
    --36px: 1.875vw;
    --45px: 2.34375vw;
    --48px: 2.5vw;
    --54px: 2.8125vw;
    --96px: 5vw;
    --144px: 7.5vw;
    --180px: 9.375vw;

    background: var(--2F160A);
}

/* main styles */

#background {
    position: fixed;
    z-index: -100;
    width: 74%;
    filter: drop-shadow(-20px 20px 1rem rgba(0, 0, 0, 0.3));
    right: 0;
}

.section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-wrap: wrap;
}

.section-donate {
    display: flex;
    justify-content: center;
    height: max-content;
    flex-wrap: wrap;
    min-height: 100%;
    align-content: flex-start;
    gap: 48px;
}

.section[data-anchor="1"] {
    justify-content: start;
}

#mainText {
    position: relative;
    width: 58%;
    left: 3.5%;
}

/* nav styles */

#nav {
    width: 100%;
    position: fixed;
    z-index: 3;
}

#header {
    position: absolute;
}

#anim {
    width: 100%;
    position: absolute;
    z-index: -1;
}

#links {
    position: fixed;
    width: 5%;
    top: 0.5%;
    left: 1.5%;
}

#authuser {
    position: fixed;
    width: 11%;
    left: 85%;
    top: 0.2%;
}

#authuser2 {
    opacity: 0;
    display: none;
    position: fixed;
    cursor: pointer;
    width: 2.3%;
    left: 85%;
    top: 0.75%;
}

#authuser-mini {
    display: none;
    position: fixed;
    width: 7.45%;
    left: 72.35%;
    top: 0.75%;
}

#notification {
    position: fixed;
    width: 2.5%;
    left: 82%;
    top: 0.95%;
    cursor: pointer;
}

#notification-list {
    position: fixed;
    width: 18.59%;
    background: var(--3C0904);
    display: flex;
    flex-wrap: wrap;
}

.notification-list-1 {
    left: 64.6%;
    top: 3.5%;
}

.notification-list-2 {
    left: 53.8%;
    top: 4.1%;
}

#noauthuser {
    position: fixed;
    width: 17.6%;
    left: 81.7%;
    top: 0.2%;
}

#noauthuser2 {
    opacity: 0;
    display: none;
    position: fixed;
    cursor: pointer;
    width: 2.3%;
    left: 82.5%;
    top: 0.75%;
}

#noauthuser-mini {
    display: none;
    position: fixed;
    width: 6.458%;
    left: 73.4%;
    top: 0.75%;
}

#texture {
    position: fixed;
    width: 2.3%;
    left: 96.6%;
    top: 0.6%;
}

#navbar {
    position: fixed;
    width: 14.32%;
    height: 21%;
    left: 85.49%;
    top: 28.24%;
}

.skin-viewer {
    position: absolute;
    width: 42%;
    left: 16%;
    bottom: -5px;
    z-index: 2;
}

.skin-viewer-button {
    width: 10%;
    margin-left: 3%;
}

#isSlimCheckBox {
    width: 10%;
}

.navbar-element, .navbar-element-sm {
    transition: opacity .3s;
}

/* ashan styles */

#ashan {
    width: 85%;
}

.ashan-select-info {
    display: none;
}

.ashan-text {
    text-align: center;
    font-size: var(--18px);
}

.ashan-text span {
    display: block;
    padding: 5px 0;
}

/* lotr style */

#lotr {
    width: 85%;
}

foreignObject img {
    width: 100%;
}

foreignObject > div {
    width: 100%;
    height: 100%;
    background-size: cover;
}

.skin-texture {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    padding: 10px;
    background: var(--3C0904);
    border-radius: 17px;
}

.lotr-news foreignObject a {
    display: block;
    padding: 20px 15px;
    font-size: var(--14px);
}

/* landhorizon styles */

#landhorizon {
    position: absolute;
    width: 85%;
    margin-top: 5%;
}

#landhorizon foreignObject {
    background-size: cover;
}

.landhorizon-carousel {
    cursor: pointer;
    fill: transparent;
}

/* footer style */

#footer {
    width: 100%;
}

#minigames {
    position: absolute;
    width: 85%;
    margin-bottom: 10%
}

#start > svg {
    width: 80%;
}

/* rules styles */

#rules {
    width: 70.5%;
}

#rules-scrolled {
    overflow: scroll;
    height: 100%;
    scrollbar-width: none;
}

.profession_selected {
    display:flex;
    flex-direction: column;
    gap: 4px;

    margin-left: 12px;

    color: var(--DF8A22);
}

#rules-background {
    z-index: -100;
    width: 100%;
    height: 100%;
}

.rules-page, .rules-page a {
    cursor: pointer;
}

.rules-text {
    font-size: var(--14px);
    display: none;
    line-height: 1.6;
    text-indent: 15px;
}

.rules-text h1 {
    text-indent: 0;
}

.rules-text .ul {
    font-size: var(--16px);
    display: list-item;
    list-style: disc inside;
    text-indent: 0;
    color: var(--DF8A22);
}

.rules-text span {
    color: var(--DF8A22);
}

/* donate style */

#donate-head {
    width: 100%;
    height: 15%;
    display: flex;
    gap: 4%;
    justify-content: center;
    align-items: center;
    flex-basis: 100%;
    margin-top: 5%;
    z-index: 2;
}

#donate-body {
    width: 100%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 100%;
    z-index: 1;
}

#donate-select-lotr {
    position: absolute;
    top: 34.1%;
    left: 18.8%;
    width: 18.6%;
    z-index: 3;
}

#donate-main-lotr {
    position: absolute;
    top: 33.43%;
    left: 42%;
    width: 49%;
}

#donate-other-lotr {
    position: absolute;
    top: 36%;
    left: 11.35%;
    width: 77.6%;
}


.donate-none {
    width: 45%;
    margin: 10% 0;
}

.donate-other, .donate-kits, .donate-sets {
    width: 100%;
    display: none;
    justify-content: center;
}

.donate-combobox {
    width: 20%;
    position: relative;
    display: flex;
    justify-content: center;
}

.donate-combobox > svg {
    position: absolute;
}

.donate-combobox > div {
    width: 93.5%;
    margin-top: 10%;
}

.donate-combobox div a {
    width: calc(100% - var(--18px));
}

#donate-select-lotr svg {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
}

#donate-select-lotr a {
    position: relative;
    display: block;
    font-size: var(--18px);
    padding-left: 9%;
    top: 0;
    z-index: 3;
    width: 70%;
    cursor: pointer;
}

#donate-select-lotr .selected {
    left: 15%;
}

.donate-select-variants {
    height: 12.5%;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#donate-select-lotr img {
    top: 13%;
    left: 80%;
    position: absolute;
    width: 14.1956%;
}

#donate-scrolled {
    overflow: scroll;
    scrollbar-width: none;
}

#donate-main-lotr text a {
    fill: var(--DF8A22);
}

#donate-arrow {
    transition: transform .3s;
}

.donate-slider {
    cursor: pointer;
}

#donate-items {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.donate-item-slot {
    background: var(--3A0905);
    width: 30px;
    height: 30px;
    border-radius: 7px;
    position: relative;
}

.donate-item-slot a {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: var(--10px);
    color: var(--FFD7A6);
    text-shadow: 1px 1px 1px #000;
}

.item-block {
    width: 86%;
    height: 90%;
    margin: 5% 7%;
}

.donate-item-desc {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donate-item-desc a {
    padding: 2px;
    background: var(--3A0905);
    border-radius: 6px;
    color: var(--FFD7A6);
    font-size: var(--10px);;
}

.donate-item-desc div {
    width: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--B02213);
}

.yoomoney-payment-form, .yoomoney-payment-form div {
    width: 100%;
    height: 100%;
}

#donate-other-landhorizon, #donate-kits-landhorizon, #donate-sets-landhorizon {
    width: 70%;

    display: flex;
    gap: 5%;
    flex-wrap: wrap;
}

#donate-kits-landhorizon, #donate-sets-landhorizon {
    display: none;
}

#donate-kits-landhorizon .donate-other-landhorizon-card-desc {
    margin: var(--12px) var(--8px) var(--8px) var(--8px);
}

#donate-sets-landhorizon .donate-other-landhorizon-card:nth-child(1) {
    margin-left: 5%;
}

#donate-sets-landhorizon .donate-other-landhorizon-card:nth-child(3) {
    margin-right: 5%;
}

.donate-other-landhorizon-card {
    width: 20%;
    margin: var(--48px) 0;

    background-image: url("/assets/svg/donate/landhorizon-card.svg");
    background-size: contain;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #F5FFFE;
    font-size: var(--14px);
}

.donate-other-landhorizon-card > img {
    position: relative;
    top: -3vh;
    left: -0.2vw;
    width: 55%;
}

.donate-other-landhorizon-card-title {
    font-family: "KingthingsPetrockRus";
    font-size: var(--24px);
    text-wrap: balance;
    text-align: center;
    height: var(--48px);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: calc(-1 * var(--16px));
    margin-left: calc(-1 * var(--12px));
    max-width: 75%;
    line-height: 1;
}

.donate-other-landhorizon-card-desc {
    margin: var(--8px);
    height: 7.5vw;
    width: calc(100% - var(--48px));
    text-align: center;
    line-height: 1.25;
}

.donate-other-landhorizon-card-desc span {
    color: #40FEF3;
}

.donate-other-landhorizon-card > div:last-of-type {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: var(--4px) var(--12px)
}

.donate-other-landhorizon-card > div:last-of-type img {
    width: var(--20px);
}

.donate-other-landhorizon-card > div:last-of-type > div {
    background-image: url("/assets/svg/donate/landhorizon-card-button.svg");
    background-size: contain;
    background-repeat: no-repeat;

    width: 128px;
    height: var(--32px);

    font-family: "KingthingsPetrockRus";
    font-size: var(--24px);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4%;
    cursor: pointer;
    position: relative;
}

/*.donate-other-landhorizon-card > div:last-of-type > div:after {*/
/*    content: "-15 %";*/
/*    position: absolute;*/
/*    font-size: 11px;*/
/*    right: 4px;*/
/*    top: -4px;*/
/*    font-family: 'DaysOne-Regular';*/
/*    background-color: var(--F76823);*/
/*    color: var(--3C0904);*/
/*    padding: 2px;*/
/*    border-radius: 4px;*/
/*}*/

.donate-other-landhorizon-card > div > a {
    cursor: pointer;
}

.donate-other-landhorizon-card > div > a > svg {
    height: var(--32px);
    margin: var(--4px) var(--12px);
}

/* forms styles */

#formZone {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 10%;
    position: relative;
}

#form {
    width: 80%;
    background: var(--500D07);
    border: solid var(--10px) var(--72140C);
    border-radius: 20px;
    margin-bottom: 5%;
}

#form-body {
    position: relative;
}

#forms-panel {
    width: 24%;
    position: fixed;
    right: 0;
    top: 15%;
    z-index: 2;
}

#forms-panel-combobox {
    position: fixed;
    right: 2%;
    top: 16.5%;
    width: 20%;
    z-index: 2;
}

#players-scrolled {
    height: 100%;
    overflow: scroll;
}

#players-scrolled svg {
    cursor: pointer;
}

#dragon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20%;
}

#comment {
    position: absolute;
    top: var(--32px);
    right: var(--32px);
    width: 30%;
}

#comment a, #commentBlock textarea {
    color: var(--FFD7A6);
    font-size: var(--13px);
}

#commentBlock {
    width: 24%;
    position: fixed;
    right: 24%;
    top: 23%;
    z-index: 2;
}

#form-header {
    display: flex;
    background: var(--3C0904);
    border-radius: 10px 0;
    justify-content: space-between;
}

#form-header a {
    font-size: var(--48px);
    color: var(--FFD7A6);
    padding: 10px;
    margin-left: 5%;
}

#form-header a:last-of-type {
    font-size: var(--18px);
    padding: var(--10px) var(--32px);
    margin-right: 5%;
    border-radius: 10px;
    border: 4px solid var(--DF8A22);
    background: var(--500D07);
    align-self: center;
}

#form-server {
    display: flex;
    flex-wrap: wrap;
}

#form-server div {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 5%;
    margin: 2% 0;
    z-index: 1;
}

#form-server div svg {
    width: 20%;
    z-index: 1;
    position: relative;
}

#form-server div svg tspan {
    cursor: pointer;
}

#form-server a {
    font-size: var(--32px);
    color: var(--FFD7A6);
    padding: var(--10px) 3%;
    margin: 2% 2% 0 2%;
}

#form-server a:last-of-type {
    opacity: 0;
    border: solid 2px var(--DF8A22);
    border-radius: var(--10px);
}

#form-questions {
    transition: height .5s;
    overflow: hidden;
}

#form-questions > div {
    opacity: 0;
    height: 0px;
    flex-wrap: wrap;
    margin-bottom: 2%;
}

#form-questions > a {
    opacity: 0.3;
    font-size: var(--32px);
    color: var(--FFD7A6);
    padding: var(--10px) 3%;
    margin: 2%;
}

#form-questions > div > hr {
    width: 75%;
    border: 0;
    height: 3px;
    margin: 2% 0 2% 5%;

    background-image: linear-gradient(to right, var(--72140C) 33%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 45px 3px;
}

#form-questions #q-button {
    display: flex;
}

#q-button {
    display: none;
    justify-content: center;
    cursor: pointer;
}

#q-button svg {
    width: 20%;
}

.q {
    display: flex;
    flex-wrap: wrap;
    width: 93%;
    margin: 0 0 2% 5%;
}

.q > div {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-self: center;
}

.q-t a:nth-child(1) {
    font-size: var(--32px);
    color: var(--FFD7A6);
    font-family: "KingthingsPetrockRus";
}

.q-t a:nth-child(2) {
    font-size: var(--12px);
    color: var(--DF8A22);
    margin-right: var(--12px);
}

.q-t a:nth-child(3) {
    font-size: var(--12px);
    color: var(--DF8A22);
    border: 1px solid #4C3F48;
    padding: 10px;
    width: fit-content;
    margin-top: 5px;
    border-radius: 10px;
    opacity: 0.5;
    cursor: pointer;
    text-decoration: none;
}

.q-t a:nth-child(3):hover {
    opacity: 1;
}

.q-i {
    width: calc(50% - var(--36px));
    font-size: var(--18px);
    color: var(--FFD7A6);
    background: var(--3C0904);
    border-radius: var(--10px);
    padding: var(--18px);
    min-height: var(--24px);
}

.q-i-textarea {
    outline: none;
    border: none;
    resize: none;
    overflow: auto;
}

.q-i-text {
    resize: none;
    width: calc(20% - var(--36px))
}

.q-i-one-row {
    max-height: var(--24px);
}

.q-i-combobox {
    position: relative;
    padding: 0;
    margin-bottom: 2.5%;
}

.combobox {
    position: absolute;
    width: calc(100% - var(--36px));
    padding: var(--18px);
    background: var(--3C0904);
    border-radius: var(--10px);
    z-index: 2;
    cursor: pointer;
}

.combobox a {
    padding: var(--9px) 0 var(--9px) var(--18px);
    cursor: pointer;
}

.combobox div:last-of-type {
    height: 100%;
    display: flex;
    justify-content: end;
    position: absolute;
    right: 0;
    top: 0;
}

.combobox hr {
    margin: 0;
    border: 0;
    border-left: 4px solid var(--500D07);
}

.combobox svg {
    transition: transform 0.5s;
}

.combobox-o.combobox-open {
    z-index: 4;
}

.combobox.combobox-open {
    z-index: 5;
}

.combobox-o {
    width: calc(100% - var(--36px));
    padding: var(--18px);
    position: absolute;
    background: var(--290100);
    border-radius: var(--10px);
    z-index: 1;
    overflow: hidden;
    display: none;
}

.combobox-o div {
    width: 100%;
    margin-top: var(--45px);
    overflow: auto;
    max-height: var(--180px);
    scrollbar-width: none;
}


.combobox-o a {
    display: block;
    width: 75%;
    padding: var(--9px) 0 var(--9px) var(--18px);
    cursor: pointer;
    border-radius: var(--10px);
}

.combobox-o a:hover {
    background: var(--B02213);
}

.combobox-o svg {
    position: absolute;
    height: calc(100% - var(--54px));
    margin-top: var(--36px);
    border-left: 2px solid var(--500D07);
    right: 0;
    z-index: 2;
}

@keyframes animation-element-down {
    0% {
        opacity: 0;
        transform: translateY(10%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#q-i-file {
    padding: var(--9px);
}

foreignObject textarea {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0;
    background: transparent;
    resize: none;
}

.forms-combobox {
    display: block;
    font-size: var(--18px);;
    padding: 2.5% 12%;
}

#forms-combobox {
    padding: 0.35% 0;
    overflow: scroll;
    scrollbar-width: none;
    height: 99.3%;
}

/* modal styles */

.hmodal {
    display: none;
    position: fixed;
    opacity: 0;
    top: -10vh;
    left: 0;
    width: 100%;
    height: 110vh;
    background-color: rgba(0, 0, 0, .5);
    z-index: 4;
    /*backdrop-filter: blur(2px); */
    justify-content: center;
    align-items: center;
}

.hmodal > svg {
    position: relative;
    width: 40%;
    top: -5vh;
}

.hmodalclose, .hmodalopen {
    cursor: pointer;
}

.hmodal input {
    font-size: var(--18px);
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: transparent;
    text-align: center;
    outline: none;
}

.hmodal input::placeholder {
    color: currentColor;
    opacity: 0.5;
}

#head .hmodal {
    z-index: 5;
}

/* notifications styles */

#notification-list div {
    background: var(--500D07);
    border-radius: 7px;
    margin-bottom: 2px;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    padding: 4px 0;
}

#notification-list a {
    color: var(--FFD7A6);
    font-size: var(--13px);
    left: var(--16px);
    position: relative;
}

#notification-list div svg {
    width: var(--12px);
    height: var(--14px);
    position: relative;
    left: var(--10px);
}

#notification-list table {
    width: 95%;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #F5FFFE;
    -webkit-background-clip: text;
    caret-color: #F5FFFE;
}

.htip, .hcheckbox, .htip text, .hcheckbox text {
    cursor: pointer;
}

.htip-element, .hcheckbox-element {
    opacity: 0;
}

.htip-element {
    display: none;
}

.hbutton {
    transition: filter 0.3s;
}

.hbutton:hover {
    filter: drop-shadow(0px 4px 4px #00000063);
}


/* loading styles */

#loading {
    display: flex;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(41, 18, 7, 1.0);
    /* backdrop-filter: blur(3px); */
    justify-content: center;
    align-items: center;
    z-index: 99999;
    overflow: hidden;
}

#loading img {
    position: relative;
    width: 20%;
    animation-name: resize;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/* layout styles */

path[stroke], rect[stroke] {
    fill: transparent;
}

.color-FFD7A6 {
    color: var(--FFD7A6);
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.brf {
    flex-basis: 100%;
    height: 0;
}

.width-full {
    width: 100%;
}

.height-full {
    width: 100%;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.position-relative {
    position: relative;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.crossed {
    text-decoration: line-through;
}

.underline, a.underline:hover {
    text-decoration: underline;
}

svg > a, svg > a text, g text, .pointer, .pointer a, .pointer tspan {
    cursor: pointer;
}

tspan, text, a {
    cursor: default;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

::-webkit-scrollbar {
    width: 0;
}

a:hover, a:focus, a:active {
    text-decoration: none;
    outline: none;
}

@keyframes resize {
    0% {
        width: 20%;
    }
    50% {
        width: 17%;
    }
    100% {
        width: 20%;
    }
}