/**
 * Styles for KC Addons
 *
 * @author Rascals Themes
 * @category CSS
 * @package Mixone Toolkit
 * @version 1.0.0
 */


/* ==================================================
   Widgets
================================================== */


/* Recent Posts
 -------------------------------- */
.rt-recent-posts .rp-list li {
    overflow: hidden;
    margin-bottom: 16px;
    margin-left:0;
}
.rt-recent-posts .rp-list li:last-child {
    border: 0;
    margin-bottom: 0;
}
.rt-recent-posts .rp-post-thumb {
    float: left;
    width: 90px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.rt-recent-posts .rp-post-thumb-link {
    display:block;
    background-color:#f6f6f6
}
.cut-corners .rt-recent-posts .rp-post-thumb {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}
.rt-recent-posts.rt-show-thumbs .rp-caption {
    color: #4063e6;
    padding-left: 105px;
    position:relative;
    top:-4px;
}
.rt-recent-posts .rp-caption .rp-cats {
    line-height:100%;
    margin-bottom:5px;
}
.rt-recent-posts .rp-caption .cat {
    font-size:12px;
    text-transform:uppercase;
    font-weight:400;
    margin-right:8px;
}
.rt-recent-posts .rp-caption .cat:last-child {
    margin-right:0
}
.rt-recent-posts .rp-caption .cat .cat-inner {
    color: inherit;
    display:inline-block;
}
.rt-recent-posts .rp-caption h4 {
    margin-bottom: 0px;
    font-size: 16px;
    margin-top: 0px;
    font-weight: 400;
}
.rt-recent-posts .rating-stars-block {
    font-size:14px;
}
.rt-recent-posts .rp-caption h4 a {
    font-weight: 600;
    font-size: 16px;
    color: #15141b;
}
.rt-recent-posts .rp-caption h4 a:hover {
    color:#4063e6
}
.dark-bg .rt-recent-posts .rp-post-thumb-link {
    background-color:#15141b;
}
.dark-bg .rt-recent-posts .rp-caption {

}
.dark-bg .rt-recent-posts .rp-caption h4 a {
    color: rgba(255, 255, 255, 0.8);
    font-size:15px;
    font-weight: 400;
}
.dark-bg .rt-recent-posts .rp-caption h4 a:hover {
    color:#4063e6
}
.rt-recent-posts .rp-caption h4 a:before {
    display: none;
}
.rt-recent-posts .rp-caption h4 a:hover {
}
.rt-recent-posts .rp-caption .rp-date {
    font-size: 14px;
    color: #999;
}
.rp-excerpt {
    margin-top:5px;
    display:block;
    color: #666;
    line-height:1.5;
    font-size: 12px;
}
.dark-bg .rp-excerpt {
    color:#bbb;
    font-weight:400;
    font-size: 13px
}


/* AD Spots
 -------------------------------- */
.kc-adspot .adspot {
    padding:0;
}


/* Instagram
 -------------------------------- */
/* - Instagram -
Dislay instagram feed
*/
.rt-instagram {
}
    .rt-instagram-header {
        overflow: hidden;
        width: 100%;
        position:relative;
        margin-bottom:20px
    }
        .rt-instagram-profile-img {
            float: left;
            width: 60px;
            border-radius: 100%;
            margin-right:10px;
        }
            .rt-instagram-profile-img img {
                 border-radius: 100%;
            }

        .rt-instagram-data {}
            .rt-instagram-user {}
                .rt-instagram-user a {
                    color:#4063e6;
                    font-weight:500;

                }
            .rt-instagram-followers {
                font-size:14px;
                font-weight:400;
            }
                .rt-instagram-followers span {}
        .rt-instagram-button {
            position: absolute;
            top: 14px;
            right: 0;
            padding: 9px 14px 7px;
            border: 1px solid #ededed;
            line-height: 1;
            font-size: 11px;
            text-transform: uppercase;
            font-weight: 700;
            color: #15141b;;
            /* border-radius:99em; */
        }

.rt-instagram-images {
    overflow: hidden;
    position: relative;
}

.rt-instagram-image {
    position: relative;
    float: left;
}

.rt-instagram-images.rt-instagram-grid-1 .rt-instagram-image {
    width: 100%;
}

.rt-instagram-images.rt-instagram-grid-2 .rt-instagram-image {
    width: 50%;
}

.rt-instagram-images.rt-instagram-grid-3 .rt-instagram-image {
    width: 33.333%;
}

.rt-instagram-images.rt-instagram-grid-4 .rt-instagram-image {
    width: 25%;
}

.rt-instagram-images.rt-instagram-grid-5 .rt-instagram-image {
    width: 20%;
}

.rt-instagram-image .instafeed-image-square {
    position: relative;
    height: 0;
    padding-top: 100%;
    overflow: hidden;
}
.rt-instagram-image .instafeed-image-square img {
    object-fit: cover;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}
.rt-instagram-image a {
    display: inline-block;
}

.rt-instagram-meta {
    position: absolute;
    pointer-events: none;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    background-color: rgba(0,0,0,0.6);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    opacity: 0
}

.rt-instagram-image:hover .rt-instagram-meta {
    opacity: 1
}

.rt-instagram-meta div {
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    width: 100%;
}

.rt-instagram-meta span {
    display: inline-block;
    margin: 0 5px;
}

.rt-instagram-meta span i {
    margin-right: 5px;
    top: 1px;
    position: relative;
}

/* Gap */
.rt-instagram-images.small-gap .rt-instagram-image {
    padding: 1px;
}

.rt-instagram-images.small-gap .rt-instagram-meta {
    margin: 1px;
}

/* Follow Overlay */
.rt-instagram .follow-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.rt-instagram .follow-overlay a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em
}

