body {
    font-family: Verdana;
    background: url("/new.graphics/n.body.png");
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.7rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

p, label, label.col-form-label, ul, ol, input.form-control, select.form-select, textarea.form-control, div, div.input-group-text, div.btn, button.btn, a.btn, td, th, figcaption {
    font-size: 0.9rem;
    line-height: 23px;
}

button.btn.btn-lg, a.btn.btn-lg {
    font-size: 1.1rem;
    line-height: 27px;
}

.form-label, .col-form-label {
    font-weight: bold;
}

.form-text {
    font-size: 0.8rem;
}

.form-control, .form-check-input {
    border-color: #aaa;
}

a {
    color: #337ab7;
}

.header {
    background: url("/new.graphics/n.header.png") repeat scroll 0 0 #2D74BF;
}

.website-logo-cz-full {
    background: url("/new.graphics/header-troll.cz.png") no-repeat scroll center transparent;
    display: block;
    height: 147px;
    top: 0;
    width: 525px;
}

.website-logo-pl-full {
    background: url("/new.graphics/header-troll.pl.png") no-repeat scroll center center transparent;
    display: block;
    height: 147px;
    top: 0;
    width: 525px;
}

.website-logo-cz-small, .website-logo-pl-small {
    background: url("/new.graphics/header-troll.png") no-repeat scroll center center transparent;
    display: block;
    height: 147px;
    margin-left: 9px;
    top: 0;
    width: 173px;
}

.avatar {
    height: 100px;
}

nav.navbar {
    background-color: #477C22;
    background: linear-gradient(#62AA2F, #335919);
    border: 1px solid #D4D4D4;
    border-left: none;
    border-right: none;
    border-radius: 0px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.067);
    min-height: 40px;
}

.navbar-brand, .navbar-brand:hover, .navbar-toggler, .navbar-toggler > i {
    color: white;
    font-size: 1.15rem;
}

.navbar-toggler:hover {
    background-color: #80C341;
}

.navbar > a.navbar-brand, .navbar-nav > li > a.nav-link, .navbar-nav > li > a.nav-link.active {
    color: white;
    font-size: 0.9rem;
    padding-left: 13px !important;
    padding-right: 13px !important;
    text-shadow: 0 1px 0 #000000;
}

.navbar-nav > li > a.nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.navbar input, .navbar input:focus {
    background-color: #80C341;
    border: 1px solid #335919;
}

.navbar input::placeholder {
    color: white;
}

.navbar button.btn {
    border: 1px solid #335919;
    color: black;
    background: #fff;
}

.navbar button.btn:hover {
    background: silver;
}

@media (min-width: 992px) {
    .navbar input {
        width: 150px !important;
    }

    .autoComplete_wrapper > ul.results-list {
        width: 450px;
        max-height: 500px;
        left: -300px;
    }
}

@media (max-width: 991px) {

    .autoComplete_wrapper > ul.results-list {
        width: 100%;
    }

    .autoComplete_wrapper > input {
        width: 655px;
    }
}

@media (max-width: 767px) {

    .autoComplete_wrapper > input {
        width: 475px;
    }
}

@media (max-width: 575px) {

    .autoComplete_wrapper > input {
        width: 80vw;
    }
}

.autoComplete_wrapper > input {
    height: inherit;
}

.autoComplete_wrapper > ul.results-list > li > span {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    display: block;
}

.autoComplete_wrapper > ul.results-list > li > span:nth-child(2) {
    color: grey;
}

.right-column h4 {
    border-bottom: 1px solid #0088CC;
    background: #0088CC;
    margin-top: 10px;
    padding: 6px 14px;
    color: white;
    border-radius: 4px;
}

.footer {
    background-color: #D0D8E0;
    background: url("/new.graphics/n.footer.png");
    background-size: 100% 100%;
    border-top: 1px solid #666666;
    min-height: 210px;

}

.footer p {
    padding: 0px;
    margin: 8px 0px;
}

#right-column-toggle {
    position: fixed;
    color: gray;
    background-color: #eee;
    top: 220px;
    right: -5px;
    font-size: 24px;
    border: 1px solid silver;
    border-radius: 5px;
    padding: 5px 25px 5px 10px;
}

