@media(min-width: 768px){

    #header {
        position: sticky;
        top: 0;
        z-index: 10;
    }
}

.top-navigation-bar {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    border-bottom: 1px solid #ededed !important;
    padding: 3px 0;
}

: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, select:focus-visible, textarea:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

#header .search-input{
    border: 1px solid #ededed;
    color: #1163ad !important;
}

#header .search-input:focus, #header .search-input:hover, .search-focused #header .search-input, .search-window-visible #header .search-input{
    box-shadow: none !important;
    border: 1px solid #ededed !important;
}

#header .search-input:hover{
    border: 1px solid #ededed !important;
    background: #ededed !important;
}

#header .search-input::placeholder{
    color: #1163ad !important;
}

@media (min-width: 1200px) {
    #header .search {
        padding-left: 0;
        padding-right: 0;
    }
}

#footer {
    background-color: #1163ad;
}

#footer .custom-footer, #footer .custom-footer a,#footer .custom-footer span {
    color: white;
}

.main-section {
    background-color: white;
    padding: 0;
}

.main-section .main-container {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.text-box {
    background-color: #1669b2;
    color: white;
    padding: 40px;
    box-sizing: border-box;
    margin-right: 45%;
    top: -60px;
    position: absolute;
}

.text-box h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white !important;
}

.text-box p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.text-box .btn {
    color: #ffc72c;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    padding: 0 !important;
    border: none !important;
}


.image-box {
    margin-left: 20%;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-category-container{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.top-category {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.in-index .homepage-group-title {
    text-align: left !important;
    margin-bottom: 10px !important;
    color: #1163ad !important;
    font-weight: 300;
    margin-top: 60px !important;
}

.row.hp-zamereni-banners{
    display: flex;
    flex-wrap: wrap;
}

.row.hp-zamereni-banners>.square {
    width: 50%;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 32px;
}

@media (min-width: 768px) {
    .banner-category a img, .banner-footer a img, .banner-wrapper a img, .banners-content a img, .footer-banner a img {
         transform: translateZ(0);
         transition: all .3s ease-out;
    }
}

#categories .expandable>.topic>a>span:before, #categories .expandable>a>span:before{
    display: none;
}

#categories span.cat-trigger {
    display: none !important;
}

.box-bg-variant .categories a {
    border-bottom: 1px solid #ededed !important;
    color: #1163ad;
    font-weight: 400;
}


#categories .expandable>.topic>a:after, #categories .expandable>a:after{
    content:"\e90a";
    font-family: 'Shoptet';
}

#categories a{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /*padding-left: 0 !important;*/
}

.top-navigation-bar{
    position: sticky;
    top: 0;
    z-index: 10;
}

div#content-wrapper {
    padding-bottom: 60px;
}

.welcome-wrapper.container-narrow {
    margin-top: 60px;
}

.footer-banners {
    margin-top: 60px !important;
}

.products-wrapper.product-slider-holder.has-navigation {
    padding-top: 0;
}

@media (min-width: 768px) {
    #header .navigation-buttons a[data-target=login] {
        display: block;
    }
}

#header .navigation-buttons a[data-target=login] span{
    display: none;
}

.top-navigation-tools a[data-testid="headerSignup"] {
    display: none !important;
}

span.cart-price.visible-lg-inline-block {
    display: none !important;
}

.navigation-buttons a[data-target=login]:before {
    content: "\e922";
    font-size: 26px;
}

.top-navigation-contacts {
    justify-content: flex-end;
    display: flex;
    gap: 30px;
}

.top-navigation-contacts span{
    display: flex;
    align-items: center;
    gap: 5px;
}
button#topNavigationDropdown {
    background-color: transparent;
    border: none;
    width: 70px !important;
    height: 70px !important;
    font-size: 20px;
    position: relative;
    color: #1765ab;
}

a.btn.btn-icon.toggle-window.cart-count {
    margin-left: 0 !important;
}

.navigation-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
}
@media (min-width: 768px) {
    .navigation-buttons {
        gap: 25px;
    }
}

.top-category-image img{
    transition: all .3s ease-out;
}

.top-category-image img:hover {
    transform: scale(1.02);
}

.btn.btn-cart, .btn.btn-conversion, a.btn.btn-cart, a.btn.btn-conversion {
    background-color: #e7bd56 !important;
    border-color: #e7bd56 !important;
    color: #0f64ad !important;
}

