/**
 * Banner post
 */

.banner-post__row {
    margin-left: -5px;
    margin-right: -5px;
}
.banner-post__3,
.banner-post__2,
.banner-post__1 {
    padding-left: 5px;
    padding-right: 5px;
}
.banner-post {
    height: 330px;
}

/* Banner post -- Overlay */
.banner-post .overlay {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.banner-post .overlay {background: rgba(41, 42, 46, 0.3); /* #292a2e */ }
.banner-post:hover .overlay {background: rgba(41, 42, 46, 0.5);}
.banner-post .overlay:before,
.banner-post .overlay:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.banner-post .overlay:before {}
.banner-post .overlay:after {}
.banner-post__link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.banner-post__content {
    position: relative;
    padding: 0 40px 30px 40px;
}

/* Banner post -- Category */
.banner-post__category {
    display: inline-block;
}
.banner-post__category a {
    display: inline-block;
    font-size: 12px;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    color: #999999;
}

.banner-post__category a:hover {
    color: #ffffff;
}

/* Banner post -- Title */
.entry-content h2.banner-post__title:not(.page-title),
.banner-post__title {
    font-size: 18px;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.6667;
    text-align: center;
    letter-spacing: 0;
    margin: 0;
    color: #ffffff;
}
.entry-content h2.banner-post__title:not(.page-title) a,
.banner-post__title a {
    color: #ffffff;
}
.entry-content h2.banner-post__title:not(.page-title) a:hover,
.banner-post__title a:hover {
    color: #b2b2b2;
}

/* Banner post -- Date */
.banner-post__date {
    display: block;
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 2.1429;
    color: #999999;
}

/* Blocks for content vertical align */
.banner-post__table {
    text-align: center;
    display: table;
    height: 100%;
    width: 100%;
}
.banner-post__cell {
    position: relative;
    display: table-cell;
    width: 100%;
    vertical-align: bottom;
    line-height: 0; /* need to remove unnecessary spaces inline-block's */
}

/* Font family */

/* Animate/Transition */
.banner-post .overlay,
.banner-post:hover .overlay,
.transition--on {
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

/* Disable: Animate/Transition */
.transition--off {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

/**
 * Responsive and widget placements
 */

.widget-width__full .widget.widget_banner_posts {
    padding: 10px;
    background-color: #ffffff;
}
.widget-width__full .banner-post__row {

}

/* Make banners in one column */
.widget-width__side .banner-post__row {
    margin-left: 0;
    margin-right: 0;
}
.widget-width__side .banner-post__3,
.widget-width__side .banner-post__2,
.widget-width__side .banner-post__1 {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
}
.widget-width__side .banner-post__3 + .banner-post__3,
.widget-width__side .banner-post__2 + .banner-post__2 {
    margin-top: 10px;
}

/* If one banner make it wide */
.widget-width__loop .banner-post__1 {
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 0;
    width: 100%;
}