/*Global*/
:root {
    --cookies-notice-background: #006811 !important;
    --stars: #EACF60 !important;
    --border-color: #e2e2e2;
    --border-color-dark: #EBEBEB;
    --light-background: #f7f7f7;
    --border-radius: 18px;
    --border-radius-small: 10px;
    --border-radius-extra-small: 8px;
    --transition: 0.3s;
    --sidebar-ink: #0a0a0a;
    --sidebar-soft: #f7f7f7;
}

:where(.ums_forms_redesign--on) .smart-label-wrapper label {
    font-size: var(--smart-labels-font-size);
    line-height: 1;
    padding-top: var(--form-controls-padding-y);
    top: 0;
    transform: translateY(0);
}

.breadcrumbs {
    padding-left: 0;
    padding-top: 15px;
}

.btn.btn-default,
a.btn.btn-default {
    color: #ffffff;
    border-radius: var(--border-radius-small);
}

.btn.btn-default:hover,
a.btn.btn-default:hover {
    color: #ffffff;
}

:focus-visible,
[tabindex="0"]:focus-visible,
input:focus-visible,
input[type=checkbox].focus-visible+label,
input[type=checkbox]:focus-visible+label,
input[type=radio].focus-visible+label,
input[type=radio]:focus-visible+label,
label:has(input[type=radio].focus-visible),
label:has(input[type=radio]:focus-visible),
select:focus-visible,
textarea:focus-visible {
    border-radius: var(--border-radius-small) !important;
}

:where(.ums_discussion_rating_forms--on) .btn,
:where(.ums_discussion_rating_forms--on) .btn.btn-conversion,
:where(.ums_discussion_rating_forms--on) a.btn,
:where(.ums_discussion_rating_forms--on) a.btn.btn-conversion {
    font-weight: 400;
}

.btn,
.btn.btn-conversion {
    border-radius: var(--border-radius-small);
}

.btn.btn-cart,
.btn.btn-conversion,
a.btn.btn-cart,
a.btn.btn-conversion {
    color: var(--colors-surface-white);
}

.btn.btn-cart:hover,
.btn.btn-conversion:hover,
a.btn.btn-cart:hover,
a.btn.btn-conversion:hover {
    color: var(--colors-surface-white);
}

.msg.msg-notice,
.msg.msg-success {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.quantity {
    border-color: #161616;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: var(--border-radius-small);
}

.quantity .increase,
.quantity .increase:before {
    border-bottom-right-radius: var(--border-radius-small);
    border-top-right-radius: var(--border-radius-small);
}

.quantity .decrease,
.quantity .decrease:before {
    border-bottom-left-radius: var(--border-radius-small);
    border-top-left-radius: var(--border-radius-small);
}

.quantity .increase {
    border-style: none none none solid;
}

.quantity .decrease {
    border-style: none solid none none;
}

.quantity .decrease,
.quantity .increase {
    background-color: #f3f3f3;
    width: 24px;
    border-width: 1px;
    border-color: #161616;
    transition: var(--transition);
}

.quantity .decrease:hover:before,
.quantity .increase:hover:before {
    color: var(--colors-surface-white);
    transition: var(--transition);
}

input {
    border-radius: var(--border-radius-small) !important;
}

body:not(.in-index) .content-wrapper.container {
    padding-left: 20px;
    padding-right: 20px;
}

/*Admin bar*/
@media (min-width: 992px) {
    .admin-bar {
        z-index: 1006;
    }
}

/*Homepage*/
.in-index main#content .row {
    margin-left: 0px;
    margin-right: 0px;
}

.in-index .overall-wrapper div#content-wrapper .content-wrapper-in {
    padding-top: 40px;
}

/*konkurenční výhody*/
.benefitBanner {
    margin: 80px auto 65px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.benefitBanner.position--benefitHomepage .benefitBanner__item {
    flex: 1;
    position: relative;
}

.benefitBanner__picture {
    flex: 0 0 35px;
    max-width: 35px;
    margin-right: 20px;
}

.benefitBanner__picture img {
    width: 100%;
    height: auto;
}

.benefitBanner.position--benefitHomepage .benefitBanner__content {
    padding-right: 20px;
}

.benefitBanner.position--benefitHomepage .benefitBanner__title {
    font-size: 20px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 10px;
    line-height: 1.2;
    display: flex;
}

.benefitBanner.position--benefitHomepage .benefitBanner__data {
    font-size: 12px;
    color: #999999;
    line-height: 1.4;
}

.benefitBanner.position--benefitHomepage .benefitBanner__item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #eaeaea;
}

