:root {
    --in-second: #074eb3;
    --in-second-rgb: 7, 78, 179;
}

body {
    font-size: 1.05rem
}

a,
.eshop-menu__link--button,
button.navbar__menu-link {
    color: var(--in-second);
    text-decoration: none;
}

b,
strong {
    font-weight: 600;
}

/*headline*/

h6,
.h6,
h5,
.h5,
h4,
.cart-form__title,
.account-form__title,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
    color: var(--bs-primary)
}

.section--header h1,
.section--header .h1,
.section-title h1,
.section-title .h1 {
    font-size: calc(1.375rem + 1.5vw);
    text-align: left;
}

.container--article h1+p,
.container--article .h1+p {
    margin-top: 0;
}

.container--article ol+h2,
.container--article ol+.h2,
.container--article ul+h2,
.container--article ul+.h2,
.container--article p+h2,
.container--article p+.h2 {
    margin-top: clamp(2rem, 4vw, 3rem)
}

.container--article ol+h3,
.container--article ol+.h3,
.container--article ul+h3,
.container--article ul+.h3,
.container--article p+h3,
.container--article p+.h3 {
    margin-top: clamp(1.5rem, 4vw, 2rem)
}

.section-3-col-bottom-text h3,
.section-3-col-bottom-text .h3,
.section-3-col-bottom-text p,
.section-3-col-top-text h3,
.section-3-col-top-text .h3,
.section-3-col-top-text p {
    max-width: 100%;
    margin: unset;
    margin-bottom: 1rem;
}

/*table*/
.table-overflow tr:first-of-type,
.table-collapse td:first-of-type {
    font-weight: inherit !important;
}

/*basic*/
.section--header~.perex,
.section--header~.section-perex,
.perex {
    display: block;
    margin-top: 0;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
}

.section--header {
    text-align: left;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.main>.container:first-child,
.main>.motive__motto:first-child,
.container--article {
    padding-bottom: 0rem
}

#main {
    padding-top: 0rem;
    padding-bottom: 0rem;
}

#index .main,
#index .container--article,
#index .main>.container:first-child {
    padding-bottom: 0;
}

.container.container--files:first-child,
.container--files {
    padding-bottom: clamp(1.5rem, 3vw, 4rem);
}

.perex__text-wrapper,
.section-perex__text-wrapper {
    text-align: left;
}

.font-size-fluid,
.col-text,
.section--header,
.section--text,
.section-blank,
.section-title,
.section-header,
.section-cta,
.section-2-col-right-text,
.section-2-col-left-text {
    font-size: initial;
    line-height: initial;
}

/*stejná výška*/
.categories--root .category,
.file-item,
.product-item {
    height: 100% !important;
}

/*header*/
.header {
    box-shadow: 0px 3px 10px #00000024;
}

.search-form-i {
    display: none
}

.search-form-wrapper.search-form-f {
    display: none
}

/*contactus*/
#contactus {
    padding: 0.5em;
}

#contactus i {
    color: var(--bs-primary)
}

.contactus-wrap:not(.preview-mode) {
    background-color: rgba(var(--bs-body-color-rgb), 0.04);
}

@media(max-width: 991.98px) {
    .contactus::after {
        background-color: transparent;
    }
}

/*uprava velikosti loga*/

@media(min-width: 1200px) {
    .navbar__brand {
        min-height: 3rem
    }
}

.navbar__brand-logo-img {
    max-width: 13rem;
    max-height: 5rem
}

@media(min-width: 576px) {
    .navbar__brand-logo-img {
        max-width: 15rem
    }
}

@media(min-width: 1200px) {
    .navbar__brand-logo-img {
        max-width: 20rem;
        max-height: 5rem
    }
}

/*navbar__menu*/
.navbar__menu>.navbar__menu-list>.navbar__menu-item>.button.navbar__menu-link,
.navbar__menu>.navbar__menu-list>.navbar__menu-item>.navbar__menu-link {
    display: inline-block;
    text-decoration: none;
    color: var(--in-second);
    padding: 0.5em 1.5em;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
}

.navbar__menu-link:hover,
.navbar__menu-item.active>.navbar__menu-link,
.navbar__menu-item.active>.navbar__menu-link .navbar__menu-item .active {
    background-color: rgba(var(--bs-primary-rgb), 0.07);
}

@media (min-width:992px) {
    .navbar__menu>.navbar__menu-list>.navbar__menu-item::before {
        content: "";
        position: absolute;
        height: 100%;
        width: 3px;
        background-color: var(--bs-primary);
        overflow: hidden;
    }

    .navbar__menu-item:first-of-type:before {
        display: none;

    }
}

/*vlastní motiv*/
.motive.custom-motive {
    display: none
}

#index .motive.custom-motive {
    display: block
}

.motive.custom-motive {
    max-height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.custom-motive {
    display: none;
}

/*vlastní motiv - carousel*/
.custom-motive .section-container.section-carousel {
    padding: 0;
}

.custom-motive .carousel-caption {
    right: 15%;
    bottom: 26%;
    left: 15%;
    text-align: left;
    text-shadow: none;
    font-size: 1.5rem;

}

.custom-motive .carousel-caption p {
    margin-bottom: 0.7em;
    font-size: clamp(1rem, 3vw, 1.5rem);
}

.custom-motive .carousel-caption h3 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 0.2em;
}

@media (max-width: 992px) {
    .custom-motive .carousel-caption {
        right: 15%;
        bottom: 20%;
        left: 15%;
        text-align: left;
        text-shadow: none;
    }
}

@media (max-width: 768px) {
    .custom-motive .carousel-caption {
        right: 0%;
        bottom: 0;
        left: 0%;
        text-align: center;
        text-shadow: none;
        position: relative;
        background-color: rgba(var(--bs-body-color-rgb), 0.04);
        color: inherit;
    }
}