.btn.btn-cart:hover, .btn.btn-conversion:hover, a.btn.btn-cart:hover, a.btn.btn-conversion:hover {
    background-color:  #0f64ad !important;
    border-color: #0f64ad !important;
    color: #e7bd56 !important;
}

.products-block>div:hover .p a {
    text-decoration: none !important;
}

.products-block>div .p .p-bottom>div .prices {
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column !important;
    gap: 15px 0px;
}

@media (min-width: 1920px) {
    .products-block>div .p .p-bottom>div .prices {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
}

.products-block>div .p .p-bottom>div .prices .price{
    text-align: center;
}

@media (min-width: 992px) {
    .admin-logged .popup-widget.login-widget {
        top: 126px;
        margin-left: 220px;
    }
}

@media (min-width: 992px) {
    .popup-widget.login-widget {
        top: 100px;
        margin-left: 220px;
    }
}

@media (min-width: 992px) {
    .popup-widget.cart-widget:before {
        display: none !important;
    }

    ul.dropdown-menu {
        top: 60px;
    }
}


.dropdown-menu{
    min-width: fit-content !important;
}

@media (min-width: 768px) {
    #header .navigation-buttons a {
        height: 50px;
        line-height: 50px;
        width: auto;
        margin-left: 0 !important;
    }
}

@media (min-width: 1440px) {
    .container-narrow {
        width: 1418px !important;
    }
}


.products-block .p-bottom .price-additional {
    color: #1163ad !important;
}

.price.price-final {
    color: #1163ad !important;
}

strong.benefitBanner__title{
    color: #1163ad !important;
}

.sidebar-inner{
    position: sticky;
    top: 120px !important;
}

.top-navigation-tools {
    display: none;
    flex: 0 !important;
    width: 0;
    height: 0;
}



.btn.btn-default:hover, a.btn.btn-default:hover {
    background-color: #0f64ad !important;
    border-color: #0f64ad !important;
    color: #e7bd56 !important;
}

.btn.btn-default, a.btn.btn-default {
    background-color: #e7bd56 !important;
    border-color: #e7bd56 !important;
    color: #0f64ad !important;
}

#categories .expandable>.topic>a:after, #categories .expandable>a:after {
    font-size: 16px !important;
}

.admin-bar {
    z-index: 1111;
}

#cboxOverlay,
#colorbox {
    z-index: 1004;
}

.messages,
.user-action-login.popup-widget.login-widget,
.user-action-cart.popup-widget.cart-widget.loader-wrapper {
    z-index: 1005;
}

@media(max-width: 767px) {
    header#header {
        z-index: 1020;
    }

    .site-msg.information {
        z-index: 1002;
    }
}

.searchWhisperer.active {
    z-index: 1010 !important;
}

.dklabFormsModal{
    z-index: 1030 !important;
}


@media (min-width: 768px) {
    header#header {
        z-index: 1003;
    }

    .top-navigation-bar {
        z-index: 1004;
    }
}


@media (max-width: 1200px){
    .benefitBanner__item{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image-box {
        margin-left: 0;
        order: -1;
    }

    .text-box {
        background-color: #1669b2;
        color: white;
        padding: 30px;
        box-sizing: border-box;
        margin-right: 0;
        top: 0;
        position: relative;
    }

    .product-slider-holder .product.active .p {
        border: 1px solid #ededed !important;
    }

    /*
    .product-slider-holder .product.inactive .p {
        border: none !important;
    }
    */
}

@media (max-width: 767px) {
    .benefitBanner.position--benefitHomepage {
        margin-bottom: 0px;
        padding-right: 20px;
    }

    .benefitBanner__item {
        flex: 0 0 100%;
        width: 100%;
        flex-direction: row !important;
    }

    .benefitBanner.position--benefitHomepage {
        margin-top: 30px;
    }

    .benefitBanner__picture {
        flex: 0 0 70px;
        max-width: 70px;
    }

    .product-slider-holder .product-slider-navigation {
        /*top: calc(50% - 40px);*/
        top: calc(25% - 40px);
    }

    .product-slider-holder .product-slider-navigation:before {
        font-size: 32px;
    }

    .product-slider-holder .product-slider-navigation.navigation-prev {
        left: 0 !important;
    }

    .product-slider-holder .product-slider-navigation.navigation-next {
        right: 0 !important;
    }

    .square {
        width: calc(50% - 5px);
    }

    .rectangle {
        width: 100%;
        order: -1;
    }

    .top-category-container {
        flex-wrap: wrap;
    }

    .row.hp-zamereni-banners>.square {
        width: 100%;
    }

    .row.hp-zamereni-banners {
        width: auto;
    }

    #navigation .navigation-in ul li>a>b {
        text-decoration: none;
        border: none !important;
    }

    #navigation .navigation-in ul li:hover>a>b {
        text-decoration: none !important;
        border: none !important;
    }

    #navigation .menu-level-1>li:not(:first-child)>a {
        border-top: 1px solid black;
    }

    #navigation .menu-level-1 .copy a {
        padding-top: 2rem;
        padding-bottom: 2rem;
        border-top: 1px solid #000 !important;
        color: #000 !important;
    }

    .ordering-process .site-name {
        display: flex;
        justify-content: center;
    }
}