.rt-instagram:hover .follow-overlay {
    opacity: 0
}

/* Media Queries */
@media only screen and (max-width: 1240px) {
    .rt-instagram.widget-size .rt-instagram-header {
        display:none;
    }

    .rt-instagram.widget-size .rt-instagram-image {
        width: 50% !important;
    }

    .rt-instagram .follow-overlay a {
        font-size: 18px
    }
}

@media only screen and (max-width: 1020px) {
    .rt-instagram.widget-size .rt-instagram-image {
        width:33.33% !important;
    }

    .rt-instagram.widget-size .rt-instagram-header {
        display: block;
    }
}

@media only screen and (max-width: 810px) {
    .rt-instagram.widget-size .rt-instagram-header {
        display:block;
    }

    .rt-instagram.widget-size .rt-instagram-image {
        width: 33.33% !important;
    }
}

@media only screen and (max-width: 479px) {
    .rt-instagram.widget-size .rt-instagram-button {
        display:none;
    }

    .rt-instagram.widget-size .rt-instagram-image {
        width: 50% !important;
    }

    .rt-instagram.fullwidth-size .rt-instagram-images .rt-instagram-image:nth-child(n+5) {
        display: none
    }

    .rt-instagram.fullwidth-size .rt-instagram-image {
        width: 50%;
    }
}



/* ==================================================
   Posts Blocks
================================================== */

/* Common
 -------------------------------- */
.kc-pb {
    width:100%;
    position:relative;
    padding:0 15px;
}
.kc-pb-row {
    width:100%;
    position:relative;
}
.kc-pb-col {
    position:relative;
}
.kc-pb-col .module article {
    margin:15px
}
.kc-flex-no-gap .flex-item {
    margin-bottom:0
 }


/* Block 1/2
 -------------------------------- */
.kc-pb1,
.kc-pb2 {
    height: 600px;
}

    .kc-pb1 .kc-pb-col,
    .kc-pb2 .kc-pb-col {
        height: 100%;
        width: 50%;
    }
    .kc-pb1 .kc-pb-col1 {
        float:left;
    }
    .kc-pb1 .kc-pb-col2 {
        float:right;
    }
    .kc-pb2 .kc-pb-col1 {
        float:right;
    }
    .kc-pb2 .kc-pb-col2 {
        float:left;
    }
    .kc-pb1 .kc-pb-row,
    .kc-pb2 .kc-pb-row {
        height:50%;
    }


/* Block 3
 -------------------------------- */
.kc-pb3 {
    height: 600px;
}
    .kc-pb3 .kc-pb-col {
        height: 100%;
        width: 50%;
    }
    .kc-pb3 .kc-pb-col1 {
        float:left;
    }
    .kc-pb3 .kc-pb-col2 {
        float:right;
    }

    .kc-pb3 .kc-pb-row {
        height:50%;
    }
    .kc-pb3 .kc-pb-row .module {
        width:50%;
        height:100%;
        position:relative;
        float:left;
    }


