body.lightgallery-open {
    width: 100vw !important;
    overflow: hidden !important;
}
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}
body.modal-open .fixed-top {
  padding-right: 0 !important;
  transition: none !important;
}
.scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #bd1c18 !important;
    border-radius: 0 !important;
}
.scrollTop {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cc0000;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.scrollTop.visible {
    opacity: 1;
    visibility: visible;
}

/* SIZES, BUTTON HOVER EFFECTS & SCROLL DOWN ANIMATION */

.btn.bg-dark {
    position: relative;
    width: fit-content;
    min-width: 200px;
    overflow: hidden;
    z-index: 11;
}
.btn.bg-dark::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #7e7e7e;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    z-index: -1;
}
.btn.bg-dark:hover {
    border: 1px solid #7e7e7e !important;
}
.btn.bg-dark:hover::after {
    transform: scaleX(1);
}
.btn.bg-dark > * {
    position: relative;
    z-index: 1;
}
.hover-grayscale {
    filter: grayscale(0);
    transition: .5s linear filter;
}
.hover-grayscale:hover {
    filter: grayscale(1);
    transition: .5s linear filter;
}

/* SECTIONS */



/* WINEMAKING REGIONS */

object#winemaking-regions {
  max-width: 100%;
  height: auto;
}

/* TIMELINE STYLES */

#wine-timeline {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}
#wine-timeline.dragging {
    cursor: grabbing;
    user-select: none;
}
#wine-timeline {
    cursor: grab;
}
#wine-timeline {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#wine-timeline::-webkit-scrollbar {
    display: none;
}
.horizontal-scroll {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}
.timeline-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    will-change: transform;
}
@media (min-width: 1300px){
    .timeline-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 300px;
        max-width: 25%;
        margin: 0 20px;
        white-space: normal;
    }
}
@media (max-width: 1299px){
    .timeline-item {
        max-width: 33.3333%;
    }
}
@media (max-width: 1023px){
    .timeline-item {
        max-width: 50%;
    }
}
@media (max-width: 767px){
    .timeline-item {
        max-width: 100%;
    }
}
.horizontal-line {
    position: absolute;
    width: 100vw;
    height: 1px;
    background-color: var(--red);
    top: 260px;
    z-index: 1;
}
.text-content {
    position: relative;
    text-align: center;
    margin-bottom: 1rem;
    padding: 5px;
    min-height: 250px;
    background-color: rgba(255,255,255,.15);
}
.text-content .content p {
    white-space: normal;  /* allow wrapping */
    word-wrap: break-word; /* handle very long words */
}
.text-content::after {
    content: '';
    position: absolute;
    top: 255px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--red);
    z-index: 2;
}
.img-wrapper img {
    width: 100%;
    height: auto;
}
.horizontal-scroll {
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    cursor: grab;
}
.horizontal-scroll.dragging {
    cursor: grabbing;
}
.timeline-wrapper {
    display: flex;
    flex-direction: row;
}
.timeline-item {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 40px;
    text-align: center;
}
.img-wrapper {
    margin-top: 10px;
    margin-bottom: 0px;
}
.timeline-img  {
    max-height: 350px;
}

/* GALLERY - GRID */

.grid-item {
    width: 100%;
    padding: 5px;
}
@media (min-width: 768px) {
    .grid-item {
        width: 50%;
    }
}
@media (min-width: 1200px) {
    .grid-item {
        width: 16.6667%;
        box-sizing: border-box;
    }
}
.grid-item img {
    width: 100%;
    height: auto;
    display: block;
}
.gallery-image-wrapper {
    border-radius: .25rem;
    cursor: pointer;
}
.gallery-image-wrapper::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.3);
    display: block;
    opacity: 0;
    transition: .3s linear all;
    z-index: 110;
}
.gallery-image-wrapper:hover::before {
    opacity: 1 !important;
    transition: .3s linear all;
}
.gallery-image-wrapper::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Material Icons';
    content: 'search';
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 2rem;
    color: #ffffffffffff;
    display: inline-block;
    vertical-align: middle;
    z-index: 111;
}
.gallery-image-wrapper img {
    transform: scale(1);
    filter: grayscale(0);
    transition: .3s linear all;
}
.gallery-image-wrapper:hover img {
    transform: scale(1.2);
    filter: grayscale(1);
    transition: .3s linear all;
}

