@font-face {
    font-family: noto-serif;
    src: url(/fonts/Noto_Serif_Bengali/NotoSerifBengali-VariableFont_wdth\,wght.ttf);
}

@font-face {
    font-family: source-sans-pro;
    src: url(fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf);
}

@font-face {
    font-family: Lexend;
    src: url(fonts/Lexend/Lexend-VariableFont_wght.ttf);
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow: auto;
    font-family: Lexend, sans-serif;
    position: relative;
}


body {
    background-color: #102648;
}


.devnotify, .testnotify {
    position: fixed;
    bottom: 5px;
    left: 5px;
    z-index: 15;
    font-size: 14px;
    color: #fff;
    background-color: #f44;
    padding: 5px 10px;
    border-radius: 10px;
}

.testnotify {
    background-color: #59f;
}

#main {
    overflow: auto;
    height: 100%;
    width: 100%;
    position: relative;
    background-image: url(/img/background.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.left-section, .right-section {
    margin-top: -10px;
}

a.link {
    color: orange;
    text-decoration: none;
    cursor: pointer;
}

a.link:hover {
    text-decoration: underline;
}

nav {
    position: sticky;
    top: 10px;
    width: 95%;
    max-width: 1000px;
    background-color: #203658;
    border-radius: 6px;
    margin: 10px auto;
    box-shadow: 0 0 10px #0005;
    text-align: center;
    z-index: 5;
}

nav a {
    display: inline-block;
    text-decoration: none;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 17px;
    color: #eebc62;
    transition-property: background-color;
    transition-duration: 0.2s;
    text-align: center;
}

nav a:hover {
    background-color: #fff2;
}

.mainElement {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
}

header.mainElement {
    margin-top: 10px;
}

header {
    height: 200px;
    border-radius: 6px;
    background-color: #fff1;
    box-shadow: 0 0 10px #0005;
    backdrop-filter: blur(5px);
    overflow: auto;
}

header .content {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    margin: 5px;
    background-image: url(img/header-bg.jpg?v=2);
    background-position: center -100px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
}

footer {
    border-radius: 6px;
    background-color: #203658;
    box-shadow: 0 0 10px #0005;
    box-sizing: border-box;
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    margin-bottom: 10px !important;
    margin-top: 10px !important;
    text-align: center;
    overflow: auto;
    color: white;
}

#copyright,
#pageload {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    width: 30%;
    min-width: 200px;
}

#main .container {
    border-radius: 5px;
    box-shadow: 0 0 10px #0005;
    color: #ddd;
}

#main .container .head {
    background-color: #203658;
    padding: 5px;
    border-radius: 5px 5px 0 0;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    color: #eebc62;
    text-transform: uppercase;
    border-bottom: 3px solid #258;
}

#main .container .content {
    min-height: 30px;
    background-color: #40567888;
    backdrop-filter: blur(5px) saturate(200%);
    border-radius: 0 0 5px 5px;
    overflow: auto;
    padding: 10px;
}

.cookies-denied #main .container.cookies-required .content {
    pointer-events: none;
    user-select: none;
    position: relative;
}

.cookies-denied #main .container.cookies-required .content::before, .maintenance-mode #main .container.disable-on-maintenance .content::before {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #000b;
    content: "Ehhez a funkcióhoz el kell fogadnod a sütiket!";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(5px);
    color: #f00;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    text-align: center;
    box-sizing: border-box;
}

.maintenance-mode #main .container.disable-on-maintenance .content::before {
    content: "Ez a funkció jelenleg karbantartás miatt nem használható!";
}

.cookies-notifier {
    position: fixed;
    z-index: 50;
    max-width: 500px;
    width: calc(100% - 65px);
    background-color: rgba(85, 102, 153, 0.333);
    border: 3px solid rgb(51, 68, 119);
    border-radius: 15px;
    right: 30px;
    bottom: 15px;
    backdrop-filter: blur(2px);
}

