/* Apply Google Font to body/entire site */
body {
  font-family: "Varta", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Change heading font */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #135193 !important;
}

/* Apply to specific elements */
.product-name {
  font-family: "Satisfy", cursive;
  font-weight: 400;
  font-style: normal;
}

/* For ordered lists on custom pages */
.tew-list > ol {
  list-style-type: decimal;
}

.tew-list > ol > li {
  margin-bottom: 0.5rem;
}

/* Add address block styling */
.tew-address-block {
  margin: 0.5rem;
}

/* Adjust header logo size */
@media(min-width:360px) {
  .header-bottom .navbar-brand .logo {
    max-width:auto
  }
}

@media(min-width:576px) {
  .header-bottom .navbar-brand .logo {
    max-width:auto
  }
}

@media(min-width:768px) {
  .header-bottom .navbar-brand .logo {
    max-width:14rem
  }
}

@media(min-width:992px) {
  .header-bottom .navbar-brand .logo {
    max-width:15rem
  }
}

@media(min-width:1200px) {
  .header-bottom .navbar-brand .logo {
    max-width:16rem
  }
}

@media(min-width:1400px) {
  .header-bottom .navbar-brand .logo {
    max-width:16rem
  }
}

.ps-mainmenu .submenu{
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on mobile */
  max-height: calc(100vh - 140px); /* Default for largest screens */
}

.ps-mainmenu:is(.ps-mainmenu--mobile) {
    overflow-y: auto;  /* Change from hidden to auto */
    padding: 0;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on mobile */
}

@media (max-width: 360px){ .ps-mainmenu .submenu{ max-height: calc(100vh - 50px); } }
@media (max-width: 576px){ .ps-mainmenu .submenu{ max-height: calc(100vh - 60px); } }
@media (max-width: 768px){ .ps-mainmenu .submenu{ max-height: calc(100vh - 70px); } }
@media (max-width: 992px){ .ps-mainmenu .submenu{ max-height: calc(100vh - 80px); } }
@media (max-width: 1200px){ .ps-mainmenu .submenu{ max-height: calc(100vh - 100px); } }
@media (max-width: 1400px){ .ps-mainmenu .submenu{ max-height: calc(100vh - 120px); } }

/* Change primary color (buttons, links, accents) */
:root,
[data-bs-theme=light] {
  --bs-link-opacity: 1;
  --bs-blue: #0077C8;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #EF3340;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #EF3340;
  --bs-secondary: #0077C8;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #2D2926;
  --bs-primary-rgb: 239, 51, 64;
  --bs-secondary-rgb: 0, 119, 200;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-primary-text-emphasis: #052c65;
  --bs-secondary-text-emphasis: #2b2f32;
  --bs-success-text-emphasis: #0a3622;
  --bs-info-text-emphasis: #055160;
  --bs-warning-text-emphasis: #664d03;
  --bs-danger-text-emphasis: #58151c;
  --bs-light-text-emphasis: #495057;
  --bs-dark-text-emphasis: #495057;
  --bs-primary-bg-subtle: #cfe2ff;
  --bs-secondary-bg-subtle: #e2e3e5;
  --bs-success-bg-subtle: #d1e7dd;
  --bs-info-bg-subtle: #cff4fc;
  --bs-warning-bg-subtle: #fff3cd;
  --bs-danger-bg-subtle: #f8d7da;
  --bs-light-bg-subtle: #fcfcfd;
  --bs-dark-bg-subtle: #ced4da;
  --bs-primary-border-subtle: #9ec5fe;
  --bs-secondary-border-subtle: #c4c8cb;
  --bs-success-border-subtle: #a3cfbb;
  --bs-info-border-subtle: #9eeaf9;
  --bs-warning-border-subtle: #ffe69c;
  --bs-danger-border-subtle: #f1aeb5;
  --bs-light-border-subtle: #e9ecef;
  --bs-dark-border-subtle: #adb5bd;
  --bs-white-rgb: 0, 0, 0;
  --bs-black-rgb: 255, 255, 255;
  --bs-body-color: #212529;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg: #fff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-emphasis-color: #000;
  --bs-emphasis-color-rgb: 0, 0, 0;
  --bs-secondary-color: rgba(33, 37, 41, .75);
  --bs-secondary-color-rgb: 33, 37, 41;
  --bs-secondary-bg: #e9ecef;
  --bs-secondary-bg-rgb: 233, 236, 239;
  --bs-tertiary-color: rgba(33, 37, 41, .5);
  --bs-tertiary-color-rgb: 33, 37, 41;
  --bs-tertiary-bg: #f8f9fa;
  --bs-tertiary-bg-rgb: 248, 249, 250;
  --bs-heading-color: inherit;
  --bs-link-color: #135193;
  --bs-link-color-rgb: 19, 81, 147;
  --bs-link-decoration: underline;
  --bs-link-hover-color: #C8102E;
  --bs-link-hover-color-rgb: 200, 16, 46;
  --bs-code-color: #d63384;
  --bs-highlight-color: #212529;
  --bs-highlight-bg: #fff3cd;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, .175);
  --bs-focus-ring-color: rgba(13, 110, 253, .25);
  --bs-form-valid-color: #198754;
  --bs-form-valid-border-color: #198754;
  --bs-form-invalid-color: #dc3545;
  --bs-form-invalid-border-color: #dc3545;
}

