/* ==========================================================================
   WoWS Hungary színvilág (lásd DESIGN.md)
   A goodgames.css színdeklarációinak felülírása tokenekkel, ugyanazokkal a
   szelektorokkal; csak színt állít, elrendezést nem. A tokenek a custom.css-ben.
   Leképezés:
     #171e22 -> --ws-bg        #232930 -> --ws-surface
     #293139 -> --ws-surface-2 #303e47 -> --ws-surface-3
     #dd163b szövegként -> --ws-title (halvány türkiz), hover/aktív -> fehér, link -> --ws-link
     #dd163b vonalként  -> --ws-line (sötét türkiz, WoWS --highlight)
     #dd163b háttérként            -> --ws-tag (sötét türkiz), gombon narancs
   ========================================================================== */

body {
    background-color: var(--ws-bg);
}

a {
    color: var(--ws-link);
}

a:focus,
a:hover {
    color: var(--ws-text-strong);
}

::-moz-selection {
    background-color: var(--ws-surface-3);
}

::selection {
    background-color: var(--ws-surface-3);
}

.bg-color {
    background-color: var(--ws-bg);
}

.nk-badge {
    background-color: var(--ws-tag);
}

pre {
    background-color: var(--ws-surface-2);
}

.nk-decorated-h-2::after,
.nk-decorated-h-2::before {
    border-bottom-color: var(--ws-surface-2);
}

.nk-decorated-h-3::after {
    border-bottom: 4px solid var(--ws-line);
}

.nk-sub-title {
    color: var(--ws-title);
}

.thead-default th {
    color: var(--ws-surface-3);
}

.modal-content {
    background-color: var(--ws-bg);
}

.modal-header {
    border-bottom-color: var(--ws-surface);
}

.modal-footer {
    border-top-color: var(--ws-surface);
}

.text-main-1 {
    color: var(--ws-title);
}

.text-dark-1 {
    color: var(--ws-bg) !important;
}

.text-dark-2 {
    color: var(--ws-surface) !important;
}

.text-dark-3 {
    color: var(--ws-surface-2) !important;
}

.text-dark-4 {
    color: var(--ws-surface-3) !important;
}

.bg-main-1 {
    background-color: var(--ws-tag);
}

.bg-dark-1 {
    background-color: var(--ws-bg) !important;
}

.bg-dark-2 {
    background-color: var(--ws-surface) !important;
}

.bg-dark-3 {
    background-color: var(--ws-surface-2) !important;
}

.bg-dark-4 {
    background-color: var(--ws-surface-3) !important;
}

.nk-keyboard {
    color: var(--ws-bg);
}

.nk-navbar .nk-nav li > a:hover,
.nk-navbar .nk-nav li > a.hover {
    color: var(--ws-text-strong);
}

.nk-navbar .nk-nav li.active > a {
    color: var(--ws-text-strong);
}

.nk-navbar .nk-nav .dropdown {
    border-bottom: 4px solid var(--ws-line);
}

.nk-nav-toggler-right > li > a,
.nk-nav-toggler-left > li > a {
    background-color: var(--ws-bg);
}

.nk-navbar-side {
    background-color: var(--ws-bg);
}

.nk-search {
    background: var(--ws-bg);
    background: -webkit-linear-gradient(top, var(--ws-bg) 0%, var(--ws-bg) 100px, rgba(23, 30, 34, 0) 100%);
    background: -o-linear-gradient(top, var(--ws-bg) 0%, var(--ws-bg) 100px, rgba(23, 30, 34, 0) 100%);
    background: linear-gradient(to bottom, var(--ws-bg) 0%, var(--ws-bg) 100px, rgba(23, 30, 34, 0) 100%);
}

.nk-breadcrumbs > li a:hover,
.nk-breadcrumbs > li a.hover {
    color: var(--ws-text-strong);
}

.nk-breadcrumbs > li:last-of-type::after {
    border-bottom: 4px solid var(--ws-line);
}

.nk-footer-social > a:hover,
.nk-footer-social > a.hover {
    color: var(--ws-bg);
}

