.container-fluid {
    margin-top: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;

}

a {
    color: #003300;
}


body {
    background-color: #caf759;
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#caf759, endColorstr=#A8CD1B);
    background-image: -moz-linear-gradient(left, #caf759 0%, #A8CD1B 20%, #A8CD1B 80%, #caf759 100%);
    background-image: linear-gradient(left, #caf759 0%, #A8CD1B 20%, #A8CD1B 80%, #caf759 100%);
    background-image: -webkit-linear-gradient(left, #caf759 0%, #A8CD1B 20%, #A8CD1B 80%, #caf759 100%);
    background-image: -o-linear-gradient(left, #caf759 0%, #A8CD1B 20%, #A8CD1B 80%, #caf759 100%);
    background-image: -ms-linear-gradient(left, #caf759 0%, #A8CD1B 20%, #A8CD1B 80%, #caf759 100%);
    background-image: -webkit-gradient(linear, left bottom, right bottom, color-stop(0%, #caf759), color-stop(20%, #A8CD1B), color-stop(80%, #A8CD1B), color-stop(100%, #caf759));
}

footer {
    background-color: #003300;
    color: white;
    font-variant: small-caps;
    padding: 2em 2em;
    z-index: 8000;
}

@media (min-width: 769px) {
    footer .row {
        justify-content: center;
        gap: 2em;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 1em;
        font-size: 0.9em;
       
    }
    footer .row {
        gap: 0;
         margin: 1em;
    }
    footer .row > * {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 5px;
        margin-bottom: 10px;
    }
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #003300;
    color: white;
    font-variant: small-caps;

}

.pluginFontHelvetica,
.pluginFontHelvetica button,
.pluginFontHelvetica input,
.pluginFontHelvetica label,
.pluginFontHelvetica select,
.pluginFontHelvetica td,
.pluginFontHelvetica textarea {
    color: white;
}

.ddsisu {

    display: none;
    position: absolute;
    background-color: #003300;

    text-align: center;
    z-index: 9000;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    color: white;
    padding: 1rem 1.5rem;

}

.ddsisu a {
    display: block;
    position: relative;
    z-index: 9000;
    color: white;
    text-decoration: none;
    padding: 3px 1.5rem;
    text-align: center;

}

.dropdown:hover .ddsisu {
    display: block;
    position: absolute;
    z-index: 9000;
}


h3 {
    font-weight: bold;
}

.flayer2 {
    background-image: url(images/carosel/aiandustalud.JPG);
}

.flayer2en {
    background-image: url(images/carosel/aiandustalud_en.jpg);
}

.flayer2fi {
    background-image: url(images/carosel/aiandustalud_fi.jpg);
}

.flayer2sw {
    background-image: url(images/carosel/aiandustalud_sw.jpg);
}

.flayer2lv {
    background-image: url(images/carosel/aiandustalud_lv.jpg);
}

.flayer2ru {
    background-image: url(images/carosel/aiandustalud_ru.jpg);
}

.flayer2lt {
    background-image: url(images/carosel/aiandustalud_en.jpg);
}

.flayer3 {
    background-image: url(images/carosel/lilleralli.jpg);
}

.flayer3en {
    background-image: url(images/carosel/lilleralli_en.jpg);
}

.flayer3lv {
    background-image: url(images/carosel/lilleralli_lv.jpg);
}

.flayer3ru {
    background-image: url(images/carosel/lilleralli_ru.jpg);
}

.flayer3fi {
    background-image: url(images/carosel/lilleralli_fi.jpg);
}

.flayer3sw {
    background-image: url(images/carosel/lilleralli_sw.jpg);
}

.flayer3lt {
    background-image: url(images/carosel/lilleralli_en.jpg);
}

.flayer4 {
    background-image: url(images/carosel/viinamarjapaev.jpg);
}

.flayer2,
.flayer2en,
.flayer2fi,
.flayer3,
.flayer3en,
.flayer3fi,
.flayer4,
.flayer3sw,
.flayer2sw,
.flayer3lv,
.flayer2lv,
.flayer3ru,
.flayer2ru,
.flayer3lt,
.flayer2lt {
    background-size: cover;
}

/*
.flayer4en{
background-image: url(images/carosel/viinamarjapaev_en.jpg);
}
.flayer4fi {
background-image: url(images/carosel/viinamarjapaev_fi.jpg);
}*/

html,
body {
    /* To make use of full height of page*/
    min-height: 100%;
    margin: 0;
}

body {
    overflow-x: hidden;
}

img.img-fluid {
    width: 100%;
}


.roogojaLogo {
    margin-top: 10px;
}

@media (min-width: 768px) {
    img.roogojaLogo {
        width: auto;
        max-width: 100%;
        max-height: 20vh; /* Seome kõrguse ekraani kõrgusega */
        padding-left: 20px;
    }

    /* Seame karuselli piltidele sama suhtelise kõrguse, et logo ja karusell oleksid tasakaalus */
    #caro .carousel-inner img {
        height: 20vh; /* Sama, mis logo max-height */
        object-fit: cover; /* Väldib pildi venitamist, säilitab proportsioonid ja katab ala */
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    img.roogojaLogo {
        width: 90%;
        height: auto;
    }
}

.carousel-item.active {
    display: block;
}





header {
    width: 100%;
    max-height: calc(100vh - 52px);
}

/*NAVBAR*/

.navbar {
    background-color: #003300;
    font-variant: small-caps;
    color: white;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
    z-index: 8000;

}


/*flower edge*/
#edge {
    max-height: 2em;
    position: absolute;
    /* Sit on top of the page content */
    /* Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    /* Full height (cover the whole page) */

    bottom: 50px;
    right: 0px;
    left: 0px;
    z-index: 2;
    display: none;

}


.navbar-inverse .navbar-nav .nav-link {
    color: white;

}

.nav-link {
    cursor: pointer;
}


.navbar ul li {
    display: block;

}


.dropdown-toggle::after {
    display: none;
}

.dropdown-toggle.flag::after {
    display: inline-block
}

.dropdown-item:focus,
.dropdown-item:hover,
a.nav-link:hover {
    background-color: #A8CD1B;
    text-decoration: none;
    color: white;

}

.dropdown-menu {
    position: absolute;
    background-color: #003300;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 99999;

}

.dropdown-menu-right {
    min-width: 6em;
}

.dropdown-item {
    color: white;
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
}

.custom-toggler.navbar-toggler {
    border-color: white;
}

img.lipp {
    height: 30px;
}


.navSide {
    font-size: 16px;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


.sticky.is-sticky {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 8000;
    box-shadow: 0 7px 5px rgba(0, 0, 0, 0.2);
}

.sticky {
    left: 0;
}


.navbar.nav2.sticky {
    min-height: 100%;
    padding-left: 0px;
    padding-right: 0px;
    z-index: 7500;
}





.nav1.sticky-wrapper {
    height: 0px;
}

.nav1 {
    position: relative;
    z-index: 8000;
}



/*Sisu*/
.main {
    font-family: garamond;
    font-size: 20px;
    text-align: center;
    margin: 0px auto;

    margin: auto;
}

.col-centered {
    text-align: justify;
}

.col-centered > img {
    display: block;
    margin: .5em auto;
    max-width: 100%;

}

#TA_cdsratingsonlynarrow366 > img {
    margin: 0em auto;
}

#CDSWIDSSP {
    width: 100% !important;
}

#CDSWIDSSP.widSSPnarrow .widSSPData .widSSPBranding dd {
    width: 100% !important;
}

.cdsROW {
    float: right;

}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    margin-top: 20px;
    ;

}

.vid2 {
    position: relative;
    padding-bottom: 35%;
    min-height: 315px;
}

.video-container > iframe {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    margin-bottom: 2%;

    max-height: 315px;
    max-width: 560px;
}

th,
td {
    padding: 5px;
    text-align: center;
}

p {
    padding: 5px;
}

.description {
    margin-left: 0px;
    padding: 0px;
}

.main > .row {
    padding: 20px;
    position: relative;

}


/*TABLE OF CONTENT*/
article {
    max-width: 100%;
    width: 100%;
    left: 0;

    padding: 2em;

}

h3:target {

    animation: highlight 1s ease;
}





.normal-list li {
    font-size: 18px;
}





/*GALERII*/

.gallery-container h1 {
    text-align: center;
    font-family: 'Droid Sans', sans-serif;
    font-weight: bold;
    color: #58595a;
}

h1.heading {
    text-align: center;

}

.gallery-container p.page-description {
    text-align: center;
    margin: 30px auto;
    font-size: 18px;
    color: #85878c;
}

.tz-gallery {
    width: 100%;
}

.tz-gallery .thumbnail, .tz-gallery .card {
    padding: 5px;
    background-color: #eafcbd;
    border-radius: 4px;
    border: none;
    transition: 0.15s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    padding: 10px;
}

.section {
    padding: 3em;
    margin-bottom: 30px;
    margin-top: 30px;
    background-color: #eafcbd;
    border-radius: 4px;
    border: none;
    transition: 0.15s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.minSection {
    padding: 0em;
    margin-bottom: 1px;
    background-color: #eafcbd;
    border-radius: 0px;
    border: none;
    transition: 0.15s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.tz-gallery .thumbnail:hover {
    transform: translateY(-10px) scale(1.02);
}

.tz-gallery .fancybox img {
    border-radius: 4px 4px 0 0;
}

.tz-gallery .caption, .tz-gallery .card-body {
    padding: 5px 5px;

    text-align: justify;

}

.tz-gallery .caption h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    padding-top: 0;
}

.tz-gallery .caption p {
    font-size: 12px;
    color: #7b7d7d;
    margin: 0;
    padding: 0;

}

.baguetteBox-button {
    background-color: transparent !important;
}

/*thumbnail image*/

.gallery-image {
    position: relative;
    overflow: hidden;

}

.gallery-image > img {
    object-fit: cover;
    -o-object-fit: cover;

    overflow: hidden;
    width: 100%;
    height: 25vw;
    max-width: 100%;
}




.post__image-container {
    width: 100%;
    height: 25vw;
}


.post__image-container.compat-object-fit {
    background-size: cover;
    background-position: center center;
}

.post__image-container.compat-object-fit.post__featured-image {
    opacity: 0;
}

.post__featured-image {
    width: 100%;
    height: 25vw;
    object-fit: cover;
    -o-object-fit: cover;
}



.thumbnail {
    margin-bottom: 0.5em;
}

.grape .caption > p {
    display: block;
}

.thumbnail:hover .caption > p {
    display: block;
}

thead {
    font-weight: bold;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {

    /*ainult IE jaoks*/
}

/*GALERIII*/



.gal-container {
    padding: 12px;
}

.gal-item {
    overflow: hidden;
    padding:  calc(var(--bs-gutter-x) * .5);
}

.gal-item .box {
    height: 350px;
    overflow: hidden;
}

.gal-item .box.double {
    height: 724px;
    overflow: hidden;
}

.box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    -o-object-fit: cover;
}

.gal-item a {
    position: relative;
    display: block;
    height: 100%;
}

.gal-item a:focus {
    outline: none;
}

.gal-item a:after {
    content: "\2315";
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    right: 3px;
    left: 3px;
    top: 3px;
    bottom: 3px;
    text-align: center;
    line-height: 350px;
    font-size: 30px;
    color: #fff;
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
}

.gal-item a:hover:after {
    opacity: 1;
}

.gal-item > p {
    text-align: justify;
}

.modal-open .gal-container .modal {
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-open .gal-item .modal-body {
    padding: 0px;
}

.modal-open .gal-item button.close {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #000;
    opacity: 1;
    color: #fff;
    z-index: 999;
    right: -12px;
    top: -12px;
    border-radius: 50%;
    font-size: 15px;
    border: 2px solid #fff;
    line-height: 25px;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.35);
}

.modal-open .gal-item button.close:focus {
    outline: none;
}

.modal-open .gal-item button.close span {
    position: relative;
    top: -3px;
    font-weight: lighter;
    text-shadow: none;
}

.gal-container .modal-dialogue {
    width: 80%;
}

.gal-container .description {
    position: relative;
    height: 40px;
    top: -40px;
    padding: 20px 25px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: left;
}


.gal-container .description h4 {
    margin: 0px;
    font-size: 15px;
    font-weight: 300;
    line-height: 20px;
}

.gal-container .modal.fade.in .modal-dialog {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translate3d(0, -100px, 0);
    transform: translate3d(0, -100px, 0);
    opacity: 1;
}


@media (min-width: 768px) {
    .gal-container .modal-dialog {
        width: 55%;
        margin: 50 auto;
    }
    .container {
        max-width: 90% !important;
    }

}

@media (max-width: 768px) {
    .gal-container .modal-content {
        height: 250px;
    }
    .container {
        max-width: 90% !important;
    }

}

/* Footer Style */

.gal-container {
    padding-top: 75px;
    padding-bottom: 75px;
}

@media (min-width: 576px) {
    .modal-dialog {
        margin: 80px auto;
    }


}

@media (max-width: 576px) {
    .tz-gallery.grape {
        padding: 0px;
    }

    .col-sm-6.col-lg-4 {
        padding-left: 0px;
        padding-right: 0px;

    }
}

.modal.fade.show {
    z-index: 9999999999;
    overflow: hidden;
}

.modal-body,
.modal-body > img {
    max-height: 80vh;
}

@media (min-width: 1200px) {
    .container {

        max-width: 100%;

    }
}
/* ===============================
   NAVBAR – ÜLDINE STIIL
================================ */

.navbar {
  min-height: 56px;
}

.navbar-nav .nav-link {
  padding: 0.5rem 0.8rem;
  font-size: 1rem;
  white-space: nowrap;
}

.navbar-nav .nav-link img {
  vertical-align: middle;
}

/* Dropdown */
.dropdown-menu {
  font-size: 0.95rem;
}

.dropdown-item {
  padding: 0.4rem 1rem;
}

/* ===============================
   SUUREM TABLET / VÄIKSEM DESKTOP
================================ */
@media (max-width: 1200px) {
  .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.45rem 0.6rem;
  }
}

/* ===============================
   TABLET
================================ */
@media (max-width: 992px) {

  /* Navbar muutub ruudustikuks (Grid) */
  .navbar-nav {
    flex-direction: row; /* Elemendid kõrvuti */
    flex-wrap: wrap;     /* Uus rida kui ei mahu */
    width: 100%;
    padding-bottom: 10px;
  }

  .navbar-nav .nav-item {
    width: 50%; /* Kaks elementi reas */
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Õrn eraldusjoon */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2) !important; /* Tumedam taust alammenüüle */
    border: none;
  }

}

/* ===============================
   MOBIIL
================================ */
@media (max-width: 768px) {

  /* Menüüs suuremad klikialad */
  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 0.6rem 0;
  }

  /* Dropdown mobiilis – lihtsam */
  .dropdown-menu {
    box-shadow: none;
  }

  .dropdown-item {
    padding: 0.4rem 0;
  }

}

/* ===============================
   VÄGA VÄIKE EKRAAN
================================ */
@media (max-width: 500px) {

  .navbar-nav .nav-link {
    font-size: 0.95rem;
  }

}

@media (max-width: 768px) {
    .section {
        padding: 1em !important;
    }
    .navbar-toggler  {
        margin-left: 5px;
    }

}


/*
    ikoonide tabel
    */
table {

    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}


table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

table tr {


    padding: .35em;
}

table th,
table td {
    padding: .625em;
    text-align: center;
}

table th {
    font-size: .75em;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media screen and (max-width: 600px) {
    table th,
    table td {
        padding: .2em;

    }
}

/*
    .icon img {
        height: 5em;
        width: 5em;
    }
    table {
        border: 0;
    }

    table caption {
        font-size: 1.3em;
    }

    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table tr {

        display: block;
        margin-bottom: .625em;
    }

    table td {

        display: block;
        font-size: .8em;
        text-align: left;
    }

    table td::before {
       
        content: attr(data-label);
        float: right;
        font-weight: bold;
        text-transform: uppercase;
    }

    table td:last-child {
        border-bottom: 0;
    }
}
 ikoonide tabel
    */

    /* Peidame checkboxi, et kasutada labelit nupuna */
    .filter-checkbox {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    /* Nupu välimusega label */
    .filter-label {
      display: inline-block;
      padding: 6px 12px;
      margin: 2px;
      font-size: 14px;
      cursor: pointer;
      background-color: #f8f9fa;
      border: 1px solid #ddd;
      border-radius: 4px;
      user-select: none;
    }

    /* Valitud olek - roheline */
    .filter-checkbox:checked + .filter-label {
      background-color: #A8CD1B;
      color: white;
      border-color: #A8CD1B;
    }

    /* Filtri avamise nupp ja animatsioon */
    #toggle-filters-btn {
      background-color: #A8CD1B;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 16px;
      margin-bottom: 15px;
      width: 100%;
      text-align: left;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background-color 0.3s;
    }

    #toggle-filters-btn:hover {
      background-color: #003300;
    }

    #filters-wrapper {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
      opacity: 0;
    }

    #filters-wrapper.open {
      opacity: 1;
      max-height: 2000px;
    }

    /* Tühista nupu stiil */
    #clear-filters-btn {
      background-color: #003300;
      color: white;
      border-color: #003300;
      width: 100%;
      text-align: center;
      margin-top: 15px;
    }
    #clear-filters-btn:hover {
      background-color: #A8CD1B;
    }

    /* Slideri stiilid */
    .slider-container {
      margin-top: 10px;
      margin-bottom: 25px;
    }
    .slider-container strong {
        display: block;
        margin-bottom: 15px;
    }
    .slider-container .slider {
        margin: 0 5px;
    }
    .slider-values {
      font-weight: bold;
      color: #003300;
      text-align: center;
      margin-top: 8px;
    }
    /* noUiSlider custom styles */
    .noUi-connect {
        background: #5cb85c;
    }
    
    /* Värviratta stiilid */
    #color-wheel-container {
        position: relative;
        width: 180px;
        height: 180px;
        margin: 15px auto 10px;
        cursor: pointer;
        touch-action: none;
    }
    #color-wheel {
        border-radius: 50%;
    }
    #color-selector {
        position: absolute;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid white;
        box-shadow: 0 0 0 2px black, inset 0 0 0 2px black;
        transform: translate(-50%, -50%);
        pointer-events: none;
        display: none;
    }
    #color-wheel-clear {
        display: none;
        position: absolute;
        top: 5px;
        right: 5px;
        width: 24px;
        height: 24px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        text-align: center;
        line-height: 24px;
        font-weight: bold;
        cursor: pointer;
        font-size: 18px;
        color: #333;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }
    #color-wheel-clear:hover {
        background: white;
        color: red;
    }

