/* START MEMORIAL CANDLE */

.modal_memorial_candle {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 80px);
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    max-height: 90%;
    overflow-y: auto;

}

.modal_memorial_candle__content {
    background-color: #2d2d2d;
    padding: 0 12px;
    color: white;
    width: calc(100% - 40px);
    max-width: 1100px;
    font-weight: bold;
    position: relative;
    background-image: url("/img/person/modal_bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 490px;
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    flex-direction: column;
}

.modal_memorial_candle__close {
    position: absolute;
    top: 17px;
    right: 19px;
    cursor: pointer;
}

.modal_memorial_candle__close img {
    width: 12px;
}

.modal_memorial_candle__social_share {
    display: flex;
    margin: auto;
    flex-direction: column;
    align-items: center;
}

.modal_memorial_candle__social_share a, .modal_memorial_candle__social_share button {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 12px;
    cursor: pointer;
    background: none;
}

.modal_memorial_candle__social_share img{
    height: 100%;
    width: 100%;
}

.modal_memorial_candle__description {
    width: 50%;
    margin-top: 14px;
}

.modal_memorial_candle__avatar {
    width: calc(50% - 28px);
    aspect-ratio: 9 / 12;
    overflow: hidden;
}

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

.modal_memorial_candle__flex {
    display: flex;
    max-width: 480px;
    margin: 67px 6px 37px;
    /*align-items: center;*/
}

.modal_candle {
    margin-bottom: 20px;
}

.modal_candle img {
    width: 19px;
}

.modal_candle p {
    font-weight: bold;
    margin-top: 8px;
}

.modal_red_line {
    width: 8px;
    height: 165px;
    margin: 0 12px;
    background-color: red;
    transition: .3s;
}

.modal_content__name {
    font-size: 5vw;
    font-weight: bold;
    margin: 18px 0 0;
    font-family: 'SimplePro-H-Bold', sans-serif;
}

.modal_content__params {
    font-size: 2.5vw;
    font-weight: bold;
    font-family: 'SimplePro-H-Bold', sans-serif;
}

.modal_content__summary{
    font-size: 3vw;
    line-height: 1.3em;
    margin: 11px 0 0;
    font-weight: normal;
}

.modal_memorial_candle__logo {
    width: 100%;
    max-width: 180px;
}

.modal_memorial_candle__logo img {
    width: 100%;
}

.modal_memorial_candle__bottom_title {
    text-align: center;
    font-weight: normal;
    max-width: 200px;
}

.modal_memorial_candle__social_share__title{
    color:#FFFFFFAB;
}

.socials-list-link__container{
    display: flex;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .modal_candle p {
        font-size: 1.2em;
    }

    .modal_memorial_candle {
        top: 125px;
        height: calc(100dvh - 125px);
    }

    .modal_memorial_candle__content {
        min-height: 600px;
    }

    .modal_red_line {
        width: 8px;
        height: 270px;
        margin: 0 24px;
        background-color: red;
    }

    .modal_content__name {
        font-size: 2em;
        margin: 24px 0 0;
    }

    .modal_content__params {
        font-size: 1em;
    }

    .modal_content__summary {
        font-size: 1.3em;
        margin: 37px 0 0;
    }

    .modal_memorial_candle__flex{
        margin: 37px 6px;
    }

    .modal_memorial_candle__close img {
        width: 16px;
    }

    .modal_memorial_candle__close {
        top: 38px;
        right: 56px;
    }

    .modal_candle img {
        width: 29px;
    }

    .modal_memorial_candle__description{
        margin-top: 21px;
    }


    /*.modal_memorial_candle__social_share {*/
    /*    position: absolute;*/
    /*    bottom: -36px;*/
    /*    left: 50%;*/
    /*    transform: translateX(-50%);*/
    /*}*/
}

/* END MEMORIAL CANDLE */