.slot--article-description .tws-article-description--text-container {
	max-height: none;
}
.tws-article-description--text-container {
	max-height: none;
  overflow: visible;
}
.tws-article-description--show-more {
	display: none;
}
.btn-toolbar.tws-list-controls.pull-right {
	display: none;
}

/*----- CUSTOM TAGS/FLAGS -----*/
.tws-article-list--list .tws-list--type-grid .caption {
	position: static;
}
.flag-container,
.flag-container.one-label,
.flag-container.two-label {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 7px;
    right: 0;
}
.flag-container > div,
.flag-container.one-label > div,
.flag-container.two-label > div{
  background: red;
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}
.using-mouse.not-ie .tws-article-list--list .tws-list--list .thumbnail:hover .flag-container > div,
.using-mouse.not-ie .tws-article-list--list .tws-list--list .thumbnail:hover .flag-container.one-label > div,
.using-mouse.not-ie .tws-article-list--list .tws-list--list .thumbnail:hover .flag-container.two-label > div{
	margin-top: 5px;
  margin-right: -1px;
  padding-right: 15px;
}











.fabrikk--content-wrapper.container.center-block:has(.fabrikk--start-page) {
  margin: 0 !important; /* Removes any default margin */
  padding: 0 !important; /* Removes any default padding */
  width: 100% !important; /* Makes it span the full viewport width */
  max-width: none !important; /* Prevents any max-width restriction */
  min-height: 0 !important; /* Removes any minimum height */
  box-sizing: border-box !important; /* Ensures padding/borders are included in the dimensions */
  /*background-color: red !important; /* Sets the background color to red */
}

.fabrikk--content:has(.fabrikk--start-page) {
  margin: 0 !important; /* Removes any default margin */
  padding: 0 !important; /* Removes any default padding */
  width: 100% !important; /* Makes it span the full viewport width */
  max-width: none !important; /* Prevents any max-width restriction */
  min-height: 0 !important; /* Removes any minimum height */
  box-sizing: border-box !important; /* Ensures padding/borders are included in the dimensions */
  /*background-color: green !important; /* Sets the background color to red */
}

.fabrikk--start-page .tws-container--tws-custom-html {
  margin: 0 !important; /* Removes any default margin */
  padding: 0 !important; /* Removes any default padding */
  width: 100% !important; /* Makes it span the full viewport width */
  max-width: none !important; /* Prevents any max-width restriction */
  min-height: 0 !important; /* Removes any minimum height */
  box-sizing: border-box !important; /* Ensures padding/borders are included in the dimensions */
  /*background-color: red !important; /* Sets the background color to red */
}

/* Tar bort "back to top" från start sidan */
.fabrikk--content-container:has(.fabrikk--start-page) .fabrikk--back-to-top {
  display: none;
}

/* Slideshow Container */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
}

/* Slide Container */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Full height to match the container */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

/* Active Slide */
.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Images inside the Slide */
.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Ensure it fills the container */
  object-fit: cover; /* Maintain aspect ratio and fill the container */
  animation: zoomIn 4s ease-in-out infinite alternate;
}

/* Zoom-In Animation */
@keyframes zoomIn {
  0% {
    transform: scale(1); /* Start at normal size */
  }
  100% {
    transform: scale(1.1); /* Slight zoom */
  }
}

/* Overlay */
.overlay {
  position: absolute;
  top: 20px; /* Margin from the top */
  left: 20px; /* Margin from the left */
  width: 300px; /* Fixed width */
  min-height: 150px; /* Minimum height */
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 15px; /* Rounded corners */
  z-index: 3;
}

/* Overlay Header and Description */
.overlay h2 {
  margin: 0;
  font-size: 20px;
  color: white; /* White text color */
  font-weight: bold; /* Bold text */
}

.overlay p {
  margin: 10px 0 20px;
  font-size: 14px;
}

/* Navigation Buttons */
.navigation {
  display: flex;
  justify-content: space-between;
}

