/* 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:///_static/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: #4472c4 !important;
}
.wy-side-nav-search {
    display: block;
    width: 300px;
    padding: .809em;
    margin-bottom: .809em;
    z-index: 200;
    background-color: #4472c4!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: #4472c4!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:  #4472c4!important;
    background-size: 103% auto;

}

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

/* 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: #4472c4;
  color: white;
}
div.admonition.questions > .admonition-title::before {
  content: "\f059";                          /* Icono de interrogación */
}


.action-title {
    background-color: #4472c4;
    color: white;
}
.action-body {
    background-color: #4472c410;     /* Fondo claro */
    color: black;
}


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

.mark{
    color: #a62a68;
    background-color: #a62a6810;
}

.light{
    color: #adadad;
    font-size: 80%;
    /* background-color: #a62a6810; */
}

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;
  }
}


/* Estilos para task-list */
/* Check list */

:root {
    --md-tasklist-icon: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12m16.28-2.72a.75.75 0 0 0-.018-1.042.75.75 0 0 0-1.042-.018l-5.97 5.97-2.47-2.47a.75.75 0 0 0-1.042.018.75.75 0 0 0-.018 1.042l3 3a.75.75 0 0 0 1.06 0Z"/></svg>');
    --md-tasklist-icon--checked: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12m16.28-2.72a.75.75 0 0 0-.018-1.042.75.75 0 0 0-1.042-.018l-5.97 5.97-2.47-2.47a.75.75 0 0 0-1.042.018.75.75 0 0 0-.018 1.042l3 3a.75.75 0 0 0 1.06 0Z"/></svg>')
}

.task-list-item {
    list-style-type: none !important;
    position: relative
}

.task-list-item [type=checkbox] {
    left: -2em
}


.task-list-item [type=checkbox] {
    position: absolute;
    top: .45em
}

.task-list-control [type=checkbox] {
    opacity: 0;
    z-index: -1
}

.task-list-indicator:before {
    left: -1.5em
}

.task-list-indicator:before {
    right: -1.5em
}

.md-typeset .task-list-indicator:before {
    background-color: var(--md-default-fg-color--lightest);
    content: "";
    height: 1.25em;
    -webkit-mask-image: var(--md-tasklist-icon);
    mask-image: var(--md-tasklist-icon);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: absolute;
    top: .15em;
    width: 1.25em
}

.md-typeset [type=checkbox]:checked+.task-list-indicator:before {
    background-color: #00e676;
    -webkit-mask-image: var(--md-tasklist-icon--checked);
    mask-image: var(--md-tasklist-icon--checked)
}


/* Estilo para texto de codigo*/

.rst-content code, .rst-content tt, code {
    white-space: nowrap;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e1e4e5;
    font-size: 90%;
    padding: 0 5px;
    font-family: SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;
    color: #e74c3c;
    overflow-x: auto;
}


/* Estilo para figcaption */
figcaption {
    font-size: 80%;
}
