@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

:root {
    /*
    --azul: #1D2E5C;
    --azulDarker: #142249;
    --celeste: #4197CB;    
    --striped: #E1E7FE;
    --naranja: #ff00a0;
    */
    --azul: #244979;
    --azulDarker: #ff00a0;
    --celeste: #034EA1;    
    --striped: #ff00a0;
    --naranja: #ff00a0;
    /* DE ACA PARA ARRIBA SON VALORE VIEJOS QUE HAY QUE IR REEMPLAZANDO*/
    
    --azul1:#244979;
    --azulO:#13264A;
    --azulC:#034EA1;
    --rojo:#EE3135;
    --verde: #4ea103;


    --text-title:2rem;

    
}

body{
    font-family: 'Manrope', Arial, Helvetica, sans-serif;
}

.text-azulO{
    color: var(--azulO);
}

.text-azulC{
    color: var(--azulC);
}

.text-rojo{
    color: var(--rojo) !important;
}

.text-verde{
    color: var(--rojo) !important;
}

.text-white {
    color: #fff;
}

.text-title {
    font-size: var(--text-title);
}

.text-azul {
    color:var(--azul1);
}

.bold {
    font-weight: bold;
}

.bg-azul {
    background-color: var(--azul1);
}

.bg-azul-a {
    background-color: var(--azulC);
}

.text-azul {
    color: var(--azul1);
}

.border-rojo{
    border-color: var(--rojo) !important;
}
.border-azul{
    border-color: var(--azul1) !important;
}

.form-control{
    border-radius: unset;
}

.nav-item{
    flex: 1;
    min-width: 0;
}

.nav-item:hover{
    background: var(--rojo);
}

.afirmativo,
.positiva{
    background-color: #91DBBD !important;
    color: #05472B !important;    
}

.negativo,
.negativa{
    background-color: #FCC7C3 !important;
    color: #470505 !important;
}

.abstencion,
.media{
    background-color: #FFEB96 !important;
    color: #616161 !important;
}

.otro-voto,
.sin-pos,
.ausente{
    background-color: #e1e1e1 !important;
    color: #616161 !important;
}

.clasificacion{
    border-radius: 5px !important;
    padding: 5px 1rem !important;
    display: block;
    text-align: center;
}

body {
    background-color: #F2F5FC;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

main {
    flex: 1 1 auto;
}

/*header {
    padding: 0.5rem 0;
}*/

a{
    text-decoration: none;
}

a:hover{
    color: var(--celeste);
}

.nowrap {
    white-space: nowrap;
}

.bg-home {
    background: var(--azul);
    background: linear-gradient(90deg, var(--azul) 48%, rgba(0,0,0,0.3) 53%);
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 5;
    backdrop-filter: blur(5px);
}

.bg-linear {
    background: var(--azulO);
}

.btn-azul {
    background-color: var(--azulC);
    color: white;
    border: none;
    transition: background-color 0.3s ease-in-out;
}

.btn-azul:hover {
    background-color: var(--azulO);
    color: white;
}

thead {
    background: var(--azulC);
}

thead tr {
    min-height: 100px;
}

table.table {
    border-collapse: collapse;
    background-color: white;
}

thead tr th:first-of-type {
    border-top-left-radius: 5px;
}

thead tr th:last-of-type {
    border-top-right-radius: 5px;
}

th {
    color: white;
    font-weight: 500;
    vertical-align: middle;
}

ul {
    list-style: none;
}

#navbarSupportedContent img{
    display:block;
    max-width: 30px;
    width: 100%;
    height: 30px;
}

#navbarSupportedContent li{
    text-align: center;
    /*width: 110px;
    height: 100px;
    padding-right: 0.5rem;*/
}

/* #navbarSupportedContent ul li:nth-child(1) {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
} */

/* #navbarSupportedContent ul li:nth-child(2),
#navbarSupportedContent ul li:nth-child(3),
#navbarSupportedContent ul li:nth-child(4),
#navbarSupportedContent ul li:nth-child(5),
#navbarSupportedContent ul li:nth-child(6),
#navbarSupportedContent ul li:nth-child(7),
#navbarSupportedContent ul li:nth-child(8) {
    border-right: 1px solid #fff;
} */

