@media (max-width: 1199px) {
  .main_menu ul li a {
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    margin: 0 5px;
  }

  #select_section .nselect {
    position: relative;
    box-sizing: border-box;
    display: flex;
    vertical-align: middle;
    min-width: 115px;
    width: 33.3%;
    flex: 0 0 33.3%;
    flex-grow: 1;
  }
  #select_section .nselect .nselect__head {
    margin: 0;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 14px;
    background: #fffefc;
    border-radius: 0;
    padding: 7px 15px 7px 15px;
    height: 49px;
    color: #000;
    width: 33.3%;
    flex: 0 0 33.3%;
    flex-grow: 1;
    justify-content: center;
    border-right: solid 1px #e4a249;
    border-left: solid 1px #e4a249;
    border-top: solid 2px #e4a249;
    border-bottom: solid 2px #e4a249;
  }

  .select_items {
    width: 100%;
  }
  .select_items_submit {
    margin: 15px 0 0 0;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 992px) {

  #select_section .nselect {
    width: 33.3%;
    -ms-flex: 0 0 33.3%;
    flex: 0 0 33.3%;

  }

  .top_main_nav {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 50px);
    justify-content: center;
    align-content: end;
  }

  .logo_section {
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
    max-width: 285px;
    align-self: stretch;
  }

  .top_bar_bot_section {
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 4;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    align-self: start;
  }
  .top_bar_nav_section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 4;}
  .top_bar_left_section {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  .top_contact_info_item {
    display: flex;
    width: 50%;
    justify-content: space-between;
    margin: 0 0 5px 0;
  }
  .top_contact_info_item_right {
    margin-left: 45px;
  }

}
@media (max-width: 768px) {

  #select_section .nselect {
    width: 49.9%;
    -ms-flex: 0 0 49.9%;
    flex: 0 0 49.9%;

  }

  .logo_section {
    display: flex;
    flex-basis: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: space-between;
  }

  .top_main_nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;

  }

  .toggleNav {
    display: block;
    color: #8b8b8b;
  }

  .top_bar_nav_section {
    display: none;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .top_bar_nav_section.open {
    display: flex;
    flex-basis: 100%;
    border-bottom: 2px solid #000000;
  }

  .top_bar_left_section {
    width: 50%;
    grid-row-start: 1;
    grid-row-end: 4;
    grid-column-start: 3;
    grid-column-end: 5;
    order: 2;
  }

  .top_contact_info_item_right {
    margin-left: 0;
  }

  .top_bar_bot_section {
    border-bottom: none;
    flex-direction: column;
    order: 1;
    width: 50%;
  }
  .top_contact_info_item {
    width: 100%;
  }
  .top_bar_column {
    order: 2;
  }

  .main_menu .navbar-nav {
    -ms-flex-direction: column;
    flex-direction: column;
    order: 1;
  }
  .main_menu ul li a {
    padding: 3px 5px;
  }
  .main_menu_reg {
    margin-top: 15px;
    order: 2;
  }

  .main_menu {
    order: 1;
  }

}
@media (max-width: 576px) {
  .mobile_header_pages {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px 4px 15px;
    position: fixed;
    background: #fbf8f4;
    z-index: 250;
  }

  .inner-page-wrapper {
    margin: 66px 0;
  }

  .card_grid {
    margin-top: 150px;
    margin-bottom: 50px;
    padding: 3px 25px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .card_item {
    height: 200px;
    background: rgba(254, 254, 254, 0.9);
  }

  .card_item.airplane_img_sec {
      height: 400px;
  }
  .card_img.airplane_img_sec2 {
      height: 210px;
  }

  .agency-sidebar {
    padding-left: 0;
    padding-top: 5px;
  }

  .agency-info {
    padding-top: 25px;
    min-height: calc(100vh - 250px);
  }

  .agency-info h1 {
    margin: 0 0 15px;
    font-size: 18px;
  }

  .results-wrapper {
    border-top: none;
  }

  .reg_section .login_black_ico {
    margin-right: 35px;
  }

  .show-more {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 16px;
    font-style: italic;
  }

  .show-more:after{
    content: url("../img/icon-arrow.png");
    width: 20px;
    height: 20px;
    margin-left: 25px;
  }

  .agency-status-check {
    display: none;
  }

  .top_main_nav {
    display: none;
  }

  .stocks-top-banner__inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url('../img/mobile_sale_banner.png');
  }

  .stocks-top-banner {
    position: relative;
    width: 100%;
    height: 220px;
    margin-bottom: 10px;
  }

  .stocks-list-item {
    max-width: 100%;
    margin-bottom: 10px;
    padding: 5px;
  }

  .stocks-list {
    padding: 0 5px;
    margin-bottom: 10px;
  }

  .stocks-single-wrapper__inner {
    padding-left: 0;
  }


  .inner-page-sidebar, .pc_visas_content_top, #tour {
    /**/
  }

  .mobile_visas_content_top {
    display: block;
  }

  .mobile_visas_content_top .list_ico {
    margin-right: 10px;
  }

  .file-input-field {
    margin-bottom: 10px;
  }

  .file-input-field br {
    display: none;
  }
  .file-input-field input[type="file"] + label img {
    max-width: 100%;
  }
  .file-input-field input[type="file"] + label span {
    margin-bottom: 0;
  }

  .field-ordervisa-gender {
    margin-top: 15px;
    padding-left: 10px;
  }

  .visa-reg-form input[type="radio"] + label {
    font-size: 16px;
    font-style: normal;
    font-family: "HelveticaBold";
  }

  #ordervisa-gender .col-6:last-child .form-check-inline {
    display: flex;
    justify-content: flex-end;
  }

  .visa-reg-form button[type="submit"] {
    margin: 20px auto;
  }

  .visa-reg-form {
    padding-bottom: 20px;
  }

  .transfer-page-title .list_ico{
    display: inline-block;
    margin-right: 15px;
  }

  .transfer-reg-form__spinner {
    justify-content: space-between;
  }

  /*.transfer-reg-form__spinner .jq-number {
    padding: 0 0 0 5px;
  }*/

  .transfer-reg-form__spinner .jq-number .jq-number__field {
    width: 65px;
  }
  .transfer-reg-form__hotels {
    position: relative;
  }

  .transfer-reg-form__arrival {

  }
  .transfer-reg-form__hotels-remove_block {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
  }
  .transfer-reg-hotel-form {
    position: relative;
    display: flex;
    margin-bottom: 25px;
  }
  .transfer-reg-form__add-hotel {
    right: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .transfer-reg-form__field {
    width: 100%;
  }

  .transfer-reg-form {
    margin-bottom: 25px;
  }

  .transfer-reg-form__hotels .transfer-reg-form__title, .transfer-reg-form__arrival .transfer-reg-form__title {
    border-bottom: none;
  }

  .transfer-reg-form__arrival .transfer-reg-form__title span br, .transfer-reg-form__leaving .transfer-reg-form__title span br{
    display: none;
  }

  #hotel {
    display: none;
  }

  .results-wrapper-list-item .cart_body_price_block {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
    justify-content: space-between;
  }

  .results-wrapper-list-item .cart_body_item {
    width: 100%;
    font-weight: 600;
    margin-top: 10px;
  }

  .results-wrapper-list-item .cart_body_price_block .cart_price_item {
    width: auto;
  }

  .results-wrapper-list-item .cart_body_item.cart_fly_setting, .results-wrapper-list-item .cart_body_item.cart_body_item_fly {
    width: 50%;
    min-height: 90px;
  }

  .results-wrapper-list-item .cart_body_item.group_fly {
    display: flex;
    justify-content: center;
  }

  .mobile-menu-modal .top_bar_bot_section {
    width: 100%;
  }
  .mobile-menu-modal .main_menu ul li {
    margin: 0 0 0 65px;
  }

  .mobile-menu-modal .main_menu ul a {
    margin-bottom: 30px;
  }

  .mobile-menu-modal .main_menu ul .active a:before, .mobile-menu-modal .main_menu ul a:before{
    margin: 0;
    position: absolute;
    left: -35px;
    top: 1px;
  }
  .mobile-menu-modal .main_menu ul li a:hover:after {
    bottom: 31px;
    opacity: 1;
  }

  .mobile-menu-modal  .back_button_left {
    position: absolute;
    top: 23px;
    left: 1rem;
  }
  .mobile-menu-modal .main_menu_reg {
    border-top: 2px solid;
    padding: 1rem 2rem;
  }
  .mobile-menu-modal .main_menu_reg .loginon_ico {
    margin-right: 25px;
  }
  .mobile-menu-modal .main_menu_reg .font_s_black, .mobile-menu-left-modal .font_s_black{
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
  }

  .mobile-menu-left-modal .back_button_right  {
    top: 15px;
    position: absolute;
    right: 15px;
  }
  .mobile-menu-left-modal .font_b_gold {
    line-height: 1;
    font-weight: normal;
  }
  .mobile-menu-left-modal .top_bar_left_section {
    width: 100%;
  }
  .mobile-menu-left-modal .top_contact_info_item_right, .mobile-menu-left-modal .top_contact_info_item_left {
    width: 100%;
    padding: 0 15px;
    margin: 5px 0;
  }

  .mobile-menu-left-modal .exchange_numbers p{
    display: flex;
    justify-content: space-between;
  }
  .mobile-menu-left-modal .bottom_mob .top_bar_column{
    border-bottom: 2px solid black;
    width: 100%;
    padding: 3px;
    justify-content: space-between;
  }

  .mobile_content_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .filter_search_block a {
    margin: 0 5px;
  }

  .select_form_section {
    display: none;
  }

  .top_contact_info_item {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 0 0 25px 0;
  }
  .f-small {
    max-width: 150px;
  }

  .mobile_pages_head_h {

    display: inline-flex;
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
  }

  .cart_body_item_flyset {
    margin: 0 auto;
  }

  .agency-wrapper {
    padding: 66px 0 86px 0;
  }

  .agency-reg-bttn {
    padding: 15px;
  }

  .agency-reg-bttn {
    margin-bottom: 0;
  }
  .show-more-height {
    height: 65px;
    overflow:hidden;
  }

  .results-wrapper__list-topline {
    /** display: none; **/
  }

  .results-wrapper-list-item_3 .results-wrapper-list-item__inner,
  .results-wrapper-list-item_1 .results-wrapper-list-item__inner,
  .results-wrapper-list-item_2 .results-wrapper-list-item__inner {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .results-wrapper-list-item_1 .results-wrapper-list-item__inner > div:nth-child(1) {
    width: 30%;
  }

  .results-wrapper-list-item_1 .results-wrapper-list-item__inner > div:nth-child(2) {
    width: 70%;
  }

  .results-wrapper-list-item_1 .results-wrapper-list-item__inner > div.nv-f-s,
  .results-wrapper-list-item_2 .results-wrapper-list-item__inner > div.nv-f-s {
    display: none;
  }

  .results-wrapper-list-item_1 .results-wrapper-list-item__inner > div:nth-child(4) {
    width: 25%;
  }

  .results-wrapper-list-item_1 .results-wrapper-list-item__inner > div:nth-child(5) {
    width: 15%;
  }

  .results-wrapper-list-item_1 .results-wrapper-list-item__inner > div:nth-child(6),
  .results-wrapper-list-item_1 .results-wrapper-list-item__inner > div:nth-child(7),
  .results-wrapper-list-item_1 .results-wrapper-list-item__inner > div:nth-child(8) {
    width: 20%;
  }

  .results-wrapper-list-item_1 .results-wrapper-list-item__inner > div:nth-child(9) {
    width: 100%;
  }

  .results-wrapper-list-item_2 .results-wrapper-list-item__inner > div:nth-child(1),
  .results-wrapper-list-item_2 .results-wrapper-list-item__inner > div:nth-child(2),
  .results-wrapper-list-item_2 .results-wrapper-list-item__inner > div:nth-child(3),
  .results-wrapper-list-item_2 .results-wrapper-list-item__inner > div:nth-child(4),
  .results-wrapper-list-item_2 .results-wrapper-list-item__inner > div:nth-child(5),
  .results-wrapper-list-item_2 .results-wrapper-list-item__inner > div:nth-child(6),
  .results-wrapper-list-item_2 .results-wrapper-list-item__inner > div:nth-child(7) {
    width: 33.3%;
  }

  .results-wrapper-list-item_2 .results-wrapper-list-item__inner > div:nth-child(8) {
    width: 100%;
  }

  .pc {
    display: none;
  }

  .mobile-modal #hotelform-place_count-mobile, .mobile-modal #hotelform-child_place_count-mobile {
    margin-bottom: 25px;
  }
  .mobile-modal #hotelform-place_count-mobile {
    margin-top: 25px;
  }

  .results-wrapper-list-item_3 .results-wrapper-list-item__inner > div:nth-child(1),
  .results-wrapper-list-item_3 .results-wrapper-list-item__inner > div:nth-child(2) {
    width: 50%;
  }

  .results-wrapper-list-item_3 .results-wrapper-list-item__inner > div:nth-child(3),
  .results-wrapper-list-item_3 .results-wrapper-list-item__inner > div:nth-child(4),
  .results-wrapper-list-item_3 .results-wrapper-list-item__inner > div:nth-child(5) {
    width: 33.3%;
  }

  .results-wrapper-list-item_3 .results-wrapper-list-item__inner > div:nth-child(6) {
    width: 100%;
  }

  .registration-tabs__switch li {
    text-align: center;
  }

  .registration-tabs__switch li:not(:last-child) {
    margin-right: 0;
  }


  .full-section__wrapper {
    padding-top: 105px;
  }
}
