/*
 * Updated by PhpStorm
 * Copyright (c) 2019 linkalist.io
 * User: jameshoward
 * Project: linkalist_code
 * Date: 30/8/2019
 * Time: 30/08/19 09:54
 */

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

/* Carousel base class */
.carousel {
    height: 500px;
}

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

/* Declare heights because of positioning of img element */
.carousel .item {
    background-color: #777;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

.carousel-inner > .item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
}

@media (max-width: 640px) {
    .carousel {
        height: 250px;
    }

    .carousel .item {
        height: 250px;
    }

    .carousel-inner > .item > img {
        height: 250px;
    }
}

@media (min-width: 640px) {
    .carousel {
        height: 500px;
    }

    .carousel .item {
        height: 500px;
    }

    .carousel-inner > .item > img {
        height: 500px;
    }
}

/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 768px) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 20px;
        font-size: 21px;
        line-height: 1.4;
    }
}

@media (min-width: 992px) {
}

.view-panel .carousel {
    height: auto;
}