@media (min-width: 768px) and (max-width: 991px){
    .product-slider-holder .product-slider-navigation {
        top: calc(50% - 40px);
    }

    .product-slider-holder .product-slider-navigation:before {
        font-size: 32px;
    }

    .product-slider-holder .product-slider-navigation.navigation-prev {
        left: 0 !important;
    }

    .product-slider-holder .product-slider-navigation.navigation-next {
        right: 0 !important;
    }

    .square {
        width: calc(50% - 5px);
    }

    .rectangle {
        width: 100%;
        order: -1;
    }

    .top-category-container {
        flex-wrap: wrap;
    }

    .row.hp-zamereni-banners>.square {
        width: 100%;
    }

    .row.hp-zamereni-banners {
        width: auto;
    }

    .benefitBanner.position--benefitHomepage {
        margin-bottom: 0px;
        padding-right: 20px;
    }

    .benefitBanner__item {
        flex: 0 0 100%;
        width: 100%;
        flex-direction: row !important;
    }

    .benefitBanner.position--benefitHomepage {
        margin-top: 30px;
    }

    .benefitBanner__picture {
        flex: 0 0 70px;
        max-width: 70px;
    }
    ul.dropdown-menu {
        top: 60px !important;
    }

    .top-navigation-contacts {
        flex: 1 1 25% !important;
    }
}

@media (min-width: 1601px) and (max-width: 2000px) {
    .popup-widget {
        margin-left: calc(18vw);
    }
}

@media (min-width: 2001px) {
    .popup-widget {
        margin-left: 450px;
    }
    .user-action-login.popup-widget.login-widget {
        margin-left: 480px;
    }
}

@media (min-width: 1601px) and (max-width: 2000px) {
    .user-action-login.popup-widget.login-widget {
        margin-left: calc(12vw);
    }
}


@media (max-width: 767px) {
    .benefitBanner__item {
        text-align: left;
    }

    .in-index .homepage-group-title {
        margin-top: 40px !important;
    }

    .footer-banners {
        margin-top: 40px !important;
    }

    .welcome-wrapper.container-narrow {
        margin-top: 40px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    div#content-wrapper {
        padding-bottom: 40px;
    }

    .banner-wrapper {
        margin-top: 0 !important;
    }

    a.btn.btn-lg.next-step-back {
        margin: 20px 0 !important;
    }

    div#summary-box {
        padding: 20px;
    }
}


@media (max-width: 967px) {
    div#summary-box {
        padding: 20px;
    }

    .welcome-wrapper.container-narrow {
        margin-top: 40px;
    }

    div#content-wrapper {
        padding-bottom: 40px;
    }
}



@media(min-width: 991px) and (max-width: 1870px){
    .products-block>div form.pr-action.csrf-enabled {
        flex-direction: column !important;
        gap: 15px !important;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    header#header {
        z-index: 1005 !important;
    }
}


body.customer-page .content-inner div>p>a.btn.btn-primary {
    display: none;
}

* {
    font-family: "DM Sans", sans-serif !important;
}

.ordering-process tr[data-micro="cartItem"] .availability-label {
    font-weight: 400;
}


.cart-widget-product-delete {
    display: none !important;
}

@media (min-width: 480px) {
    #header .header-top a.cart-count i {
        bottom: 20px;
        left: auto;
        right: 15px;
    }
}

@media (min-width: 768px) {
    #header .navigation-buttons a[data-target="cart"] i {
        left: 20px;
        bottom: 0;
        right: auto;
    }
}

.products-inline span[data-testid="productCardName"] {
    font-size: 18px;
}

.in-kosik .top-navigation-bar .container>div {
    flex: 1 1 100%;
}

.ordering-process #header {
    box-shadow: 0 8px 8px -8px rgba(0, 0, 0, 0.15);
}

.product-slider-holder .product {
    padding: 5px;
}

.in-kosik .p-price {
    white-space: wrap;
}

