/*==========  Desktop First Method  ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1800px) {}

@media only screen and (max-width : 1700px) {}

@media only screen and (max-width : 1600px) {}

@media only screen and (max-width : 1500px) {
    .container {
        width: 1400px;
    }

    .footer_box_name {
        width: 200px;
    }

    /* .footer_box_reight {
        width: 500px;
    } */

    .glavn_self {
        width: 90%;
    }

    .contacts_box {
        width: 50%;
    }

    .compani_text_info_img {
        width: 100%;
    }

    .info_img {
        width: 100%;
    }

    .servises_box_text {
        width: 100%;
    }

    .function {
        grid-template-columns: 30% 3fr;
    }

    .header_nav {
        width: 45%;
    }
}


@media only screen and (max-width : 1400px) {
    .servises {
        padding: 0;
    }

    .container {
        width: 1300px;
    }

    .servises_info {
        padding-top: 50px;
        width: 100%;
        font-size: 30px;
    }

    .servises_info_text {
        padding-top: 25px;
        width: 100%;

    }

    .reviews {
        width: 90%;
    }

    .contacts_box {
        width: 50%;
    }

    .glavn_food {
        width: 1150px;
    }

    .function {
        grid-template-columns: 25% 3fr;
    }

    .portfolio {
        display: block;
    }

    .portfolio_title {
        text-align: center;
        width: 100%;
    }

    .portfolio_box {
        justify-content: center;
    }

    .vacancy_requisites {
        width: 100%;
    }

    .documents_requisites {
        width: 100%;
    }

    .contMap_contacts {
        width: 100%;

    }

    .contMap_title_map {
        width: 100%;
    }

    .function_box p {
        width: 100%;
    }

    .function_box {
        width: 290px;
        height: 268px;
    }

    .info_title_box {
        height: auto;
    }

    .info_title {
        width: 100%;
        height: 100%;
    }

    .crumbs {
        width: 300px;
    }

    .header_nav {
        gap: 10px;
    }

    .header_link {
        font-size: 13px;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1300px) {

    .container {
        width: 1100px;
    }

    .reviews {
        width: 90%;
    }

    .header_link {
        font-size: 13px;
    }

    .header_button {
        padding: 10px 10px 10px 10px;
    }

    .header_img {
        width: auto;
        height: 85px;
    }

    .glavn_food {
        width: 85%;
        height: auto;
    }

    .glavn_specifications_img {
        width: 50px;
        height: 50px;
    }

    .glavn_specifications_name {
        font-size: 13px;
    }

    .glavn_description {
        font-size: 12px;
        height: -webkit-fill-available;
    }

    .servises_box_mini {
        padding-left: 20px;
        padding-top: 10px;
    }

    .servises_box_text {
        width: 100%;
        font-size: 14px;
        padding-left: 15px;
    }

    .company_information {
        grid-template-columns: 333px auto;
    }

    .reviews {
        width: 1000px;
    }

    .contacts_box {
        width: 50%;
    }

    .pageTitle_name {
        width: 801px;
        font-size: 25px;
        height: auto;
    }

    .pageTitle_box p {
        width: 685px;
        font-size: 16px;
    }

    .pageTitle_button {
        font-size: 13px;
        width: auto;
        justify-content: space-between;
        height: 40px;
    }

    .advantage_specifications {
        width: 234px;
        height: 100%;
        justify-content: center;
    }

    .advantages_box {
        height: auto
    }

    .function {
        grid-template-columns: 30% 3fr;
    }

    .info {
        grid-template-columns: none;
    }

    .info_name {
        text-align: center;
    }

    .info_img {
        margin-top: 0;
    }

    .compani_text_info_img {
        width: 100%;
    }

    .compani_text_p {
        width: 250px;
    }

    .function_box {
        width: 100%;
        height: 100%;
    }

    .function_box p {
        width: 100%;
        height: auto;
    }

    .servises_h2 {
        font-size: 32px;
    }

    .servises_left_text_box {
        width: 90%;
    }

    .pageTitle_name {
        width: 100%;
    }

    .pageTitle_box p {
        width: 100%;
    }

    .servises_box_mini {
        max-height: 90px;
    }

    .crumbs {
        width: 100%;
    }

    .crumbs_box {
        width: 201px;
    }

    .header_nav {
        width: 0;
        overflow: hidden;
        position: absolute;
    }

    .menu_adaptive_button {
        display: block;
    }

    .menu {
        transition: 300ms;
/*        right: 100px;*/
        width: 990px;
        top: 140px;
        padding: 16px;
        border: 1px solid #006BB8;
        border-radius: 0px 0px 20px 20px;
        color: #fff;
        background: #006BB8;
        display: flex;
        flex-wrap: wrap;
        z-index: 52;
        height: 180px;
    }

    .header_link {
        color: #ffffff;
    }

    .header_nav_uslug {
        top: 50px;
        column-gap: 20px;
    }

    .header_link_uslug_a {
        padding: 10px;
        width: max-content;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .servises_info_button {
        width: 212px;
        height: 40px;
    }

    .header_link:hover{
        text-decoration: underline;
        color: #fff;
    }

    .header_nav_uslug {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media only screen and (max-width : 1100px) {
    .container {
        width: 900px;
    }

    .reviews {
        width: 90%;
    }

    .glavn_name {
        font-size: 36px;
    }

    .glavn_self {
        height: 600px;
    }

    .company_information {
        grid-template-columns: none;
        justify-items: center;
        width: 100%;
    }

    .servises_info {
        width: auto;
        text-align: center;

    }

    .servises_info_text {
        text-align: center;
        width: 90%;
        padding: 10px;
    }

    .company_information_box {

        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .servises_info_button {
        position: inherit;
    }

    .servises {
        width: 90%;
        display: block;

    }

    .servises_box_mini {
        width: 100%;
    }

    .reviews {
        width: 900px;
    }

    .contacts_box {
        width: 50%;
    }

    .glavn_food {
        width: 80%;
    }

    .servises_h2 {
        text-align: center;
        padding-bottom: 15px;
    }

    .servises_left {
        padding-bottom: 50px;
    }

    .servises_left_text_box {
        width: 90%;
        text-align: center;
    }

    .slider_bloc1 {
        padding-bottom: 0;
    }

    .big_img {
        height: auto;
    }

    .slider {
        height: 100%;
    }

    .sleide_name {
        font-size: 13px;
    }

    .sleide {
        padding: 0px 0px 20px 20px;
    }

    .slider_bloc1 {
        gap: 20px;
        padding-bottom: 20px;
    }

    .menu_adaptive {
        display: block;
    }

    .servises_info_button {
        padding: 15px 25px;
    }


    .crumbs_box {
        width: 100%;
        padding-top: 0;
    }

    .compani_text {
        display: block;
        text-align: center;
        padding: 30px 75px;
    }

    .compani_text_title {
        width: 100%;
    }

    .compani_texts_box {
        display: flex;
        padding-bottom: 50px;
        flex-direction: column;
    }

    .compani_text_p {
        width: 100%;
    }

    .documents {
        display: block;
    }

    .documents_title {
        width: 100%;
        text-align: center;
    }

    .pageTitle {
        display: block;
    }

    .function {
        display: block;
        padding-top: 0;
    }

    .info_name {
        font-size: 30px;
        padding-bottom: 0;
    }

    .contMap {
        padding: 50px 0px;
    }

    .crumbs {
        padding-bottom: 47px;
    }

    .glavn_food {
        flex-wrap: wrap;
        gap: 20px;
    }

    .carousel-3d figure img,
    .carousel-3d figure div {
        padding: 10px;
    }

    .header_nav_uslug a {
        padding: 0px;
    }

    .menu {
        width: 810px;
    }

    .servises_info_button {
        width: max-content;
        height: auto;
    }
}



/* Small Devices, Tablets */
@media only screen and (max-width : 950px) {
    .container {
        width: 700px;
    }

    .contacts_box {
        width: 450px;
    }

    .reviews {
        grid-template-columns: 0 3fr 1fr;
        width: 90%;
    }

    .servises {
        width: 90%;
        display: block;
    }

    .footer_box_reight {
        width: 250px;
    }

    .servises_info_text {
        width: 90%;
        height: auto;
    }

    .company_slyder_name {
        width: 100%;
        height: auto;
    }

    .company_slyder_prev {
        height: 400px;
    }

    .contMap {
        padding: 75px 75px 0;
    }

    .contMap_contacts_name {
        font-size: 14px;

    }

    .contMap_contacts_content {
        font-size: 12px;

    }

    .advantages_box {
        flex-wrap: wrap;
        height: 100%;
        gap: 30px;
    }

    .info_name {
        width: 100%;
        padding-bottom: 15px;
        height: auto;
    }

    .function_name {
        font-size: 30px;
        height: auto;
    }

    .servises_box_text {
        font-size: 12px;
    }

    .reviews_text {
        width: auto;
        height: 100%;
    }

    .compani_text_info_img {
        height: 260px;
    }

    .header_img {
        height: 70px;
    }

    .slider {
        gap: 10px;
    }

    .sleide_box {
        gap: 15px;
    }

    .sleide_name {
        font-size: 10px;
    }

    .menu {
        width: 630px;
    }

    .header_link {
        height: 40px;
    }

    .header_nav_uslug {
        top: 50px;
        column-gap: 20px;
        margin-top: 0;
    }

    .header_link_uslug_a {
        height: 40px;
    }

    .header {
        padding: 0;
    }

    .n_contacts_map {
        width: 100%;
        overflow-x: hidden;
        margin-bottom: 80px;
    }

    .contMap_title_map {
        width: 300px;
        float: right;
    }

    .contMap {
        grid-template-columns: 40% 3fr;
    }
}


/* Custom, iPhone Retina */
@media only screen and (max-width : 690px) {
    .container {
        width: 590px;
    }

    .contacts_box {
        width: 450px;
    }

    .reviews {
        grid-template-columns: 0 3fr 1fr;
        height: 450px;
        width: 90%;

    }

    .reviews_text {
        width: auto;
        height: 100%;
    }

    .header_button {
        font-size: 13px;
    }

    .menu {
        width: 501px;
    }

    .glavn_self {
        height: 340px;
    }

    .glavn_food {
        display: flex;
        flex-wrap: wrap;
        height: auto;
        gap: 10px;
    }

    .servises_info_text {
        height: auto;
    }

    .servises_info {
        font-size: 20px;
        height: auto;
    }

    .servises {
        padding: 45px;
    }

    .servises_box_mini {
        padding-left: 10px;
    }

    .servises_box_text {
        padding-left: 10px;
    }

    .plys {
        width: 65px;
    }

    .servises_left_text_box {
        width: 90%;
    }

    .sleide_box {
        gap: 15px;
    }

    .glavn_specifications {
        gap: 6px;
    }

    .glavn_description {
        font-size: 10px;
    }

    .glavn_specifications_img {
        width: 35px;
        height: 35px;
    }

    .glavn_specifications_name {
        font-size: 12px;
    }

    .glavn_name {
        font-size: 20px;
    }

    .pageTitle_name {
        width: 100%;
        font-size: 20px;
        height: 100%;
    }

    .pageTitle_box p {
        width: 100%;
        font-size: 14px;
    }

    .advantages_box {
        gap: 15px;
    }

    .info_name {
        font-size: 20px;
    }

    .info_title p {
        font-size: 14px;
    }

    .footer_lower a {
        font-size: 10px;
    }

    p {
        padding-top: 0;
        font-size: 12px;
    }

    .compani_text_info_img {
        height: 266px;
    }

    .compani_text_title {
        font-size: 20px;
        padding-bottom: 20px;
    }

    .company_slyder_name {
        font-size: 13px;
    }

    .company_slyder {
        grid-template-columns: 22% 72%;
    }

    .company_slyder_switch_box {
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .vacancy_requisites {
        padding: 20px;
    }

    .vacancy_arrow {
        width: 10px;
        height: 10px;
        margin-right: 0;
    }

    .documents_arrow {
        margin-right: 0;
    }

    .contMap_title {
        top: 260px;
        right: 229px;
        position: absolute;

    }

    .contMap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .n_contacts_content {
        width: 100%;
    }

    .contMap_contacts {
        align-items: center;
        width: 100%;
    }

    .contMap_title_map {
        width: 600px;
        height: 400px;
    }

    .glavn_self {
        width: 85%;
    }

    .servises_left_text {
        font-size: 12px;
    }

    .servises_left_text_b {
        font-size: 12px;
    }

    .header {
        padding: 0;
    }

    .header_img {
        height: 50px;
    }

    .modal {
        width: 300px;
        padding: 20px;
    }

    .modal_title {
        font-size: 20px;
        width: 100%;
        padding: 100px 0 36px;
        height: 55px;
    }

    .modal_box {
        width: 260px;
        align-items: center;
    }

    .modal_input {
        width: 100%;
    }

    .modal_note {
        width: 100%;

    }

    .modal_img {
        position: absolute;
        left: 19.5%;
        right: 8.25%;
        top: -3%;
        bottom: 68.37%;
        Width: 150px;
        Height: 77px;
    }

    .modal_exit {
        position: absolute;
        left: 97.14%;
        right: 8.14%;
        top: -3.86%;
        bottom: 7.14%;
        font-size: 30px;
    }

    .modal_titleMOre {
        font-size: 20px;
        width: 100%;
        padding-top: 70px;
        height: auto;
    }

    .modal_text {
        width: 100%;
    }

    .modal_decorationMOre {
        display: none;
    }

    .modal_text {
        padding-top: 0;
        padding-bottom: 8px;
    }

    .menu_tel {
        transition: 300ms;

        width: 0px;
    }

    .modal_title_good {
        width: 100%;
        font-size: 24px;
        text-align: center;
        padding: 20px;
        padding-top: 70px;
    }

    .contMap_contacts {
        margin-top: 60px;
    }

/*    .footer_upper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer_upper nav {
        flex-wrap: wrap;
        width: 100%;
        height: 100px;
        align-content: space-around;

    }

    .footer_box_reight {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 100%;
        height: 129px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .footer_box {
        align-items: center;
    }

    .footer_box_name {
        text-align: center;
    }

    .footer_lower {
        margin: 0px 25px;
    }*/



}


/* Custom, iPhone Retina */
@media only screen and (max-width : 600px) {
    .container {
        width: 480px;
    }

    .contacts_box {
        width: 450px;
    }

    .reviews {
        height: 450px;
        grid-template-columns: 1fr;
        grid-template-rows: 0 1fr;
        padding: 25px;
        width: 90%;
    }


    .slider_bloc1 {
        grid-template-columns: 1fr;
    }

    .glavn_food {
        padding: 10px;
    }

    .glavn_specifications {
        width: 200px;
    }

    .glavn_name {
        font-size: 20px;
    }

    .servises_box_text {
        font-size: 10px;
    }

    .plys {
        width: 70px;
    }

    .header {
        padding: 0 10px;
    }

    .menu {
        right: 0;
        width: 90%;
    }

    .contMap_title {
        text-align: center;
        right: 161px;
    }

    .contMap_title_map {
        width: 464px;
    }

    .servises_h2 {
        font-size: 21px;
    }

    .pageTitle {
        padding: 40px 20px 0;
    }

    .function {
        padding: 0 20px;

    }

    .info {
        padding: 50px 20px;
    }

    .pageTitle_name {
        text-align: center;
    }

    .pageTitle_box p {
        text-align: justify;
    }

    .function_box {
        padding: 20px;
    }

    .function_name {
        font-size: 20px;
    }

    .function_caisse {
        gap: 10px
    }

    .function_box li {
        margin-left: 20px;
        width: auto;
    }

    .company_information {
        padding-bottom: 50px;
    }

    .vacancy_button {
        width: auto;
        height: auto;
        padding: 10px 10px;
        font-size: 12px;
    }

    .company_information {
        width: auto;
    }

    .header_tel_box {
        width: 0px;
        position: absolute;
        box-sizing: border-box;
    }

    .header_button {
        display: none;
    }

    .header_tel_box {
        display: none;
    }

    .header_tel {
        display: none;
    }

    .menu_mobil {
        display: block;
        position: absolute;
        top: 100px;
        background: #006BB8;
        text-align: center;
        padding: 30px;
        border: 1px solid #006BB8;
        border-radius: 0;
        color: #fff;
        background: #006BB8;
        width: 100%;
        height: 100vh;
        z-index: 50;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        left: 0;
    }

    .menu {
        display: none;
    }

    .header {
        height: 80px;
        justify-content: space-between;
    }

    .servises {
        width: 100%;
    }

    .slider {
        width: 100%;
    }

    .sleide_box_mini {
        gap: 10px;
    }

    .carousel-3d figure img,
    .carousel-3d figure div {
        padding: 0;
    }

    .servises_box_mini_button {
        display: block;
    }

    .header_link_uslug {
        color: #fff;
    }

    .header_link_tel {
        border-bottom: 1px solid transparent;
        padding-bottom: 5px;
        transition: 0.3s;
    }

    .header_link_tel:hover {
        border-bottom: 1px solid #fff;
    }

    .contMap_contacts {
        height: 390px;
        margin-top: 60px;
    }

    .contMap_title {
        right: 190px;
        top: 220px;
    }

}

@media only screen and (max-width : 450px) {
    .sleide_name {
        font-size: 10px;
    }

    .portfolio {
        padding: 0;
    }

    .container {
        width: 400px;
    }

    .contacts_box {
        width: 300px;
    }

    .reviews {
        width: 300px;
        padding: 20px;
    }

    .rating_star {
        justify-content: center;
    }

    .reviews_text {
        font-size: 13px;
    }

    .reviews_author {
        font-size: 13px;
    }

    .reviews_switch_box {
        width: 30px;
        height: 30px;
    }

    .reviews_switch_a {
        font-size: 30px;
    }

    .reviews_switch {
        height: 50px;
        align-items: flex-end;
        justify-content: center;

    }

    .contacts_text {
        font-size: 24px;
        width: 290px;
    }

    .contacts_input {
        width: 100%;
    }

    .contacts_note {
        width: 300px;
    }

    .footer_box_reight {
        flex-wrap: nowrap;
    }

    .footer_lower a {
        font-size: 7px;
    }

    .servises_info {
        font-size: 12px;
    }

    .servises_info_text {
        font-size: 12px;
    }

    .servises_info_button {
        font-size: 12px;
        justify-content: center;
        width: auto;
        height: auto;

    }

    .servises_box_text {
        font-size: 9px;
    }

    .servises_box_mini {
        max-height: 70px;
    }

    .servises_box_mini_button {
        font-size: 10px;
        width: auto;
        height: auto;
    }

    .box_button {
        padding-left: 36px;
    }

    .plys {
        height: 30px;
        width: 46px;
    }

    .header_button {
        font-size: 10px;
        padding: 5px;
    }

    .header_img {
        height: 50px;
    }

    .header_tel_link {
        font-size: 10px;
    }

    .menu_adaptive_button {
        margin-left: 0px;
    }

    .header_link {
        font-size: 10px;
    }

    .compani_text {
        padding: 15px 20px;
    }

    .compani_text_info_img {
        height: 200px;
    }

    .company_slyder {
        padding: 0 20px;
    }

    .documents {
        padding: 0 20px;
    }

    .documents_requisites_all_text {
        width: 100%;
        height: auto;
    }

    .open_text {
        height: auto;
    }

    .documents_requisites_all_text {
        font-size: 12px;
    }

    .documents_title {
        font-size: 30px;
    }

    .contMap_title_map {
        width: 300px;
        width: 300px;
    }

    .contMap_title {
        right: 97px;
    }

    .glavn_food {
        top: -50px;
    }

    .container {
        width: 370px;
    }

    .servises {
        padding: 0;
    }

    .info {
        padding: 50px 0;
    }

    .info_title_box {
        gap: 20px;
    }

    .glavn_name {
        font-size: 16px;
    }

    .servises_box_number {
        font-size: 15px;
    }

    .footer_upper {
        padding: 50px 20px;
    }

    .header_tel_box {
        display: none;
    }

    .header_tel_link {
        color: #fff;

    }


    .menu {
        display: none;
    }

    .pageTitle_name {
        font-size: 15px;
    }

    .contMap_contacts {
        margin-top: 30px;
    }

    .info_title ul {
        font-size: 15px;
    }

    .crumbs_box {
        padding-top: 20px;
    }



    .header_link_uslug_a {
        padding: 10px;
        font-size: 16px;
        height: 16px;
    }

    .header_nav_uslug a {
        width: 88%;
        padding: 12px;
    }

    nav.header_nav_uslug {
        display: block;
        width: 100%;
    }

    .glavn_specifications{
        height: 111px;
    }
    a.logo_box {
        width: 58%;
    }

    .footer a.logo_box {
        width: 45%;
    }

    .sleide_box {
       column-gap: 15px;
    }
    .sleide {
        height: 100px;
    }
    .slider_bloc1 {
        height: 350px;
        padding: 0;
    }
    .advantage_specifications {
        height: 134px;
    }
    .vacancy_box .header_button{
        display: flex;
    }
    .modal_head {
        height: 140px;
    }

    .contMap {
        padding: 0;
    }

    .contMap_title {
        right: 110px;
        top: 164px;
    }

    .contMap_contacts {
        margin-top: 90px;
    }

    .n_contacts_map {
        width: max-content;
    }

    .big_img {
        width: 25%;
    }
}

/*=== Mobile First Method  ===*/

/* Custom, iPhone Retina */
@media only screen and (max-width : 375px) {
    .sleide_name {
        font-size: 9px;
        width: 83%;
    }

    .plys {
        width: 50px;
    }

    .menu {
        display: none;
    }

    .servises {
        padding: 0;
    }

    .compani_text_info_img {
        height: 150px;
    }

    .company_slyder_name {
        padding-top: 0;
    }

    .company_slyder {
        display: flex;
        flex-direction: column;
    }

    .company_slyder_prev {
        display: none;
    }

    .company_slyder {
        padding: 0px;
    }

    .company_slyder_switch {
        justify-content: center;
    }

    .compani_text {
        padding: 20px 0;
    }

    p {
        text-align: justify;
    }

    .portfolio {
        padding: 0;
    }

    .documents {
        padding: 0;
    }

    .info_title p {
        font-size: 12px;
    }



}

/*new year*/
/*.glavn_self {

    background-image: url(/img/newyear/fonNG.jpg);
    position: relative;
}
.header_button{
    position: relative;
}*/
/*.header_button::after{
    content: url(/img/newyear/snowNG.png);
    position: absolute;
    right: -5px;
    top: -6px;
    width: 50px;
    height: 45px;
}*/
/* header .logo1 {
    background: linear-gradient(to bottom, #ffffff00 42%, #fff 0%);
}

.glavn_self {

    background-image: url(/img/newyear/newyearbg.png);
}

.glavn_food {
    background-image: url(/img/newyear/glavnny.png);
    background-position: top;
    background-repeat: no-repeat;
}

.glavn_specifications_img {
    width: 120px;
    height: 126px;
}

.servises_newyear {
    left: 0;
    position: absolute;
    width: 100%;
    height: 350px;
}

.servises_newyear:after {
    position: absolute;
    content: "";
    background-image: url(/img/newyear/olen.png);
    background-repeat: no-repeat;
    width: 234px;
    height: 338px;
    background-size: contain;
    right: 0;
} */