/*********************************************************
CAROUSEL(HOME SLIDER)
*********************************************************/
a.scrollDown > span,
ol.carousel-indicators,
.masterCaption{
	display:none;
}

/*.carousel-caption a:after*/
a.scrollDown:before{
	content: "\f10c";
	font-family: fontawesome;
	font-size: inherit;
	font-weight: normal;
	font-style: normal;
	color: inherit;
	display: inline-block;
	margin-left: 0.5em;
}

#carousel{
	position:relative;
	z-index:1;
}
video {
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
}
/*.backVideo iframe{
      z-index: -1;
      position: absolute;
      width: 100%;
      height: 111%;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
}*/
.backVideo iframe {
   width: 100vw;
   height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
   min-height: 100vh;
   min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}
.videoVolumnOnOffButton,
.videoPlayPause {
    position: absolute;
    right: 4em;
    bottom: 5.5em;
    z-index: 10;
    background: rgb(14,158,199);
    padding: 1em;
    width: 60px;
    color: rgb(255,255,255);
    border: none;
    -webkit-transition: all 300ms ease 0s;
    -moz-transition: all 300ms ease 0s;
    -o-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    text-align: center;
}
.videoPlayPause {
    right: 9em;
    bottom: 5.5em;
}
    .videoVolumnOnOffButton:hover,
    .videoPlayPause:hover {
        background: rgb(20,129,186);
    }
    .videoVolumnOnOffButton i,
    .videoPlayPause i {
        font-size: 1.5em;
        font-weight: 100;
    }
    .videoPlayPause i {
        font-weight: 600;
    }
.player .vp-player-layout {
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    position: fixed !important;
}
.fallbackImg {
    display: none;
}
/*.carousel-inner{
	max-height:750px;
	min-height:750px;
}*/
/*.carousel-inner.landscapeMode {
	max-height:550px;
	min-height:550px;
}*/


h1.sliderLogo {
    width: 325px;
    height: 158px;
    margin-bottom: 1.5rem;
}

h1.sliderLogo > a {
    width: inherit;
    height: inherit;
    display: block;
    text-indent: -9999em;
    margin: 0 !important;
    padding: 0 !important;
    background: url(../images/Sundre.png) left center no-repeat!important;
    background-size: cover  !important;
    border: none !important;
}

.item{
	position: relative;
	width: 100%;
	height: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 885px;
    padding: 0;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    background: rgba(18, 117, 171, .7);
}
.carousel-caption.portraitMode {
    height: auto;
}

.innerCaption {
    position: absolute;
    top: 55%;
    left: 120px;
    transform: translateY(-50%);
    width: calc(100% - 300px);
    padding: 0;
    text-align: left;
    text-shadow: none;
}

.carousel-caption h2{
	font: 600 24px 'Open Sans', sans-serif;
	color: rgb(255,255,255);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: .5rem;
    margin-top: 2.5rem;
/*	text-overflow:ellipsis;
	overflow:hidden;
	white-space:nowrap;*/
}

.carousel-caption h3{
	font: 700 45px'Open Sans', sans-serif;
	color: rgb(255,255,255);
	margin-bottom: 0;
	line-height: 1.2em;
    margin-bottom: .5rem;
    text-transform: capitalize;
}

.carousel-caption p{
	font: 400 16px 'Open Sans', sans-serif;
    line-height: 1.8;
	color: rgb(255,255,255);
	margin: 0;
/*	text-overflow:ellipsis;
	overflow:hidden;
	white-space:nowrap;*/
}

.carousel-caption .innerCaption a,
.carousel-caption .innerCaption a:link {
	font: 700 16px 'Open Sans', sans-serif;
	color: rgb(255,255,255);
	display:inline-block;
	padding: 0.75em 3em;
	margin-top: 1.5em;
	text-transform:uppercase;
	text-shadow:none;
	-webkit-transition:background 300ms ease 0s;
	-moz-transition:background 300ms ease 0s;
	-o-transition:background 300ms ease 0s;
	transition:background 300ms ease 0s;
	background: none;
    border: 2px solid #fff;
    letter-spacing: 1px;
}

.carousel-caption .innerCaption a:visited{
	color:rgb(255,255,255);
    background: none;
    border: 2px solid #fff;
}

.carousel-caption .innerCaption a:hover,
.carousel-caption .innerCaption a:active,
.carousel-caption .innerCaption a:focus{
	color: rgb(255,255,255);
    background:#001020;
    border: 2px solid #001020;
}

.carousel-indicators{
	margin-bottom:0;
    /* bottom: 8.5em; */
}
.carousel-indicators li{
	width:15px;
	height:15px;
	-webkit-border-radius:100%;
	-moz-border-radius:100%;
	border-radius:100%;
    border: 1px solid rgb(255,255,255);
}
.carousel-indicators .active{
	width:16px;
	height:16px;
    border-color: rgb(194,201,96);
	background:rgb(194,201,96);
}

/*.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next,
.carousel-control .icon-prev{
	margin-top:52px;
}*/
.carousel-control{
	color:rgb(60,72,89)!important;
	color:rgba(255,255,255,0.9)!important;
}
.carousel-control:visited{
	color:rgb(255,255,255)!important;
	color:rgba(255,255,255,0.9)!important;
}
.carousel-control:hover{
    color:rgb(60,72,89)!important;
}
.carousel-control:active{
    color:rgb(60,72,89)!important;
}
.carousel-control:focus{
    color:rgb(60,72,89)!important;
}

/* Main Slider Indicators */
.carousel-indicators {
    top: calc(40px + 50%);
    bottom: auto;
    margin-bottom: 0;
    left: unset;
    right: 120px;
    flex-direction: column;
    justify-content: center;
    height: auto;
    transform: translateY(-50%);
    z-index: 8;
    max-width: 20px;
    
}