.messages {
    bottom: 10px;
    left: 10px;
    top: unset;
    max-width: 400px;
    text-align: center;
}

a[data-testid="linkSearchIcon"],
a[data-testid="hamburgerMenu"] {
    color: #1163ad !important;
}

@media(max-width: 500px) {
    #products.products-inline .p .p-in .p-bottom .p-tools {
        justify-content: flex-start;
    }
}

@media(max-width: 1300px) {
    #products.products-inline .p-in {
        flex-direction: column;
        align-items: normal;
    }

    #products.products-inline .product>div {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    #products.products-inline .p-in .prices * {
        text-align: left;
    }

    #products.products-inline>div .p .p-in .p-bottom>div {
        flex-direction: row;
        align-items: center;
        padding: 0px;
    }
}

@media(min-width: 992px) {
    .in-kosik .row.summary>div {
        width: 50%;
    }

    .in-kosik .row.summary>div .next-step {
        justify-content: end;
    }
}

span[data-testid="productCardName"] {
    font-weight: 500;
}

.cart-table tr {
    border: none;
}

.top-navigation-contacts a {
    white-space: nowrap;
}

ul.top-navigation-bar-menu>li>a:hover,
.top-navigation-contacts>span:hover a {
    color: #1163ad !important;
}

#footer .social-icon:hover {
    color: #1163ad;
}

.menu-helper>ul {
    overflow-x: hidden;
}

#product-detail-form .p-to-cart-block {
    background: none;
    padding-left: 0px;
    padding-right: 0px;
}

#product-detail-form .p-to-cart-block .add-to-cart-button {
    max-width: 300px;
}

#product-detail-form .p-to-cart-block .add-to-cart {
    margin-left: 0px;
}

.p-detail-inner h1 {
    padding-bottom: 15px
}

.p-detail-inner .p-detail-inner-header,
.p-detail-inner .p-short-description {
    margin-bottom: 40px
}

.p-detail-inner-header-mobile,
.p-detail-inner-header-mobile .h1 {
    padding-bottom: 25px;
}

.products-inline>div .p .p-in .p-in-in .ratings-wrapper {
    flex-direction: column;
    align-items: start;
}

.products-inline>div .p .p-in .p-bottom .price-additional {
    color: #1163ad;
}

.products-inline>div .p .p-in .p-bottom>div .p-tools form {
    flex-direction: column;
}

#category-header {
    right: 0 !important;
}

.products-inline>div .p {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.products-inline>div .p .image {
    flex-grow: 0;
    flex-shrink: 0;
    width: 90px;
}

.products-inline>div .p .p-in {
    align-items: center;
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    padding-left: 20px;
    width: calc(100% - 90px);
}

.products-inline>div .p .p-in .p-bottom .p-tools .btn.btn-cart>span {
    display: block;
}

.products-inline>div .p .p-in .p-bottom .p-tools .btn.btn-cart::before {
    display: none;
}

#products.products-inline .product {
    border: none;
}

#products.products-inline .product>div {
    border: 1px solid #eeeeee;
    padding: 0px 10px;
}

.products-inline>div .p .p-in .p-in-in .ratings-wrapper .availability {
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    height: 22px;
    line-height: 22px;
    overflow: hidden;
}

span.p-code {
    order: -1;
}

.header-bottom,
ul.menu-level-2 {
    border-top: none !important;
}

.welcome .main-container a.btn:hover {
    color: white;
}

.header-bottom div[data-testid="hamburgerMenu"]>span {
    color: #1163ad;
}

.menu-helper>span::after {
    font-size: 18px;
}

#content-wrapper {
    margin-top: 20px;
}

.header-bottom {
    box-shadow: 0 8px 8px -8px rgba(0, 0, 0, 0.15);
}

#navigation .submenu-arrow {
    display: inline-block !important;
    color: #1163ad !important;
}

@media (min-width: 768px) {
    #navigation .navigation-in ul li>a>b {
        color: #1163ad;
    }

    .banners-row.row {
        margin-left: 0px;
        margin-right: 0px;
    }

    .top-navigation-bar .container {
        padding-left: 0px;
        padding-right: 0px;
    }

    .navigation-in>ul>li:first-child a {
        padding-left: 0px !important;
    }

    .menu-helper>span {
        padding-right: 0px !important;
    }

    .breadcrumbs {
        padding-left: 0px;
        padding-right: 0px;
    }
}

.subcategories.with-image {
    margin-left: -6px;
    margin-right: -6px;
}

