@media only screen and (min-width: 375px) {
    .company_social_left {
        width: 120px;
    }

    .company_social input {
        padding-left: 135px !important;
    }

    .company__tab--contact-buttons .btn {
        width: calc(50% - 5px);
    }
}

@media only screen and (min-width: 540px) {
    .company__tab--contact-buttons .btn {
        width: 200px;
    }

    .modal--window_content {
        width: auto;
    }

    .company_social_left {
        width: 150px;
    }

    .company_social input {
        padding-left: 165px !important;
    }

    .company-tab-service {
        width: calc(50% - 7px);
    }

    .company-tab-photo {
        cursor: pointer;
        width: calc(33.333% - 7px);
    }

    .company--top-buttons {
        flex-direction: row;
    }

    .company--top-buttons .btn {
        max-width: 200px;
    }
    .article__photo{
        cursor: pointer;
        width: calc(33.333% - 7px);
    }
}

@media only screen and (min-width: 576px) {
    .article__video {
        padding-top: 28%;
        width: calc(50% - 5px);
    }
    .my--company_button {
        width: 20%;
    }

    .my--company_top_right_buttons {
        position: absolute;
    }

    .popup-errors {
        right: 30px;
        top: 30px;
        max-height: calc(100vh - 60px);
    }

    .popup-error {
        max-width: calc(100vw - 60px);
    }

    .header--right_menu {
        position: absolute;
        right: 0;
        left: auto;
        top: 50px;
    }

    .header--right_notifications_menu {
        width: 400px;
    }

    .modal_inner {
        padding: 35px 40px;
    }

    .companies--section-item-header {
        flex-direction: row;
        align-items: start;
    }

    .companies--section-item-logo {
        margin-bottom: 0;
        margin-right: 15px;
    }

    .companies--section-item-name, .companies--section-item-category {
        text-align: left;
    }

    .companies--section-item-location {
        justify-content: start;
    }

    .companies--section-item-logo {
        margin-right: 30px;
        width: 80px;
        height: 80px;
    }

    .sn__article {
        flex-direction: row;
    }

    .sn__article-image {
        width: 200px;
        padding-top: 0;
    }

    .services--items {
        gap: 50px 15px;
    }

    .services--item {
        width: calc(50% - 10px);
    }
}

@media only screen and (min-width: 768px) {
    .companies--section-filter{
        max-width: 200px;
    }
    .companies--section-filter-search{
        flex: 1;
        max-width: 400px;
    }

    .stats--box_xs {
        width: calc(50% - 5px);
    }
    .top-banner-slide .inner{
        max-width: 800px;
    }
    .top-banner-slide{
        background-repeat: no-repeat;
        background-position: 80% bottom;
        height: 700px;
    }
    .company--top {
        padding: 100px 0 30px;
    }

    .company--top-left {
        width: 150px;
    }

    .company--top-main {
        margin-left: 40px;
        margin-right: 40px;
    }

    .company--top-logo {
        width: 150px;
        height: 150px;
        border-radius: 15px;
    }

    .company--top-name h1 {
        font-size: 28px;
    }

    .company--top-buttons {
        width: 200px;
        justify-content: center;
        flex-direction: column;
    }

    .account--menu {
        display: block;
    }

    .account_back {
        display: none;
    }

    .account-main_top {
        margin: 0;
        border-bottom: none;
        justify-content: start;
        background: none;
    }

    .account-main_inner h1 {
        padding: 0;
        font-size: 28px;
        text-align: left;
        color: #000;
        font-weight: 900;
    }

    .box {
        background: #fff;
        margin-bottom: 15px;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 0 15px #515c621a;
        -webkit-box-shadow: 0 0 15px #515c621a;
        transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    }

    .account-menu {
        display: block;
        width: 150px;
        margin-right: 30px;
    }

    .account .inner {
        flex-direction: row;
    }

    .account-menu_item--title {
        text-align: left;
    }

    .my--settings {
        display: flex;
    }

    .header--right_nav_buttons {
        display: block;
    }

    .companies--section-item {
        flex-direction: row;
    }

    .companies--section-item-buttons {
        width: 210px;
        border-left: 1px solid #e0e0e0;
        margin-left: auto;
        padding: 25px;
        flex-direction: column;
    }

    .companies--section-item-header{
        padding: 25px 25px 15px 25px;
    }
    .companies--section-item-body {
        padding: 10px 25px 25px 25px;
    }

    .companies--section-item-buttons {
        padding: 25px;
    }

    .account {
        margin-top: 0;
    }

    .account--menu, .messenger {
        margin-top: 70px;
    }

    .company-tab-service {
        width: calc(33.333% - 10px);
    }

    .company-tab-photo {
        cursor: pointer;
        width: calc(33.333% - 7px);
    }

    .sn__article-info {
        padding: 30px 200px 30px 30px;
    }

    .sn__article-button {
        top: 20px;
    }

    .article__section {
        margin-top: 0;
        padding-top: 70px;
    }

    .article__title {
        font-size: 40px;
    }

    .article__company {
        padding: 30px;
    }
    .home--news-left {
        text-align: left;
        margin-right: 50px;
        width: 400px;
    }

    .home--news-left .section--title {
        text-align: left;
    }
    .service-middle--section .inner{
        border-radius: 15px;
    }
}

