﻿ul.carousel-indicators {
    display: none;
}

.carousel-control-prev-icon:before,
.carousel-control-next-icon:after {
    content: "\f1db";
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-variant: normal;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.carousel {
    margin-bottom: 0;
}

.carousel-control-next,
.carousel-control-prev {
    font-size: 3rem;
    opacity: 1;
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
    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-item {
    text-align: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}
.carousel-item img {
    display: inline-block;
}
.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: 100%;
    padding: 0;
    text-shadow: 0 0 5px rgba(0,0,0,5);
    text-align: center;
}

.innerCarouselCaption {
    padding: 1rem 11rem;
    margin: auto;
}

.carousel-caption h2 {
    font: bold 1.8rem 'Open Sans', sans-serif;
    margin-bottom: 0;
}

.carousel-caption h3 {
    font: bold 6rem 'Aleo Regular', Arial, sans-serif;
    margin-bottom: 0;
}

.carousel-caption p {
    font: italic 1.1rem 'Open Sans', sans-serif;
    margin-bottom: 0;
}

.carousel-caption a,
.carousel-caption a:link {
    max-width: 200px;
    font: bold 0.8rem 'Open Sans', sans-serif;
    display: block;
    margin: 0.5rem auto 0;
    padding: 0.6rem 1.5rem;
    -webkit-border-radius: 0.5rem;
    -moz-border-radius: 0.5rem;
    border-radius: 0.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-indicators {
    bottom: 1rem;
    margin-bottom: 0;
}

.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;
}

/*********************************************************
MEDIA QUERY
*********************************************************/
@media only screen and (max-width:1060px) {
    .carousel-caption {
        position: static;
        top: auto;
        left: auto;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        text-shadow: none;
    }
    .innerCarouselCaption {
        padding: 1.5rem 4rem;
    }
    .carousel-control-next, 
    .carousel-control-prev {
        width: 10%;
    }
    .carousel-caption h2 {
        font-size: 1.1rem;
    }
    .carousel-caption h3 {
        font-size: 1rem;
    }
    .carousel-caption p {
        font-size: 0.85rem;
    }
    .carousel-caption a,
    .carousel-caption a:link {
        max-width: 100px;
        font-size: 0.7rem;
        padding: 0.5rem;
    }
    .carousel-control-next, 
    .carousel-control-prev {
        width: 7%;
    }
}

@media only screen and (max-width:785px) {
    .carousel-inner > figure > video,
    .backVideo,
    #playPauseButton,
    #volumeButton,
    .btnScrollDown {
        display: none;
    }

    .fallbackImg {
        display: block;
    }

    .carousel-indicators {
        bottom: 1rem;
    }

    .carousel-control-next,
    .carousel-control-prev {
        font-size: 2rem;
    }
    
    .carousel-item:after {
        content: normal;
    }
}