/*
    StyleSheet For Responsive Bootstrap Carousel Effect Ken Burns
    Author: Razboynik
    Author URI: http://filwebs.ru
    Description: Bootstrap Carousel Effect Ken Burns
*/
.kb_control_left, .kb_control_right {
    -webkit-transition: all ease-in-out .3s;
    height: 55px;
    opacity: 0;
    text-align: center;
    top: 50%;
    transition: all ease-in-out .3s;
    width: 55px;
    z-index: 2;
}

.kb_wrapper:hover .kb_control_left, .kb_wrapper:hover .kb_control_right { opacity: .8 }

.kb_icons {
    color: white;
    font-size: 65px !important;
    font-weight: normal !important;
    line-height: 50px;
}

.kb_control_left { left: 5% !important }

.kb_control_right { right: 7% !important }

.kb_elastic {
    -webkit-transform: scale3d(1, 1, 1);
    opacity: 1;
    transform: scale3d(1, 1, 1)
}

.kb_elastic > .item {
    -webkit-transform: scale3d(2, 1, 2);
    -webkit-transition: -webkit-transform 0s ease-in-out 0s, opacity ease-in-out 0s;
    display: block !important;
    left: 0 !important;
    opacity: 0;
    position: absolute;
    top: 0;
    transform: scale3d(2, 1, 2);
    transition: transform 0s ease-in-out 0s, opacity ease-in-out 0s;
    width: 100%;
    z-index: 1;
}

.kb_elastic > .item:first-child {
    position: relative;
    top: auto;
}

.kb_elastic > .item.active {
    -webkit-transform: scale3d(1, 1, 1);
    -webkit-transition: -webkit-transform 0s ease-in-out 0s, opacity ease-in-out 0s;
    opacity: 1;
    transform: scale3d(1, 1, 1);
    transition: transform 0s ease-in-out 0s, opacity ease-in-out 0s;
    z-index: 2;
}

.kb_wrapper {
    height: 100vh;
    overflow: hidden;
}

.kb_wrapper > .carousel-inner > .item > img, .kb_wrapper > .carousel-inner > .item > a > img {
    -moz-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    -o-transform-origin: 100% 0;
    -webkit-animation: immortalkenburns 20000ms linear 0s infinite alternate;
    -webkit-transform-origin: 100% 0;
    animation: immortalkenburns 20000ms linear 0s infinite alternate;
    margin: auto;
    opacity: .8;
    transform-origin: 100% 0;
    width: 100% !important;
}

@-webkit-keyframes immortalkenburns {
    0% {
        -webkit-transform: scale(1);
        -webkit-transition: -webkit-transform 20000ms linear 0s
    }

    100% {
        -webkit-transform: scale(1.2);
        -webkit-transition: -webkit-transform 20000ms linear 0s
    }
}

@-moz-keyframes immortalkenburns {
    0% {
        -moz-transform: scale(1);
        -moz-transition: -moz-transform 20000ms linear 0s
    }

    100% {
        -moz-transform: scale(1.2);
        -moz-transition: -moz-transform 20000ms linear 0s
    }
}

@-ms-keyframes immortalkenburns {
    0% {
        -ms-transform: scale(1);
        -ms-transition: -ms-transform 20000ms linear 0s
    }

    100% {
        -ms-transform: scale(1.2);
        -ms-transition: -ms-transform 20000ms linear 0s
    }
}

@-o-keyframes immortalkenburns {
    0% {
        -o-transform: scale(1);
        -o-transition: -o-transform 20000ms linear 0s
    }

    100% {
        -o-transform: scale(1.2);
        -o-transition: -o-transform 20000ms linear 0s
    }
}

@keyframes immortalkenburns {
    0% {
        transform: scale(1);
        transition: transform 20000ms linear 0s
    }

    100% {
        transform: scale(1.2);
        transition: transform 20000ms linear 0s
    }
}

.kb_caption {
    bottom: 60%;
    left: 10%;
    text-align: left;
    width: 40%;
}

.kb_caption_right { left: 50% }

.kb_caption_center {
    float: none;
    margin: auto
}

@media only screen and (max-width: 480px) {
    .kb_control_left, .kb_control_right { border: 0 }

    .kb_icons { font-size: 18px !important }

    .kb_caption {
        bottom: 25%;
        left: 0;
        text-align: center;
        width: 100%;
    }
}

@media screen and (min-width: 481px) and (max-width: 600px) {
    .kb_control_left, .kb_control_right { border: 0 }

    .kb_caption {
        bottom: 25%;
        left: 0;
        text-align: center;
        width: 100%;
    }
}

@media screen and (min-width: 601px) and (max-width: 767px) {
    .kb_caption {
        bottom: 25%;
        left: 0;
        text-align: center;
        width: 100%;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .kb_caption { bottom: 25% }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .kb_caption { bottom: 50% }
}

.kb_wrapper { background: #000 }

.kb_control_left, .kb_control_left:hover, .kb_control_left:active, .kb_control_left:focus, .kb_control_right, .kb_control_right:hover, .kb_control_right:active, .kb_control_right:focus {
    /*border:2px solid #fff;*/
    background: #fff !important;
    color: #000;
}

.kb_caption h1 {
    background: #fff;
    color: #bf392b;
}

.kb_caption h2 { color: #fff }

@media screen and (max-width: 600px) {
    .kb_control_left, .kb_control_left:hover, .kb_control_left:active, .kb_control_left:focus, .kb_control_right, .kb_control_right:hover, .kb_control_right:active, .kb_control_right:focus {
        background: transparent !important;
        border: none !important;
    }
}