/* Carousel Settings */

.wordwrap {
   white-space: pre-wrap;      /* CSS3 */
   white-space: -moz-pre-wrap; /* Firefox */
   white-space: -pre-wrap;     /* Opera <7 */
   white-space: -o-pre-wrap;   /* Opera 7 */
         /* IE */
}

.carousel {
   margin-top: 0px;
   height: 25%; /*500px;*/
   min-height: 375px;
   /*border-bottom: 2px solid gray;*/
}

.carousel-inner {
    width:100%;
    height: 100%;
    margin-bottom:20px;
}

.carousel-inner .item {
    height: 100%;
    width: 100%;
}

.carousel-control {
    height: 100%;
    z-index: 30;
}

.carousel img {
    /* makes the image wide enough for full-size screen */
    min-width: 100%;
    object-fit: cover;
    min-height: 375px;
}

.carousel-caption {
    padding: 0px;
    margin-bottom: 30px;
    text-shadow: 0 0 8px #000;
    width: 100%;
    left: 0px;
    top: 70%;
    height: 43px;
}

.carousel-caption h1 {
    font-size: 48px;
    color: #FFF;
    text-align: center;
    margin: 0px;
    padding: 0px;

    position: relative;
    top: -30%;
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
}

.carousel-caption .btn {
    border: none;
}

.carousel-caption #btn-o {
    background-color: #053E65; border: none; height: 43px;
    color: white;
}

.carousel-caption #btn-o:active,
.carousel-caption #btn-o:focus,
.carousel-caption #btn-o:hover {
    background: #075E9B; border: #075E9B; color: white;
}

.carousel-indicators {
    top: 85%;
}

.carousel-indicators li,
.carousel-indicators li.active {
    border: none;
    height: 40px;
    background-image: url('https://s3-us-west-1.amazonaws.com/mbk-online/media/images/saver.png');
    max-width: 20%;
    width: 20%;
    background-position: center;
    background-size: cover;
    border-radius: 2px;
    margin: 0px;
    margin-right: 2px;
    border: 3px #333 solid;
    box-shadow: 0 0 4px #000;
}

.carousel-indicators li {
    /*opacity: .5;*/
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-filter: saturate(0); filter: saturate(0);
}

.carousel-indicators li.active {
    opacity: 1;
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    -webkit-filter: saturate(2); filter: saturate(2);
    border: 3px white solid;
    box-shadow: 0 0 8px #000;
}


@media only screen and (max-width: 768px) {

    .carousel-caption h1 {
        font-size: 36px;
        margin: 0px;
        padding: 0px;

        position: relative;
        top: -30%;
        transform: translateY(-100%);
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
    }

    .carousel-caption {
        width: 100%;
        /*margin: 0px;*/
        left: 0px;
        top: 63%;
        height: 35px;
        padding: 0px;
    }
    .carousel-caption a.btn {
        margin-left: auto;
        margin-right: auto;
    }
    .carousel-indicators {
        top: 85%;
    }
    .carousel-indicators li,
    .carousel-indicators li.active {
        height: 25px;
    }
}


@media only screen and (max-width: 768px) and (orientation: landscape) {

    .carousel-caption {
        width: 100%;
        /*margin: 0px;*/
        padding: 10px;
        left: 0px;
        top: 40%;
    }

    .carousel-caption h1 {
        font-size: 40px;
    }

    .carousel-caption a.btn {
        margin-top: 0px;
        font-size: 14px;
    }

    .carousel-indicators {
        top: 80%;
    }

    .carousel-indicators li,
    .carousel-indicators li.active {
        height: 20px;
    }
}
