body.__show .__pre-modal{
    visibility: visible;
    opacity: 1;
    transition: all 100ms;
    transform: scale(1);
}
.__pre-modal{
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    visibility: hidden;
    opacity: 0;
    z-index: 987655;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(.35);
}
.__pre-modal .__modal-content{
    /*position: fixed;*/
    max-width: 370px;
    max-height: 410px;
    width: 100%;
    height: auto;
    display: block;
    background-color: #fdab01;
    /*z-index: 987655;*/
    /*opacity: 0;*/
    transition: transform .3s cubic-bezier(.6,.4,0,1),opacity .3s cubic-bezier(.6,.4,0,1);
    will-change: transform;
    /*transform: translate3d(0,100%,0);*/
    overflow-y: auto;
    /*border: 2px solid #D0AD59;*/
    /*top: 25%;
    left: calc(50% - 50%/2);*/
    /*transform: scale(.85);*/
    /*visibility: hidden;*/
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.24);
    border-radius: .5rem;
    font-size: 100%;
}
.__pre-modal.show{
    opacity: 1;
    visibility: visible;
}
.__pre-modal.show .__modal-content{
    transform: translate3d(0,0,0) scale(1);
    /*opacity: 1;
    visibility: visible;*/
}
.__modal-content .__modal-header{
    position: relative;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    padding: 1rem;
    /*background-image: url(/upload/images/2025/10/21/lieporiu-parkas-01.jpg);
    background-repeat: no-repeat;
    background-position: center;
    max-height: 150px;
    height: 150px;
    background-size: cover;*/
}
.__modal-content .__modal-header button{
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 987654;
    width: auto;
    /*height: 100%;*/
    border: none;
    background-color: transparent;
    font-size: 20px;
    color: #2C2114;
    cursor: pointer;
}
.__modal-content .__modal-header h4{
    margin: 0!important;
}
.__modal-content .__post-header{
    background-image: url(/upload/images/2025/10/21/lieporiu-parkas-01.jpg);
    background-repeat: no-repeat;
    background-position: center;
    max-height: 100px;
    height: 100px;
    width: 100px;
    background-size: cover;
    border-radius: 50%;
    margin: 0 auto;
}
.__modal-content .__modal-body{
    padding: .75rem;
}
.__modal-body a{
    display: inline-block;
    color: #ffffff;
    padding-left: 2rem;
    padding-right: 2rem;
    background-color: #343a40;
    line-height: 38px;
    font-size: 14px;
    border-radius: .5rem;
    letter-spacing: 1px;
}
.__modal-content .__modal-body li{
    font-size: 14px;
}
.__modal-body a:hover{
    text-decoration: none;
}
/*@media (max-width: 991.98px){
    .__pre-modal .__modal-content{
        width: 90%;
        right: calc(100% - 95%);
        top: 5%;
    }
}*/
@media (max-height: 410px){
    .__pre-modal{
        display: block;
        
    }
    .__pre-modal.show .__modal-content{
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }
}