﻿body {
}
/* Feed Styling */

#postContainer .container {
    padding: 0;
}

.post-ghost {
    color: var(--cosgear-5);
    display: flex;
    opacity: 0.75;
    position: relative;
}

.post-card {
    background: var(--cosgear-3);
    padding: 12px;
    padding-top: 4px;
    border-radius: 8px;
    margin-bottom: 8px;
    text-align: left;
    font-size: 14px;
}

    .post-card .post-header {
        margin-top: 10px;
        vertical-align: middle;
    }

        .post-card .post-header p {
            padding: 0;
        }

    .post-card .post-time {
        float: right;
    }

    .post-card .avatar {
        vertical-align: middle;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 4px;
    }

    /* Content Toggling Controls */
    .post-card .hideContent {
        max-height: 180px;
        overflow: hidden;
        line-height: 1em;
        height: 2em;
        /* Set Transitions */
        transition: max-height 0.1s;
    }

    .post-card .showContent {
        line-height: 1em;
        height: fit-content;
    }

    .post-card .show-more {
        padding: 10px 0;
        text-align: center;
        color: var(--cosgear-2);
    }

    /* Image Styling */

    /* Slideshow container */
    .post-card .slideshow-container {
        max-height: 600px;
        max-width: 90vw;
        position: relative;
    }

    /* Next & previous buttons */
    .post-card .prev, .post-card .next {
        background-color: #00000091;
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 8px;
        margin-top: -22px;
        color: var(--cosgear-5);
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 12px;
        user-select: none;
        text-decoration: none;
    }

    /* Position the "next button" to the right */
    .post-card .next {
        right: 0;
    }

    .post-card img {
        max-width: 100%;
        vertical-align: middle;
        margin-bottom: 12px;
    }

    .post-card .numbertext {
        text-align: center;
    }

    /* Post Action Buttons */
    .post-card .post-action {
        text-decoration: none;
        color: var(--cosgear-5);
        vertical-align: middle;
        margin: 4px;
    }

        .post-card.post-action i {
            font-size: 20px;
        }
