/* NAVBAR */

/* HEADER */
:root {
    /*This was 16px*/
    --navbar-font-size: 1rem;
}
nav {
    position: relative;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    background: linear-gradient(180deg, #84bd84 0%, #5D935F 100%);

    color: #fff;
    margin: 0;
    overflow: visible;
    z-index: 666;
    width: 100%;
}


.account-button {
    cursor: pointer;
    position: absolute;
    right: 55px;
    top: 8px;
    display: none;
}

.mobile-menu-buttons {
    display: none;
}

.mobile-menu-button {
    width: 30px;
    font-size: 30px;
    color: white;
}

.popup-panel {
    position: absolute;
    width: 100%;
    z-index: 6;
    left: -150%;
    top: 45px;
    transition: .5s ease;
}


.popup-panel-shown {
    left: 0 !important;
}

.close-panel {
    color: black;
    margin: 0 auto;
    cursor: pointer;
    font-size: 36px;
    text-decoration: none;
}


.close-panel:visited {
    color: black;
}

.close-panel:hover {
    color: black;
    text-decoration: none;
}

.reg-panel {
    background: url(/images/bg.gif);
    position: absolute;
    width: 100%;
    padding: 10px 0;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    flex-direction: column;
}

.border-solid {
    border: 2px solid;
}


nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li {
    display: inline-block;
    list-style-type: none;
    transition: all 0.2s;
    vertical-align: middle;
    font-size: var(--navbar-font-size);
    font-family: Arial, Helvetica, sans-serif;
}

nav > ul > li > a {
    color: white !important;
    display: block;
    line-height: 2em;
    padding: 0.5em 1.5em;
    text-decoration: none !important;
    font-weight: bold;
    text-align: center;
}

nav li > ul {
    display: none;
    margin-top: 0;
    background-color: #EEEEEE;

    /*To make it showing over Google AD which is 1000000*/
    z-index: 1000002;
}

nav li > ul li {
    display: block;
}

nav li > ul li a {
    color: #111 !important;
    display: block;
    line-height: 0;
    padding: 1em 2em;
    text-decoration: none !important;
    text-align: center;
    white-space: nowrap;
}

.logo {
    display: inline-block;
    margin: 0 15px;
    padding: 5px 0 1px 0;
}

@media screen and (max-width: 768px) {
    nav {
        background: #5D935F;
        padding: 5px;
    }

    .navbar-toggle {
        position: absolute;
        right: 20px;
        cursor: pointer;
        color: rgba(255, 255, 255, 1);
        font-size: 24px;
        display: inline-block;
    }

    nav ul li {
        display: list-item;
    }

    nav li ul {
        display: block;

    }

    nav li ul li ul {
        display: flex;
        justify-content: center;
    }

    .main-nav {
        list-style-type: none;
        transition: .5s ease;
        overflow: hidden;
        height: 0;
    }
}

@media screen and (min-width: 768px) {

    nav {
        background-image: linear-gradient(180deg, #84bd84 0%, #5D935F 100%);
        padding: 0;
    }

    .navbar-toggle {
        display: none;
    }

    nav > ul > li > a {
        text-transform: uppercase;
    }

    nav li > ul > li:hover > ul {
        position: absolute;
        display: block;
        margin-left: 100%;
        margin-top: -2em;
        border: 1px solid #333;
    }

    nav li:hover > ul {
        position: absolute;
        display: block;
        border: 1px solid #333;
    }

    nav li > ul > li ul {
        display: none;
    }

    .main-nav {
        display: block;
    }

    nav ul > li.sub {
        background: url(/images/arrow_down.png) right center no-repeat;
    }

    nav ul > li.sub li.sub {
        background: url(/images/arrow1.gif) right center no-repeat;
    }
}

nav li:hover > a {
    color: #880000 !important;
}

nav li > ul > li:hover > a {
    background-color: #669466;
    color: #ffffff !important;
}

.mobile-nav-shown {
    height: 1000px;
    overflow-y: auto;
}

.navbar-active {
    background-color: #82B6D7;
}

.navbar-shadow {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.navbar-shadow:hover {
    text-shadow: none;
}

nav > ul {
    -ms-align-items: center;
    align-items: center;
    margin-top: -3px;
}

nav li > ul li {
    display: block;
}

nav li > ul li a {
    color: #111 !important;
    display: block;
    line-height: 0;
    padding: 1em 2em;
    text-decoration: none !important;
    text-align: center;
    white-space: nowrap;
}

nav li:hover > a {
    color: #880000 !important;
}

nav > ul > li {
    list-style-type: none;
}

nav > ul > li > a {
    transition: .5s ease;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: var(--navbar-font-size);
    font-weight: 600;
}

nav > ul > li > a:hover {
    color: #850000;
}


/* UI */

/* table */

.content-table {
    width: 100%;
    margin-top: 10px;
    border: none;
    border-spacing: 0;
}

.content-table > caption {
    padding: 5px;
    font-weight: bold;
}

.table-header > td {
    font-weight: bold;
}

.content-table > tbody > tr:nth-child(odd) {
    background: #bbb;
}

.content-table > tbody > tr > td {
    border: none;
    text-align: center;
    padding: 5px;
}

.td-30 {
    width: 30%;
}

.ls-q {
    color: red;
    font-weight: bold;
    text-decoration: none;
}

.ls-q:hover {
    text-decoration: underline;
}

.ls-q:visited {
    color: red;
}

/* Comment */

.comments {
    margin-top: 15px;
    width: 100%;
}

.comments-buttons {
    width: 100%;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
}

.comments-buttons-wrapper {
    display: flex;
}

.comments-buttons-block-2 {
    margin-left: 15px;
}

.one-comment {
    width: 100%;
    margin-bottom: 5px;
}

.comment-header {
    width: 100%;
    background: #f0f0f0;
    padding: 5px;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: space-between;
}

.comment-header-wrapper {
    display: flex;
    -ms-align-items: center;
    align-items: center;
    width: 100%;

}

.comment-nick-date {
    float: left;
}

.comment-img {
    margin-left: 15px;
}

.comment-name a {
    margin-left: 15px;
}

.comment-name {
    width: inherit;
}

.comment-content {
    padding: 5px 0 5px 35px;
}

/* Content Block */

.content-block {
    background: #fff;
    margin-top: 10px;
    padding: 10px;
    border: 1px dashed #ccc;
    cursor: pointer;
    transition: .5s ease;
}

.content-block-red {
    color: red;
}

.content-block:hover {
    background: #eaeff4;
}

/* Text */

.content h2 {
    margin-left: 15px;
}

.content h3 {
    color: #463D2E;
}

.content p {
    margin-top: 5px;

    color: #463D2E;
}

.content hr {
    margin: 10px 0;
}

.left-sidebar {
    background: url('/images/bg.gif') repeat;
}

.left-sidebar.photos {

    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.0) 95%, rgba(255, 255, 255, 1)),
    url('/images/bg.gif') repeat;
}

.info {
    background: #b4b4b4;
    padding: 13px;
    margin: 5px;
    color: #463d2e;
}


img.inline-photo {
    /* Following values are mostly for cache picture only, but since they don't noticeably affect sidebar pictures, just leave it here */
    float: right;
    margin-left: 5px;
    width: revert;
}

.info-block-title {
    display: block;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    margin: 6px 0;
}

.ls-block-1 {
    margin-top: 6px;

    width: 100%;
    margin-left: 8px;
}

.ls-block-1 div {
    display: flex;
    justify-content: start;
    margin-bottom: 1px;
    font-weight: bold;
}

.ls-block-1 div span {
    width: 75px;
}

.ls-block-1-more {
    margin-left: 9px !important;
}

.ls-block-1 div a {
    margin-left: 3px;
    text-decoration: none;
    color: #463d2e
}


.ls-normal-text {
    font-weight: bold;
}

.ls-block-margin {
    margin-left: 8px;
    margin-top: 5px;
    font-weight: bold;
}

.ls-block-margin i {
    font-size: var(--text-xs);
}

.ls-block-atribut {
    display: flex;
    flex-wrap: wrap;
    margin-left: 8px;
}

.ls-block-atribut img {
    margin-left: 5px;
    margin-top: 5px;
}

.ls-block-border {
    width: 100%;
    border-bottom: 1px dashed #fff;
    margin-top: 12px;
}

.red-linked-list {
    list-style: none;
    padding: 0;
}

.red-linked-list * {
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    color: red;
    padding: 3px 0;
}


.red-linked-list a:visited {
    color: red;
}

.red-linked-list a:hover {
    text-decoration: underline;
}

.red-linked-list a:active {
    color: #663333;
    text-decoration: underline;
}

.ls-block-social {
    margin-top: 13px;
}

.ls-images {
    display: flex;
    flex-direction: column;
    margin: 28px 20px 20px 20px;
}

.ls-images > a:first-of-type {
    display: none;
}

.ls-images img {
    width: 100%;
    margin-top: 10px;
}


.content-container {
    display: flex;
}

.content-container-wrapper {
    flex: 1;
    display: flex;

}

.cache-info {
    background: url(/images/bg.gif) repeat;
    padding: 5px;
    justify-content: space-between;
    display: flex;
    flex-direction: row-reverse;
}

.cache-info p {
    font-family: Verdana, serif;
    font-weight: bold;
    color: #463D2E;
    font-size: smaller;
    margin: 0;
}

.left-short-info {
    display: none;
}

/* -----0CONTENT0------ */

.cache-texts {
    padding: 15px;
}


/* RIRHT SIDEBAR */


.right-sidebar {
    border-left: 2px dashed lightgray;
    position: relative;
}

.right-sidebar-img {
    position: absolute;
    z-index: 5;
    right: 0;

    display: block;
    width: 350px;
    height: 550px;
    margin-bottom: 0;
}

.right-sidebar-img.index {
    background: url('/images/template.webp');
}

.right-sidebar-img.cache {
    pointer-events: none;
    background: url("/images/right_02_3_350_almost.webp");
}

.rs-block {
    max-width: 100%;
    margin-top: 10px;
    margin-left: 25px;
}


.cross-lt {
    position: absolute;
    left: -3px;
    top: -3px;
}

.cross-rt {
    position: absolute;
    right: -3px;
    top: -3px;
}

.cross-lb {
    position: absolute;
    left: -3px;
    bottom: -3px;
}

.cross-rb {
    position: absolute;
    right: -3px;
    bottom: -3px;
}

.rs-block-1 {
    margin-top: 515px;
    padding-top: 25px;
}

.registration {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.log-in {
    margin-left: 30px;
    margin-right: 30px;
    BACKGROUND-COLOR: #C8DDCE;
    text-align: center;
    padding: 5px;
    border: 1px solid #A5ACB2;
    display: flex;
    flex-direction: column;
    -ms-align-items: center;
    align-items: center;
}

.center-align {
    text-align: -webkit-center;
}


.news-popup {
    position: absolute;
    right: 10px;
    top: 60px;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-size: 0.9em;
}

.news-header {
    padding: 0.8em;
    background-color: honeydew;
    font-weight: bold;
    position: sticky;
    top: 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-close {
    cursor: pointer;
    font-size: 1.2em;
    color: #666;
}

.news-list {
    padding: 0.5em;
}

.news-item {
    padding: 0.7em;
    border-bottom: 1px solid #eee;
}

.news-title {
    font-weight: bold;
    margin-bottom: 0.2em;
}

.news-body {
    font-size: 0.9em;
    line-height: 1.4em;
}

.news-body a {
    color: #009900;
    text-decoration: underline;
}

.log-in a {
    margin-bottom: 5px;
    font-weight: bold;
}

.registration-panel {
    position: relative;
    width: 140px;
    left: 25px;
}

.rs-login {
    display: flex;
    -ms-align-items: center;
    align-items: center;
}

.rs-password {
    display: flex;
    -ms-align-items: center;
    align-items: center;
}

.rinput-password {
    margin-left: 7px;
}

.rinput-button {
    margin-left: 7px;
    height: 1.5em;
    width: auto;
}

.rs-check {
    display: flex;
    -ms-align-items: center;
    align-items: center;
    margin-top: 5px;
}

.rs-check > span {
    margin-left: 5px;
}

.rs-rules {
    margin-top: 10px;
    text-align: center;
    border-bottom: 1px dashed #999;
    padding-bottom: 5px;
}


.reg-link-p:hover {
    text-decoration: underline;
}

.reg-link-p {
    margin: 0;
    margin-top: 5px;
    text-align: center;
}

.rs-cache {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 10px 0;
}

.search-cache-form {
    display: flex;
    align-items: center;
}


.login-container-outer {
    display: flex;
    align-items: center;
    flex-direction: column;
}

div.login-container {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-gap: 5px;
    align-items: baseline;
}

div.login-container label {
    text-align: right;
}

div.login-container label:after {
    content: ":";
}

.remember-me-block {
    padding: 5px;
}


.rs-social {
    margin-left: 5px;
    margin-right: 5px;

}

.rs-social > img {
    width: 24px;
    height: 24px;
}

.left-short-info {
    display: none;
}

.ls-block-1-info-img {
    /* To center it */
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* RESPONSEV */


@media screen and (max-width: 768px) {

    nav {
        display: block;
    }

    .mobile-menu-buttons {
        position: absolute;
        right: 10px;
        top: 7px;
        display: flex;
        gap: 10px;
        justify-content: flex-start;
        align-items: baseline;
    }

    .content-container-wrapper {
        flex-direction: column;
        overflow: hidden;
    }

    .left-sidebar {
        max-width: 100%;
        /*Put left sidebar to the bottom for mobile version*/
        order: 1;
    }

    .left-short-info {
        display: block;
    }

    .info {
        display: none;
    }


    .cache-info {
        padding: 15px;
    }

    .ls-block-wrapper {
        display: flex;
        -ms-align-items: flex-start;
        align-items: flex-start;
    }

    .ls-block-wrapper-info {
        margin-left: 15px;
    }

    .ls-images {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .ls-images > a:first-of-type {
        display: block;
    }

    .right-sidebar-img {
        display: none;
    }

    .right-sidebar {
        top: 0;
        overflow: visible;
    }

    .rs-block-1 {
        margin-top: 0;
    }

    .ls-block-1-info-img {
        display: inline; /* To avoid centering */
        width: 120px;
    }

    .rs-block-1 {
        padding-top: 20px;
    }

    .ls-block-1-more {
        margin-left: 3px !important;
    }


    .right-sidebar {
        display: none
    }
}

@media screen and (max-width: 576px) {

    .ls-block-wrapper {
        flex-direction: column;
    }

    .ls-block-wrapper-info {
        margin-left: 0;
        margin-top: 15px;
    }

    #registration-nav {
        display: block;
    }

    .content-container {
        flex-direction: column;
    }


    .rs-block {
        margin-right: 25px;
    }

    .ls-block {
        left: 0;
    }

}


/*CACHE specific*/

.social-share-button {
    width: 25px;
    height: 25px;
}


.cache-title {
    text-align: center;
    font-size: var(--text-xl);
    font-weight: bold;
    color: #660000;
    padding: 10px;
}

.secondary-title {
    font-size: large;
}