.nk-footer-social.nk-footer-social-inverted > a:hover,
.nk-footer-social.nk-footer-social-inverted > a.hover {
    background-color: var(--ws-bg);
    border-color: var(--ws-bg);
}

.nk-widget-highlighted .nk-widget-title {
    background-color: var(--ws-surface-2);
}

.nk-widget-highlighted .nk-widget-title > span {
    background-color: var(--ws-surface-2);
}

.nk-widget-highlighted .nk-widget-content {
    background-color: var(--ws-surface);
    border: 1px solid var(--ws-surface-2);
}

.nk-widget-post + .nk-widget-post,
.nk-widget-post-2 + .nk-widget-post {
    border-top: 1px solid var(--ws-surface-2);
}

.nk-widget-categories .nk-widget-categories li {
    border-top: 1px solid var(--ws-surface-2);
}

.nk-widget-categories li + li {
    border-top: 1px solid var(--ws-surface-2);
}

.nk-widget-categories li a:hover,
.nk-widget-categories li a.hover,
.nk-widget-categories li a:focus,
.nk-widget-categories li a:active {
    color: var(--ws-text-strong);
}

.nk-twitter .nk-twitter-name a:hover,
.nk-twitter .nk-twitter-name a.hover,
.nk-twitter .nk-twitter-name a:focus {
    color: var(--ws-text-strong);
}

.nk-widget .nk-widget-match {
    background-color: var(--ws-surface);
}

.nk-widget .nk-widget-match:nth-child(2n) {
    background-color: var(--ws-bg);
}

.nk-widget-match > a:hover {
    color: var(--ws-text-strong);
}

.nk-widget-match .nk-widget-match-teams .nk-widget-match-team-logo img {
    border: 1px solid var(--ws-surface);
}

.nk-social-links > li > *,
.nk-social-links > li > *:hover,
.nk-social-links > li > *:focus,
.nk-social-links > li > *:active,
.nk-social-links-2 > li > *,
.nk-social-links-2 > li > *:hover,
.nk-social-links-2 > li > *:focus,
.nk-social-links-2 > li > *:active,
.nk-social-links-3 > li > *,
.nk-social-links-3 > li > *:hover,
.nk-social-links-3 > li > *:focus,
.nk-social-links-3 > li > *:active {
    color: var(--ws-bg);
}

.nk-social-links > li > *:hover,
.nk-social-links > li > *.hover,
.nk-social-links-2 > li > *:hover,
.nk-social-links-2 > li > *.hover,
.nk-social-links-3 > li > *:hover,
.nk-social-links-3 > li > *.hover {
    background-color: var(--ws-tag);
}

.nk-contacts-icons > li.hover,
.nk-contacts-icons > li > a:hover,
.nk-contacts-icons > li > a:focus,
.nk-contacts-icons > li > a:active {
    color: var(--ws-text-strong);
}

.nk-btn-color-main-1 {
    background-image: linear-gradient(180deg, var(--ws-cta-from), var(--ws-cta-to));
    color: var(--ws-cta-text);
    background-color: var(--ws-cta-to);
}

.nk-btn-color-main-1.nk-btn-outline {
    color: var(--ws-title);
}

.nk-btn-color-white,
.nk-btn-color-white:hover,
.nk-btn-color-white.hover,
.nk-btn-color-white:active,
.nk-btn-color-white.active,
.nk-btn-color-white:focus {
    color: var(--ws-bg);
}

.nk-btn-color-dark-1 {
    background-color: var(--ws-bg);
}

.nk-btn-color-dark-1.nk-btn-outline {
    color: var(--ws-bg);
}

.nk-btn-color-dark-2 {
    background-color: var(--ws-surface);
}

.nk-btn-color-dark-2.nk-btn-outline {
    color: var(--ws-surface);
}

.nk-btn-color-dark-3 {
    background-color: var(--ws-surface-2);
}

.nk-btn-color-dark-3.nk-btn-outline {
    color: var(--ws-surface-2);
}

.nk-btn-color-dark-4 {
    background-color: var(--ws-surface-3);
    border-color: var(--ws-bg);
}

.nk-btn-color-dark-4.nk-btn-outline {
    color: var(--ws-surface-3);
}

