body {
  background-color: var(--fondo);
  color: var(--base);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 400;
  padding: 15px;
  margin: 0;
}

h1 {
  color: var(--oro);
  text-align: center;
  font-size: 2.1rem;
  font-weight: 400;
}

h2 {
  color: var(--titulo);
  text-align: center;
  font-weight: 400;
  font-size: 1.5rem;
}

a {
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--titulo);
}

a:hover {
  color: var(--texto_oscuro);
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

img {
  max-width: 100%;
}

/* Tablas */
table {
  width: 100%;
  border-spacing: 0;
}

td {
  text-align: center;
  padding: 10px 15px;
  color: var(--texto_oscuro);
}

th {
  color: var(--texto_oscuro);
  font-weight: 400;
  font-size: 1.2rem;
  padding-left: 15px;
  padding-right: 15px;
}

tr:nth-child(even) {
  background-color: var(--base4);
}

tr:nth-child(odd) {
  background-color: var(--tabla-alt);
}

tr.tm-tr-header {
  background-color: var(--tabla-encabezado);
  height: 50px;
}

/* Formulario */

label {
  display: block;
  margin-bottom: 12px;
  font-size: 77%;
}

input,
textarea {
  display: block;
  width: -webkit-fill-available;
  padding: 4px 8px;
  background: var(--base4);
  border: 1px solid var(--fondo2);
}

input:focus,
textarea:focus {
  background: var(--base2);
  color: var(--texto_oscuro);
  border: 1px solid var(--fondo2);
}

#fecha {
  padding: 6px 12px;
  font-size: 66%;
  text-align: right;
}

#mensaje {
  padding: 1rem 1rem 0;
  margin: 0;
  text-align: center;
}

section.columnas {
  display: flex;
  width: 100%;
  padding: 0;
}

section.columnas>div.col {
  flex: 0 1 50%;
  padding: 8px;
}

.contenedor {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

#topbanner {
  background-image: url(https://compraoro.com.mx/img/portada-202510.jpeg);
  background-color: #000000;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  min-height: 536px;
}

section {
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 30px;
}

section.small {
  max-width: 490px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
}

figure {
  margin: 0;
}

figcaption {
  text-align: center;
}

figcaption span {
  display: block;
  color: var(--texto_oscuro);
  font-size: 18px;
}

.tm-item-name {
  margin-top: 20px;
  margin-bottom: 10px;
}

hr {
  width: 60%;
  border: 0.5px solid var(--base3);
}


/* social */
#social-icons {
  text-align: center;
  margin-top: 30px;
}

#social-icons i {
  font-size: 1.2rem;
}

.social-link-container {
  display: inline-block;
}

.social-link {
  color: var(--base2);
  background-color: var(--base4);
  border-radius: 2px;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--fondo2);
}

.tm-contact-link {
  color: #333333;
  font-weight: 600;
  text-decoration: none;
}

.tm-contact-link:hover {
  color: var(--fondo2);
}

/* INDICADORES */
#indicadores>div {
  display: flex;
  justify-content: space-between;
}

#indicadores>div>a {
  width: 196px;
}

#indicadores>div>a>img {
  width: 196px;
}

/* FOOTER */
footer {
  font-size: 0.9rem;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

footer a {
  color: var(--base2);
}

footer a:hover {
  color: var(--base4)
}

@media only screen and (max-width: 640px) {
  section.columnas {
    display: flex;
    width: 100%;
    padding: 0;
    flex-wrap: wrap;
  }

  section.columnas .col {
    flex: 0 1 100%!important;
  }

  #topbanner{
    min-height: 348px;
  }
}

/* REVISAR */

.tm-main-content {
  background-color: var(--base2);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}