/* Починка swal */
.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]  {
    right: 0 !important;
}
/* /Починца swal */

/* ИЗМЕНЕНИЕ ЦВЕТОВ НА ЦВЕТ ТЕМЫ */
.btn-primary:hover {
    background-color: color-mix(in srgb, var(--theme-bg-color) 90%, black) !important;
    border-color: color-mix(in srgb, var(--theme-bg-color) 90%, black) !important;
}

.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--theme-bg-color) 50%, transparent) !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff !important;
    background-color: var(--theme-bg-color) !important;
    border-color: var(--theme-bg-color) !important;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    color: #fff !important;
    background-color: color-mix(in srgb, var(--theme-bg-color) 85%, black) !important;
    border-color: color-mix(in srgb, var(--theme-bg-color) 85%, black) !important;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--theme-bg-color) 50%, transparent) !important;
}

.btn-primary:hover {
    background-color: color-mix(in srgb, var(--theme-bg-color) 90%, transparent) !important;
    border-color: color-mix(in srgb, var(--theme-bg-color) 90%, transparent) !important;
}
#about .description {
    padding: 2rem;
    min-height: 400px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    color: white;
    background-color: color-mix(in srgb, var(--theme-bg-color) 70%, transparent);
}

#contacts .footer-brand {
    color: #ffffff !important;
}

#contacts .data-wrapp a {
    color: color-mix(in srgb, var(--theme-bg-color) 60%, #fff 40%);
}


/* /ИЗМЕНЕНИЕ ЦВЕТОВ НА ЦВЕТ ТЕМЫ */

/* Слайдер банеров */
.swiper-banners {
    width: 100%;
    height: 100px;
    padding: 15px 0;
    margin: 20px 0;
    overflow: hidden;
}

.swiper-banners .swiper-wrapper {
    align-items: center;
    transition-timing-function: ease-in-out;
}

.swiper-banners .swiper-slide {
    width: 160px !important;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.swiper-banners .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swiper-banners .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}
/* /Слайдер банеров */


/* Кастомная шапка */
.custom-header {
    padding: 0;
    display: block;
    position: relative !important;
}

.show-on-desktop {
    display: inherit !important;
}

.hide-on-desktop {
    display: none !important;
}

.header-top {
    height: 60px;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 5rem !important;

    font-size: 18px;
}

.header-top-right {
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 992px) {
    .header-top-right {
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
    }
}

.navbar-brand {
    font-size: 1.3rem !important;
    color: var(--theme-bg-color) !important;
    white-space: normal !important;
    width: 20%;
}


@media (max-width: 1440px) {
    .navbar-brand {
        font-size: 1rem !important;
    }
}
@media (max-width: 692px) {
    .navbar-brand {
        font-size: 
        .7rem !important;
    }
}
@media (max-width: 440px) {
    .navbar-brand {
        font-size: .55rem !important;
    }
}

.bvi-shortcode, .bvi-shortcode .bvi-open, .bvi-open svg {
    background: none !important;
}

.bvi-open svg {
    color: var(--theme-bg-color);
    --bvi-svg-size: 55px;
    width: var(--bvi-svg-size) !important;
}

@media (max-width: 420px) {
    .bvi-open svg {
        --bvi-svg-size: 40px;
    }
}

