/**
 * Recent posts carousel
 */

.widget.widget_recent_entries_carousel {
    padding: 0;
}

.widget.widget_recent_entries_carousel .owl-item .item {
    -webkit-transition: all ease .4s;
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -o-transition: all ease .4s;
    transition: all ease .4s;
    opacity: 1;
}

.widget.widget_recent_entries_carousel .owl-carousel .owl-controls {
    margin-top: 24px;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-nav {
    display: block;
    margin: 0 auto;
    min-height: 30px;
    min-width: 180px;
}

.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 {
}

.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-nav .owl-prev {
    left: 24px;
}

.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-nav .owl-next {
    right: 24px;
}

.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-prev .rp-chevron-thin-left:before,
.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-next .rp-chevron-thin-right:before {
    display: inline;
    font-family: 'FontAwesome';
    font-size: 24px;
    content: ' ';
    -webkit-transition: all ease .4s;
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -o-transition: all ease .4s;
    transition: all ease .4s;
}

.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-prev .rp-chevron-thin-left:before {
    content: '\f104';
    float: left;
}

.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-next .rp-chevron-thin-right:before {
    content: '\f105';
    float: right;
}

.widget.widget_recent_entries_carousel .owl-carousel .owl-controls .owl-dots {
    bottom: 20px;
    overflow: hidden;
    position: relative;
    width: auto;
    text-align: center;
}

.widget.widget_recent_entries_carousel .owl-carousel .owl-dots .owl-dot {
    display: inline-block;
}

.widget.widget_recent_entries_carousel .owl-carousel .owl-dots .owl-dot span {
    background: transparent none repeat scroll 0 0;
    border-radius: 0;
    display: block;
    height: 8px;
    margin: 2px 7px;
    -webkit-transition: all ease .4s;
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -o-transition: all ease .4s;
    transition: all ease .4s;
    width: 8px;
}

/* 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 -- Image */
.rp-carousel__image {
    overflow: hidden;
    position: relative;
}

/* Recent posts carousel -- Overlay */
.rp-carousel .item .overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    -webkit-transition: all ease .4s;
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -o-transition: all ease .4s;
    transition: all ease .4s;
}
.rp-carousel .owl-item:hover .item .overlay {
    opacity: 0.5;
}

.rp-carousel.style-1 .owl-item .item.video .rp-carousel__image:after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
    background: url("img/play.png") repeat scroll 0 0;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
    -webkit-transition: all ease .4s;
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -o-transition: all ease .4s;
    transition: all ease .4s;
}
.rp-carousel.style-1 .owl-item:hover .item.video .rp-carousel__image:after {
    opacity: 1;
}

.rp-carousel__link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.rp-carousel__content {
    position: relative;
    z-index: 2;
    padding: 24px 15px;
    text-align: left;
}

.rp-carousel__content .rp-carousel__excerpt {
    height: 72px;
    overflow: hidden;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 24px;
    margin-bottom: 36px;
}

/* Recent posts carousel -- Category */
.rp-carousel__category {
    display: inline-block;
    line-height: 1;
}

.rp-carousel__category a,
.rp-carousel__category span {
    display: inline-block;
    font-size: 12px;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Recent posts carousel -- Title */
.rp-carousel__title {
    font-size: 30px;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 12px;
    height: 75px;
    overflow: hidden;
}
.rp-carousel__title a {
    -webkit-transition: 0s;
    -moz-transition: 0s;
    -ms-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
}

/* Recent posts carousel -- Date */
.rp-carousel__author,
.rp-carousel__date {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 300;
    text-transform: uppercase;
}


/* Recent posts carousel -- Social */
.rp-carousel__content .share-icons li {
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.rp-carousel__content .share-icons .fa-facebook {
    color: #507cbe;
}

.rp-carousel__content .share-icons .fa-twitter {
    color: #00abef;
}

.rp-carousel__content .share-icons .fa-google-plus {
    color: #cc3c2c;
}

.rp-carousel__content .share-icons .fa-linkedin {
    color: #3371b7;
}

.rp-carousel__content .share-icons .fa-pinterest {
    color: #bd2519;
}

.rp-carousel__content .share-icons li:hover {
    opacity: 0.5;
}

/* Disable: Animate/Transition */
.transition--off {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

/* Animate/Transition */
.transition--on {
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

/* Recent posts layout 2 */
.rp-carousel.style-2 .rp-carousel__content {
    text-align: center !important;
    padding-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 36px;
}
.widget_recent_entries_carousel .rp-carousel.style-2 .item {
    background: transparent;
}
.rp-carousel.style-2 .rp-carousel__title {
    font-size: 20px;
    font-size: 2rem;
    font-weight: 100;
    height: 48px;
    letter-spacing: 0;
    line-height: 1.2;
    margin-bottom: 12px;
    overflow-x: hidden;
    overflow-y: hidden;
}
.rp-carousel.style-2 .item .overlay {
    background: transparent !important;
}
.rp-carousel.style-2 .owl-item .item.video .rp-carousel__image:after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
    background: url("img/play-2.png") repeat scroll 0 0;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
    -webkit-transition: all ease .4s;
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -o-transition: all ease .4s;
    transition: all ease .4s;
}
.rp-carousel.style-2 .owl-item:hover .item.video .rp-carousel__image:after {
    opacity: 1;
}


/**
 * 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;
}

.footer__widgets-row .widget.widget_recent_entries_carousel {
    padding-bottom: 40px;
}

@media screen and (min-width: 38.75em) {
    .rp-carousel__content {
        padding: 24px 30px;
    }
}

@media screen and (min-width: 77.5em) {
    .rp-carousel__content {
        padding: 24px 30px;
    }
}