.subcategories.with-image li {
    padding: 0px;
}

.subcategories.with-image li a {
    background: #eee;
    padding: 5px !important;
    margin: 6px;
}

.subcategories.with-image li a .image img {
    max-height: 50px;
}

.subcategories.with-image li a .text {
    line-height: 22px;
    font-weight: 400;
}

body {
    overflow-x: hidden !important;
}

@media screen and (min-width: 768px) {
    #header ul.menu-level-2>li:before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        width: 300vw !important;
        height: 100% !important;
        left: -100vw !important;
        background-color: #fff !important;
        z-index: -1 !important;
    }
}

@media(min-width: 1200px) {
    .products-wrapper.product-slider-holder.has-navigation {
        margin-left: -50px;
        margin-right: -50px;
    }

    .products-wrapper.product-slider-holder {
        width: calc(100% + 100px);
    }
}


.navigation-buttons a.top-nav-button-account:before {
    font-size: 26px;
    content: url(/user/documents/pw/upload/icons/prihlaseni.svg) !important;
    width: 30px;
}


#header .navigation-buttons a.top-nav-button-account>span {
    display: none !important;
}

.top-navigation-bar {
    display: none;
}

.top-navigation-contacts span a{
    font-size: 16Px;
    color: #1765ab !important
}

@media (min-width: 768px) {
    html.scrolled-down #header .header-top, html.scrolled-up #header .header-top {
        padding: 15px 0;
        padding-bottom: 0 !important;
    }
    html.scrolled .navigation-in>ul>li>a, html.scrolled .menu-helper>ul>li>a,
    html.scrolled .menu-helper>span{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    html.scrolled #navigation, html.scrolled .menu-helper {
        height: 58px;
    }
    html.scrolled .menu-helper>ul{
        top: calc(50% + 24px);
    }
     .navigation-buttons .dropdown {
        white-space: nowrap;
    }
}


@media(min-width: 1300Px) and (max-width: 1848px){
.search {
    flex: 0 1 30% !important;
    margin-left: auto !important;
}

.site-name {
    flex: 0 1 10% !important;
}

.navigation-buttons {
    flex: 0 1 30% !important;
}
}



@media(min-width: 992Px) and (max-width: 1299px){
.search {
    flex: 0 1 30% !important;
    margin-left: auto !important;
}

.site-name {
    flex: 0 1 15% !important;
}

.navigation-buttons {
    flex: 0 1 35% !important;
}

.top-navigation-contacts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

 #header .navigation-buttons a {
        height: fit-content;
        line-height: initial;
        width: auto;
        margin-left: 0 !important;
    }
}


@media (min-width: 768Px) and (max-width: 991px){
.search {
    flex: 0 1 30% !important;
    margin-left: auto !important;
}

.site-name {
    flex: 0 1 15% !important;
}

.navigation-buttons {
    flex: 0 1 35% !important;
}

.top-navigation-contacts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

 #header .navigation-buttons a {
        height: fit-content;
        line-height: initial;
        width: auto;
        margin-left: 0 !important;
    }

    button#topNavigationDropdown {
    background-color: transparent;
    border: none;
    width: 50px !important;
    height: 50px !important;
    font-size: 18px;
    position: relative;
    color: #1765ab;
}

.top-navigation-contacts span a {
    font-size: 13Px;
    color: #1765ab !important;
}
}

@media (max-width: 767px) {
.top-navigation-contacts {
    display: none;
}
}


.top-navigation-contacts .tel:before{
    content: "";
    background-image: url(/user/documents/pw/upload/icons/telefon.svg) !important;
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: center;
    width: 25px;
    height: 25px;
    filter: brightness(0) saturate(100%) invert(34%) sepia(85%) saturate(437%) hue-rotate(180deg) brightness(92%) contrast(90%);
}

.top-navigation-contacts .mail:before{
    content: "";
    background-image: url(/user/documents/pw/upload/icons/email.svg) !important;
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: center;
    width: 25px;
    height: 25px;
    filter: brightness(0) saturate(100%) invert(34%) sepia(85%) saturate(437%) hue-rotate(180deg) brightness(92%) contrast(90%);
}

.top-navigation-contacts {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        #header .navigation-buttons a {
        height: fit-content;
        line-height: initial;
        width: auto;
        margin-left: 0 !important;
    }

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

    @media (max-width: 768px) and (max-width: 840px){
        .news-carousel-container .owl-next {
    right: -2rem;
}

.news-carousel-container .owl-prev {
    left: -1.5em;
}
    }