.nk-btn-hover-color-main-1:hover,
.nk-btn-hover-color-main-1.hover {
    background-image: linear-gradient(180deg, var(--ws-cta-from), var(--ws-cta-to));
    color: var(--ws-cta-text);
    background-color: var(--ws-cta-to);
}

.nk-btn-hover-color-white:hover,
.nk-btn-hover-color-white.hover,
.nk-btn-hover-color-white:active,
.nk-btn-hover-color-white.active,
.nk-btn-hover-color-white:focus {
    color: var(--ws-bg);
}

.nk-btn-hover-color-dark-1:hover,
.nk-btn-hover-color-dark-1.hover {
    background-color: var(--ws-bg);
}

.nk-btn-hover-color-dark-2:hover,
.nk-btn-hover-color-dark-2.hover {
    background-color: var(--ws-surface);
}

.nk-btn-hover-color-dark-3:hover,
.nk-btn-hover-color-dark-3.hover {
    background-color: var(--ws-surface-2);
}

.nk-btn-hover-color-dark-4:hover,
.nk-btn-hover-color-dark-4.hover {
    background-color: var(--ws-surface-3);
    border-color: var(--ws-bg);
}

.nk-tabs .nav-tabs .nav-link {
    background-color: var(--ws-surface-2);
}

.nk-tabs .nav-tabs .nav-link.active,
.nk-tabs .nav-tabs .nav-link.active:focus,
.nk-tabs .nav-tabs .nav-link.active:hover {
    background-color: var(--ws-tag);
}

.nk-accordion .panel-heading a {
    background-color: var(--ws-surface-2);
}

.nk-accordion .panel-heading a:not(.collapsed),
.nk-accordion .panel-heading a:not(.collapsed):focus,
.nk-accordion .panel-heading a:not(.collapsed):hover {
    background-color: var(--ws-tag);
}

.nk-feature-1,
.nk-feature-2 {
    background-color: var(--ws-surface);
    border: 1px solid var(--ws-surface-2);
}

.nk-feature-1 .nk-feature-icon,
.nk-feature-2 .nk-feature-icon {
    border-right: 1px solid var(--ws-surface-2);
}

.nk-counter-2 .nk-count {
    color: var(--ws-title);
}

.nk-counter-3 .nk-counter-icon {
    color: var(--ws-title);
}

.nk-pagination a:hover {
    color: var(--ws-text-strong);
}

.nk-pagination nav > *.nk-pagination-current {
    color: var(--ws-text-strong);
}

.nk-blockquote .nk-blockquote-icon::before,
.nk-blockquote .nk-blockquote-icon::after {
    border-bottom: 2px solid var(--ws-line);
}

.nk-blockquote .nk-blockquote-author::before,
.nk-blockquote .nk-blockquote-author::after {
    border-bottom: 2px solid var(--ws-line);
}

.nk-info-box {
    background-color: var(--ws-surface);
    border: 1px solid var(--ws-surface-2);
}

.nk-flickity-arrow:hover,
.nk-flickity-arrow.hover,
.nk-flickity-arrow:active,
.nk-flickity-arrow:focus {
    color: var(--ws-text-strong);
}

.nk-modal .modal-content {
    background-color: var(--ws-surface);
}

.nk-gallery-item-box .nk-gallery-item-label,
.nk-gallery-item-group .nk-gallery-item-label {
    background-color: var(--ws-bg);
}

.nk-rating {
    color: var(--ws-title);
}

.form-control {
    border: 1px solid var(--ws-surface-3);
}

.form-control:focus,
.form-control.focus {
    border-color: var(--ws-line);
}

.nk-form-style-1 .form-control {
    color: var(--ws-bg);
}

.nk-form-style-1 .form-control:focus,
.nk-form-style-1 .form-control.focus {
    border-color: var(--ws-line);
}

.nk-audio-plain {
    background-color: var(--ws-surface);
    border: 1px solid var(--ws-surface-2);
}

.nk-audio-plain .nk-audio-progress {
    background-color: var(--ws-surface-3);
}

.nk-countdown .nk-hexagon .nk-hexagon-inner {
    border-right: solid 4px var(--ws-line);
    border-left: solid 4px var(--ws-line);
}