.header-top .social-icon {
    padding: 1rem .5rem !important;
    font-size: 1.3rem;

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

.show-on-desktop .social-icon {
    height: 56px;
}

.header-email {
    display: flex;
    align-items: center;
}

.hide-on-desktop.header-email {
    margin-top: 5px;
    font-size: 14px !important;
}

.header-email *:first-child {
    margin-right: .6rem;
}

.header-search-form {
	display: flex;
	align-items: center;
	margin-left: 20px;
	position: relative;
    width: 40%;
    font-size: 1rem !important;
}

.header-search-form .search-field {
    width: 100%;
	padding: 20px;
    border: 2px solid #e1e1e1;
    border-right: none;
    border-radius: 0;
}

.header-search-form .search-field:focus {
    outline: none;
}

.header-search-form .search-submit {
    height: 100%;
    border: 2px solid var(--theme-bg-color);
    outline: none;
	cursor: pointer;
	background: var(--theme-bg-color);
    color: #fff;
    transition: .15s;
    padding: 20px;
}

.header-search-form .search-submit:hover, .header-search-form .search-submit:focus {
	background: color-mix(in srgb, var(--theme-bg-color) 80%, #fff 20%);
    border: 2px solid color-mix(in srgb, var(--theme-bg-color) 80%, #fff 20%) !important;
}

@media (max-width: 992px) {
    .header-search-form {
        width: 100%;
        max-width: 100%;
        margin-left: 0px;
    }

    .search-field {
        padding: 10px;
        font-size: 16px;
        height: 44px;
    }

    .search-submit {
        padding: 0 20px !important;
        height: 44px;
        line-height: 44px;
        border: none !important;
    }
}

.search-suggestions {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #fff;
	box-shadow:  0 2px 4px 0 rgba(0, 0, 0, .15);
	z-index: 103;
}

.search-suggestions .suggestion-title {
	font-size: 14px;
    padding: 6px 12px;
	font-weight: 400;
    color: #979797;
    width: 100%;

}

.search-suggestions .suggestion-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.search-suggestions .suggestion-list li {
	padding: 6px 12px;
	cursor: pointer;

}

.search-suggestions .suggestion-list li:hover {
	background-color: #e8e8e8;
    text-decoration: none;
}

.search-suggestions .suggestion-list li a {
    color: #262626;
    width: 100%;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 400;
}

.search-suggestions .suggestion-list li a:hover {
    text-decoration: none;
}

#get-more {
    width: 100%;
    background: none;
    border: none;
	font-size: 14px;
    text-align: center;
    color: #7d7d7d;
	font-weight: 400;
    display: none;
    margin: 5px 0;
    transition: .2s;
}
#get-more:hover {
    cursor: pointer;
    color: #8d8d8d;
}

.header-bottom {
    background: #e3e3e3;
    justify-content: center;
    border-top: 1px solid #e3e3e3;
    background: whitesmoke;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;

    height: auto !important;
    width: 100%;
    background: white;

    padding: 0 5rem !important;
    
    transform: translate(0, -100%);
    transition: .3s;
    display: none !important;
}

.animated-sticky-header {
    transform: translate(0, 0);
    box-shadow: 0 8px 15px rgb(0 0 0 / 14%);
    display: flex !important;
}

.sticky-header-hide {
    z-index: -1;
}

.sticky-header .navbar-brand {
    margin-right: 10% !important;
}

.sticky-header .navbar-social {
    display: block !important;
    font-size: 1.3rem; 
}

.hamburger.hamburger--elastic.is-active {
    top: 0 !important;
    right: 15px !important;
}

.body-hamburger-open {
    overflow: hidden;
}

.hamburger-hide {
    display: none !important;
}

.nav-hamburger-open {
    height: 100% !important;
}

@media (max-width: 1199.98px) {
    #main-menu {
        min-height: auto;
        height: auto;
    }

    .header-top {
        padding: 10px 2rem !important;
    }
}

@media (max-width: 992px) {
    .show-on-desktop {
        display: none  !important;
    }

    .hide-on-desktop {
        display: inherit !important;
    }
    
    .header-top {
        padding-left: 5rem !important;
        padding-right: 5rem !important;
        padding-top: 1rem !important;
    }
    
    .header-bottom {
        padding: .5rem 5rem !important;
        justify-content: space-between;
    }

    .header-bottom .navbar-social {
        display: block !important;
    }

    .sticky-header .navbar-social {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .header-top {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .header-bottom {
        padding: .5rem 1rem !important;
    }

    .sticky-header {
        padding: 0 1rem !important;
    }

    .sticky-header .navbar-brand {
        margin-right: 0 !important;
    }
}

#main-menu .navbar-nav.show {
    padding: 0 15%;
}
/* /Кастомная шапка */

/* Отступы от шапки */
#title-breadcrumb {
    /* --custom-header-mt: 156px; */
    --custom-header-mt: 0px;
    margin-top: var(--custom-header-mt);
}

@media (max-width: 1200px) {
    #title-breadcrumb {
        /* --custom-header-mt: 135px; */
        --custom-header-mt: 0px;
        margin-top: var(--custom-header-mt);
    }
}

.home #header-slider {
    /* --custom-header-mt: 156px; */
    --custom-header-mt: 0px;
    margin-top: var(--custom-header-mt) !important;
}

@media (max-width: 991.98px) {
    #title-breadcrumb {
        --custom-header-mt: 0px;
    }
}
/* /Отступы от шапки */

/* Страница поиска */
.search-results-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.search-result-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 20px;
    overflow: hidden;
}

.search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.search-result-card .card-link {
    display: block;
    padding: 20px;
    color: inherit;
    text-decoration: none;
}

.search-result-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.search-result-card .card-link:hover .card-title {
    color: #333;
}

.search-result-card .card-excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}
.search-result-card .learn-more {
    color: var(--theme-bg-color);
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 0;
    transition: .3s;
}

.search-result-card:hover .learn-more {
    color: color-mix(in srgb, var(--theme-bg-color) 60%, #fff 20%);
}

.nav-links {
    display: flex;
}

.page-numbers   {
    padding: .5rem .75rem;
    border: 1px solid #dee2e6;
    display: inline-block;
    width: 36px;    
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    user-select: none;
    transition: 0.3s;
}

.page-numbers:hover:not(.current) {
    text-decoration: none;
    background-color: #0000000c;
}

.current {
    padding: .5rem .75rem;
    background-color: var(--theme-bg-color);
    color: #e5e5e5;
    box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.2);
}
/* /Страница поиска */

.social-icon.max svg {
    width: 19px;
    height: 20px;
}

@media ( max-width:991px ) {
    .social-icon.max svg {
        width: 15px;
        height: 22px;
    }
}

.site-logo {
    align-self: center;
    max-width: 106px !important;
    height: 100%;
    margin-right: 15px;
}

.navbar-brand.show-on-desktop {
    width: 23%;
    font-size: 17px !important;
	align-items: center;
}