body {
    display: block;
    margin: 0;
}

#allrecords ul {
    padding-left: 0;
}

h1, ul{
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    list-style-type: none;   
    padding-inline-start: 0;
}

@media (min-width: 320px) and (max-width: 479px) {
    .footer{
        height: 1085px;
    }

    .footer-info{
        position: relative;
        justify-content: center;
        padding-top:25px;
    }
    
    .footer-menu{
        position: relative;
        justify-content: center;
        padding-top:25px;
    }
    .footer-wk{
        position: relative;
        justify-content: center;
        padding-top:25px;
    }

    .footer-logo-copyright-svg{ 
        width:120px;
        height:50px;
    }
    .footer-logo-copyright{
        width:250px;
        height:70px;
        margin: 25px 0 0 0 ;
    }
}

@media (min-width: 480px) and (max-width: 639px) {
    .footer{
        height: 1100px;
    }

    .footer-info{
        position: relative;
        justify-content: center;
        padding-top:25px;
    }
    
    .footer-menu{
        position: relative;
        justify-content: center;
        padding-top:25px;
    }
    .footer-wk{
        position: relative;
        justify-content: center;
        padding-top:25px;
    }
    .footer-logo-copyright-svg{ 
        width:120px;
        height:50px;
    }
    .footer-logo-copyright{
        width:250px;
        height:70px;
        margin: 50px 0 0 0 ;
    }
}

@media (min-width: 640px) and (max-width: 959px) {
    .footer{
        height: 740px;
    }

    .footer-info{
        position: absolute;
        float:right;
        margin:25px 0 0 110px;
    }

    .footer-menu{
        position: relative;
        float:right;
        margin: 25px 100px 0 0;
    }
    .footer-wk{
        position: absolute;
        left:100px;
        margin-top: 420px;
    }
    .footer-logo-copyright-svg{ 
        width:120px;
        height:50px;
    }
    .footer-logo-copyright{
        width:250px;
        height:70px;
        margin: 650px 0 0 0 ;
    }
}

@media (min-width: 960px) and (max-width: 1199px) {
    .footer{
        height: 730px;
    }

    .footer-info{
        position: absolute;
        float:right;
        margin:25px 0 0 110px;
    }

    .footer-menu{
        position: absolute;
        margin: 25px 0 0 350px;
    }
    .footer-wk{
        position: relative;
        float:right;
        margin: 25px 150px 0 0;
    }
    .footer-logo-copyright-svg{ 
        width:120px;
        height:50px;
    }
    .footer-logo-copyright{
        width:250px;
        height:70px;
        margin: 650px 0 0 0 ;
    }
}

@media screen and (min-width: 1200px) {
    .header-top{
        height: 35px;
    }
    .header-s4t{
        font-size: 1.85rem;
        margin-left: 50px;
    }
    .header-top-menu-left a, .header-top-menu-right a{
        padding: 9px 20px 8px 20px;
        font-size: 0.9em;
    }
    .header-top-menu-tel{
        font-size: 1.5em;
        margin: 0.18em 2em 0 0;
    }
    .header-bottom{
        height: 47px;
    }
    .header-bottom-menu >ul li a{
        padding:15px 10px;
        font-size: .9rem;
    }
.footer{
        height: 750px;
    }

    .footer-info{
        position: absolute;
        float:right;
        margin:25px 0 0 110px;
    }

    .footer-menu{
        position: absolute;
        margin: 25px 0 0 400px;
    }
    .footer-wk{
        position: relative;
        float:right;
        margin: 25px 150px 0 0;
    }
    .footer-logo-copyright-svg{ 
        width:120px;
        height:50px;
    }
    .footer-logo-copyright{
        width:250px;
        height:70px;
        margin: 670px 0 0 0 ;
    }
}


.header-top{
    width: 100%;
    background: #18191F;
}

.header-s4t{
    display: inline;
    float:left;
    color:#ed7d31!important;
}

.header-top-menu-left{
    display: inline-block;
    margin-left: 30px;
    box-sizing: border-box;
}

.header-top-menu-left ul, .header-top-menu-right ul {
    display:flex;
}

.header-top-menu-left li, .header-top-menu-right li{
    position: relative;
}