@media screen and (max-width: 576px) {
    .gallery-image > img,
    .post__image-container,
    .post__featured-image {
        width: 100%;
        height: 65vw;
    }
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #d9534f;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Sordi infoplokk ikoonidega */
.variety-info {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.variety-info-item {
    text-align: center;
    flex: 1;
    font-size: 12px;
    color: #666;
}
.variety-info-item img {
    height: 35px;
    display: block;
    margin: 0 auto 4px;
}
.variety-info-item i {
    font-size: 30px;
    color: #5cb85c;
    display: block;
    margin-bottom: 4px;
}
.place-icons {
    display: flex;
    justify-content: center;
    gap: 4px;
}
.place-icons i {
    display: inline-block;
}

@media (min-width: 992px) {
    .variety-info-item img {
        height: 40px;
    }
    .variety-info-item i {
        font-size: 35px;
    }
}

/* karusell */
.carousel-indicators-thumbs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Joondab vasakule */
    gap: 10px;
}

.carousel-indicators-thumbs li {
    flex: 0 0 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
    padding: 2px;
}

.carousel-indicators-thumbs li.active {
    border-color: #003300;
}

.carousel-indicators-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

/* Karuselli noolte parem nähtavus */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 51, 0, 0.5); /* Tumedam roheline taust */
    border-radius: 50%;
    padding: 20px;
    background-size: 50% 50%;
}
/* Sordilehe pildigalerii fikseeritud kõrgus */
.carousel-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 proportsioon (3 / 4 = 0.75) */
    padding-top: 75%; /* 4:3 proportsioon */
    overflow: hidden;
    display: block; /* Vajalik <a> tagi jaoks */
    background-color: #f8f9fa; /* Taustavärv piltide laadimise ajaks */
    display: block;
    background-color: #f8f9fa;
}

