@media (max-width: 1580px) {
  .header {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 30px auto 236px auto auto auto auto;
    grid-template-areas:
        'logo . . search header_btn header_btn header_btn header_btn'
        'logo . menu menu social_tg social_wha phone language';
    grid-row-gap: 34px;
    position: relative;
    --logo-color: #E73227;
    --text-color: #000000;
    transition: grid-row-gap 0.5s;
  }
  .header_wrapper.fixed .header {
    grid-template-columns: 1fr 1fr auto auto auto auto;
    grid-template-areas:
        'logo . social_tg social_wha phone language header_btn'
        'logo menu menu menu menu menu header_btn';
    grid-row-gap: 10px;
    align-items: center;
  }
  .header_recv.mail {
    display: none;
  }
  .header_recv.adress {
    display: none;
  }
  .header_lang_block {
    align-self: end;
    grid-area: language;
    position: static;
    align-items: flex-end;
  }
  .header_recv_phone {
    margin-right: 15px;
  }
  .catalog_grid {
    width: auto;
    display: inline-grid;
    grid-template-columns: repeat(2, 450px);
  }
}
@media (max-width: 1450px) {
  .news_page_list {
    grid-template-columns: repeat(3, 1fr);
  }
  .header {
    grid-template-columns: 1fr 1fr auto auto auto auto auto auto auto;
    grid-template-areas:
    'logo . . social_tg social_wha phone language search header_btn'
    'logo . menu menu menu menu menu menu menu';
    align-items: center;
    grid-row-gap: 24px;
  }
  .header_wrapper.fixed .header {
    grid-template-columns: auto 1fr 1fr auto auto auto auto auto;
    grid-template-areas:
    'logo . . social_tg social_wha phone language header_btn'
    'logo . menu menu menu menu menu menu';
    grid-row-gap: 10px;
    align-items: center;
  }
  .header_lang_block {
    align-self: center;
  }
  .header_recv_phone {
    align-self: center;
  }
  .header_logo {
    align-self: end;
    margin-right: 0px;
  }


  .page_container {
    padding: 0px 16px;
  }
  h1.page_title {
    font-size: 28px;
  }
  h2.page_title {
    font-size: 28px;
  }
  h2.page_title.gray_rect,
  h2.page_title.white_rect {
    margin: 10px 0px;
  }
  h3.page_title {
    font-size: 28px;
  }
  h2.page_title.padding_l {
    padding-left: 0px;
  }
  h2.page_title.gray_rect,
  h2.page_title.white_rect {
    margin-left: 34px;
  }
  h2.page_title.right.gray_rect,
  h2.page_title.right.white_rect {
    margin-right: 34px;
  }
  .page_subtitle {
    font-size: 20px;
  }
  .page_bigtext {
    font-size: 14px;
  }
  .page_text {
    font-size: 14px;
  }
  .mp_about_block_left_column .page_subtitle {
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .mp_catblock_head_text {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 10px;
  }
  .mp_catblock_head_toggle {
    font-size: 20px;
    margin-top: 30px;
  }
  .mp_catalog_toggle_arrow {
    width: 30px;
  }
  .mp_cat_item_title {
    font-size: 18px;
    margin: 15px 10px 15px 10px;
  }
  .mp_cat_slider_item.bottom .mp_cat_item_title {
    margin: 15px 10px 15px 10px;
  }
  .mp_cat_item_text {
    font-size: 14px;
    margin: 0px 10px 0px 10px;
  }

  .advantages_block_head {
    grid-template-columns: 1fr;
  }
  .advantages_block_head .page_subtitle {
    margin-top: 0px;
    margin-left: 34px;
  }

  .advantage_item_title {
    font-size: 20px;
  }
  .advantage_item_title::after {
    left: -18px;
    top: -10px;
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }
  .advantage_item_label {
    font-size: 14px;
  }

  .mp_certificates_block {
    padding-left: 0px;
    grid-column-gap: 20px;
  }
  .mp_certificates_list {
    grid-gap: 20px;
  }

  .pages_news_block {
    grid-column-gap: 20px;
  }

  .page_application_block {
    grid-column-gap: 10px;
  }

  .footer_block {
    grid-template-columns: 1fr;
    grid-template-areas:
    'logo'
    'text'
    'recv_list'
    'coopyright';
    justify-items: center;
    max-width: 700px;
    margin: 50px auto;
  }

  .footer_recv_list {
    justify-self: center;
    justify-items: center;
  }
  .footer_phones_list {
    justify-content: center;
  }



  .advantages_triangle_bg {

  }
  .mp_certificates_block {
    grid-column-gap: 90px;
  }
  .mp_certificates_list {
    max-width: 600px;
  }
  .advantages_block_footer {
    z-index: unset;
  }

  .page_wrapper.application {

  }
  .page_application_container {

  }
  .page_application_block {

  }


}
@media (max-width: 1300px) {
  .header_logo {
    display: none;
  }
  .header_logo_small {
    display: flex;
    align-self: end;
  }
  .header_logo_small svg {
    width: 100%;
    max-width: 100px;
  }
}
@media (max-width: 1200px) {
  .page_application_block {
    grid-template-columns: 1fr 1.7fr;
  }
  .sp_certificates_list {
    grid-template-columns: repeat(4, 1fr);
  }
  .header {
    grid-template-columns: 100px 1fr auto auto auto auto auto auto auto;
    grid-template-areas:
    'logo . . social_tg social_wha phone language search header_btn'
    'logo . menu menu menu menu menu menu menu';
    align-items: center;
    grid-row-gap: 24px;
  }

  .company_create_container {
    padding: 40px 16px;
  }
  .company_create_block {
    width: 100%;
    max-width: 700px;
    grid-template-columns: auto;
    grid-template-areas:
    'c_rect''group_tl''group_tr''group_cl'
    'group_cr''group_bl''group_br';
    grid-row-gap: 0px;
  }
  .company_create_item {
    position: relative;
    padding: 10px 0px 10px 30px;
    box-sizing: border-box;
  }
  .company_create_item::before {
    position: absolute;
    content: '';
    left: 0px;
    top: 50%;
    width: 20px;
    height: 1px;
    background-color: #ffffff;
    transform: translate(0px, -50%);
  }
  .company_create_item::after {
    position: absolute;
    content: '';
    left: 0px;
    top: 0px;
    width: 1px;
    height: 100%;
    background-color: #ffffff;
  }
  .company_create_group:last-child .company_create_item:last-child::after {
    height: 50%;
  }
  .company_create_group {
    grid-row-gap: 0px;
  }
  .company_create_group:nth-child(1){
    text-align: left;
    justify-items: start;
    justify-self: start;
    max-width: 475px;
  }
  .company_create_group:nth-child(2){
    text-align: left;
    justify-items: start;
  }
  .company_create_group:nth-child(3){
    text-align: left;
    justify-items: start;
  }
  .company_create_group:nth-child(5){
    justify-items: start;
  }
  .company_create_item_arrow {
    display: none;
  }
  .ccreate_center_rect {
    width: 100%;
    font-size: 20px;
    color: #000000;
    margin: 0px;
    background-color: #E7E7E9;
    border-radius: 15px 15px 15px 0px;
    padding: 5px 0px;
    margin-bottom: 10px;
  }
  .ccreate_center_rect::after {
    background-color: #E7E7E9;
    left: 0px;
    top: 100%;
    width: 1px;
    height: 10px;
    transform: none;
  }
  .company_create_item_text {
    font-size: 16px;
  }
}
@media (max-width: 1100px) {
  .secondpage_catalog_head {
    flex-direction: column;
    align-items: flex-start;
  }
  .default_btn.catalog {
    margin-top: 0px;
  }
}
@media (max-width: 1000px) {
  .pages_news_list {
    margin-bottom: 50px;
  }
  .news_page_list {
    grid-template-columns: repeat(2, 300px);
  }
  .sp_certificates_list {
    grid-template-columns: repeat(3, 1fr);
  }
  .catalog_grid {
    grid-template-columns: repeat(1, 450px);
  }
  .page_head_background_container {
    min-height: 405px;
  }
  .page_head_background {
    background-size: auto calc(100% + 190px);
  }

  .advantages_block_map {
    aspect-ratio: 2 / 1;
  }
  .advantages_block_map ._map_block {
    padding: 0px;
    width: calc(100% + 32px);
    height: 120%;
    left: -16px;
    transform: translate(0px, -50%);
    overflow: auto;
  }
  ._map_block .map_svg {
    width: 150%;
    right: auto;
    left: 0px;
  }
  .ship_circle_icon {
    width: 300px;
    height: 300px;
  }
  .ship_circle_icon svg.ship_icon {
    width: 130px;
    margin-bottom: 10px;
    --anim-bottom: -20px;
  }
  .ship_circle_waves {
    bottom: -13px;
  }

  .mp_about_block_right_column {
    padding: 215px 0px 50px 50px;
  }
  .header_wrapper {
    padding: 10px 0px;
  }
  .header_recv_phone {
    font-size: 13px;
    justify-self: end;
    margin: 0px;
  }
  .header_social {
    align-self: center;
    width: 20px;
    height: 20px;
  }
  .header_social svg {
    width: 20px;
  }
  .header_social.tg {
    margin-left: 0px;
    margin-right: 0px;
  }
  .header_social.wha {
    margin-right: 0px;
  }
  .header_lang_flag {
    width: 20px;
    height: 18px;
    border-radius: 4px;
  }
  .header_lang_toggle {
    font-size: 12px;
  }
  .header {
    grid-template-columns: auto 1fr auto auto auto;
    grid-template-areas:
    'logo phone phone phone phone language'
    'logo . social_tg social_wha header_btn header_btn';
    grid-row-gap: 8px;
    grid-column-gap: 8px;
    padding: 0px 16px;
    box-sizing: border-box;
  }
  .header_wrapper.fixed .header {
    grid-template-columns: auto 1fr auto auto auto;
    grid-template-areas:
    'logo phone phone phone phone language'
    'logo . social_tg social_wha header_btn header_btn';
    grid-row-gap: 8px;
    grid-column-gap: 8px;
    padding: 0px 16px;
    box-sizing: border-box;
  }
  .burger_btn {
    display: flex;
  }
  .fast_search {
    display: none;
  }
  .main_menu {
    display: none;
  }
  .header .default_btn {
    height: 25px;
    font-size: 12px;
    text-transform: uppercase;
    justify-self: end;
    padding: 0px 10px;
    margin-left: 0px;
  }
  .header_logo_small svg {
    width: 55px;
  }
  .mob_menu_wrapper {
    display: grid;
  }


  .mp_certificates_block_text h3.page_title {
    /* width: min-content; */
  }
  .mp_certificates_block {
    margin-top: 40px;
    grid-template-columns: 1fr;
  }
  .mp_certificates_block_text {
    width: auto;
    padding-top: 0px;
  }

  .pages_news_triangle_bg {
    left: 50%;
    top: 60px;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    transform: translate(calc(-50% - 60px), 0px) rotate(45deg);
  }
  .pages_news_block {
    padding: 50px 16px 0px 16px;
    grid-template-columns: 1fr;
    grid-template-areas:
    'news_text'
    'news_list'
    'all_news_link';
  }


  .pages_news_actions {
    align-items: center;
  }
  .pages_news_actions h2.page_title.right {
    text-align: center;
  }
  .pages_news_actions .page_text {
    text-align: center;
  }
  .text_btn {
    font-size: 16px;
  }
  .pages_news_block .text_btn {
    justify-self: center;
  }


  .page_application_container h3.page_title {
    padding-right: 10px;
    align-self: end;
  }

  .page_wrapper.application {
    display: grid;
    grid-template-columns: 1fr;
    background-color: #3667A6;
    background-image: url(/images/pattern.png);
    background-position: center;
    background-repeat: repeat;
    background-size: 100% auto;
  }
  .page_application_container {
    grid-column: unset;
    margin-top: 0px;
    margin-bottom: 0px;
    background: none;
    background-color: inherit;
    padding: 40px 0px;
  }
  .page_application_bg {
    grid-row: 2/3;
    position: static;
  }
  .page_application_bg_img {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
  }
  .page_application_bg .bg_wave {
    display: none;
  }
  .page_application_block {
    display: block;
  }
  .page_application_container .page_text {
    padding-left: 18px;
    padding-right: 10px;
    min-height: 100px;
  }
  .application_form_block {
    padding-left: 18px;
    margin-top: 0px;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
  }
  .certificates_triangle_bg {
    right: 860px;
  }
  .page_cont_img_wrapper {
    width: 100%;
    padding: 0px 0px 40px 0px;
    float: none;
  }
}
@media (max-width: 800px) {
  .pages_news_list {
    grid-template-columns: 1fr;
    grid-row-gap: 15px;
    margin-bottom: 30px;
  }
  .pages_news_list_item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
  }
  .pages_news_list_item_img {
    width: 100px;
    height: 100px;
    aspect-ratio: unset;
    grid-column: 1/2;
    grid-row: 1/3;
    border-radius: 5px;
  }
  .pages_news_list_item_title {
    grid-column: 2/3;
    grid-row: 1/2;
    font-size: 14px;
  }
  .pages_news_list_item_date {
    grid-column: 2/3;
    grid-row: 2/3;
    font-size: 16px;
    margin: 0px;
  }
  .advantages_block_map {
    height: 300px;
  }
  .certificates_triangle_bg {
    position: absolute;
    right: auto;
    left: 12px;
    top: 50%;
    width: 70px;
    height: 70px;
    border-radius: 15px;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .news_page_list {
    grid-template-columns: 1fr;
    grid-row-gap: 20px;
    padding-top: 40px;
  }
  .news_page_list .pages_news_list_item .pages_news_list_item_title {
    text-align: left;
  }
  /* ======================================================================== */
  .secondpage_container ul {
    padding-left: 10px;
  }
  .secondpage_container thead td {
    padding: 5px 10px;
    font-size: 14px;
  }
  .secondpage_container tbody tr td {
    padding: 5px 10px;
    font-size: 14px;
  }
  .secondpage_container h3 {
    font-size: 16px;
  }
  .secondpage_container h3::after {
    border-radius: 5px;
  }
  .gallerycont {
    grid-gap: 10px;
  }
  .gallerycont img {
    border-radius: 10px;
  }
  /* ======================================================================== */

  .contentimageright {
    width: 100%;
    float: none;
    margin: 0px 0px 40px 0px;
  }

  .secondpage_catalog_head {
    flex-direction: column;
    margin-bottom: 40px;
  }
  .default_btn.catalog {
    height: auto;
    margin-top: 10px;
    padding: 0px 10px;
    margin-left: 34px;
  }
  .arrows_group {
    grid-column-gap: 0px;
  }
  .arrows_group svg {
    height: 10px;
  }
  .default_btn.catalog .pdf_icon {
    width: 18px;
  }
  .catalog_grid {
    grid-row-gap: 20px;
  }
  .catalog_grid_row {
    grid-template-columns: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }
  .catalog_card_title {
    font-size: 14px;
    padding: 10px 5px;
  }
  .catalog_card_label {
    font-size: 14px;
    line-height: 130%;
    margin-bottom: 0px;
    padding: 15px 5px 15px 5px;
  }
  .secondpage_container .catalog_card_label p {
    font-size: 14px;
    line-height: 130%;
    margin-bottom: 0px;
  }
  .catalog_card_footer {
    grid-column-gap: 8px;
  }
  .catalog_card_btn {
    height: 30px;
    font-size: 14px;
    margin-top: 6px;
  }
  /* ======================================================================== */
  .page_head_background_container {
    min-height: 350px;
  }
  .page_head_background_cont {
    margin-bottom: 10px;
    padding: 0px 16px;
  }
  .secondpage_container {
    padding: 40px 16px 0px 16px;
  }
  /* ======================================================================== */

  /* ======================================================================== */

  .first_page_logo_wrapper {
    display: flex;
  }

  h1.page_title {
    font-size: 18px;
    padding-right: 20px;
  }
  h1.secondpage_title {
    font-size: 18px;
  }
  h1.secondpage_title.gray_rect,
  h1.secondpage_title.white_rect {
    margin: 15px 0px 15px 34px;
  }
  h2.page_title {
    font-size: 18px;
  }
  h3.page_title {
    font-size: 16px;
    margin: 15px 0px;
  }
  h3.page_title.border_l {
    padding-left: 15px;
  }
  h2.secondpage_title {
    font-size: 18px;
  }
  .secondpage_container .big_text {
    font-size: 14px;
  }
  .secondpage_container {
    font-size: 14px;
  }

  .page_subtitle {
    font-size: 12px;
  }
  .page_bigtext {
    font-size: 14px;
  }
  .page_text {
    font-size: 14px;
  }

  .secondpage_container p {
    margin-bottom: 10px;
  }
  .get_proposal_btn {
    height: auto;
    font-size: 14px;
    margin: 10px 0px;
  }

  /* ======================================================================== */

  .mp_cat_slider_item.bottom .mp_cat_item_title {
    margin: 10px 5px;
  }
  .mp_cat_item_title {
    font-size: 13px;
    margin: 10px 5px;
  }
  .mp_cat_item_text {
    margin: 0px 5px;
  }

  .ship_circle_icon {
    /* display: none; */
    width: 120px;
    height: 120px;
  }
  .ship_circle_icon svg {
    width: 56px;
    margin-bottom: 20px;
  }

  .ship_circle_icon svg.ship_icon {
    width: 70px;
    margin-bottom: 3px;
    --anim-bottom: -10px;
  }
  .ship_circle_waves {
    bottom: -23px;
  }

  .mp_catalog_block_head {
    flex-direction: column-reverse;
    margin-bottom: 20px;
  }

  .mp_catalog_block {
    padding-top: 40px;
  }
  .mp_about_block {
    padding-top: 40px;
    grid-template-columns: 1fr;
    margin-bottom: 0px;
  }
  .mp_about_block_right_column {
    padding: 0px;
  }
  .mp_about_image_block {
    display: none;
  }
  .mp_about_image_mob {
    display: block;
  }
  .advantages_block {
    padding-top: 40px;
  }

  .advantages_block_map {
    height: 500px;
    margin-bottom: 70px;
  }
  ._map_block .marker {
    width: 15px;
  }

  .advantages_block_footer h3.page_title {
    box-sizing: border-box;
    margin: 25px 0px;
  }
  .advantages_triangle_bg {
    left: -19px;
    right: auto;
    top: -25px;
    width: calc(100vw - 8px);
    height: calc(100% + 50px);
    transform: none;
    border-radius: 0px;
  }
  .advantages_block_footer {
    grid-template-columns: auto;
    grid-template-areas:
    'advantages_title'
    'advantages_list';
    grid-row-gap: 25px;
    margin-top: 20px;
  }
  .advantages_block_head .page_subtitle {
    margin-top: 10px;
  }
  .advantages_list {
    width: 100%;
    justify-self: start;
    grid-template-columns: 1fr 1fr;
    padding-left: 18px;
  }
  .advantages_list_row {
    grid-auto-flow: row;
    grid-row-gap: 15px;
    justify-items: start;
  }
  .advantages_list_row.first {
    width: 100%;
  }
  .advantage_item {
    align-items: flex-start;
  }
  .advantage_item_title {
    font-size: 16px;
  }
  .advantage_item_title::after {
    left: -9px;
    top: -2px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
  }


  .mp_certificate_title {
    font-size: 16px;
  }

  .default_input {
    height: 40px;
    border: 1px solid #ffffff;
    font-size: 14px;
  }
  .form_input_label {
    top: 20px;
    font-size: 14px;
  }
  .custom_ch {
    width: 20px;
    height: 20px;
  }
  .custom_ch svg {
    right: -5px;
    width: 22px;
    height: 18px;
  }




  .pers_politic_text {
    font-size: 16px;
  }
  .default_btn {
    height: 30px;
    font-size: 14px;
  }
  .page_application_container .personal_politic {
    padding-left: 18px;
  }
  .page_application_container .default_btn {
    justify-self: start;
    margin: 30px 0px 0px 18px;
  }

  .footer_block {
    grid-row-gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .footer_left_column {
    max-width: 250px;
  }
  .footer_logo_text {
    font-size: 16px;
  }
  .footer_text {
    font-size: 16px;
  }
  .footer_phones_list {
    max-width: 200px;
  }
  .footer_phone_item {
    font-size: 16px;
  }
  .footer_recv_mail {
    font-size: 16px;
  }
  .footer_recv_adress {
    font-size: 16px;
  }
  .footer_coopyright {
    font-size: 16px;
  }
  .develop_text {
    margin: 16px;
    font-size: 10px;
  }


}
@media (max-width: 500px) {
  .sp_certificates_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .page_application_container .page_text {
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-sizing: border-box;
  }
  .application_form_block {
    padding-left: 0px;
  }
  .catalog_grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
