.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 video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
}

.backVideo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 125vh;
}

.externVideoButtons {
    position: absolute;
    right: 3.5rem;
    bottom: 9rem;
}

.videoVolumnOnOffButton,
.videoPlayPause {
    right: 4rem;
    bottom: 4rem;
    z-index: 10;
    cursor: pointer;
    background: #2878c8;
    padding: 1em;
    width: 60px;
    color: #FFF;
    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: #f0b41d;
    }

    .videoVolumnOnOffButton i,
    .videoPlayPause i {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .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 .carousel-control-next,
.carousel-inner .carousel-control-prev {
    font-size: 3rem;
    color: #FFF !important;
    opacity: 1;
    top: 83%;
    height: 1em;
    /* display: none;*/
}

.carousel-control-next:visited,
.carousel-control-prev:visited {
    color: #FFF !important;
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
    color: #00a76d !important;
    opacity:0.8;
}

.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);
    display: none;
}

.carousel-indicators .active {
    background: rgba(252, 176, 64, 0.8);
}
/*#carousel figure.carousel-item {
    background-size: auto, cover;
    background-position: bottom right;
}*/

.carousel-item {
    height: inherit;
    background-position: center center;
    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-item .overlay{
    background-image: linear-gradient(to right, #064a70 0%, rgba(0, 131, 202, 0) 69%);
    width: 100%;
    height: 100%;
    background-position: bottom;
}
.carousel-item .rightFlower{
    position: absolute;
    background: url(../images/MaskGroup.png) bottom no-repeat;
    height: 538px;
    left: 77%;
    top: 43%;
    width: 500px;
}



.carousel-caption {
    position: absolute;
    top: 55%;
    left: 21%;
    -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: 30%;
    padding: 1rem;
    /* text-shadow: 0 0 5px rgb(0 0 0); */
    text-align: left;
}

.carousel-caption h2 {
    font-family: sofia-pro, sans-serif;
    font-weight: 500;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    font-size: 25px;
    font-weight: 500;
    color: #FFF;
    text-transform: uppercase;
    margin-bottom: 0;
}

.carousel-caption h3 {
    text-transform: uppercase;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    font-family: sofia-pro, sans-serif;
    font-size: 60px;
    font-weight: bold;
    color: #FFF;
    margin-bottom: 0;
}

.carousel-caption p {
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    font-family: sofia-pro, sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #FFF;
    margin-bottom: 0;
}

.carousel-caption a,
.carousel-caption a:link {
    text-align: center;
    position: absolute;
    max-width: 290px;
    font-family: sofia-pro, sans-serif;
    font-weight: 600;
    font-size:20px;
    color: #FFF;
    display: block;
    margin: auto;
    padding: 8px 40px 10px 40px; 
    border: 1px white solid;
    -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: none;
  
}

.carousel-caption a:visited {
    color: #FFF;
}

.carousel-caption a:hover,
.carousel-caption a:active,
.carousel-caption a:focus {
    color: #FFF;
    background: #00a76d;
    border: 1px solid #00a76d;
}

.carousel-indicators {
    bottom: 4.8rem;
    margin-bottom: 0;
}

.btnScrollDown {
    display: none;
    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: #E3530D;
    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: #FFF;
    background: #FCB040;
}

.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;
}

/*Mobile banner*/

.mobile-view .carousel-inner>figure>video,
.mobile-view .backVideo,
.mobile-view #playPauseButton,
.mobile-view #volumeButton,
.mobile-view .btnScrollDown {
    display: none;
}

.mobile-view .fallbackImg {
    display: block;
    margin-top: 10em;
}

.mobile-view .carousel-indicators {
    bottom: 1rem;
}

.mobile-view .carousel-indicators li {
    background: rgba(22, 87, 81, 0.8);
}

.mobile-view .carousel-indicators .active {
    background: rgba(252, 176, 64, 0.8);
}

.mobile-view .carousel-control-next,
.mobile-view .carousel-control-prev {
    font-size: 2rem;
    color: #018AB6 !important;
}

.mobile-view .carousel-control-next:visited,
.mobile-view .carousel-control-prev:visited {
    color: #018AB6 !important;
}

.mobile-view .carousel-item:after {
    content: normal;
}

.mobile-view .carousel-caption {
    position: relative;
    text-align: center;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 305px;
    margin-left: 0;
    padding: 0 4rem 3rem;
    text-shadow: none;
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    -ms-transform: none;
    transform: none;
    background: #064a70;
}

.mobile-view .carousel-caption h2 {
    padding-top: 1em;
}

/*.mobile-view .carousel-caption h3 {
  

}

.mobile-view .carousel-caption p {
   
    
}*/

.mobile-view .carousel-caption a,
.mobile-view .carousel-caption a:link {
    /* left: 37%;*/
    position: absolute;
    left: 50%;
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    
}
.mobile-view .carousel-item .mobile-bg {
    margin-top: 9rem;
}
.mobile-view .carousel-item .overlay,
.mobile-view .carousel-item .rightFlower {
    display: none;
}


/*Mobile banner end*/


/******* 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;
    }*/
    .btnScrollDown {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 1240px) {
    .carousel-caption {
        width:45%;
        left: 25%;
    }
    .carousel-item .rightFlower{
        left: 63%;
    }
    /*.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:1100px) {
    .carousel-inner{
      
    }
}*/
@media only screen and (max-width:950px) {
    .carousel-caption {
        width: 55%;
        left: 33%;
    }
    
    /*.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-item img{
        margin-top: 7em;
    }
}*/

@media only screen and (max-width:490px) {
    .carousel-caption h2 {
        font-size: 0.7rem;
    }
    .carousel-caption h3 {
        font-size: 2rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
    .carousel-caption a,
    .carousel-caption a:link {
        font-size: 0.9em;
        padding: 4px 20px 5px 20px;
    }
    .carousel-caption {
        height: 220px !important;
    }
}