#navbarSupportedContent ul li:nth-child(8) {
    justify-content: space-evenly;
}

.footer-container img{
    max-width: 30px;
}

.footer-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

.azul{
    color: var(--azul);
}

.celeste{
    color: var(--celeste);
}

.naranja{
    color: var(--naranja);
}

.bg-naranja{
    background: var(--naranja);
}

.footer-container{            
    background: var(--azulO);           
}

.perfil-btn {
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.btn-principal {
    background-color: var(--azulC);
    border-radius: 5px;
    color: white;
    border: 1px solid var(--azulC);
}

.btn-limpiar {
    background-color: white;
    border-radius: 5px;
    color: var(--azulC);
    border: 1px solid var(--azulC);
}

.btn-limpiar:hover {
    color: var(--azulC)!important;
}

.chip {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    color: white;
    background-color: var(--azulC);
    border-radius: 20px;
}

.chip:hover {

    background-color: var(--rojo);
}

.btn-fav {
    background-color: transparent !important;
    border: none !important;
    padding: 1rem;
}

.btn-principal:hover {
    color: white;
}

.btn-outline-principal {
    background-color: transparent;
    border-radius: 5px;
    color: var(--rojo);
    border: 1px solid var(--rojo);
    transition: background-color 0.3s ease-in-out;
}

.btn-outline-principal:hover {
    background-color: var(--rojo);
    color: white;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #D6DBF1;
}

#alerta {
    position: fixed;
    bottom: 3vh;
    right: 10px;
    max-width: 280px;
    width: 100%;
}

nav.navbar {
    padding: 0;
}

.sombreado{
    background-color: rgba(0, 0 , 255, 0.5);
    background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, rgba(19,38,74,0.6) 50%, rgba(0,0,0,0.7) 100%);
}

#intro {
    height: 90vh;
    min-height: 700px;    
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow-y: hidden;
    position: relative;
    background-image: url(../img/fondo-login.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

#intro img.right {
    position: absolute;
    right: 0;
    object-fit: cover;
    object-position: center;
    width: 50vw;
}

#intro a.d-block {
    background-color: white;
    color: var(--azul);
    text-decoration: none;
    width: fit-content;
    padding: 0.5rem 1rem;
    border-radius: 2px;
    font-weight: 600;
}

#intro .hero-row {
    display: flex;
    align-items: flex-start;
    margin-top: -2rem!important;
}

#intro p.h1 {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    align-self: stretch;
    height: 100%;
    font-size: 14px;
}

.nav-link:hover {
    color: white;
}

.nav-link.active {
    color: white;
}

#perfil {
    cursor: pointer;
}

.perfil-btn {
    justify-content: space-between;
}

#myPerfil {
    position: absolute;
    top: 3.5rem;
    right: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    width: 360px;
    height: 0;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

#modalPerfil dl {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

#modalPerfil.mostrar {
    padding: 1rem;
    height: 240px;
    z-index: 10;
}

.breadcrum {
    display: flex;
    justify-content: center;
    width: fit-content;
    align-items: center;
    overflow: hidden;
}

.breadcrum span {
    display: block;
    color: white;
    font-weight: 700;
    background-color: var(--azulO);
    padding: 5px 1.5rem 5px 1rem;
    position: relative;
}

.breadcrum span::after {
    content: url("../img/flecha-scrum.svg");
    display: block;
    color: white;
    position: absolute;
    top: 0;
    right: 0;
    width: fit-content;
    height: fit-content;
    transform: translate(4px, -2px) scale(1.5);
    z-index: 2;
}

.breadcrum span:first-of-type {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.breadcrum span:last-of-type {
    background-color: var(--azulO);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.breadcrum span:last-of-type::after {
    content: '';
}

.breadcrum a {
    color: white;
    text-decoration: none;
}

#estado {
    max-width: 200px;
    position: relative;
}

#estado span {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 2rem;
    font-weight: 600;
}


