/* ===================================
   CONTENEDOR GENERAL
=================================== */

.normograma{
    font-family: Arial, Helvetica, sans-serif;
    /*background:#efefef;*/
    padding:15px;
}

.normograma h2 {
    margin: 0 0 15px;
    color: #8bc53f;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

/* ===================================
   GRID
=================================== */

.normograma-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    align-items:start;
}

/* ===================================
   TARJETAS
=================================== */

.normograma .card{
    background:#fff;
    border:1px solid #8f8f8f;
    border-radius:10px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-height:380px;
    height:100%;
}

/* ===================================
   TITULO
=================================== */

.normograma .title{
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:10px;
    min-height:38px;
    font-size:14px;
    font-weight:bold;
    line-height:1.2;
    white-space:normal;
}

/* ===================================
   IMAGEN
=================================== */

.normograma .icon{
    height:150px;
    overflow:hidden;
    flex-shrink:0;
}

.normograma .icon img{
    width:100%;
    height:150px;
    /*object-fit:cover;*/
    display:block;
}

/* ===================================
   DESCRIPCION
=================================== */

.normograma .description{
    padding:16px;
    font-size:12px;
    line-height:1.3;
    color:#000;
    min-height:95px;
    overflow:visible;
    word-wrap:break-word;
}

/* ===================================
   SUBTITULO
=================================== */

.normograma .green{
    color:#fff;
    font-size:11px;
    line-height:1.3;
    padding:4px 20px;
    min-height:24px;
    display:flex;
    align-items:center;
}

/* ===================================
   CONTENEDOR LINKS
=================================== */

.normograma .links{
    flex:1;
    display:flex;
    flex-direction:column;
}

/* ===================================
   LINKS
=================================== */

.normograma .link{
    display:flex;
    align-items:center;
    min-height:22px;
    padding:0 10px;
    background:#ececec;
    border-bottom:1px solid #d0d0d0;
    text-decoration:none;
    color:#000;
    font-size:12px;
    line-height:1.3;
}

.normograma .link:hover{
    background:#e3e3e3;
}

.normograma .link::before{
    content:"✔";
    color:#4ea300;
    font-weight:bold;
    margin-right:8px;
}

/* ===================================
   LINEAMIENTOS
=================================== */

.normograma .lineamientos{
    background:#d8d8d8;
    border-top:1px solid #c5c5c5;
    min-height:30px;
    display:flex;
    align-items:center;
    padding:0 18px;
    font-size:11px;
    flex-shrink:0;
}

/* ===================================
   CICLO DE COLORES
=================================== */

/* 1 - Naranja */

.normograma .card:nth-child(5n+1) .title{
    color:#f57c00;
}

.normograma .card:nth-child(5n+1) .green{
    background:#f57c00;
}

/* 2 - Verde */

.normograma .card:nth-child(5n+2) .title{
    color:#9ab300;
}

.normograma .card:nth-child(5n+2) .green{
    background:#9ab300;
}

/* 3 - Fucsia */

.normograma .card:nth-child(5n+3) .title{
    color:#d31682;
}

.normograma .card:nth-child(5n+3) .green{
    background:#d31682;
}

/* 4 - Morado */

.normograma .card:nth-child(5n+4) .title{
    color:#7a2ca3;
}

.normograma .card:nth-child(5n+4) .green{
    background:#7a2ca3;
}

/* 5 - Azul */

.normograma .card:nth-child(5n) .title{
    color:#0077c8;
}

.normograma .card:nth-child(5n) .green{
    background:#0077c8;
}

/* ===================================
   RESPONSIVE
=================================== */

@media (max-width:1200px){

    .normograma-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:768px){

    .normograma-grid{
        grid-template-columns:1fr;
    }

}