/* =====================================================
   LESNA.EU / CurvesUI - global.css
   Pliki:
   /images/forest-header.jpg  - baner z logo
   /images/forest-bg.jpg      - tło strony
===================================================== */


/* =====================================================
   PODSTAWY
===================================================== */

html {
    min-height: 100%;
    background: #eef3ea;
}

body {
    min-height: 100vh;
    margin: 0;
    color: #444 !important;
    line-height: 1.5;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400 !important;
    overflow-y: scroll;

    background-color: #eef3ea !important;
    background-image: url(/images/forest-bg.jpg?v=60) !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

@media (min-width: 1200px) {
    .container-md {
        max-width: 1275px;
    }
}

#container,
#content,
main,
.navigation {
    background: transparent !important;
}

.collapsing {
    transition: none !important;
}

.scaleimages img {
    max-width: 100%;
}

strong,
b {
    font-weight: 600;
}


/* =====================================================
   LINKI
===================================================== */

a {
    color: #2f7d32;
    text-decoration: none;
}

a:link,
a:visited {
    color: #2f7d32;
}

a:hover,
a:active {
    color: #1f5f2a;
    text-decoration: none;
}


/* =====================================================
   NAGŁÓWEK - JEDNA GRAFIKA /images/forest-header.jpg
===================================================== */

.bg-dark {
    background: #12382c !important;
}

.lesna-main-header,
nav.navbar.navbar-dark.bg-dark.lesna-main-header {
    position: relative !important;
    min-height: 178px !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    overflow: hidden !important;

    background-color: #12382c !important;
    background-image: url(/images/forest-header.jpg?v=60) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.lesna-main-header > .container-md {
    position: relative !important;
    min-height: 178px !important;
}

/* usuwa stare pseudo-logo z wcześniejszych wersji */
.lesna-main-header::before,
.lesna-main-header::after,
.lesna-main-header > .container-md::before {
    content: none !important;
    display: none !important;
}

/* cały baner jest klikalny */
.lesna-banner-link {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    z-index: 1 !important;
    background: transparent !important;
    text-decoration: none !important;
}

/* menu nad klikalnym banerem */
.lesna-main-header .navbar-collapse {
    position: absolute !important;
    top: 24px !important;
    right: 0 !important;
    width: auto !important;
    z-index: 10 !important;
    background: transparent !important;
}

.lesna-main-header .list-inline {
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.lesna-main-header .list-inline li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.lesna-main-header .list-inline a,
.lesna-main-header .list-inline a:link,
.lesna-main-header .list-inline a:visited {
    color: #ffffff !important;
    background: transparent !important;
    padding: 6px 4px !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.75) !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 11 !important;
}

.lesna-main-header .list-inline a:hover {
    color: #e7edcf !important;
}


/* =====================================================
   DOLNA BELKA POD BANEREM
===================================================== */

.bg-nav {
    background: #12382c !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,0.10) !important;
    border-bottom: 1px solid rgba(0,0,0,0.18) !important;
}

.bg-nav a,
.bg-nav a:link,
.bg-nav a:visited {
    color: #ffffff !important;
}

.bg-nav a:hover {
    color: #dfe8be !important;
    text-decoration: none;
}


/* =====================================================
   NAWIGACJA / OKRUSZKI
===================================================== */

.navigation a {
    color: #2f7d32;
}

.navigation a:hover {
    color: #1f5f2a;
    text-decoration: none;
}


/* =====================================================
   KARTY / BLOKI FORUM
===================================================== */

.card {
    border-color: #dee2e6 !important;
    margin-right: 0;
    margin-left: 0;
    border-radius: 6px;
    background: #ffffff;
}

.card-header,
.bg-primary,
.thead,
.tcat {
    background: linear-gradient(#326f36, #24522b) !important;
    color: #ffffff !important;
    line-height: 1.2;
    border-bottom: 0;
    font-size: 16px;
}

.card-header a,
.card-header a:link,
.card-header a:visited,
.thead a,
.thead a:link,
.thead a:visited,
.tcat a,
.tcat a:link,
.tcat a:visited {
    color: #ffffff !important;
    text-decoration: none;
}

.card-header a:hover,
.thead a:hover,
.tcat a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.card-footer {
    background: #f2f2f2;
    padding: 10px;
    border-color: #dee2e6 !important;
}

.bg-row {
    background: #fafafa;
}

.p-row {
    padding: 1px;
}

.border {
    border: 1px solid #dee2e6 !important;
}

.border-end {
    border-right: 1px dotted #ccc !important;
}


/* =====================================================
   TYPOGRAFIA
===================================================== */

.heading {
    color: #444;
}

.heading a {
    color: #2f7d32 !important;
    text-decoration: none;
}

.heading a:hover {
    color: #1f5f2a !important;
    text-decoration: none;
}

.text-muted {
    color: #999 !important;
}

.text-desc {
    color: #666;
}

.text-dark {
    color: #222 !important;
}

.text-primary {
    color: #2f7d32 !important;
}

.text-primary a {
    color: #2f7d32;
    text-decoration: none;
}

.text-primary a:hover {
    color: #1f5f2a;
    text-decoration: none;
}

.text-sub {
    color: #ccc;
}

.text-13 {
    font-size: 13px;
}

.text-14 {
    font-size: 14px;
}

.text-16 {
    font-family: "Asap", Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600 !important;
}

.text-19 {
    font-family: "Asap", Arial, sans-serif;
    font-size: 19.2px;
    font-weight: 600 !important;
}

.text-forum {
    font-size: 16px;
    font-weight: 400 !important;
}

.small {
    font-size: 12.8px;
}

.small-forum {
    font-size: 12.8px;
}

.smaller {
    font-size: 10px;
    height: 1em;
}

.forum_count {
    color: #ccc;
    font-size: 11.2px;
    text-transform: lowercase;
}

h5 {
    font-size: 19.2px !important;
}

h6 {
    font-size: 1rem !important;
}

hr {
    border-top: 1px solid #666 !important;
}


/* =====================================================
   PRZYCISKI
===================================================== */

.btn {
    transition-duration: 0ms;
    outline: none;
    border-radius: 3px !important;
    text-decoration: none !important;
    font-size: 16px;
}

.btn-sm {
    border-radius: 3px !important;
}

.btn-primary {
    background: #2f7d32;
    color: #ffffff;
    border-color: #2f7d32;
}

.btn-primary:hover {
    background: #245c28;
    color: #ffffff;
    border-color: #245c28;
}

.btn-outline-primary {
    border-color: #dee2e6;
    background: #ffffff;
    color: #2f7d32;
}

.btn-outline-primary:hover {
    color: #1f5f2a;
    border-color: #dee2e6;
    background: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    border-color: #dee2e6;
    color: #2f7d32;
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: #dee2e6;
    color: #1f5f2a;
    text-decoration: none;
}

.btn-search {
    background: #ffffff;
    color: #999;
    border-radius: 0 !important;
}

.btn-search a {
    color: #999;
    background: #ffffff;
}

.btn-search:hover,
.btn-search a:hover {
    color: #222 !important;
    background: #ffffff;
}

.btn-page,
.btn-page-inactive,
.btn-page-active {
    padding: 3px 7px;
    margin-right: 3px;
    margin-left: 3px;
    font-size: 12px !important;
    font-weight: 400;
}

.btn-page {
    background: #f7f7f7;
    color: #2f7d32;
    border: 1px solid #f7f7f7;
}

.btn-page:hover {
    background: #2f7d32;
    color: #ffffff;
    border: 1px solid #2f7d32;
}

.btn-page-inactive {
    background: #f7f7f7;
    color: #444;
}

.btn-page-active,
.btn-page-active:hover,
.btn-page:active {
    background: #2f7d32;
    color: #ffffff;
    border: 1px solid #2f7d32;
}


/* =====================================================
   FORMULARZE
===================================================== */

label {
    font-size: 16px;
    font-weight: 700;
}

.form-control,
.form-control-sm,
.form-select,
.form-select-sm,
.textbox {
    border-radius: 3px !important;
    border-color: #ccc !important;
    color: #222;
}

.form-control-sm,
.form-select-sm {
    font-size: 16px;
}

.form-control:focus,
.form-select:focus,
.select:focus,
.input:focus,
.textbox:focus {
    border-color: #ccc !important;
    box-shadow: none !important;
    background-color: #ffffff !important;
    outline: none;
}

.textbox {
    border: 1px solid #dfdfdf !important;
    padding: 5px 6px;
    font-size: 16px;
}

.form-check-input {
    border-color: #ccc !important;
}

.form-check-label {
    font-size: 14px;
    font-weight: normal;
}

.form-select,
.form-select-sm {
    background-image: url(../../../images/sort-solid.svg);
}


/* =====================================================
   IKONKI FORUM
===================================================== */

.forum_status {
    height: 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    border-radius: 50% !important;
    background: #4f7f45 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-size: 0 !important;
    border: 0 !important;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25) !important;
}

.forum_status i,
.forum_status img,
.forum_status span {
    display: none !important;
}

.forum_status::before {
    content: "\f1bb" !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.forum_on {
    color: #4f7f45;
}

.forum_off,
.forum_offlock,
.forum_offlink {
    color: #999;
}

.forum_off i {
    color: #ccc;
}

.forum_offclose i:before {
    content: "\f023";
}

.forum_offlock i:before,
.forum_offlink i:before {
    content: "\f268";
}

/* Subfora: małe kropki, bez drzewek */
.subforumicon,
.subforum_minion,
.subforum_minioff,
.subforum_miniofflock,
.subforum_miniofflink,
.subforum_minioffclose {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    border-radius: 50% !important;
    display: inline-block !important;
    margin: 0 6px 0 10px !important;
    vertical-align: middle !important;
    background: #c8cec3 !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 8px !important;
    box-shadow: none !important;
}

.subforumicon::before,
.subforum_minion::before,
.subforum_minioff::before,
.subforum_miniofflock::before,
.subforum_miniofflink::before,
.subforum_minioffclose::before,
.subforumicon i,
.subforum_minion i,
.subforum_minioff i,
.subforum_miniofflock i,
.subforum_miniofflink i,
.subforum_minioffclose i {
    content: "" !important;
    display: none !important;
}

.ficons_2 i:before {
    content: "\f000";
}

.ficons_3 i:before {
    content: "\f1ba";
}

.ficons_4 i:before {
    content: "\f0f5";
}

.ficons_6 i:before {
    content: "\f0e4";
}

.ficons_7 i:before {
    content: "\f03e";
}


/* =====================================================
   EXPANDERY
===================================================== */

.thead.thead_collapsed .expander:before {
    content: "\f0fe";
    color: #ffffff;
}

.thead .expander:before {
    display: inline-block;
    font-size: 0.7rem;
    padding-top: 4px;
    color: #ffffff;
    font-family: "Font Awesome 6 Free";
    content: "\f146";
    font-weight: 900;
    vertical-align: middle;
    transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
}


/* =====================================================
   ALERTY
===================================================== */

.pm_alert {
    background: #f2f2f2;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #222;
}

.pm_alert a:link,
.pm_alert a:visited,
.pm_alert a:hover,
.pm_alert a:active {
    color: #222;
    text-decoration: underline;
}

.red_alert {
    background: #eb5257;
    color: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    word-wrap: break-word;
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:hover,
.red_alert a:active {
    color: #ffffff;
    text-decoration: underline;
}

.error {
    font-weight: 500;
    font-size: 12px;
    color: #dc3545;
}


/* =====================================================
   POSTY / TREŚĆ
===================================================== */

.post_body {
    font-size: 16px;
    max-width: 100%;
}

.postlinks {
    color: #999;
    text-decoration: none;
}

.postlinks a {
    color: #999;
    text-decoration: none;
}

.postlinks a:hover {
    color: #1f5f2a;
    text-decoration: none !important;
}

.btn-thread {
    color: #666;
    background-color: transparent;
    border-color: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.btn-thread:hover,
.btn-thread:active,
.btn-thread:focus {
    color: #1f5f2a;
    background-color: transparent;
    border-color: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.forumdisplay_sticky:before {
    font-family: "Font Awesome 6 Free";
    content: "\f08d";
    font-weight: 900;
    color: #2f7d32;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.editreason {
    font-size: 14px;
    color: #222;
    font-weight: 500;
}

.trow_deleted {
    background: #e8deff;
}

.trow_selected {
    background: #fffbd9;
    color: #333;
    border-right-color: #f7e86a;
    border-bottom-color: #f7e86a;
}


/* =====================================================
   KOD / CYTATY
===================================================== */

.codeblock {
    background: #f7f7f7;
    padding: 10px 18px;
    margin: 5px 0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.codeblock .title {
    padding-bottom: 3px;
    margin: 0 0 4px 0;
    font-weight: normal;
    color: #666;
}

.codeblock code {
    overflow: auto;
    height: auto;
    max-height: 200px;
    font-family: Monaco, Consolas, Courier, monospace;
    font-size: 13px;
}

code {
    display: flex;
    flex-wrap: wrap;
}

blockquote {
    border: 1px solid #f7f7f7;
    background: #f7f7f7;
    margin: 0;
    color: #222;
    font-size: 0.9rem;
    padding: 10px;
}

blockquote cite {
    font-weight: normal;
    color: #666;
    font-style: normal;
    display: block;
    padding-bottom: 3px;
    margin: 0 0 10px 0;
}

blockquote cite > span {
    float: right;
    font-weight: normal;
    font-size: 12px;
    color: #666;
}

blockquote cite span.highlight {
    float: none;
    font-weight: bold;
    padding-bottom: 0;
}


/* =====================================================
   DROPDOWN
===================================================== */

.dropdown-menu {
    font-size: 12.8px !important;
    font-weight: 500;
    min-width: inherit;
    background: #f2f2f2;
}

.dropdown-menu a {
    background: #f2f2f2;
    color: #666;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #f2f2f2;
    color: #1f5f2a;
    text-decoration: none;
}

.dropdown-item a {
    background: #ffffff !important;
    color: #666 !important;
    text-decoration: none;
}

.dropdown-item a:hover {
    background: #f2f2f2 !important;
    color: #666 !important;
    text-decoration: none;
}

.dropdown-item:active {
    background-color: #f2f2f2 !important;
}


/* =====================================================
   MENU PROFIL / PANEL
===================================================== */

.btn-menu,
.btn-menu-coll {
    font-size: 15px;
    padding: 5px 8px;
    width: 100%;
    background: #f7f7f7;
    color: #2f7d32;
    text-align: left;
    margin-bottom: 6px;
}

.btn-menu-coll {
    border-left: 5px solid #2f7d32;
}

.btn-menu:hover,
.btn-menu:active,
.btn-menu:focus,
.btn-menu-coll:hover,
.btn-menu-coll:active,
.btn-menu-coll:focus {
    background: #2f7d32;
    color: #ffffff;
}

.bg-profile {
    background: #f2f2f2;
}

.btn-profile-active {
    background: #2f7d32;
    color: #ffffff;
    font-size: 14px;
    padding: 5px 8px;
    text-align: left;
    font-weight: 600;
}

.btn-profile-active:hover {
    background: #245c28;
    color: #ffffff;
}

.btn-profile {
    font-size: 14px;
    padding: 5px 8px;
    background: #f2f2f2;
    color: #2f7d32;
    text-align: left;
    font-weight: 500;
}

.btn-profile:hover {
    background: #2f7d32;
    color: #ffffff;
}


/* =====================================================
   KALENDARZ
===================================================== */

.btn-cal {
    font-size: 11.7px;
    padding: 2px 4px;
    width: 100%;
    background: #f7f7f7;
    color: #2f7d32;
    text-align: left;
    border-radius: 3px;
    display: block;
    margin-bottom: 4px;
}

.btn-cal:hover,
.btn-cal:active,
.btn-cal:focus {
    background: #2f7d32;
    color: #ffffff;
}

.calendar_day,
.calendar_currentday {
    padding: 12px;
    border-bottom: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.calendar_currentday {
    background: #f2f2f2;
}

.calendar_week {
    border-bottom: 0;
    width: auto;
    padding-right: 14px;
    display: flex;
    align-items: center;
}

.week_row {
    padding: 10px;
    flex-direction: row;
    align-items: stretch;
    border-bottom-width: 1px;
}


/* =====================================================
   MODAL
===================================================== */

.blocker {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0,0,0,0.75);
    text-align: center;
}

.blocker:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.05em;
}

.blocker.behind {
    background-color: transparent;
}

.modal {
    background: transparent;
    width: 400px;
    height: auto;
    text-align: left;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    border-radius: 6px;
    margin: 0;
    padding: 0;
}

.modal a.close-modal {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    background: url(../../../images/close.png) no-repeat 0 0;
}

.modal-spinner {
    display: none;
    width: 64px;
    height: 64px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -32px;
    margin-top: -32px;
    background: url(../../../images/spinner_big.gif) no-repeat center center;
    border-radius: 8px;
}


/* =====================================================
   INNE
===================================================== */

.progress {
    border-radius: 3px;
}

.progress-bar {
    background: #2f7d32;
    border-radius: 3px;
}

.subject_new {
    font-weight: bold;
}

.bg-top {
    background: #f2f2f2;
    color: #666;
    display: inline-block;
}

.bg-top a {
    color: #2f7d32;
    display: inline-block;
}

.bg-top a:hover {
    color: #1f5f2a;
    display: block;
}

.bg-attach {
    background: #f7f7f7;
}

.icon {
    background: #eeeeee;
    width: 50px;
    color: #666;
    height: 50px;
    border-radius: 6px;
    text-align: center;
    line-height: 50px;
    vertical-align: middle;
    padding: 0;
}

.noicon {
    background: #f7f7f7;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 1px;
}

.noicon:active,
.noicon:focus,
.noicon:visited {
    background: #dedede;
}

.online {
    color: #15a018;
}

.offline {
    color: #666;
}

.unapproved_post {
    background: #e8deff;
}

.list-group-item {
    border-bottom: 0;
}

legend {
    width: inherit;
    font-size: 14px;
}

.field {
    border-color: #f00;
    border-style: solid;
}

.radio-toolbar input[type="radio"] {
    display: none;
}

.radio-toolbar label {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #222;
    font-weight: normal;
    font-size: 12.8px;
    cursor: pointer;
    padding: 0.375rem 0.75rem;
    margin: 0;
}

.radio-toolbar input[type="radio"]:checked + label {
    background-color: #2f7d32;
    border-color: #2f7d32;
    color: #ffffff;
}

.posticon-toolbar input[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.posticon-toolbar input[type=radio] + img {
    cursor: pointer;
    background: #f7f7f7;
    padding: 7px;
    border-radius: 4px;
}

.posticon-toolbar input[type=radio]:checked + img {
    background: #dedede;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    font-size: 16px !important;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 991px) {
    .lesna-main-header,
    nav.navbar.navbar-dark.bg-dark.lesna-main-header {
        min-height: 145px !important;
        background-position: center center !important;
    }

    .lesna-main-header > .container-md {
        min-height: 145px !important;
    }

    .lesna-banner-link {
        inset: 0 !important;
    }

    .lesna-main-header .navbar-collapse {
        position: static !important;
        margin-top: 92px !important;
        width: 100% !important;
        background: rgba(17, 55, 42, 0.86) !important;
        padding: 10px !important;
        border-radius: 6px !important;
    }

    .lesna-main-header .list-inline {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }

    body {
        background-attachment: scroll !important;
        background-size: cover !important;
    }
}

@media (max-width: 767px) {
    .blocker {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 1rem !important;
        overflow-y: auto !important;
    }

    .blocker .modal {
        max-height: 90vh !important;
        width: 100% !important;
        max-width: 400px !important;
        overflow-y: auto !important;
        margin: 0 auto !important;
    }

    .blocker:before {
        content: none !important;
    }
}