#afinidad dd{
    color: var(--azulC);
    position: absolute;
    font-size: 2rem;
    font-weight: 700;
    
    top: 10%;
    bottom: 0;
    left: 0;
    right: 0;
    
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}


#legislador .bg-white {
    border-radius: 12px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.destacado-legislador {
    color:#fff;
    background-color: var(--azulC);
    padding: 5px 16px;
    text-align: left;
    border-radius:40px;
}

/*#proyecto section,
#legislador section,
#comision section {
    border-bottom: 1px solid var(--azulO);
}*/

#proyecto #votaciones {
    border: none;
}

#legislador img {
    max-width: 200px;
    width: 100%;
    border-radius: 100px;
    border: 2px solid var(--azulC);
}

#proyecto h2,
#legislador h2,
#comision h2 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--azul1);
    color: #fff;
}

#proyecto h2::after,
#legislador h2::after,
#eventos h2::after,
#mensajes h2::after,
#comision h2::after {
    display: inline-flex;
    content: url("../img/flecha-acordeon-white.png");
    transition: all 0.3s ease-in-out;
    padding: .5rem;
}

h2.acordeon::after {
    transform: rotate(180deg);
}

.title-detail-leg {
    font-size: 1.2rem;
    padding: 10px;
}

#proyecto #firmantes .table-responsive,
#proyecto #comisiones .table-responsive,
#proyecto #dictamenes .table-responsive,
#proyecto #mensajes .table-responsive,
#proyecto #tramites .table-responsive,
#proyecto #votaciones .row,
#legislador #comisiones .table-responsive,
#legislador #votaciones .table-responsive,
#legislador #firmantes .table-responsive,
#legislador #proyectos .table-responsive,
#legislador #eventos .table-responsive,
#comision .table-responsive {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease-in-out;
}

#votaciones .col-md-3 {
    background-color: white;
    border-radius: 5px;
}


#votacion #tabla-resumen .grafico{
    width: 100%;
    font-weight: 600;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}

#votacion #tabla-resumen .grafico span{
    display: inline-block;
    vertical-align: top;
}

#votacion #tabla-resumen .grafico .pos{
    background-color: #91DBBD;
    color: #05472B;
    padding-left: 1rem;
}

#votacion #tabla-resumen .grafico .neg{
    background-color: #FCC7C3;
    color: #470505;
    text-align: center;
    overflow: hidden;
}

#votacion #tabla-resumen .grafico .otro{
    background-color: #e1e1e1;
    color: #616161;
    text-align: right;
    direction: rtl;
    padding-right: 1rem;
}

#searchParams {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 16px;
}

select#estado {
    max-width: initial;
}

.dataTables_info {
    color: #616161;
}

.dataTables_paginate span .paginate_button.current{
    background-color: var(--azulO) !important;
    color: white !important;
}

.dataTables_paginate .paginate_button.next,
.dataTables_paginate .paginate_button.next.disabled,
.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.previous.disabled,
.dataTables_paginate .paginate_button.disabled {
    background-color: var(--azulC) !important;
    color: white !important;
}

.paginate_button.disabled{
    opacity: 0.9
}

.paginate_button {
    background-color: white !important;
    color: #616161 !important;
}

.proyecto-nombre {
    white-space: nowrap;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    width: 200px;
    transition: width 0.3s ease-in-out;
}

table.table .img-thumbnail {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    width: 100% !important;
    height: 100%;
    display: block;
    border: none;
    padding: 0;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
    border-radius: 0 !important;
    border: 0 !important;
}

#paginador {
    text-align: center;
}

#paginador button,
#paginador select{
    background-color: var(--azulC);
    border: 1px solid var(--azulC);
    border-radius: 5px;
    width: fit-content;
    color: white;
    font-size: 1rem;
    padding: 5px 10px;
}

.grafico-comision{
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    min-height: 150px;
}

.grafico-comision span {
    display: flex;
    text-align: center;
    padding-top: 0;
    font-weight: bold;
    transition: min-width 0.3s ease-in-out;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: black;
    white-space: nowrap;
    min-width: 1%;

}

.grafico-comision span:nth-child(odd) {
    background-color: var(--celeste);
}

