@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin,cyrillic);

.tfl__link-container:hover,
.tfl__link-container {
  text-decoration: none;
  display: inline-block;
}

.tfl__link {
  cursor: pointer;
}

.tfl__link.tfl__link_order {
  font-weight: bold;
  line-height: 2;
}

/* a:hover {
  text-decoration: none;
  color: #fff;
}

a {
  text-decoration: none;
} */

.tfl-define-popup {
  background-color: #fff;
  text-align: center;
  padding-bottom: 1.5rem;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}
.tfl-define-popup__desktop {
  border-radius: 0.3em;
  -webkit-box-shadow: -1px 2px 13px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: -1px 2px 13px 0px rgba(0, 0, 0, 0.25);
  box-shadow: -1px 2px 13px 0px rgba(0, 0, 0, 0.25);
  z-index: 1001;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  position: absolute;
  width: 300px !important;
  top: 64px !important;
}

@media screen and (max-width: 1024px) {
  .tfl-define-popup__desktop{
    border-radius: 0.3em;
    -webkit-box-shadow: -1px 2px 13px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: -1px 2px 13px 0px rgba(0, 0, 0, 0.25);
    box-shadow: -1px 2px 13px 0px rgba(0, 0, 0, 0.25);
    z-index: 1001;
    position: fixed;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    top: 48px !important;
    width: 300px !important;
  }
}

@media screen and (min-width: 767px) {
  .modal-backdrop {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .overflow {
    overflow : hidden;
    position: fixed;
  }
  .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    width: 100vw;
    height: 100vh;
    opacity: .5;
    background-color: #000;
    display: none;
    box-sizing: border-box;
  }

  .modal-backdrop.show {
    display: block;
  }
}
/*@media screen and (max-width: 480px){*/
/*  .container-block{*/
/*    width: 320px;*/
/*  }*/
/*}*/

.tfl-define-popup__mobile {
  position: relative;
  display: -webkit-flex;
  display: flex;
  left: 10% !important;
  right: 10% !important;
  top: 45% !important;
  -webkit-flex-direction: column;
  flex-direction: column;
  width: 80%;
  z-index: 1040;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 0 solid rgba(0,0,0,.2);
  border-radius: 12px;
  outline: 0;
}

.tfl-define-popup__mobile .tfl-define-popup__buttons {
  border-radius: 0 !important;
}

.tfl-define-popup__text {
  padding: 1.5em 1em;
}

.tfl-define-popup__buttons {
  text-align: center;
  font-size: 0.85em;
  overflow: hidden;
  margin: 5px;
}

