[page_name="PostFeedView"] .system_post.card-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

@media only screen and (max-width: 1600px) {
  [page_name="PostFeedView"] .system_post.card-wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;  
  }
}

@media only screen and (max-width: 1000px) {
  [page_name="PostFeedView"] .system_post.card-wrapper {
    grid-template-columns: 1fr 1fr 1fr;  
  }
}

@media only screen and (max-width: 650px) {
  [page_name="PostFeedView"] .system_post.card-wrapper {
    grid-template-columns: 1fr 1fr;  
  }
}

@media only screen and (max-width: 400px) {
  [page_name="PostFeedView"] .system_post.card-wrapper {
    grid-template-columns: 1fr;  
  }
}

.view-feed>div {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.system_post .card-item {
    width: 100%;
    margin: auto;
    border-radius: 5px;
    box-shadow: 1px 1px 8px silver;
    display: flex;
    overflow: hidden;
}

.system_post .card-item .card-item-content {
    padding: 0px !important;
    display: flex;
}

.system_post .card-item .card-item-content > div {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.system_post .card-item .title-system-post {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

.system_post .card-item .title-system-post img {
    height: 35px;
    width: 35px;
    border-radius: 50%;
}

.system_post .card-item .title-system-post div {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.system_post .card-item .title-system-post div span {
    color: #3c8dbc;
    white-space: nowrap;
}

.system_post .card-item .title-system-post div small {
    color: grey;
}

.system_post .card-item .title-system-post .post-tags {
    display: flex;
    gap: 4px;
    flex-direction: row;
    align-items: center;
    font-size: 14px;
    position: absolute;
    right: 10px;
    top: 10px;
}

.system_post .card-item-title
{
    border-bottom: 1px solid rgba(0,0,0,.125) !important;
}

.system_post .card-item .post-title {
    font-weight: bold;
    font-size: 14pt;
    padding: 10px;
    padding-bottom: 0;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    min-height: 40px;
}

.system_post .card-item .post-content {
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    text-align: justify;
    height: 100%;
}

.system_post .post-comments:empty {
    border-top: none !important;
    display: none;
}

.system_post .post-comments:empty + .see_more_comments {
    display: none;
}

.system_post .post-comments + .see_more_comments {
    display: flex;
    justify-content: center;
    padding-bottom: 5px;
    color: gray;
}

.system_post .post-comments > div:last-child {
    border-bottom: none;
}

.system_post .post-comments > div.post-comment {
    display: flex;
    flex-direction: column;
    position: relative;
    color: gray;
    background: #f9f9f9;
    border-radius: 10px;
    margin: 10px;
    padding: 12px 10px 15px 35px;
}

.system_post .post-comments > div > b {
    color: #333;
}

.system_post .post-comments > div > img {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 5px;
}

.system_post .post-comments > div > img {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 5px;
}

.system_post .post-comments > div > .post-comment-date {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
}

.system_post .post-comments > div {
    display: flex;
    flex-direction: column;
    position: relative;
}

.system_post .card-item .post-info {
    font-size: 12px;
    color: grey;
    text-align: right;
    padding: 2px 10px;
    display: flex;
    justify-content: end;
}

.system_post .card-item .post-actions {
    display: flex;
    flex-direction: row;
    border-top: 1px solid rgba(0,0,0,.125);
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.system_post .card-item .post-actions a {
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: center;
    width: 100%;
}

.system_post .card-item .post-actions a {
    color: grey;
    padding: 10px;
}

.system_post .card-item .post-actions a i {
    margin: auto 0px;
}

.system_post .card-item .post-actions a.like:not([liked="1"]):hover,
.system_post .card-item .post-actions a:hover {
    text-decoration: none !important;
    color: #3c8dbc;
}

.system_post .card-item .post-actions a.like {
    border-right: 1px solid rgba(0,0,0,.125);
}

.system_post .card-item .post-actions a.like[liked="1"] .far {
    display: none;
}

.system_post .card-item .post-actions a.like:not([liked="1"]) .fas {
    display: none;
}

.system_post .card-item .post-actions a.like[liked="1"] {
    color: #3c8dbc;
}

.system_post .card-item .post-actions a.like:not([liked="1"]) {
    color: grey;
}

.badges-tags {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 15px;
}

.badges-tags > div.active {
    background-color: #3c8dbc;
    color: white;
    border: 1px solid #3c8dbc;
}

.badges-tags > div {
    background-color: #fff;
    border-radius: 15px !important;
    padding: 5px 10px;
    border: 1px solid silver;
}


.view-feed {
    display: flex;
    flex-direction: row;
}

.categorias {
    box-shadow: 5px 5px 10px #0000000d;
    margin: 0 20px 0 0;
    width: 200px;
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.categorias .title {
    font-weight: bold;
    border-bottom: 1px solid lightgray;
    padding: 0 10px 8px;
    text-align: center;
    margin-bottom: 12px;
}

.categoria-items {
    display: flex;
    flex-direction: column;
    height: calc( 100vh - 370px );
    overflow: auto;
}

.categoria-item:hover {
    /*opacity: .5;*/
}

.categoria-item {
    padding: 5px;
    display: flex;
    gap: 5px;
    cursor: pointer;
    justify-content: flex-start;
    align-items: center;
    font-size: 16px;
}

.categoria-item img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    object-position: center;
}

.categoria-item.active {
    background: #004345;
    color: white;
}

.title-tags {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    margin-top: -15px;
}

.system_post .card-item {
    height: 100%;
}

[form=post_feed_search_form] {
    border: none;
}
[form=post_feed_search_form] form .card-body {
    padding: 0 !important;
}
[form=post_feed_search_form] .panel-heading {
    display: none;
}
a.post-anexo {
    border: 1px solid #e3e3e3;
    padding: 5px;
    border-radius: 4px;
    margin-right: 5px;
}

.post-anexos {
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    padding: 10px 10px;
    margin: 15px 0px;
}

a.post-anexo i {
    color: #246f71;
}


.div-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-height: 230px;
    overflow: hidden;
}

.post_thumb {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    border-radius: 10px;
    min-height: 170px;
}

[page_name="PostView"] .system_post .card-item .post-title {
    overflow: unset;
    white-space: normal;
}


.bi iframe {
    width: calc(100% + 60px) !important;
    height: calc(100vh - 16px) !important;
    margin: -80px -30px;
}


.bi .post-info, .bi .post-actions {
    display: none !important;
}