.grafico-comision span:nth-child(even) {
    background-color: #D6DBF1;
}

.grafico-comision span:hover{
    min-width: 20% !important;
    white-space: normal;
}

.composicion-camara {
    max-height: 450px;
    margin-bottom: 2rem;
    padding: 2rem 0;
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 16px;
    position: relative;
}

.grafico-camara {
    width: 70%;
    height: fit-content;
}

.grafico-camara object{
    max-height: 350px;
}

.texto-camara {
    overflow-y: auto;
    padding-top: 10px;
}

.texto-camara .clasificacion {
    margin: 10px;
}

.texto-camara .clasificacion.activo {
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

circle {
    transition: opacity 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.result-votacion {
    display: flex;
    /*width: 100%;*/
    flex-wrap: wrap;
    column-gap: 30px;
}

.result-votacion .linea{
    height: 5px;
    width: 100%;
}

.result-votacion div {
    flex: 1 1 auto;
}

.sancion{
    border-radius: 16px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    margin-bottom: 25px;
}

.sancion h3{
    display: inline-block;
}

.buttons-excel{
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-color: var(--azulC);
    border-radius: 5px;
    color: white;
    border: 1px solid var(--azulC);
}
.dt-buttons{
    display: flex;
    justify-content: end;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#projects-table .ordenable{
    position: relative;
}

#projects-table .ordenable:after,
#projects-table .ordenable:before{
    position: absolute;
    display: block;
    opacity: .5;
    right: 10px;
    line-height: 9px;
    font-size: .9em;
}

#projects-table .ordenable:after{
    top: 60%;
    content: "▾";
}

#projects-table .ordenable:before{
    bottom: 60%;
    content: "▴";
}

#projects-table .ordenable.ASC:before{
    opacity: 1;
}

#projects-table .ordenable.DESC:after{
    opacity: 1;
}

.badge {
    background-color: var(--azulC);
    border-radius: 50px!important;
    padding:6px 10px;
}

.login main {
    display: flex;
    flex: 1 1 0;
    justify-content: center;
    align-items: center;
    background-image: url('../img/fondo-login.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 10%;
}

#form-login {
    width: 100%;
    max-width: 400px;
    /*background-color: rgba(65, 151, 203, 0.7);*/
    background-color: rgba(200, 200, 200, 0.7);
    border-radius: 10px;
    padding: 1rem 2rem;
}

/*========== ELIMINAR CUANDO NO SE NECESITE =================*/
h1.pendiente{
    color: red;
    /*display: none;*/
}

.ordenable{
    /*background-color: violet !important;*/
}

/*=========== SPINNER =============*/

.sk-cube-grid {
    width: 40px;
    height: 40px;
    margin: 100px auto;
}

.sk-cube-grid .sk-cube {
    width: 33%;
    height: 33%;
    background-color: var(--azul);
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
    animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}
.sk-cube-grid .sk-cube1 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
    -webkit-animation-delay: 0s;
    animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    } 35% {
          -webkit-transform: scale3D(0, 0, 1);
          transform: scale3D(0, 0, 1);
      }
}

@keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    } 35% {
          -webkit-transform: scale3D(0, 0, 1);
          transform: scale3D(0, 0, 1);
      }
}

/*Estilos Legisladores*/

#tabla-legisladores_length,
#tabla-tramites_length,
#tabla-legisladores_filter,
#tabla-tramites_filter {
    margin-bottom: 1.2rem;
}

#tabla-legisladores_paginate,
#tabla-tramites_paginate {
    margin-top: 1rem;
}

#tabla-tramites td hr:last-child {
    display: none;
}

/*Estilos Seguimiento Parlamentario*/

.formulario-seg-par {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
}

.formulario-seg-par label{
    font-weight: bold;
    color: var(--azulC);
    margin-bottom: 8px;
}

.formulario-seg-par input.form-control,
.formulario-seg-par select.form-select {
    border: 1px solid var(--azulC);
    border-radius: 8px;
}

.btn-enviar-form {
    width:250px;
}

/* Diputados y Senadores */

