@media (min-width: 320px) and (max-width: 768px) {
    body {
        width: 100%;
    }

    .container .row,
    .row {
        display: block;
        width: 100%;
        position: relative;
        margin: 0 auto;
    }

    .container {
        min-width: 100vw;
    }

    .top-row {
        display: block;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin: 10px 0;
        padding: 0 5px;
    }

    .top-row-logo {
        width: 130px;
        height: 30px;
        object-fit: scale-down;
    }

    .top-row-number {
        float: unset;
        color: #fff;
        font-size: 12px;
        font-weight: 400;
        vertical-align: middle;
        margin-top: 15px;
        cursor: pointer;
        text-decoration: none
    }

    .top-row-number img {
        width: 14px;
        height: 14px;
        vertical-align: middle;
        margin: 0 5px 0 5px;
    }

    header .line-top {
        height: 40px;
    }

    .line-top-logo {
        display: none;
    }

    .line-top-number {
        display: none;
    }

    header {
        height: 940px;
        background: unset;
        background-image: url(../img/header.jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    header .line-top nav {
        width: 100%;
        margin: 0;
        float: unset;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    header .box h1 {
        font-size: 25px;
        font-weight: 700;
        line-height: 30px;
        text-transform: uppercase;
        margin-top: 10px;
    }

    header .line-top nav ul {
        display: flex;
        gap: 8px;
        padding: 0 5px;
    }

    header .line-top nav ul li {
        height: 30px;
        line-height: 16px;
        font-size: 12px;
        margin: 0;
        text-align: center;

    }

    header .line-top nav ul li:hover::before {
        width: 0;

    }

    header .box {
        margin: 10px 0 0 0;
        width: 100%;
    }

    header .box p {
        font-size: 14px;
        line-height: 20px;
    }

    header .box .sentence {
        width: 95%;
        height: auto;
    }

    header .box .sentence .sentence-title {
        width: 98%;
        height: 70px;
        background-position: center;
        display: flex;
        background-size: contain;
        justify-content: center;
        align-items: center;
    }

    header .box .sentence .sentence-title p {
        font-size: 20px;
        line-height: 20px;
    }

    header .box .sentence ul li img {
        height: 35px;
        width: 37px;
        margin: 15px 0 10px 0px;
    }

    header .box .sentence ul li {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        height: 130px;
    }

    header .box .sentence ul li p {
        font-size: 16px;
        line-height: 18px;
    }

    header .box .sentence ul li:nth-child(1)::before {
        bottom: -11px;
        right: -6px;
    }

    header .box .sentence ul {
        margin-top: 10px;
    }

    header .box .sentence ul::before {
        height: 255px;
        top: 5%;
    }

    header .box .sentence ul::after {
        width: 90%;
        left: 5%;
        top: 135px;
    }

    header .shaxta {
        display: none;
    }

    header .form-box form {
        margin-top: 50px;
    }

    header .form-box .title {
        font-size: 22px;
        margin-top: 100px;
    }

    header .form-box form input {
        width: 80%;
        height: 35px;
        font-size: 16px;
        line-height: 20px;
        padding: 10px;
        margin: 0 5px 12px 5px;
    }

    form .button {
        width: 75%;
        height: 35px;
    }

    form .button p {
        line-height: 40px;
        font-size: 22px;
        margin-top: 0;
    }

    .popup {
        width: 100%;
        height: 650px;
        background: url(../img/popup.jpg) no-repeat;
        background-size: cover;
    }

    .popup .inform {
        margin-left: 0;
    }

    .popup .close {
        top: 0;
    }

    .communication ul {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        grid-template-rows: repeat(3, 1fr);
        justify-items: center;
        height: auto;
    }

    .communication ul::before {
        top: 140px;
    }

    .communication ul::after {
        content: '';
        width: 100vw;
        left: 0;
        top: 280px;
        height: 1px;
        border-bottom: 1px dotted #045889;
        position: absolute;
    }

    .communication ul li {
        width: 100%;
        height: 140px;
        padding: 5px;
    }

    .communication ul li:nth-child(2)::before {
        display: none;
    }

    .communication ul li:nth-child(1)::before {
        height: calc(100% * 3);
        right: 0;
    }

    .communication ul li:nth-child(1)::after {
        right: -5px;
        bottom: -7px;
    }

    .communication ul li:nth-child(2)::after {
        display: none;
    }

    .communication ul li:nth-child(3)::after {
        bottom: -7px;
        left: -5px;
        width: 10px;
        height: 10px;
        background-color: #045889;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        position: absolute;
    }

    .communication ul li img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }

    .communication ul li:nth-child(1) img,
    .communication ul li:nth-child(2) img,
    .communication ul li:nth-child(3) img,
    .communication ul li:nth-child(4) img,
    .communication ul li:nth-child(5) img,
    .communication ul li:nth-child(6) img {
        margin: 10px;
    }

    .communication ul li p {
        font-size: 14px;
        line-height: 16px;
    }

    .communication ul li:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }

    .communication ul li:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .communication,
    .real-number {
        min-height: unset;
        height: auto;
        padding-bottom: 20px;
    }

    h3 {
        font-size: 24px;
        margin: 10px;
    }

    .info-section {
        font-size: 16px;
        margin: 0 10px;
    }

    .communication .info-section {
        margin-top: 15px;
    }

    .tex-info .tabs {
        margin-top: 10px;

    }

    .tex-info .tabs li {
        max-width: 50%;
        background-image: url('../img/unactivetab.png');
        background-size: cover;
        background-color: transparent;
        height: auto;

    }

    .tex-info .tabs .active,
    .tex-info .tabs li:hover {
        background-image: url('../img/activetab.png');
        background-size: cover;
    }


    .tex-info {
        padding-bottom: 0;
    }

    .tex-info .content {
        width: 100%;
    }

    .tex-info .tabs li p {
        font-size: 22px;
        line-height: 30px;
    }

    .tex-info .right-box .ttl {
        display: none;
    }

    .content.pb .right-box .ttl {

        display: none;
    }

    .content.pk .left-box .ttl,
    .hidden-title {
        display: block;
        margin: 10px 0;
        color: #045889;
        font-weight: 400;
        line-height: 22px;
        font-size: 20px;
    }


    .tex-info .left-box {
        width: 100%;
        margin: 30px 0 0 0;
    }

    .tex-info .right-box,
    .content.pb .right-box {
        width: 100%;
        height: auto;
        margin: 10px 0 0 0;
        padding: 5px 10px;
        position: relative;
    }

    .tex-info .right-box .text {
        line-height: 18px;
        text-align: justify;
        margin-top: 10px;
    }

    .tex-info .content .table {
        float: unset;
        width: 100%;
        margin-top: 10px;
    }

    .tex-info .content .table .tbhead,
    .tex-info .content .table .tbl {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .tex-info .content .table .thead-one li:nth-child(1),
    .tex-info .content .table .tbl-one li:nth-child(1),
    .tex-info .content .table .thead-one li,
    .tex-info .content .table .tbl-one li,
    .tex-info .content .table .tbhead li:last-child,
    .tex-info .content .table .tbl-one li:last-child {
        width: 30% !important;
        height: 45px;
        text-align: center;
        padding: 5px;
    }

    .tex-info .content .table .thead-one li {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 2px;
    }

    .tex-info .content .table .tbhead li p {
        font-size: 12px;
        line-height: 12px;
    }

    .tex-info .content .table .tbl li:not(:last-child)::before {
        top: 5%;
    }

    .tex-info .content .table .tbl li p {
        font-size: 14px;
        line-height: 16px;
    }

    .tex-info .left-box .img,
    .tex-info .left-box .donwload-img {
        width: 90%;
        height: 180px;
        display: inline-block;
        vertical-align: top;
    }

    .tex-info .left-box .img,
    .content.pb .img {
        margin-bottom: 10px;
    }

    .tex-info .full-width {
        margin-top: 10px;
    }

    .tex-info .action-box .ac {
        width: 60%;
        height: 40px;
    }

    .tex-info .action-box {
        width: 95%;
        margin: 50px auto;
        height: 150px;
    }

    .tex-info .action-box .text {
        font-size: 18px;
    }

    .tex-info .action-box .button {
        width: 75%;
        height: 25px;
        margin-top: 10px;
    }

    .tex-info .action-box .button p {
        line-height: 25px;
    }

    .content.pb .active {
        display: flex;
        flex-direction: column;
    }

    .tex-info .content .second-table {
        left: 45px;
    }

    .content.pb .left-box {
        width: 100%;
    }

    .content.pb .full-width {
        width: 100%;
    }

    .big-form {
        background-size: 300% 100%;
        background-position: left;
        height: auto;
        overflow: hidden;

    }

    .boxses .inform .box {
        width: 75%;
        margin: 20px auto;
        border-radius: 5px;
    }

    .boxses .man {
        display: none;
    }

    .boxses .inform {
        margin-top: 10px;
        width: 100%;
    }

    .boxses .form form {
        margin-top: 10px;
        padding-bottom: 20px;
    }

    .boxses .form {
        width: 100%;
        margin: 30px 0 0 0;
    }

    .boxses .form .title {
        font-size: 22px;
    }

    .boxses .inform .title {
        font-size: 22px;
        font-weight: 400;
    }

    .boxses .inform .box p {
        font-size: 21px;
    }

    .boxses .inform ul {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .boxses .inform ul li {
        font-size: 18px;
        line-height: 18px;
        font-weight: 400;
        padding: 0 20px;
    }

    .boxses .form form input {
        width: 80%;
        height: 35px;
        font-size: 16px;
        line-height: 20px;
        padding: 10px;
        margin: 0 5px 12px 5px;
    }

    .real-number ul li .num {
        font-size: 30px;
    }

    .real-number ul {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        grid-template-rows: repeat(6, 1fr);
        justify-items: center;
        height: auto;
        margin-top: 20px;
        width: 100%;
    }


    .real-number ul::before {
        top: 200px;
        width: 200%;
    }

    .real-number ul li {
        width: 100%;
        height: 200px;
        padding: 20px 7px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }

    .real-number ul li:nth-child(2) {
        grid-row: 1;
        grid-column: 1;
    }

    .real-number ul li:nth-child(1) {
        grid-row: 1;
        grid-column: 2;
    }

    .real-number ul li:nth-child(7) {
        grid-row: 4;
        grid-column: 2;
    }

    .real-number ul li:nth-child(8) {
        grid-row: 4;
        grid-column: 1;
    }

    .real-number ul li:nth-child(9) {
        grid-row: 5;
        grid-column: 2;

    }

    .real-number ul li:nth-child(9) .num {
        font-size: 25px;
    }

    .real-number ul li:nth-child(10) {
        grid-row: 5;
        grid-column: 1;
    }

    .real-number ul li:nth-child(4)::before,
    .real-number ul li:nth-child(6)::before,
    .real-number ul li:nth-child(7)::before,
    .real-number ul li:nth-child(9)::before {
        position: absolute;
        content: '';
        width: 190%;
        height: 1px;
        border-bottom: 1px dotted #045889;
        bottom: 0;
        right: 5%;
    }

    .real-number ul li:nth-child(1)::after {
        display: none;
    }


    .real-number ul li:nth-child(1)::before {
        display: none;
    }

    .real-number ul li:nth-child(2)::before {
        height: calc(6*100%);
        top: 0;
    }

    .real-number ul li:nth-child(10)::before {
        height: 1px;
        position: absolute;
        border-bottom: 1px dotted #045889;
        content: '';
        left: 0;
    }

    .real-number ul::after,
    .real-number ul li:nth-child(6)::after,
    .real-number ul li:nth-child(3)::after {
        display: none;
    }

    .real-number ul li:nth-child(4)::after,
    .real-number ul li:nth-child(9)::after,
    .real-number ul li:nth-child(6)::after,
    .real-number ul li:nth-child(7)::after {
        width: 10px;
        height: 10px;
        background-color: #045889;
        position: absolute;
        content: '';
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        bottom: -5px;
        left: -5px;
    }

    .real-number ul li .text {
        font-size: 16px;
        font-weight: 400;
        line-height: 16px;
        height: 50px;
    }

    .best-offer ul {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(5, auto);
        margin-top: 0;
    }

    .best-offer ul .li-mini,
    .best-offer ul .li-big {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        height: auto;
        position: relative;
    }

    .best-offer ul li {
        height: auto;
        width: 100%;
        position: relative;
    }

    .best-offer ul li .title {
        font-size: 22px;
        line-height: 22px;
        width: 90%;
        margin: 10px auto;
    }

    .best-offer ul li img {
        width: 90%;
        margin: 0 auto;
        height: 150px;
        object-fit: cover;
    }

    .best-offer ul li .text {
        width: 90%;
        display: flex;
        font-size: 16px;
        line-height: 16px;
        margin: 10px auto;
    }


    .best-offer ul li:nth-child(4)::after,
    .best-offer ul li:nth-child(1)::after,
    .best-offer ul li:nth-child(2)::after,
    .best-offer ul::before,
    .real-number ul li:nth-child(3)::before {
        display: none;
    }

    .best-offer ul li:nth-child(1)::before,
    .best-offer ul li:nth-child(2)::before,
    .best-offer ul li:nth-child(3)::before,
    .best-offer ul li:nth-child(4)::before {
        width: 100%;
        height: 1px;
        bottom: 0;
        border-bottom: 1px dotted #045889;
        position: absolute;
        content: '';
    }

    .portfolio {
        height: auto;
        background-size: cover;
        padding-bottom: 50px;
    }

    .owl-carousel .owl-item img {
        max-height: 350px;
    }

    .portfolio .owl-carousel li .inform {
        width: 90%;
        margin-top: 10px;
        margin-right: 0;
    }

    .portfolio .owl-carousel li .inform li {
        font-size: 18px;
        line-height: 20px;
    }

    .portfolio .owl-carousel li .slider {
        width: 100%;
        height: auto;
        margin-left: 0;
    }

    .portfolio .owl-nav .owl-prev,
    .sertificats .owl-nav .owl-prev {
        left: 10%;
        top: unset;
        bottom: 40px;
        height: 30px;
        background-size: contain;
    }

    .portfolio .owl-nav .owl-next,
    .sertificats .owl-nav .owl-next {
        right: 10%;
        top: unset;
        bottom: 40px;
        height: 30px;
        background-size: contain;
    }


    .portfolio .owl-carousel {
        margin-bottom: 25px;
        margin-top: 10px;
    }

    .portfolio .button {
        width: 75%;
        height: 50px;
        position: absolute;
        bottom: -380px;
        display: block;
        left: 13%;
    }

    .portfolio .button p {
        font-size: 16px;
        line-height: 18px;
        margin-top: 5px;
    }

    .sertificats .owl-carousel {
        width: 100%;
        padding-left: 10px;
    }

    .sertificats,
    .sertificats .owl-carousel li {
        width: 30%;
        height: 300px;
    }

    .sertificats .owl-carousel li .ramka {
        width: 100px;
        height: 180px;
        background-size: contain;
    }

    .sertificats .owl-carousel li .ramka img {
        width: 75px;
        height: 105px;
        margin: 7px 0 0 12px;
    }

    .sertificats .owl-nav .owl-prev,
    .sertificats .owl-nav .owl-next {
        top: 30%;
    }

    .visible-two {
        height: 320px;
    }

    .visible-two .owl-carousel {
        margin: 10px auto 0;
        width: 100%;
        height: auto;
    }

    .visible-two .owl-nav .owl-prev,
    .visible-two .owl-nav .owl-next {

        top: 190px;
        height: 30px;
        background-size: contain;
    }

    .visible-two .owl-nav .owl-prev,
    .publication-smi .owl-nav .owl-prev {
        left: 10%;
        top: unset;
        bottom: -23%;
    }

    .visible-two .owl-nav .owl-next,
    .publication-smi .owl-nav .owl-next {
        right: 10%;
        top: unset;
        bottom: -23%;
    }

    .publication-smi .owl-nav .owl-next,
    .publication-smi .owl-nav .owl-prev {
        height: 30px;
        background-size: contain;
        top: unset;
        bottom: -15%;
    }

    .publication-smi {
        height: auto;
    }

    .publication-smi .owl-carousel {

        height: auto;
        margin: 10px auto 0;
        width: 100%;
    }

    .clients {
        height: auto;
    }

    .clients ul {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(2, 50%);
        grid-template-rows: repeat(6, 1fr);
        align-items: center;
        justify-content: center;
    }

    .clients ul li {
        width: 95%;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .clients-img {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }

    .maps .absolute .row .box {
        display: block;
        float: unset;
        width: 100%;
        background-color: transparent;
        display: block;
        height: auto;
    }

    .maps .absolute .row .box .logo {
        margin-top: 10px;
    }

    .maps .absolute .row .box .adres {
        margin-top: 20px;
    }

    .maps .absolute .row .box .text {
        margin-top: 10px;
    }

    .maps .absolute .row .box .number {
        font-size: 22px;
        margin-top: 10px;
    }

    .maps .absolute .row .box .button {
        width: 75%;
        height: 35px;
    }

    .maps .absolute .row .box .button p {
        line-height: 35px;
    }

    iframe {
        display: block;
        width: 100%;
        height: auto;
        min-height: 350px;
        margin-top: 250px;
    }

    footer {

        padding: 10px;
    }

    footer .before::before {
        display: none;
    }

    footer .flex-container {
        height: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 15px 0;

    }

    footer .box-one {
        order: 2;
        display: inline-block;
        width: 100%;
        height: auto;
        flex: 1 0 50%;
        width: 50%;
        display: flex;
        justify-content: left;
        flex-direction: column;
        align-items: start;


    }

    footer .box-two {
        order: 1;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    footer .box-two ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin: 0;
        height: auto;
        gap: 20px;
    }

    footer .box-two ul:nth-child(1) {
        margin: 0;
    }

    footer .box-two ul li {
        font-size: 10px;
        line-height: 12px;
        color: white;
        text-decoration: none;
        text-align: left;
        width: auto;
    }

    footer .box-three p a,
    footer .box-one .conditions {
        color: white;
        text-decoration: none;
        font-size: 8px;
        line-height: 12px;
    }

    footer .box-three {
        order: 2;
        flex: 1 0 50%;
        width: 50%;
        display: flex;
        justify-content: right;
        align-items: end;
    }

    footer .box-one .title,
    footer .box-three p {
        margin: 0;
        font-size: 9px;
        line-height: 12px;
    }
}

@media (min-width: 425px) and (max-width: 768px) {
    header .line-top nav ul li {
        font-size: 14px;

    }

    .sertificats .owl-carousel li .ramka {
        width: 110px;
    }

    .sertificats .owl-carousel li .ramka img {
        height: 110px;
        margin: 10px 0 0 18px;
    }

    .sertificats .owl-nav .owl-prev,
    .sertificats .owl-nav .owl-next {
        top: 35%;
        right: 10%;
    }

    .visible-two {
        height: 340px;
    }

    .visible-two .owl-nav .owl-prev,
    .visible-two .owl-nav .owl-next {

        top: 170px;
    }

    .visible-two .owl-nav .owl-prev,
    .publication-smi .owl-nav .owl-prev {
        bottom: -20%;
    }

    .visible-two .owl-nav .owl-next,
    .publication-smi .owl-nav .owl-next {
        bottom: -20%;
    }
}

@media (min-width: 601px) and (max-width: 768px) {


    .top-row {
        padding: 0 30px;
    }



    .top-row-number {
        font-size: 16px;
    }

    header .line-top nav ul {
        min-width: 90%;
        justify-content: space-between;
    }

    header .line-top nav ul li {
        line-height: 20px;
        font-size: 18px;

    }

    header .box .sentence ul {
        margin-top: 25px;
    }

    header .form-box .title {
        margin-top: 150px;
    }

    header .form-box form input {
        width: 50%;
    }

    form .button {
        width: 50%;
    }

    .communication ul li p {
        font-size: 16px;
        line-height: 16px;
    }

    .tex-info .left-box .img,
    .tex-info .left-box .donwload-img {
        width: 40%;
    }

    .tex-info .action-box .ac {
        width: 30%;
    }

    .tex-info .action-box .button {
        width: 50%;
        height: 35px;
    }

    .tex-info .action-box .button p {
        line-height: 35px;
    }

    .boxses .inform .box {
        width: 50%;
    }

    .boxses .inform .box p {
        font-size: 21px;
    }

    .boxses .inform ul {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: 55%;
    }

    .boxses .inform ul li {
        font-size: 20px;
        line-height: 22px;
    }

    .boxses .form form input {
        width: 50%;
    }

    .real-number ul li .text {
        font-size: 20px;
    }

    .best-offer ul .li-mini,
    .best-offer ul .li-big {
        padding-bottom: 10px;
    }

    .best-offer ul li img {
        width: 50%;
    }

    .best-offer ul li .text {
        width: 45%;
        font-size: 20px;
        line-height: 20px;
        margin: 0 auto;
        text-align: justify;
    }

    .portfolio .owl-carousel li .slider .big {

        width: 80%;
        height: 400px;
        margin: 0 auto;
    }

    .portfolio {
        padding-bottom: 0;
    }

    .portfolio .button {
        width: 50%;
        height: 40px;
        bottom: -270px;
        left: 25%;
    }

    .portfolio .button p {
        line-height: 40px;
        margin-top: 0;
    }

    .sertificats .owl-carousel {
        margin-top: 10px;
        padding-left: 50px;
    }

    .sertificats,
    .sertificats .owl-carousel li {
        height: 350px;
    }

    .sertificats .owl-carousel li .ramka {
        width: 520px;
        height: 210px;
    }

    .sertificats .owl-carousel li .ramka img {
        width: 128px;
        height: 165px;
        margin: 12px 0 0 21px;
    }

    .sertificats .owl-nav .owl-prev,
    .sertificats .owl-nav .owl-next {
        top: 50%;
    }

    .visible-two {
        height: 490px;
    }

    .visible-two .owl-nav {
        margin: 0;
    }

    .visible-two .owl-nav .owl-prev,
    .publication-smi .owl-nav .owl-prev,
    .visible-two .owl-nav .owl-next,
    .publication-smi .owl-nav .owl-next {
        bottom: -15%;
        top: unset;
    }

    .publication-smi .owl-nav .owl-next,
    .publication-smi .owl-nav .owl-prev {
        bottom: -12%;
    }

    .clients {
        background-size: cover;
    }

    .clients-img {
        padding: 10px;
    }

    footer .box-two ul {
        gap: 110px;
    }
}