/* изменение дефолтных значений контейнеров bootstrap */

@media only screen and (min-width: 1200px) {
    header>.container {
        height: auto;
        line-height: unset;
    }
}

@media (min-width: 1200px) {
    /*.container {
        max-width: 1230px;
    }*/
    .main-menu>ul>li:hover .down_menu,
    .down_menu:hover {
        max-height: 600px;
        opacity: 1;
        transition: all 0.3s;
    }
    .fast-form .form-group {
        width: 20%;
    }
}


/* 1360 ноутбуки */

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


/* 1024 iPad горизонтально */

@media only screen and (max-width: 1199px) {
    :root {
        --header-height: 82px;
    }

    .tours-wrapper .row {
        --bs-gutter-y: 0.85rem;
        --bs-gutter-x: 0.85rem;
    }

    .main-image .title h1,
    .main-image .title .h1 {
        font-size: 40px;
    }

    /* Mobile menu */
    .mobile-menu {
        display: block;
    }

    .error404 {
        padding-top: 62px;
        background-position: center 62px;
    }
    .calendar .day b {
        width: 50px;
        height: 50px;
        line-height: 48px;
    }
    .main-title.left-align {
        width: 940px;
        margin-left: -470px;
    }
    .history .name {
        font-size: 61px;
    }
    .history .position {
        bottom: 178px;
    }
    .main-title.left-align .sub {
        width: auto;
        margin-right: 300px;
    }
    .contacts-form .personal_box {
        width: 360px;
        margin-top: 38px;
    }
    .contacts-form button {
        width: 200px;
    }
    .contacts-form .social a:nth-child(1) svg {
        margin-right: 36px;
    }
    .contacts-form .social a:nth-child(2) svg {
        margin-right: 25px;
    }
    .contacts-form .social a:nth-child(3) svg {
        margin-right: 32px;
    }
    .guide {
        /*width: 33.33333337%;*/
    }
    .guide .name {
        margin-bottom: 0.47em;
    }
    .guide img {
        margin-bottom: 0.69em;
    }
    .gift-bnr .btn {
        float: none;
    }
    .gift-bnr {
        text-align: center;
    }
    .bnr_title {
        margin-left: 80px;
        display: block;
        padding: 13px 0 22px;
        text-align: left;
    }
    .gift-bnr .icon {
        float: left;
    }
    .price_grad .item .item_title,
    .price_type .item .item_title {
        font-size: 20px;
    }
    .price_grad .item .item_wrap {
        min-height: 170px;
    }
    .note_links a {
        font-size: 16px;
    }
    input[type=text] {
        font-size: 16px;
    }
    .tpl-51 .history {
        padding-top: 125px;
    }
    /* tour item */
    .tour-info {
        position: relative;
        display: block;
        width: 100%;
        opacity: 1;
    }
    .tour-item .title,
    .tour-item .tour-data,
    .tour-item .tour-img:after {
        display: none;
    }
    .tour-item .tour-info .title,
    .tour-item .tour-info .tour-data,
    .gallery .tour-item .tour-img:after {
        display: block;
    }
    .tour-item .tour-info .title {
        margin-bottom: 17px;
        height: 52px;
    }
    .tour-item .tour-info p {
        height: 100px;
    }
    .tour-info {
        padding: 25px 20px 25px 25px;
    }
    /*.tour-data {
		bottom: 28px;
		margin-bottom: -40px;
	}*/
    .tour-item .more-info {
        padding: 0 20px;
        /*bottom: 20px;*/
        left: 20px;
        right: auto;
    }
    .tour-item .title,
    .tour-item .title2,
    .it--category {
        left: 20px;
    }
    .tour-item .tour-info .more-info {
        display: inline-block;
        position: static;
        border: 2px solid #800000;
        color: #800000;
        width: 100%;
    }
    .tour-item .tour-info .more-info:hover {
        background: #800000;
        border: 2px solid #800000;
    }
    .tour-item .tour-info .tour-data {
        padding: 20px 0;
        position: static;
    }
    .tour-item .more-info {
        display: none;
    }
    .category-item-col .tour-item .more-info,
    .category-item-col .tour-item .title,
    .category-item-col .tour-item .tour-data,
    .category-item-col .tour-item .tour-img:after {
        display: block;
    }
    /* END tour item */
    .btn--feedback,
    .slick-arrow,
    section.breadcrumbs,
    .tours-search {
        display: none;
    }
    .fast-form .form-group:nth-child(1),
    .fast-form .form-group:nth-child(2) {
        border-bottom: 1px solid #E0E0E0;
    }
    .fast-form .form-group:nth-child(1),
    .fast-form .form-group:nth-child(3),
    .fast-form .form-group:nth-child(4) {
        border-right: 1px solid #E0E0E0;
    }
    .fast-form .form-group {
        padding-bottom: 0;
    }
    .fast-form__button {
        border-top-right-radius: 0;
    }
    #container .main-image {
        height: 400px;
    }
    .vertical-item .tour_mobile_img {
        flex-basis: auto;
    }
    .vertical-item .tour_block_main {
        height: 370px;
    }
}