.cookies-notifier-content {
    border-radius: 10px;
    background-color: #10264899;
    padding: 5px 5px 5px 150px;
    margin: 5px;
    background-image: url(https://www.hytale.com/static/images/kweebec.png);
    background-position: 5px center;
    background-size: 150px;
    background-repeat: no-repeat;
    font-size: 14px;
    color: #f77;
}

.cookies-notifier-button {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    border: 2px solid #fff9;
    border-radius: 10px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    text-decoration: none;
}

.cookies-notifier-button:hover {
    background-color: #fff9;
    color: #333;
}

.cookies-allowed .cookies-notifier {
    display: none;
}

.serverlist {
    display: flex;
    flex-wrap: wrap;
}

.serverlist .oneserver {
    width: calc(50% - 30px);
}

.oneserver {
    position: relative;
    top: 0;
    display: block;
    text-decoration: none;
    color: white;
    width: 90%;
    max-width: calc(468px + 10px);
    margin: 10px auto;
    background-color: #0004;
    padding: 5px;
    border-radius: 5px;
    transition-property: top;
    transition-duration: 0.2s;
}

.oneserver .featured-weight-display.free {
    padding-right: 5px;
}

.oneserver .featured-weight-display::before {
    content: "★";
    margin-right: 3px;
}

.oneserver .votes,
.oneserver .featured-weight-display {
    font-size: 13px;
    position: absolute;
    top: 5px;
    padding: 0 8px 2px 8px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f90;
}

.oneserver .featured-weight-display {
    display: none;
}

.oneserver.featured {
    border: 1px solid #ff9900;
}

.oneserver.featured .featured-weight-display {
    display: flex;
}

.oneserver:hover {
    top: -3px;
}

.oneserver .votes {
    right: 5px;
    color: #fff;
    background-color: #25f;
}

.oneserver .votes.negative {
    background-color: #f52;
}

.oneserver .votes::before {
    content: "▲";
    margin-right: 3px;
    position: relative;
    top: -1px;
}

.oneserver .votes.negative::before {
    content: "▼";
    top: 0;
}

.oneserver .name {
    font-size: 18px;
    padding: 5px;
    text-align: center;
}

.oneserver .banner {
    width: 100%;
    max-width: 468px;
    max-height: 60px;
    display: block;
    margin: 5px auto;
}

.oneserver .playercount,
.oneserver .address {
    font-size: 16px;
    text-align: center;
    width: calc(100% - 5px);
    margin-left: 2.5px;
    padding: 5px;
    box-sizing: border-box;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

.oneserver .playercount {
    background-color: orange;
    margin-bottom: 5px;
}

.oneserver .playercount.offline {
    background-color: red;
}

.oneserver .playercount.online {
    background-color: green;
}

.oneserver .address {
    background-color: #259;
    position: relative;
}

.oneserver .address::before {
    display: none;
    content: "másolás";
    width: 90%;
    margin: 0 auto 0 auto;
    height: 80%;
    position: absolute;
    top: 10%;
    left: 5%;
    background-color: #0005;
    border-radius: 10px;
    backdrop-filter: blur(3px);
    transition-property: background-color;
    transition-duration: 0.2s;
}

.oneserver .address:hover::before,
.oneserver .address.copied::before,
.oneserver .address.copyerror::before {
    display: block;
}

.oneserver .address.copied::before {
    content: "másolva";
    background-color: #0f05;
}

.oneserver .address.copyerror::before {
    content: "hiba";
    background-color: #f005;
}

.serverlist .paginationButton,
.serverlist .pageButton {
    display: inline-block;
    text-align: center;
    border: 1px solid #999;
    border-radius: 10px;
    color: #fff;
    transition-property: background-color, color, border;
    transition-duration: 0.2s;
    font-weight: bold;
    font-size: 30px;
    font-family: Söhne Mono, Monaco, Andale Mono, Ubuntu Mono, monospace;
    width: 70px;
    height: 50px;
    line-height: 45px;
    text-decoration: none;
    vertical-align: top;
    margin: 3px;
}

.serverlist .paginationButton {
    font-family: source-sans-pro;
}

.serverlist .pageButton.selected {
    color: #fb0;
}

.serverlist .paginationButton:hover,
.serverlist .pageButton:hover {
    background-color: #fffb;
    color: #000;
    border: 1px solid #09f;
}

.serverlist .pageButton {
    font-size: 20px;
    width: 60px;
    line-height: 50px;
}

.serverlist .pageNavigation {
    width: 100%;
    text-align: center;
    overflow: auto;
}

#serversContainer {
    margin-bottom: 10px;
}

.searchBox {
    padding: 5px;
    background-color: #0003;
    border-radius: 15px;
}

.searchBox input {
    padding: 0 10px;
    border: none;
    border-radius: 10px;
    width: calc(100% - 80px);
    display: inline-block;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
}

.searchBox .searchButton {
    width: 73px;
    height: 38px;
    line-height: 42px;
    display: inline-block;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #fff9;
    vertical-align: middle;
    margin-top: 1px;
    transition-property: background-color, border;
    transition-duration: 0.2s;
    cursor: pointer;
    color: #fff;
}

.searchBox .searchButton:hover {
    background-color: #fff9;
    border: 1px solid #fff;
}

input.multiform-input {
    width: 100%;
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 5px;
    border: none;
}

textarea.multiform-input {
    width: 100%;
    height: 200px;
    box-sizing: border-box;
    resize: vertical;
    border-radius: 10px;
    padding: 10px;
}

div.multiform-field {
    margin: 10px 0;
}

div.multiform-field .name {
    font-size: 16px;
}

.multiform-field.withstatus input {
    width: calc(100% - 75px);
    vertical-align: middle;
}

.multiform-field.withstatus .status {
    display: inline-block;
    vertical-align: middle;
}

.multiform-field.withstatus .status::before {
    width: 65px;
    margin-left: 5px;
    height: 35px;
    line-height: 36px;
    text-align: center;
    font-size: 17px;
    display: inline-block;
    border-radius: 5px;
    background-color: #ff9900;
    content: "-";
}

.multiform-field.withstatus.online .status::before {
    background-color: #00ff00;
    content: "Online";
}

.multiform-field.withstatus.offline .status::before {
    background-color: #ff0000;
    content: "Offline";
}

.basic-button {
    box-sizing: border-box;
    padding: 10px 15px;
    text-align: center;
    display: inline-block;
    border: 1px solid #fff5;
    border-radius: 10px;
    color: #eebc62;
    text-transform: uppercase;
    transition-property: background-color, border, padding-top, padding-bottom;
    transition-duration: 0.2s;
    cursor: pointer;
    text-decoration: none;
    margin: 5px;
}

.basic-button:hover {
    background-color: #203658;
    border: 1px solid #0005;
}

.basic-button-content{
    position: relative;
    transition-property: top;
    transition-duration: 0.2s;
    top: 0;
}

.basic-button:hover .basic-button-content {
    top: -2px;
}

.accessError {
    text-align: center;
    margin: 20px auto;
    max-width: 500px;
    color: white;
    border-radius: 20px;
    border: 1px solid #ff0000;
    background-color: #ff000099;
    padding: 10px;
    backdrop-filter: blur(3px);
}

@media only screen and (max-width: 750px) {
    header {
        height: 100px;
    }

    header .content {
        background-position: center calc(50% + 30px);
    }

    nav {
        position: static;
    }

    .serverlist .oneserver {
        width: 90%;
    }

    .serverlist .pageButton {
        display: none;
    }

    .serverlist .pageButton.selected {
        display: inline-block;
    }
}