.tfl-define-popup__button {
  width: 40%;
  display: block;
  margin-left: 5%;
  margin-right: 5%;
  float: left;
  box-sizing: content-box;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.tfl-define-popup__main {
  font-weight: bold;
  color: #ffffff; !important;
  background-color: #e31c13 !important;
}

.tfl-define-popup__second {
  background-color: #f5f5f5;
}

.tfl-popup {
  /*display: none;*/
  position: fixed;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 2px;
  background-color: #fff;
  z-index: 1001;
  max-width: 772px;
  width: 100%;
  overflow: hidden;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  padding: 30px;
  -webkit-box-shadow: -1px 2px 13px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: -1px 2px 13px 0px rgba(0, 0, 0, 0.25);
  box-shadow: -1px 2px 13px 0px rgba(0, 0, 0, 0.25);
}

.tfl-popup.tfl-popup_loading {
  background: url(img/preloader.svg) center center no-repeat #ffffff;
}

.tfl-popup__title {
  margin-bottom: 30px;
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tfl-popup__search-wrapper {
  position: relative;
  max-width: 692px;
  width: 100%;
  margin-bottom: 30px;
  padding: 0;
}

.tfl-popup .tfl-popup__search-input {
  position: relative;
  width: 100%;
  padding: 11.5px 20px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.02em;
  color: #999999;
  background: #fff;
  border-radius: 2px;
  border: 1px solid #DBDBDB;
  box-sizing: border-box;
}

.tfl-popup__search-input::-webkit-input-placeholder {
  color: #bbb;
}

.tfl-popup__search-input::-moz-placeholder {
  color: #bbb;
}

.tfl-popup__search-input:-ms-input-placeholder {
  color: #bbb;
}

.tfl-popup__search-input:-moz-placeholder {
  color: #bbb;
}

.tfl-popup__search-input:focus::-webkit-input-placeholder {
  color: #d5d5d5;
}

.tfl-popup__search-input:focus::-moz-placeholder {
  color: #d5d5d5;
}

.tfl-popup__search-input:focus:-ms-input-placeholder {
  color: #d5d5d5;
}

.tfl-popup__search-input:focus:-moz-placeholder {
  color: #d5d5d5;
}

.tfl-popup__clear-field {
  /*background: url("img/clear_field.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);*/
  height: 16px;
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  display: none;
}

.tfl-popup__search-icon {
  width: 17px;
  height: 17px;
  position: absolute;
  right: 33px;
  top: 35%;
  transform: translateY(-50%);
}

.tfl-popup__search-icon .svg-search {
  fill: #d5d5d5;
}

.tfl-popup__container {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
}

.tfl-popup__with-locations.tfl-popup__with-defaults .tfl-popup__container {
  grid-template-columns: 1fr 2fr;
}

.tfl-popup__scroll-container {
  overflow: hidden;
  overflow-y: auto;
  position: relative;
  display: none;
}

.tfl-popup__with-locations .tfl-popup__scroll-container.tfl-popup__locations,
.tfl-popup__with-defaults .tfl-popup__scroll-container.tfl-popup__defaults {
  display: block;
}

.tfl-popup__list {
  list-style: none outside none;
  line-height: 1.25;
  -webkit-column-width: 15rem;
  -moz-column-width: 14rem;
  column-width: 14rem;
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 1rem;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  -webkit-column-rule: 0 solid #ccc;
  -moz-column-rule: 0 solid #ccc;
  column-rule: 0 solid #ccc;
  /*-webkit-column-fill: auto;
  -moz-column-fill: auto;
  column-fill: auto;*/
  display: block;
}

.tfl-popup__list li {
  list-style: none;
  page-break-inside: avoid;
  break-inside: avoid;
}

.tfl-popup__list li:hover {
  background: rgba(82, 85, 90, 0.4);
  border-radius: 2px;
}

.tfl-popup__list li:before,
.tfl-popup__list li:after {
  content: none;
}

.tfl-popup__location-link {
  display: flex;
  align-items: center;
  padding: 10px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.01em;
  color: #000000;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
}

.tfl-popup__location-link:hover {
  color: #000000;
}

.tfl-popup__location-link-active {
  margin-left: 13px;
}

.tfl-popup__defaults .tfl-popup__location-link {
}

.tf-location__region {
  display: block;
  font-size: 0.7em;
  color: #999;
  line-height: 1;
  margin-top: 0.3em;
}

.tfl-popup-overlay {
  display: none;
  position: fixed;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url('img/custom-popup-overlay.png') repeat;
  z-index: 1000;
}

.tfl-popup__close-container {
  right: 1.25rem;
  top: 0.5rem;
  position: absolute;
}

.tfl-popup__close {
  display: block;
  position: relative;
  cursor: pointer;
  opacity: 0.2;
  width: 8px;
  height: 16px;
}

.tfl-popup__close:hover {
  opacity: 0.5;
}

.tfl-popup__close:before,
.tfl-popup__close:after {
  position: absolute;
  content: '';
  width: 2px;
  background-color: #333;
  height: 17px;
  left: 7px;
}

.tfl-popup__close:before {
  transform: rotate(45deg);
}

.tfl-popup__close:after {
  transform: rotate(-45deg);
}

.tfl-body-freeze {
  overflow: hidden;
  /*position: absolute;*/
}

.tfl-body-blur {
  -webkit-filter: blur(0.2rem);
  -moz-filter: blur(0.2rem);
  -o-filter: blur(0.2rem);
  -ms-filter: blur(0.2rem);
  filter: blur(0.2rem);
}

.tfl-popup__nofound-mess {
  display: none;
  font-size: 2rem;
  text-align: center;
  position: absolute;
  top: 50%;
  width: 100%;
  color: #d5d5d5;
  transform: translateY(-50%);
}

.tfl-popup__nofound-mess-show {
  display: block;
}
