/* Css for carousel post or page*/

/* Changes for invidual page or post */

.post-99999999389488 .carousel-container {
    margin-left: -100px;
    margin-right: -100px;
    width: 1277px !important;
}

.post-99999999389488 .carousel-item {
    width: calc(15% - 2px);
}

.post-99999999389488 .carousel-next path {
    transform: none;
    transform-origin: 35% 45% !important;
    transform: rotate(180deg) !important;
}

.page-id-99999999405154 .carousel-container {
    margin-left: -100px;
    margin-right: -100px;
    width: 1277px !important;
}

.page-id-99999999405154 .carousel-next path {
    transform: none;
    transform-origin: 45% 50% !important;
    transform: rotate(180deg) !important;
}

.page-id-99999999332857 .carousel-container {
    margin-left: -75px;
    margin-right: -100px;
    width: 1277px !important;
}

.page-id-99999999332857 .carousel-item {
    width: calc(14% - 4px);
}

.page-id-99999999332857 .buy-carousel a {
    line-height: 25px !important;
    width: 145px;
    display: grid;
}

.page-id-99999999332857 .details-item {
    padding: 0px 0px;
}

.page-id-99999999332857 .img-item img {
    position: relative;
    left: 0px;
    width: 100%;
    height: 200px;
    overflow-x: hidden;
    max-height: 140px;
    margin: 0 auto;
    opacity: 0.9;
    background-color: white !important;
    object-fit: scale-down !important;
}


.page-id-99999999332857 .details-item h3 {
    height: 44px;
}

/*-------------------*/

.carousel-container {
    position: relative;
    width: 777px;
    overflow: hidden;
    height: 310px
		z-index: 999999999999999!important;
}

.carousel {
    display: flex;
    gap: 5px;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 auto;
    width: calc(24% - 2px);
    padding: 0px 10px;
    box-sizing: border-box;
}

.carousel-prev {
    background-color: #289dcc;
    opacity: 80%;
    width: 44px !important;
    height: 44px !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transform: translateX(10px) !important;
    position: absolute !important;
    top: 35% !important;
}

.carousel-next {
    background-color: #289dcc;
    opacity: 80%;
    width: 44px !important;
    height: 44px !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transform: translateX(0px) !important;
    position: absolute !important;
    top: 35% !important;
	z-index: 999999999999999!important;
}

.carousel-next path {
    transform: inherit !important;
    transform-origin: center !important;
    transform: rotate(180deg) !important;

}

.carousel-next {
    right: 0;
}

.carousel-prev {
    left: 0;
}

.item {
    font-weight: normal !important;
}

/*
.img-item img {
    width: 150px;
    vertical-align: middle;
    object-fit: scale-down;
    height: 175px;
    padding: 15px;
}
*/

.item .img-item {
    width: 150px;
    height: auto;
    padding: 0px;
    border: none !important;
    box-shadow: none;
    padding-top: 10px;
    padding-bottom: 15px;
}

.img-item img {
    position: relative;
    left: 12px;
    width: 150px;
    height: 200px;
    overflow-x: hidden;
    max-height: 140px;
    margin: 0 auto;
    opacity: 0.9;
    background-color: white !important;
}

.details-item {
    padding: 3px 10px;
}

.details-item h3 {
    font-size: 0.8rem;
    font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue";
    font-weight: bold;
    color: #444;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 55px;
}

.price-carousel {
    border-top: 1px solid black;
    border-bottom: 1px solid #151515;
    width: 135px;
    position: relative;
    top: 0px;
    left: 5px;
    font-weight: 400 !important;
    font-size: 20px;
    border-top: 1px solid black;
    border-bottom: 1px solid #151515;
}

.old_price {
    position: relative;
    top: -33px;
    left: 88px;
    color: #151515;
    font-weight: 400 !important;
    font-size: 14px;
    text-decoration: line-through;
    height: 14px !important;
}

.discount_carousel {
    position: relative;
    top: -29px;
    left: 85px;
    height: 18px;
    font-weight: bold;
    border-radius: 5px;
    padding-left: 2px;
    width: 70px;
    background-color: rgb(255, 0, 0);
    box-shadow: #fff 0px 0px 2px 2px;
}

.carousel_discount_text {
    position: relative;
    top: -5px;
    left: 6px;
    color: white;
    font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue";
    font-size: 9pt;
    text-transform: uppercase;
}

.buy-carousel a {
    position: relative;
    height: 24px;
    width: 70px;
    color: #444 !important;
    font-weight: bold;
    font-size: 1em;
    left: 5px;
    top: -10px;
    background-color: transparent !important;
    text-decoration: none;
    line-height: 6px !important;
}

.dropdown-logo {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
}

.dropdown:hover .dropdown-content-logo {
    display: block;
}

.retailer_carousel {
    position: relative;
    top: -17px;
    float: right;
    width: 70px;
    height: 25px;
    left: 4px;
    padding-top: 0px;
    background-color: white;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.retailer_carousel img {
    width: 95%;
    padding-top: 5px;
}

/* Responsive adjustments */

@media (max-width: 600px) {

    body {
        width: -webkit-fill-available;
    }

    .carousel-container {
        width: 100%;
    }

    .carousel-item {
        width: 100%;
        flex: 0 0 100%;
        align-items: center;
        place-items: center;
        display: grid;
        justify-content: center;
    }

    .carousel-next path {
        transform: rotate(180deg) !important;
    }

    .carousel {
        flex-wrap: nowrap;
        gap: 2px;
    }

    item {
        height: 280px;
        width: 175px;
        place-items: center;
    }

    .buy-carousel a {
        line-height: 25px !important;
        width: 145px !important;
        display: block !important;
		left: 0px!important;
    }

    .img-item {
        object-fit: scale-down !important;
        position: relative;
        top: 0;
        left: 0;
        text-align: center;
    }

    .img-item img {
        width: 185px;
        vertical-align: middle;
        height: 100%;
    }

    .page-id-99999999332857 .carousel-container {
        width: 100%;
    }

    .page-id-99999999332857 .carousel-item {
        width: 100%;
        align-items: center;
        place-items: center;
        justify-content: center;
        display: flex;
    }

    .page-id-99999999332857 .carousel-container {
        margin-left: 0px;
        margin-right: 0px;
        width: 100% !important;
    }

    .page-id-99999999332857 .buy-carousel a {
        line-height: 25px !important;
        width: 145px !important;
    }

    .page-id-99999999332857 .details-item h3 {
        width: 145px !important;
        text-align: left;
    }

    .page-id-99999999332857 .price-carousel {
        width: 145px;
        left: 0px;
    }

    .page-id-99999999332857 .img-item img {
        width: 100%;
        left: 0px;
    }
}

/* CSS style extra for carousel different screen size */
@media (min-width: 1040px) and (max-width: 1120px) {

  .carousel-container {
    width: 720px !important;
  }
}

@media (min-width: 1000px) and (max-width: 1040px) {

  .carousel-container {
    width: 666px !important;
  }
}

@media (min-width: 768px) and (max-width: 769px) {
  .carousel-container {
    width: 680px !important;
  }
}

@media (min-width: 810px) and (max-width: 835px) {

  #primary {
    width: 100% !important;
  }

  #secondary {
    display: none !important;
  }

  .carousel-container {
    width: 745px !important;
  }

}