.nk-countdown .nk-hexagon .nk-hexagon-inner::before {
    border-top: solid 5.6569px var(--ws-line);
    border-right: solid 5.6569px var(--ws-line);
}

.nk-countdown .nk-hexagon .nk-hexagon-inner::after {
    border-bottom: solid 5.6569px var(--ws-line);
    border-left: solid 5.6569px var(--ws-line);
}

.nk-table {
    border: 1px solid var(--ws-surface);
}

.nk-table thead {
    background-color: var(--ws-tag);
}

.nk-table tbody tr {
    background-color: var(--ws-surface);
}

.nk-table tbody tr:nth-of-type(odd) {
    background-color: var(--ws-surface-2);
}

.nk-table tbody tr > * + * {
    border-left: 1px solid var(--ws-bg);
}

.nk-image-slider {
    background-color: var(--ws-surface);
    border-bottom: 3px solid var(--ws-line);
}

.nk-image-slider .nk-image-slider-thumbs ul li .nk-image-slider-thumbs-overlay {
    background-color: var(--ws-tag);
}

.nk-post-title > a:hover,
.nk-post-title > a.hover {
    color: var(--ws-text-strong);
}

.nk-post-img .nk-post-comments-count,
.nk-post-img .nk-post-comments-count:focus,
.nk-post-img .nk-post-comments-count:hover,
.nk-post-img .nk-post-comments-count:active {
    color: var(--ws-bg);
}

.nk-post-categories span,
.nk-post-categories a {
    background-color: var(--ws-surface-2);
}

.nk-post-date a:hover,
.nk-post-date a.hover,
.nk-post-date a:focus,
.nk-post-date a:active {
    color: var(--ws-text-strong);
}

.nk-blog-post-border-bottom {
    border-bottom: 1px solid var(--ws-surface-2);
}

.nk-post-share {
    background-color: var(--ws-surface-2);
}

.nk-comments .nk-comment .nk-comment-text {
    border-bottom: 1px solid var(--ws-surface-2);
}

.nk-news-box {
    background-color: var(--ws-surface);
    border: 1px solid var(--ws-surface-2);
}

.nk-news-box .nk-news-box-item + .nk-news-box-item {
    border-top: 1px solid var(--ws-surface-2);
}

.nk-news-box .nk-news-box-item:hover,
.nk-news-box .nk-news-box-item.hover {
    background-color: var(--ws-surface-2);
}

.nk-news-box .nk-news-box-item.nk-news-box-item-active {
    background-color: var(--ws-tag);
}

.nk-news-box .nk-news-box-each-info {
    border-left: 1px solid var(--ws-surface-2);
}

.nk-product-title a:hover,
.nk-product-title a.hover,
.nk-product-title a:active,
.nk-product-title a:focus {
    color: var(--ws-text-strong);
}

.nk-product-rating,
.nk-product-rating:hover,
.nk-product-rating:active,
.nk-product-rating:focus {
    color: var(--ws-text-strong);
}

.nk-review-rating {
    color: var(--ws-title);
}

.nk-store-product .nk-product-info-row > * + *::before {
    border-left: 1px solid var(--ws-surface-2);
}

.nk-store-cart .nk-store-cart-products td {
    background-color: var(--ws-surface);
    border-top: 2px solid var(--ws-surface-2);
}

.nk-store-checkout tbody tr.nk-store-cart-totals-subtotal,
.nk-store-checkout tbody tr.nk-store-cart-totals-shipping,
.nk-store-checkout tbody tr.nk-store-cart-totals-total {
    background-color: var(--ws-bg);
}

.nk-cart-dropdown {
    background-color: var(--ws-surface);
    border: 1px solid var(--ws-surface-2);
    border-bottom: 4px solid var(--ws-line);
}

.nk-match {
    background-color: var(--ws-surface-2);
}

.nk-match .nk-match-team-left > a:hover,
.nk-match .nk-match-team-right > a:hover,
.nk-match .nk-match-status > a:hover {
    color: var(--ws-text-strong);
}

.nk-team {
    background-color: var(--ws-surface-2);
}

