/********************************************************
			Templatemela Custom Styles
********************************************************/

.tm-carousel {
    position: relative;
    float: left;
    width: 100%;
    margin: 0;
    -ms-touch-action: pan-y;
}

.owl-carousel .owl-wrapper {
    display: none;
    position: relative;
    -webkit-transform: translate3d(0px, 0px, 0px);
    -moz-transform: translate3d(0px, 0px, 0px);
    -ms-transform: translate3d(0px, 0px, 0px);
    -o-transform: translate3d(0px, 0px, 0px);
    transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.owl-carousel .owl-wrapper-outer {
    overflow: hidden;
    position: relative;
    float: left;
    width: 100%;
}

.owl-carousel .owl-wrapper-outer.autoHeight {
    -webkit-transition: height 500ms ease-in-out;
    -moz-transition: height 500ms ease-in-out;
    -ms-transition: height 500ms ease-in-out;
    -o-transition: height 500ms ease-in-out;
    transition: height 500ms ease-in-out;
}

.owl-carousel .owl-item {
    float: left;
}

.owl-carousel .owl-item .manu_image a {
    display: inline-block;
}

.owl-carousel .owl-item .manu_image a img {
    max-width: 100%;
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
    /* fix */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    text-align: center;
}


/* mouse grab icon */

.grabbing {
    cursor: url("../img/megnor/grabbing.png") 8 8, move;
}

.customNavigation {
    position: absolute;
    z-index: 959;
    width: 100%;
    direction: ltr !important;
    text-align: center;
    clear: both;
    top: 35%;
}

#blockinstagram .customNavigation {
    top: 0;
}

#tmtestimonialcmsblock .customNavigation {
    top: -13.5%;
    right: 0;
    left: auto;
    display: none;
}

.brands .customNavigation {
    top: 40%;
}

.brands .customNavigation a.prev,
.js-qv-mask.additional_slider .customNavigation a.prev {
    left: 0;
    right: auto;
}

.brands .customNavigation a.next,
.js-qv-mask.additional_slider .customNavigation a.next {
    left: auto;
    right: 0;
}

.js-qv-mask.additional_slider .customNavigation {
    top: 35%;
    width: 100%;
    position: absolute;
}

.customNavigation a {
    position: absolute;
    padding: 0;
    border: none;
    height: 26px;
    width: 26px;
    cursor: pointer;
    overflow: hidden;
    font-size: 0.001px;
}

#tmtestimonialcmsblock .customNavigation a {
    background-size: 17px;
}

#tmtestimonialcmsblock .customNavigation a.prev {
    right: 11px;
    left: auto;
}

#tmtestimonialcmsblock .customNavigation a.next {
    right: -8px;
    left: auto;
}

.customNavigation a.prev {
    background: url("../img/megnor/left-arrow.svg") no-repeat center;
    background-size: 26px;
    left: -25px;
    right: auto;
}

.customNavigation a.prev:hover {
    background: url("../img/megnor/left-arrow-hover.svg") no-repeat center;
    background-size: 26px;
}

.customNavigation a.next {
    background: url("../img/megnor/right-arrow.svg") no-repeat center;
    background-size: 26px;
    right: -25px;
    left: auto;
}

.customNavigation a.next:hover {
    background: url("../img/megnor/right-arrow-hover.svg") no-repeat center;
    background-size: 26px;
}

#tmcategorylist-carousel .owl-controls.clickable {
    clear: both;
    display: none !important;
    width: 100%;
}

.tmcategorylist #tmcategorylist-carousel .owl-pagination {
    text-align: center;
    margin: 50px 0 0;
}

.tmcategorylist #tmcategorylist-carousel .owl-pagination .owl-page.active {
    background: #3cb278;
    transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
}

.tmcategorylist #tmcategorylist-carousel .owl-pagination .owl-page {
    text-align: center;
    display: inline-block;
    background: #D0D0D0;
    float: none;
    height: 10px;
    cursor: pointer;
    margin-right: 10px;
    width: 10px;
}


/*** custom ***/

#product-modal .modal-content button.close {
    padding: 5px 10px;
    z-index: 1;
    position: absolute;
    right: -13px;
    cursor: pointer;
    top: -16px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #ccc;
}