.carousel-indicators li {
    background: rgba(255, 255, 255, .5);
	height: 18px !important;
    width: 18px !important;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
	border: none;
    margin: 5px 0 !important;
}

.carousel-indicators .active {
    background: rgba(255,255,255,1);
    border: none;
}


.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next,
.carousel-control .icon-prev {
    top: 58%;
}

.carousel-control.left,
.carousel-control.right {
    width: 3em;
    background: none;
}

.carousel-control.right {
    right: 6em;
}


a.scrollDown {
    position: absolute;
    bottom: 3em;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    font: normal 2em OpenSansRegular, Arial, sans-serif;
    color: rgb(227,83,13);
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    /*padding: 0.1em 0.45em;*/
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    -webkit-transition: all 300ms ease 0s;
    -moz-transition: all 300ms ease 0s;
    -o-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
    z-index: 3;
    background: rgb(255,255,255);
    background: rgba(255,255,255,0.75);
}
a.scrollDown:visited {
    color: rgb(227,83,13);
}
a.scrollDown:hover {
    color:rgb(255,255,255);
    background: rgb(227,83,13);
}
a.scrollDown:active {
    color:rgb(255,255,255);
    background: rgb(227,83,13);
}

a.scrollDown:before {
    content: "\f107";
    margin-left: 0;
    margin-top: 0.3em;
}


.bgSlider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: url(../images/bgSlider.png) left bottom repeat-x;
}

.bgGradient {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 54%, rgba(29,46,69,0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 54%,rgba(29,46,69,0.65) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 54%,rgba(29,46,69,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a61d2e45',GradientType=0 );
}

/*********************************************************
FADE EFFECT
*********************************************************/
.carousel-fade .carousel-inner .item{
  opacity: 0;
  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;
}


@media all and (transform-3d),
(-webkit-transform-3d){
	.carousel-fade .carousel-inner > .item.next,
	.carousel-fade .carousel-inner > .item.active.right{
	  opacity:0;
	  -webkit-transform:translate3d(0, 0, 0);
	  transform:translate3d(0, 0, 0);
	}
	.carousel-fade .carousel-inner > .item.prev,
	.carousel-fade .carousel-inner > .item.active.left{
	  opacity: 0;
	  -webkit-transform: translate3d(0, 0, 0);
	  transform: translate3d(0, 0, 0);
	}
	.carousel-fade .carousel-inner > .item.next.left,
	.carousel-fade .carousel-inner > .item.prev.right,
	.carousel-fade .carousel-inner > .item.active {
	  opacity: 1;
	  -webkit-transform: translate3d(0, 0, 0);
	  transform: translate3d(0, 0, 0);
	}
}


/*********************************************************
MEDIA QUERY
*********************************************************/
@media only screen and (max-width:1620px) {
    
    .innerCaption {
        top: 55%;
        left: 50px;
        width: calc(100% - 200px);
    }

    .carousel-caption {
        width: 750px;
    }

    /* .carousel-indicators {
        right: 50px;
    } */
}

@media only screen and (max-width:1200px) {

    .carousel-caption {
        width: 700px;
    }

    h1.sliderLogo {
        width: 250px;
        height: 121px;
    }

    .carousel-caption h2 {
        font-size: 20px;
    }

    .carousel-caption h3 {
        font-size: 36px;
    }

    .carousel-indicators {
        right: 50px;
    }

}

@media only screen and (max-width:1100px) {
    h1.sliderLogo {
        width: 230px;
        height: 111px;
    }
}

@media only screen and (max-width:900px) {
    h1.sliderLogo {
        width: 200px;
        height: 97px;
    }

    
}


@media only screen and (max-width:766px) {


    .carousel-caption {
        width: 100%;
        clip-path: none;
    }

    .innerCaption {
        width: 100%;
    }

    h1.sliderLogo {
        width: 150px;
        height: 71px;
        margin: 0 auto 2.5rem;
    }

    .carousel-item {
        baCKGROUND: #FFF;
    }


    .bgSlider,
    .bgGradient,
    a.scrollDown {
        display: none;
    }
    .carousel-inner {
        max-height: none;
        min-height: 0;
    }

    .carousel-control .glyphicon-chevron-left,
    .carousel-control .glyphicon-chevron-right,
    .carousel-control .icon-next,
    .carousel-control .icon-prev {
        margin-top: 0;
    }

    .carousel-caption {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        margin-left: 0;
        padding: 0.5em 20px 5em;
        text-shadow: none;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        background: rgb(20,129,186);
    }

    .carousel-indicators {
        top: auto;
        bottom: -10px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) rotate(-90deg);
        margin: 0 !important;

    }

    .innerCaption {
        position: static;
        top: auto;
        left: auto;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        padding: 0;
        text-align: center;
    }

    .carousel-caption h2 {
        text-align: center;
        font-size: 16px;
    }

    .carousel-caption h3 {
        font-size: 30px;
        line-height: 1.5em;
        text-align: center;
    }

}

@media only screen and (max-width:767px) {

    .fallbackImg {
        display: inline-block;
    }
    .backVideo iframe {
        display: none;
    }
    video {
        display: none;
    }
    .videoVolumnOnOffButton,
    .videoPlayPause {
        display: none;
    }
}

@media only screen and (max-width:600px) {

    #carousel {
        margin-top: 6em;
    }

    .carousel-caption h2 {
        font-size: 16px;
        margin-bottom: -2px;
    }

    .carousel-caption h3 {
        font-size: 30px;
    }

    .carousel-caption .innerCaption a, .carousel-caption .innerCaption a:link,
    .carousel-caption p {
        font-size: 14px;
    }
}