:root {
    --primary: #607585;
    --primary-dark: #526574;
    --primary-darkest: #3D4954;
    --primary-light: #C5CED6;
    --primary-lightest: #cdddbc;
    --primary-rgb: 96, 117, 133;
    --bs-primary: #607585;
    --bs-primary-rgb: 96, 117, 133;
}

/*barevnost*/
.btn-outline-primary,
.btn-secondary,
.btn-default,
.eshop-filters__submit,
.minicart__button-close,
.cart-button--back,
.cart-button--outline,
.product-item__cart-button {
    background-color: white;
}

.section-container.contact h2 {
    color: var(--primary);
}

th {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.accordion-button:focus,
.form-select:focus,
.account-form__select:focus,
.cart-form__select:focus,
.form-check-input:focus,
.user-form__checkbox-input:focus,
.search-form__form-check-input:focus,
.cart-form__check-input:focus,
.form-control:focus,
.navbar__search-input:focus,
.locked__input:focus,
.user-form__input:focus,
.search-form__input:focus,
.account-form__input:focus,
.promo-code__input:focus,
.cart-form__input:focus,
.add-comment__input:focus {
    border-color: var(--primary-light);
}

.form-range::-webkit-slider-thumb:active,
.form-range::-moz-range-thumb:active {
    background-color: var(--primary-lightest);
}

.btn-check:checked+.btn-primary,
.btn-check:checked+.motto__button-link,
.btn-check:checked+.locked__submit,
.btn-check:checked+.search-form__search-button,
.btn-check:checked+.minicart__button-cart,
.btn-check:checked+.account-button,
.btn-check:checked+.promo-code__submit,
.btn-check:checked+.cart-button,
.btn-check:checked+.product-page__cart-button,
.btn-check:checked+.add-comment__button--submit,
.btn-check:checked+.comment__reply:hover,
.btn-check:active+.btn-primary,
.btn-check:active+.motto__button-link,
.btn-check:active+.locked__submit,
.btn-check:active+.search-form__search-button,
.btn-check:active+.minicart__button-cart,
.btn-check:active+.account-button,
.btn-check:active+.promo-code__submit,
.btn-check:active+.cart-button,
.btn-check:active+.product-page__cart-button,
.btn-check:active+.add-comment__button--submit,
.btn-check:active+.comment__reply:hover,
.btn-primary:active,
.motto__button-link:active,
.locked__submit:active,
.search-form__search-button:active,
.minicart__button-cart:active,
.account-button:active,
.promo-code__submit:active,
.cart-button:active,
.product-page__cart-button:active,
.add-comment__button--submit:active,
.comment__reply:active:hover,
.btn-primary.active,
.active.motto__button-link,
.active.locked__submit,
.active.search-form__search-button,
.active.minicart__button-cart,
.active.account-button,
.active.promo-code__submit,
.active.cart-button,
.active.product-page__cart-button,
.active.add-comment__button--submit,
.active.comment__reply:hover,
.show>.btn-primary.dropdown-toggle,
.show>.dropdown-toggle.motto__button-link,
.show>.dropdown-toggle.locked__submit,
.show>.dropdown-toggle.search-form__search-button,
.show>.dropdown-toggle.minicart__button-cart,
.show>.dropdown-toggle.account-button,
.show>.dropdown-toggle.promo-code__submit,
.show>.dropdown-toggle.cart-button,
.show>.dropdown-toggle.product-page__cart-button,
.show>.dropdown-toggle.add-comment__button--submit,
.show>.dropdown-toggle.comment__reply:hover,
.btn-check:focus+.btn-primary,
.btn-check:focus+.motto__button-link,
.btn-check:focus+.locked__submit,
.btn-check:focus+.search-form__search-button,
.btn-check:focus+.minicart__button-cart,
.btn-check:focus+.account-button,
.btn-check:focus+.promo-code__submit,
.btn-check:focus+.cart-button,
.btn-check:focus+.product-page__cart-button,
.btn-check:focus+.add-comment__button--submit,
.btn-check:focus+.comment__reply:hover,
.btn-primary:focus,
.motto__button-link:focus,
.locked__submit:focus,
.search-form__search-button:focus,
.minicart__button-cart:focus,
.account-button:focus,
.promo-code__submit:focus,
.cart-button:focus,
.product-page__cart-button:focus,
.add-comment__button--submit:focus,
.comment__reply:focus:hover,
.btn-primary:hover,
.motto__button-link:hover,
.locked__submit:hover,
.search-form__search-button:hover,
.minicart__button-cart:hover,
.account-button:hover,
.promo-code__submit:hover,
.cart-button:hover,
.product-page__cart-button:hover,
.add-comment__button--submit:hover,
.comment__reply:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.link-primary:hover,
.link-primary:focus,
.page-link:focus,
.pagination__page-link:focus,
.page-link:hover,
.pagination__page-link:hover,
.accordion-button:not(.collapsed),
.btn-link:hover,
a:hover,
button.navbar__menu-link:hover,
.eshop-menu__link--button:hover {
    color: var(--primary-dark);
}

.list-group-item-primary.list-group-item-action.active {
    background-color: var(--primary-darkest);
    border-color: var(--primary-darkest);
}

.nav-link:hover,
.section-tabs .item a:hover,
.section-tabs .item .eshop-menu__link--button:hover,
.section-tabs .item button.navbar__menu-link:hover,
.nav-link:focus,
.section-tabs .item a:focus,
.section-tabs .item .eshop-menu__link--button:focus,
.section-tabs .item button.navbar__menu-link:focus,
.list-group-item-primary,
.list-group-item-primary.list-group-item-action:hover,
.list-group-item-primary.list-group-item-action:focus,
.alert-primary,
.alert-primary .alert-link {
    color: var(--primary-darkest);
}

/*uprava carouselu*/
.custom-motive .carousel-caption img {
    width: 60px !important;
    -o-object-fit: unset !important;
    object-fit: unset !important;
}

.custom-motive .carousel-caption a:hover img.filter-white {
    opacity: 0.8;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/*uprava velikosti loga*/
@media(max-width:575px) {
    .navbar {
        flex-direction: column;
    }

    .menu-horizontal .navbar__brand {
        margin: 0;
        margin-bottom: 10px
    }

    .navbar__toggler {
        margin: 0;
        margin-top: 10px;
        margin-bottom: 10px
    }

    .navbar__toggler.expanded {
        align-self: end;
    }
}

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

.menu-horizontal .navbar__brand-logo-img {
    max-width: 20rem;
    max-height: 5rem
}

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

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