/*OBECNÉ*/

.mywarning {
    display: inline-flex;
    align-self: flex-start;

    margin: 4px 0;
    padding: 8px;

    background-color: var(--color-secondary-hover);
    font-weight: 600;
}

.mywarning-billing {
    order: -1;

    margin-left: 85px;
    padding-left: 8px !important;
}

/*HEADER*/

@media (min-width: 768px) {
    #navigation {
        opacity: 0;
    }

    #navigation ul.menu-level-1 > li .menu-level-2 li > div > ul.menu-level-3 {
        display: none;
    }

    .navigation-in > ul > li.ext > ul > li {
        width: 20%;
        flex-basis: 20%;
        min-height: 65px;
    }

    #navigation ul.menu-level-1 > li .menu-level-2 li {
        align-items: center;
    }

    #navigation ul.menu-level-1 > li .menu-level-2 li > div > a {
        font-size: 16px;
    }

    .navigation-in > ul > li.ext > ul > li > div {
        width: calc(100% - 73px);
    }

    #navigation ul.menu-level-1 > li .menu-level-2 li > div > a {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .navigation-in > ul > li.ext > ul > li > div > a {
        padding: 0;
    }

    #header #navigation ul.menu-level-1 > li.exp > ul {
        padding-top: 0;
    }

    #header .header-top .top-nav-button-account, #header .header-top .top-nav-button-login {
        right: 25px;
    }

    #header .navigation-buttons {
        padding-right: 80px;
    }

    body.template-11 .dkLabFavHeaderIconBtn::before {
        margin-right: 0;
    }

    .dkLabFavHeaderIconBtn::before {
        font-size: 0px;
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: url("/user/documents/upload/kodovani/heart.svg?v=1");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .dkLabFavHeaderIconBtn {
        color: #000;
        text-decoration: none;
        width: 18px;
        height: 18px;
    }

    #header .header-top .dropdown {
        margin-right: 75px;
    }

    .dkLabFavHeaderIconBtn em {
        top: 8px;
        right: -8px;
    }

    .site-msg.information:before {
        opacity: 1;
        background-color: #ffd7f1;
    }
}

/*PŘEDPLATNÉ KATEGORIE*/

.id-2374 #content .gears, .id-2374 #content .empty-content {
    display: none;
}

.fapi-order-form form button {
    min-height: unset;
}

.fapi-order-form input[type=checkbox], .fapi-order-form input[type=radio] {
    display: inline-block;
}

.fapi-order-form input[type=checkbox] + label:after, .fapi-order-form input[type=checkbox] + label:before, .fapi-order-form input[type=radio] + label:after, .fapi-order-form input[type=radio] + label:before {
    content: none;
}

.fapi-order-form input[type=checkbox] + label, .fapi-order-form input[type=radio] + label {
    padding-left: 0;
    line-height: unset;
}

.fapi-order-form input[type=checkbox]:before, .fapi-order-form input[type=checkbox]:after {
    content: none;
}

/*TOP KATEGORIE*/

.top-categories {
    margin: 0 auto 60px;
    border-bottom: 1px solid var(--color-primary);
    padding: 45px 30px 30px;
}

.top-category {
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-category__subtitle {
    position: relative;
    font-weight: 300;
    font-size: 15px;
    padding-bottom: 2px;
    line-height: 1.2;
}

.top-category__subtitle::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 50%;
    height: 1px;
    background-color: #000;
}

.top-category h4 {
    margin: 13px 0 18px !important;
    line-height: 1.25;
    padding: 0;
}

.pink-btn {
    font-weight: 700;
    color: #fff;
    background-color: var(--color-primary);
    padding: 7px 15px;
    border-radius: 0px;
    display: inline-flex;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.pink-btn:hover {
    text-decoration: underline;
}

.top-category .img-holder img {
    max-height: 100%;
}

.top-category .img-holder {
    height: 215px;
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.swiper-button-prev:after {
    content: "";
    position: absolute;
    width: 14px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    mask-image: url("/user/documents/upload/kodovani/arrow-left.svg");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: var(--color-primary);
}

.swiper-button-next:after {
    content: "";
    position: absolute;
    width: 14px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
    mask-image: url("/user/documents/upload/kodovani/arrow-left.svg");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: var(--color-primary);
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.top-category .overall-link {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/*RECEPTY HP*/

.myblog {
    padding: 50px 0;
}

.myblog-loader {
    display: none;
}

.myblog-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 0 -20px !important;
    width: auto !important;
}

.myblog-post {
    background: #fafafa;
    position: relative;
}

.myblog-post time {
    display: block;
}

.myblog-post .title {
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin: 5px 0 0px;
    text-decoration: none;
}

.myblog-post .image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.myblog-post .image > a {
    width: 100%;
    height: 100%;
    display: block;
}

.myblog-post .image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: all ease 300ms;
}

.myblog-post__text {
    padding: 20px;
}

.myblog > h2 {
    font-size: 26px;
    text-align: center;
    margin: 0 0 30px;
}

.myblog-post .overall-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.myblog-post:hover .image img {
    transform: scale(1.1);
}

.myblog .btn-holder {
    text-align: center;
    margin-top: 30px;
}

/*HP PRODUKTY*/

.whole-wrap {
    position: relative;
    padding: 0 30px;
}

.myswiper-navi {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 44px;
}

.products-block.swiper-wrapper {
    flex-wrap: nowrap;
    margin: 0 !important;
}

.products-block.products.swiper-wrapper .product {
    margin: 0;
}

.welcome-wrapper > .welcome h1 {
    font-size: 32px;
}

.welcome-wrapper > .welcome {
    background: rgba(175, 83, 144, .2);
}

/*BLOG VÝPIS*/

.type-posts-listing .news-wrapper .news-item:first-child .image {
    width: auto;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

.type-posts-listing .news-wrapper .news-item:first-child .image a {
    display: block;
    width: 100%;
    height: 100%;
}

.type-posts-listing .news-wrapper .news-item:first-child .image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.hp-news .news-wrapper .news-item .text, .type-posts-listing .news-wrapper .news-item .text {
    justify-content: flex-start;
}

/*DETAIL ČLÁNKU*/

.type-post .post-image {
    max-height: 400px;
    display: flex;
}

.type-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

/*CUKRÁŘSKÁ ABECEDA*/

.id-2385.type-posts-listing #newsWrapper > div {
    width: 100%;
}

.id-2385.type-posts-listing #newsWrapper > div .description, .id-2385.type-posts-listing #newsWrapper > div .read-more {
    display: none;
}

.id-2385.type-posts-listing #newsWrapper > div .title {
    font-size: 24px;
}

