﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.block-hidden {
    display: none !important;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.index-lending {
    margin: 250px 0;
}

.lending-title {
    margin-top: 200px;
    font-size: 18px;
}

.nav-link.active {
    background-color: #b6d2f3;
}

.panel {
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    box-shadow: 0px 0px 5px 0px #d0d0d0;
}

a {
    color: #4a83cf;
    text-decoration: none;
    background-color: transparent;
}

.btn-primary {
    color: #fff;
    background-color: #4982cf;
    border-color: #007bff;
}

.carousel_container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10vmin;
    overflow: hidden;
    transform: skew(5deg);
}

    .carousel_container .card {
        flex: 1;
        transition: all 1s ease-in-out;
        height: 75vmin;
        position: relative;
    }

        .carousel_container .card .card__head {
            color: white;
            background: rgb(73, 130, 207);
            padding: 0.5em;
            transform: rotate(-90deg);
            transform-origin: 0% 0%;
            transition: all 0.5s ease-in-out;
            min-width: 100%;
            text-align: center;
            position: absolute;
            bottom: 0;
            left: 0;
            font-size: 1em;
            white-space: nowrap;
        }

        .carousel_container .card:hover {
            flex-grow: 10;
        }

            .carousel_container .card:hover img {
                filter: grayscale(0);
            }

            .carousel_container .card:hover .card__head {
                text-align: center;
                top: calc(100% - 2em);
                color: black;
                background: rgba(73, 130, 207, 0.5);
                font-size: 2em;
                transform: rotate(0deg) skew(-5deg);
            }

        .carousel_container .card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 1s ease-in-out;
        }

        .carousel_container .card:not(:nth-child(5)) {
            margin-right: 1em;
        }

.card-desc {
    position: absolute;
    top: 20%;
    max-width: 300px;
    padding-left: 30px;
    opacity: 0;
    transition: 1s;
}

.carousel_container .card:hover .card-desc {
    opacity: 1;
    transition: 1.5s;
}

.invite-form input {
    max-width: 191px;
}

#code-wait {
    position: absolute;
    margin-top: -32px;
    left: 210px;
    font-size: 25px;
}