/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Since positioning the image, we need to help out the caption */
.carousel-caption {

    text-align: center;
    z-index: 10;
    top: 75%;
    transform: translateY(-75%);
    text-shadow: 4px 4px 6px #000;
}

.carousel-caption h1 {
    color: #fff;
    font-weight: 700 !important;
    font-size: 42px !important;
}

.carousel-caption p{
    font-size: 26px !important;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 780px;
    background-color: #fff;
    background-size: cover;
}

.carousel-item > img {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.inner-page .carousel-item {
    height: 175px !important;
}

.carousel-indicators{
    display: none;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* 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;
}

.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}


/* 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;
    letter-spacing: -.05rem;
}

#inside-carousel .carousel-item, #inside-carousel .main-header-cont{
    height: 200px !important;
}

#inside-carousel .main-header{
    position: relative;
}

#inside-carousel .main-header-cont{
    display: table;
}

#inside-carousel .main-header{
    display: table-cell;
    vertical-align: middle;
}

#inside-carousel .main-header h1{
    font-family: lato-bold;
    font-size: 32px;
}

#inside-carousel .carousel-item{
    background-size: cover;
    background-position: center;
}

/* RESPONSIVE CSS
-------------------------------------------------- */
/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {

    .carousel-item{
        height: 460px !important;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: bottom center;
    }

    .inner-page .carousel-item{
        height: 175px !important;
    }

    .carousel-indicators{
        display: none;
    }

    .carousel-caption{
        top:65%;
    }

    .carousel-caption h1 {
        font-size: 28px !important;
    }

    .carousel-caption p{
        font-size: 18px !important;
    }

    #inside-carousel .main-header h1{
        font-size: 32px;
    }
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {

    .carousel-item{
        height: 500px !important;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: bottom center;
    }

    .inner-page .carousel-item{
        height: 175px !important;
    }

    .carousel-caption{
        top:65%;
    }

    .carousel-caption h1 {
        font-size: 28px !important;
    }

    .carousel-caption p{
        font-size: 18px !important;
    }

    #inside-carousel .main-header h1{
        font-size: 32px;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {

    .carousel-item{
        height: 600px !important;
    }

    .overlay-desc {
        top: 120px;
        left: 60px;
        font-size: 18px;
    }

    .carousel-overlay{
        background-position: -100px 0px;
    }

    .carousel-caption h1 {
        font-size: 28px !important;
    }

    .carousel-caption p{
        font-size: 18px !important;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {

    .carousel-item{
        height: 800px !important;
    }

    .overlay-desc {
        top: 190px;
        left: 165px;
        font-size: 23px;
    }

    .carousel-overlay{
        background-position: -50px 0px;
    }

    .carousel-caption h1 {
        font-size: 34px !important;
    }

    .carousel-caption p{
        font-size: 20px !important;
    }

}

@media (min-width: 1200px) and (max-width: 1399.98px) {

    .carousel-item{
        height: 750px !important;
    }

    .overlay-desc {
        top: 190px;
        left: 150px;
        font-size: 23px;
    }

    .carousel-overlay{
        background-position: -50px 0px;
    }

    .vertical-nav .navbar-nav{
        top: 520px !important;
    }

    .carousel-caption h1 {
        font-size: 42px !important;
    }
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1400px) {

    .carousel-item{
        height: 780px !important;
    }

    .overlay-desc {
        top: 230px;
        left: 255px;
        font-size: 23px;
    }
}