﻿h1 {
    font-size: 28px;
}

#filters {
    min-width: 250px;
    max-width: 300px;
}

.carousel {
    height: 100%;
    min-height: 100%;
}

    .carousel .img-thumbnail.rounded {
        /*max-height: 350px;
        max-height: 100%;*/
    }

    .carousel .carousel-item {
        height: 100%;
        background-size: cover;
        padding: 0px;
    }

        .carousel .carousel-item a {
            width: 100%;
            display: grid;
            height: 100%;
            position: relative;
            place-content: center;
        }

    .carousel img {
        /*top: 50%;
        transform: translateY(-50%);*/
        position: relative;
        max-width: 100%;
        border-radius: 0px;
    }

.preview {
    /*height: 640px;*/
}

.preview img {
    max-width: 100%;
}

.happy {
    font-size: 17px;
    font-weight: 700;
    line-height: 21px;
    font-style: italic;
}

    .happy i {
        font-family: 'Gochi Hand', cursive;
        font-size: 48px;
        margin-right: 4px;
    }

    .happy .currency {
        width: 23px;
    }

.sale .fa-classic, .sale .fa-regular, .sale .fa-solid, .sale .far, .sale .fas {
    width: 28px;
    font-size: 16px;
}

.carousel-control-next, .carousel-control-prev {
    top: 50%;
    background-color: #000;
    height: 48px;
    opacity: 0.8;
}

.sale {
    max-height: 100%;
    /*max-width: 100%; no buono per sezione RECOMMENDED in pagina annuncio/details*/
}

.sale p {
    font-size: 14px;
    margin: 0px 0px 12px;
}

    .sale .title a, .sale .title a:hover {
        line-height: 20px;
        min-height: 36px;
        text-transform: uppercase;
        text-decoration: none;
        color: #000;
        letter-spacing: normal;
        font-size: 1.1rem;
        font-weight: 600;
        overflow: hidden;
        overflow-wrap: anywhere;
        text-overflow: ellipsis;
        white-space: normal;
    }

    .sale .subtitle {
        font-size: 1.4rem;
    }

    .sale a.image {
        width: 100%;
        display: block;
        height: 100%;
        position: relative;
    }

        .sale a.image img {
            /*top: 50%;
                transform: translateY(-50%);*/
            position: relative;
            border-radius: 0px;
            /*height: 190px;*/
        }

    .sale .categoryBox {
        position: absolute;
        top: 0px;
        left: 0px;
        display: inline-block;
        z-index: 100;
        background-color: greenyellow;
        padding: 2px;
    }

        .sale .category a, .sale .category a:hover {
            font-weight: bold;
            text-decoration: none;
            font-style: italic;
            padding: 0px;
        }


    .sale .happyBox {
        background-color: brown;
        color:#fff;
        padding: 0.3em;
        display: inline-block;
        position: absolute;
        right: 0px;
        bottom: 0px;
        margin: 0px;
    }

    .sale .happyBox span:first-child {
        background-color: #fff;
        border: 2px solid #0366d6;
        border-radius: 16px;
    }

#searchForm {
    position: sticky;
    top: 0px;
}

#filters .form-control {
    height: calc(.75em + .75rem + 2px);
    padding-top: 0px;
    padding-bottom: 0px;
}