/* 768 iPad вертикально */

@media only screen and (max-width: 991px) {
    :root {
        --header-height: 64px;
        --bs-gutter-x: 1.5rem;
    }
    .tours-wrapper .row {
        --bs-gutter-y: 1.5rem;
        --bs-gutter-x: 1.5rem;
    }
    .calendar .day b {
        width: 70px;
        height: 70px;
        line-height: 68px;
    }
    .calendar {
        margin-bottom: 40px;
    }
    .right-icons {
        white-space: nowrap;
    }
    .tours-slide .desc {
        font-size: 18px;
    }
    .tours-slide .title {
        font-size: 24px;
    }
    .col-filter-duration {
        margin-top: 40px;
    }
    .main-title.left-align {
        width: 720px;
        margin-left: -360px;
    }
    .main-title.left-align img.title-big-logo {
        width: 380px;
    }
    .main-title .title {
        font-size: 40px;
    }
    .digits .item .d {
        font-size: 50px;
    }
    .digits .item .desc {
        font-size: 16px;
    }
    .history .name {
        font-size: 79px;
    }
    .history .position {
        bottom: 348px;
    }
    .col-history-img {
        margin-bottom: 50px;
    }
    .accordion .ui-widget-content {
        padding: 30px;
    }
    .accordion .ui-widget-content .row {
        margin-top: 30px;
    }
    .accordion .ui-widget-content .row:first-child {
        margin-top: 0;
    }
    .accordion .btn {
        padding: 0 20px;
    }
    .contacts-form button {
        width: 180px;
    }
    .main-title.main-title-tour .btn {
        right: auto;
        bottom: -100px;
        left: 0;
    }
    .sub-icons {
        margin-top: 45px;
    }
    .first-row {
        height: 64px;
    }
    .first-row .btn_backcall {
        display: none;
    }
    .filter-button-group li,
    .inline-submenu li {
        margin-right: 40px;
    }
    .tour-images .graph {
        margin-left: 35px;
        font-size: 30px;
    }
    .row.day {
        margin-bottom: 40px;
    }
    .col-day-img {
        padding-left: 130px;
    }
    .col-payment-text {
        margin-bottom: 40px;
    }
    .traveler-note .note {
        padding: 40px 40px 10px;
    }
    .contacts-form .button-group {
        margin-top: 20px;
    }
    .contacts-form .button-group .btn {
        float: none;
        margin-top: 10px;
    }
    .guide {
        width: 33.33333337%;
    }
    .gift-bnr {
        font-size: 30px;
    }
    .bnr_title {
        padding: 20px 0 30px;
    }
    .tour-intro-section {
        padding-top: 50px;
    }
    #gift {
        width: 640px;
    }
    .price_grad .item .item_title,
    .price_type .item .item_title {
        font-size: 16px;
    }
    .price_type .item .item_info .price,
    .price_type .item .item_info .old_price {
        font-size: 18px;
    }
    .price_type .item .number input[type=number] {
        width: 80px;
    }
    .tpl-51 .history .img {
        max-width: 400px;
    }
    .tpl-51 .history .h3 {
        display: none;
    }
    .tpl-51 .history {
        padding-top: 95px;
    }
    .logo-text {
        margin-left: 17px;
    }
    .logo-text span {
        font-size: 16px;
    }
    #container .main-image {
        height: 460px;
        position: relative;
    }
    .main-image .container {
        position: static;
    }
    .main-image__backgrounds,
    .fast-form-section{
        left: 0;
        right: 0;
    }
    .main-image__content {
        padding-left: 0;
        padding-right: 0;
    }
    .filter-block {
        border-radius: 0;
        margin-bottom: 0;
    }
    .tab--header {
        border-bottom: none;
        border-top: 1px solid #f1f1f1;
    }
    .popular_tours .tour_block_main,
    .vertical-item .tour_block_main {
        height: 440px;
    }
    .form-feedback {
        height: auto;
        padding-bottom: 50px;
    }
    .feedback-form,
    .hotel-slider {
        width: auto;
    }
    .tour-item .tour-info p {
        height: 140px;
    }
    .tabs--header {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
    }
    .main-title .row .btn {
        margin-top: 40px;
    }
    .advantages {
        padding-top: 48px;
    }
    .main-image__slider .container {
        padding-left: var(--bs-gutter-x);
        padding-right: var(--bs-gutter-x);
    }
    .filter_col {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 320px;
        height: calc(100vh - var(--header-height));
        z-index: 120;
        background: var(--color-white);
        transform: translateX(-100%);
        -webkit-transition: transform .5s ease-in-out;
        transition: transform .5s ease-in-out;
        overflow: auto;          /* скролл внутри меню */
        overscroll-behavior: contain; /* чтобы жесты не “пробивали” фон */
        -webkit-overflow-scrolling: touch;
        -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .3);
        box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    }
}