#comisiones-dip_filter,
#comisiones-dip_length,
#dataTables_filter,
#comisiones-sen_length {
    margin-bottom:16px!important;
}

.dataTables_filter,
.dataTables_length {
    margin-bottom:16px!important;
}

#comisiones-dip_paginate,
#comisiones-sen_paginate {
    margin-top: 16px!important;
}

.dataTables_paginate {
    margin-top: 16px!important;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1360px;
    }
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

    #intro img.right {
        top: 0;
        height: 100%;
    }

    .dropdown-menu li{ position: relative; 	}
    .nav-item .submenu{
        display: none;
        position: absolute;
        left:100%; top:-7px;
    }
    .nav-item .submenu-left{
        right:100%; left:auto;
    }
    .dropdown-menu > li:hover{ background-color: #f1f1f1 }
    .dropdown-menu > li:hover > .submenu{ display: block; }

    #detalle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        border-radius: 16px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }

    #detalle dl {
        display: flex;
        width: 100%;
        justify-content: space-between;        
        align-items: baseline;
        padding: 2rem;
    }

    #detalle dl.equal > div {
        width: 25%;
    }

    #grafico-composicion .table-responsive {
        height: fit-content;
    }
}

/* ============ small devices ============ */
@media (max-width: 767px) {
    .grafico-camara object {
        transform: scale(0.8) translateX(-10px);
    }

    .dropdown-menu .dropdown-menu{
        margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;
    }

    #intro {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    #intro img.right {
        position: relative;
        width: 100vw;
        max-width: 100%;
    }

    header, .bg-home {
        position: static;
        top: 0;
        background: var(--azul);
        z-index: 10;
    }

    .proyecto-nombreNO {
        text-align: left !important;
        display: block;
        width: 360px;
    }

    .titulo {
        width: 360px;
    }

    .dt-buttons {
        justify-content: center;
    }

    #datos dd {
        margin: 0;
    }

    #datos dl div {
        border: 1px solid transparent;
        border-bottom-color: var(--celeste);
        margin-bottom: 1rem;
    }

    .dataTables_filter {
        margin-bottom: 1rem;
    }

    #legislador .table-responsive {
        overflow-x: scroll !important;
    }

    #legislador table {
        min-width: 800px;
    }

    .navbar-toggler {
        border: 1px solid white;
        width: 50px;
        height: 40px;
    }

    .navbar-toggler:focus {
        box-shadow: transparent;
    }

    #perfil {
        margin: auto;
    }

    .navbar-nav {
        border-top: 1px solid var(--azul);
        margin-top: 10px;
    }

    .navbar-toggler-icon {
        content: '';
        width: 100%;
        height: 3px;
        background-color: white;
        display: block;
    }

    .navbar-toggler-icon::before {
        content: '';
        width: 100%;
        height: 3px;
        background-color: white;
        display: block;
        transform: translatey(10px);
    }

    .navbar-toggler-icon::after {
        content: '';
        width: 100%;
        height: 3px;
        background-color: white;
        display: block;
        transform: translatey(-12px);
    }

    .dataTables_paginate {
        width: 600px;
    }

    .btn-principal {
        width: 100%;
    }

    .descr-proy a {
        width: 300px;
        display: block;
    }

    #paginador {
        flex-direction: column;
        row-gap: 20px;
    }

    .footer-container {
        padding: 10px;
    }

    .modal-footer .btn {
        width: 100%;
    }

    #estado {
        margin-left: auto;
        margin-right: auto;
    }

    .clasificacion {
        text-align: left;
    }

    #dictamenes .table-responsive,
    #tramites .table-responsive,
    #diputados #tabla-legisladores_wrapper,
    #agenda .table-responsive,
    #mensajes .table-responsive,
    #comision .table-responsive {
        overflow-x: scroll !important;
    }

    #dictamenes a, #dictamenes tr td:last-of-type {
        display: block;
        width: 300px;
    }

    .submenu.dropdown-menu {
        display: block !important;
    }

    .composicion-camara {
        max-height: inherit;
    }

    .grafico-camara {
        width: 100%;
    }

    .texto-camara {
        height: 300px;
    }

    .breadcrum {
        margin: 0 auto 2rem auto;
        width: 100%;
        overflow-x: auto;
    }

    .breadcrum span {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .breadcrum span::after {
        transform: translate(4px, -4px) scale(1.5);
    }

    #comision .btn {
        width: 100%;
    }

    #comision #detalle {
        background-color: white;
        border-radius: 10px;
        padding: 10px;
    }

    .result-votacion {
        flex-wrap: wrap;
        row-gap: 40px;
    }

    .result-votacion div {
        width: 100%;
    }

    #votaciones .row {
        margin: 0 !important;
    }

    #votaciones a.btn  {
        width: 100%;
    }

    .sancion h3.h3 {
        width: 100%;
    }

    #votacion h1 {
        font-size: 1.25rem;
    }

    #votacion #datos, #votacion #detalle {
        background-color: white;
        border-radius: 20px;
    }

    #votacion #tabla-resumen .grafico {
        min-width: 200px;
    }

    #votacion td {
        vertical-align: middle;
    }

    .breadcrum , #grafico-composicion {
        display: none !important;
    }

    .col-datos-leg {
        flex-direction: column;
    }

    #legislador img {
        max-width: 160px;
    }

    .data-periodo {
        flex-direction: column;
    }
}

