.carousel-control-prev-icon:before,
.carousel-control-next-icon:after {
    content: "\f1db";
    font-family: FontAwesome;
    font-size: inherit;
    color: inherit;
    font-weight: normal;
    font-style: normal;
    display: block;
}


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;
}
.videoVolumnOnOffButton,
.videoPlayPause {
    position: absolute;
    right: 4rem;
    bottom: 4rem;
    z-index: 10;
    cursor: pointer;
    background: rgb(14,158,199);
    padding: 1em;
    width: 60px;
    color: rgb(255,255,255);
    border: none;
    -webkit-transition: background 300ms ease 0s;
    -moz-transition: background 300ms ease 0s;
    -o-transition: background 300ms ease 0s;
    transition: background 300ms ease 0s;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    text-align: center;
}
.videoPlayPause {
    right: 9rem;
    bottom: 4rem;
}
.videoVolumnOnOffButton:hover,
.videoPlayPause:hover {
    background: rgb(252,176,64);
}
.videoVolumnOnOffButton i,
.videoPlayPause i {
    font-size: 1.5rem;
    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-control-next, 
.carousel-control-prev {
    font-size: 3rem;
    color: rgb(255,255,255)!important;
    opacity: 1;
}
.carousel-control-next:visited, 
.carousel-control-prev:visited {
    color: rgb(255,255,255)!important;
}
.carousel-control-next:focus, 
.carousel-control-next:hover, 
.carousel-control-prev:focus, 
.carousel-control-prev:hover {
    color: rgb(252,176,64)!important;
    opacity: 1;
}
.carousel-control-prev-icon,
.carousel-control-next-icon{
    background: none;
}
.carousel-control-prev-icon:before {
    content:"\f104";
}
.carousel-control-next-icon:after {
    content:"\f105";
}

.carousel-indicators li {
    background: rgba(255,255,255,0.8);
    width: 15px;
    height: 15px;
    border-top: none;
    border-bottom: none;
    border-radius: 100%;
}
.carousel-indicators .active {
    background: rgba(252,176,64,0.8);
}

.carousel-item a,
.carousel-item a:link {
    height: inherit;
    display: block;
}

.carousel-item {
    height: inherit;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}
.carousel-item:after {
    /*content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: block;
    background: url(../images/bgSlider.png) left center repeat-x;*/
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    bottom: auto;
    width: 50%;
    padding: 1rem;
    /*text-shadow: 0 0 5px rgba(0,0,0,5);*/
    text-shadow: none;
    text-align: center;
    background: url(../images/bgbanner.png) center center no-repeat;
    min-height: 378px;
}

    .carousel-caption h2 {
        font-family: 'Allura', cursive;
        font-size: 4.7rem;
        font-weight: 400;
        font-style: normal;
        color: #166ba2;
        text-transform: capitalize;
        margin-bottom: 0;
        padding-top: 12rem;
    }
    .carousel-caption h3 {
        font-family: 'Josefin Sans', sans-serif;
        font-size: 1.5rem;
        font-weight: 700;
        font-style: normal;
        color: #003659;
        text-transform: uppercase;
        margin-bottom: 0;
    }
.carousel-caption p {
	font: italic 1.5rem 'Open Sans', Arial, sans-serif;
	color: rgb(255,255,255);
    margin-bottom: 0;
}

.carousel-caption a,
.carousel-caption a:link {
    max-width: 200px;
	font: normal 700 1.2rem 'Open Sans', Arial, sans-serif;
	color: rgb(255,255,255);
    display: block;
    margin: auto;
	padding: 0.6rem 1.5rem;
	-webkit-border-radius: 0.5rem;
	-moz-border-radius: 0.5rem;
	border-radius: 0.5rem;
	margin-top: 1.5rem;
	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: rgb(1,138,182);
}
.carousel-caption a:visited{
	color:rgb(255,255,255);
}
.carousel-caption a:hover{
	color: rgb(255,255,255);
	background: rgb(252,176,64);
}
.carousel-caption a:active{
	color: rgb(255,255,255);
	background: rgb(252,176,64);
}
.carousel-caption a:focus{
	color: rgb(255,255,255);
	background: rgb(252,176,64);
}

.carousel-indicators {
    display: none;
    bottom: 4.8rem;
    margin-bottom: 0;
    z-index: 9;
}

.btnScrollDown {
    position: absolute;
    bottom: 7rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 2rem;
    color: rgb(227,83,13);
    display: block;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: background 300ms ease 0s;
    -moz-transition: background 300ms ease 0s;
    -o-transition: background 300ms ease 0s;
    transition: background 300ms ease 0s;
    background: rgba(255,255,255,0.75);
}
.btnScrollDown:hover {
    color: rgb(255,255,255);
    background: rgb(252,176,64);
}
.innerbtnScrollCont {
    position: relative;
    width: inherit;
    height: inherit;
}
.innerbtnScrollCont i {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    font-size: inherit;
    color: inherit;
}


.bgSlider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: url(../images/bgSlider.png) left bottom repeat-x;
}



