.activity {
    margin-top: 2em;
    margin-bottom: 2em;
    max-width: var(--main-maxwidth);
}

.activity .topmargin {
    margin-top: 0.5em;
}

.activity .act_details {
    display: flex;
    flex-direction: column;
}

.activity .act_details .loc_details {
    font-size: 1em;
    margin-top: 0.5em;
}

.activity .act_details .times_details {
    font-size: 1em;
    margin-top: 0.5em;
}

.activity .actions {
    font-size: 1em;
    margin-top: 0.5em;
}

.activity .actions .actionbtn {
    padding: 0.25rem 0.6rem !important;
    margin-right: 0.35em;
    min-width: 100px;
}

.activity .mainimage img {
    width: 100%;
    border-radius: 5px;
    object-fit: cover;
    object-position: center;
    max-height: 250px;
}

.activity .act_details #moreimages a {
    /* margin-left: 0.5em; */
    width: auto;
    margin-right: 0.4em;
}

.activity .act_details #moreimages img {
    /* position: absolute; */
    object-fit: cover;
    object-position: center;
    height: 100px;
    width: 100px;
    border-radius: 3px;
}

.activity .act_description {
    margin-top: 2em;
    text-align: justify;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.activity .mainimage .author {
    position: absolute;
    /*bottom: 0px;*/
    bottom: 10px;
    width: calc(100% - 20px);
    min-height: 30px;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.65) !important;
    display: flex;
    align-items: center;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 0px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 10px;
}

.activity .mainimage .author span {
    max-height: 1.8rem;
    overflow-x: hidden;
    overflow-y: hidden;
}

.activity .mainimage .author a {
    text-decoration: none;
    color: #ffffff !important;
    margin-left: 4px;
}

.activity #moreimages .moreimg {
    display: none;
}

.activity #moreimages a {
    /* margin-left: 0.5em; */
    width: auto;
    margin-right: 0.4em;
}

.activity .a_icon {
    margin-right: 0px;
}

.activity label.read-more-trigger {
    cursor: pointer;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.activity input.read-more-state {
    display: none;
}

@media (min-width: 1200px) {}

@media screen and (min-width: 768px) and (max-width: 1000px) {}

@media screen and (max-width: 470px) and (min-width: 300px) {
    .activity .act_description iframe {
        width: 100%;
    }
    .activity .mainimage {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .activity .act_details {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .activity .act_details .act_name {
        margin-top: 0.5em;
    }
    .activity {
        max-width: 100%;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .activity .mainimage .author {
        width: 100%;
    }
    .activity #moreimages .moreribbon {
        min-width: 18%;
        right: 20%;
    }
}