/*estilos generales*/
body {
    font-family: Montserrat !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 de los cursos*/
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;
                }
            }
        }
    }

}
/*ventana de filtrado*/
.popup {
    display: none;
    margin: auto;
    margin-top: 15px;
    width: 300px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 15px;
  }

.popup span{
    display: block;
    text-align: left;
}

/*estilo de los botones de filtrado*/
.btn-close-filter{
    background-color: #78829D1A;
}

.btn-filtrar{
    background-color: #A90C3C;
    color: white;
}

/*
se cambia el color del titulo de las cards para que no tome en cuenta la etiqueta 'a'
*/

.card-title{
    color: #383838;
}

/*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;
    }
}

.nom-subtitle {
    text-align: center;
}

.nom-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.nom-card {
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.nom-title-card {
    color: #333333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.nom-after-title-card {
    color: #B68400;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.nom-card-details {
    color: #333333;
    font-size: 14px;
    padding-top: 10px;
    font-weight: bold;
}

.nom-card-subdetails {
    color: #333333;
    font-size: 14px;
    font-weight: 500;
}

.nom-subtitle-semibold {
    font-weight: 500;
    font-size: 16px;
}

.nom-subtitle-bold {
    font-weight: 700;
    font-size: 16px;
}

@media only screen and (max-width: 855px) {
	.nom-container{
        grid-template-columns: repeat(1, minmax(300px, 1fr));

	}
}