/* смартфоны */

@media only screen and (max-width: 767px) {
    :root {
        --header-height: 60px;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .advantages .adv_tour_row {
        display: block;
    }
    .adv_tour:first-child {
        border-right: none;
    }
    .phone {
        font-size: 14px;
        font-weight: 600;
    }
    .main-image-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
    }
    .mobile-main-image {
        display: block;
    }
    .main-image .title h1 {
        font-size: 32px;
    }
    .main-title {
        position: relative;
        margin-top: 50px;
        z-index: 5;
        top: auto;
        bottom: auto;
    }
    .main-title.left-align {
        padding-left: 20px;
        padding-right: 20px;
    }
    .main-title.left-align .btn {
        position: static;
        margin-top: 20px;
    }
    .main-title .title {
        font-size: 24px;
    }
    .top_old_price {
        position: static;
    }
    .error404 .t {
        font-size: 16px;
    }
    .sitemap {
        font-size: 14px;
    }
    .sitemap,
    .sitemap ul {
        padding-left: 1.5em;
    }
    /* tour item */
    .tour-info {
        position: relative;
        display: block;
        width: 100%;
        opacity: 1;
    }
    .tour-item .bg {
        height: 336px;
    }
    .tour-item .title,
    .tour-item .tour-data,
    .tour-item .tour-img:after {
        display: none;
    }
    .category-item-col .tour-item .title,
    .category-item-col .tour-item .tour-data,
    .category-item-col .tour-item .tour-img:after,
    .tour-item .tour-info .title,
    .tour-item .tour-info .tour-data,
    .gallery .tour-item .tour-img:after {
        display: block;
    }
    .tour-item .tour-info .title {
        margin-bottom: 17px;
    }
    .tour-info {
        padding: 25px 20px 25px 25px;
    }
    .tour-data {
        bottom: 28px;
    }
    .tour-item .more-info {
        padding: 0 20px;
        /*bottom: 20px;
    	right: 20px;*/
    }
    .tour-item .tour-info .more-info {
        display: inline-block;
        position: static;
        border: 2px solid #800000;
        color: #800000;
        width: 100%;
    }
    .tour-item .tour-info .more-info:hover {
        background: #97301a;
        border: 2px solid #97301a;
    }
    .tour-item .tour-info .tour-data {
        padding: 20px 0;
        position: static;
    }
    /* END tour item */
    .text_page h1,
    .text_page .h1 {
        font-size: 26px;
        line-height: 1.2em;
    }
    .text_page {
        padding-top: 90px;
        padding-bottom: 0;
    }
    .text_page h2,
    .text_page .h2 {
        font-size: 22px;
        line-height: 1.2em;
    }
    footer .col1 {
        float: right;
    }
    footer .col3 {
        text-align: left;
    }
    .corp-item {
        margin-bottom: 40px;
    }
    .calendar .day b {
        width: 42px;
        height: 42px;
        line-height: 38px;
    }
    .add-traveler span {
        vertical-align: middle;
    }
    .add-traveler span.t {
        border-bottom: none;
        text-decoration: underline;
        width: 200px;
    }
    .traveler-form .phone-field {
        margin-top: 0;
    }
    footer .col2 {
        text-align: center;
    }
    footer .col1,
    footer .col2 {
        margin-bottom: 40px;
    }
    footer .col4 {
        margin-bottom: 22px;
    }
    .actions-slider,
    .tours-slider,
    .d-slider {
        margin-left: 0;
        margin-right: 0;
    }
    .tours-slide .cont {
        padding-left: 20px;
        padding-right: 20px;
    }
    .slider-tours {
        margin-top: 40px;
    }
    .slider-tours {
        padding-bottom: 50px;
    }
    .has-tours {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .has-tours .h2 {
        margin-bottom: 40px;
    }
    .has-tours .h4,
    .has-tours .note {
        text-align: center;
    }
    .col-filter-1,
    .col-filter-2 {
        margin-bottom: 40px;
    }
    .header-col-logo {
        text-align: left !important;
    }
    .show-more {
        margin-top: 0;
    }
    .main-title.left-align {
        width: 100%;
        margin-left: 0;
        left: auto;
    }
    .main-title.main-title-tour .btn,
    .main-title.main-title-tour.left-align .btn {
        left: 20px;
        right: 20px;
    }
    .sub-icons .tour-data .ic {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    .sub-icons .tour-data .ic img {
        height: 20px;
    }
    .sub-icons .tour-data .it {
        margin-bottom: 15px;
    }
    .tour-intro-section {
        padding-top: 50px;
    }
    .inline-submenu,
    .filter-button-group,
    .payment .h2 {
        margin-bottom: 40px;
    }
    .inline-submenu li,
    .filter-button-group li {
        margin-bottom: 15px;
    }
    .inline-submenu li:last-child,
    .filter-button-group li:last-child {
        margin-bottom: 0;
    }
    .tour-intro,
    .about-text {
        font-size: 18px;
        line-height: 1.4em;
        margin-bottom: 40px;
    }
    .tour-images .left-side .img {
        width: 100%;
    }
    .tour-images .graph {
        font-size: 28px;
        margin-left: 20px;
        margin-top: 20px;
    }
    .tour-menu {
        width: auto;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .tour-video {
        position: static;
    }
    .day-num {
        float: none;
    }
    .day-info {
        margin-left: 0;
    }
    .col-day-img {
        padding-left: calc(var(--bs-gutter-x) / 2);
        padding-top: calc(var(--bs-gutter-x));
    }
    .row.day:not(:last-child):before,
    .row.day:before {
        display: none;
    }
    .day-info .title,
    .day-info .time {
        line-height: 30px;
    }
    .paginate li {
        margin: 0 10px;
    }
    .paginate li a {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    .booking {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .booking .h2 {
        margin-bottom: 20px;
    }
    .calendar .months,
    .form-title {
        line-height: 60px;
    }
    .calendar .months .m-prev,
    .calendar .months .m-next {
        top: 20px;
    }
    .calendar .day {
        padding: 2px 0;
    }
    .payment {
        margin-top: 50px;
        padding-top: 30px;
        padding-bottom: 40px;
    }
    .payment .text .btn-trans span {
        display: none;
    }
    .payment .text .btn-trans:after {
        content: 'договор оферты';
    }
    .paper {
        padding: 0;
        font-size: 14px;
        margin-left: 0;
    }
    .paper.text ul li:before {
        top: 5px;
    }
    .paper.text ul li {
        margin-bottom: 5px;
    }
    .popup_contact .paper {
        padding: 30px;
    }
    #personal,
    #oferta {
        width: 90%;
    }
    .review__text {
        padding-top: 15px;
    }
    .reviews__items {
        margin-top: 20px;
    }
    .section_subtitle {
        margin-bottom: 1.5em;
    }
    .traveler-note .note {
        padding: 20px 20px 10px;
        margin-top: 40px;
    }
    .traveler-note .note .h2 {
        font-size: 24px;
    }
    #inner .tours.other-tours .h2,
    .slider-actions .h2 {
        margin-bottom: 40px;
    }
    #inner .tours.other-tours,
    .slider-actions {
        padding-top: 40px;
    }
    .grid-item,
    .tour-item-col {
        margin-bottom: 20px;
    }
    .traveler-note {
        padding-top: 50px;
        padding-bottom: 37px;
    }
    .big-logo img {
        width: 160px;
        height: 30px;
    }
    .tour-images {
        margin-bottom: 50px;
    }
    .main-title.left-align .btn {
        right: auto;
        left: 20px;
    }
    .main-title.left-align {
        padding-bottom: 100px;
    }
    .main-title .sub {
        font-size: 18px;
        line-height: 1.2em;
        margin-top: 15px !important;
    }
    .main-title.left-align img.title-big-logo {
        width: 240px;
    }
    .main-title .title {
        line-height: 1.1em;
    }
    .tpl-4 .main-title.left-align .btn,
    .tpl-6 .main-title.left-align .btn,
    .tpl-9 .main-title.left-align .btn {
        position: static;
        margin-top: 20px;
    }
    .about-digits {
        padding-top: 40px;
        padding-bottom: 10px;
        background: none;
    }
    .digits {
        padding-top: 50px;
    }
    .digits .item .d {
        margin-bottom: 10px;
    }
    .digits .item {
        margin-bottom: 30px;
    }
    .history .name {
        font-size: 39px;
        bottom: -5px;
    }
    .history .h3 {
        margin-bottom: 30px;
    }
    .history {
        padding-bottom: 30px;
        margin-bottom: 40px;
    }
    .h3 {
        font-size: 28px;
        margin-bottom: 40px;
        text-align: center;
        line-height: 1.2em;
    }
    #inner .testimonials {
        padding-top: 40px;
    }
    .find-agents {
        padding-top: 40px;
        padding-bottom: 50px;
    }
    #inner .testimonials {
        padding-bottom: 40px;
    }
    .find-agents .sub-h2 {
        margin-bottom: 30px;
    }
    .history .position {
        bottom: 53px;
    }
    .history .position {
        font-size: 18px;
    }
    .vacancy {
        padding-top: 40px;
    }
    .accordion.ui-accordion .ui-accordion-header {
        padding: 10px 20px;
        line-height: 1.5em;
        height: 83px;
        font-size: 18px;
        font-weight: 600;
        padding: 14px 20px;
    }
    .accordion .price-right {
        float: none;
        font-size: 20px;
    }
    .accordion .ui-accordion-header-icon {
        right: 20px;
    }
    .accordion .ui-widget-content {
        padding: 15px;
    }
    .accordion .ui-widget-content p {
        font-size: 14px;
    }
    .accordion .ui-widget-content .row:first-child .col-sm-6:first-child {
        margin-bottom: 30px;
    }
    .accordion .btn span {
        display: none;
    }
    .accordion .btn:after {
        content: 'скачать';
    }
    .accordion.ui-accordion .ui-accordion-header {
        margin-top: 10px;
    }
    .vacancy {
        padding-bottom: 50px;
    }
    #inner .tours.gallery .h2 {
        margin-bottom: 40px;
    }
    #inner .tours.gallery {
        padding-top: 120px;
    }
    .inline-submenu li {
        margin-right: 20px;
        margin-left: 0;
    }
    .filter-button-group li {
        margin-right: 10px;
        margin-left: 10px;
    }
    .filter-button-group li:last-child {
        margin-right: 10px;
    }
    .filter-button-group li {
        padding-bottom: 0;
        font-size: 16px;
    }
    .grid-item .tour-item .tour-data {
        display: block;
        left: 20px;
    }
    .grid-item .tour-item .title2 {
        left: 20px;
        padding-right: 20px;
    }
    .h1 {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .contacts-intro {
        font-size: 18px;
    }
    .contacts-info {
        margin-top: 100px;
    }
    .contacts-form {
        margin-top: 30px;
    }
    .contacts-form .form-group {
        margin-bottom: 20px;
    }
    .contacts-form .button-group {
        overflow: hidden;
        margin-top: 20px;
    }
    .contacts-form .button-group {
        margin-top: 20px;
    }
    .contacts-form .button-group .btn {
        float: left;
    }
    .contacts-form .button-group .social {
        margin-bottom: 20px;
    }
    .contacts {
        height: auto;
        padding-bottom: 30px;
    }
    .main-title.left-align .sub {
        margin-right: 0;
    }
    #inner .corp .h2,
    .testim-slider .h2,
    .order-corp .h2 {
        margin-bottom: 40px;
    }
    #inner .corp {
        padding-top: 50px;
        padding-bottom: 30px;
    }
    .corp-items {
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .testim-slider,
    .order-corp {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .d-slider .testim-text {
        margin-top: 20px;
    }
    #inner .partners,
    .corp {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .order-corp .desc {
        font-size: 16px;
    }
    .order-corp .form-group {
        margin-bottom: 20px;
    }
    .order-corp textarea {
        height: 150px;
    }
    .order-corp .button-group {
        padding-top: 0;
    }
    .order-corp .btn {
        width: 100%;
    }
    #inner .tours {
        padding-top: 40px;
    }
    #inner footer .social a:nth-child(3) svg {
        margin-right: 0;
    }
    .logo {
        height: 40px;
        width: 38px;
    }
    .burger,
    #inner .burger {
        margin-left: 0;
    }
    .h2 {
        font-size: 24px;
    }
    .sub-h2 {
        font-size: 14px;
    }
    .tours {
        padding-top: 40px;
    }
    .tours-items {
        margin-top: 40px;
        padding-bottom: 40px;
    }
    .advantages .note {
        margin-top: 40px;
    }
    .partners .swiper-container {
        margin-left: 30px;
        margin-right: 30px;
    }
    .partners {
        padding-bottom: 40px;
    }
    .testimonials {
        padding-bottom: 50px;
    }
    #Calendar .date {
        width: 30px;
        height: 30px;
        line-height: 28px;
    }
    #Calendar .cell,
    #Calendar .dow {
        font-size: 14px;
    }
    #Calendar .prev,
    #Calendar .next,
    #Calendar .month {
        height: 60px;
        font-size: 16px;
    }
    #Calendar .dow {
        padding-bottom: 10px;
        padding-top: 20px;
    }
    #Calendar .prev a,
    #Calendar .next a {
        top: 0;
    }
    #Calendar .prev a:before, 
    #Calendar .next a:before {
        top: 20px;
    }
    .form-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    footer .col1,
    footer .col2 {
        margin-bottom: 0;
    }
    footer .col1 {
        text-align: right;
    }
    .title-big-logo {
        display: none;
    }
    .partners .swiper-button-prev {
        left: 0;
    }
    .partners .swiper-button-next {
        right: 0;
    }
    .slider-tours .swiper-button-prev,
    .testim-slider .swiper-button-prev {
        left: 22px;
    }
    .slider-tours .swiper-button-next,
    .testim-slider .swiper-button-next {
        right: 22px;
    }
    .swiper-container-horizontal.advantages-slider>.swiper-pagination-bullets {
        bottom: 0;
    }
    .advantages-slider {
        padding-bottom: 50px;
    }
    .advantages {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    footer .social a:nth-child(1) svg,
    #inner footer .social a:nth-child(1) svg {
        margin-right: 22px;
    }
    footer .social a:nth-child(2) svg,
    #inner footer .social a:nth-child(2) svg {
        margin-right: 18px;
    }
    footer .social a:nth-child(3) svg,
    #inner footer .social a:nth-child(3) svg {
        margin-right: 20px;
    }
    footer .social a:nth-child(4) svg,
    #inner footer .social a:nth-child(4) svg {
        margin-right: 0;
    }
    footer .social {
        margin-bottom: 13px;
    }
    footer {
        padding: 25px 0 22px;
    }
    footer .dev {
        margin-bottom: 0;
    }
    footer .col1 .copy {
        font-size: 15px;
        letter-spacing: 0.025em;
    }
    .main-image .swiper-button-prev,
    .main-image .swiper-button-next {
        display: none;
    }
    .advantages .note {
        font-size: 16px;
    }
    .inline-submenu li a {
        font-size: 12px;
        padding-bottom: 1px;
    }
    .inline-submenu li {
        margin-right: 10px;
    }
    .history {
        margin-top: 40px;
    }
    .f-message {
        width: auto;
        padding: 0;
    }
    .f-message.success {
        padding-bottom: 40px;
    }
    .f-message .f1 {
        font-size: 40px;
    }
    .f-message .f2 {
        font-size: 20px;
        font-weight: 400;
        line-height: 1.3em;
    }
    .btn-vk {
        width: 100%;
    }
    .vk-head {
        font-size: 16px;
        line-height: 60px;
    }
    .vk-content {
        padding: 20px;
    }
    .vk-t-item {
        margin-right: 20px;
    }
    .vk-t-item .img,
    .vk-t-item .date {
        float: none;
    }
    .vk-t-item .date {
        margin-bottom: 10px;
    }
    .vk-t-item .vk-t-content {
        margin-left: 0;
        margin-top: 20px;
    }
    .vk-t-item .name {
        font-size: 18px;
    }
    .vk-t-item {
        font-size: 14px;
        line-height: 1.2em;
    }
    .vk-t-item .gallery img {
        max-width: 100px;
        max-height: 100px;
    }
    .col-note-2 {
        margin-top: 40px;
    }
    .big-logo {
        display: none;
    }
    .agent-block {
        font-size: 28px;
    }
    .agent .col1,
    .agent .col2 {
        margin-bottom: 40px;
    }
    .agent .btn-group .btn {
        width: 100%;
    }
    .pricelist .title {
        font-size: 20px;
        line-height: 1.2em;
        padding: 10px 24px;
    }
    .agent .offer,
    .individ .offer {
        font-size: 18px;
        margin-top: 30px;
    }
    .col-individ-2 {
        margin-top: 30px;
    }
    .individ {
        padding-top: 40px;
    }
    .individ .h2 {
        margin-bottom: 30px;
    }
    .actions-slider,
    .tours-slider {
        overflow: visible;
    }
    .sub-icons .tour-data .it {
        margin-right: 0;
        display: block;
    }
    .more-tours {
        width: 100%;
    }
    .main-title.left-align {
        padding-bottom: 35px;
    }
    .vk-t-item:not(:first-child) {
        display: none;
    }
    .vk-content-scroll {
        max-height: 100%;
    }
    .vk-t-item {
        border-bottom: none;
    }
    .agentam_form {
        width: auto;
    }
    .agentam_form .traveler input {
        margin-bottom: 23px;
    }
    #inner .agentam-form-section .h2 {
        font-size: 28px;
        margin-bottom: 50px;
    }
    .agentam_form .btn-white {
        width: 100%;
    }
    .big-dig .b {
        font-size: 180px;
    }
    .error404 .d {
        font-size: 20px;
        top: -170px;
    }
    .center-content {
        padding: 0 20px;
        width: 98%;
    }
    .gut p {
        font-size: 18px;
        line-height: 1.2em;
    }
    .gut h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .gut .btn-group {
        margin-top: 30px;
    }
    .height100 footer {
        height: auto;
    }
    #inner.tpl-15 .tours {
        padding-bottom: 0;
    }
    .error404 {
        padding-bottom: 188px;
        padding-top: 60px;
    }
    .col-payment-text {
        -webkit-column-count: unset;
        -moz-column-count: unset;
        column-count: unset;
    }
    .traveler-form .button-group .btn {
        margin-bottom: 15px;
    }
    .req,
    .contacts-text2 {
        margin-top: 30px;
    }
    .contacts-form .personal_box {
        position: static;
    }
    .buses_item,
    .guide,
    .guide .container,
    .buses .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .guide {
        width: 50%;
    }
    .guides .row,
    .buses .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    .buses_item {
        width: 100%;
        margin-bottom: 2em;
    }
    .buses_item .img {
        margin-bottom: 1.5em;
    }
    .buses {
        padding-top: 2.15em;
        padding-bottom: 2.3em;
    }
    .guides {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .guides_subtitle {
        margin-bottom: 1.5em;
    }
    .guides_title {
        margin-bottom: .5em;
    }
    .jspVerticalBar {
        display: none;
    }
    .payment_page {
        margin-top: 90px;
    }
    .payment_page .contacts-form {
        margin-top: 17px;
        margin-bottom: 50px;
    }
    .height100 #container {
        padding-bottom: 420px;
    }
    .gift-bnr {
        padding-bottom: 30px;
        font-size: 23px;
    }
    .gift-bnr .icon {
        width: 40px;
    }
    .gift-bnr .btn {
        height: 50px;
        line-height: 50px;
    }
    .bnr_title {
        margin-left: 58px;
    }
    .gift-bnr .icon {
        margin-right: 0;
    }
    #gift {
        width: 300px;
    }
    #gift .paper {
        padding: 40px 15px 20px;
        margin-left: 0;
    }
    #gift .guides_title {
        font-size: 1.5em;
        margin-bottom: 1em;
    }
    .gift_popup_desc p {
        font-size: 16px;
    }
    #gift .img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    #gift .serv_item p {
        margin-bottom: 0;
        font-size: 20px;
    }
    #popup_gift_order_form .h2 {
        margin-bottom: 0.5em;
    }
    #popup_gift_order_form {
        padding-top: 30px;
    }
    #popup_gift_order_form .button-group {
        padding-top: 35px;
    }
    .stages_desc {
        font-size: 18px;
        line-height: 1.5em;
    }
    .booking_notes {
    	margin-top: 50px;
    }
    .day-info .desc {
        margin-top: 0;
    }
    .row.day {
        margin-bottom: 50px;
    }
    .price_grad .items,
    .price_type .items {
        display: block;
    }
    .price_grad .item,
    .price_type .item {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .note_links {
        display: block;
    }
    .note_links .link {
        margin-bottom: 15px;
    }
    .price_type .note span {
        display: block;
    }
    .price_type .item .item_info .price,
    .price_type .item .item_info .old_price,
    .price_grad .item .item_title,
    .price_type .item .item_title {
        font-size: 22px;
    }
    .info_popup,
    .popup_contact,
    #offer {
        width: 340px;
    }
    .personal_box {
        width: auto;
    }
    .acticle_item {
        margin-bottom: 20px;
    }
    .text_page img {
        height: auto !important;
    }
    .dwl_button {
        margin-left: 0px;
    }
    .tpl-51 .history {
        padding-top: 45px;
    }
    /*Disable Animation on Mobile Devices*/
    .animated {
        /*CSS transitions*/
        -o-transition-property: none !important;
        -moz-transition-property: none !important;
        -ms-transition-property: none !important;
        -webkit-transition-property: none !important;
        transition-property: none !important;
        /*CSS transforms*/
        -o-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -webkit-transform: none !important;
        transform: none !important;
        /*CSS animations*/
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -o-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
    }
    .logo-text,
    .btn--feedback,
    .slick-arrow,
    section.breadcrumbs {
        display: none;
    }
    .tour_mobile_img {
        display: block;
    }
    .first-row {
        height: 60px;
    }
    .logo_image {
        width: 36px;
    }
    .first-row .row {
        --bs-gutter-x: 1rem;
    }
    #container .main-image {
        height: 600px;
    }
    .tpl-1 #container .main-image {
        height: 400px;
    }
    .contacts-form .personal_box {
        width: auto;
    }
    #nav-tabContent>.tab-pane,
    .left-infotabs-content>.tab-pane {
        display: block;
        visibility: visible;
        overflow: hidden;
    }
    .our-bus {
        width: auto;
        margin: 0 20px;
        padding-bottom: 28px;
    }
    .tab-pane:not(:first-child) .tab-ac-content {
        display: none;
    }
    .active>.tab--header {
        color: #e02020;
        background: #F1F1F1;
    }
    .active>.tab--header i {
        webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
        color: #e02020;
    }
    .bus-image {
        width: 100%;
    }
    .slick-dots {
        top: auto;
        bottom: 34px;
        right: auto;
        width: 100%;
        background: none;
    }
    .our-bus .slick-dots {
        bottom: -4px;
    }
    .slick-dots button {
        margin-right: 7px;
        margin-right: 7px;
    }
    .slick-dots button {
        background: #9d9d9d;
        opacity: 1;
    }
    .our-bus .slick-dots button {
        margin: 0 4px;
    }
    .slick-dots .slick-active button {
        background: #e02020;
    }
    .change-hotel a {
        margin-bottom: 17px;
        height: 30px;
        line-height: 30px;
    }
    .change-hotel p {
        padding: 0;
    }
    .hotel-slider .swiper-container {
        padding-bottom: 50px;
    }
    .yell-arrows .swiper-button-next,
    .yell-arrows .swiper-button-prev {
        display: none;
    }
    .tab-ac-content .vk-comments-section .container {
        padding: 0;
    }
    .form-feedback {
        height: auto;
        padding-bottom: 44px;
    }
    .ff--header .h3 {
        font-size: 20px;
        line-height: 1.4em;
        margin-bottom: 20px;
        margin-top: 0;
    }
    .ff--header p {
        padding: 0;
    }
    .feedback-form {
        display: block;
    }
    .iti {
        display: block;
    }
    .feedback-form button {
        width: 100%;
    }
    .col-day-img img {
        max-width: 100%;
    }
    .site-tours-table,
    .news-gallery {
        padding-bottom: 48px;
    }
    .main-image .title h1 {
        font-size: 26px;
    }
    .sub-icons {
        margin-top: 24px;
    }
    .main-title {
        margin-top: 0;
    }
    .main-title .row .btn {
        margin-top: 14px;
    }
    .warning {
        padding: 5px 15px;
        font-size: 12px;
    }
    .booking-new__contacts .form-group {
        margin-bottom: 15px;
    }
    .fast-form__button {
        height: 64px;
        -webkit-border-radius: 0 0 6px 6px;
        border-radius: 0 0 6px 6px;
    }
    .fast-form .form-group:nth-child(1),
    .fast-form .form-group:nth-child(3),
    .fast-form .form-group:nth-child(4) {
        border-right: 0;
    }
    .fast-form .form-group:nth-child(3) {
        border-bottom: 1px solid #E0E0E0;
    }
    .tour-sticker-logo {
        margin-bottom: 1.5rem;
    }
}

@media only screen and (max-width: 480px) {
    .selected-tour__price {
        display: none
    }
    .selected-tour__tourname {
        padding-left: 20px;
    }
    .cell__price.early {
        margin-top: 0;
    }
    .tourist__adds-col {
        padding-left: 10px;
        padding-right: 10px;
    }
    .tourist__price-wrap,
    .tourist__add-price {
        padding: 10px 0 0 16px;
    }
    .middle-width-form {
        padding: 20px 25px 10px;
    }
}


/* Маленькие смартфоны */

@media only screen and (max-width: 374px) {
    .info_popup,
    .popup_contact,
    #offer {
        width: 300px;
    }
    .info_popup,
    .popup_contact,
    #offer {
        height: 300px;
    }
}