.navigation button {
  width: 25%;
  padding: 10px;
  font-size: 16px;
  color: white;
  background-color: transparent;
  border: 1px solid white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.navigation button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design for Phones */
@media (max-width: 768px) {
  .overlay {
    top: auto; /* Reset top margin */
    left: 10px; /* Smaller left margin */
    bottom: 10px; /* Move to the bottom */
    width: calc(100% - 20px); /* Full width with padding */
    border-radius: 10px; /* Slightly smaller corners */
    padding: 15px; /* Adjust padding for smaller screens */
  }
}

/* Target the buy button if the delivery time is not "1-2 business days" */
.tws-article-list--delivery-info:not(:has(.tws-article-list--delivery-info-body:contains("1-2 business days"))) 
+ .tws-article-list--buy-button .tws-article-buy-button-with-modal--buy-button {
    background-color: yellow !important;
    color: black !important;
}

/* Show US specific message during checkout */
.tws-checkout-shortcuts--delivery-country-US 
  .tws-react-common--search-dropdown-label {
  color: red; /* or any color/style you want */
}
/* Always show the EU notice */
.notice-eu {
  display: block;
}

/* Hide the US notice by default */
.notice-us {
  display: block;
}
/* Show the US notice when US is selected */
.tws-checkout-shortcuts--delivery-country-US .notice-us {
  display: block;
}

.tws-checkout-shortcuts--delivery-country-US::after {
  content: "TARIFF NOTICE FOR U.S. CUSTOMERS\A\APlease note that due to newly enforced U.S. import tariffs, any applicable duties or fees are the responsibility of the importer (the customer).\A\A All orders are shipped from Sweden (within the EU), and may be subject to these additional charges upon entry into the United States.\A\APlease check our list of resellers for US-based resellers with local stock.";
  display: block;
  white-space: pre-wrap;
  color: #856404;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 12px;
  margin-top: 10px;
  font-size: 1.0rem;
  border-radius: 6px;
}

.tws-checkout-shortcuts--delivery-country-AT::after, /* Austria */
.tws-checkout-shortcuts--delivery-country-BE::after, /* Belgium */
.tws-checkout-shortcuts--delivery-country-BG::after, /* Bulgaria */
.tws-checkout-shortcuts--delivery-country-HR::after, /* Croatia */
.tws-checkout-shortcuts--delivery-country-CY::after, /* Cyprus */
.tws-checkout-shortcuts--delivery-country-CZ::after, /* Czechia */
.tws-checkout-shortcuts--delivery-country-DK::after, /* Denmark */
.tws-checkout-shortcuts--delivery-country-EE::after, /* Estonia */
.tws-checkout-shortcuts--delivery-country-FI::after, /* Finland */
.tws-checkout-shortcuts--delivery-country-FR::after, /* France */
.tws-checkout-shortcuts--delivery-country-DE::after, /* Germany */
.tws-checkout-shortcuts--delivery-country-GR::after, /* Greece */
.tws-checkout-shortcuts--delivery-country-HU::after, /* Hungary */
.tws-checkout-shortcuts--delivery-country-IE::after, /* Ireland */
.tws-checkout-shortcuts--delivery-country-IT::after, /* Italy */
.tws-checkout-shortcuts--delivery-country-LV::after, /* Latvia */
.tws-checkout-shortcuts--delivery-country-LT::after, /* Lithuania */
.tws-checkout-shortcuts--delivery-country-LU::after, /* Luxembourg */
.tws-checkout-shortcuts--delivery-country-MT::after, /* Malta */
.tws-checkout-shortcuts--delivery-country-NL::after, /* Netherlands */
.tws-checkout-shortcuts--delivery-country-PL::after, /* Poland */
.tws-checkout-shortcuts--delivery-country-PT::after, /* Portugal */
.tws-checkout-shortcuts--delivery-country-RO::after, /* Romania */
.tws-checkout-shortcuts--delivery-country-SK::after, /* Slovakia */
.tws-checkout-shortcuts--delivery-country-SI::after, /* Slovenia */
.tws-checkout-shortcuts--delivery-country-ES::after /* Spain */ {
  content: "NOTICE FOR EU BUSINESS CUSTOMERS\A\ATo purchase without VAT set customer type to 'Business' and enter a valid VAT number else VAT will be charged to your order.";
  display: block;
  white-space: pre-wrap;
  color: #0c5460;
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  padding: 12px;
  margin-top: 10px;
  font-size: 1.0rem;
  border-radius: 6px;
}

/* Hide VAT field when Italy is selected in the country dropdown */
.tws-checkout--field-id-country:has(.tws-react-common--search-dropdown-label:contains("Italy"))
  + .tws-checkout--field-id-vatNumber {
  display: none;
}
