.post-content {
    display: flex;
    flex-direction: column;
    /* margin-top: 2em; */
    text-align: justify;
    position: relative;
    /* cursor: pointer; */
}

.post-content .profile a {
    z-index: 9;
    position: relative;
}

.post-content .dropright {
    z-index: 10;
    position: absolute;
    right: .45em;
    top: .45em;
}

.wide.post,
.message-info {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0 !important;
}

.post-footer {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    justify-content: space-between;
    font-size: xx-small !important;
    padding: .5em;
    flex-wrap: wrap;
}

.media {
    width: 100%;
    position: relative;
    border-radius: 2em;
}

.outer {
    position: relative !important;
    /* flex-direction: column; */
}

.slide1,
.slides {
    width: 100%;
    /* max-width: 100%; */
    background: #000;
    background-position: center;
    background-size: cover;
    position: absolute;
    z-index: 1;
}

div.video {
    background-image: url(../img/play.png);
    /* background-color: red; */
    height: 100%;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /* z-index: 4; */
}

video.slide1{
    width: 100%;
    top: 0;
    left: 0;
    border-radius: .5em;
    position: relative;
}

.slides:nth-child(1):nth-last-child(1){
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: .5em;
}

.slides:nth-child(1):nth-last-child(2),
.slides:nth-child(2):nth-last-child(1) {
    width: 49.75%;
    height: 100%;
    top: 0;
}

.slides:nth-child(1):nth-last-child(2) {
    left: 0;
    border-top-left-radius: .5em;
    border-bottom-left-radius: .5em;
    background-position: left;
}

.slides:nth-child(2):nth-last-child(1) {
    right: 0;
    border-top-right-radius: .5em;
    border-bottom-right-radius: .5em;
    background-position: right;
}

.slides:nth-child(1):nth-last-child(3),
.slides:nth-child(2):nth-last-child(2),
.slides:nth-child(3):nth-last-child(1) {
    width: 49.70%;
}

.slides:nth-child(1):nth-last-child(3) {
    height: 100%;
    left: 0;
    top: 0;
    border-top-left-radius: .5em;
    border-bottom-left-radius: .5em;
}
.slides:nth-child(2):nth-last-child(2),
.slides:nth-child(3):nth-last-child(1) {
    height: 49.70%;
}

.slides:nth-child(2):nth-last-child(2) {
    right: 0;
    background-position: left;
    top: 0;
    border-top-right-radius: .5em;
}

.slides:nth-child(3):nth-last-child(1) {
    right: 0;
    background-position: right;
    bottom: 0;
    border-bottom-right-radius: .5em;
}

.slides:nth-child(1):nth-last-child(4),
.slides:nth-child(2):nth-last-child(3),
.slides:nth-child(3):nth-last-child(2),
.slides:nth-child(4):nth-last-child(1) {
    width: 49.75%;
    height: 49.70%;
}

.slides:nth-child(1):nth-last-child(4),
.slides:nth-child(2):nth-last-child(3) {
    top: 0;
}
.slides:nth-child(3):nth-last-child(2),
.slides:nth-child(4):nth-last-child(1) {
    bottom: 0;
}

.slides:nth-child(1):nth-last-child(4),
.slides:nth-child(3):nth-last-child(2) {
    left: 0;
}
.slides:nth-child(2):nth-last-child(3),
.slides:nth-child(4):nth-last-child(1) {
    right: 0;
}

.slides:nth-child(1):nth-last-child(4) {
    border-top-left-radius: .5em;
    background-position: bottom right;
}
.slides:nth-child(2):nth-last-child(3) {
    border-top-right-radius: .5em;
    background-position: bottom left;
}
.slides:nth-child(3):nth-last-child(2) {
    border-bottom-left-radius: .5em;
    background-position: top right;
}
.slides:nth-child(4):nth-last-child(1) {
    border-bottom-right-radius: .5em;
    background-position: top left;
}

@media screen and (max-width: 450px) {
    .media {
        height: 6.5em;
    }
}

@media screen and (min-width: 450px) and (max-width: 600px) {
    .media {
        height: 8em;
    }
}

@media screen and (min-width: 600px) and (max-width: 750px) {
    .media {
        height: 10em;
    }
}

@media screen and (min-width: 750px) {
    .media {
        height: 12.5em;
    }
}

.chat-wrapper .outer {
    margin: 4.25vw;
    /* height: 55vw; */
    width: 90vw;
}

.chat-wrapper .media {
    position: relative !important;
    width: 100%;
    max-width: 700px;
    height: 55vw;
    max-height: 25em;
    margin: 0 auto;
}

.opened-time {
    padding: .75em;
    font-size: xx-small;
}