/*
 * Copyright (c) 2019.
 * @author Albert Saetgaraev [xixedev@gmail.com] [https://github.com/xixe/]
 */
.routes-page__points {
  margin-bottom: 30px;
}
.routes-page__points:before,
.routes-page__points:after {
  content: " ";
  display: table;
}
.routes-page__points:after {
  clear: both;
}
.routes-page__point,
.routes-page__glue,
.routes-page__add,
.routes-page__return {
  position: relative;
  float: left;
  width: 100%;
  min-height: 1px;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 25px;
}
@media (min-width: 640px) {
  .routes-page__point {
    width: 44%;
  }
  .routes-page__point:nth-child(4n+1) {
    clear: left;
  }
}
@media (min-width: 990px) {
  .routes-page__point {
    width: 30%;
  }
  .routes-page__point:nth-child(4n+1) {
    clear: none;
  }
  .routes-page__point:nth-child(6n+1) {
    clear: left;
  }
}
.routes-page__point_lock,
.routes-page__point_lock .form-control,
.routes-page__point_lock .routes-page__point-btns {
  cursor: not-allowed !important;
}
.routes-page__point_lock .routes-page__point-btns {
  pointer-events: none;
}
.routes-page__point-label {
  display: block;
  color: #777777;
  cursor: pointer;
}
.routes-page__point-group {
  position: relative;
  display: table;
  border-collapse: separate;
  width: 100%;
}
.routes-page__point-content {
  display: table-cell;
  float: left;
  width: 100%;
}
.routes-page__point-field {
  position: relative;
}
.routes-page__point-field > .form-control {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  height: 58px;
  padding: 12px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
}
select.routes-page__point-field > .form-control {
  height: 58px;
  line-height: 58px;
}
textarea.routes-page__point-field > .form-control,
select[multiple].routes-page__point-field > .form-control {
  height: auto;
}
.routes-page__point-field > .form-control:focus {
  z-index: 3;
}
.routes-page__point-content:last-child > .routes-page__point-field > .form-control {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.routes-page__point-field .field-decoration-mark {
  width: 40px;
  margin-right: 0;
}
.routes-page__point-remove-btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: block;
  font-size: 20px;
  background-color: transparent !important;
  padding: 6px 14px;
  color: #999;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
@media (min-width: 640px) {
  .routes-page__point-remove-btn {
    padding-right: 10px;
    padding-left: 10px;
  }
}
.routes-page__point-remove-btn + .field-decoration-mark:not(:empty) {
  right: 42px;
  width: 22px;
  margin-right: 0.2em;
}
.routes-page__point-remove-btn + .field-decoration-mark:not(:empty) + .form-control {
  padding-right: 70px;
}
@media (min-width: 640px) {
  .routes-page__point-remove-btn + .field-decoration-mark:not(:empty) {
    right: 34px;
  }
  .routes-page__point-remove-btn + .field-decoration-mark:not(:empty) + .form-control {
    padding-right: 64px;
  }
}
.routes-page__point-remove-btn + .field-decoration-mark:empty + .form-control {
  padding-right: 42px;
}
@media (min-width: 640px) {
  .routes-page__point-remove-btn + .field-decoration-mark:empty + .form-control {
    padding-right: 34px;
  }
}
.routes-page__point-number-btn {
  display: inline-block;
  margin: 0 0 0 -1px;
  position: relative;
  z-index: 2;
  color: #fff;
  background-color: #37b721;
  vertical-align: middle;
  cursor: pointer;
  font-weight: bold;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 2.15;
  border-radius: 4px;
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
  border-radius: 0 4px 4px 0;
}
.routes-page__point-btns {
  display: table-cell;
  width: 0.1%;
  white-space: nowrap;
  position: relative;
  font-size: 0;
  vertical-align: middle;
}
.routes-page__point:first-child:nth-last-child(2) .routes-page__point-remove-btn {
  display: none;
}
.routes-page__glue-btn {
  padding-top: 0;
  padding-bottom: 0;
  color: #333333 !important;
  font-size: 24px;
  text-decoration: none !important;
}
@media (min-width: 640px) {
  .routes-page__glue-btn {
    display: block;
    width: 100%;
    min-height: 58px;
    padding: 12px 0;
    font-size: 16px;
    line-height: 2;
    border-radius: 4px;
  }
}
.routes-page__glue-btn:before,
.routes-page__glue-btn:after {
  display: inline-block;
  padding: 0 10px;
  font-family: FontAwesome, "Montserrat", "Helvetica Neue", "Ubuntu", "Arial", sans-serif;
  font-size: 1em;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.routes-page__glue-btn:before {
  content: "\f063";
}
.routes-page__glue-btn:after {
  content: "\f067";
}
@media (min-width: 640px) {
  .routes-page__glue-btn:before,
  .routes-page__glue-btn:after {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .routes-page__glue-btn:before {
    content: "\f061";
  }
  .routes-page__glue-btn:after {
    display: none;
  }
  .routes-page__glue-btn:hover:before {
    display: none;
  }
  .routes-page__glue-btn:hover:after {
    display: inline-block;
  }
}
.routes-page__glue-btn_disabled {
  pointer-events: none !important;
}
.routes-page__glue-btn_disabled:before {
  display: inline-block !important;
}
.routes-page__glue-btn_disabled:after {
  display: none !important;
}
.routes-page__glue-info {
  display: inline-block;
  vertical-align: top;
}
@media (min-width: 640px) {
  .routes-page__glue-info {
    margin-top: 15px;
    width: 0;
  }
}
.routes-page__glue-info-block {
  display: inline-block;
  float: left;
  overflow: visible;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media (min-width: 640px) {
  .routes-page__glue-info-block {
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}
.routes-page__glue-info-content {
  position: relative;
  font-size: 12px;
  background-color: #fff;
  padding: 5px 15px 5px 48px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  min-height: 44px;
  border: 1px solid #c4c4c4;
  border-left-width: 0;
  text-align: left;
  vertical-align: middle;
  -webkit-transition: border-color ease 0.3s;
  -moz-transition: border-color ease 0.3s;
  -ms-transition: border-color ease 0.3s;
  -o-transition: border-color ease 0.3s;
  transition: border-color ease 0.3s;
}
.routes-page_search .routes-page__glue-info-content:hover .routes-page__glue-info-change {
  opacity: 1;
  pointer-events: auto;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .routes-page_search .routes-page__glue-info-content:hover .routes-page__glue-info-change {
    visibility: visible;
  }
}
.routes-page__glue-info-icon,
.routes-page__glue-info-paid {
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: 46px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  color: #fff;
  text-align: center;
  -webkit-transition: background-color ease 0.3s;
  -moz-transition: background-color ease 0.3s;
  -ms-transition: background-color ease 0.3s;
  -o-transition: background-color ease 0.3s;
  transition: background-color ease 0.3s;
}
.routes-page__glue-info-icon {
  left: -1px;
  background-color: #555555;
  font-size: 0;
}
.routes-page__glue-info-icon > i {
  position: absolute;
  left: 50%;
  font-size: 15px;
}
.routes-page__glue-info-icon > i:first-child {
  top: 30%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.routes-page__glue-info-icon > i:last-child {
  bottom: 30%;
  -webkit-transform: translate(-50%, 50%);
  -moz-transform: translate(-50%, 50%);
  -ms-transform: translate(-50%, 50%);
  -o-transform: translate(-50%, 50%);
  transform: translate(-50%, 50%);
}
.routes-page__glue-info-icon > i.baf-icon-transport-air:first-child {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  -moz-transform: translate(-50%, -50%) rotate(45deg);
  -ms-transform: translate(-50%, -50%) rotate(45deg);
  -o-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}
.routes-page__glue-info-icon > i.baf-icon-transport-air:last-child {
  -webkit-transform: translate(-50%, 50%) rotate(45deg);
  -moz-transform: translate(-50%, 50%) rotate(45deg);
  -ms-transform: translate(-50%, 50%) rotate(45deg);
  -o-transform: translate(-50%, 50%) rotate(45deg);
  transform: translate(-50%, 50%) rotate(45deg);
}
.routes-page__glue-info-icon > i:first-child:last-child {
  font-size: 24px;
  top: 50%;
  bottom: auto;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.routes-page__glue-info-paid {
  display: none;
  right: -1px;
  background-color: #33ba53;
}
.routes-page__glue-info-paid > i {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 2em;
}
.routes-page__glue-info-price,
.routes-page__glue-info-duration {
  white-space: nowrap;
}
.routes-page__glue-info-price:first-child:last-child,
.routes-page__glue-info-duration:first-child:last-child {
  line-height: 34px;
}
.routes-page__glue-info-price_twin .price-string:first-child > .price-string__symbol {
  display: none;
}
.routes-page__glue-info-change {
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .routes-page__glue-info-change {
    visibility: hidden;
  }
}
.routes-page__glue-info-change > span {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.routes-page__glue-info-buy {
  display: block;
  width: 100%;
  color: #555555;
  font-weight: bold;
  text-decoration: none !important;
  text-transform: uppercase;
}
.routes-page__glue-info-buy:hover {
  color: #2594e1;
}
.routes-page__glue_active .routes-page__glue-info-content {
  border-color: #37b721;
}
.routes-page__glue_active .routes-page__glue-info-icon {
  background-color: #37b721;
}
.routes-page__glue_paid .routes-page__glue-info-content {
  padding-right: 48px;
  border-right-width: 0;
  border-color: #33ba53;
}
.routes-page__glue_paid .routes-page__glue-info-icon {
  background-color: #33ba53;
}
.routes-page__glue_paid .routes-page__glue-info-paid {
  display: block;
}
.routes-page__glue_paid .routes-page__glue-info-change {
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (min-width: 640px) {
  .routes-page__glue {
    width: 6%;
    text-align: center;
  }
  .routes-page__glue:nth-child(4n) {
    text-align: right;
  }
  .routes-page__glue:nth-child(4n) .routes-page__glue-info-block {
    float: right;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    margin-right: -15px;
  }
}
@media (min-width: 990px) {
  .routes-page__glue {
    width: 3.333333%;
    text-align: center;
  }
  .routes-page__glue:nth-child(4n) {
    text-align: center;
  }
  .routes-page__glue:nth-child(4n) .routes-page__glue-info-block {
    float: left;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    margin-right: 0;
  }
  .routes-page__glue:nth-child(6n) {
    text-align: right;
  }
  .routes-page__glue:nth-child(6n) .routes-page__glue-info-block {
    float: right;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    margin-right: -30px;
  }
}
.routes-page__add {
  text-align: center;
}
@media (min-width: 640px) {
  .routes-page__add {
    width: 6%;
    padding-left: 5px;
  }
}
@media (min-width: 990px) {
  .routes-page__add {
    width: 3.333333%;
  }
}
.routes-page__add-btn {
  z-index: 1;
  padding: 6px 16px;
  font-size: 16px;
  line-height: 2;
  border-radius: 4px;
}
@media (min-width: 640px) {
  .routes-page__add-btn {
    margin-top: 6px;
  }
}
.routes-page__return {
  text-align: center;
}
@media (min-width: 640px) {
  .routes-page__return {
    width: 44%;
    text-align: left;
    padding-left: 15px;
  }
  .routes-page__return:nth-child(4n+1) {
    clear: left;
    padding-left: 0;
  }
  .routes-page__return:nth-child(4n+1) .routes-page__return-btn {
    margin-left: 0;
    padding-right: 12px;
    padding-left: 12px;
  }
}
@media (min-width: 990px) {
  .routes-page__return {
    width: 30%;
  }
  .routes-page__return:nth-child(4n+1) {
    clear: none;
    padding-left: 15px;
  }
  .routes-page__return:nth-child(4n+1) .routes-page__return-btn {
    margin-left: 5px;
    padding-right: 16px;
    padding-left: 16px;
  }
  .routes-page__return:nth-child(6n+1) {
    clear: left;
    padding-left: 0;
  }
  .routes-page__return:nth-child(6n+1) .routes-page__return-btn {
    margin-left: 0;
    padding-right: 12px;
    padding-left: 12px;
  }
}
.routes-page__return-btn {
  padding: 6px 16px;
  font-size: 16px;
  line-height: 1.42857143;
  border-radius: 4px;
}
@media (min-width: 640px) {
  .routes-page__return-btn {
    margin-top: 10px;
    margin-left: 5px;
  }
}
.routes-page__fav {
  text-align: center;
}
@media (min-width: 640px) {
  .routes-page__fav {
    text-align: left;
  }
}
.routes-page__fav-btn:before {
  font-size: 18px;
}
.routes-page-tabs {
  margin-top: 30px;
  font-size: 0;
  overflow: hidden;
  white-space: nowrap;
}
.routes-page-tabs__tab {
  display: inline-block;
  position: relative;
  background-color: #cbced1;
  color: #4d4d4d !important;
  padding: 15px 60px 15px 30px;
  -webkit-border-radius: 6px 6px 0 0;
  -moz-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
  margin-right: 3px;
  font-size: 16px;
  cursor: pointer;
  vertical-align: bottom;
  text-decoration: none !important;
  -webkit-transition: all ease 0.3s;
  -moz-transition: all ease 0.3s;
  -ms-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
}
.routes-page-tabs__tab_simple {
  padding-left: 60px;
  padding-right: 30px;
}
.routes-page-tabs__tab-icon {
  font-size: 28px;
  position: absolute;
  left: 12px;
}
.routes-page-tabs__tab-info {
  min-height: 40px;
}
.routes-page-tabs__tab-name {
  font-weight: bold;
}
.routes-page-tabs__tab-name:first-child:last-child {
  line-height: 40px !important;
}
.routes-page-tabs__tab-date {
  font-size: 12px;
}
.routes-page-tabs__tab-price {
  font-size: 12px;
  text-align: right;
}
.routes-page-tabs__tab-number,
.routes-page-tabs__tab-check {
  position: absolute;
  top: 50%;
  left: 100%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  background-color: #4d4d4d;
  color: #cbced1;
  font-size: 12px;
  font-weight: bold;
  padding: 0 6px;
  margin-left: -50px;
  line-height: 22px;
  min-width: 22px;
  height: 22px;
  text-align: center;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  -webkit-transition: all ease 0.3s;
  -moz-transition: all ease 0.3s;
  -ms-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
}
.routes-page-tabs__tab-check {
  display: none;
  width: 22px;
  color: #33ba53;
  background-color: #fff;
  font-size: 10px;
}
.routes-page-tabs__tab_empty {
  background-color: #bf4a48;
  color: #fff !important;
}
.routes-page-tabs__tab_empty .routes-page-tabs__tab-number {
  color: #fff;
  background-color: #4d4d4d;
}
.routes-page-tabs__tab_active {
  background-color: #37b721;
  color: #fff !important;
}
.routes-page-tabs__tab_active .routes-page-tabs__tab-number {
  color: #37b721;
  background-color: #fff;
}
.routes-page-tabs__tab_set .routes-page-tabs__tab-number {
  display: none;
}
.routes-page-tabs__tab_set .routes-page-tabs__tab-check {
  display: block;
}
.routes-page-tabs__tab:hover {
  background-color: #37b721;
  color: #fff !important;
}
.routes-page-tabs__tab:hover .routes-page-tabs__tab-number {
  color: #37b721;
  background-color: #fff;
}
.routes-page-tabs .slick-track {
  font-size: 0;
  white-space: nowrap;
}
.routes-page-tabs .slick-track .slick-slide {
  display: inline-block;
  float: none;
}
.routes-page-tabs .slick-track .slick-slide:first-child:last-child {
  white-space: normal;
  max-width: 100vw;
}
.routes-page-tabs .slick-track .slick-slide:first-child:last-child .routes-page-tabs__tab-info {
  -ms-word-break: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.routes-page-tabs .slick-track .slick-slide:first-child:last-child .routes-page-tabs__tab-name {
  line-height: inherit;
}
.routes-page-tabs .slick-prev,
.routes-page-tabs .slick-next {
  font-size: 0;
  position: absolute;
  bottom: 10px;
  z-index: 1;
  cursor: pointer;
  background: none;
  padding: 0 5px;
  border: none;
}
.routes-page-tabs .slick-prev:before,
.routes-page-tabs .slick-next:before {
  display: block;
  content: '';
  border: 20px solid transparent;
  -webkit-transition: border-color ease 0.3s;
  -moz-transition: border-color ease 0.3s;
  -ms-transition: border-color ease 0.3s;
  -o-transition: border-color ease 0.3s;
  transition: border-color ease 0.3s;
}
.routes-page-tabs .slick-prev {
  left: 0;
}
.routes-page-tabs .slick-prev:before {
  border-left-width: 0;
  border-right-color: #cbced1;
}
.routes-page-tabs .slick-prev:hover:before {
  border-right-color: #37b721;
}
.routes-page-tabs .slick-next {
  right: 0;
}
.routes-page-tabs .slick-next:before {
  border-right-width: 0;
  border-left-color: #cbced1;
}
.routes-page-tabs .slick-next:hover:before {
  border-left-color: #37b721;
}
.routes-page-tabs .slick-list {
  margin-right: 40px;
}
.routes-page-tabs.right-slicking-off .slick-list {
  margin-right: 0;
}
.routes-page-tabs .slick-arrow + .slick-list {
  margin-left: 40px;
}
.routes-page-tabs .slick-arrow.slick-disabled {
  display: none !important;
}
.routes-page-tabs .slick-arrow.slick-disabled + .slick-list {
  margin-left: 0;
}
.routes-page-tabs + .tab-content .content-holder {
  margin-top: 0;
  border-top-left-radius: 0;
}
