﻿/* Carousel */
.carousel {
    /*margin-top: -130px;*/
    z-index: 1;
}

.carousel-item {
    height: 500px;
}

    .carousel-item > img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
    /*position: absolute;
    right: 15%;
    left: 15%;
    top: unset;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;*/
    /*padding-top: 20px;
    padding-bottom: 20px;*/
    /*text-align: center;
    content: '\A';
    position: absolute;
    background: rgba(0,0,0,0.5);
    opacity: 1;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;*/
}

    .carousel-caption h1 {
        margin-top: 100px;
        margin-left: 20px;
        margin-right: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
        color: white;
        font-size: 30px;
        font-weight: 600;
        background: rgba(0,0,0,0.5);
    }

    .carousel-caption p {
        margin-top: 20px;
        margin-left: 20px;
        margin-right: 20px;
        color: white;
        font-size: 28px;
        background: rgba(0,0,0,0.2);
    }

    .carousel-caption p a {
        color: white;
        font-size: 28px;
    }


/* Responsive */

/* Large desktops and laptops */
@media (min-width: 1200px) {
}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {

    .carousel-item {
        height: 500px;
    }

    .carousel-caption p {
        font-size: 24px;
    }
}

/* Landscape phones and portrait tablets - XS */
@media (max-width: 767px) {

    .carousel-item {
        height: 500px;
    }

    .carousel-caption p {
        font-size: 20px;
    }

        .carousel-caption p a {
            font-size: 20px;
        }
}

/* Portrait phones and smaller */
@media (max-width: 575.98px) {

    .carousel {
        margin-top: unset;
    }

    .carousel-item {
        height: 300px;
    }
}