﻿.carousel-item {
    height: 620px;
}

.prevSlide {
    background-color: rgba(200, 200, 200, 0.5);
    color: #fff;
    border-radius: 50%;
    width: 40px;
    font-size: 40px;
    position: absolute;
    top: 50%;
    left: 50px;
    cursor: pointer;
    z-index: 2;
}

.nextSlide {
    background-color: rgba(200, 200, 200, 0.5);
    color: #fff;
    border-radius: 50%;
    width: 40px;
    font-size: 40px;
    position: absolute;
    top: 50%;
    right: 50px;
    cursor: pointer;
    z-index: 2;
}

.filter {
    display: flex;
    flex-wrap: wrap;
    width: 85%;
}

.form-select {
    font-size: 17px;
    margin-top: 1.5rem;
    padding: 10px;
}

div.search input[type=text] {
    padding: 10px;
    font-size: 17px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem 0 0 0.375rem;
    float: left;
    width: 88%;
    background: #fff;
}

div.search {
    float: right;
    width: 95%;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem
}

    div.search i {
        float: right;
        width: 12%;
        padding: 14.3px;
        background: #2196F3;
        text-align: center;
        color: white;
        font-size: 17px;
        border: 1px solid #dee2e6;
        border-radius: 0 0.375rem 0.375rem 0;
        border-left: none;
        cursor: pointer;
    }

        div.search i:hover {
            background: #0b7dda;
        }

    div.search::after {
        content: "";
        clear: both;
        display: table;
    }

.item {
    background-color: rgb(255, 255, 255);
    display: flex;
    padding: 0;
    flex-direction: column;
    width: 25%;
    min-height: 440px;
    border: 1px solid gray;
    border-radius: 20px;
    margin: 2%;
    position: relative;
    cursor: pointer;
}

    .item:hover {
        transform: translateY(-15px) !important;
        box-shadow: 0px 20px 20px 0px rgb(0, 0, 0);
    }

    .item img {
        width: 100%;
        height: 210px;
        border-radius: 20px 20px 0 0;
    }

    .item h2 {
        text-align: center;
        padding-top: 10px;
        font-family: 'Calisto MT';
        font-size: 1.7rem;
    }

.item_info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 8px 8px 0px 8px;
    height: calc(100% - 280px);
    display: flex;
    flex-direction: column;
}

.item p {
    margin-bottom: 2px;
    font-family: 'Courier New', Courier, monospace;
}

.location {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-top: 7px;
    text-align: end;
    padding-right: 10px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    height: 85px;
    font-size: 15px;
    font-weight: 550;
}

.item_animated {
    animation-duration: 2s;
    animation-fill-mode: both;
    -webkit-animation-duration: 2s;
    -webkit-animation-fill-mode: both
}

.animatedFade {
    opacity: 0
}

.fadeInUp {
    opacity: 0;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0, 100px, 0)
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0, 100px, 0)
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1
    }
}

@media only screen and (min-height: 800px) {
    .carousel-item {
        height: 700px;
    }
}

@media only screen and (min-height: 1000px) {
    .carousel-item {
        height: 900px;
    }
}

@media only screen and (max-width: 1100px) {
    .item h2 {
        font-size: 1.4rem;
        padding-top: 8px;
    }
    .item_info {
        padding-top: 0;
        height: calc(100% -280px);
    }
}

@media only screen and (max-width: 1040px) {
    .carousel-item {
        height: 580px;
    }

    .item {
        width: 40%;
    }
}

@media only screen and (max-width: 740px) {
    .carousel-item {
        height: 500px;
    }

    .item {
        width: 90%;
        margin: 0 0 25px 0;
    }

    .prevSlide {
        width: 30px;
        font-size: 30px;
        left: 30px;
    }

    .nextSlide {
        width: 30px;
        font-size: 30px;
        right: 30px;
    }
}

@media only screen and (max-width: 583px) {
    .prevSlide {
        left: 10px;
    }

    .nextSlide {
        right: 10px;
    }

    .item {
        width: 90%;
        margin: 0 0 25px 0;
    }

        .item:hover {
            transform: translateY(-5px) !important;
            box-shadow: 0px 10px 10px 0px rgb(0, 0, 0);
        }

    .filter {
        width: 90%;
        display: block;
    }

        .filter .col-5 {
            width: 100%;
        }

        .filter .col-7 {
            width: 100%;
        }

    div.search {
        width: 100%;
    }

        div.search input[type=text] {
            width: 85%;
        }

        div.search i {
            width: 15%;
        }

    .prevSlide {
        left: 30px;
    }

    .nextSlide {
        right: 30px;
    }
}
