/*--------------------------------------------------------------
# Filter Buttons
--------------------------------------------------------------*/
.ca-blogs-terms-filter {
    text-align: center;
    display: block;
    margin: 0;
    margin-bottom: 30px;
}
.ca-blogs-terms-filter .ca-term-btn {
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    margin-bottom: 10px;
    background: #EDE7DD;
    font-weight: 500;
    font-size: 18px;
    border-radius: 200px !important;
    padding: 13px 28px !important;
    color: #4d4d4d !important;
    border: none !important;
    transition: all 0.5s ease 0s;
}
.ca-blogs-terms-filter .ca-term-btn:hover {
    border-radius: 30px !important;
    transform: scale(1.1);
    transition-duration: 0.5s;
}
.ca-blogs-terms-filter .ca-term-btn.selected {
    color:#fff !important;
    background: #CD0100;
}

/*--------------------------------------------------------------
# Blog Tiles Grid
--------------------------------------------------------------*/
.ca-blog-tiles {
    display: flex;
    flex-wrap: wrap;
    margin: -20px;
}
.ca-blog-wrap {
    width: 33.3%;
    padding: 10px;
}
.ca-blog-wrap.hidden {
    display: none;
}

/*--------------------------------------------------------------
# New Tile Styling
--------------------------------------------------------------*/
.ca-news-parent {
    margin: 0px;
    padding: 0px;
    width: 100%;
    background: #EDE7DD;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ca-image-wrap {
    position: relative;
}

.ca-news-thumbnail {
    padding: 0;
    margin: 0;
    width: 100%;
}

.ca-news-thumbnail img {
    height: 300px;
    object-fit: cover;
    width: 100%;
    margin: 0;
    padding: 0;
    border: solid #000 1px;
}

.uabb-meta-date {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-left: 10px;
    margin-top: 10px;
    background: #000;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 13px;
    padding-right: 13px;
    position: absolute;
    top: 0;
    color: #F2EDE8;
    box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, .3);
}

.ca-news-post {
    padding: 20px;
    text-align: left;
    margin: 0px;
    width: 100%;
    position: relative;
    flex: 1; /* Pushes the share buttons to the bottom of equal height boxes */
    display: flex;
    flex-direction: column;
}

.ca-news-post p, 
.ca-news-post a, 
.ca-news-post h4 {
    text-align: left !important;
    margin: 0px !important;
    text-decoration: none;
    color:#000;
}

.ca-news-post p {
    font-size: 15px;
}

.ca-news-post h4 {
    font-size: 28px;
    line-height: 1.2em;
    margin-top: 20px;
    color: #000;
}

.ca-post-cat a {
    font-size: 14px;
    color: #000 !important;
    margin: 0px !important;
}

.uabb-read-more-text {
    margin: 10px 0px 0px 0px;
    padding: 10px 0px 10px 0px;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.uabb-read-more-text a {
    color: #C80101 !important;
}

/* Share Buttons */
.ca-blog--share {
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-top: 15px;
    margin-bottom: 10px;
    color: #808285;
    margin-top: auto; /* Aligns to bottom */
}

.ca-blog--share i {
    margin-right: 5px;
}

.ca-blog--share-buttons a {
    font-size: 30px;
    transition: color 0.5s ease 0s;
    color: #808285 !important;
}

.ca-blog--share-buttons a:hover {
    color: #CD0100;
}

/*--------------------------------------------------------------
# Lightboxes
--------------------------------------------------------------*/
.ca-lightbox {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    z-index: 99999;
}
.ca-lightbox.open {
    display: block;
}
body.admin-bar .ca-lightbox {
    top: 32px;
}
.ca-lightbox--topbar {
    position: absolute;
    height: 70px;
    left: 0;
    top: 0;
    right: 0;
    padding: 10px 20px;
    clear: both;
}
.ca-lightbox--topbar .ca-close {
    float: right;
    background: none;
    border: none;
    color: #999;
    font-size: 48px;
    padding: 0 !important;
}
.ca-lightbox--content {
    position: absolute;
    top: 70px;
    bottom: 70px;
    right: 0;
    left: 0;
}
.ca-lightbox--content img {
    height: 100%;
    width: auto;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
    .ca-blog-wrap {
        width: 50%;
    }
    .ca-news-post h4 {
        font-size: 30px;
    }
}
@media only screen and (max-width: 992px) {
    .ca-news-post h4 {
        font-size: 24px;
    }
    .ca-blogs-terms-filter .ca-term-btn {
        font-size: 14px;
    }
    .ca-blog--share {
        padding-top: 15px;
    }
}
@media only screen and (max-width: 768px) {
    .ca-blog-wrap {
        width: 100%;
    }
}