/*
    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 {
    top: 50%;
    z-index: 2;
    opacity: 0;
    width: 55px;
    height: 55px;
    text-align: center;
    -webkit-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s
}

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

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

.kb_control_left {
    left: 1%!important
}

.kb_control_right {
    right: 1%!important
}

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

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

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

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

.action-learn-more {
    color: #fff !important;
    text-transform: initial !important;
    font-size: 12px !important;
}

.kb_elastic .item.active::after {
    /*    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: url(../../../../img/bg-cloud-top.png);
    background-position-y: bottom;
    background-size: contain;*/
}

.kb_wrapper {
    overflow: hidden;
    /*max-height: 650px*/
}

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

@-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 {
    left: 0;
    /* width: 40%; */
    text-align: left;
    right: 0;
    /* margin-top: 60px!important;*/
    top: calc(20% + 120px); 
    max-width: 1200px;
    left: 0;
    margin: auto;
}

.kb_caption_right {
    left: 50%
}

.kb_caption_center {
    float: none;
    margin: auto
}

.kb_caption h1 {
    font-size: 55px;
    font-weight: 300;
    text-align: center;
    text-shadow: none;
    padding: 5px 0 5px 15px;
    -webkit-animation-delay: 1s;
    animation-delay: 1s
}

.kb_caption h2 {
    font-size: 30px;
    text-align: left;
    text-shadow: none;
    color: #fff;
    font-weight: normal;
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s
}

@media only screen and (max-width:480px) {
    .kb_control_left,
    .kb_control_right {
        border: 0
    }
    .kb_icons {
        font-size: 18px!important
    }
    .kb_caption {
        left: 0;
        width: 100%;
        bottom: 25%;
    }
    .kb_caption h1 {
        font-size: 25px
    }
    .kb_caption h2 {
        font-size: 20px
    }
}

@media(min-width:481px) and (max-width:600px) {
    .kb_control_left,
    .kb_control_right {
        border: 0
    }
    .kb_caption {
        left: 0;
        width: 100%;
        bottom: 25%;
        text-align: center
    }
}

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

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

@media(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 {
    color: #000;
    border: 2px solid #fff;
    background: #fff !important
}

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

.kb_caption h2 {
    color: #fff;
}

.kb_caption p {
    color: #fff;
}

.kb_caption a {
    border: 7px solid transparent;
    text-align: center;
    background: url(../../../images/layer-next.png) calc(100% - 17px) 4px no-repeat;
    z-index: 1;
    padding-top: 9px;
    font-size: 14px;
    font-family: arial;
    padding-right: 40px;
    color: #fff;
    border: 8px solid #deae56;
    display: inline-block;
    padding-left: 10px;
    padding-bottom: 7px;
    font-weight: normal;
    background-size: 15px;
    text-decoration: none;
}

@media(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 {
        border: none!important;
        background: transparent!important
    }
}

.thumbnail-carosul {
    position: absolute;
    bottom: 20px;
    right: 0px;
    width: 350px;
}

.thumbnail-carosul ul {
    margin: 0;
    padding: 0;
}

.content-caption {
    border-radius: 45px;
    float: left;
    max-width: 800px;
}

.thumbnail-carosul ul>li {
    list-style: none;
    display: inline-block;
    position: relative;
}

.layer-above {
    position: absolute;
    left: 0;
    top: 0;
    width: 126px;
    height: 72px;
    z-index: 111;
}

.layer-above::before {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    border: 7px solid #deae56;
    z-index: 2;
    cursor: pointer;
}

.thumbnail-carosul .owl-item div:not(.active) {
    opacity: 0.5;
}

.layer-above::after {
    content: "Next";
    position: absolute;
    color: #fff;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 10px solid transparent;
    text-align: center;
    background: rgba(20, 69, 103, .5) url(../../../images/layer-next.png) 72px 3px no-repeat;
    z-index: 1;
    padding-top: 12px;
    font-size: 20px;
    font-family: arial;
    padding-right: 21px;
}

@media(max-width:480px) {
    .thumbnail-carosul {
        width: 175px;
        bottom: 5px;
    }
}

.content-caption {
    display: flex;
}

.content-caption .bg-counter {
    width: 113px;
    height: 69px;
    background: url(../../../images/counter.png) no-repeat;
    display: flex;
}

.content-caption .bg-counter div {
    width: 61px;
    display: inline-block;
    text-align: center
}

.content-caption .bg-counter div:nth-child(1) {
    color: #deae56;
    font-size: 30px;
}

.content-caption .bg-counter div:nth-child(2) {
    color: #fff;
    font-size: 20px;
    padding-top: 20px;
}

.carousel-caption {
    text-shadow: none !important
}
@media(min-width:1600px) {
    .kb_caption {
        margin-top: 60px !important;
    }
}