.header-top-menu-left a, .header-top-menu-right a{
    display: block;
    color:#B2B3B3!important;
    text-decoration: none;
}

.header-top-menu-left li:after, .header-top-menu-right li:after{
    position: absolute;
    content: '';
    background: #ed7d31;
    height: 1px;
    pointer-events:none;
}

.header-top-menu-left li:after, .header-top-menu-right li:after{
    width: 0;
    transition:.35s;
}

.header-top-menu-left li:hover:after, .header-top-menu-right li:hover:after{
    width: 100%;
    transition:.35s;
}

.header-top-menu-tel{
    text-decoration: none;
    color:#ed7d31!important;
}

.header-top-menu-tel:hover, .header-top h1:hover{
    color:gray!important;
    transition: 0.35s;
}

.header-top-menu-right, .header-top-menu-tel {
    display: inline;
    float:right;
}

.header-top-menu-right{
    margin-right: 30px;
}

.header-bottom{
    width: 100%;
    background: #1D1F26;
    position:relative;
}

.header-bottom-menu{
    width:100%;
    display:block;
    position:absolute;
    z-index:99999;
    font-family: Alegreya, serif;
    left:15.5%;
}

.header-bottom-menu ul{
    display:flex;
}


.header-bottom-menu >ul li a{
    display: block;
    text-decoration: none;
}

.header-bottom-menu >ul li a{
    color:white!important;
    transition: 0.35s;
}

.header-bottom-menu li a:hover{
    color:#ed7d31!important;
    background: #3F4252;
    transition: 0.35s;
}

.header-bottom-menu li ul {
    min-width: 180px;
    position: absolute;
    display: block;
}

.header-bottom-menu li >ul li a{
    display: block;
    color:white!important;
    padding: 7px 12%;
    font-size: .8em;
    text-transform: none;
}

.header-bottom-menu-2-1{
    position:absolute;
    left:100%;
    top:0;
}

.header-bottom-menu-2-2{
    position:absolute;
    left:100%;
    top:45px;
}

.header-bottom-menu-2-3{
    position:absolute;
    left:100%;
    top:75px;
}

.header-bottom-menu-2-4{
    position:absolute;
    left:100%;
    top:105px;
}

.header-bottom-menu-2-5{
    position:absolute;
    left:100%;
    top:135px;
}

.header-bottom-menu-2-7{
    position:absolute;
    left:100%;
    top:180px;
}

.header-bottom-menu-2::before{
    content:'';
    position: absolute;
    border:5px solid;
    border-color:transparent transparent transparent #eee;
    margin:6% 0 0 90%;
    transition:0.5s;
}

.header-bottom-menu-2:hover::before{
    transform: scalex(-1);
    transition:0.5s;
}

.header-bottom-menu li >ul li a{
    color:#ed7d31!important;
    background: #1D1F26;
}
.header-bottom-menu li > ul li a:hover{
    color:white!important;
    background: #3F4252;
}

.header-bottom-menu li ul {
    opacity: 0;
    visibility: hidden;
    transition: 0.35s opacity, 0.35s visibility;
}

.header-bottom-menu li:hover > ul{
    opacity: 1;
    visibility: visible;
    transition: 0.35s opacity, 0.35s visibility;
}

/*FOOTER*/

.footer{
    width: 100%;
    background: #1d1f26;
    margin-top: 20px;
}

.footer a{
    color: white !important;
    text-decoration: none!important;
    transition:.4s;
}
.footer a:hover{
    color: #ed7d31 !important;
    text-decoration: underline!important;
    transition:.4s;
}
.footer-start{
    display: flex;
}

.footer-wk{
    font-size:19px;
    color: #B2B3B3 !important;
    font-weight: bold; 
    text-align: center;
}
.footer-wk-t{
    margin-top:5px;
    font-size:1.2rem;
    color: white !important;
}
.footer-other{
    margin-top:25px;
    line-height:30px;
    font-size:1.1rem;
}
.footer-other a{
    color:#ed7d31!important;
    text-decoration: none;
    transition:.4s;
}
.footer-other a:hover{
    color: #B2B3B3 !important;
    text-decoration: underline;
    transition:.4s;
}
.footer-info{
    font-size: 19px;
    color: #B2B3B3 !important;
    font-weight: bold;
    text-align: center;
}

.footer-info a{
    display: flex;
    flex-direction: column;
    text-decoration: none;
    font-size:17px;
    font-weight: normal;
    padding:8px 0 8px 0;
}

.footer-menu{
    font-size: 19px;
    color: #B2B3B3 !important;
    font-weight: bold;
    text-align: center;
}

.footer-menu a{
    display: flex;
    flex-direction: column;
    text-decoration: none;
    font-size:17px;
    font-weight: normal;
    padding:8px 0 8px 0;
}

.footer-logo-copyright{
    display:block;
    position: absolute;
    right:50%;
    transform:translate(50%,0);
}

.footer-logo-copyright-svg{
    position: absolute;
    right:50%;
    transform:translate(50%,0);
}

.footer-copyright{
    color: white !important;
    letter-spacing: 3px;
    margin: 60px 0 0 30px;
}



/* =====================  Фирменные цвета  ===================== */
:root {

  /* ОСНОВНЫЕ ЦВЕТА */
    --basic: #5284c6;         /*СТАНДАРТЕНЫЙ*/
    --basic-light: #7fb3e6;  /*CСВЕТЛЫЙ*/
    --basic-dark: #3a5a9e;    /*ТЕМНЫЙ*/
    --bg-dark: #253954;  /*ФОН темный*/
    --bg-light: #f5f8fb;  /*ФОН светлый*/
    
    

   /* КНОПКА */
  --btn: #abeb25;
  --btn-hover: #81b11c;
  --btn-txt: #1a1a1a;
  --btn-txt-hover: #f9f9f9;
  
   /* ТЕКСТ */
  --txt-light: #ffffff;   /* на темном фоне */
  --txt-dark: var(--basic-dark);  /* на светлом фоне */
  
  /* ССЫЛКИ */
  --link-light: var(--txt-light); /* на темном фоне */
  --link-light-hover: var(--basic-light);       /* на темном фоне */
  --link-dark: var(--txt-dark); /* на светлом фоне */
  --link-dark-hover: var(--basic-light);       /* на светлом фоне */
  
  /* МЕНЮ */
  --menu-btn-hover: var(--btn);
  --menu-btn-text-hover: var(--btn);
  --menu-bg-sub2: #15263B;
  
}




/*Хлебные крошки*/

#breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px 0;
  padding-left: 18%;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

#breadcrumbs a, #breadcrumbs span {
  text-decoration: none;
  transition: all 0.2s ease;
}

#breadcrumbs a {
  color: #003366;       /* тёмно-синий */
  font-weight: 600;
  position: relative;
  padding: 0 5px;
}

#breadcrumbs a:hover {
  color: #0055aa;
  transform: scale(1.05);
}

#breadcrumbs a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: #43b8fe;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -3px;
  left: 0;
}

#breadcrumbs a:hover::after {
  width: 100%;
}

/* Стрелки */
#breadcrumbs .divider {
  margin: 0 12px;
  display: flex;
  align-items: center;
}

#breadcrumbs .divider i {
  color: #43b8fe;
  font-size: 12px;
  transition: transform 0.3s, color 0.3s;
  transform: rotate(0deg);
}

/* Hover на сегмент переворачивает стрелку перед ним */
#breadcrumbs a:hover ~ .divider i,
#breadcrumbs a:hover + .divider i {
  transform: rotate(180deg);
  color: #003366;
}

/* Последний сегмент */
#breadcrumbs span.current {
  color: #7fbfff; /* мягкий светло-синий */
  font-weight: 400;
}

/* Адаптив для мобильных */
@media (max-width: 1199px) {
  #breadcrumbs {
    padding-left: 10%;
    font-size: 12px;
  }
  #breadcrumbs .divider {
    margin: 0 8px;
  }
}

/* ПОИСК */
/* =========================
   БАЗОВЫЙ КОНТЕЙНЕР ПОИСКА
========================= */
.t-site-search-input {
    display: flex;
    align-items: center;           /* вертикальное выравнивание */
    gap: 10px;                     /* расстояние между инпутом и кнопкой */
    max-width: 1000px;              /* максимальная ширина блока */
    margin: 0 auto;                /* центрируем блок по горизонтали */
    padding: 30px;                 /* внутренние отступы */
    border-radius: 8px;            /* скругление углов */
    box-sizing: border-box;
}

