/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 =========================================================
 
*/
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: none !important;
}

a:focus, a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.form-control {
	background: #fafafa;
	border: 1px solid #e3e3e3;
	color: #666;
}
.form-control:focus {
	border: 1px solid #ccc;
}

/* http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.thumbnail {
    background-color: #f1f1f1;
    border: 1px solid #e3e3e3;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #ff0000;
}

.btn-primary {
    color: #3f6588;
    background-color: transparent;
	border-color: #3f6588;
	-moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    color: #fff !important;
    background-color: #3f6588 !important;
	border-color: #3f6588 !important;
}

.form-horizontal .control-label {
	text-align: left !important;
}

/* Responsive fixes */
html, body {
    min-width: 0 !important;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

#container,
.footer,
.global-top-bar .global-top-bar-content,
.header-info-container {
    width: 100%;
    max-width: 1040px;
}

#container {
    margin-left: auto;
    margin-right: auto;
}

.footer {
    box-sizing: border-box;
}

.sidebar-banner img,
.webengine-mu-logo {
    max-width: 100%;
    height: auto;
}

/* Keep original table layout intact; only allow scroll on small screens */
#content .panel-body,
#content .table-responsive,
#content .rankings-wrapper {
    overflow-x: visible;
}

@media (max-width: 991px) {
    body {
        background-size: cover;
    }

    #header {
        padding: 36px 15px 10px;
    }

    .header-info-container {
        padding: 0 15px;
        box-sizing: border-box;
        text-align: center;
    }

    .header-info-container .header-info {
        width: 100%;
        max-width: 420px;
    }

    #container {
        padding: 15px 0;
        margin: 0 10px;
        width: auto;
    }

    #content {
        padding: 10px 15px 0;
    }

    .footer {
        width: auto;
        margin: 0 10px 30px;
        padding: 24px 15px;
    }

    .global-top-bar .global-top-bar-content {
        width: auto;
        padding: 0 10px;
    }

    #navbar ul li a {
        padding: 14px 16px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    #navbar ul li {
        display: block;
        width: 100%;
    }

    #navbar ul li a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .global-top-bar {
        font-size: 11px;
    }

    .global-top-bar .col-xs-6 {
        width: 100%;
        float: none;
        text-align: center !important;
        margin-bottom: 4px;
    }

    .webengine-language-switcher,
    .webengine-language-switcher:hover {
        width: auto;
        height: auto;
        overflow: visible;
    }

    /* Stack only the main layout columns, not every nested bootstrap column */
    #content > .col-xs-8,
    #content > .col-xs-4,
    #content > .col-xs-12,
    #content > .col-sm-8,
    #content > .col-sm-4,
    #content > .col-sm-12 {
        width: 100%;
        float: none;
    }

    .header-info-container .row > .col-xs-6,
    .header-info-container .row > .col-sm-6,
    .header-info-container .row > .col-xs-12,
    .header-info-container .row > .col-sm-12 {
        width: 100%;
        float: none;
        text-align: center !important;
    }

    .home-news-block .home-news-block-header h2,
    .page-title {
        font-size: 22px;
    }

    .panel-sidebar > .panel-heading .panel-title,
    .panel-news .panel-title {
        line-height: 1.25;
    }

    .panel-sidebar > .panel-heading .btn,
    .panel-usercp > .panel-heading .btn {
        float: none !important;
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .panel-sidebar,
    .panel-news,
    .panel-general,
    .panel-addstats,
    .panel-downloads {
        margin-bottom: 20px;
    }

    .rankings-table tr td {
        font-size: 14px;
        padding: 8px;
    }

    .rankings-table-place {
        font-size: 18px;
    }

    .sidebar-banner {
        margin: 15px 0;
    }
}

@media (max-width: 767px) {
    #content .panel-body {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #content .table,
    #content .rankings-table,
    #content .general-table-ui,
    #content .myaccount-table {
        display: table;
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .rankings-table tr td,
    .general-table-ui tr td,
    .myaccount-table tr td {
        white-space: normal;
        word-break: break-word;
    }

    .panel-sidebar > .panel-heading .btn,
    .panel-usercp > .panel-heading .btn {
        width: auto;
        display: inline-block;
        margin-top: 0;
        float: right !important;
    }
}
#navbar{
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* =========================================================
   Theme toggle + dark mode
========================================================= */

body,
#container,
.footer,
.panel,
.panel-heading,
.panel-footer,
.thumbnail,
.well,
.form-control,
input[type=text],
input[type=password],
input[type=number],
textarea,
select,
.btn,
a,
#navbar,
#navbar ul li a {
    -webkit-transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, opacity .25s ease;
    -o-transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, opacity .25s ease;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, opacity .25s ease;
}

body {
    background: #000000 url('../img/background.jpg') no-repeat top center;
}

@media only screen and (min-width: 2000px) {
    body {
        background: #000000 url('../img/background-2600.jpg') no-repeat top center !important;
    }
}

html.dark-mode body {
    background: #06080c url('../img/background-dark.jpg') no-repeat top center !important;
    color: #d7dde5;
}

@media only screen and (min-width: 2000px) {
    html.dark-mode body {
        background: #06080c url('../img/background-dark-2600.jpg') no-repeat top center !important;
    }
}

@media (max-width: 991px) {
    body,
    html.dark-mode body {
        background-size: cover !important;
    }
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    vertical-align: middle;
    outline: 0;
}

.theme-toggle:hover,
.theme-toggle:focus {
    background: rgba(255,255,255,0.14);
    color: #ffda8a;
}

