/**** TABLAS  *****/


.region-content .node .text-formatted.field table h2,
.region-content .block .text-formatted.field table h2,
.region-content .node .text-formatted.field table h3,
.region-content .block .text-formatted.field table h3,
.region-content .node .text-formatted.field table h4,
.region-content .block .text-formatted.field table h4{
  margin: 0;
}

.region-content .text-formatted.field table ul, 
.region-content .text-formatted.field table ol, 
.lateral-nodo.block table ul, 
.lateral-nodo.block table ol{
    padding-left: 2.5rem;
    margin-bottom: 0.5rem;
}

table[class^="tabla"],
table[class*=" tabla"]{
    margin: 0 auto;
    border-collapse: collapse;
}

table[class^="tabla"] th, 
table[class^="tabla"] thead td,
table[class^="tabla"] td{
  font-size: 16px;
  line-height: 1.2;
  text-transform: none;
}

table[class^="tabla"] tbody,
table[class*=" tabla"] tbody{
	border-top: none;
}

table[class^="tabla"] td,
table[class^="tabla"] tr,
table[class*=" tabla"] td,
table[class*=" tabla"]tr{
	border: 0;
}

table[class^="tabla"] td, 
table[class^="tabla"] th, 
table[class*=" tabla"] td,
table[class*=" tabla"] th{
    margin: 0;
    padding: 1rem;
    vertical-align: top;
    height: auto;
    text-align: left;
}


table[class^="tabla"] th,
table[class*=" tabla"] th{
  border-bottom: 2px solid #dee2e6;
}

table[class^="tabla"] td p:first-child,
table[class*=" tabla"] td p:first-child,
table[class^="tabla"] th p:first-child,
table[class*=" tabla"] th p:first-child{
	margin-top: 0!important;
}

table[class^="tabla"] td p:last-child,
table[class*=" tabla"] td p:last-child,
table[class^="tabla"] th p:last-child,
table[class*=" tabla"] th p:last-child{
	margin-bottom: 0!important;
}



/* tabla 0 */

table.tabla0 {
  border: 0;
}

table.tabla0 td, 
table.tabla0 th{
 border:0
}

/* eol tabla 0 */


/* tabla 1 */
  
table.tabla1 {
  border-collapse: collapse;
  background: var(--colorWhite);
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  border: 0;
}

table.tabla1 * {
  position: relative;
}

table.tabla1 th, 
table.tabla1 thead td,
table.tabla1 td{
  border:1px solid #ccc!important;
  padding: 1rem;
}

table.tabla1 th, 
table.tabla1 thead td{
  font-weight: bold;
}

table.tabla1 tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

table.tabla1 tbody td {
  color: #808080;
}

table.tabla1 tbody tr:hover {
  color: #555555;
  background-color: #f5f5f5;
}

/*
@media screen and (max-width: 992px) {
  
  table.tabla1 {
    display: block;
  }
  table.tabla1 > *, table.tabla1 tr, table.tabla1 td, table.tabla1 th {
    display: block;
  }
  table.tabla1 thead {
    display: none;
  }
  table.tabla1 tbody tr {
    height: auto;
    padding: 37px 0;
  }
  table.tabla1 tbody tr td {
    padding-left: 40% !important;
    margin-bottom: 24px;
  }
  table.tabla1 tbody tr td:last-child {
    margin-bottom: 0;
  }
  table.tabla1 tbody tr td:before {
    font-size: 1.4rem;
    color: #999999;
    line-height: 1.2;
    font-weight: unset;
    position: absolute;
    width: 40%;
    left: 30px;
    top: 0;
  }

  table.tabla1 tbody tr {
    font-size: 14px;
  }
}*/


/* eol tabla 1 */

/* tabla 2 / tabla 3 / tabla 4 */

.region-content .text-formatted.field table[class*="tabla2"]{
  border-collapse: collapse;
  border: 0!important;
}

table[class*="tabla2"] th,
table[class*="tabla2"] thead td{
  font-weight: bold;
}

table[class*="tabla2"] tbody td,
table[class*="tabla2"] th,
table[class*="tabla2"] thead td{
 border:1px solid #ccc!important;
 padding: 1rem;
}




/* eol tabla 2 */

/* tabla 3 */

table.tabla2n th,
table.tabla2n thead td  {
    font-weight: bold;
    background-color: #f5f5f5;
    color: #686868;
}