[data-bs-theme=dark] {
  color-scheme: dark;
  --bs-link-opacity: 1;
  --bs-body-color: #dee2e6;
  --bs-body-color-rgb: 222, 226, 230;
  --bs-body-bg: #212529;
  --bs-body-bg-rgb: 33, 37, 41;
  --bs-emphasis-color: #fff;
  --bs-emphasis-color-rgb: 255, 255, 255;
  --bs-secondary-color: rgba(222, 226, 230, .75);
  --bs-secondary-color-rgb: 222, 226, 230;
  --bs-secondary-bg: #343a40;
  --bs-secondary-bg-rgb: 52, 58, 64;
  --bs-tertiary-color: rgba(222, 226, 230, .5);
  --bs-tertiary-color-rgb: 222, 226, 230;
  --bs-tertiary-bg: #2b3035;
  --bs-tertiary-bg-rgb: 43, 48, 53;
  --bs-primary-text-emphasis: #6ea8fe;
  --bs-secondary-text-emphasis: #a7acb1;
  --bs-success-text-emphasis: #75b798;
  --bs-info-text-emphasis: #6edff6;
  --bs-warning-text-emphasis: #ffda6a;
  --bs-danger-text-emphasis: #ea868f;
  --bs-light-text-emphasis: #f8f9fa;
  --bs-dark-text-emphasis: #dee2e6;
  --bs-primary-bg-subtle: #031633;
  --bs-secondary-bg-subtle: #161719;
  --bs-success-bg-subtle: #051b11;
  --bs-info-bg-subtle: #032830;
  --bs-warning-bg-subtle: #332701;
  --bs-danger-bg-subtle: #2c0b0e;
  --bs-light-bg-subtle: #343a40;
  --bs-dark-bg-subtle: #1a1d20;
  --bs-primary-border-subtle: #084298;
  --bs-secondary-border-subtle: #41464b;
  --bs-success-border-subtle: #0f5132;
  --bs-info-border-subtle: #087990;
  --bs-warning-border-subtle: #997404;
  --bs-danger-border-subtle: #842029;
  --bs-light-border-subtle: #495057;
  --bs-dark-border-subtle: #343a40;
  --bs-heading-color: inherit;
  --bs-link-color: #6ea8fe;
  --bs-link-hover-color: #8bb9fe;
  --bs-link-color-rgb: 110, 168, 254;
  --bs-link-hover-color-rgb: 139, 185, 254;
  --bs-code-color: #e685b5;
  --bs-highlight-color: #dee2e6;
  --bs-highlight-bg: #664d03;
  --bs-border-color: #495057;
  --bs-border-color-translucent: hsla(0, 0%, 100%, .15);
  --bs-form-valid-color: #75b798;
  --bs-form-valid-border-color: #75b798;
  --bs-form-invalid-color: #ea868f;
  --bs-form-invalid-border-color: #ea868f
}

.cookie-notification {
    background: #333;
    color: #fff;
    padding: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    display: none; /* Hidden by default */
    z-index: 9999; /* Ensure it's above other elements */
}

.cookie-message-button {
  background-color: #04AA6D;
  border: none;
  color: white;
  padding: 6px 18px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px!important;
  margin-bottom: 3px!important;
}

/* Slideshow container */
.tew-slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.tew-slides {
  display: none;
}

/* Next & previous buttons */
.tew-prev, .tew-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 5px;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Position the "next button" to the right */
.tew-next {
  right: 0;
  border-radius: 5px;
}

/* On hover, add a black background color with a little bit see-through */
.tew-prev:hover, .tew-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Image */
.tew-slideshow-image {
  padding: 6px 50px;
}

/* Caption text */
.tew-caption-text {
  font-size: 15px;
  /*padding: 8px 12px;*/
  position: absolute;
  /*bottom: 8px;*/
  width: 100%;
  background-color: rgba(51, 51, 51, 0.8);
  border: none;
  color: white;
  padding: 6px 18px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px!important;
  margin-bottom: 3px!important;
}

.tew-caption-text:hover {
  background-color: #EF3340;
}

/* Number text (1/3 etc) */
.tew-number-text {
  color: #d2d2d2;
  font-size: 12px;
  padding: 6px 12px;
  position: absolute;
  top: 0;
}

/* Container for the dots*/
.tew-dot-container {
  text-align:center;
  padding: 12px;
}

/* The dots/bullets/indicators */
.tew-dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.tew-active, .tew-dot:hover {
  background-color: #717171;
}

.tew-dot:hover {
  background-color: #EF3340;
}



/* Fading animation */
.tew-fade {
  animation-name: tew-fade;
  animation-duration: 1.5s;
}

@keyframes tew-fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

div.gallery-item {
  margin: 5px;
  border: 1px solid #ccc;
  width: calc(33% - 20px);
}

div.gallery-item:hover {
  border: 1px solid #777;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  div.gallery-item {
    width: calc(50% - 20px);
  }
}

@media only screen and (max-width: 480px) {
  div.gallery-item {
    width: calc(100% - 20px);
  }
}