.carousel-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Pilt katab kogu ala, vajadusel lõigatakse ääri */
    object-fit: cover;
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px !important;
    height: 20px !important;
    background-color: #f0f0f0;
    color: #ccc; /* for the svg currentColor */
}
.placeholder-image svg {
    width: 50%;
    height: 50%;
    max-width: 80px;
}

/*

.header-carousel {
  display: flex;
  align-items: stretch;
  height: 260px;
}

.logo-area {
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  max-width: 85%;
  max-height: 85%;
  padding: 15px;
}

.header-carousel .carousel-area {
  flex: 1;
  overflow: hidden;
}

.header-carousel .carousel,
.header-carousel .carousel-inner,
.header-carousel .carousel-item,
.header-carousel .slide--single,
.header-carousel .slide--triple {
  height: 100%;
}

.header-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {

  .header-carousel {
    flex-direction: column;
    height: auto;
  }

  .logo-area {
    max-width: 85vw;
    margin: 0 auto 6px;
  }

  .header-carousel .carousel-area,
  .header-carousel .carousel,
  .header-carousel .carousel-inner,
  .header-carousel .carousel-item,
  .header-carousel .slide--single,
  .header-carousel .slide--triple {
    height: 75px;
  }

  .header-carousel img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .header-carousel .slide--triple .row {
    height: 100%;
    margin: 0;
  }

  .header-carousel .slide--triple .col-4 {
    padding: 0;
  }
}


/* ==============================
   HEADER CAROUSEL / SWIPER
============================== */

