/* Импорт шрифтов Ubuntu*/
@import url('./fonts/style.css');
#ymaplist *, .ymaplist-container * {
    margin: 0;
    padding: 0;
    line-height: 1;
}
#ymaplist, .ymaplist-container {
    width: 100%;
    height: 520px;
    position: relative;
    padding: 15px;
    font-size: 14px;
    font-family: 'Ubuntu';
    text-align: left;
    overflow: hidden;
    box-shadow: 0 0 10px 0px #d2d2d2;
}
/* Оформление меню (начало)*/
/* Карточка с меню жлементов карты*/
.ymaplist-menu {
    list-style: none;
    padding: 40px 40px 40px 40px!important;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -100%;
    background-color: #ffffff;
    overflow: hidden;
    max-width: 452px;
    width: 100%;
    height: calc(100% - 30px);
    transition: all .3s ease; 
    max-width: 412px;
}
/* Обртка над меню*/
.ymaplist-menu-wrap {
    height: 100%;
    overflow: auto;
}
/* Элмент списка меню*/
.ymaplist-menu li {
    display: flex;    
    align-items: start;
    line-height: 1!important;
    margin-bottom: 0!important;
}
/* Промежуток между элементами списка*/
.ymaplist-menu li + li {
    margin-top: 20px;
}
/* Ссылка на элемент списка*/
.ymaplist-menu a.contact_href {
    font-weight: 700!important;
}
.ymaplist-menu a {
    text-decoration: none!important;
    color: #000000!important;
    font-size: 14px!important;    
    font-weight: 400!important;
    text-align: left!important;
    line-height: 1.5;
}
.ymaplist-menu-wrap li a {
    width: 100%!important;
    line-height: 20px;
}
/* Кнопка возврата описания в список*/
.ymaplist-menu a.yamaplist_return {
    color: #898988;
    text-align: left;
}
/* Ссылки в описании элемента*/
.ymaplist_card > a {
    color: #898989;
    font-size: 14px;
    display: block;
    padding-bottom: 13px;
    border-bottom: 1px solid #898989;
}
/* Название элемента*/
.ymaplist_item_name {
    font-size: 18px;
    font-weight: 600;
    /* margin-top: 30px; */
    text-align: left;
}
/* Блок с контактами*/
.contact_block_item {
    display: flex;    
    align-items: center;
    line-height: normal;
}
/* Промежуток между описанием и контактами*/
.contact_block_item + .contact_block_item {
    margin-top: 13px;
}
/* Иконки контактов*/
.contact_block_item i {
    font-size: 17px;    
    width: 26px;
}
.contact_block_item i.fa.fa-link {
    font-size: 14px;
}
.contact_block_item i.fa.fa-phone {
    font-size: 15px;
}
.contact_block_item i.fa.fa-envelope-o {
    font-size: 16px;
}
.contact_block_item i.fab.fa-whatsapp {
    font-size: 18px;
}
/* Контейнер изображений и контактов*/
.ymaplist_item_contacts {
    display: flex;
    flex-wrap: nowrap;
    gap: 50px;
}
/* Обертка изображения*/
.ymaplist_item_img-wrap {
    max-width: 110px;
}
/* Изображение*/
.ymaplist_item_img {
    width: 100%!important;
    height: auto!important;
    margin: 0!important;
    padding: 0!important;
    transition: all .3s ease;
    cursor: pointer;
}
.ymaplist_item_img.ymaplist_item_img_click {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
/* Стили описания элемента*/
.ymaplist_item_description * {
    font-size: 14px!important;
    margin: 0;
    padding: 0;
    line-height: 24px!important;
} 
.ymaplist_item_description, .ymaplist_item_contacts {
    margin-top: 16px;    
    text-align: left;
}
/* Стрелка возврата в список*/
.ymaplist_card a span {    
    margin-right: 26px;
}
/* Нумерация списка*/
.ymaplist-menu .yamaplist_number {
    font-weight: 600;
    margin-right: 10px;
    line-height: 20px;
}
/* Активная карточка*/
.ymaplist_card.active {
    left: 40px;
}
/* Карточка описания элемента*/
.ymaplist_card {
    position: absolute;
    top: 40px;
    right: auto;
    bottom: 0;
    left: -100%;
    width: calc(100% - 80px);
    background-color: #ffffff;
    padding: 0;    
    transition: all .3s ease;
}
/* Контейнер карточки*/
.ymaplist_card_container {
    height: calc(100% - 70px);
    overflow: auto;
    padding-right: 10px;
    position: relative;
}
/* Кнопка перехода на карту*/
.ymaplist_item_map_a {
    display: flex;
    flex-wrap: nowrap;
    padding: 5px 17px 5px 5px;
    border-radius: 20px;
    background-color: #edecec;
    align-items: center;
    gap: 8px;
    font-size: 14px!important;
    line-height: 31px!important;
    color: #454545!important;
    font-weight: 700!important;
    white-space: nowrap;
    margin-top: 20px;
    transition: all .3s ease;
}
.ymaplist_item_map_a.hov {    
    color: #ffffff!important;
}
.ymaplist_item_map_a > img {
    width: 27px!important;
    height: 27px!important;
}
/* Кнопка закрытия*/
.ymaplist_close {
    height: 30px!important;
    width: 30px!important;
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 2;
    display: block;    
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
}
/* Иконка закрытия*/
.ymaplist_close img {
    display: block;
    width: 25px!important;
    height: 25px!important;
    margin-left: 5px;
}
.ymaplist_close:before, .ymaplist_close:after {
    height: 1px;
    width: 25px;
    content: "";
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    background: #242424;
    margin: -1px -10px;
}
.ymaplist_close:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.ymaplist_close:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* Кнопка открытия списка элементов*/
.ymaplist_open {
    position: absolute;
    z-index: 3;       
    color: #fff!important;
    background-color: gray;
    height: 50px;
    max-width: 255px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 50px;
    text-decoration: none!important;
    cursor: pointer;
    z-index: 1;
}
.ymaplist_open:hover {
    color: #ffffff;
}
.ymaplist_open.active {
    display: flex;
} 
.ymaplist-menu.active {
    right: 15px;
}
/* Адаптация блока меню на экранах менее 620px*/
@media screen and (max-width: 620px) {   
    .ymaplist_close:before, .ymaplist_close:after {
        display: block;
    }
    .ymaplist_close img {
        display: none;
    }
    .ymaplist_open {
        display: flex;
    } 
    .ymaplist-menu {
        width: 100%;
        height: 100%;
        right: -100%;
        top: 0;
        transform: none;
        transition: all .3s ease;
        max-width: 100%;
        z-index: 2;
    } 
    .ymaplist-menu.active {
        right: 0;
    }      
}
/* Оформление меню (конец)*/