.id-2385.type-posts-listing #newsWrapper > div .text {
    padding: 0;
}

.id-2385.type-posts-listing #newsWrapper > div {
    margin: 0 0 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.id-2385.type-posts-listing #newsWrapper > div::before {
    content: "";
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: var(--color-primary);
}

.video-wrapper {
    position: relative;
    height: 0;
    width: 100%;
    max-width: 800px;
    padding-bottom: 56.25%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/*DRBKY*/

aside.sidebar .box.client-center-box ul .logout a {
    background-color: var(--color-primary);
}

.products-block.products-alternative > div:nth-child(4n), .products-block.products-related > div:nth-child(4n) {
    border-right: none !important;
}

.type-index .products {
    padding-bottom: 0 !important;
}

.homepage-box.welcome-wrapper h1 {
    max-width: 100%;
}

.homepage-blog-wrapper .content-inner > p, .hp-news .content-inner > p, .type-posts-listing .content-inner > p {
    padding-bottom: 10px;
}

/*RESPO*/

@media (max-width: 1600px) and (min-width: 768px) {
    .navigation-in > ul > li.ext > ul > li {
        width: 20%;
        flex-basis: 20%;
    }
}

@media (max-width: 1600px) and (min-width: 992px) {

}

@media (max-width: 1600px) {

}

@media (max-width: 1439px) and (min-width: 768px) {

}

@media (max-width: 1439px) {

}

@media (max-width: 1199px) and (min-width: 768px) {
    .navigation-in > ul > li.ext > ul > li {
        width: 33.333%;
        flex-basis: 33.333%;
    }

    #navigation ul.menu-level-1 > li .menu-level-2 li > div > a {
        font-size: 14px;
    }
}

@media (max-width: 1199px) {
    .in-index.multiple-columns-body.mobile .content {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .in-index.desktop .sidebar {
        display: none;
    }

    .in-index.multiple-columns-body.desktop .content {
        width: 100%;
    }
}

@media (max-width: 767px) and (min-width: 376px) {
    .top-category {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .top-category .img-holder {
        margin: 0 0 15px;
    }

    .top-category .img-holder {
        height: auto;
    }

    .top-category__subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
}


@media (max-width: 767px) {
    .myblog-inner {
        gap: 20px;
    }

    .myblog-post__text {
        padding: 10px;
    }

    .myblog-post .title {
        font-size: 14px;
    }

    .welcome-wrapper > .welcome h1 {
        font-size: 26px;
    }

    .id-2385.type-posts-listing #newsWrapper > div .title {
        font-size: 18px;
    }

    .id-2385.type-posts-listing #newsWrapper > div {
        margin-bottom: 15px;
    }

    .mywarning-billing {
        margin-left: 0;
    }

    body.template-11.mobile-header-version-1 #dkLabFavHeaderWrapper {
        top: 18px;
        right: 118px;
    }

    .dkLabFavHeaderIconBtn em {
        top: 8px;
        right: -8px;
    }

    body.template-11 .dkLabFavHeaderIconBtn::before {
        margin-right: 0;
    }

    .dkLabFavHeaderIconBtn::before {
        font-size: 0px;
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: url("/user/documents/upload/kodovani/heart.svg?v=1");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .dkLabFavHeaderIconBtn {
        color: #000;
        text-decoration: none;
        width: 22px;
        height: 22px;
    }

}

@media (max-width: 499px) {
    .myblog-inner {
        grid-template-columns: 1fr;
    }

    .products-block.products.swiper-wrapper .product {
        padding: 0 !important;
    }

}

@media (max-width: 375px) {
    .top-categories {
        padding: 0 0 50px 0;
    }

    .swiper-button-prev, .swiper-button-next {
        bottom: 0;
        top: auto;
    }

    .swiper-button-prev {
        right: 50%;
        left: auto;
    }

    .swiper-button-next {
        left: 50%;
    }

    .myswiper-navi {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }

    .myproducts-swiper .products-block {
        margin-bottom: 10px;
    }

    .whole-wrap {
        padding: 0;
    }

    .type-index .products:before {
        content: none;
    }

    .welcome-wrapper {
        margin-top: 20px;
    }
}
