/**
 * @file
 * Subtheme specific CSS.
 */
body {
  margin: 0;
  font-family: "Roboto", sans-serif !important;
  font-size: 1.1111rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #546e7a !important;
  text-align: left;
}

a {
  color: #2196f3;
  text-decoration: none;
  background-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin: 0 0 10px 0;
}

h1 {
  font-size: 36px !important;
}

h2 {
  font-size: 30px !important;
}

h3 {
  font-size: 26px !important;
}

h4 {
  font-style: 24px !important;
}

h5 {
  font-size: 22px !important;
}

h6 {
  font-size: 21px !important;
}

h3,
h4 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.language-switcher-language-url span {
  padding-left: 5px;
  padding-right: 5px;
}

.site-logo {
  margin-right: 25px;
}

.scrolled header#header {
  position: fixed;
  background-color: #FFF;
  width: 100%;
  /*top: 0;
  left: 50%;
  transform: translate(-50%, 0);*/
  z-index: 9;
}

.scrolled #navbar-top {
  display: none;
}

/*menu*/

nav.tabs {
  margin-top: 25px;
}

.nav-link.is-active {
  font-weight: bold;
}

span.en.nav-link,
span.es.nav-link {
  padding-top: 0;
  padding-bottom: 0;
}

#header {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 25px;
}

#header p {
  margin: 0;
}

#header .navbar {
  max-width: 1320px;
  margin: auto;
}

.nav-item a {
  color: #0071b3 !important;
}

.nav-item a:hover {
  color: #1f394f;
}

.dropdown-menu {
  border-radius: 0;
}

li.dropdown-item {
  text-align: center;
  border-bottom: 1px solid #eceff1;
}

li.dropdown-item:last-child {
  border-bottom: none;
}

.plisabanner {
  margin-left: 15px;
}

.navbar-toggler.collapsed {
  margin-right: 15px;
}



footer {
  text-align: center;
}

footer.site-footer {
  background-color: #eceff1;
  padding: 0;
}

.site-footer p {
  color: #546e7a !important;
}

#search-block-form #edit-submit {
  padding: 5px;
}

#search-block-form #edit-actions {
  padding-left: 4px;
}

/*Makes any iframe with this tag responsive*/
.iframe-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Article page css */
.node--type-article .field--name-title {
  font-size: 3rem;
  margin: 0.67em 0;
  margin-bottom: 0;
  line-height: 1.1;
  letter-spacing: -.01rem;
  font-weight: bold;
}

.layout--twocol-section a,
.link {
  color: #2196f3 !important;
}

.node--type-article .layout__region--second {
  padding-left: 20px !important;
}

.button {
  display: inline-block;
  background-color: transparent;
  padding: 10px 1.5rem;
  border: 1px solid;
  border-color: #cfd8dc;
  border-radius: 0.25rem;
  color: #263238;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  cursor: pointer;
}

table {
  display: table;
  border-collapse: separate;
  box-sizing: border-box;
  text-indent: initial;
  unicode-bidi: isolate;
  border-spacing: 2px;
  border-color: none;
}

table tr th {
  background: #fff !important;
  border-bottom-style: none;
}

thead {
  display: table-header-group;
  vertical-align: middle;
  unicode-bidi: isolate;
  border-color: none !important;
}

th {
  color: #263238 !important;
  font-weight: bold;
  font-size: 1.4rem;
}

tr {
  background: #fff !important;
  border-bottom-style: none;
}

h2 {
  font-weight: bold !important;
}

/* Article page css End */

/* Basic page css */
.node--type-page .block-field-blocknodepagetitle {
  color: #0060A3;
  display: block;
  font-size: 2.5em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
  margin-top: 1rem;
  line-height: 1.1;
  font-weight: 700;
}

.breadcrumb li a,
.simple-breadcrumb li a {
  color: #37474f;
  font-size: 15px;
}

.dkblue-txt {
  color: #0060A3;
}

/* Basic page css End */

/* Landing page */
.node--type-themag-landing-page {
  color: #546e7a;
  font-weight: 300;
  line-height: 1.5;
  font-size: 1.05rem;
}

.node--type-themag-landing-page ul {
  margin-bottom: 10px;
  margin-top: 10px;
}

.landing-p .border img {
  height: auto;
}

.landing-p .border h6 {
  margin-top: 10px;
  color: #2196f3;
}

.landing-p .col-md-3 a {
  font-weight: bold;
  color: #2196f3 !important;
}

.landing-p .col-md-6 a {
  font-weight: bold;
  color: #2196f3 !important;
}

/* Landing page css End */

.sticky {
  position: fixed;
  width: 400px;
}


/*OFFICIAL START OF MEDIA HERE*/
/*DESKTOP*/
@media screen and (min-width:992px) and (max-width: 9999px) {
  .navbar-nav ul {
    box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.2);
  }
}

/*DESKTOP BROWSER ON SMALL MONITOR*/
@media screen and (min-width:991px) and (max-width: 1199px) {}

/*MOBILE LANDSCAPE*/
@media screen and (min-width: 481px) and (max-width: 767px) {
  #ciheader {
    width: 100% !important;
    margin-left: -10%;
  }
}

/*TABLETS POTRAIT*/
@media screen and (min-width:768px) and (max-width: 991px) {}