/* eol tabla 3 */

/* tabla 4 */

table.tabla2h tbody tr:hover{
  color: black;
  background-color: rgba(0,0,0,.075);
}

table.tabla2h tbody td,
table.tabla2h th,
table.tabla2h thead td{
 border:1px solid #ccc!important;
 padding: 1rem;
}

/* eol tabla 4 */


/* table 5 */

table.tabla5 th{
  border: 0!important;
  background: var(--colorGrayfooter)!important;
  color: var(--colorGray1)!important;
}

table.tabla5 th h2,
table.tabla5 th h3,
table.tabla5 th h4{
  color: var(--colorGray1)!important;
}

table.tabla5 td{
  border: 1px solid var(--colorGrayfooter)!important;
  padding: 1rem;
}

table.tabla5 tr{
	background-color: #f4f4f4!important;
}

/* eol table 5 */

/* table 6 */

table.tabla6 th{
  background: #4590c6!important;
  color: white!important;
  border: 1px solid #4590c6!important;
}

table.tabla6 th h2,
table.tabla6 th h3,
table.tabla6 th h4{
  color: white!important; 
}

table.tabla6 td{
  border: 1px solid #4590c6!important;
  padding: 1rem;
}


/* eol table 6 */

/* eol tablas */

/* Tabla Parrilla 4 columnas*/

table[class*="parrilla"]{
  width: 100% !important;
  border: none !important;
  margin-top: 30px;
}

table[class*="parrilla"] td:nth-child(odd) {
  width: calc(100px + 1.5vw) !important;
  vertical-align: top;
  padding-right: 1.5vw;
  box-sizing: border-box;
}

table[class*="parrilla"] td:nth-child(odd) p{
  margin: 0!important;
}

table[class*="parrilla"] td:nth-child(even) {
    width: 210px !important;
    padding-right: 30px !important;
    padding-left: 10px!important;
    vertical-align: top;
    box-sizing: border-box;
    flex: 1;
}

table[class*="parrilla"]  td img{
    width: 95px!important;
    height: 95px!important;
    object-fit: cover;
    padding: 3px;
    border: 1px solid #e0e0e0;
    border-radius: 1px;
    background-color: #fff;
}

table[class*="parrilla"] td h2, table[class*="parrilla"] td h3, table[class*="parrilla"] td h4, table[class*="parrilla"] td h5  {
  font-family: var(--font) !important;
  font-size: 1.8rem !important;
  line-height: 2.5rem;
  font-weight: bold !important;
  letter-spacing: normal!important;
  margin-bottom: 10px !important;
  padding-left: 0px;
  padding-right: 10px;
  margin-top: 0px !important;
  text-align: left !important;
}

table[class*="parrilla"]  td{
  padding-top: 25px !important;
  padding-bottom: 25px !important;
  padding-left: 0px !important;
  border: none !important;
}

table[class*="parrilla"]  tr:first-child{
  border-top: none !important;
}


table[class*="parrilla"]  tr:first-child td{
  padding-top: 0 !important;
}

