ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.new-container {
    width: 90%;
    margin: 0 auto;
}

.div-canvas1{
    width: 70%;
    margin: 0 auto;
}

@media (min-width: 1300px) {
    .new-container {
        max-width: 120rem;
        margin: 0 auto;
    }
}

.custom-divider {
    margin: 4rem auto;
}

.top-bar {
    background-color: var(--color-grey-200);
    padding: 1rem 0;
}

.top-bar-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.8rem;
    font-weight: normal;
    color: rgb(154, 152, 152);
}

.top-bar-nav li span {
    display: none;
}

@media (min-width: 1024px) {
    .top-bar-nav li {
        display: flex;
        gap: 1rem;
    }

    .top-bar-nav li span {
        display: block;
    }
}

/* Estilos para NavBar */
.nav-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.new-logo-ieepco {
    width: 20rem;
}

.menu__list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .nav-bar {
        flex-direction: row;
    }

    .menu__list {
        flex-direction: row;
    }
}


/* Estilos breadcrumbs */

.breadcrumbs {
    background-color: var(--color-grey-200);
    padding: 1rem 0;
    color: var(--color-grey-500);
}

.breadcrumbs .breadcrumbs-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.breadcrumbs .breads,
.breadcrumbs .breadcrumbs-area {
    display: flex;
    justify-content: flex-start;
}

.breadcrumbs .breads p {
    padding: 0;
    margin: 0;

}

@media (min-width: 480px) {}

@media (min-width: 768px) {
    .breadcrumbs .breadcrumbs-content {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {}

@media (min-width: 1300px) {}

/* Estilos aviso */

.new-aviso {
    background-color: var(--color-grey-200);
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 1rem;
    color: var(--color-grey-500);
}

/* Estilos Busqueda */

.busqueda {
    margin-top: 2rem;
    margin-bottom: 6rem;
}

.grid-busqueda {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin: 2rem 0;
}

.custom-select,
.custom-select select {
    width: 100%;
}

.busqueda .label-datos {
    color: var(--color-grey-500);
    font-size: 1.8rem;
}

.custom-radio .select-sexo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;

}

.custom-radio .select-sexo label {
    margin: 0;
}

.custom-partidos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.custom-partidos .partido-select {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.custom-partidos .partido-select img {
    width: 4rem;
    height: 4rem;
}

.btns-busqueda {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.btns-busqueda .btn-limpiar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0.5rem auto;
    width: 25rem;
    background-color: white;
    border-radius: 0.5rem;
}

.btns-busqueda .btn-limpiar:hover {
    background-color: var(--color-grey-200);
}

.btns-busqueda .btn-consultar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 25rem;
    padding: 0.5rem auto;
    background-color: var(--secundary-color);
    border-radius: 0.5rem;
    text-decoration: inherit;
    color: white;
}

.btns-busqueda .btn-consultar:hover {
    background-color: var(--color-cafeieepco);
}

.custom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-flex p {
    margin: 0;
}

@media (min-width: 480px) {}

@media (min-width: 768px) {
    .grid-busqueda {
        grid-template-columns: 1fr 1fr;
    }

    .custom-partidos {
        grid-template-columns: 1fr 1fr;
    }

    .btns-busqueda {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .grid-busqueda {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .custom-partidos {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 1300px) {}


/* Estilos de Detalle del candidato */

.detalle-1 {
    display: grid;
    gap: 6rem;
    grid-template-columns: 1fr;
}

.detalle-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.detalle-aside .detalle-foto {
    border-radius: 50%;
    border: 0.5rem solid var(--color-grey-500);
}

.detalle-aside .nombre-candidato {
    font-size: 3rem;
    color: var(--color-grey-500);
}

.detalle-aside .detalle-partido {
    font-size: 1.6rem;
    color: var(--color-grey-700);
}

.detalle-card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 2rem 3rem;
    margin-bottom: 2rem;
    border-radius: 2rem;
}

.detalle-card-title {
    font-size: 3rem;
    color: var(--color-grey-500);
}

.detalle-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.detalle-propuestas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.detalle-card h2 {
    color: var(--color-grey-500);
}

.detalle-card p {
    font-size: 2rem;
    color: var(--color-grey-700);
}

@media (min-width: 480px) {}

@media (min-width: 768px) {
    .detalle-card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .detalle-1 {
        grid-template-columns: 1fr 3fr;
    }

    .detalle-card-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .detalle-propuestas {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1300px) {}


/* Estilos de Estadisticas */

.stats {
    margin: 6rem auto;
}

.stats h2 {
    color: var(--color-grey-500);
}

.custom-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.custom-stats .stats-link {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 0.1rem solid var(--color-grey-200);
    transition: 0.3s;
}

.custom-stats .stats-link:hover {
    background-color: var(--secundary-color);
    color: white;
}

@media (min-width: 1024px) {
    .custom-stats {
        grid-template-columns: 1fr 2fr;
    }
}

/* Estilos de footer */

.custom-footer {
    background-color: var(--color-grey-200);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
    color: var(--color-grey-500);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}


.relacionados{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    justify-items: center;
}

.aviso-update{
    grid-column:span 3;
    justify-content: center;
    justify-items: center;
    margin-top: 10px;
}

.mjeGraf{
    text-align: center;
}


/* ribbon to cv and identidad */
.ribbon{
    /* POSITIONS */
    position: relative;
    
    /* BOX MODEL */
    display: block;
    margin: 2em;
    padding: 10px 30px;
    
    /* OTROS */
    background-color: #d7e3ee;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.55);
    border-radius: 3px;
    font-size: 32px;
    text-align: center;
    clear: both;
  }
  
  .ribbon:before{
    /* POSITION */
    position: absolute;
    left: -1.5em;
    bottom: 3px;
    z-index: -10;
    
    /* BOX MODEL */
    display: block;
    width: 10%;
    height: 0;
    border-color: #d7e3ee #d7e3ee #d7e3ee transparent;
    border-style: solid;
    border-width: 1.2em;
    
    /* OTROS */
    content: ''; 
  }
  
  .ribbon:after{
    /* POSITION */
    position: absolute;
    right: -1.5em;
    bottom: 3px;
    z-index: -10;
    
    /* BOX MODEL */
    display: block;
    width: 10%;
    height: 0;
    border-color: #d7e3ee  transparent #d7e3ee #d7e3ee;
    border-style: solid;
    border-width: 1.2em;
    
    /* OTROS */
    content: '';  
  }
  
  