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

.tfl__link:hover,
.tfl__link {
    border-bottom:1px dashed;
    cursor: pointer;
}

.tfl__link-label{
    margin-right: 5px;
}

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

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

.tfl-define-popup__desktop{
    border-radius: 0.3em;
    -webkit-box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.1);
    transform: translateX(-50%);
    z-index: 1001;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    position: absolute;
}

.tfl-define-popup__text{
    padding-left: 20px;
    padding-right: 20px;
}

.tfl-define-popup__mobile{
    width: 100%;
    position: relative;
    z-index: 9999999;
    border-radius: 0!important;
}

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

.tfl-define-popup__desktop:before{
    position: absolute;
    width: 11px;
    height: 11px;
    transform: rotate(45deg);
    content: '';
    background-color: #fff;
    left: calc(50% - 5px);
    top: -5px;
}

.tfl-define-popup__buttons{
    text-align: center;
    overflow: hidden;
    display: grid;

}
.tfl-define-popup__button{
    /*width: 50%;*/
    display: block;
    padding: 10px 20px;
   /* float: left;*/
    box-sizing: border-box;
}

.tfl-define-popup__main{
    font-weight: bold;
}

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

.tfl-popup{
    position: fixed;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #fff;
    z-index: 2001;
    max-width: 100%;
    overflow: hidden;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    -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);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    grid-template-columns: 1fr;
    grid-gap: 0;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity .2s ease-in, top .2s ease-out;
}

.tfl-popup.tfl-popup_loaded{
    opacity: 1;
    top: 45%;
}

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

.tfl-popup__title-container{
    position: relative;
    width: 100%;
}

.tfl-popup__search-wrapper{
    margin-bottom: 20px;
}

.tfl-popup__title{
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
    width: calc(100% - 40px);
}

.tfl-popup__search{
    position: relative;
    padding: 0;
    margin-bottom: 15px;
    margin-top: 26px;
}

.tfl-popup .tfl-popup__search-input {
    color: #333;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -khtml-border-radius: 0;
    border-radius: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 1;
    padding: 10px 5px 12px;
    width: 100%;
    position: relative;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
   /* background-position-x: center 50%;
    background-position-y: bottom calc(100% - 1px);*/
    background: bottom no-repeat,50% 100%/*calc(100% - 1px)*/;
    transition: background ease-out;
    background-size: 0 100%,100% 100%;
    background-image:
        linear-gradient(to top, #1f2949 2px, rgba(255, 86, 5, 0) 2px),
        linear-gradient(to top, rgb(189, 189, 189) 1px, rgba(189, 189, 189, 0) 1px);
}

.tfl-popup .tfl-popup__search-input:focus{
    background-size: 100% 100%, 100% 100%;
    transition: .3s;
    outline: none;
}

.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: 14px;
    position: absolute;
    right: 35px;
    top: calc(50%);
    transform: translateY(-50%);
    width: 14px;
    display:none;
}

.tfl-popup__search-icon{
    height: 40%;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    text-align: right;
}

.tfl-popup__search-icon svg{
    fill: #d5d5d5;
    background-color: transparent;
    width: auto;
    height: 100%;
}

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

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

.tfl-popup__container:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 18px;
    bottom: 0;
    z-index: 1;
    background-image: -moz-linear-gradient(top, rgba(255,255,255,0.001) 0%, #fff);
    background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.001) 0%, #fff);
    background-image: -o-linear-gradient(top, rgba(255,255,255,0.001) 0%, #fff);
    background-image: -ms-linear-gradient(top, rgba(255,255,255,0.001) 0%, #fff);
    background-image: linear-gradient(top, rgba(255,255,255,0.001) 0%, #fff);
}

.tfl-popup__container.tfl-popup__container_no-found:before{
    content: none;
}

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

.favorites-left-locations.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__scroll-container + .tfl-popup__scroll-container{
    padding-left: 10px;
}

.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;
    padding: 0;
    line-height: 1.25;
    margin-bottom: 15px;
    -webkit-column-width: 150px;
    -moz-column-width: 150px;
    column-width: 150px;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    -webkit-column-rule: 0px solid #ccc;
    -moz-column-rule: 0 solid #ccc;
    column-rule: 0px solid #ccc;
    display: block;
}

.favorites-under-search .tfl-popup__defaults .tfl-popup__list{
    margin-top: 15px;
    margin-bottom: 0;
}

.tfl-popup__search-wrapper .tfl-popup__defaults .tfl-popup__list{
    margin-top: 30px;
    margin-bottom: 0;
}

.tfl-popup__list li {
    padding-bottom: 7.5px;
    overflow: hidden;
    list-style: none;
    page-break-inside: avoid;
    break-inside: avoid;
    padding-left: 0;
}

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

.tfl-popup__location-link {
    color: #333;
    text-decoration: none;
    border-bottom: 1px dashed #777;
}

.tfl-popup__location-link:hover {
    color: #333;
    border-bottom: 1px dotted #333;
}

.tfl-popup__defaults .tfl-popup__location-link {
    font-weight: 700;
    border-bottom: 1px dotted #333;
}

.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: 10000;
}

@-webkit-keyframes animate-circle {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes animate-circle {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(1);
        opacity: 0;
    }
}

.tfl-popup-overlay__loader {
    --size: 10rem;

    position: fixed;
    top: 50%;
    left: 50%;
    height: var(--size);
    width: var(--size);
    transform: translateX(-50%) translateY(-50%);
}

.tfl-popup-overlay__loader > .tfl-popup-overlay__circle {
    --duration: 2s;

    position: absolute;
    height: inherit;
    width: inherit;
    /*background: #FFA5AB;*/
    background: #FFFFFF;
    border-radius: 50%;
    -webkit-animation: animate-circle var(--duration) cubic-bezier(.9,.24,.62,.79) infinite;
    animation: animate-circle var(--duration) cubic-bezier(.9,.24,.62,.79) infinite;
}

.tfl-popup-overlay__loader > .tfl-popup-overlay__circle:nth-of-type(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.tfl-popup-overlay__loader > .tfl-popup-overlay__circle:nth-of-type(2) {
    -webkit-animation-delay: calc(var(--duration) / -3);
    animation-delay: calc(var(--duration) / -3);
}

.tfl-popup-overlay__loader > .tfl-popup-overlay__circle:nth-of-type(3) {
    -webkit-animation-delay: calc(var(--duration) / -6);
    animation-delay: calc(var(--duration) / -6);
}

.tfl-popup__close{
    display: flex;
    position: absolute;
    cursor: pointer;
    opacity: 0.2;
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    align-items: center;
    justify-content: center;
}



.tfl-define-popup .tfl-popup__close{
    top: 0;
    right: 0;
}

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

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

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

.tfl-popup__close:after {
    transform: rotate(-45deg);
}
.tfl-popup__clear-field .tfl-popup__close{
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.tfl-popup__clear-field .tfl-popup__close:before,
.tfl-popup__clear-field .tfl-popup__close:after {
    width: 2px;
    height: 15px;
    top: 0;
    left: 6px;
}

.tfl-define-popup .tfl-popup__close {
    width: 30px;
    height: 30px;

}

.tfl-define-popup .tfl-popup__close:before,
.tfl-define-popup .tfl-popup__close:after {
    width: 2px;
    height: 15px;
    top: 7px;
    left: 15px;
}

.tfl-body-freeze{
    overflow-y: hidden;
    margin-right: calc(-1 * (100vw - 100%));
    height: auto;
}

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

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

.tfl-popup__container_no-found .tfl-popup__nofound-mess{
    display: block;
}