/*
* ------------------------------------------------------------------
*
* 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;
}
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);
    }   
}

.id-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.15);
    background-attachment: fixed;    
}

.id-slide-overlay-stripes {
    background-image: url('img/green-right.png');
    background-color: rgba(0,0,0,0.25) ;
    /*/striped background*/
    background-image: -ms-repeating-linear-gradient(
        -45deg,
        #31af81,
        #31af81 1px,
        #41bf81 2px,
        #41bf81 6px
        );
    background-image: -moz-repeating-linear-gradient(
        -45deg,
        #31af81,
        #31af81 1px,
        #41bf81 2px,
        #41bf81 6px
        );
    background-image: -webkit-repeating-linear-gradient(
        -45deg,
        #31af81,
        #31af81 1px,
        #41bf81 2px,
        #41bf81 6px
        );
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        rgba(0,0,0,0.15) 1px,
        transparent 2px,
        transparent 6px
        );
}


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

/*.carousel-inner>.active, .carousel-inner>.next, .carousel-inner>.prev,*/

.id-slide-item {
    display: block;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    height: 400px;
    width: 100%;
}


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

@media screen and (min-width: 992px) {
    .id-slide-item {
        height: 500px;
    }
}
/*.carousel-inner .item .container {
    height: 100%;
}*/

a.id-slide-item::before {
    content: '';
    background-color: rgba(0,0,0,0);
    background-image: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
    background-image: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0.6) 100%);
    background-image: radial-gradient(ellipse at center, rgba(0,0,0,0.50) 30%,rgba(0,0,0,0.8) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

a.id-slide-item {
    min-height: 100%;
    text-decoration: none;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

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

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

    /* ms-flex */

    -ms-flex-direction: column;
    -ms-flex-wrap: nowrap;
    -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;
}

.id-slideshow-captionX {
    text-align: center;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    /* ms-flex */

    -ms-flex-wrap: nowrap;
    -ms-flex-direction: row;
    -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;
}

.id-slideshow-caption h3 {
    color: #fff;
    margin: 0;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
    font-size: 1.2em;
}


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

    .no-flexbox .id-slide-item>.container {
        text-align: center;
        padding: 150px 15px;
    }
    
    .no-flexbox .id-slideshow-caption {
        margin-left: 10%;
        margin-right: 10%;
    }
    
    .id-slideshow-caption {
        text-align: left;
        -o-align-items: flex-start;
        -ms-align-items: flex-start;
        -moz-align-items: flex-start;
        -webkit-align-items: flex-start;    
        align-items: flex-start;
    }
    .id-slideshow-caption h3 {
        font-size: 2em;
    }
}

.id-slideshow-caption > * {
    text-align: center;
    -webkit-box-flex: 0;    
    -moz-box-flex: 0;  
    -moz-flex: 0 0 auto; 
    -webkit-flex: 0 0 auto; 
    -ms-flex: 0 0 auto; 
    flex: 0 0 auto; 
    max-width: 1170px;
}


.carousel-indicators {
    top: auto;
    bottom: auto;
    display: none;
}

.carousel-indicators > li {
    margin-left: 5px!important;
    margin-right: 5px!important;
}

/*
* ------------------------------------------------------------------
* 
* 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%;
}

/*
* ------------------------------------------------------------------
* 
* 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 - Caption Animation
*
* ------------------------------------------------------------------
*/


.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;
    display: none;
}
.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;
}

/*
*************
* Slider padding and Fade 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; }
}


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

/*
 * -----------------------------------------
 * 
 * 
 * -----------------------------------------
*/


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


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

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

}

.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: #b21e26;
    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;
    color: #ffffff;
}

@media screen and (min-width: 768px) {
    .carousel .id-slideshow-caption h2 {
    font-size: 2.5em;
}
}

@media screen and (min-width: 992px) {
    .carousel .id-slideshow-caption h2 {
    font-size: 3.5em;
}
}