@media (max-width: 767px) {
    #product-modal .modal-content button.close {
        top: 4px;
        right: 0
    }
    .customNavigation a.prev {
        left: -10px;
    }
    .customNavigation a.next {
        right: -10px;
    }
    #blockinstagram .customNavigation {
        position: absolute;
        width: auto;
        right: 10px;
    }
    #tmtestimonialcmsblock .customNavigation {
        right: 0;
        width: 100%;
    }
}

@media (max-width: 479px) {
    #tmtestimonialcmsblock .customNavigation {
        bottom: 2px;
    }
    .homeblog-inner .customNavigation {
        top: 25% !important;
        right: 10px;
        width: 193%;
    }
    .homeblog-inner .customNavigation a.prev {
        right: auto;        
    }
    .homeblog-inner .customNavigation a.prev, .homeblog-inner .customNavigation a.prev:hover, .homeblog-inner .customNavigation a.next, .homeblog-inner .customNavigation a.next:hover {
        background-size: 30px;
    }
}

.telefon {
    display: none;
}

.telefon {
    color: white;
    float: left;
    padding-top: 10px;
}

.cat-inline {
    background-color: #E7D3BA;
    padding: 10px;
    margin-bottom: 20px;
}
a .cat-inline:hover {
    color: black;
    background-color: #d2b181;
}
.cat-inline img {
    border: solid 4px white;
    margin-right: 5px;
}
.cat-inlinename {
    display: inline-block;
    max-width: 208px;
    max-height: 43px;
    vertical-align: middle;
    line-height: 22px;
}
@media (max-width: 1349px) {
    .cat-inlinename {
        max-width: 180px;
        line-height: 20px;
    }
}
@media (max-width: 1199px) {
    .cat-inlinename {
        max-width: 137px;
        font-size: 12px;
        line-height: 20px;
    }
}
@media (max-width: 991px) {
    .cat-inlinename {
        max-width: 240px;
        font-size: 12px;
        line-height: 20px;
    }
}
@media (max-width: 695px) {
    .cat-inlinename {
        max-width: 145px;
        font-size: 12px;
        line-height: 20px;
    }
}
@media (max-width: 543px) {
    .cat-inlinename {
        max-width: 300px;
        font-size: 12px;
        line-height: 20px;
    }
}
.cat-inlineimg {
    display: inline;
}
.negativepadd {
    margin-left: -10px;
    margin-right: -10px;
    margin-top: 30px;
    margin-bottom: 20px;
}
.spacetop1 {
    margin-top: 10px;
}
.product-description p a {
    color: black;
    text-decoration: underline;
}
.product-flag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    color: white;
}
.product-flag .discount {
    background: #fe3025;
    font-size: 1.1rem;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
}
.product-flag2 {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    color: white;
}
.product-flag2 .discount {
    background: #fe3025;
    font-size: 1.1rem;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
}
.product-description ul {
    list-style: disc;
    line-height: 20px;
    margin-left: 30px;
}
.product-description h2 {
    margin-top: 10px;
}
.dropdown-submenu {
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: 700 !important;
}
.carrier-extra-content {
    background-color: white;
}
.alert {
    border: none;
}

#category-138 a,
#category-128 a,
#category-218 a,
#category-331 a,
#category-335 a,
#category-336 a,
#category-337 a,
#category-338 a,
#category-341 a,
#category-342 a {
    color: red;
}
.cd {
    display: flex;
    background: url("/img/bf_background_jar.jpg");
    background-size: auto;
    background-size: cover;
    padding: 20px 40px;
    color: #000000;
    align-items: center;
}
.cd__description {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}
.cd__time {
    display: flex;
}
.cd__time-item {
    padding: 0 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}
.cd__time-value {
    color: #fff;
    font-size: 55px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    width: 65px;
}
.cd__time-desc {
    font-size: 15px;
}
@media (max-width: 768px) {
    .cd {
        flex-direction: column;
    }
    
    .cd__description {
        text-align: center;
        font-size: 20px;
    }
    
    .cd__time-value {
        font-size: 30px;
        width: 40px;
    }
}
@media (min-width: 768px) {
    .cd__time {
        margin-left: auto;
    }
}
@media (max-width: 543px) {
    .product-description img {
        width: 100%;
        height: auto;
    }
    
    .product-description iframe {
        width: 100%;
    }
    
    #category-description iframe {
        width: 100%;
    }
}
.header-multishop-title {
    font-size: 32px;
}
.error-message-box {
    position: relative;
    left: -80px;
    text-align: center;
}
div#buttons_footer_review button[disabled] {
    opacity: 0.5;
}

