h5>a {
    color: black;
    text-decoration: none;
    overflow-x:hidden;
}

.product-card-img-img {
    border-radius: 0.5rem;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.sechead {
    padding-top: 8rem;
    padding-bottom: 3.5rem;
}

.bg-size-cover {
    background: no-repeat center center/cover;
}

.btn-circle {
    height: 40px;
    max-width: 40px;
}

.bi {
    width: 1em;
    height: 1em;
}

.form-select-sm {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.hover-translate-y-n3:hover {
    transform: translateY(-3px) !important;
}

[class*='hover-'] {
    transition: all 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
    [class*='hover-'] {
        transition: none;
    }
}

.product-card-img {
    height: 190px;
    filter: brightness(30%);
    object-fit: cover;
}

@media (min-width: 576px) {
    .product-card-img {
        height: 190px;
    }
}

@media (min-width: 768px) {
    .product-card-img {
        height: 274px;
    }
}

@media (min-width: 1200px) {
    .product-card-img {
        height: 340px;
    }
}

#mainNavDark {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: rgba(var(--bs-dark-rgb), 1) !important;
}

#mainNavDark .navbar-brand {
    font-family: "Kanit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #fff;
}

#mainNavDark .navbar-brand:hover,
#mainNavDark .navbar-brand:active {
    color: #fff;
}

#mainNavDark .navbar-toggler {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    color: #fff;
}

#mainNavDark .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

#mainNavDark .navbar-nav .nav-item .nav-link:hover {
    color: #fff;
}

#mainNavDark .navbar-nav .nav-item .nav-link.active {
    color: #fff;
}

#mainNavDark.scrolled {
    background-color: var(--bs-gray);
    transition: background-color 200ms linear;
}

#mainNavDark.scrolled .navbar-brand {
    color: #212529;
}


#mainNavDark.scrolled .navbar-brand:hover,
#mainNavDark.scrolled .navbar-brand:active {
    color: #274DEA;
}

#mainNavDark.scrolled .navbar-toggler {
    color: #212529;
}

#mainNavDark.scrolled .navbar-nav .nav-item .nav-link {
    color: #212529;
}

#mainNavDark.scrolled .navbar-nav .nav-item .nav-link:hover {
    color: #274DEA;
}

#mainNavDark.scrolled .navbar-nav .nav-item .nav-link.active {
    color: #274DEA;
}

.brightness-50 {
    filter: brightness(50%);
}

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

.shadow-soft {
    box-shadow: 0 .65rem 1.9rem rgba(2, 18, 74, .09) !important;
}

.bg-tint {
    background-color: #f3f3f8 !important;
}

.masthead-plain {
    background-color: #f8f9fa !important;
    background-image: none !important;
    padding-top: 6.5rem;
    padding-bottom: 1rem;
}

h1, h2, h3 {
    color: #02124A;
}

.table-silicon {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table-silicon thead th {
    background-color: #f3f3f8;
    color: #02124A;
    font-weight: 600;
    border: 0;
    border-bottom: 1px solid #e9eaf0;
    padding: .9rem 1rem;
    white-space: nowrap;
}

.table-silicon tbody td {
    border: 0;
    border-bottom: 1px solid #eef0f4;
    padding: .85rem 1rem;
}

.table-silicon tbody tr:last-child td {
    border-bottom: 0;
}

.table-silicon tbody tr:hover {
    background-color: #f8f9fc;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .75rem;
    background-color: rgba(2, 18, 74, .08);
    color: #02124A;
    flex: 0 0 auto;
    line-height: 1;
}

.icon-box > i,
.icon-box > svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.form-select:focus,
.form-control:focus {
    border-color: #02124A;
    box-shadow: 0 0 0 0.25rem rgba(2, 18, 74, 0.25);
}

.btn-call {
    --bs-btn-bg: #274DEA;
    --bs-btn-border-color: #274DEA;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #02124A;
    --bs-btn-hover-border-color: #02124A;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #02124A;
    --bs-btn-active-border-color: #02124A;
    --bs-btn-active-color: #fff;
    font-weight: 600;
}

.btn-circle-sq {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    color: #fff;
    border-radius: 50% !important;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.btn-circle-sq > i,
.btn-circle-sq > svg {
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 auto;
}

.btn-social {
    background-color: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid transparent;
    width: 2.25rem;
    height: 2.25rem;
}

.btn-social > i,
.btn-social > svg {
    width: 1.05rem;
    height: 1.05rem;
}

.btn-social:hover,
.btn-social:focus,
.btn-social:active {
    color: #fff !important;
}

.btn-social.btn-telegram:hover,
.btn-social.btn-telegram:focus,
.btn-social.btn-telegram:active {
    background-color: #2AABEE !important;
    border-color: #2AABEE !important;
    box-shadow: 0 .375rem 1.125rem -.375rem rgba(42, 171, 238, .8) !important;
}

.btn-social.btn-max:hover,
.btn-social.btn-max:focus,
.btn-social.btn-max:active {
    background-color: #7B61FF !important;
    border-color: #7B61FF !important;
    box-shadow: 0 .375rem 1.125rem -.375rem rgba(123, 97, 255, .8) !important;
}

#ProductPages .pagination {
    gap: .25rem;
}

#ProductPages .page-link {
    border: 0;
    border-radius: .6rem !important;
    color: #02124A;
}