/*Moje objednávka*/
.orderWithdraw--page:before,
.orderWithdraw {
    background-color: #ffffff !important;
}

/*Fix template*/
@media (min-width: 1440px) {
    .overall-wrapper>div#content-wrapper.container.container-narrow.content-wrapper {
        width: 1418px;
    }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .overall-wrapper>div#content-wrapper.container.container-narrow.content-wrapper {
        width: 1178px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .overall-wrapper>div#content-wrapper.container.container-narrow.content-wrapper {
        width: 972px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .overall-wrapper>div#content-wrapper.container.container-narrow.content-wrapper {
        width: 747px;
    }
}

@media (min-width: 768px) {
    body:not(.in-index) .content {
        padding-left: 0;
        padding-right: 0;
    }
}

@media(max-width: 1439px) and (min-width: 1200px) {
    .in-index .overall-wrapper div#content-wrapper .content-wrapper-in {
        padding-top: 20px;
    }
}

@media(max-width: 1199px) and (min-width: 992px) {
    .in-index .overall-wrapper div#content-wrapper .content-wrapper-in {
        padding-top: 30px;
    }

    .benefitBanner.position--benefitHomepage .benefitBanner__item {
        flex: 0 0 calc(50% - 10px) !important;
    }

    .benefitBanner.position--benefitHomepage .benefitBanner__item:nth-child(even)::after {
        display: none;
    }

    .category-banners-wrapper .category-banner {
        width: calc(100% / 3 - (2 * 20px / 3)) !important;
    }

}

@media(max-width: 991px) and (min-width: 768px) {
    .category-banners-wrapper .category-banner {
        width: calc(100% / 3 - (2 * 20px / 3)) !important;
    }

    .mid-banners-container .mid-banner.short-banner {
        width: 100% !important;
    }

    .in-index .overall-wrapper div#content-wrapper .content-wrapper-in {
        padding-top: 30px;
    }
}

@media(max-width: 991px) {
    .benefitBanner.position--benefitHomepage .benefitBanner__item {
        flex: 0 0 calc(50% - 10px) !important;
    }

    .benefitBanner.position--benefitHomepage .benefitBanner__item:nth-child(even)::after {
        display: none;
    }

    .mid-banners-container .mid-banner.short-banner {
        width: 100% !important;
        padding: 40px !important;
    }
}

@media(max-width: 767px) {
    .in-index .overall-wrapper div#content-wrapper .content-wrapper-in {
        padding-top: 20px;
    }

    .category-banners-wrapper .category-banner {
        width: calc(50% - 10px) !important;
    }

    .benefitBanner,
    .row.banners-content.body-banners,
    #footer .custom-footer {
        padding-inline: 10px;
    }

    .homepage-blog-wrapper.row.blog-wrapper .homepage-blog-carousel {
        padding-inline: 0px;
    }
}

@media(max-width: 580px) {
    .benefitBanner.position--benefitHomepage .benefitBanner__item {
        flex: 0 0 100% !important;
    }

    .benefitBanner.position--benefitHomepage .benefitBanner__item:not(:last-child)::after {
        display: none;
    }

    .benefitBanner.position--benefitHomepage .benefitBanner__content {
        padding-right: 0px;
    }

    .mid-banners-container .mid-banner.short-banner,
    .mid-banners-container .mid-banner.long-banner {
        padding: 30px !important;
    }

    span.mid-banner-heading {
        font-size: 30px;
    }

    .mid-banner-content p {
        margin-bottom: 0px !important;
        font-size: 14px !important;
    }
}

@media(max-width: 479px) {
    .benefitBanner {
        flex-wrap: wrap;
    }

    .overall-wrapper {
        padding-top: 70px;
    }

    .in-index .overall-wrapper div#content-wrapper .content-wrapper-in {
        padding-top: 10px;
    }

    .content-wrapper.container .row>div {
        padding-left: 5px;
        padding-right: 5px;
    }

    .benefitBanner,
    .row.banners-content.body-banners,
    #footer .custom-footer {
        padding-inline: 5px;
    }

    .mid-banners-container .mid-banner {
        flex-wrap: wrap;
    }

    .mid-banner-content,
    .mid-banner-button {
        width: 100% !important;
    }

    .mid-banner-button {
        justify-content: flex-start !important;
    }

    .homepage-blog-carousel .news-item .text {
        flex-wrap: wrap;
    }
}

@media(max-width: 374px) {
    .overall-wrapper {
        padding-top: 65px;
    }

    .mid-banners-container .mid-banner.short-banner {
        min-width: unset !important;
    }

    .category-banners-wrapper .category-banner {
        width: 100% !important;
    }
}