/* Estilo personalizado para los botones de collapse */

/* Cambiar el color de la etiqueta del bloque colapsable */

@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

.rst-content .toctree-wrapper>p.caption,
h1,
h2,
h3,
h4,
h5,
h6,
legend body {
    font-family: Ubuntu, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace !important;
    font-weight: 500;
}

/* .rst-content code,
.rst-content tt,
code,
kbd,
pre,
samp {
    font-family: "Ubuntu Mono" !Important
} */

hr {
    border: none;
    height: 4px;
    background: url(file:///_images/bg_titulo.svg) center / contain no-repeat;
    margin: 22px 0;
    padding: 0;
}

details {
    background-color: rgb(252, 252, 252);
    border: 1px solid rgb(214, 214, 214);
    border-radius: 5px;
    padding: 1%;
}

.summary-solucion summary {
    cursor: pointer;
    color: CornflowerBlue;
}

.caption-text {
    font-size: 90% !important;
}

figcaption {
    margin-top: 20px;
}

cite {
    font-family: "Ubuntu Mono", SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace !important;
    background: #f0f0f0;
    font-style: normal !important;
    border-radius: 5px;
}

.wy-nav-top{
    background-color: #f3ae35 !important;
}
.wy-side-nav-search {
    display: block;
    width: 300px;
    padding: .809em;
    margin-bottom: .809em;
    z-index: 200;
    background-color: #f3ae35!important;
    text-align: center;
    color: #fcfcfc;
    border-bottom: 5px solid transparent; /* Set height of the border */
    border-image-source: url('../_images/bg_titulo.svg');
    border-image-slice: 0 0 30 0; /* Only bottom */
    border-image-width: 0 0 5px 0; /* Match bottom border height */
    border-image-repeat: stretch; /* Or 'round' depending on your design */
}

.wy-menu-vertical header, .wy-menu-vertical p.caption {
    color: #f3ae35!important;
    height: 32px;
    line-height: 32px;
    padding: 0 1.618em;
    margin: 12px 0 0;
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 85%;
    white-space: nowrap;
}

.wy-side-nav-search input[type=text] {
    width: 100%;
    border-radius: 50px;
    padding: 6px 12px;
    border-color:  #f3ae35!important;
    background-size: 100% auto;

}

.katex {
    font: normal 1.21em KaTeX_Main,Times New Roman,serif;
    line-height: 1.2;
    text-indent: 0;
    text-rendering: auto;
    font-size: 90%;
}

/* Center text in table cell */
.centered-table td,
.centered-table th {
    text-align: center;
}


.img-margin {
    margin-top: 10px;
    margin-bottom: 10px;
    vertical-align: middle;
}


/* docs/_static/custom.css */
/* div.admonition.questions {
  border-left: 4px solid #0077cc;
  background-color: #f0f8ff;
  padding: 0.5em 1em;
} */

/* Estilos para admonition.questions - Agrupados por elemento */
div.admonition.questions {
  background-color: rgb(255, 243, 216);     /* Fondo claro */
}
div.admonition.questions > .admonition-title {
  background-color: #edad22;
  color: white;
}
div.admonition.questions > .admonition-title::before {
  content: "\f059";                          /* Icono de interrogación */
}


.action-title {
    background-color: #edad22;
    color: white;
}
.action-body {
    background-color: rgb(255, 243, 216);     /* Fondo claro */
    color: black;
}


/* Underline text */
.underline {
  text-decoration: underline;
}

.mark{
    color: #a62a68;
}

figcaption {

  text-align: center;
}


/* Cambios en la plantilla: */

@media screen and (max-width: 995px) {
  .wy-tray-container {
    bottom: auto;
    top: 0;
    width: 100%;
  }

  .wy-tray-container li {
    width: 100%;
  }
}

@media screen and (max-width: 995px) {
  .tablet-hide {
    display: none;
  }
}


@media screen and (max-width: 995px) {
  .wy-body-for-nav {
    background: #fcfcfc;
  }

  .wy-nav-top {
    display: block;
  }

  .wy-nav-side {
    left: -300px;
  }

  .wy-nav-side.shift {
    width: 45%;
    left: 0;
  }

  .wy-menu.wy-menu-vertical,
  .wy-side-nav-search,
  .wy-side-scroll {
    width: auto;
  }

  .wy-nav-content-wrap {
    margin-left: 0;
  }

  .wy-nav-content-wrap .wy-nav-content {
    padding: 1.618em;
  }

  .wy-nav-content-wrap.shift {
    position: fixed;
    min-width: 100%;
    left: 45%;
    top: 0;
    height: 100%;
    overflow: hidden;
  }
}

@media screen and (max-width: 995px) {
  .rst-versions {
    width: 85%;
    display: none;
  }

  .rst-versions.shift {
    display: block;
  }
}
