.header .name
{
    display: flex;
    align-items: center;
    margin-top: 0;
}

.header .name img
{
    margin-right: 10px;
    width: 50px;
}

.hiddenlang
{
    display: none;
}

.header .langs>a
{
    line-height: 0;
    border: 1px solid #cfcfcf;
    padding: 10px;
    margin-top: -6px;
}

.header .langs .window.active
{
    top: 100%;
    opacity: 1;
}

.wpcf7 form.invalid .wpcf7-response-output
{
    display: none !important;
}

.wpcf7-not-valid
{
    border: 1px solid red !important;
}

.wpcf7-not-valid-tip
{
    display: none !important;
}



.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    max-height: unset;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    width: 95%;
    max-width: 1800px;
    border-radius: 25px;
    background: #FAFAFA;
}



/* Убираем стандартный скроллбар */
.popup-content::-webkit-scrollbar {
  width: 12rem; /* Ширина скроллбара */
  margin-right: 10px;
}

/* Стилизуем бегунок скроллбара */
.popup-content::-webkit-scrollbar-thumb {
  background-color: #00BE00; /* Цвет бегунка */
  border-radius: 6px; /* Скругление углов */
}

/* Стилизуем трек скроллбара (фон) */
.popup-content::-webkit-scrollbar-track {
  background-color: none; /* Цвет фона */
}

.popup .bottom-page-form .form input[type='text']
{
    border-radius: 25px;
    background: #F3F3F3;
    border: none;
}

.popup .bottom-page-form .form input[type='tel']
{
    border-radius: 25px;
    background: #F3F3F3;
    border: none;
}

.header .langs .window 
{
    left: 3rem;
}

.popup .bottom-page-form .form .button button
{
    border-radius: 25px;
    background: none;
    border: 1px solid #CDCDCD;
    clip-path: unset;
}


.bottom-page-form h2 {
    margin-bottom: 60rem;
    margin-top: 50rem;
}

.popup.active,
.popup-overlay.active {
    display: block;
}

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

.header ul
{
    margin-top: 0;
}

.header .langs
{
    margin-top: 0;
}

.header ul li a
{
    font-size: 18rem;
}

.bottom-page-form .form input[type='tel'] {
    width: 100%;
    height: 120rem;
    margin-bottom: 17rem;
    border: 1rem solid #bdbdbd;
    padding: 0 50rem;
    font-size: 24rem;
}

.popupdoc p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.popupdoc ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.popupdoc li {
  margin-bottom: 5px;
}

.popupdoc strong {
  font-family: 'CyGrotesk-GrandBold';
  font-size: 20rem;
}

.popupdoc
{
    padding: 50rem;
    max-height: 80%;
    max-width: 80%;
}

#callback .popup-content
{
    max-height: unset;
}

.popupdoc li:before
{
    content: '- ';
}

.header .langs a
{
    font-size: 14rem;
}


@media (max-width: 767px)
{
    .header .name
    {
        margin-top: 5px;
    }

    .header .langs a {
        font-size: 14px;
    }

    .bottom-page-form h2 {
        margin-bottom: 60px;
        margin-top: 50px;
    }

    .popup.active,
    .popup-overlay.active {
        display: block;
    }

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

    .header ul
    {
        margin-top: 0;
    }

    .header .langs
    {
        margin-top: 0;
    }

    .header ul li a
    {
        font-size: 18px;
    }

    .bottom-page-form .form input[type='tel'] {
        height: 60px;
        padding: 0 20px;
        font-size: 18px;
        border: 1px solid #bdbdbd;
        padding: 0 50px;
        margin-bottom: 20px;
    }
    .bottom-page-form .form .button a
    {
        font-size: 18px;
    }
    .bottom-page-form .contacts .support
    {
        font-size: 22px;
    }

    .tech-block .list .item h3
    {
        text-align: right;
    }

    .tech-block .list .item h3
    {
        font-size: 20px;
    }

    .basic-block .item h3
    {
        text-align: right;
    }

    .header .menu-button
    {
        margin-top: 0px;
    }
    .header .langs>a
    {
        margin-top: 0px;
    }


    .wpcf7 form.sent .wpcf7-response-output
    {
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #46b450 !important;
        margin-top: 40px !important;
        font-size: 22px;
    }

    .popup-content
    {
        max-height: 500px;
        overflow-y: scroll;
    }

    .popup .bottom-page-form
    {
        padding-bottom: 60px;
    }

    .popupdoc
    {
        padding: 20px;
    }

    .popupdoc strong
    {
        font-size: 20px;
    }

    /* Убираем стандартный скроллбар */
        .popup-content::-webkit-scrollbar {
          width: 12px; /* Ширина скроллбара */
          margin-right: 10px;
        }

}