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;
}



body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #141414;
  color: #ebeceb;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* Общий контейнер */
.header-content {
  width: 100%;
}

/* Все ряды с отступами слева/справа по 5% */
.row {
  width: 90%;         /* 5% слева и справа */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Верхний ряд */
.top-row a {
  margin: 0 8px;
  font-size: 14px;
  color: #ebeceb;
  transition: color 0.3s;
}
.top-row a:hover { color: #50b478; }

/* Средний ряд */
.middle-row .logo {
  font-size: 22px;
  font-weight: bold;
  color: #ebeceb;
}
.middle-row .right {
  display: flex;
  align-items: center;
}
.user-btn {
  margin-right: 15px;
  padding: 6px 12px;
  font-size: 14px;
  background-color: #50b478;
  color: #141414;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.user-btn:hover { background-color: #3e925d; }

.social-icons a { margin-left: 10px; }
.social-icons img { width: 20px; height: 20px; }

/* Зеленая линия-разделитель */
.divider-line {
  width: 80%;
  height: 1px;
  background-color: #50b478;
  margin: 0 auto;
}

/* Главное меню */
.menu-list {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px 0;
}
.menu-item { position: relative; margin: 0 12px; }

.menu-link {
  padding: 8px 16px;
  color: #ebeceb;
  background-color: #212121;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}
.menu-link:hover { background-color: #50b478; color: #141414; }

/* Подменю */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2c2c2c;
  flex-direction: column;
  min-width: 180px;
  z-index:
