#main #loading {
    display: none;
    height: 23px;
    width: 23px;
}

/* Image slider background element */

#slider_wrapper {
    width: 708px;
    height: 205px;
    margin-bottom: 10px;
}

#slider {
    overflow: hidden;
}

.clear {
    clear: both;
    height: 0px;
    overflow: hidden;
}

*:focus {
    outline: none;
}

.avatar {
    float: left;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 3px;
}

.fluxslider,
.surface,
.images,
.image1,
.image2 {
    /*transform: translate3D(0, 0, 0);*/
}

input[type="radio"] {
    background-color: transparent !important;
}


/* Slider number links */

.pagination {
    display: none;
}


/* Slider text bar */

.caption {
    padding: 10px;
    border-top-right-radius: 2px;
    font-weight: bold;
    font-size: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    position: absolute;
    bottom: 0px;
}

#slider_next,
#slider_previous {
    border-radius: 2px;
    position: absolute;
    padding: 10px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999999;
}

#slider_next:hover,
#slider_previous:hover {
    background-color: #000;
}

#pm_username_autocomplete {
    z-index: 999999;
}


/* Modal boxes: alert & confirm */

.popup {
    width: 270px;
    display: none;
    z-index: 999999;
    padding: 20px;
    background-color: #eee;
    border: 1px solid #fff;
    position: fixed;
    left: 50%;
    text-shadow: none;
    margin-left: -120px;
    top: 30%;
    border-radius: 5px;
    box-shadow: 0px 0px 35px #000;
}

.popup h1 {
    margin: 0px;
    padding: 0px;
    text-align: center;
    font-weight: normal;
    font-size: 18px;
    margin-bottom: 10px;
    color: #000;
    max-height: 300px;
    overflow: auto;
}

.popup a {
    display: block;
    float: left;
    border-radius: 3px;
    color: #fff;
    line-height: 1;
    padding: 10px 20px 10px 20px;
    text-align: center;
    font-weight: bold;
    margin-right: 7px;
    margin-left: 7px;
    width: 50px;
    text-shadow: none;
}

.popup a:hover {
    text-shadow: none;
    text-decoration: none;
    color: #fff;
}

.popup_button {
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7fbf4d), color-stop(100%, #63a62f));
    background-image: -webkit-linear-gradient(top, #7fbf4d, #63a62f);
    background-image: linear-gradient(top, #7fbf4d, #63a62f);
    border: 1px solid #63a62f;
    border-bottom: 1px solid #5b992b;
    box-shadow: inset 0 1px 0 0 #96ca6d;
    text-shadow: 0 -1px 0 #4c9021;
}

.popup_button:hover {
    background-color: #76b347;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #76b347), color-stop(100%, #5e9e2e));
    background-image: -webkit-linear-gradient(top, #76b347, #5e9e2e);
    background-image: linear-gradient(top, #76b347, #5e9e2e);
    box-shadow: inset 0 1px 0 0 #8dbf67;
}

.popup_button:active {
    border: 1px solid #5b992b;
    border-bottom: 1px solid #538c27;
    box-shadow: inset 0 0 8px 4px #548c29, 0 1px 0 0 #eeeeee;
}

.popup_hide {
    background-color: #bfbfbf;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #bfbfbf), color-stop(100%, #9a9a9a));
    background-image: -webkit-linear-gradient(top, #bfbfbf, #9a9a9a);
    background-image: linear-gradient(top, #bfbfbf, #9a9a9a);
    border: 1px solid #9a9a9a;
    border-bottom: 1px solid #9a9a9a;
    box-shadow: inset 0 1px 0 0 #cbcbcb;
    text-shadow: 0 -1px 0 #8f8f8f;
}

.popup_hide:hover {
    background-color: #adadad;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #adadad), color-stop(100%, #a0a0a0));
    background-image: -webkit-linear-gradient(top, #adadad, #a0a0a0);
    background-image: linear-gradient(top, #adadad, #a0a0a0);
    box-shadow: inset 0 1px 0 0 #bbbbbb;
}

.popup_hide:active {
    border: 1px solid #a0a0a0;
    border-bottom: 1px solid #8b8b8b;
    box-shadow: inset 0 0 8px 4px #8c8c8c, 0 1px 0 0 #eeeeee;
}

.popup_links {
    width: 214px;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}

#popup_bg {
    background-color: #000;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    top: 0;
    left: 0;
}

#alert_button {
    float: none;
    width: 80px;
    margin-left: auto;
    margin-right: auto;
}

.nice_button img {
    margin-right: 5px;
}

.page_form table {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}


/* First column (the field label, in most cases) */

.page_form table td:first-child {
    padding-left: 20px;
    width: 20%;
}

.page_form label {
    font-size: 14px;
    margin-right: 15px;
}

#forgot {
    margin-top: 15px;
    margin-bottom: 5px;
}


/* Remember me */

#remember_me {
    margin-top: 5px;
    margin-bottom: 5px;
}


/* Table style, used on vote panel, donate panel, online players etc. */

.nice_table {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0px;
}

.nice_table tr:first-child td {
    font-weight: bold;
    padding: 7px;
    font-size: 14px;
}

.nice_table tr:not(:first-child) td {
    padding: 7px;
    font-size: 14px;
    height: 40px;
}

.nice_table td:first-child {
    font-weight: bold;
}

.sidebox_info {
    padding: 5px;
}

.sidebox_info td {
    padding: 5px;
    font-size: 1rem;
}

.sidebox_info td:first-child {
    font-weight: bold;
}

.sidebox_info td img {
    margin-right: 5px;
}

.sidebox_info center {
    padding-top: 20px;
    padding-bottom: 10px;
}

.sidebox_info center a:last-child {
    margin-left: 10px;
}

.staff_comment .comment_author img {
    margin-top: 3px !important;
}

.comment {
    word-wrap: break-word;
}


/* Captcha*/
.captcha{
    margin: 5px;
}
.alert-captcha{
    border: 2px solid #f00;
    width: 308px;
    height: 80px;
    border-radius: 3px;
}

/* Two factor authentication*/
img.qr-two-factor {
    height: auto;
    width: 300px;
}
