.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);
}
.carousel-indicators .active {
    background: rgba(252,176,64,0.8);
}

.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: 60%;
    left: 0px;
    -webkit-transform: translate(0,-50%);
    -moz-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    transform: translate(0,-50%);
    bottom: auto;
    width: 34%;
    padding: 5rem 2rem;
    /*text-shadow: 0 0 5px rgba(0,0,0,5);*/
    text-align: left;
    background: url(../images/banner-caption-bg.png) left center no-repeat;
    background-size: 100% 100%;
}

    .carousel-caption h2 {
        font-family: 'Libre Baskerville', serif;
        font-style: normal;
        font-weight: 400;
        font-size: 1.688rem;
        color: rgb(122,109,76);
        text-transform: uppercase;
        margin-bottom: 0;
        text-align:center;
    }
    .carousel-caption h3 {
        font-family: 'Leander',sans-serif;
        font-style: normal;
        font-weight: normal;
        font-size: 3.125rem;
        color: rgb(30,43,64);
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        text-align: center;
        border-bottom: 1px dashed rgb(122,109,76);
        padding-bottom: 0.5rem;
    }
    .carousel-caption p {
        font-family: 'Libre Baskerville', serif;
        font-style: normal;
        font-weight: 400;
        font-size: 1.188rem;
        color: rgb(30,43,64);
        margin-bottom: 0;
        line-height: 36px;
    }

    .carousel-caption a,
    .carousel-caption a:link {
        max-width: 200px;
        font-family: 'EB Garamond', serif;
        font-size: 1.88rem;
        font-style: normal;
        font-weight: 600;
        color: rgb(122,109,76);
        display: inline-block;
        margin: auto;
        padding: 0.6rem 0;
        /* text-transform: uppercase;*/
        font-variant: small-caps;
        text-shadow: none;
        -webkit-transition: color 300ms ease 0s;
        -moz-transition: color 300ms ease 0s;
        -o-transition: color 300ms ease 0s;
        transition: color 300ms ease 0s;
        background: none;
    }
        .carousel-caption a span {
            font-size: 1.25rem;
            margin-left:0.5rem;
            position:relative;
            display:inline-block;
        }
        .carousel-caption a:visited {
            color: rgb(122,109,76);
        }
        .carousel-caption a:hover {
            color: rgb(201,143,0);
        }
        .carousel-caption a:active {
            color: rgb(201,143,0);
        }
        .carousel-caption a:focus {
            color: rgb(201,143,0);
        }

.carousel-indicators{
    bottom: 4.8rem;
	margin-bottom: 0;
}

/*.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 {
    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%);
    z-index:4;
}
    .btnScrollDown:hover p  {
        color: rgb(201,143,0);
        /*background: rgb(252,176,64);*/
    }
/* .btnScrollDown:hover svg #wheel, .btnScrollDown:hover svg #mouse {
        stroke: rgb(201,143,0);
    }*/
.innerbtnScrollCont {
   text-align:center;
}
    .innerbtnScrollCont p {
        font: normal 500 1rem 'Roboto', sans-serif;
        margin-bottom: 0;
        margin-top: 1rem;
        text-transform: uppercase;
        color: rgb(255,255,255);
        letter-spacing: 1px;
        -webkit-transition: color 300ms ease 0s;
        -moz-transition: color 300ms ease 0s;
        -o-transition: color 300ms ease 0s;
        transition: color 300ms ease 0s;
    }
/*.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;
}*/
/*Stuff that matters.*/ 
@keyframes scroll {
	0% {
		transform: translateY(0);
	}
	30% {
		transform: translateY(60px);
	}
}

svg #wheel {
	animation: scroll ease 2s infinite;
}

.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: 3;
    background: -moz-linear-gradient(top, rgba(30,43,64,0) 65%, rgba(30,43,64,0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(30,43,64,0) 65%,rgba(30,43,64,0.65) 100%);
    background: linear-gradient(to bottom, rgba(30,43,64,0) 65%,rgba(30,43,64,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e2b4000', endColorstr='#1e2b4000',GradientType=0 );
}

/*********************************************************
MEDIA QUERY
*********************************************************/
@media only screen and (max-width: 1680px) {
    .carousel-caption {
        top: 62%;
    }
        .carousel-caption h2 {
            font-size: 1.375rem;
        }
        .carousel-caption h3 {
            font-size: 2.75rem;
        }
        .carousel-caption p {
            font-size: 0.95rem;
            line-height: 30px;
        }
        .carousel-caption a,
        .carousel-caption a:link {
            font-size: 1.75rem;
        }
    .btnScrollDown {        
        font-size: 1.5rem;
    }
}
@media only screen and (max-width:1400px){
    .carousel-caption {
        width: 36%;
    }
}
@media only screen and (max-width: 1190px) {
    .carousel-caption {
        top: 58%;
    }
        .carousel-caption h2 {
            font-size: 1.150rem;
        }
        .carousel-caption h3 {
            font-size: 2.25rem;
        }
        .carousel-caption p {
            font-size: 0.85rem;
        }
        .carousel-caption a,
        .carousel-caption a:link {
            font-size: 1.5rem;
        }
    .btnScrollDown{
        bottom:4rem;
    }
}
@media only screen and (max-width:1080px){
    .carousel-caption {
        width: 39%;
    }
}
@media only screen and (max-width:950px) {
    .carousel-caption {
        top: 55%;
        padding: 3rem 2rem;
    }
        .carousel-caption h2 {
            font-size: 0.95rem;
        }
    .carousel-caption h3 {
        font-size: 2rem;
    }
    .carousel-caption a, 
    .carousel-caption a:link {
        font-size: 1.25rem;
    }
}

@media only screen and (max-width:785px) {
    #playPauseButton,
    #volumeButton,
    .btnScrollDown,
    .bgGradient {
        display: none;
    }

    .carousel-indicators {
        bottom: 1rem;
    } 
    .carousel-indicators li {
        background: rgba(22,87,81,0.8);
    }
    .carousel-indicators .active {
        background: rgba(252,176,64,0.8);
    }

    .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 {
        position: relative;        
        left: auto;
        right: 0;
        bottom: 0;
        width: 102%;
        margin-left: 0;
        padding: 3rem 2rem;
        text-shadow: none;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
    }
    /* .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: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 {
        padding: 1.5rem 1rem 0.5rem;
    }
    .carousel-caption h2 {
        font-size: 0.8rem;
    }
        .carousel-caption h3 {
            font-size: 1.250rem;
        }
    .carousel-caption p {
        font-size: 0.8rem;
        line-height: 20px;
    }
        .carousel-caption a, .carousel-caption a:link, .carousel-caption a span {
            font-size: 1rem;
        }
        
}