@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
}

.index-site h1 {
    font-size: 2rem !important;
}

.grid-product h1 {
    font-size: 1.5rem !important;
}

.product-view h1 {
    font-size: 1.5rem !important;
}

.zakaz {
    font-size: 12px;
}

::-webkit-scrollbar {
    width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #028bd1;
}

main > .container {
    padding: 20px 15px 20px;
}

main > .container {
    padding: 20px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }

    .phones {
        font-size: 1rem !important;
    }
}

.navbar-brand {
    padding: 0;
    font-size: 1rem !important;
    pointer-events: none;
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.phones {
    color: white;
    font-size: 1.1rem;
}

@media (max-width: 575px) {
    #phones {
        text-align: center
    }

    #logo {
        text-align: center
    }

}


@media (min-width: 576px) {
    .container {
        max-width: 665px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 885px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1180px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}

.scrollup {
    position: fixed;
    color: #fff;
    background-color: #0F5D85;
    right: 25px;
    bottom: 25px;
    padding: 4px 10px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    text-align: center;
    opacity: 65%;
}

.scrollup:hover {
    opacity: 100%;
}

.all-products {
    color: #007bff;
    text-decoration: underline;
}

.all-products:hover {
    color: #007bff;
    text-decoration: none;
}

.all-products .active, .all-products.active:hover, .all-products.active:focus, .all-products:focus {
    color: white;
    text-decoration: none;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: yellow;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
}

.bg-primary {
    background-color: #028bd1 !important;
}

.btn-primary {
    background-color: #028bd1 !important;
}

.btn-outline-primary {
    color: #028bd1 !important;
    border-color: #028bd1 !important;
}

.btn-primary:hover {
    background-color: #167cb2 !important;
}

.dropdown-item.active {
    background-color: #028bd1 !important;
}

#catalog-menu {
    padding: 0;
}

.navbar-main .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
    color: #fabc34;
}

.navbar-catalog .navbar-nav .nav-link:hover, .navbar-catalog .navbar-nav .nav-link:focus {
    color: #fabc34;
}

.grid {
    display: flex;
    flex-wrap: wrap;
}

.grid > div[class*='col-'] {
    display: flex;
}

.breadcrumb {
    background-color: rgb(254, 232, 115);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #000000;
    content: "\00bb ";
}

.card {
    transition: all .3s ease-in-out;
}

.card:hover {
    border: 1px solid #028bd1;
    transform: scale(1.05);
}

.card-image {
    cursor: pointer;
}

.footer-text {
    color: white;
}

.fa-shopping-basket {
    position: relative;
}

.fa-shopping-basket:hover #counter {
    background-color: #fabc34;
}

#basket {
    position: relative;
}

#counter {
    position: absolute;
    top: 80%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 2rem;
    border-radius: 100%;
    background-color: darkorange;
    font-size: 1.1rem;
    padding: 0.5rem;
    font-weight: bold;
}

.advantages {
    color: #0F5D85;
}

.partners {
    filter: grayscale(100%);
}

.partners:hover {
    filter: grayscale(0%);
    cursor: pointer;
}

.available {
    font-size: 1.2rem;
    color: #2e7a45;
}

.to-order {
    font-size: 1.2rem;
    color: #955200;
}

.not-available {
    font-size: 1.2rem;
    color: #9a0a0a;
}

.docs {
    font-size: 1.2rem;
}

.nav-tabs .nav-item {
    font-size: 1.1rem;
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown .dropdown-toggle::after {
    transition: all .25s ease-in-out;
}

.navbar-catalog {
    position: relative;
}

.navbar-catalog .navbar-toggler[aria-expanded="false"] > .navbar-toggler-icon:before {
    content: "Каталог товарів";
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    position: absolute;
    color: white;
}

.navbar-catalog .navbar-toggler[aria-expanded="true"] > .navbar-toggler-icon:before {
    content: "Каталог товарів";
    left: 50%;
    top: 1.2rem;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    position: absolute;
    color: black;
}

.navbar-main .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='60' viewBox='0 0 60 60' width='60'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %235b75a0; fill-rule: evenodd; %7D %3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M1050,360a30,30,0,1,1,30,30A30,30,0,0,1,1050,360Zm30,18a4,4,0,0,1-4-4V358a4,4,0,0,1,8,0v16A4,4,0,0,1,1080,378Zm0-36a4,4,0,1,1-4,4A4,4,0,0,1,1080,342Z' id='info' transform='translate(-1050 -330)'/%3E%3C/svg%3E");
}

.page-item.active .page-link {
    background-color: #028bd1;
}

.page-link {
    color: #028bd1;
}

.highlight {
    background-color: #FFFF88;
}

.view-form .fa-li:before {
    color: #0F5D85;
}

#creator {
    font-size: 1.2rem;
}

.load-disable {
    pointer-events: none;
    opacity: 0.65;
}

#scroll-button {
    position: fixed;
    bottom: 10px;
    left: 20px;
}

.card .card-badge-hit {
    position: absolute;
    top: 0;
    padding: 5px;
    background: darkorange;
    border-radius: 5px;
    color: white;
    z-index: 100;
}

.card .card-badge-delivery {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
    background: #006400;
    border-radius: 5px;
    color: white;
    opacity: 80%;
}

.product-images .card-badge-hit {
    padding: 5px;
    background: darkorange;
    border-radius: 5px;
    color: white;
}

.product-images .card-badge-delivery {
    padding: 5px;
    background: #006400;
    border-radius: 5px;
    color: white;
    opacity: 80%;
}

.badges {
    position: absolute;
    top: 0;
    z-index: 100;
}

.cart-image {
    max-width: 100px;

}

.empty-basket {
    max-height: 300px
}

.logo {
    max-height: 120px
}

.carousel-border {
    border: 1px solid #028bd1;
}

.sm-form-input {
    max-width: 70px;
}

.error-img {
    max-height: 470px;
}

.prod-img {
    max-width: 150px;
}

.empty-search {
    max-height: 380px
}

#map {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    height: 400px;
    border: 1px solid #028bd1;
    border-radius: 5px;
}

.f-thumbs__slide .f-thumbs__slide__img, .f-carousel__viewport {
    border-radius: 5px;
}

.f-thumbs__slide.is-nav-selected .f-thumbs__slide__img, .is-classic .is-nav-selected .f-thumbs__slide__button::after {
    border: 2px solid #028bd1;
    border-radius: 5px;
}