.theme-toggle .theme-icon {
    font-size: 16px;
    line-height: 1;
}

.theme-icon-light {
    display: none;
}

html.dark-mode .theme-icon-dark {
    display: none;
}

html.dark-mode .theme-icon-light {
    display: inline-block;
}

html.dark-mode .global-top-bar {
    background: rgba(7, 10, 15, 0.92);
    color: #cfd7e1;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

html.dark-mode .global-top-bar a {
    color: #d7dde5;
}

html.dark-mode .global-top-bar a:hover {
    color: #ffffff !important;
}

html.dark-mode #navbar {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

html.dark-mode #navbar ul li a {
    color: #d7dde5 !important;
}

html.dark-mode #navbar ul li a:hover,
html.dark-mode #navbar ul li a:focus,
html.dark-mode #navbar ul li.active a,
html.dark-mode #navbar ul li a.active {
    color: #ffffff !important;
    background: rgba(255,255,255,0.05);
}

html.dark-mode #container {
    background: rgba(18, 24, 33, 0.96);
    color: #d7dde5;
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

html.dark-mode #content {
    color: #d7dde5;
}

html.dark-mode .footer {
    background: rgba(15, 20, 28, 0.97);
    color: #aeb8c4;
}

html.dark-mode .footer hr {
    border-top-color: #2a3645;
}

html.dark-mode a {
    color: #c2ccd8;
}

html.dark-mode a:focus,
html.dark-mode a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

html.dark-mode .thumbnail,
html.dark-mode .well,
html.dark-mode .panel,
html.dark-mode .panel-default,
html.dark-mode .panel-news,
html.dark-mode .panel-sidebar,
html.dark-mode .panel-general,
html.dark-mode .panel-addstats,
html.dark-mode .panel-downloads,
html.dark-mode .table-responsive {
    background: #161d27 !important;
    color: #d7dde5 !important;
    border-color: #253140 !important;
}

html.dark-mode .panel-heading,
html.dark-mode .panel-footer {
    background: #10161e !important;
    color: #d7dde5 !important;
    border-color: #253140 !important;
}

html.dark-mode .panel-title,
html.dark-mode .page-title,
html.dark-mode .home-news-block .home-news-block-header h2 {
    color: #ffffff !important;
}

html.dark-mode table,
html.dark-mode .table,
html.dark-mode .table-striped,
html.dark-mode .rankings-table,
html.dark-mode .general-table-ui,
html.dark-mode .myaccount-table {
    color: #d7dde5 !important;
    background: transparent;
}

html.dark-mode .table>tbody>tr>td,
html.dark-mode .table>tbody>tr>th,
html.dark-mode .table>tfoot>tr>td,
html.dark-mode .table>tfoot>tr>th,
html.dark-mode .table>thead>tr>td,
html.dark-mode .table>thead>tr>th,
html.dark-mode table td,
html.dark-mode table th,
html.dark-mode .rankings-table tr td,
html.dark-mode .general-table-ui tr td,
html.dark-mode .myaccount-table tr td {
    color: #d7dde5 !important;
    border-color: #253140 !important;
}

html.dark-mode .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: rgba(255,255,255,0.02);
}

html.dark-mode .rankings-table-place {
    color: #ffffff !important;
}

html.dark-mode .form-control,
html.dark-mode input[type=text],
html.dark-mode input[type=password],
html.dark-mode input[type=number],
html.dark-mode textarea,
html.dark-mode select {
    background: #0f141c !important;
    border: 1px solid #253140 !important;
    color: #d7dde5 !important;
}

html.dark-mode .form-control:focus,
html.dark-mode input[type=text]:focus,
html.dark-mode input[type=password]:focus,
html.dark-mode input[type=number]:focus,
html.dark-mode textarea:focus,
html.dark-mode select:focus {
    border-color: #42576e !important;
    box-shadow: 0 0 0 1px rgba(66, 87, 110, 0.2);
}

html.dark-mode .btn-primary {
    color: #d7dde5;
    background-color: transparent;
    border-color: #42576e;
}

html.dark-mode .btn-primary:active,
html.dark-mode .btn-primary:focus,
html.dark-mode .btn-primary:hover {
    color: #ffffff !important;
    background-color: #42576e !important;
    border-color: #42576e !important;
}

html.dark-mode .btn-default,
html.dark-mode .btn-secondary {
    color: #d7dde5;
    background: #18202b;
    border-color: #253140;
}

html.dark-mode .btn-default:hover,
html.dark-mode .btn-secondary:hover {
    color: #ffffff !important;
    background: #253140;
}

html.dark-mode .modal-content {
    background: #161d27;
    color: #d7dde5;
    border-color: #253140;
}

html.dark-mode .modal-header,
html.dark-mode .modal-footer {
    border-color: #253140;
}

html.dark-mode .close {
    color: #ffffff;
    opacity: .85;
}

html.dark-mode .header-info,
html.dark-mode .header-info-block {
    color: #e2e8f0;
}

html.dark-mode .webengine-online-bar {
    background: rgba(255,255,255,0.08);
}

html.dark-mode .sidebar-banner img,
html.dark-mode .webengine-mu-logo {
    filter: none;
}

@media (max-width: 767px) {
    .theme-toggle {
        margin-right: 0;
        margin-bottom: 6px;
    }
}
.navbar-nav > li > a{
    color:#2c2c2c !important;
}

.navbar-nav > li > a:hover{
    color:#000 !important;
}