/**
 * Recent posts carousel
 */

.widget.widget_recent_entries_carousel {padding: 0;}
.widget.widget_recent_entries_carousel .owl-carousel .owl-controls {margin-top: 0;}
.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-nav .owl-prev,
.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: solid 1px #e5e5e5;
    color: #e5e5e5;
}
.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-nav .owl-prev:hover,
.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-nav .owl-next:hover {
    border: solid 1px #323232;
    color: #323232;
}

/* Recent posts carousel -- with title */
.widget.widget_recent_entries_carousel .widget-title + .owl-carousel .owl-controls .owl-nav {
    position: absolute;
    top: -62px;
}
.widget-width__loop .widget.widget_recent_entries_carousel .widget-title + .owl-carousel .owl-controls .owl-nav {
    top: -82px;
}
.widget.widget_recent_entries_carousel .widget-title + .owl-carousel .owl-controls .owl-nav .owl-prev,
.widget.widget_recent_entries_carousel .widget-title + .owl-carousel .owl-controls .owl-nav .owl-next {
    position: absolute;
    top: 0;
}
.widget.widget_recent_entries_carousel .widget-title + .owl-carousel .owl-controls .owl-nav .owl-prev {right: 40px;}
.widget.widget_recent_entries_carousel .widget-title + .owl-carousel .owl-controls .owl-nav .owl-next {right: 0;}
/* end: with title*/

/* Recent posts carousel -- Overlay */
.rp-carousel .item .overlay {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.rp-carousel .item .overlay {background: rgba(50,50,50,0.1); opacity: 0.8; /* #323232 */  }
.rp-carousel .item:hover .overlay {background: rgba(50,50,50,0.5);}
.rp-carousel .overlay:before,
.rp-carousel .overlay:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.rp-carousel .overlay:before {}
.rp-carousel .overlay:after {
    background: -moz-linear-gradient(top,  rgba(50,50,50,0.01) 0%, rgba(50,50,50,0.9) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(50,50,50,0.01)), color-stop(100%,rgba(50,50,50,0.9)));
    background: -webkit-linear-gradient(top,  rgba(50,50,50,0.01) 0%,rgba(50,50,50,0.9) 100%);
    background: -o-linear-gradient(top,  rgba(50,50,50,0.01) 0%,rgba(50,50,50,0.9) 100%);
    background: -ms-linear-gradient(top,  rgba(50,50,50,0.01) 0%,rgba(50,50,50,0.9) 100%);
    background: linear-gradient(to bottom,  rgba(50,50,50,0.01) 0%,rgba(50,50,50,0.9) 100%);
    opacity: 1;
}
.rp-carousel .item:hover .overlay:after {
    opacity: 1;
}
.rp-carousel__link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.rp-carousel__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0 10px;
    text-align: center;
}

/* Recent posts carousel -- Category */
.rp-carousel__category {
    display: inline-block;
}
.rp-carousel__category a,
.rp-carousel__category span {
    display: inline-block;
    font-size: 12px;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    padding: 4px 16px;
    margin-bottom: 13px;
    background-color: #00abef;
    color: #ffffff;
}
.rp-carousel__category a:hover {
    color: rgba(255,255,255,0.5);
}

/* Recent posts carousel -- Title */
.rp-carousel__title {
    font-size: 18px;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.1111;
    letter-spacing: 0;
    margin-bottom: 10px;
    color: #ffffff;
}
.rp-carousel__title a {color: #ffffff;}
.rp-carousel__title a:hover {color: #b2b2b2;}

/* Recent posts carousel -- Date */
.rp-carousel__date {
    display: block;
    margin-bottom: 10px;
    color: #b2b2b2;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 1;
}

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

/* Font family */
.rp-carousel__category,
.rp-carousel__title,
.rp-carousel__date,
.font-family--roboto {
    font-family: 'Roboto', sans-serif;
}

/* Animate/Transition */
.rp-carousel .item .overlay,
.rp-carousel .item:hover .overlay,
.rp-carousel .item .overlay:after,
.rp-carousel .item:hover .overlay:after,
.transition--on {
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

/**
 * Responsive and widget placements
 */

/* Footer widget */
.footer .widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-nav .owl-prev,
.footer .widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-nav .owl-next {
    background-color: transparent;
    border: solid 1px #474747;
    color: #474747;
}
.footer .widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-nav .owl-prev:hover,
.footer .widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-nav .owl-next:hover {
    border: solid 1px #888888;
    color: #888888;
}

.footer__widgets-row .widget.widget_recent_entries_carousel {
    padding-bottom: 40px;
}