/* Block 8
 -------------------------------- */
.kc-pb8 .module-3 {
    margin-bottom:40px;
}

/* Block 9
 -------------------------------- */
.kc-pb9 .module-8:last-child .module-inner  {
    border-bottom:none;
    margin-bottom:0;
}


/* ==================================================
   POSTS CAROUSEL
================================================== */
.kc-posts-carousel.kc-owl-post-carousel .owl-item .list-item {
    box-shadow: none;
    text-align: left;
    padding-bottom: 0px;
}

.kc-posts-carousel.kc-owl-post-carousel .owl-item {
    padding-right: 10px;
    padding-left: 10px;
}
.kc-posts-carousel.kc-owl-post-carousel.no-gap .owl-item {
    padding-right: 0px;
    padding-left: 0px;
}

/* Pagination */
.kc-posts-carousel.owl-theme .owl-controls .owl-page span{
    width: 14px;
    height: 14px;
    margin: 5px 1px;
    opacity:1;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background: #dcdcdc;
    -webkit-clip-path: polygon(15% 0, 100% 0%, 85% 100%, 0% 100%);
    clip-path: polygon(15% 0, 100% 0%, 85% 100%, 0% 100%);
}
.kc-posts-carousel.owl-theme .owl-controls .owl-page.active span,
.kc-posts-carousel.owl-theme .owl-controls.clickable .owl-page:hover span{
    background: #4063e6;
    opacity: 1;
}

/* Buttons navigation */
.kc-posts-carousel.owl-theme .owl-controls .owl-buttons div:hover {
    background: #15141b;;
}
.kc-posts-carousel.owl-theme .owl-controls .owl-buttons div {
    color: #FFF;
    display: inline-block;
    font-size: 13px;
    text-transform:uppercase;
    border-radius:0px;
    background: #4063e6;
    opacity:1;
    transition: all 0.3s ease;
    margin:0;
    padding:0;
}
.kc-posts-carousel.owl-nav-arrows.owl-theme {
    padding-top:35px;
}
.kc-posts-carousel.owl-nav-arrows.owl-theme .owl-controls .owl-buttons {
    position:absolute;
    top:0;
    right:-12px;
}
.kc-posts-carousel.owl-nav-arrows.owl-theme .owl-controls .owl-buttons div {
    position:relative;
    opacity:1;
    text-align:center;
    height:30px;
    color: transparent;
    background:transparent;
    width:30px;
    margin:0 4px
}
.kc-posts-carousel.owl-nav-arrows.owl-theme .owl-controls .owl-buttons div:hover,
.kc-posts-carousel.owl-nav-arrows.owl-theme .owl-controls .owl-buttons div:hover {
   background:transparent;
}
.kc-posts-carousel.owl-nav-arrows.owl-theme .owl-controls .owl-buttons div:before,
.kc-posts-carousel.owl-nav-arrows.owl-theme .owl-controls .owl-buttons div:after {
    color: #000;
    font-size: 23px;
    line-height:30px;
}
.dark-bg.kc-posts-carousel.owl-nav-arrows.owl-theme .owl-controls .owl-buttons div:before,
.dark-bg.kc-posts-carousel.owl-nav-arrows.owl-theme .owl-controls .owl-buttons div:after {
    color: #fff;
}
.owl-nav-arrows.owl-theme .owl-controls .owl-buttons div:before {
    content: "\f104";
    font-family: 'icomoon'
}
.owl-nav-arrows.owl-theme .owl-controls .owl-buttons .owl-next:before {
    content: "\f105";
}
.owl-nav-arrows.owl-theme .owl-controls .owl-buttons .owl-prev {
    position:relative;
}
.owl-nav-arrows.owl-theme .owl-controls .owl-buttons .owl-prev:after {
    content: "";
    position: absolute;
    right: 4px;
    top: 0px;
    height: 30px;
    padding:0;
    width: 1px;
    background-color: #ccc;
    transform: rotate(4deg);
    -webkit-transform: rotate(30deg);
}
.dark-bg.owl-nav-arrows.owl-theme .owl-controls .owl-buttons .owl-prev:after {
    background-color: #ccc;
}

