/***************** Адаптивная верстка *******************/

/** от 992 до 1359 **/
@media (min-width: 992px) and (max-width: 1359px)  {


/****** Шапка  *****/

.colwrapp { margin-left:0;margin-right:0 }
.carousel-inner .item img { width:1365px;max-width:unset; }
.nav>li>a { padding:16px 5px; }
.carousel-indicators { width:30%; }
.carousel-caption { top:48%;margin-right:5%;margin-left: 44%; }
.carousel-caption h3 { font-size:22px;width:100%; }
.logo-box { margin-left:10px; }
.top-menu { font-size:11px; }
.overslide { padding:20px 0.166667% 0 }
.sl-caption-descr { width:90%; }
.podberi { left: calc(107% + 20px); }
.top-mega{ top:40px; }


/*test*/
/*.top-cont-right { width:65px }
.top-cont-left { width:calc(54.16666667% - 65px);margin-left: calc(100% - 54.16666667% - 65px); }*/
.top-cont { margin-top:5px; }

/***** Главная страница ******/
.likes-count .btn { padding:5px 10px; }
.fp-news-top.news-list { padding-top: 5px;border-top: 1px solid #ddd; }
.fp-more-news { position: absolute;bottom: 10px;right: 10px; }
.fp-news-block { padding-bottom:20px; }
.fp-country-list-box ul { column-count: 6; }
.fp-country-list-box ul.bottom-country li.country-icon { width: 20%; }

/********** Футер  ************/
.f-socbtn a { margin:0 3px;width:32px;height:32px;padding-top:4px; }
.f-socbtn i { font-size:21px; }


/***** внутренние страницы ************/
.news-item-top .news-img-list { width:430px; }
.news-filter-block label { margin-top:4px; }
.news-item-top .news-list-txt-part { width: calc(100% - 430px);height: 240px; }
/*.news-item-top .news-list-text { height:115px; }*/


.office-list-text { font-size:13px;padding:3px 10px; }
.office-list-text li .fas { top:1px; }
.li-column-6 ul {     column-count: 4; }

.flags-ab div.col-ul { column-count:3; }

 }
@media (min-width: 992px) and (max-width: 1059px) {
.carousel-caption { margin-left:460px }
}



@media (max-width: 1359px)  {
.tour-table .tour-params-route .trun-text.long-route { width:100%; }

 }

@media (max-width: 1170px)  {

div.col-ul.flags-ru-ab  { column-count:3; }

}

/***** 1100 ******/
@media (max-width: 1100px)  {
.action-img.news-img { width:50%; }
.action-meta { width:calc(50% - 20px); }
.flags-ab div.col-ul { column-count:2; } 
}

/********** правило для разрешения менее 991px *********************/

@media (max-width: 991px) {

.md-m-bot-10 { margin-bottom:10px; }



.hidden-less-md { display:none; }
.visible-less-md { display:block; }
.country-pages .page-menu:after { display:none; }


.news-list-items { display:block; }
.news-item-top .news-img-list { float:none;width:100%;height:150px; }
.news-item-top .news-list-txt-part { float:none;border:none;width:100%;height:auto; }
.news-item-top .news-list-text { height:auto;/*max-height:100px;*/ }
.news-item-top .top-news-over { max-height: none; }
.news-list-items .news-item-top h2 { max-height:none; }
.news-item-top { padding-top:20px;padding-bottom:20px;background:#fff1df }

.manager-item { margin-bottom:20px; }

.places-choose { display:block; }

.tour-table ul li.tour-params-date .trun-text.long-days { position: static;visibility: visible;opacity: 1;display: block;border: none;box-shadow: none;padding-left:0px;padding-bottom:0;padding-top:0;top:0;left:0 }
.tour-table ul li.tour-params-date .trun-text.long-days:before { display:none; }
.trun-text.short-days { display:none; }

.tour-table .tour-params-route .trun-text.long-route { position: static;visibility: visible;opacity: 1;display: block;border: none;box-shadow: none;padding-bottom:0;padding-top:0;top:0;left:0;padding-left:0px; }
.trun-text.short-route { display:none; }
.tour-table .tour-params-route .trun-text.long-route .fa { left:0;top:0; }

.country-page.places-choose .li-column-6 ul { column-count: 4; }

.country-page.places-choose .li-column-1 ul { column-count: 3; }


div.col-ul.flags-fp { column-count:4; }


.phone-star-box { justify-content: center; }

.tmm-content-block .phone-star-box { background:none;border-top: 1px solid #3e646f;padding: 15px 0;height: auto;/*justify-content: flex-start;*/ }

 }

@media (min-width: 992px) {
.hidden-less-md { display: unset; }
.visible-less-md { display:none; }
 }

/***************************************/





/** от 768 до 992 **/

@media (min-width: 768px) and (max-width: 991px) {

/****шапка ******/
.top-head { margin-bottom:20px; }
.colwrapp { margin:0;margin-top:20px }
.carousel.slide { padding-bottom:0;/*margin-top:-62px;*/ }
.carousel-inner .item img { width: 1024px;max-width: unset; }
.carousel-caption { margin-left:10%;margin-right:10%;z-index:101; }
.carousel-caption h3 { width:100%; }
.carousel-indicators {     bottom: 10px;left: 30%;right: 30%;width: unset;text-align: center;margin-left: 0; }
.overslide-sm { position:absolute;left:0;bottom:0;right:0;z-index:100; }
.overslide-sm .podberi { left:10px;bottom:10px; }
.sl-recall-btn { position:absolute;right:10px;bottom:10px; }
.sl-recall-btn, .overslide-sm .podberi { min-width:200px; }
.tour-choose .field3.m-left-1px { margin-left:0; }
.tour-choose .fields { margin-bottom:5px; }

.bad-icons.icon1 { background-position:-4px -3px; }
.bad-icons.icon2 { background-position:-4px -50px; }
.bad-icons.icon3 { background-position:-4px -94px; }

/* Разное */
.fp-country-list-box ul { column-count: 4; }
.fp-country-list-box ul.bottom-country li.country-icon { width: 25%; }

.f-sesoc { margin-bottom:20px;border-top:1px solid #fff;border-bottom:solid 1px #fff;padding-top:20px;padding-bottom:20px; }


/***** универсальные теги ******/
.sm-block-center { margin-left:auto;margin-right:auto }
.sm-text-center { text-align:center; }
.sm-m-bot-10 { margin-bottom:10px; }
.sm-m-bot-20 { margin-bottom:20px; }
.sm-m-bot-30 { margin-bottom:30px; }
.sm-m-top-10 { margin-top:10px; }
.sm-m-top-20 { margin-top:20px; }
.sm-m-top-30 { margin-top:30px; }

 }



/*** До 800 для некоторых случаев ***/
@media (max-width: 800px) {

.office-list-item .office-adr { float:none;width:100%; }
.office-list-item .office-photo { float:none;display:none; }
.office-list-item .office-adr .office-list-text { border-right-width:3px; }

.excursion-list-item.d-flex { display:block; }
.hotels-list-item-img, .excurs-list-item-text { float:none;width:100%;min-height:250px; }

.hotels-list-item-text{ width:100%;float:none; } 


}

/** до 768 **/

@media (max-width: 768px)  {

.modal-header .close { right:10px;top:11px; }
.modal-logo img { margin-left:-20px; }
.modal-header .ico-close { background-color: #46959F;background-image:url(/t/i/close-w.png)}


/****шапка ******/
.top-head { margin-bottom:20px; }
.colwrapp { margin:0;margin-top:20px }
.carousel.slide { padding-bottom:0;/*margin-top:-62px;*/ }
.carousel-inner .item img { width: 940px;max-width: unset; }
.carousel-caption { margin-left:20px;margin-right:20px;z-index:101;top:20%; }
.carousel-caption h3 { width:100%; }
.sl-caption-descr { width:100%; }
.carousel-indicators {     bottom: 5px;left: 30%;right: 30%;width: unset;text-align: center;margin-left: 0;margin-bottom:0; }
.overslide-sm { position:absolute;left:0;bottom:0;right:0;z-index:100; }
.overslide-sm .podberi { left:10px;bottom:35px; }
.sl-recall-btn { position:absolute;right:10px;bottom:35px; }
.sl-recall-btn, .overslide-sm .podberi { min-width:200px; }
.tour-choose .m-left-1px { margin-left:0; }
.tour-choose .fields { margin-bottom:5px; }




/*** главная страница ***/

.block-lines > div { margin-bottom:20px; }
.block-lines { margin-bottom:0; }

/*  Разное  */

.fp-country-list-box ul { column-count: 4; }
.fp-country-list-box ul.bottom-country li.country-icon { width: 33%; }
.f-sesoc { margin-top:0;margin-bottom:20px;border-top:none;border-bottom:solid 1px #fff;padding-top:0px;padding-bottom:20px; }



/***** универсальные теги ******/
.xs-block-center { margin-left:auto;margin-right:auto }
.xs-text-center { text-align:center; }
.xs-m-bot-10 { margin-bottom:10px; }
.xs-m-bot-20 { margin-bottom:20px; }
.xs-m-bot-30 { margin-bottom:30px; }
.xs-m-top-10 { margin-top:10px; }
.xs-m-top-20 { margin-top:20px; }
.xs-m-top-30 { margin-top:30px; }


.action-img.news-img { width:100%;float:none;margin-bottom:20px; }
.action-meta { width:100%;float:none; }

.visacol { columns: 3;}

 }


 @media (max-width: 747px) {

.tour-table ul li.tour-params-night,.tour-table ul li.tour-params-date,.tour-table ul li.tour-params-fly { float:none;width:100%;margin-bottom:10px;}
.tour-table ul li.tour-params-date { width:90%; }



 }

 @media (max-width: 650px) {

 div.col-ul.flags-fp { column-count:2; }
 div.col-ul.flags-ru-ab  { column-count:2; }

 }


 @media (max-width: 599px) {

.hide-less-600 { display:none; }
.page-table.compare .col1 { width:65%; }
.page-table.compare .col6 { width:25%; }
.page-table.compare .col7 { width:10%; }
.page-table.compare .val-toggler { width:100%; }


 .country-page.places-choose .li-column-6 ul { column-count: 2; }
 .country-page.places-choose .li-column-1 ul { column-count: 1; }

 .visacol { columns: 2;}   

 }
 @media (min-width: 600px) {
 .show-less-600 { display:none; }
 }


 @media (max-width: 450px)  {
.overslide-sm .sl-recall-btn, .overslide-sm .podberi  { padding: 12px 5px;min-width:150px; }

/*  Разное  */

.tmm-top-line-menu .row { margin-left:5px;margin-right:5px; }
.tmm-top-line-menu .row > div { white-space: nowrap;text-overflow: ellipsis;overflow: hidden; }
.fp-country-list-box ul { column-count: 2; }
.fp-country-list-box ul.bottom-country li.country-icon { width: 50%; }

 div.col-ul.flags-fp { column-count:1; }
 div.col-ul.flags-ru-ab  { column-count:1; }

 .page-table.tour-table tr th, .page-table.tour-table tr th h2 { font-size:14px; }

 }











@media (min-width: 1360px) {
.container {
    width: 1360px;
}
}


@media (max-width: 1359px) {
.container {
    width: 100%;
}
}