/*TABLET LANDSCAPE*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {}

/*MOBILE AND MEDIUM DISPLAY*/
@media screen and (min-width: 1px) and (max-width: 767px) {
  #ciheader {
    width: 100% !important;
    margin-left: -10%;
  }
}

/*ALL MOBILE PHONES PORTRAIT*/
@media screen and (min-width: 1px) and (max-width: 480px) {
  .navbar-nav {
    text-align: end;
  }

  nav.menu--main {
    margin-left: 0 !important;
  }

  .navbar-nav .dropdown-item {
    white-space: normal !important;
  }

  .site-logo {
    margin-right: 0;
  }

  .offcanvas {
    background-color: #4682b4;
  }

  .offcanvas .btn-close.text-reset {}

  .offcanvas .nav-item a {
    color: #FFF !important;
  }

  .offcanvas .dropdown-menu {
    background-color: transparent;
  }

  .offcanvas .navbar-nav li {}

  .offcanvas .nav-item {
    border-bottom: 1px solid rgba(144, 164, 174, 0.2);
  }

  #ciheader {
    width: 100% !important;
    margin-left: -10%;
  }
}

#block-paho-bootstrap-barrio-topbrandinglogoforplisaen img {
  max-width: 250px;
}

#header .ms-auto {
  margin-left: 0 !important;
  font-size: 14px;
}

#block-paho-bootstrap-barrio-languageswitcher nav a {
  color: #263238;
  font-size: 14px;
}

#block-paho-bootstrap-barrio-languageswitcher nav span {
    margin: 0;
    padding: 0 .5rem;
    border-right: 1px solid #cfd8dc;
    line-height: 1;
}

#header #navbar-top {
  background-color: #FFF;
  border-bottom: 1px solid #eceff1;
  padding: .8rem 0;
}

#header .region-top-header {
  margin-bottom: 2%;
}

.navbar-nav .nav-item:hover {
  background-color: #f2f4f5;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.navbar-nav .nav-item a {
  text-transform: uppercase;
  font-weight: bolder;
  color: #263238 !important;
  padding: .5rem 1rem;
}

.navbar-nav .dropdown-item a {
  font-size: 0.889rem;
  font-weight: normal;
  text-transform: none;
}

#ciheader {
  width: 800px;
  margin-left: -3%;
}

.nav-item .active {
  background-color: #f2f4f5;
  border-radius: 5px;
}

.image-col img {
  width: 100%;
  height: auto;
  display: block;
  padding: 0;
  margin: 0;
}
.row.no-gutters {
  margin-left: 0;
  margin-right: 0;
}

#search-block-form {
  margin-top: 0px;
}
#search-block-form div{
  margin: 0px !important;
}
.footer-wrapper {
  padding: 2rem 0;
  font-size: .889rem;
}

.f-wrapper-right {
  text-align: right;
}

.f-bottom-left {
  margin-top: 5%;
}

.f-bottom-right {
  margin-top: 5%;
}

.scroll-to-top-button.active {
  bottom: 30px;
  text-decoration: none;
}
.scroll-to-top-button {
  background: #263238;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  -webkit-box-shadow: 0 0 10px 0 rgba(38, 50, 56, 0.5);
  box-shadow: 0 0 10px 0 rgba(38, 50, 56, 0.5);
  border-radius: 50%;
  -webkit-transition: all .25s ease-in-out, bottom .7s ease-in-out;
  transition: all .25s ease-in-out, bottom .7s ease-in-out;
  opacity: .3;
  color: #FFF;
  font-size: 1.5rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  position: fixed;
  right: 2rem;
  bottom: -200px;
  z-index: 800;
}

.scroll-to-top-button:hover {
  background: #263238;
  color: #FFF;
  text-decoration: none;
  opacity: 1;
}

#block-paho-bootstrap-barrio-plisasubbannerforsubsites-2 img {
  margin-top: 10px;
}





/* Estilos generales para todas las tablas */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 5px 0;
  font-size: 0.9em;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  border-radius: 5px 5px 0 0;
  overflow: hidden;
}

/* Estilos para el encabezado de la tabla */
table thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
  font-weight: bold;
}

/* Estilos para las celdas de la tabla (th y td) */
table th,
table td {
  padding: 16px 20px; /* Aumentado desde 12px 15px */
  text-align: left; /* Alineación horizontal a la izquierda */
  vertical-align: middle; /* NUEVO: Alineación vertical centrada */
  border: 1px solid #dddddd;
}

/* Estilo de "cebra" para las filas del cuerpo de la tabla */
table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}



/* Efecto hover para las filas del cuerpo de la tabla */
table tbody tr:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

/* Estilos para hacer la tabla responsiva */
@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table thead {
    display: none;
  }

  table, table tbody, table tr, table td {
    display: block;
    width: 100%;
  }

  table tr {
    margin-bottom: 15px;
  }

  table td {
    /* La alineación aquí es específica para la vista de "tarjeta" en móviles */
    text-align: right;
    padding-left: 50%;
    position: relative;
    vertical-align: middle; /* Se mantiene el centrado vertical */
  }

  table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 20px; /* Ajustado al nuevo padding */
    font-weight: bold;
    text-align: left;
    vertical-align: middle; /* Asegura que la etiqueta también esté centrada */
  }
}



.small {
  font-size: 0.889rem;
  font-weight: 300;
}