/*********************************************************
MEDIA QUERY
*********************************************************/
@media only screen and (max-width: 1680px) {
    
    /*.carousel-caption h2 {
        font-size: 1.5rem;
    }*/
    /*.carousel-caption h3 {
        font-size: 5.5rem;
    }*/
    /*.carousel-caption p {
        font-size: 1.3rem;
    }
    .carousel-caption a,
    .carousel-caption a:link {
        font-size: 0.9rem;
    }*/
    .btnScrollDown {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    .carousel-caption h2 {
        font-size: 4rem;
    }
}
@media only screen and (max-width:1600px){
    .carousel-caption {
        background-size: 100% 85%;
    }
    
    
        .carousel-caption h3 {           
            font-size: 1.35rem;            
        }
}
@media only screen and (max-width:1500px){
    .carousel-caption {
        background-size: 100% 75%;
    }
}
@media only screen and (max-width:1480px){
    .carousel-caption {
        background-size: 100% 65%;
    }
    .carousel-caption h2 {
        font-size: 3rem;
    }
    .carousel-caption h3 {
        font-size: 1.15rem;
    }
}
@media only screen and (max-width:1380px){
        
}
@media only screen and (max-width: 1190px) {
    /*.carousel-caption {
        top: 58%;
    }
    .carousel-caption h2 {
        font-size: 1.3rem;
    }
    .carousel-caption h3 {
        font-size: 5rem;
    }
    .carousel-caption p {
        font-size: 1.2rem;
    }
    .carousel-caption a,
    .carousel-caption a:link {
        font-size: 0.8rem;
    }*/
}
@media only screen and (max-width:1080px){
    .carousel-caption {
        background-size: 95% 55%;
    }
    .carousel-caption h2 {
        font-size: 2rem;
    }
    .carousel-caption h3 {
        font-size: 0.9rem;
    }
}
@media only screen and (max-width:950px) {
    /*.carousel-caption {
        top: 55%;
    }
    .carousel-caption h2 {
        font-size: 1.2rem;
    }
    .carousel-caption h3 {
        font-size: 4rem;
    }
    .carousel-caption a,
    .carousel-caption a:link {
        font-size: 0.75rem;
    }*/
    .carousel-caption {
        background-size: 100% 50%;
    }
        .carousel-caption h2 {            
            padding-top: 11.5rem;
        }
}
@media only screen and (max-width:880px){
    .carousel-caption h2 {
        font-size: 2rem;
    }
    .carousel-caption h3 {
        font-size: 0.8rem;
    }
}
@media only screen and (max-width:785px) {
    #playPauseButton,
    #volumeButton,
    .btnScrollDown {
        display: none;
    }

    
    

    .carousel-control-next, 
    .carousel-control-prev {
        font-size: 2rem;
        color: rgb(1,138,182)!important;
    }
    .carousel-control-next:visited, 
    .carousel-control-prev:visited {
        color: rgb(1,138,182)!important;
    }

    .carousel-item:after {
        content: normal;
    }
    
   
    /*.carousel-caption:before {
        content: "";
        position: absolute;
        top: -60px;
        left: 0;
        width: 100%;
        height: 60px;
        display: block;
        z-index: 500;
        background: url(../images/bgSlider.png) left center repeat-x;
    }*/

    /*.carousel-caption h2 {
        font-size: 0.8rem;
        color: rgb(1,138,182);
    }
    .carousel-caption h3 {
        font-size: 2.5rem;
        color: rgb(252,176,64);
    }
    .carousel-caption p {
        font-size: 1rem;
        color: rgb(22,87,81);
    }
    .carousel-caption a,
    .carousel-caption a:link {
        font-size: 0.7rem;
    }*/
        
}
@media only screen and (max-width:768px){
    .carousel-caption {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: 0;
        width: 100%;
        margin-left: 0;
        padding: 6rem 1rem 4rem 1rem;
        text-shadow: none;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        background: rgb(255,255,255) url(/Content/images/bgbanner-mobile.png) no-repeat center top;
        border-bottom: 5px solid #0c8b6a;
        min-height: 0;
    }

        .carousel-caption h2 {
            padding: 0;
        }
    .carousel-indicators {
        display:flex;
        bottom: 2rem;
    }
        .carousel-indicators li {
            background: rgba(117,117,117,0.8);
        }

        .carousel-indicators .active {
            background: rgba(22,107,162,0.8);
        }
}
@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-caption h2 {
        font-size: 0.7rem;
    }
    .carousel-caption h3 {
        font-size: 2rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }*/
}
@media only screen and (max-width:400px){
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    .carousel-caption h3 {
        font-size: 0.65rem;
    }
    .carousel-caption {
        background-size: 600px 200px;
        padding: 5rem 1rem 3rem 1rem;
    }
    .carousel-indicators {        
        bottom: 1.5rem;
    }
}