.nk-team .nk-team-cont a:hover,
.nk-team .nk-team-cont a.hover,
.nk-team .nk-team-cont a:focus,
.nk-team .nk-team-cont a:active {
    color: var(--ws-text-strong);
}

.nk-forum > li {
    background-color: var(--ws-surface);
}

.nk-forum > li .nk-forum-title > h2 > a:hover,
.nk-forum > li .nk-forum-title > h2 > a.hover,
.nk-forum > li .nk-forum-title > h3 > a:hover,
.nk-forum > li .nk-forum-title > h3 > a.hover,
.nk-forum > li .nk-forum-title > h4 > a:hover,
.nk-forum > li .nk-forum-title > h4 > a.hover {
    color: var(--ws-text-strong);
}

.nk-forum-topic > li .nk-forum-topic-author-name > a:hover,
.nk-forum-topic > li .nk-forum-topic-author-name > a.hover {
    color: var(--ws-text-strong);
}

.nk-forum-topic > li .nk-forum-topic-footer::before {
    border-top: 1px solid var(--ws-surface-2);
}

.nk-forum-topic > li .nk-forum-topic-footer .nk-forum-action-btn > a:hover,
.nk-forum-topic > li .nk-forum-topic-footer .nk-forum-action-btn > a.hover,
.nk-forum-topic > li .nk-forum-topic-footer .nk-forum-action-btn > span:hover,
.nk-forum-topic > li .nk-forum-topic-footer .nk-forum-action-btn > span.hover {
    background-color: var(--ws-surface-2);
}

.nk-forum-topic > li .nk-forum-topic-attachments {
    background-color: var(--ws-surface-2);
}

.nk-input-slider .slider-track {
    background-color: var(--ws-surface-2);
}

.nk-widget .nk-input-slider .slider-track {
    background-color: var(--ws-bg);
}

.nk-input-slider .slider-selection,
.nk-input-slider .slider-handle {
    background-color: var(--ws-tag);
}

.nk-input-slider-inline .nk-input-slider {
    border: 1px solid var(--ws-surface-2);
}

.panel-heading.note-toolbar {
    background-color: var(--ws-surface);
}

.note-editor.note-frame .note-editing-area .note-editable {
    background-color: var(--ws-surface-2);
}

.note-toolbar {
    background-color: var(--ws-surface);
}

.note-toolbar .note-btn {
    background-color: var(--ws-bg);
}

.note-toolbar .dropdown-menu {
    background-color: var(--ws-surface);
    -webkit-box-shadow: 0 4px 10px 0 var(--ws-surface);
    box-shadow: 0 4px 10px 0 var(--ws-surface);
}

.note-toolbar .dropdown-menu a:hover {
    background-color: var(--ws-bg);
}

.note-popover .popover-content .note-color-palette div .note-color-btn,
.note-toolbar.panel-heading .note-color-palette div .note-color-btn {
    border-color: var(--ws-bg);
}
/* A téma segédosztályai !important-tal állítják a színt, ezért itt is így kell. */
.text-main-1 { color: var(--ws-title) !important; }
.text-dark-1 { color: var(--ws-bg) !important; }
.text-dark-2 { color: var(--ws-surface) !important; }
.text-dark-3 { color: var(--ws-surface-2) !important; }
.text-dark-4 { color: var(--ws-surface-3) !important; }
.bg-main-1 { background-color: var(--ws-tag) !important; }
.bg-dark-1 { background-color: var(--ws-bg) !important; }
.bg-dark-2 { background-color: var(--ws-surface) !important; }
.bg-dark-3 { background-color: var(--ws-surface-2) !important; }
.bg-dark-4 { background-color: var(--ws-surface-3) !important; }

/* Navigáció: tengerkék keret a tartalom fölött (a téma fekete átlátszóját váltja). */
.nk-navbar.nk-navbar-top { background-color: var(--ws-nav); }
.nk-header .nk-contacts-top { background-color: var(--ws-topbar); }
.nk-navbar-side { background-color: var(--ws-nav); }
.nk-footer { background-color: var(--ws-nav); }
.nk-copyright { background-color: var(--ws-topbar); }