table[class*="parrilla"]  tr{
  border-bottom: 1px dotted #cccccc !important;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

table[class*="parrilla"]  tr:last-child{
  border-bottom: none !important;
}

table[class*="parrilla"]  .texto-parrila{
  float: left;
}

table[class*="parrilla"] .titulo-parrilla{
    color: #223D71;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 10px;
    padding-left: 123px;
    padding-right: 10px;
}

table[class*="parrilla"] .enlaces-parrilla a{
  display: block;
  text-decoration: none;
  color: #484848;
}

table[class*="parrilla"]  td ul{
  padding-left: 19px !important;
}  



@media (max-width: 920px) {
  

  table[class*="parrilla"]{
    & tr{
      display: grid;
      grid-template-columns: 120px 1fr;
      border-bottom: none!important;
      &:first-child{
        & td{
          padding-top: 30px!important;
          &:nth-first-of-type(n+2){
            padding-top: 0 !important;
          }
        }
      }
      &:last-child{
        & td:nth-last-of-type(-n+2){
          border-bottom: none!important;
        }
      }
      & td{
        padding-bottom: 30px !important;
        padding-top: 30px!important;
        height: auto!important;
        border-bottom: 1px dotted #e0e0e0!important;
        &:nth-child(even) {
          width: 100%!important;
          padding-right: 0 !important;
        }
        &:nth-child(odd) {
          width: auto!important;
          padding-right: 0;
        }
      }
    }  
  }
}
 

/* eol tabla parrilla 4 columnas*/

/* eol tabla parrilla 2 columnas */

table.parrilla-2 tr {
  display: flex;
  gap: 2rem;
}

table.parrilla-2 td:nth-child(even) {
  width: auto;
  flex: 1;
}

/* eol tabla parrilla 2 columnas */

/* tabla vistas */
.view.tabla1 table,
table[class*=" tabla"]{
    margin: 0 auto;
    border-collapse: collapse;

}

.view.tabla1 table tbody,
table[class*=" tabla"] tbody{
	border-top: none;
}

.view.tabla1 table td,
.view.tabla1 table tr,
table[class*=" tabla"] td,
table[class*=" tabla"]tr{
	border: 0;
}

.view.tabla1 table td, 
.view.tabla1 table th, 
table[class*=" tabla"] td,
table[class*=" tabla"] th{
    margin: 0;
    padding: 1rem;
    vertical-align: top;
    height: auto;
    text-align: left;
}


.view.tabla1 table th,
table[class*=" tabla"] th{
  border-bottom: 2px solid #dee2e6;
}

.view.tabla1 table td p:first-child,
table[class*=" tabla"] td p:first-child,
.view.tabla1 table th p:first-child,
table[class*=" tabla"] th p:first-child{
	margin-top: 0!important;
}

.view.tabla1 table td p:last-child,
table[class*=" tabla"] td p:last-child,
.view.tabla1 table th p:last-child,
table[class*=" tabla"] th p:last-child{
	margin-bottom: 0!important;
}


/* tabla 1 */
  
.view.tabla1 table {
  border-collapse: collapse;
  background: var(--colorWhite);
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  position: relative;
  border: 0;
}

.view.tabla1 table * {
  position: relative;
}

.view.tabla1 table th, 
.view.tabla1 table thead td,
.view.tabla1 table td{
  font-size: 1.6rem;
  line-height: 1.2;
  border:1px solid #ccc!important;
  padding: 1rem;
}

.view.tabla1 table th, 
.view.tabla1 table thead td{
  font-weight: bold;
}

.view.tabla1 table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

.view.tabla1 table tbody td {
  color: #808080;
}

.view.tabla1 table tbody tr:hover {
  color: #555555;
  background-color: #f5f5f5;
}

.view.tabla1 caption{
  text-align: left;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 2rem;
}


/* eol tabla vista */



/* table directorio */

table.directorio{
  border: 0;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

/*
table.directorio tr {
    display: flex;
    gap: 5rem;
    align-items: center;
}
*/

table.directorio td:nth-child(odd) {
    width: 210px!important;
}
/*
table.directorio] td:nth-child(even) {
	  flex: 1;
}
*/
table.directorio td {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    padding-left: 0px !important;
    border: none !important;
}

table.directorio td img {
    width: 150px;
    height: 150px;
    padding: 3px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    border-radius: 100px;
    object-fit: cover;
}

/* eol table directorio */

/* tabla 2 vistas */

.tabla2 table thead{
  background: #f2f2f2;
}

.tabla2 table td, 
.tabla2 table th{
  margin: 0;
  padding: 1rem;
  vertical-align: top;
  height: auto;
  text-align: left;
}

.tabla2 table th,
.tabla2 table thead td{
  font-weight: bold;
}

.tabla2 table tbody td,
.tabla2 table th,
.tabla2 table thead td{
 border-bottom:1px solid #ccc!important;
 padding: 1rem;
}

/* eol tabla 2 vistas */

/* tabla internacionales -imagen derecha */


table.tdinter1{
	margin-top: 40px;
  td,th{
      padding: 15px;
  }
  td[colspan]{
     border-bottom: 1px dotted #d2d2d2;
     & h2{
     	font-weight: 600!important;
     }
  }
  td:first-child,th:first-child{
      padding-left: 0;
  }
  td:nth-child(2),th:nth-child(2){
      width: 30%;
      padding-right: 0;
      text-align: center;
  }
  td h3, td h4{
  	font-weight: 500!important;
  	line-height: 1.1!important;
  }
}


/* eol tabla internacionales */