/* Modules */
.kc-posts-carousel .module-3 .module-thumb-wrap {
    margin-right:20px
}
.cut-corners .kc-posts-carousel .module-3 .module-link:before {
    right: 20px;
}


/* ==================================================
   Posts Slider
================================================== */
.kc-posts-slider.kc-owl-post-carousel .owl-item .list-item {
    box-shadow: none;
    text-align: center;
    padding-bottom: 0px;
}
.kc-posts-slider.kc-owl-post-carousel .owl-item {
    padding-right: 0px;
}
.kc-posts-slider .post-slide {
    height: 600px;
    position: relative;
}

/* Navigation */
.kc-posts-slider.owl-theme .owl-controls {
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    margin-top: 0px;
    text-align: left;
    border-bottom:1px solid #eee;
}

.kc-posts-slider.owl-theme .owl-pagination {
    counter-reset: slidecounter;
}
.kc-posts-slider.owl-theme .owl-pagination .owl-page {
    counter-increment: slidecounter;
    min-width:60px;
    background-color:#fff;
    text-align:center;
    font-size:12px;
    border-right:1px solid #eee;
    transition:all 0.3s ease;
}
.kc-posts-slider.owl-theme .owl-pagination .owl-page:first-child {
    border-left:1px solid #eee;
}
.kc-posts-slider.owl-theme .owl-pagination .owl-page.active:first-child {
    border-left:none;
}
.kc-posts-slider.owl-theme .owl-pagination .owl-page.active:last-child {
    border-right:none;
}
.kc-posts-slider.owl-theme .owl-pagination .owl-page.active {
    background-color:transparent;
    color:#fff;
}
.kc-posts-slider.owl-theme .owl-pagination .owl-page:hover {
    background-color:#4063e6;
    color:#fff;
}
.kc-posts-slider.owl-theme .owl-pagination .owl-page:before {
    content: counter(slidecounter);
}
.kc-posts-slider.owl-theme .owl-pagination .owl-page span {
    display:none;
}
/* one item */
.kc-posts-slider.owl-theme .owl-pagination .owl-page:first-child:nth-last-child(1) {
    width: 100%;
}

/* two items */
.kc-posts-slider.owl-theme .owl-pagination .owl-page:first-child:nth-last-child(2),
.kc-posts-slider.owl-theme .owl-pagination .owl-page:first-child:nth-last-child(2) ~ .owl-page {
    width: 50%;
}

/* three items */
.kc-posts-slider.owl-theme .owl-pagination .owl-page:first-child:nth-last-child(3),
.kc-posts-slider.owl-theme .owl-pagination .owl-page:first-child:nth-last-child(3) ~ .owl-page {
    width: 33.333333%;
}

/* four items */
.kc-posts-slider.owl-theme .owl-pagination .owl-page:first-child:nth-last-child(4),
.kc-posts-slider.owl-theme .owl-pagination .owl-page:first-child:nth-last-child(4) ~ .owl-page {
    width: 25%;
}
/* five items */
.kc-posts-slider.owl-theme .owl-pagination .owl-page:first-child:nth-last-child(5),
.kc-posts-slider.owl-theme .owl-pagination .owl-page:first-child:nth-last-child(5) ~ .owl-page {
    width: 20%;
}

/* Module */
.kc-posts-slider .module-6 .module-info {
    bottom:60px;
    left:30px;
    right:30px;
}


/* ==================================================
   CF7
================================================== */
span.wpcf7-not-valid-tip {
    font-size:12px
}
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    border: 1px solid #4063e6;
    font-size:14px;
    padding:10px 20px;
    color:#4063e6;
}


/* ==================================================
   KC Native Elements
================================================== */
.kc-button-10 a span {
    color:inherit;
}

i.grp-column {
    font-style:normal;
}

/* ==================================================
   MEDIA QUERIES
================================================== */

/* Very Large Displays
 -------------------------------- */
@media only screen and (max-width:1640px) and (min-width:1150px) {

}

/* Large Displays
 -------------------------------- */
@media only screen and (max-width:1560px) and (min-width:1150px) {

}

/* For Small Desktop Devices [ 960px ]
 -------------------------------- */
