/*
 * Black Mountain - vlastni vzhledove upravy Shoptetu
 *
 * Tento soubor nacitejte v zahlavi jako posledni CSS, aby mel prednost
 * pred sablonou a CSS doplnku.
 */

/* Hlavicka a navigace */
@media screen and (min-width: 768px) {
    .one-column-body #header {
        margin-bottom: 0;
    }

    #header {
        position: fixed;
        top: 0 !important;
        z-index: 52;
    }

    .content-wrapper.container {
        padding-left: 0;
        padding-right: 0;
        margin-top: 0;
    }

    .top-navigation-bar .container > div:last-child {
        position: fixed;
        top: 49px !important;
        right: 363px !important;
    }
}

@media screen and (max-width: 767px) {
    .dropdown-backdrop {
        display: none;
    }

    #navigation #oblibeneBtn {
        order: -21;
    }

    #header .ji-mobile-actions {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
    }

    #navigation {
        padding: 0;
        width: 0;
        height: calc(100% - 104px);
    }

    .overall-wrapper {
        padding: 0 10px;
    }

    #carousel {
        margin: 105px -20px 0;
    }
}

#header .navigation-buttons > .top-nav-button {
    border: 0;
    display: flex;
    align-items: center;
}

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

.ji-mobile-actions > button {
    border: 0;
    background: #fff;
    padding: 1.25rem 20px;
    order: -20;
    text-align: left;
}

@media (min-width: 1200px) {
    .navigation-in > ul > li.ext > ul > li {
        width: 53%;
    }
}

/* Obsah a homepage */
@media screen and (max-width: 990px) {
    .homeBox div {
        width: 100%;
        float: none;
        margin: 0;
    }
}

@media screen and (min-width: 990px) {
    .homeBox div {
        width: 48%;
        float: left;
        margin: 1%;
    }
}

.in-index .welcome-wrapper.homepage-box {
    padding-top: 0 !important;
    padding-bottom: 10px !important;
}

body > div.overall-wrapper > div.content-wrapper.container.doporucenoHome.content-wrapper.container {
    padding-left: 0;
    padding-right: 0;
    margin-top: 0 !important;
}

.content-wrapper.container {
    padding-left: 0;
    padding-right: 0;
    margin-top: 12rem;
}

#content > div.content-inner > p {
    display: none;
}

@media (min-width: 768px) {
    .jh-blog-hp,
    [class~="jh-blog-hp"] [class~="news-item"] [class~="image"] img {
        max-height: 170px;
    }
}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5,
[class~="blog-hp"]::before {
    font-family: var(--template-font), sans-serif !important;
}

/* Kontaktni boxy */
.contact-container2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.contact-box2 {
    margin: 10px;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .contact-container2 {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .contact-box2 {
        width: calc(25% - 20px);
        flex: 0 0 calc(25% - 20px);
        margin: 10px;
    }
}

/* Paticka */
#footer .custom-footer > div.extended input.form-control {
    background: #e4c0cc;
    border-color: white;
}

#footer .custom-footer > div.extended .btn.btn-default {
    border-color: white;
    background-color: #e4c0cc;
}

#footer .custom-footer > div.extended,
#footer .custom-footer > div.extended a {
    color: white;
}

#footer .custom-footer > div:nth-of-type(2) {
    padding-top: 0 !important;
    padding-right: 0;
    padding-bottom: 0 !important;
    padding-left: 0;
    margin-top: 0;
    width: 100% !important;
}

#footer .custom-footer > div.extended::after {
    content: "";
    top: 50% !important;
    right: 10%;
    background: url("/user/documents/upload/temp/BM_inicialy_bile.png") right center no-repeat;
    background-size: contain;
}

#footer .custom-footer > div.extended::before {
    background: #e4c0cc;
}

@media screen and (max-width: 990px) {
    #footer .custom-footer > div:nth-of-type(4),
    #footer .custom-footer > div:nth-of-type(5),
    #footer .custom-footer > div:nth-of-type(6),
    #footer .custom-footer > div:nth-of-type(7) {
        width: 50% !important;
        background: #efefef;
        padding: 45px 0 35px !important;
        text-align: center;
    }
}

@media screen and (min-width: 990px) {
    #footer .custom-footer > div:nth-of-type(4),
    #footer .custom-footer > div:nth-of-type(5),
    #footer .custom-footer > div:nth-of-type(6),
    #footer .custom-footer > div:nth-of-type(7) {
        width: 25% !important;
        background: #efefef;
        padding: 45px 0 35px !important;
        text-align: center;
    }
}

#signature img {
    filter: grayscale(1);
}

/* Kategorie a produkty */
#categories ul ul .expandable .cat-trigger,
#categories ul ul ul .expandable .cat-trigger {
    left: auto;
}

#product-detail-form > div > div.col-xs-12.col-lg-6.p-info-wrapper > div.social-buttons-wrapper > div.link-icons.watchdog-active > a.link-icon.print {
    display: none;
}

#products div.ratings-wrapper,
#products-found div.ratings-wrapper,
#products-95 div.ratings-wrapper,
#products-107 div.ratings-wrapper,
#products-110 div.ratings-wrapper {
    display: none;
}

@media only screen and (min-width: 1440px) {
    .p-bottom.single-button {
        text-align: center;
        max-width: none;
        margin-left: 0;
    }
}

/* Kosik */
#checkoutSidebar > div > div.order-summary > fieldset {
    padding-left: 35px;
}

/* Pobo */
#pobo-standard-widget .rc-card-call-to-action__image > img {
    max-height: 300px !important;
    object-fit: contain;
}

#pobo-standard-widget .rc-card-call-to-action__link {
    color: #000 !important;
    background: #e3bdc9 !important;
}

/* JGM galerie */
:root {
    --gallery-radius: 0;
    --gallery-arrow-background: var(--color-primary);
    --gallery-arrow-color: #fff;
    --gallery-play-background: var(--color-secondary);
    --gallery-play-color: #fff;
    --gallery-main-border-color: transparent;
    --gallery-thumbnail-border-color: transparent;
    --gallery-thumbnail-border-color-active: var(--color-primary);
    --gallery-lightbox-background: rgba(0, 0, 0, 0.5);
    --gallery-lightbox-arrow-background: transparent;
    --gallery-lightbox-arrow-color: #fff;
}

/* Mobilni velikost popisku ve vsech hornich filtrech */
@media (max-width: 991px) {
    #content #dkLabTopFilters .filter-section fieldset div .filter-label {
        font-size: 13px !important;
    }

    #dkLabTopFilters .filter-section h4,
    #dkLabTopFilters .filter-section-boolean h4,
    #dkLabTopFilters .slider-wrapper h4,
    #dkLabTopFilters #category-header > span.span--sort {
        font-size: 13px !important;
        padding: 12px 35px 10px 10px;
    }
}

/* Mobilni tlacitko pro zobrazeni/sbaleni filtru */
@media (max-width: 767px) {
    #dkLabTopFilters .dkLab-filters-pack-button .btn.btn-primary {
        font-size: 13px !important;
        padding: 3px 15px 2px;
        height: 36px;
        font-weight: 700;
        border: 1px solid #000;
        background: #fff;
        color: #000;
        text-transform: none;
        border-radius: 0;
    }
}