@media only screen and (min-width: 992px) {
    .home .section--title{
        width: 500px;
        max-width: 40%;
    }
    .home--categories .inner {
        flex-direction: row;
    }
    .home--categories-list a{
        font-size: 15px;
        height: 50px;
        border-radius: 25px;
        position: relative;
        padding-left: 34px;
        padding-right: 34px;
    }
    .home--share-company  .inner {
        flex-direction: row;
    }

    .home--news-left {
        margin-left: 50px;
    }

    .company--section {
        margin-top: unset;
    }

    .article__section {
        margin-top: 0;
        padding-top: 80px;
    }

    .home--news-section, .home--companies-section {
        padding: 80px 0;
    }

    .header--inner {
        height: 80px;
    }

    .section--title {
        font-size: 48px;
    }

    .top--section h1 {
        font-size: 64px;
    }


    .account--menu, .messenger {
        margin-top: 80px;
    }

    .header--menu {
        transition: none;
    }

    .company-tab-photo {
        cursor: pointer;
        width: calc(20% - 10px);
    }

    .top--section {
        padding-bottom: 300px;
    }

    .middle--section {
        margin-top: -250px;
    }
    .service-middle--section{
        margin-top: -150px;
    }
    .middle--section .container {
        background: transparent;
    }

    .middle--section .inner {
        padding: 40px;
        background: #fff;
    }

    .services--items {
        gap: 50px;
    }

    .services--item {
        width: calc(33.3333% - 34px);
    }

    .services--item h3 {
        font-size: 40px;
    }
}

@media only screen and (min-width: 1200px) {
    .header--logo a {
        width: auto;
        margin-left: 0;
    }

    .header--logo span {
        display: block;
    }
    .header--logo img, .header--logo svg {
        margin-right: 15px;
        width: 50px;
    }
    .header--menu {
        display: block;
        position: absolute;
        margin: auto;
        top: unset;
        background: transparent;
        padding: 0;
        transform: unset;
    }

    .header--menu ul {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header--burger {
        display: none;
    }

    .header--logo {
        position: relative;
    }

    .header--right_nav_auth_mobile {
        display: none;
    }

    .header--right_nav_auth_desktop {
        display: block;
    }

    .header--menu ul li a {
        line-height: 80px;
        font-size: 16px;
    }

    .box {
        padding: 40px;
    }

    .company-tab-service {
        width: calc(25% - 11px);
    }

    .company-tab-photo {
        cursor: pointer;
        width: calc(20% - 8px);
    }

    .article__left {
        margin-right: 40px;
    }

    .article__right {
        display: block;
    }

    .container {
        max-width: 1300px;
    }


}

@media only screen and (min-width: 1400px) {
}