/* CONTACT & CONTACT FORM */

.contact-logo {
    margin: 0 auto;
    float: none;
    display: block;
    max-width: 50%;
}
#contact-modal *:not(.material-icons):not(h4) {
  font-family: 'Roboto';
}
.form-control, .modal-content, .form-select {
    border-radius: 0 !important;
    font-size: .9rem;
}
.form-control:focus, .form-select:focus {
    border-color: #cc0000;
    box-shadow: none !important;
}
.closeBtn{
    right: 1rem;
}

/* TEST RESULTS MODAL */

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.responsive-table thead {
    background: #212121;
    color: #ffffff;
}
.responsive-table th, .responsive-table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: center;
    vertical-align: middle;
}
.responsive-table tr:last-of-type {
    margin-bottom: 0 !important;
}
@media (max-width: 575.98px) {
    .responsive-table thead {
        display: none;
    }
    .responsive-table,   .responsive-table tbody,   .responsive-table tr,   .responsive-table td {
        display: block;
        width: 100%;
    }
    .responsive-table tr {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
        background: #ffffff;
        padding: 0.5rem;
    }
    .responsive-table td {
        border: none;
        border-bottom: 1px solid #eeeeee;
        text-align: left !important;
        padding: 0.5rem 0.75rem;
        position: relative;
    }
    .responsive-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        margin-bottom: 0.25rem;
        color: #333333;
    }
    .responsive-table td:last-child {
        border-bottom: none;
    }
}
  
/* MAPS */

#contact-map {
    position: relative !important;
    margin: 0 auto;
    width: 100%;
    height: 80vh;
}
#kakheti-map {
    position: relative !important;
    margin: 0 auto;
    width: 100%;
    min-height: 80vh;
    height: auto;
}
.leaflet-popup-content-wrapper {
    border-radius: 0;
}
.leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    box-shadow: none;
}
.leaflet-bottom.leaflet-right {
    display: none;
}
.leaflet-popup-content {
    margin: 13px 19px;
    line-height: 1.4;
    font-family: var(--antonio);
    font-weight: 400;
    text-align: center;
    color: black;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

/* ACCORDIONS */

.accordion-item:first-of-type, .accordion-item:last-of-type, .accordion-item:first-of-type>.accordion-header .accordion-button {
    border-radius: 0;
}
.accordion-button:not(.collapsed),.accordion-button.collapsed  {
    color: #cc0000;
}
.accordion-button:not(.collapsed) {
    background-color: var(--dark-semitransparent);
}
.accordion-button.text-red {
    font-size: calc(1.3rem + .6vw) !important;
}
.accordion-button, .accordion-button:focus, .accordion-button:active, .accordion-button:focus-visible {
    box-shadow: none !important;
}

/* COOKIES */

.cky-notice .cky-title {
    font-weight: 500 !important;
    font-size: 17px !important;
    margin: 0 !important;
    font-family: 'Antonio' !important;
}
.cky-notice-des {
    font-family: 'Roboto';
}
.cky-notice-btn-wrapper {
    font-family: 'Antonio' !important;
    font-size: .9rem !important;
}
.cky-notice-des a.cky-policy, .cky-preference-content-wrapper .cky-show-desc-btn {
    color: #cc0000 !important;
}
button.cky-btn.cky-btn-reject {
    background: #cc0000 !important;
    border: 1px solid #ffffffffffff !important;
}
button.cky-btn.cky-btn-accept {
    background: #006b00 !important;
    border: 1px solid #ffffffffffff !important;
}
button.cky-btn.cky-btn-preferences {
    background: #f1f1f1 !important;
    color: #202020 !important;
    font-family: 'Antonio';
    border: #202020 !important;
    border-radius: 0 !important;
}
button.cky-accordion-btn {
    font-family: 'Antonio' !important;
}
.cky-btn-revisit-wrapper {
    background: #cc0000 !important;
}