/* Carousel base class */
.carousel {
    background-color: #DDD;
    margin-bottom: 0px;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 4rem;
    z-index: 10;
}

.carousel-item {
    /*height: 45rem;*/
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    margin-right: unset !important;
    height: calc(100vh - 111px);
}
/* Declare heights because of positioning of img element */
@media only screen and (max-width: 768px) {
    .carousel-item {
        height: 18rem !important;
    }
}

.carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
}

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.marketing h2 {
    font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    /* rtl:remove */
    letter-spacing: -.05rem;
}

/**************************************************/



.carousel .carousel-inner {
    display: flex;
    align-items: center;
    /*        justify-content: center;
*/
}

    .carousel .carousel-inner h1 span {
        background-color: rgba(236, 28, 35, .6);
        color: #fff;
        display: inline-block;
        padding: 2px 10px;
        border-radius: 15px;
    }

.carousel h2 {
    color: #f80018 !important;
    text-align: center
}

.carousel p {
    color: #0101c4;
    font-size: large;
}

.carousel .carousel-indicators li {
    height: 20px;
    width: 20px;
    cursor: pointer;
    border-radius: 50%;
    background-color: rgba(236, 28, 35, .2);
    border: 2px solid rgb(8, 82, 109);
}

.carousel-control-next {
    right: unset !important;
}

.carousel-caption {
    padding-bottom: 4.25rem !important;
}