/*
.images-container {
    height: 0;
    overflow: hidden;
    padding-top: 100%;
    background: white;
    position: relative;
}

.product-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
*/
@media (max-width: 768px) {
    .images-container {
        height: 0;
        overflow: hidden;
        padding-top: 100%;
        background: white;
        position: relative;
    }
    
    .product-cover {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .error-message-box {
        position: relative;
        left: 0;
    }
}
#category-description img {
    width: 100%;
    height: auto;
}

.cart-voucher {
    font-size:125%
}
div#ak-widget.akw-side-left, div#ak-widget.akw-side-left-badge, div#ak-widget.akw-side-left-text, div#ak-widget.akw-side-right, div#ak-widget.akw-side-right-badge, div#ak-widget.akw-side-right-text {
    top:100px !important;
}

/* Shared styles */
.foot_facebook,
.foot_youtube,
.foot_instagram,
.foot_tiktok,
.foot_telegram,
.foot_pinterest {
    display: block;
    width: 40px;
    height: 40px;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

/* Facebook */
.foot_facebook {
    background-image: url('/img/facebookpng.png');
}
.foot_facebook:hover {
    background-image: url('/img/facebookpng2.png');
}

/* YouTube */
.foot_youtube {
    background-image: url('/img/youtubepng.png');
}
.foot_youtube:hover {
    background-image: url('/img/youtubepng2.png');
}

/* Instagram */
.foot_instagram {
    background-image: url('/img/instagrampng.png');
}
.foot_instagram:hover {
    background-image: url('/img/instagrampng2.png');
}

/* TikTok */
.foot_tiktok {
    background-image: url('/img/tiktokpng.png');
}
.foot_tiktok:hover {
    background-image: url('/img/tiktokpng2.png');
}

/* Telegram */
.foot_telegram {
    background-image: url('/img/telegrampng.png');
}
.foot_telegram:hover {
    background-image: url('/img/telegrampng2.png');
}

/* Pinterest */
.foot_pinterest {
    background-image: url('/img/pinterestpng.png');
}
.foot_pinterest:hover {
    background-image: url('/img/pinterestpng2.png');
}

@media (max-width: 768px) {
    .foot_facebook,
    .foot_youtube,
    .foot_instagram,
    .foot_tiktok,
    .foot_telegram,
    .foot_pinterest {
        width: 38px;
        height: 38px;
    }
}
#footer #social li {
    padding: 5px;
}
#customer-form .custom-checkbox input {
    height: 20px !important;
    width: 20px !important;
}

/********************************************************
			PageNotFound Override Custom Styles
********************************************************/

.page-not-found__number {
    font-size: 8rem;
    text-align: center;
    color: #d2b181;
    margin-top: -3rem;
}

.page-not-found__emoji {
    text-align: center;
    color: #d2b181;
    margin-bottom: 1.5rem;
}

.page-not-found__emoji-img {
    width: 50px;
    height: auto;
    object-fit: contain;
}


.page-not-found__message {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.home-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -0.5rem;
}

.home-slider__row {
    padding: 0.5rem;  
    width: 100%;
    box-sizing: border-box;
    
}

@media (min-width: 480px) {
    .home-slider__row {
        max-width: 50%;
    }
}

@media (min-width: 768px) {
    .home-slider__row {
        max-width: 33.33%;                
    }
}

.home-slider__link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Ensures the zoom effect stays within the container */
}

.home-slider__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease; /* Smooth transition for the zoom effect */
}

.home-slider__img:hover {
    transform: scale(1.05); /* Slightly zoom in the image on hover */
}

.ml-0-1 { /* m-l-1 is too much */
    margin-left: 0.1rem !important;
}

.border-0 {
    border: none !important;
}

#tmserviceblock .antibacterial-content .icon,
#tmserviceblock .antibacterial-content [class^="icon-"] {
    background: transparent url(/img/icona_antibaktriálne_A.png) no-repeat center center;
    background-size: 66px;
}
    
#tmserviceblock .antibacterial-content:hover .icon,
#tmserviceblock .antibacterial-content:hover [class^="icon-"] {
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    background: transparent url(/img/icona_antibaktriálne_B.png) no-repeat center center;
    background-size: 66px;
}