/* GLOBAL STYLES
-------------------------------------------------- */
.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 40px;
    height: 40px;
}

.carousel-caption h1 {
font-family: 'HyundaiLight', sans-serif;
font-size:2rem;
    font-weight:300;
}
.carousel-caption h1 strong {
font-family: 'HyundaiMedium', sans-serif;
font-size:2rem;
    font-weight:normal;
}
/* Padding below the footer and lighter body text */

body {
    padding-top: 3rem;
/*    padding-bottom: 3rem;*/
    color: #5a5a5a;
}


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


/* Carousel base class */

.carousel {
    margin-bottom: 0rem;
}


/* Since positioning the image, we need to help out the caption */

.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}


/* Declare heights because of positioning of img element */

.carousel-item {
    height: 38rem;
    background-color: #777;
}

.carousel-item>img {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    height: 40rem;
}



@media (min-width: 1200px) {

.carousel-item>img {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    height: 45rem;
}

}
@media (min-width: 1300px) {
.carousel-item {
    height: 40rem;
    background-color: #777;
}
}
@media (min-width: 1400px) {
.carousel-item {
    height: 44rem;
    background-color: #777;
}
}
@media (min-width: 1500px) {
.carousel-item {
    height: 47rem;
    background-color: #777;
}
}
@media (min-width: 1600px) {
.carousel-item {
    height: 50rem;
    background-color: #777;
}
.carousel-item>img {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    height: auto;
}
}
@media (min-width: 1900px) {
.carousel-item {
    height: 60rem;
    background-color: #777;
}
}
@media (min-width: 2200px) {
.carousel-item {
    height: 70rem;
    background-color: #777;
}
}
@media (min-width: 2500px) {
.carousel-item {
    height: 80rem;
    background-color: #777;
}
}
/* 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;
}


/* RESPONSIVE CSS
  -------------------------------------------------- */

@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }
    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 2rem;
    }
}

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

.carousel-caption {
    top: 1.5rem;
    left:1.5rem;
    z-index: 10;
}

.carousel-caption h1, .carousel-caption h1 strong {
font-size:1.5rem;
}
.marketing .col-lg-4 p {
    margin-right: .5rem;
    margin-left: .5rem;
}

.carousel-item {
    height: 35rem;
    background-color: #777;
}

.carousel-item>img {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    height: auto;
}
}

@media only screen and (max-width: 480px){
.carousel-item>img {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    height: 35rem;
}
}

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


.carousel-caption {
    top: 1rem;
    left:1rem;
    right: 5%;
    z-index: 10;
}

.carousel-caption h1 {
    font-size:1.5rem;
}
.marketing .col-lg-4 p {
    margin-right: .5rem;
    margin-left: .5rem;
}

.carousel-item {
    height: 30rem;
    background-color: #777;
}

.carousel-item>img {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    height: 30rem;
}
}
