/*estilos generales*/
body {
    font-family: 'Montserrat', sans-serif !important;
}

.sticky-wrapper {
    background-color: #34151F;
}

.catalogos-title {
    color: #A90C3C;
    font-size: 64px;
    font-weight: 700;
    text-align: center;
}

div.filter-container {
    text-align: center;

    button.filter-btn {
        color: black;
        font-weight: 700;
        border-radius: 12px;

        &:hover {
            color: whitesmoke !important;

            i.icon-filter {
                color: whitesmoke !important;
            }
        }

        i.icon-filter {
            font-size: 18px;
            vertical-align: top;
            transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        }
    }
}

/*cards deL CATALOGO*/
div.cursos-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    grid-column-gap: 18px;
    grid-row-gap: 18px;

    .card {
        .card-img-top {
            height: 160px;
            max-width: 200px;
        }

        .card-body {
            .card-text {
                color: #9D9EA5;
                text-align: justify;

            }
        }

        .card-footer {
            border-top: none;

            .date {
                color: #7E304B;

                text-decoration: none !important;

                &:hover {
                    text-decoration: none !important;
                }
            }

            .card-link {
                color: #7E304B;

                &:hover {
                    text-decoration: underline !important;
                }
            }
        }
    }

}

.card-title{
    color: #383838;
}

.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
}

.card-text.expanded {
    -webkit-line-clamp: unset;
}

.card .card-footer {
    padding: 0;
}
.card-link{
    padding: 0px 0px 15px 15px;
}

.img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* filtrado*/
.inveratur-container{
    text-align: center;
    margin-bottom: 40px;
}

.filter{
    width: 365px;
    display: inline-flex;
    margin-right: 10px;
}

.btn-search{
    display: inline-block;
    background-color: #AB0A3D;
    color: white;
    margin-left: 20px;
}

.subtitle{
    text-align: center;
    font-size: 14px;
    color: #3D3935;
    padding-bottom: 30px;
}


/*telefonos*/
@media only screen and (max-width: 600px) {
    .catalogos-title {
        font-size: 45px;
    }

    .cursos-container{
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

@media only screen and (min-width:600px) and (max-width: 999px){

    .cursos-container{
        grid-template-columns: repeat(2, 1fr) !important;
    }
}