@media print {

    body {
        -webkit-print-color-adjust: exact !important;
    }

    #proyecto #firmantes .table-responsive,
    #proyecto #comisiones .table-responsive,
    #proyecto #dictamenes .table-responsive,
    #proyecto #mensajes .table-responsive,
    #proyecto #tramites .table-responsive {
        height: fit-content;
    }

    #proyecto h2::after {
        content: '';
    }

    #proyecto section,
    #legislador section {
        border: none;
    }

    footer ul {
        display: none !important;
    }

    thead {
        background-color: var(--celeste);
    }

    th {
        color: white;
    }

    #detalle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        border-radius: 5px;
        box-shadow: 0 0 5px rgba(0,0,0,0.2);
    }

    #detalle dl {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }

    .no-print, .navbar-toggler {
        display: none !important;
    }

    a {
        text-decoration: none !important;
        color: inherit;
    }

    .sancion {
        box-shadow: none;
        border: 1px solid var(--azul);
        margin-bottom: 5rem;
        margin-top: 5rem;
        page-break-inside: avoid;
    }

    section#dictamenes .table-responsive, section#tramites .table-responsive {
        overflow: hidden !important;
    }

    #dictamenes a {
        display: inline;
        width: auto;
    }

    #dictamenes tr td:last-of-type {
        width: auto;
        display: table-cell;
    }

    
    #proyecto h2,
    #legislador h2,
    #comision h2 {
        page-break-inside: avoid;
    }

    #proyecto tr,
    #legislador tr,
    #comision tr{
        page-break-inside: avoid;
    }
    #tabla-tramites_length,
    #tabla-tramites_filter,
    #tabla-tramites_info,
    #tabla-tramites_paginate {
        display: none !important;
    }



    table#tabla-tramites {
        width: 100%;
      }
      /* Evita que el contenido de las celdas se corte */
    .boton-filtro{
        display: none;
    }
      .table td {
        word-wrap: break-word;
        font-size: 9pt;
      }
    
}

/*------------------------------SELECTOR PARTIDOS/BANCADAS EN GRAFICOS RECINTO------------------------------*/
.composicion-camara .selector-doble{
    background-color: #D6DBF1;
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
}

.composicion-camara .selector-doble div{
    display: inline-block;
}
.composicion-camara .opcion{
    padding: 10px;
    margin: 0;    
}

.composicion-camara .opcion.activa{
    background-color: var(--azulC);
    color: white;
}

.boton_cantidades{
    margin-inline: 15px;
    
    
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: #D6DBF1;
}

.boton_cantidades:hover{
    background-color: var(--azulC);
    color:white;
}

.comision-title{
    padding: 5px 20px;
}

.switch-keyword{
    
    display: flex;
    justify-content: center;
}

.input-switch{
    width: 3em !important;
    padding: 10px 0;
    
}