.btn-primary {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #4c84ca;
    border-color: #0076A3;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active {
    color: #ffffff;
    background-color: #0078A5;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

/* tabs */
.nav-tabs > li > .nav-link {
    color: #337ab7;
}

.nav-tabs > li > .nav-link:hover {
    background-color: rgba(0, 136, 204, 0.15);
    border-color: transparent;
}

.nav-tabs > li > .nav-link.active, .nav-tabs > li > .nav-link.active:focus, .nav-tabs > li > .nav-link.active:hover {
    background-color: #4c84ca;
    color: white;
    border-color: transparent;
}

/* pagination */
nav .page-link {
    background-color: white;
    color: #337ab7;
}

nav .page-item.active > .page-link {
    background-color: #337ab7;
}

/* username links */
.username {
    font-weight:bold;
    overflow-wrap:break-word;
}
.username a {
    color:#840000 !important;
    text-decoration: none !important;
}
.lvl0{padding:1px 0px 3px 19px;  background:url('/graphics/rank/lvl0.gif') no-repeat;}
.lvl1{padding:1px 0px 3px 19px;  background:url('/graphics/rank/lvl1.gif') no-repeat;}
.lvl2{padding:1px 0px 3px 19px;  background:url('/graphics/rank/lvl2.gif') no-repeat;}
.lvl3{padding:1px 0px 3px 19px;  background:url('/graphics/rank/lvl3.gif') no-repeat;}
.lvl4{padding:1px 0px 3px 19px;  background:url('/graphics/rank/lvl4.gif') no-repeat;}
.lvl5{padding:1px 0px 3px 19px;  background:url('/graphics/rank/lvl5.gif') no-repeat;}
.lvl6{padding:1px 0px 3px 19px;  background:url('/graphics/rank/lvl6.gif') no-repeat;}
.lvl7{padding:1px 0px 1px 19px;  background:url('/graphics/rank/lvl7.gif') no-repeat;}
.lvl8{padding:1px 0px 1px 19px;  background:url('/graphics/rank/lvl8.gif') no-repeat;}
.lvl9{padding:1px 0px 1px 19px;  background:url('/graphics/rank/lvl9.gif') no-repeat;}
.lvl10{padding:1px 0px 2px 19px;  background:url('/graphics/rank/lvl10.gif') no-repeat;}

tr.deleted {
    text-decoration: line-through;
}

a.badge, a.badge:visited{
    color: white;
    text-decoration: none;
}

.list-item:not(:last-child)  {
    border-bottom: 1px dashed #BBBBBB;
}

.ck.ck-balloon-panel {
    z-index: 2000 !important;
}

.select2-dropdown {
    z-index: 1056 !important;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.spoiler img {
    filter: blur(8px);
    transform: scale(0.95);
}

.spoiler::before {
    position: absolute;
    background-color: silver;
    content: "spoiler alert";
    width: 100%;
    display: block;
    text-align: center;
    color: red;
    padding: 5px 0px;
    z-index: 2;
    top: 70px;
    text-shadow: white 0px 0px 2px;
}

img.lightbox-detail {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: var(--bs-modal-padding);
}

/* CMS */

figure {
       border: 1px solid #323232;
       margin-bottom: 10px;
   }

figure.align-center {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

figcaption {
    text-align: center;
    background-color: #fff;
    padding: 5px;
}

@media (min-width: 768px) {

    .img-left {
        float: left;
        margin: 5px 10px 5px 0px;
        width: 33%;
    }

    .img-right {
        float: right;
        margin: 5px 0px 5px 10px;
        width: 33%;
    }

}

@media (max-width: 767px) {

    .img-left {
        float: left;
        margin: 5px 10px 5px 0px;
        width: 50%;
    }

    .img-right {
        float: right;
        margin: 5px 0px 5px 10px;
        width: 50%;
    }

}