/* =========================
   БЛОК ИНПУТА С ИКОНОЙ И КРЕСТИКОМ
========================= */
.t838__blockinput {
    flex-grow: 1;                  /* инпут занимает доступное место */
    display: flex;
    align-items: center;           /* вертикальное выравнивание иконок и текста */
    gap: 5px;                      /* отступ между инпутом и иконками */
}

/* =========================
   САМО ПОЛЕ ВВОДА
========================= */
.t838__blockinput input.t838__input {
    background-color: #7fb3e6 !important;
    height: 35px;                  /* фиксированная высота */
    width: 100%;                   /* растягивается на весь контейнер */
    font-size: 16px;
    padding: 0 12px;               /* внутренние отступы */
    border: 1px solid #ccc;        /* цвет границы */
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.t838__blockinput input.t838__input:hover{
    background-color: #bbddff !important;
}

/* Ховер и фокус */
.t838__blockinput input.t838__input:focus {
    outline: none;
    background-color: #fff !important;
}

/* =========================
   КНОПКА SEARCH
========================= */
.t838__blockbutton button.t-submit {
    height: 35px;                  /* совпадает с высотой инпута */
    font-size: 14px;
    padding: 0 20px;               /* горизонтальные отступы */
    border-radius: 0px;
    border: none;
    background-color: var(--basic-light) !important;
    color: var(--btn-txt) !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Ховер кнопки */
.t838__blockbutton button.t-submit:hover {
    background-color: var(--basic) !important;
    color: var(--btn-txt-hover) !important;
}

/* =========================
   ИКОНКИ
========================= */
/* Лупа */
.t838__search-icon {
    width: 18px;
    height: 18px;
    fill: #666;
}

/* Крестик закрытия */
.t-site-search-close {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Loader */
.t-site-search-loader {
    width: 18px;
    height: 18px;
}

/* =========================
   ПЛЕЙСХОЛДЕР
========================= */
.t838__blockinput input.t838__input::-webkit-input-placeholder { color:#000000; opacity:0.5; }
.t838__blockinput input.t838__input::-moz-placeholder { color:#000000; opacity:0.5; }
.t838__blockinput input.t838__input:-moz-placeholder { color:#000000; opacity:0.5; }
.t838__blockinput input.t838__input:-ms-input-placeholder { color:#000000; opacity:0.5; }

.t838 {
    position: relative; /* теперь логотип позиционируется относительно всего блока */
    background: linear-gradient(to bottom, #1B263B, #0D1B2A);
}

/* Логотип */
.my-logo {
    position: absolute;
    left: 15%;               /* 20% от всей ширины блока/страницы */
    top: 50%;
    transform: translateY(-50%);
}

.my-logo img {
    height: 40px;            /* размер логотипа */
    width: auto;
    display: block;
}

/* Иконки справа */
.my-icons {
    position: absolute;           /* относительно блока .t838 */
    right: 15%;                   /* отступ справа */
    top: 50%;                     /* вертикальное центрирование */
    transform: translateY(-50%);
    display: flex;
    gap: 35px;                    /* расстояние между иконками */
}

.my-icons .icon-link i {
    font-size: 20px;              /* размер иконок */
    color: #fff;               /* основной цвет сайта */
    transition: color 0.3s, transform 0.3s; /* плавный hover */
}

.my-icons .icon-link:hover i {
    color: var(--basic-light);               /* цвет при наведении */
    transform: scale(1.2);        /* лёгкое увеличение */
}



/* Основные стили шапки *//* Основные стили шапки *//* Основные стили шапки *//* Основные стили шапки *//* Основные стили шапки *//* Основные стили шапки */

.header-wrapper {
  display: flex;
  justify-content: space-between; /* главное меню слева, соцсети справа */
  align-items: center;             /* выравнивание по вертикали */
  background: linear-gradient(to bottom, #fff, #cfcfcf)!important;
  padding: 8px 15%; /* общий отступ слева/справа */
  box-sizing: border-box;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px; /* расстояние между пунктами меню */
  margin: 0;
}

.main-nav li a {
  display: flex;
  align-items: center;
  gap: 8px; /* расстояние между иконкой и текстом */
  font-size: 14px;
  color: var(--basic-dark) !important; /* цвет текста по умолчанию */
  text-decoration: none;
  position: relative;
  transition: color 0.3s; /* плавное изменение цвета текста */
}

.main-nav li a i {
  font-size: 15px;
  color: var(--basic-dark) !important; /* цвет иконки по умолчанию */
  transition: transform 0.3s, color 0.3s; /* плавное увеличение и изменение цвета иконки */
}

.main-nav li a:hover {
  color: var(--basic-light) !important; /* меняем цвет текста при наведении */
}

.main-nav li a:hover i {
  transform: scale(1.2); /* увеличиваем иконку */
  color: var(--basic-light) !important;       /* меняем цвет иконки при наведении */
}

/* Линия под текстом остаётся неизменной */
.main-nav li a .underline {
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 1px;
  width: 0;
  background-color: var(--basic-dark) !important; /* неизменный цвет линии */
  transition: width 0.3s; /* только анимация ширины */
}

.main-nav li a:hover .underline {
  width: 100%;
}

/* Соцсети справа */
.socials {
  flex: 0 0 15%; /* 15% справа */
  display: flex;
  justify-content: flex-end; /* выравнивание по горизонтали */
  align-items: center;       /* выравнивание по вертикали */
  gap: 25px;
}

.socials a {
  color: var(--basic-dark) !important;
  font-size: 18px;
  transition: color 0.2s;
}

.socials a:hover {
  color: var(--basic) !important; /* пример цвета при наведении */
}


/*ПОДМЕНЮ*/

.menu-bottom {
  position: relative;
  display: flex;
  justify-content: center;
  background: #0D1B2A !important;
  padding: 15px 0;
}


.menu-bottom-nav .menu-level-1 {
  list-style: none;
  display: flex;
  gap: 10px; /* расстояние между пунктами меню */
  margin: 0;
  padding: 0;
  justify-content: center;
}

.menu-level-1 > li {
  position: relative; /* для подменю */
}

.menu-level-1 > li > a {
  text-decoration: none;
   text-transform: uppercase;
   border-radius: 8px;        /* закругление углов */
  color: #fff !important;
  font-size: 14px;
  padding: 10px 10px;
  display: inline-block;
  text-align: center;
  transition: color 0.3s;
}

.menu-level-1 > li:hover > a {
  color: black !important;
  background-color: #2DAAE1 !important;
}

 /*  */

        /* Ссылка пункта меню */

.menu-bottom-nav .menu-level-1 > li > a {
  display: inline-block;
  padding: 10px 10px;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
}

/* Наведение на текст */
.menu-bottom-nav .menu-level-1 > li:hover > a {
  background-color: var(--menu-btn-hover);
  color: black;
}



/* Подменю */
.menu-level-2 {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--menu-bg-sub2)!important;
  padding: 10px 0;
  min-width: 180px;
  text-align: center;
  border-radius: 8px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 9999; /* подменю всегда выше всего */
}

.menu-level-1 > li:hover > .menu-level-2 {
  display: block;
}

.menu-level-2 li {
  padding: 0 0;
}

.menu-level-2 li a {
  display: block;
  font-size: 14px;                  /* размер текста */
  font-weight: 100;                  /* жирность текста */
  padding: 10px 15px;   /* регулируем высоту и “воздух” */
  text-decoration: none;
  color: #fff !important;
  transition: color 0.3s;
}

.menu-level-2 li a:hover {
  background-color: var(--btn-hover) !important;
}

/* Вложенные подменю */
.menu-level-2 .menu-level-3 {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  transform: translateX(0);
  background: #fff;
  padding: 10px 0;
  min-width: 180px;
  text-align: center;
}

.menu-level-2 li:hover > .menu-level-3 {
  display: block;
}

.menu-level-3 li a:hover {
  color: #6f98cd !important;
}

.header-gap {
  height: 15px; /* высота пропасти */
  background: #f7f7f7; /* цвет фона контента */
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); /* скос */
  box-shadow: 0 6px 20px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.05);
}
