@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

html,
body,
#map {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}


.my-hint {
    display: inline-block;
    padding: 10px 15px 10px;
    height: auto;
    position: relative;
    left: 0px;
    bottom: 0px;
    width: 255px;
    font-size: 15px;
    line-height: 18px;
    color: rgb(78, 97, 195);
    background-color: rgb(255, 255, 255);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: normal;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

p.name_hints {
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    color: rgb(34, 34, 34);
    margin-bottom: 5px;
    margin-top: 0px;
}

p.text_hints {
    margin-bottom: 0px;
    margin-top: 0px;
}

.ymaps-2-1-77-balloon__close-button {
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    padding: 7px !important;
    background-color: rgb(239, 239, 239) !important;
    border-radius: 2px !important;
    width: 30px !important;
    height: 30px !important;
    display: inline-block !important;
    opacity: 1 !important;
    right: 15px;
    top: 15px;
    position: relative;
}

.ymaps-2-1-77-balloon__close + .ymaps-2-1-77-balloon__content {
    margin-right: 0px !important;
    padding: 15px !important;
    font-family: 'Lato', sans-serif;
}

.ymaps-2-1-77-balloon {
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    padding: 0px !important;
}

.ymaps-2-1-77-balloon__layout {
    border-radius: 10px;
}

p.description_baloon {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 29px;
    margin-top: 0px;
    margin-bottom: 8px;
    color: rgb(34, 34, 34);
}


p.addres_baloon {
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 18px;
    color: rgb(78, 97, 195);
    margin-top: 0px;
}

.line_galeries_baloon {
    display: block;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    overflow-x: auto;
    padding-bottom: 10px;
/*    margin-bottom: 15px;*/
    width: 100%;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    /* display: flex; */
    overflow-y: auto;
}

/*
.line_galeries_baloon img {
    display: inline-block;
    vertical-align: top;
    margin-right: 14px;
    border-radius: 6px;
    max-width: 110px;
}
*/
.wrap_baloon_slider {
    
}
    
.one_baloon_image {
    width: 50%;
/*    margin-right: 15px;*/
    max-height: 110px;
}

.one_baloon_image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.line_info_contact_baloon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
}

.gray_lines_baloon {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 15px;
    background: rgb(239, 239, 239);
    border-radius: 7px;
    font-size: 16px;
    line-height: 19px;
    margin-right: 15px;
    width: calc(50% - 45px);
}


.social_coll_baloon {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 15px 20px;
    background: rgb(239, 239, 239);
    border-radius: 7px;
    font-size: 16px;
    line-height: 19px;
    /*    margin-right: 15px;*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.social_coll_baloon a:not(:last-child) {
    margin-bottom: 13px;
}

.gray_lines_baloon:last-child {
    margin-right: 0px;
}

.name_gray_baloon {
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 15px;
    font-weight: normal;
}

span.blue_span_baloon {
    font-weight: bold;
    color: #4E61C3;
    margin-right: 5px;
    min-width: 50px;
    font-size: 16px;
}

.gray_lines_baloon > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    font-weight: normal;
    font-size: 15px;
    line-height: 19px;
    margin-bottom: 5px;
}

.gray_lines_baloon > div:last-child {
    margin-bottom: 0px;
}

.gray_lines_baloon > div img {
    margin-right: 8px;
}

.gray_lines_baloon > div a {
    color: rgb(34, 34, 34);
}

.gray_lines_baloon > div:last-child a {
    color: rgb(78, 97, 195);
}

.ymaps-2-1-77-balloon {
    min-width: 527px;
}
.ymaps-2-1-77-balloon__close+.ymaps-2-1-77-balloon__content > ymaps{
    width: 100%!important;
    height: auto!important;
}
@media screen and (max-width:575.98px){

    .ymaps-2-1-77-balloon__close + .ymaps-2-1-77-balloon__content{
        width: 100%;
        -webkit-box-sizing: border-box!important;
        box-sizing: border-box!important;
    }
    
    .ymaps-2-1-77-balloon__content > *{
        min-width: 100%;
    }
    p.description_baloon{
        font-size: 16px;
    }
    .ymaps-2-1-77-balloon{
        border-radius: 10px 10px 0px 0px;
    }
    .ymaps-2-1-77-balloon__close + .ymaps-2-1-77-balloon__content{
        padding: 10px 30px 10px 10px!important;
    }
    .ymaps-2-1-77-balloon__close-button{
        right:10px!important;
        top: 10px!important;
    }
    .ymaps-2-1-77-balloon, .ymaps-2-1-77-balloon__close + .ymaps-2-1-77-balloon__content{
        height: calc(100vh - 400px);
    }
    .ymaps-2-1-77-balloon {
        min-width: calc(100vw - 25px);
    }
    .ymaps-2-1-77-balloon__close+.ymaps-2-1-77-balloon__content > ymaps{
        height: 100%!important;
        min-width: inherit;
    }

    .gray_lines_baloon:first-child{
        width: 100%;
        margin-right: 0px;
        margin-bottom: 10px;
    }
    .gray_lines_baloon:nth-child(2){
        width: calc(100% - 68px);
        margin-right: 10px;
    }
    .one_baloon_image{
        width: calc(33.33333% - 10px);
        margin-right: 10px;
    }
}