﻿.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 {
    height: inherit;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}

.carousel-caption {
    position: absolute;
    top: 60%;
    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: 1rem;
    text-shadow: 0 0 5px rgba(0,0,0,5);
    text-align: center;
}

    .carousel-caption h2 {
        font: normal 700 2rem 'Open Sans', Arial, sans-serif;
        text-transform: uppercase;
        margin-bottom: 0;
    }

    .carousel-caption h3 {
        font: bold 6rem 'Aleo Regular', Arial, sans-serif;
        margin-bottom: 0;
    }

    .carousel-caption p {
        font: italic 1.5rem 'Open Sans', Arial, sans-serif;
        margin-bottom: 0;
    }

    .carousel-caption a,
    .carousel-caption a:link {
        max-width: 200px;
        font: normal 700 1.2rem 'Open Sans', Arial, sans-serif;
        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-indicators {
    bottom: 4.8rem;
    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: 1680px) {
    .carousel-caption {
        top: 62%;
    }

        .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;
        }
}

@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: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;
        }
}

@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;
    }

    /*    .carousel-caption {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-left: 0;
        padding: 0 2rem 3rem;
        text-shadow: none;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        background: rgb(255,255,255);
    }*/

    .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:600px) {
    .carousel-caption h2 {
        font-size: 0.7rem;
    }

    .carousel-caption h3 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }
    .carousel-indicators{
        display:none;
    }
}

@media only screen and (max-width:460px) {
    .carousel-caption a, .carousel-caption a:link {
        padding: 0.5rem;
        max-width:140px;
    }
}