/* Desktop: logo + slider kõrvuti */
.header-carousel {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: clamp(180px, 18vw, 300px); /* desktop kõrgus */
}

.logo-area {
  width: clamp(180px, 20vh, 300px); /* fikseeritud logo ala */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  max-width: 85%;
  max-height: 85%;
  height: auto;
  width: auto;
  margin: 15px;
}

/* Swiper ala desktopil */
.header-swiper {
  flex: 1; /* võtab kogu ülejäänud laiuse */
  height: 100%;
  position: relative;
}

.header-swiper .swiper-wrapper,
.header-swiper .swiper-slide {
  height: 100%;
}

.header-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Noolte stiil */
.header-swiper .swiper-button-next,
.header-swiper .swiper-button-prev {
  color: white;
  background-color: rgba(0,0,0,0.4);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.header-swiper .swiper-button-next::after,
.header-swiper .swiper-button-prev::after {
  font-size: 20px;
}
.triple {
  display: flex;
  width: 100%;       /* võtab kogu slide’i laiuse */
  height: 100%;
  gap: 0;             /* ei jäta ruumi piltide vahele */
}

.triple img {
  flex: 1 1 0% !important;       /* iga pilt võtab võrdselt ruumi */
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ==============================
   MOBILE
============================== */
@media (max-width: 768px) {

  /* Header muutub vertikaalseks */
  .header-carousel {
    flex-direction: column;
    height: auto;  /* kõrgus slider + logo järgi */
    justify-content: center;
  }

  .logo-area {
    width: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 5px auto;
  }
  

  .header-swiper {
    width: 100%;   /* kogu ekraani laiuseks */
    height: 200px; /* sobiv mobiili kõrgus */
  }

  .header-swiper .swiper-wrapper,
  .header-swiper .swiper-slide {
    height: 100%;
  }

  .header-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-swiper .swiper-button-next,
  .header-swiper .swiper-button-prev {
    width: 30px;
    height: 30px;
  }

  .header-swiper .swiper-button-next::after,
  .header-swiper .swiper-button-prev::after {
    font-size: 16px;
  }
  .triple {
    flex-direction: row; /* või column, kui tahad ükshaaval allapoole */
  }

.triple img {
  flex: 1 1 0%;       /* iga pilt võtab võrdselt ruumi */
  height: 100%;
  object-fit: cover;
  display: block;
}
}
/* ==============================
   NAVBAR – UUS STIIL
============================== */

.navbar {
    background-color: #003300;
    color: white;
    font-variant: small-caps;
    font-weight: bold;
    letter-spacing: 2px;
    min-height: 56px;
    z-index: 8000;
}

.navbar-nav .nav-link {
    padding: 0.5rem 0.8rem;
    font-size: 1rem;
    white-space: nowrap;
    cursor: pointer;
}

.navbar-nav .nav-link img {
    vertical-align: middle;
}

.navbar-nav .nav-item {
    display: block;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-toggle.flag::after {
    display: inline-block;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    background-color: #003300 !important;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 9999;
    font-size: 0.95rem;
    border: none !important;            
    padding: 0 !important;
}

.dropdown-menu-right {
    min-width: 6em;
}

.dropdown-item {
    color: white !important;
    text-align: center;
    padding: 0.4rem 1rem;
    padding: 0.5rem 1rem;      /* sarnane nav-link paddinguga */
    display: block;
    transition: background-color 0.3s;
}

a.nav-link:hover,
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #A8CD1B !important;
    color: white !important;
    text-decoration: none;
}

/* Navbar toggler */
.custom-toggler.navbar-toggler {
    border-color: white;
}

.dropdown-menu.flag-dropdown {
    display: none; /* alguses peidetud */
    flex-direction: column; /* desktop: üksteise alla */
    align-items: center;
    background-color: #003300 !important; /* sama roheline nagu nav-ribal */
    padding: 0.5rem 0;
    border: none;
    min-width: auto; /* laiuse lähtimine lipu laiusega */
}
/* Iga lipu element */
.dropdown-menu.flag-dropdown .dropdown-item img {
    width: 40px;   /* sobiv suurus */
    height: auto;
    margin: 5px 0; /* vahe lipude vahel */
    display: block;
}

/* Hover efekti lipule */
.dropdown-menu.flag-dropdown .dropdown-item:hover img {
    filter: brightness(0.85); /* veidi tumedam hoveril */
}
.nav-item.dropdown:hover .dropdown-menu.flag-dropdown,
.nav-item.dropdown.show .dropdown-menu.flag-dropdown {
    display: flex;
}

/* ==============================
   RESPONSIVE NAVBAR
============================== */
@media (min-width: 769px) {
    .dropdown-menu.flag-dropdown {
        width: auto; /* sobitub nav-lipu laiusega */
    }
}

@media (max-width: 1200px) {
    .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 0.45rem 0.6rem;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
    }
    .navbar-nav .nav-item {
        margin: 0.2rem 0;
    }
    .dropdown-menu {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.6rem 0;
    }
    .dropdown-menu {
        position: static;
        float: none;
        border: none;
        box-shadow: none;
        background-color: transparent;
    }
    .dropdown-item {
        padding: 0.4rem 0;
    }
      .dropdown-menu.flag-dropdown {
        flex-direction: row; /* horisontaalselt */
        justify-content: space-around; /* ühtlane jaotus */
        padding: 0.5rem 1rem;
        width: 100%
        
    }

    .dropdown-menu.flag-dropdown .dropdown-item img {
        margin: 0 5px; /* veidi vahet */
    }
}

/* Külgmenüü sticky seaded */
@media (min-width: 992px) {
    .nav2 {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 60px;
        align-self: flex-start;
        height: calc(100vh - 60px);
        overflow-y: auto;
        background-color: #003300;
        z-index: 1000;
    }
}

@media (max-width: 500px) {
    .navbar-nav .nav-link {
        font-size: 0.95rem;
    }
}

.navSide .nav-link {
    white-space: normal;
}
