/*
 * Copyright (c) 9/6/2020 Created By/Edited By ASDAFF asdaff.asad@yandex.ru
 */



.twgl__link-container:hover,
.twgl__link-container{
    text-decoration:none;
    /*display: inline-block;*/
}

.twgl__link:hover,
.twgl__link {
    color: #000000;
}

.twgl__link.twgl__link_order {
    font-weight: bold;
    line-height: 2;
}

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

.twgl-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);
    transform: translateX(-50%);
    z-index: 1001;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    position: absolute;
    width: 24rem;
}

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

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

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

.twgl-define-popup__buttons{
    text-align: center;
    font-size: 0.85em;
    overflow: hidden;
}
.twgl-define-popup__button{
    width: 50%;
    display: block;
    padding: 1rem 2rem;
    float: left;
    box-sizing: border-box;
}

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

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

.twgl-popup{
    /*display: none;*/
    position: fixed;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #fff;
    z-index: 1001;
    width: 70rem;
    overflow: hidden;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    padding: 3rem;
    -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);
    min-height: 35rem;
}

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

}

.twgl-popup__title{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    margin: 0 0 1rem;
    padding: 0 0 .5rem;
    font-size: 2.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
}

.twgl-popup__search-wrapper{
    position: relative;
    margin: 0 0 2rem 0;
    padding: 0;
}

.twgl-popup .twgl-popup__search-input {
    background: #fff;
    -moz-border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    -khtml-border-radius: 0.25rem;
    border-radius: 0.2rem;
    border: 1px solid #d5d5d5;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 1.5rem;
    line-height: 1;
    padding: 1rem 1.5rem;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    position: relative;
}


.twgl-popup__search-input::-webkit-input-placeholder {color: #bbb;}
.twgl-popup__search-input::-moz-placeholder {color: #bbb;}
.twgl-popup__search-input:-ms-input-placeholder {color: #bbb;}
.twgl-popup__search-input:-moz-placeholder {color: #bbb;}

.twgl-popup__search-input:focus::-webkit-input-placeholder {color: #d5d5d5;}
.twgl-popup__search-input:focus::-moz-placeholder {color: #d5d5d5;}
.twgl-popup__search-input:focus:-ms-input-placeholder {color: #d5d5d5;}
.twgl-popup__search-input:focus:-moz-placeholder {color: #d5d5d5;}

.twgl-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;
}

.twgl-popup__search-icon{
    height: 17px;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
}

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

/*.twgl-popup__container,
.twgl-popup__scroll-container{
    overflow: hidden;
    height: 100%;
    max-height: 25rem;
}*/

.twgl-popup__container{
    margin-bottom: 1rem;
    width: 100%;
    /*float: left;*/
    position: relative;
    display: none;
    min-height: 8rem;
}
/*
.twgl-popup__container:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 1.5rem;
    bottom: 0;
    background: url(img/shadow.png) repeat-x bottom;
    z-index: 1;
}*/


.twgl-popup__with-defaults .twgl-popup__container.twgl-popup__defaults{
    display: block;
}
/*
.twgl-popup__with-defaults .twgl-popup__container.twgl-popup__locations{
    width: 66.6%;
}

.twgl-popup__with-locations .twgl-popup__container.twgl-popup__defaults{
    width: 33.3%;
}
*/
.twgl-popup__with-locations .twgl-popup__container.twgl-popup__locations{
    display: block;
}

.twgl-popup__list {
    list-style: none outside none;
    padding: 0 0.75rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    -webkit-column-width: 15rem;
    -moz-column-width: 15rem;
    column-width: 15rem;
    -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: 0px solid #ccc;
    -moz-column-rule: 0 solid #ccc;
    column-rule: 0px solid #ccc;
    /*-webkit-column-fill: auto;
    -moz-column-fill: auto;
    column-fill: auto;*/
    display: block;
}

.twgl-popup__list li {
    padding-bottom: 0.75rem;
    overflow: hidden;
    list-style: none;
    page-break-inside: avoid;
    break-inside: avoid;
}

.twgl-popup__list li:before,
.twgl-popup__list li:after {
    content: none;
}
/*
.twgl-popup__location-link {
    color: #333;
    text-decoration: none;
    border-bottom: 1px dashed #777;
    font-family: 'Open Sans', sans-serif;
}

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

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

.twg-location__region {
    display: block;
    font-size: 0.7em;
    color: #999;
    line-height: 1;
    margin-top: 0.3em;
}
/*
.twgl-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;
}*/

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

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

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

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

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

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

.twgl-body-freeze{
    overflow: hidden;
}

.twgl-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);
}

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

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