

* {
    transition-property: all;
    transition-duration: .1s;
    transition-timing-function: ease;
}


.accordion-button:not(.collapsed) {
    color: #ffffff!important;
    background-color: var(--bs-accordion-active-bg);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)
}


.dropdown-list {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#navbar-desktop {
    margin: .75rem 0 0;
    height: 30px;
    list-style-type: none;
}

#navbar-desktop a {
    text-decoration: none;
    color: #000;
}

.dropdown-list {
    padding-top: 1rem;
    width: 16rem;
    display: none;
    background-color: #fff;
    position: absolute;
    z-index: 5;
    font-size: 14px;
}

.dropdown-list_major {
    top: 2.125rem;
}

.dropdown-list_minor {
    top: -1rem;
    left: 14rem;
}

.dropdown-element_first:hover .dropdown-list_major,
.dropdown-element_second:hover .dropdown-list_minor {
    box-shadow: 3px 3px 5px #bbb;
    display: block;
    transition: all 580ms ease-in-out;
}

.dropdown-element_first, .dropdown-element_second {
    position: relative;
}

.dropdown-element_second, .dropdown-element_third {
    padding: 0 1rem;
}

.dropdown-element_first:nth-child(5) .dropdown-list_major {
    width: 16rem;
}

.dropdown-element_first:nth-child(5) .dropdown-list_minor {
    left: 16rem;
}

/*  arrow-select-* – стрелка выпадающего меню  */

.arrow-select-right {
    display: flex;
    justify-content: space-between;
}

/*  navbar-btn – стилизация ссылок навбара и  */
/*  анимация border-bottom из центра  */
.navbar-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navbar-btn::after {
    border-top: 1px solid rgba(0, 0, 0, 0);
    content: " ";
    margin: 0 auto;
    transition: all 280ms ease-in-out;
    width: 0;
}

.navbar-btn:hover::after {
    border-color: #000;
    transition: width 200ms ease;
    width: 100%;
}

/*  btn-major – стилизация текста для  */
/*  ссылок первого уровня  */

.btn-major {
    font-family: "Bebas Neue";
    font-size: x-large;
}

/*  sub-menu-element – стилизация конечных  */
/*  элементов выпадающего меню навбара  */
.sub-menu-element {
    margin-bottom: .8rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    font-weight: 500;
}

.sub-menu-element::after {
    content: "";
    border-top: 1px solid rgba(0, 0, 0, 0);
}

.sub-menu-element:hover::after {
    transition: all 0.3s ease-in-out;
    border-color: #000;
}

/*  Стилизация выпадающего меню поиска в Desktop-версии  */
#searchBox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.id-hiddenInput {
    padding: .7rem;
    background: #fff;
    border-top: .125rem solid #e4051f;
    box-shadow: 3px 3px 5px #bbb;
}

.hiddenInputBody {
    padding: .7rem;
    background: #fff;
    border-top: .125rem solid #bbb;
    box-shadow: 3px 3px 5px #bbb;
}


#hiddenInput {
    display: none;
    position: absolute;
    top: 2.1875rem;
    right: 0;
}

#hiddenInput::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23e4051f' class='bi bi-caret-up-fill' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E");
    display: flex;
    justify-content: end;
    margin-bottom: -.75rem;
    margin-right: 1rem;
}

#hiddenInput > label > a {
    padding: .3rem 1rem;
    background: #000;
    color: #fff;
}

#hiddenInput > label > input {
    all: unset;
    padding: .2rem .4rem;
    border: 2px solid #e1e1e1;
    cursor: text;
}

/*  Стилизация навбара в мобильной версии  */
.accordion-side-nav {
    padding-left: .5rem;
}

/*noinspection CssNoGenericFontName*/
#accordion-side-nav > .accordion-item-side-navbar > .accordion-header-side-navbar > a {
    text-transform: uppercase;
    font-family: "Bebas Neue";
    font-size: x-large;
}

.accordion-button-side-navbar, .accordion-button-empty {
    padding-top: 0;
    padding-left: .5rem;
}

.accordion-button-empty {
    background: none;
    box-shadow: none;
    color: #fff;
}

.accordion-button-empty::after {
    color: #fff;
}

.accordion-button-empty:not(.collapsed)::after {
    background: none;
}

.accordion-button-empty:not(.collapsed) {
    background: none;
    box-shadow: none;
}

.accordion-item-side-navbar {
    background: none;
    color: #fff;
    border: none;
}

.accordion-item-side-navbar a {
    width: 100%;
    text-decoration: none;
    color: #ffffff;
}

.accordion-button-side-navbar {
    background: none;
    box-shadow: none;
    color: #fff;
}

.accordion-button-side-navbar::after {
    color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-90deg);
}

.accordion-button-side-navbar:not(.collapsed)::after {
    transform: rotate(0);
}

.accordion-button-side-navbar:not(.collapsed) {
    background: none;
    box-shadow: none;
}

.accordion-body-side-navbar {
    padding-left: 3rem;
}

/*noinspection CssNoGenericFontName*/
.accordion-final-element {
    width: 84%;
    padding-bottom: 1rem;
    font-family: "Fira Sans";
    display: flex;
    flex-direction: row;
}


/*  Стилизация поиска в мобильной версии  */
/*noinspection CssNoGenericFontName*/

.header-mobile {
    background: linear-gradient(to bottom, #313b45 0%, #3393b8 100%);
}

.toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.search-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
}

#offcanvasSearchLabel {
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    font-family: "Bebas Neue";
    font-size: x-large;
}

#offcanvasNav{
    width: 100%!important;
}

#offcanvasSearch{
    width: 100%!important;
}


#offcanvasNavLabel {
    margin-left: .5rem;
}

#offcanvasNavLabel svg {
    filter: grayscale(100);
}

/*noinspection CssNoGenericFontName*/
.search-mobile-input {
    all: unset;
    padding: 0 3rem 1rem;
    display: block;
    background: none;
    color: #fff;
    text-align: center;
    font-family: "Bebas Neue";
}

/*noinspection CssNoGenericFontName*/
.search-mobile-input input {
    width: 100%;
    background: none;
    color: #fff;
    border: none;
    text-align: center;
    font-family: "Bebas Neue";
    font-size: xx-large;
    font-weight: 600;
}

.search-mobile-input input:focus {
    outline: none;
    background: none;
    border: none;
}

.search-mobile-input::after {
    border: 1px solid rgba(255, 255, 255, 1);
    content: " ";
    display: block;
    margin: 0 auto;
    position: relative;
    transition: all 350ms ease-in-out;
    width: 100%;
}


@media screen and (max-width: 991px) {
    .btn-major {
        font-size: 1.1875rem;
    }

    .dropdown-element_first > div > img {
        width: 1rem;
        height: 1.5rem;
    }
}

@media screen and (max-width: 1040px) {
    .dropdown-element_first:nth-child(5) .dropdown-list_minor {
        left: -14rem;
        box-shadow: -3px 3px 5px #bbb;
    }
}
