

/*
* ------------------------------------------------------------------------------
* 
* Base
* 
* ------------------------------------------------------------------------------
*/

html  {
    height: 100%;
}

html, body, .body-wrapper, .item, .carousel-inner {
    min-height: 100%;
}

.carousel {
    height: calc(100% - 50px);
}


@media screen and (min-width: 768px) { 
    .carousel {
        height: calc(100% - 250px);
    }   
}

/*
* ------------------------------------------------------------------
* 
* Carousel slider - Video Embed
*
* ------------------------------------------------------------------
*/

.embed-container { 
    position: relative; 
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*
* ------------------------------------------------------------------
*
* Video Mask
*
* ------------------------------------------------------------------
*/

.id-image-mask {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: url(img/green-left.png);*/
}

.id-video-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 25;
    opacity: 0;
    background-color: transparent;
    cursor: pointer;
}

/*
* ------------------------------------------------------------------
* 
* Carousel inner- item
*
* ------------------------------------------------------------------
*/

.id-slide-item {
    text-align: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -ms-flex-direction: column;
    -ms-flex-wrap: nowrap;
    -ms-flex-align: center;
    -ms-flex-pack: start;

    -ms-flex-flow: column nowrap;
    -moz-flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;
    flex-flow: column nowrap;


    -o-align-items: flex-start;
    -ms-align-items: flex-start;
    -moz-align-items: flex-start;
    -webkit-align-items: flex-start;    
    align-items: flex-start;

    -o-align-content: stretch;
    -ms-align-content: stretch;
    -moz-align-content: stretch;
    -webkit-align-content: stretch;
    align-content: stretch;

    -o-justify-content: flex-start;
    -ms-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;

}

.id-slide-item {
    text-decoration: none;
    display: block;
    width: 100%;
    min-height: 100%;
    height: 400px;
    padding: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
}


@media screen and (min-width: 768px) {
    .id-slide-item {
        height: 500px;
    }
}

@media screen and (min-width: 992px) {
    .id-slide-item {
        height: 500px;
    }
}


a.id-slide-item:hover,
a.id-slide-item:focus {
    text-decoration: none;
}


/*
* ------------------------------------------------------------------
* 
* Carousel Caption Container
*
* ------------------------------------------------------------------
*/

.id-slideshow-caption-container {
    width: 100%;
    max-width: 500px;
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;    
}



@media screen and (min-width: 768px) {
    .id-slideshow-caption-container {
        max-width: 50%;
    }
}

@media screen and (min-width: 992px) {
    .id-slideshow-caption-container {
        max-width: 37.5%;
    }
}

@media screen and (min-width: 1200px) {
    .id-slideshow-caption-container {
        max-width: 25%;
    }
}
/*
* ------------------------------------------------------------------
* 
* Carousel Caption
*
* ------------------------------------------------------------------
*/



.id-slideshow-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    min-height: 100%;
    height: 100%;
    width: 100%;
    text-align: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    /* ms-flex */

    -ms-flex-wrap: nowrap;
    -ms-flex-direction: column;
    -ms-flex-align: center;
    -ms-flex-pack: center;

    -ms-flex-flow: column nowrap;
    -moz-flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;
    flex-flow: column nowrap;

    -o-align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;    
    align-items: center;

    -o-align-content: center;
    -ms-align-content: center;
    -moz-align-content: center;
    -webkit-align-content: center;
    align-content: center;

    -o-justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.carousel .id-slideshow-caption  {
    background-color: rgba(255,255,255,0.66);
    background-color: rgba(255,255,255,1);
    color: #1f1f1f;
    padding: 30px 15px;
}


@media screen and (min-width: 768px) {

    .carousel .id-slideshow-caption  {
        padding: 30px;
    }

}



/*
* ------------------------------------------------------------------
* 
* Carousel Caption Content
*
* ------------------------------------------------------------------
*/

.id-slideshow-caption > * {
    width: 100%;
    max-width: 100%;
}


.carousel .id-slideshow-caption h1,
.carousel .id-slideshow-caption h2,
.carousel .id-slideshow-caption h3,
.carousel .id-slideshow-caption h4,
.carousel .id-slideshow-caption h5,
.carousel .id-slideshow-caption h6 {
    color: #222;
    margin: 0.5ex auto;
    text-transform: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

.carousel .id-slideshow-caption h2 {
    font-size: 1.75em;
}

.carousel .id-slideshow-caption p {
    font-size: 1em;
    font-weight: 300;
    /*text-shadow: rgba(0,0,0,0.15) 0 0 3px;*/
}

.id-slideshow-caption p.btn {
    margin: 1em auto;
}


/*
* ------------------------------------------------------------------
* 
* Carousel Controls
*
* ------------------------------------------------------------------
*/
.carousel .carousel-control span::before {
    border-radius: 26px;
    padding: 0.1em 0.2em;
    background-color: transparent;
}
.carousel .carousel-indicators {
    top: auto;
    bottom: 20px;
}



.carousel-control {
    display: none;
}

.carousel-indicators > li {
    margin: 0 5px !important;
    vertical-align: middle;
}

/*
* ------------------------------------------------------------------
* 
* Carousel slider - Caption Animation
*
* ------------------------------------------------------------------
*/


.carousel .item .id-slideshow-caption {
    -webkit-animation: id-fade 3s; /* Safari 4+ */
    -moz-animation:    id-fade 3s; /* Fx 5+ */
    -o-animation:      id-fade 3s; /* Opera 12+ */
    animation:         id-fade 3s; /* IE 10+, Fx 29+ */
}

@-webkit-keyframes id-fade {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@-moz-keyframes id-fade {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@-o-keyframes id-fade {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes id-fade {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
/*
* ------------------------------------------------------------------
* 
* Carousel slider - Fade Transition
*
* ------------------------------------------------------------------
*/


.carousel-fade .carousel-inner .item {
    opacity: 0;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}
.carousel-fade .carousel-inner .active {
    opacity: 1;  
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}
.carousel-fade .carousel-control {
    z-index: 2;
}



.carousel-fade .carousel-inner .item {
    -webkit-transition-property: opacity;
    transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    opacity: .05;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

}
.carousel-fade .carousel-control {
    z-index: 2;
}