#ProductPages .active .page-link {
    background-color: #02124A;
    color: #fff;
}

@media (max-width: 991.98px) {
    .table-responsive .table thead th:first-child,
    .table-responsive .table tbody td:first-child {
        position: sticky;
        left: 0;
        background-color: #fff;
        box-shadow: 4px 0 8px -6px rgba(2, 18, 74, .25);
    }
    .table-responsive .table-silicon thead th:first-child {
        background-color: #f3f3f8;
    }
    .table-responsive .table-silicon tbody tr:hover td:first-child {
        background-color: #f8f9fc;
    }
}

.breadcrumb-item a {
    color: #274DEA;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.fw-regular {
    font-weight: 400 !important;
}

@media (max-width: 1199px) {
    .navbar-expand-xl .navbar-nav .dropdown:not(.dropdown-submenu)>.dropdown-menu {
        display: block !important;
    }

    .dropdown-menu {
        border: 0;
    }

    .dropdown-toggle::after {
        display: none;
    }

    .dropdown-item:hover, .dropdown-item:focus {
        background-color: white;
    }
    
    .dropdown-item.active, .dropdown-item:active {
        background-color: white;
    }
}

@media (min-width: 1200px) {
    .dropdown-item:hover, .dropdown-item:focus {
        background-color: var(--bs-dropdown-link-hover-bg);
    }
    
    .dropdown-item.active, .dropdown-item:active {
        background-color: var(--bs-dropdown-link-hover-bg);
    }
}

.dropdown-item {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
}

#mainNavLight {
    background-color: #fff;
    padding-top: .9rem;
    padding-bottom: .9rem;
}

#mainNavLight .navbar-toggler {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    color: #212529;
}

#mainNavLight .navbar-nav .nav-item .nav-link {
    color: #02124A;
}

#mainNavLight .navbar-nav .nav-item .nav-link-inactive:hover {
    color: #02124A !important;
}

#mainNavLight .navbar-nav .nav-item .nav-link:hover  {
    color: #274DEA;
}

#mainNavLight .navbar-nav .nav-item .dropdown-item:hover  {
    color: #274DEA;
}

@media (min-width: 1200px) {
    .text-nowrap-xl {
        white-space: nowrap !important;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, ">") !important;
}

.box-shadow-medium-smooth {
    box-shadow:0 10px 36px 8px rgba(0,0,0,.06)!important; 
}

.text-opacity-90 {
    --bs-text-opacity: 0.9;
}

.text-opacity-85 {
    --bs-text-opacity: 0.85;
}

.opacity-90 {
    opacity: 0.9 !important;
  }
  
a[href^="tel"]{
    color:inherit;
    text-decoration:none;
}

.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 1199.98px) {
    .navbar-center {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 1rem;
    }
}

:root {
    scroll-behavior: auto !important;
}

.glass-card {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.img-banner-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 1.5rem;
    color: #fff;
    text-align: center;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0) 0%, rgba(11, 15, 25, .78) 100%);
}

.masthead-cover .breadcrumb-item a {
    color: rgba(255, 255, 255, .85);
}

.masthead-cover .breadcrumb-item a:hover {
    color: #fff;
}

.masthead-cover .breadcrumb-item.active {
    color: rgba(255, 255, 255, .65);
}

.masthead-cover .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

.photo-card {
    display: block;
    position: relative;
    overflow: hidden;
}

.photo-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .3s ease;
}

.photo-card img.img-fill {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
}

.masonry-gallery {
    columns: 1;
    column-gap: 1rem;
}

.masonry-gallery > * {
    break-inside: avoid;
    margin-bottom: 1rem;
}

@media (min-width: 576px) {
    .masonry-gallery {
        columns: 2;
    }
}

@media (max-width: 767.98px) {
    .gal-tile {
        aspect-ratio: auto !important;
        height: auto !important;
    }

    .gal-tile img.img-fill {
        position: static !important;
        height: auto !important;
    }
}

@media (min-width: 768px) {
    .masonry-gallery {
        columns: 3;
        column-gap: 1.5rem;
    }

    .masonry-gallery > * {
        margin-bottom: 1.5rem;
    }
}

/* Адаптивность: мобильные */
.table-silicon {
    font-size: 1.1rem;
}

.contacts-map {
    min-height: 280px;
}

@media (min-width: 768px) {
    .contacts-map {
        min-height: 0;
    }
}

.cert-frame {
    display: block;
    height: 350px;
    max-width: 340px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 5px;
}

@media (max-width: 575.98px) {
    .masthead-plain {
        padding-top: 6.5rem;
        padding-bottom: .75rem;
    }

    .table-silicon {
        font-size: .9rem;
    }

    .table-silicon thead th,
    .table-silicon tbody td {
        padding: .6rem .75rem;
    }

    .img-banner-caption {
        padding: 1rem .75rem;
    }

    .img-banner-caption .display-6 {
        font-size: 1.1rem;
    }

    .cert-frame {
        height: 300px;
    }
}