﻿[data-swift-page-header="121"]{
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
}
/* Anchor link fix */
h2 {
  scroll-margin-top: 120px; /* adjust to fit your sticky header height */
}

.article-card:hover {
 box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.pageLink:hover .iconLink {
    transform: translateX(4px);
    transition: 0.3s ease;
}

.SliderItemLink li>div:hover {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.required-character {
    color: #cf101c;
}

  #SmallScreenImagesThumbnails_@Model.ID .thumbnailProducts{
    border: 2px solid transparent;
    border-radius: .5rem;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  #SmallScreenImagesThumbnails_@Model.ID .thumbnailProducts.is-active{
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 0 0 .125rem rgba(207,16,28,0.19);
  }*/
  #SmallScreenImagesThumbnails_@Model.ID .thumbnailProducts:not(.is-active){
    filter: opacity(0.4); 
  }
  /* Optional: round the media inside too */
  #SmallScreenImagesThumbnails_@Model.ID .thumbnailProducts img,
  #SmallScreenImagesThumbnails_@Model.ID .thumbnailProducts video{
    border-radius: .5rem;
  }

.productCard {
    padding: 0.5rem;
}

.productCard:hover {
    box-shadow: 2px 2px 10px 0px lightgrey;
    border-radius: 0.3rem;
}

.thumbnailProducts {
    width: 5rem;
}

[data-bs-target="#vippsModal"],
.vipps-express-component {
    margin: 0 !important;
}

.cardPest::after {
    content: 'Se mer →'; /* You can change this to any arrow symbol or image */
    font-size: 1rem;
    position: absolute;
    bottom: 17px; /* Adjust the position of the arrow */
    right: 10px;  /* Adjust the position of the arrow */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cardPest:hover::after {
    opacity: 1;
}

[data-dw-itemtype="swift-v2_searchfield"][id="12973"] form, [data-dw-itemtype="swift-v2_searchfield"][id="20612"] form {
    margin-bottom: 0;
}

[data-dw-itemtype="swift-v2_productheader"] h2{
    font-weight: 100 !important;
}

[data-dw-itemtype="swift-v2_productlistitemrepeater"] .item_swift-v2_productheader,
[data-dw-itemtype="swift-v2_productcomponentslider"] .item_swift-v2_productheader {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2em;
    max-height: calc(1.2em * 3);
    min-height: calc(1.2em * 3);
    white-space: normal;
}

[data-dw-itemtype="swift-v2_productlistitemrepeater"] .item_swift-v2_productprice,
[data-dw-itemtype="swift-v2_productcomponentslider"] .item_swift-v2_productprice {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    max-height: calc(1.5em * 2);
    min-height: calc(1.5em * 2);
    white-space: normal;
}

[data-dw-itemtype="swift-v2_videoposter"][id="22524"] div {
  --swift-poster-height: 100% !important;  
}


[data-dw-itemtype="swift-v2_poster"],
[data-dw-itemtype="swift-v2_textandimage"],
[data-dw-itemtype="swift-v2_feature"],
[data-dw-itemtype="swift-v2_text"],
[data-swift-poster]:not([data-swift-poster=""]):has(figure):before  {
    border-radius: .375rem !important;
}

.stock-icon-in {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: #60d200;
}

.stock-icon-few {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: #ffa500;
}

.stock-icon-out {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: #c3423f;
}

[data-dw-itemtype="swift-v2_productvariantselector"] button {
    border: 1px solid #000;
}

[data-dw-itemtype="swift-v2_productvariantselector"] button:hover {
    border: 1px solid #000;
    background-color: #ddd;
}

.warningAuthorizedDealer {
    background-color: #FFF6F7;
    color: #000;
    padding: 1rem;
    border: 1px solid red;
    border-radius: .375rem !important;
}

.text-bg-secondary[data-label="Gnagere"] {
  background-color: rgba(255, 226, 226, 0.8) !important;
}
.text-bg-secondary[data-label="Insekter"] {
  background-color: rgba(224, 255, 228, 0.8) !important;
}
.text-bg-secondary[data-label="Fugler"] {
  background-color: rgba(224, 249, 255, 0.8) !important;
}
.text-bg-secondary[data-label="Andre skadedyr"] {
  background-color: rgba(255, 244, 224, 0.8) !important;
}

[data-dw-itemtype="swift-v2_app"][id="20660"] h3{
    padding: 3rem;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
        width: 30px !important;
        height: 30px !important;
    }

.accordion-body h2 {
    font-size: 14px;
}

.accordion-body img {
    display: none;
}

[data-dw-itemtype="swift-v2_productmediagallery"] {
    width: 100%;
}

@media (max-width: 768px) {
    .thumbnailProducts {
    width: 3rem;
    }

    .carousel-control-next, .carousel-control-prev {
        display: none;
    }

    [data-dw-itemtype="swift-v2_videoposter"][id="22524"] div {
  --swift-poster-height: 32vh !important;  
}

    /* [data-dw-itemtype="productvideo"]{
        margin-top: 2rem;
    } */
   
}

@media (max-width: 62rem) {
    .slider-indicators-round .slider-indicators>*, .slider-indicators-round.slider-indicators>*, .slider-indicators-square .slider-indicators>*, .slider-indicators-square.slider-indicators>* {
        width: .5rem !important;
        height: .5rem !important;
    }
}