@media only screen and (max-width:1240px) {


    /* Widgets
    -------------------------------- */
    .rt-recent-posts .rp-post-thumb {
        width:0px;
    }
    .rt-recent-posts.rt-show-thumbs .rp-caption {
        padding-left: 0px;
    }
    .rt-instagram-button {
        display:none;
    }


}


/* For Tablet and Mobile devices
 -------------------------------- */
@media only screen and (max-width:1020px) {


    /* Widgets
    -------------------------------- */
    .rt-recent-posts .rp-post-thumb {
        width:90px;
    }
    .rt-recent-posts.rt-show-thumbs .rp-caption {
        padding-left: 105px;
    }


    /* Blocks
    -------------------------------- */
    .kc-pb1,
    .kc-pb2 {
        height: auto;
    }

    .kc-pb1 .kc-pb-col,
    .kc-pb2 .kc-pb-col {
        width: 100%;
    }
    .kc-pb1 .kc-pb-col1,
    .kc-pb2 .kc-pb-col1 {
        float:left;
        height:400px
    }
    .kc-pb1 .kc-pb-col2,
    .kc-pb2 .kc-pb-col2 {
        float:left;
        height:300px;
    }
    .kc-pb1 .kc-pb-row,
    .kc-pb2 .kc-pb-row {
        height:100%;
        width:50%;
        float:left;
    }
    .kc-pb3 {
        height: auto;
    }
    .kc-pb3 .kc-pb-col {
        width: 100%;
    }
    .kc-pb3 .kc-pb-col1 {
        height: 600px;
        float:left;
    }
    .kc-pb3 .kc-pb-col2 {
        height: 600px;
        float:right;
    }
    .kc-pb3 .kc-pb-row {
        height:50%;
    }
    .kc-pb3 .kc-pb-row .module {
        width:50%;
        height:100%;
        position:relative;
        float:left;
    }
    .rt-instagram-button {
        display:block;
    }

}


/* For Tablet Devices [ 748px ]
 -------------------------------- */
@media only screen and (min-width:768px) and (max-width:1020px) {
}


/* ----------------------------------------------------------------------
For Mobile Devices [ 300px ]
/* ---------------------------------------------------------------------- */
@media only screen and (max-width:810px) {


    /* Widgets
    -------------------------------- */
    .rt-instagram-image {
        width:33.33% !important;
    }

}


/* For Mobile Devices [ 440px ]
 -------------------------------- */
@media only screen and (max-width:479px) {


    /* Widgets
    -------------------------------- */
    .rt-recent-posts li {
        border-bottom:1px solid #f6f6f6;
    }
    .dark-bg .rt-recent-posts li {
        border-bottom:1px solid #15141b;;
    }
    .rt-recent-posts .rp-post-thumb-link {
        /* display:none; */
    }
    .rt-recent-posts .rp-caption {
        padding-left: 0px;
    }
    .rt-recent-posts .rp-caption h4 a {
        font-weight: 600;
        font-size: 15px;
        font-family: 'Roboto', sans-serif;
    }
    .rt-instagram-button {
        display:none;
    }
    .rt-instagram-image {
        width:50% !important;
    }


    /* Blocks
    -------------------------------- */
    .kc-pb1,
    .kc-pb2 {
        height: auto;
    }
    .kc-pb1 .kc-pb-col,
    .kc-pb2 .kc-pb-col {
        width: 100%;
    }
    .kc-pb1 .kc-pb-col1,
    .kc-pb2 .kc-pb-col1 {
        float:none;
        height:300px
    }
    .kc-pb1 .kc-pb-col2,
    .kc-pb2 .kc-pb-col2 {
        float:none;
        height:auto;
    }
    .kc-pb1 .kc-pb-row,
    .kc-pb2 .kc-pb-row {
        height:300px;
        width:100%;
        float:none;
    }
    .kc-pb3 {
        height: auto;
    }
    .kc-pb3 .kc-pb-col {
        width: 100%;
    }
    .kc-pb3 .kc-pb-col1 {
        height: 300px;
        float:left;
    }
    .kc-pb3 .kc-pb-col2 {
        height: auto;
        float:right;
    }
    .kc-pb3 .kc-pb-row {
        height:100%;
    }
    .kc-pb3 .kc-pb-row .module {
        width:100%;
        height:300px;
        position:relative;
        float:left;
    }

}
