:root {
    --primary-color: #95c565;
    --primary-color--light: #b0d10e;
    --secondary-color: #245d5d;

    --color-base: #313030;

    --white: #ffffff;
    --green: #b0d10e;
    --green-dark: #a0be04;
    --gray: #858e93;
    --gray-light: #e5e5ea;
    --gray-lighter: #f5f5f5;
    --gray-dark: #605e5e;
}

#ajax-loader{
        width: 40px;
        height: 40px;
        border: 5px solid #95c565;
        border-bottom-color: #f5000000;
        border-radius: 50%;
        box-sizing: border-box;
        animation: rotation 1slinear infinite;
        display: block;
        margin: 2rem auto;
        color: antiquewhite;
}

.feed__conversation.is-reduced .post__content__wrapper {
    max-height: 6lh;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}
.feed__conversation.is-reduced .footPost{
    height: 80px; 
    margin-top: -80px;
    text-align: center;
    color: red;
    position: relative;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, white 90%, white 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, white 90%, white 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 90%, white 100%);

}
.feed__conversation.is-reduced .footPost:hover button{
       display: block;
}
button.contentToggleSize {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-decoration: none !important;
}
  /******************/
 /* POSTS - MEDIAS */
/******************/

.post__content__medias {
    margin-top: 1rem;
}

.post__links__container {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;
}
.link__preview,
.video__preview {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 10px;
    padding: 10px;
    background: var(--gray-lighter);
    border-radius: 6px;
    margin-top: 0.5rem;
}
.feed__conversation--small .link__preview, .video__preview {
    grid-template-columns: 1fr;
}
.link__preview__image,
.video__preview__image {
    position: relative;
    min-height: 100px;
}
.link__preview__image img,
.video__preview__image img {
    display: block;
}
.link__preview__title,
.video__preview__title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}
.link__preview__content p,
.video__preview__content p {
    color: var(--gray);
    font-size: 0.8rem;
}
.link__preview.is-full {
    grid-column: 1 / span 2;
}
.link__preview.is-minimalist {
    grid-template-columns: 40px auto;
    margin: 5px;
}
.link__preview.is-minimalist .link__preview__title {
    font-size: 0.9rem;
    word-break: break-word;
}
.link__preview__icon {
    font-size: 30px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
.video__preview__overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    background: rgba(176, 209, 14, 0.3);
}
.video__preview__button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 46px;
    width: 46px;
    background: #0d5364;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
}
.video__preview__button::after {
    content: "";
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #0d5364;
    animation: wave 1.6s infinite;
    animation-duration: 2s;
    transform-origin: center center;
    z-index: 0;
}
.video__preview__button img {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    left: 2px;
    z-index: 3;
}

.post__img__container {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin: 0 -0.25rem;
}
.post__img__container .post__img__link {
    width: calc(100% / 2);
    flex-grow: 1;
    justify-content: space-between;
    text-align: center;
    padding: 0.25rem;
}
.post__img__container .post__img {
    margin-bottom: 0;
}
.post__img {
    background-size: cover;
    width: 100%;
    padding-top: 56.25%;
    display: block;
    margin-bottom: 0.5rem;
    object-fit: cover;
    border-radius: 6px;
    background-position: center;
    position: relative;
}
.post__img__more {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    border-radius: 6px;
}

.post__files__container {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;
}
.post__file__link {
    display: grid;
    grid-template-columns: 40px auto;
    grid-gap: 10px;
    padding: 10px;
    background: var(--gray-lighter);
    border-radius: 6px;
    margin: 5px;
}
.post__file__icon {
    font-size: 40px;
}
.post__file__content {
    font-size: 0.75rem;
}
.post__file__title {
    text-wrap: balance;
    line-height: 0.9rem;
}
.post__file__extension {
    color: var(--gray);
    padding-top: 5px;
}