/* odkazy a tlacitka */
.footer-bottom {
	border-color: #000;
}

.link-like, a {
	color: #000;
}

.topic.active > a, li.active > a, 
.btn, i[data-testid="headerCartCount"] {
    color: var(--colors-foregrounds-content-primary) !important;
}

.btn:not(.cart-count):hover {
    color: #fff !important;
}

a.name {
    color: var(--colors-foregrounds-content-primary) !important;
}

a.name:hover {
    color: var(--color-primary) !important;
}

/* kontakt */
body.in-kontakty #content > .content-inner {
    max-width: 100%;
}

body.in-kontakty td:has(#formContact) {
    align-content: center;
    align-items: center;

    padding: 20px;

    background-color: #f2f2f2;
    border-radius: 1px;
}

body.in-kontakty #formContact .form-group {
    display: flex;
    flex-direction: column;
    align-items: start;
}

body.in-kontakty #formContact .form-group label[for="consents40"] {
    align-self: center !important;
}

body.in-kontakty #formContact .form-group label {
    padding-right: unset !important;
    width: unset !important;
}

body.in-kontakty #formContact .form-group input {
    width: 100% !important;
}

body.in-kontakty #formContact input[type="submit"] {
    display: inline-block;
    width: 100%;
}

/* velikostni tabulky */
body.in-velikostni-tabulky .tablepress th,
body.in-velikostni-tabulky .tablepress td {
    padding: 5px;
}

body.in-velikostni-tabulky .tablepress tr {
    border: none
}

body.in-velikostni-tabulky .tablepress tr[class^="row-"] > th {
    background-color: var(--color-primary);
    color: var(--colors-foregrounds-content-primary);

    font-weight: 700;
    font-size: 16px;
}

body.in-velikostni-tabulky .tablepress > tbody.row-striping td {
    font-size: 16px;
}

body.in-velikostni-tabulky .tablepress > tbody.row-striping > tr:nth-child(even) > * {
    background-color: #f9f9f9;
}

/* navigation */
.carousel-inner a,
.navigation-in > ul > li > a {
    color: var(--colors-foregrounds-content-primary) !important;
}

.text > .title {
    color: var(--colors-foregrounds-content-primary) !important;
    font-weight: 600 !important;
}

/* banner */
.wide-carousel .extended-banner-texts {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
}

.wide-carousel .extended-banner-texts > .extended-banner-title,
.wide-carousel .extended-banner-texts > .extended-banner-text,
.wide-carousel .extended-banner-texts > .extended-banner-link {
    position: relative;
}

.wide-carousel .extended-banner-texts > .extended-banner-title,
.wide-carousel .extended-banner-texts > .extended-banner-text {
    background: none;
    box-shadow: none;
    border: none;
}

.wide-carousel .extended-banner-texts > .extended-banner-title {
    order: 2;

    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.25rem;
}

.wide-carousel .extended-banner-texts > .extended-banner-text {
    order: 1;
    font-weight: 500;
    text-align: center;
    font-size: 10px;
}

.wide-carousel .extended-banner-texts > .extended-banner-text::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 20%; /* control length */
    height: 1px;
    background: #fff;
}

.wide-carousel .extended-banner-texts > .extended-banner-link {
    order: 3;

    margin-top: 0;
    top: 20px;

    padding: 5px 15px 5px 15px;
}

@media (min-width: 544px) {
    .wide-carousel .extended-banner-texts > .extended-banner-title {
        font-size: 2.5rem;
    }

    .wide-carousel .extended-banner-texts > .extended-banner-text {
        font-size: 12px;
    }
}

@media (min-width: 767px) {
    .wide-carousel .extended-banner-texts > .extended-banner-title {
        font-size: 3rem;
    }

    .wide-carousel .extended-banner-texts > .extended-banner-text {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .carousel-inner > .item > a > img,
    .carousel-inner > .item,
    .carousel-inner, #carousel,
    .carousel-control {
        height: 300px;
        max-height: 300px !important;
    }

    .carousel-inner > .item > a > img {
        object-fit: cover;
    }
}

/* footer */
.footer, .footer > .container {
    background-color: var(--color-primary) !important;
}

#footer a:hover {
    color: var(--colors-foregrounds-content-primary) !important;
    font-weight: 600;
}

/* kategorie */
.categories .topic.child-active > a {
    color: var(--colors-foregrounds-content-primary) !important;
    /* background-color: var(--color-primary) !important; */
    font-weight: 700;
}

.more-items-trigger,
.navigation-in .has-third-level div > ul,
.navigation-in .has-third-level div > ul a {
    color: var(--color-primary-hover) !important;
}

.more-items-trigger:hover,
.navigation-in .has-third-level div > ul a:hover {
    color: var(--color-primary) !important;
}

/* misc */
.add-to-cart-button,
.products-block .p-tools a {
	border-color: #919191!important;
}
.navigation-in ul li a b {
    text-transform: uppercase;
    font-weight: 500;
}
.homepage-box {
    background-color: unset;
    border-bottom-color: #fff;
    border-top-color: #fff;
}

.type-page #content .content-inner,
.type-posts-listing #content .content-inner,
.type-post #content .content-inner {
    max-width: 100%;
}