.motive:not(.fullscreen)>.section-carousel .carousel-item img,
.motive:not(.fullscreen)>.section-carousel .carousel-inner .item img,
.carousel-inner .motive:not(.fullscreen)>.section-carousel .item img {
    max-height: unset;
}

/*vypis souboru*/
.table-files__file-link,
.file-item__title {
    font-size: initial;
    font-weight: 400;
}

/*vypis rubrik a clanku*/
.category__img-wrapper,
.article-item__img-wrapper {
    position: relative;
    padding-bottom: 0;
    height: auto;
    max-height: 200px;
    overflow: hidden;
}

.category__img,
.article-item__img {
    position: relative;
    top: unset;
    left: unset;
    -webkit-transform: unset;
    transform: unset;
}

.article-item__icon {
    display: none
}

.article-item {
    background-color: rgba(var(--bs-body-color-rgb), 0.04);
    padding: 15px;
    height: 100%;
    border-radius: 0.25rem;
}

.article-item__icon {
    display: none
}

/*categories*/
.category {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: initial;
    -ms-flex-align: initial;
    align-items: initial;
    padding: 1rem;
    height: 100%
}

.category__title {
    text-align: center;
    margin-top: .5em
}

.category__title-link {
    -webkit-line-clamp: unset;
}

.category__thumbnail {
    margin-bottom: .25rem;
    margin-right: 0
}

.category__info {
    margin-top: auto
}

.category__icon,
.category__details {
    display: none;
}

/*section*/
/*section-dynamic*/
.section-dynamic .article-item-wrapper {
    flex: unset;
}

/*section-container*/
.section-container:not(.section-bg)+p+.section-container:not(.section-bg) {
    padding-top: 0;
}

section .section-bg-light,
section .section--bg,
section .section-bg {
    padding: 1rem !important;
    margin: 0;
}


.section-3-col-bottom-text,
.section-3-col-top-text {
    -webkit-box-align: normal;
    -ms-flex-align: normal;
    align-items: normal;
}


.section-3-col-bottom-text .section-cell-item,
.section-3-col-top-text .section-cell-item {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.section-3-col-bottom-text,
.section-3-col-top-text {
    text-align: left;
    -webkit-box-align: unset;
    -ms-flex-align: unset;
    align-items: unset
}

/*rychle menu*/
.rychle-menu {
    padding-top: 0;
    padding-bottom: 0;
    background-color: var(--bs-primary);
    color: var(--bs-body-bg);
}

.rychle-menu .section-cell-item {
    margin: 0;
    padding: 0;
    border: 1px solid rgba(var(--bs-body-bg-rgb), 0.2);
    margin-right: -1px;
    margin-bottom: -1px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
}

.rychle-menu .section-cell-item p {
    margin-bottom: 0;
}

.rychle-menu .section-cell-item a {
    color: var(--bs-body-bg);
}

.rychle-menu .section-cell-item a:hover  img {
    opacity: 0.75;
}

.rychle-menu .section-cell-item img {
    margin-top: 0;
}


.mce-content-body .rychle-menu .section-cell-item [data-mce-selected=inline-boundary],
.mce-content-body .rychle-menu .section-cell-item:hover {
    background-color: rgba(var(--bs-body-bg-rgb), 0.2) !important;
}


/* Bloky s uzsim containerem - pokud je potreba predefinovat $line-width
====================================================================== */

.container--article .col-text,
.container--article .section--header,
.container--article .section--text,
.container--article .section-blank,
.container--article .section-title,
.container--article .section-header,
.container--article .section-cta,
.container--article .col-text.section-bg-light>*,
.container--article .col-text.section-bg>*,
.container--article .section--header.section-bg-light>*,
.container--article .section--header.section-bg>*,
.container--article .section--text.section-bg-light>*,
.container--article .section--text.section-bg>*,
.container--article .section-blank.section-bg-light>*,
.container--article .section-blank.section-bg>*,
.container--article .section-title.section-bg-light>*,
.container--article .section-title.section-bg>*,
.container--article .section-header.section-bg-light>*,
.container--article .section-header.section-bg>*,
.container--article .section-cta.section-bg-light>*,
.container--article .section-cta.section-bg>*,
.section--3-col-text-bottom h3,
.section--3-col-text-bottom p,
.section--3-col-text-top h3,
.section--3-col-text-top p,
.comments,
.top-products__title,
.active-category__title,
.perex,
.section-perex,
.sitemap,
.product-page__description .section-dynamic[data-dynamic-type="folder"],
.col-text.section-bg-light>*,
.col-text.section-bg>*,
.section--header.section-bg-light>*,
.section--header.section-bg>*,
.section--text.section-bg-light>*,
.section--text.section-bg>*,
.section-blank.section-bg-light>*,
.section-blank.section-bg>*,
.section-title.section-bg-light>*,
.section-title.section-bg>*,
.section-header.section-bg-light>*,
.section-header.section-bg>*,
.section-cta.section-bg-light>*,
.section-cta.section-bg>*,
.section-pricelist.section-bg-light>*,
.section-pricelist.section-bg>*,
.col-text,
.section--header,
.section--text,
.section-blank,
.section-title,
.section-header,
.section-cta,
.section-pricelist,
.section-3-col-bottom-text h3,
.section-3-col-bottom-text .h3,
.section-3-col-bottom-text p,
.section-3-col-top-text h3,
.section-3-col-top-text .h3,
.section-3-col-top-text p {
    max-width: unset;
}

@media (min-width: 768px) {

    .user-form,
    .form-row--center .form-row__text,
    .account-form__fieldset,
    .form-row--center .form-row__text {
        max-width: 100%;
    }
}