/*
	Theme Name: Algemetria
	Theme URI: https://www.fransanto.com/
	Description: Tema para Álgebra y Trigonometría.
	Author: Fransanto
	Author URI: https://fransanto.com/
	Version: 2.0
	License: GPL-2.0+
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: algemetria
*/
/* # Variables
---------------------------------------------------------------------------------------------------- */
/* Si trabajas con $$ ... $$ (KaTeX), */

/*.katex-display .katex para tamaños */
/* .katex-display  alineación y márgenes */
/* .katex  para color */
.katex-display .katex {
    font-size: 2.3rem;
}

.eep-equation,
.eep-latex,
.eep-equation math {
    /*font-size: 3em;*/
}

.wp-block-math math {
  font-size: 2.5rem;
  text-align: center;
}

.wp-block-math {
  margin: 20px 0;
}


/*titulos y textos#ebebc9*/
/* 4 menús principales */
.text-center {
  text-align: center;
}
html {
  font-size: 62.5%;
}
/* # Mixins
---------------------------------------------------------------------------------------------------- */
/* # HTML5 Reset
---------------------------------------------------------------------------------------------------- */
/* ## Baseline Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
/*[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}*/

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}
/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}
/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}
/* ## Box Sizing
--------------------------------------------- */
html,
input[type="search"] {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
/* # Index
---------------------------------------------------------------------------------------------------- */
/*@import "index.less";*/
/* # Header
---------------------------------------------------------------------------------------------------- */
body {
  background-color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}
header {
  background-color: #909090;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: auto;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
  z-index: 1000;
}
.menu-header {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
.menu-header .logo-header {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
}
.menu-header .logo-header img {
  height: 70px;
}
.menu-header .btn-menu {
  display: flex;
  align-items: center;
  color: #000;
  text-decoration: none;
  font-size: 30px;
  font-size: 3rem;
  /*margin-top: 1rem;*/
}
/*.menu-header #menu-enlaces {
	display: none;
}*/
.menu-header .menu-enlaces .menu {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  border-radius: 5px;
}
.menu-header .menu-enlaces .menu li {
  margin: 15px;
  text-align: center;
}
.menu-header .menu-enlaces a {
  color: #000;
  text-decoration: none;
  padding: 10px;
  font-size: 18px;
  transition: all 0.5s;
}
.menu .menu-enlaces i {
  margin-right: 5px;
}
.menu-header .menu-enlaces a:hover {
  text-shadow: 1px 1px #000;
  transition: all 0.5s;
}
.page-content {
  width: 95%;
  max-width: 1500px;
  margin: 100px auto 25px;
}
/* Efecto headroom */
.headroom {
  transition: transform 0.3s ease;
}
.headroom--pinned {
  transform: translateY(0%);
}
.headroom--unpinned {
  transform: translateY(-100%);
}
/* Adaptando a distintas resoluciones */
@media screen and (min-width: 550px) {
  .menu-header .menu-enlaces .menu {
    flex-direction: row;
    justify-content: space-between;
  }
  .menu-header .menu-enlaces a {
    padding: 0.5rem;
  }
}
@media screen and (min-width: 769px) {
  .menu-header {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .menu-header .btn-menu {
    display: none;
  }
  .menu-header .menu-enlaces .menu {
    background-color: #909090;
  }
  .menu-header .menu-enlaces a {
    /*color: @color-enlaces;*/
    font-size: 20px;
    font-weight: 400;
  }
  .menu-header .menu-enlaces a:hover {
    border-bottom: 1px solid #000;
  }
}
@media screen and (min-width: 1600px) {
  header {
    margin: 0 auto;
    position: relative;
  }
}
/* # HEADER NO HOME
---------------------------------------------------------------------------------------------------- */
.logged-in #header {
  margin-top: 42px;
}
@media only screen and (min-width: 768px) {
  .logged-in #header {
    margin-top: 32px;
  }
}
a,
a:active,
a:hover {
  text-decoration: none;
}
li {
  list-style: none;
  
  
  
}
/**  index   Front Page **/
/* ============================= */
/* 1. BASE */
/* ============================= */
html {
    scroll-behavior: smooth;
}
body.home {
    background-color: #fff;
    padding-top: 0px;
}
.text-center {
    text-align: center;
}
/*body.home .site-container {
  width: 100%;
}*/

/* ======================================== */
/* 2. HERO - LAYOUT */
/* ======================================== */
#principal {
    position: relative;
    height: 100vh;
    padding-top: 5rem;
    background-image: url(assets/img/matematicas2.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
#principal::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

/* ======================================== */
/* 3. CONTENIDO PRINCIPAL */
/* ======================================== */
.width-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem 0 1rem;
}
.contenido-principal {
    z-index: 100;
}
.contenido-principal h1 {
  font-size: 2.5rem;
  font-weight: 700;
  max-width: 900px;
  color: #fff;
  margin: 0 auto 25px;
}
/* INTRO */
.contenido-principal .intro-uno {
     color: #fff;
     line-height: 3rem;
    font-size: 1.5rem;
     font-weight: 600;
     letter-spacing: 0.3px;
     width: 70%;
     margin: 0 auto 15px;
}
.contenido-principal .intro-dos {
    color: #fff;
    line-height: 3rem;
    font-size: 1.5rem;
}
.contenido-principal .intro-tres { 
    color: #fff;
    font-size: 1.6rem;
}

/* ======================================== */
/* 4. CTA */
/* ======================================== */
.contenido-principal .cta-text {
    color: #fff;
    margin-top: 15px;
    margin: 20px auto;
    font-size: 1.4rem;
    text-align: center;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    max-width: 350px;
}
.contenido-principal .cta-text a {
  color: #ff9800;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.contenido-principal .cta-text a:hover {
  border-bottom: 2px solid #ff9800;
}

/* ======================================== */
/* 5. ENLACES */
/* ======================================== */
.enlaces {
    width: 300px;
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}
.enlaces h2 {
    color #fff;
}
.enlaces a {
  /*cursor: pointer;*/
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  border-bottom: 1px solid #fff;
}

/* ======================================== */
/* 6. FLECHA */
/* ======================================== */
.elemento {
    display: block;
    margin-top: 2rem;
}
.flecha {
    margin-bottom: 100px;
    color: #fff;
    font-size: 20px;
    animation: arrow 1s ease-in-out infinite;
}
@keyframes arrow {
    0% { transform: translate(0px, 50px); }
    50% { transform: translate(0px, 60px); }
    100% { transform: translate(0px, 50px); }
}

/* ======================================== */
/* 7. SECCIONES */
/* ======================================== */
.ancla {
  font-family: 'Montserrat', sans-serif;
  padding-top: 3rem;
  /*transition: 5s;*/
}
#ancla1,
#ancla2 {
  outline: none;
  color: #000;
}
.page-algebra {
  text-align: center;
  max-width: 95%;
  margin: 0 auto;
}
.page-algebra .columnas {
  border: solid 2px #c0c0c0;
  padding: 0.5rem;
  margin-top: 2rem;
  border-radius: 0.5rem;
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.1);
  background: linear-gradient(90deg, #c0c0c0 0%, #ffffff 61%, #ffffff 61%, #ffffff 100%);
}
.page-algebra .columnas .menu {
  padding-left: 0;
}
.page-algebra .columnas .menu li {
  list-style: none;
  margin-top: 1rem;
}
.page-algebra .columnas .menu a {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 600;
}

/* ======================================== */
/* 8. RESPONSIVE */
/* ======================================== */
@media (max-width: 768px) {
    .intro-dos,
    .intro-tres {
        display: none;
    }

}

@media only screen and (max-width: 736px) {
  .contenido-principal h1 {
    margin-top: -50px;
  }

}

@media only screen and (max-height: 639px) {
    .elemento {
        display: none;
    }
    
}

@media only screen and (min-width: 992px) {
  .enlaces {
    margin-top: 2rem;
  }
  .page-algebra {
    display: flex;
    /*flex-direction: row;*/
    justify-content: space-around;
    max-width: 100%;
  }
  .page-algebra .columnas {
    width: 320px;
    padding: 75px;
  }
  
}

@media only screen and (min-width: 1366px) {
  .contenido-principal p {
    max-width: 90rem;
  }
  .page-algebra .columnas {
    width: 425px;
  }

}

@media only screen and (min-width: 1600px) {
  .page-algebra .columnas {
    width: 500px;
  }

}

.gdpr-svg-icon,
.gdpr-nav-tab-title {
  color: #000;
}
.gdpr_lightbox-wrap {
  background-color: #f9f9f9;
}




/* # Page
---------------------------------------------------------------------------------------------------- */
body.page-template-default {
  margin-bottom: 50px;
  content-visibility: auto;
}
body .page-template-default p {
  line-height: 27px;
  margin: 0 !important;
}
p {
    line-height: 27px;
}
h3 {
  margin: 0;
}
#content {
  margin: 0;
}

@media only screen and (min-width: 1024px) {
  #page-content {
    display: grid;
    grid-template-columns: 66% 32%; /*63 35*/
    grid-gap: 2%;
    padding-top: 50px;
  }
  .page-contenido h4 {
    margin-bottom: 0;
  }
}
@media only screen and (min-width: 1600px) {
  #page-content {
    margin-top: 0;
  }
}
.color {
  background-color: rgba(186, 223, 219, 0.15);
  margin-bottom: 20px;
}
.page-id-2333 p,
.page-id-2335 p,
.page-id-2904 p
/*.page-id-3186 p,*/
/*.page-id-3198 p,*/
/*.page-id-3199 p,*/
/*.page-id-3187 p,*/
/*.page-id-3504 */
{
  box-shadow: 5px 5px 5px 0px rgba(144, 144, 144, 0.75);
}

.page-id-1934 .boton-soluciones,
.page-id-1965 .boton-soluciones,
.page-id-1973 .boton-soluciones,
.page-id-1974 .boton-soluciones,
.page-id-2333 .boton-soluciones,
.page-id-2335 .boton-soluciones,
.page-id-9040 .boton-soluciones,
.page-id-9053 .boton-soluciones,
.page-id-9071 .boton-soluciones,
.page-id-2904 .boton-soluciones,
.page-id-3186 .boton-soluciones,
.page-id-3198 .boton-soluciones,
.page-id-3199 .boton-soluciones,
.page-id-3187 .boton-soluciones,
.page-id-3440 .boton-soluciones,
.page-id-3504 .boton-soluciones,
.page-id-4342 .boton-soluciones,
.page-id-4440 .boton-soluciones,
.page-id-4445 .boton-soluciones {
  box-shadow: none;
}
.page-id-202 .wp-block-table,
.page-id-5152 .wp-block-table,
.page-id-204 .wp-block-table,
.page-id-5167 .wp-block-table,
.page-id-205 .wp-block-table,
.page-id-5171 .wp-block-table,
.page-id-206 .wp-block-table,
.page-id-5174 .wp-block-table,
.page-id-207 .wp-block-table,
.page-id-5177 .wp-block-table,
.page-id-5181 .wp-block-table,
.page-id-443 .wp-block-table,
.page-id-5233 .wp-block-table,
.page-id-445 .wp-block-table,
.page-id-5234 .wp-block-table,
.page-id-446 .wp-block-table,
.page-id-5236 .wp-block-table,
.page-id-447 .wp-block-table,
.page-id-5238 .wp-block-table,
.page-id-5239 .wp-block-table,
.page-id-722 .wp-block-table,
.page-id-5242 .wp-block-table,
.page-id-723 .wp-block-table,
.page-id-5243 .wp-block-table,
.page-id-812 .wp-block-table,
.page-id-5252 .wp-block-table,
.page-id-808 .wp-block-table,
.page-id-5248 .wp-block-table,
.page-id-809 .wp-block-table,
.page-id-6081 .wp-block-table,
.page-id-6083 .wp-block-table,
.page-id-1074 .wp-block-table,
.page-id-5506 .wp-block-table,
.page-id-1075 .wp-block-table,
.page-id-5509 .wp-block-table,
.page-id-1076 .wp-block-table,
.page-id-5512 .wp-block-table,
.page-id-1077 .wp-block-table,
.page-id-5515 .wp-block-table,
.page-id-1078 .wp-block-table,
.page-id-5518 .wp-block-table,
.page-id-1308 .wp-block-table,
.page-id-5589 .wp-block-table,
.page-id-1309 .wp-block-table,
.page-id-5591 .wp-block-table,
.page-id-1310 .wp-block-table,
.page-id-5593 .wp-block-table,
.page-id-1311 .wp-block-table,
.page-id-5595 .wp-block-table,
.page-id-1312 .wp-block-table,
.page-id-5597 .wp-block-table,
.page-id-1313 .wp-block-table,
.page-id-5599 .wp-block-table,
.page-id-1314 .wp-block-table,
.page-id-5601 .wp-block-table,
.page-id-1316 .wp-block-table,
.page-id-5603 .wp-block-table,
.page-id-1317 .wp-block-table,
.page-id-5618 .wp-block-table,
.page-id-1318 .wp-block-table,
.page-id-5619 .wp-block-table,
.page-id-1319 .wp-block-table,
.page-id-5690 .wp-block-table,
.page-id-1620 .wp-block-table,
.page-id-5701 .wp-block-table,
.page-id-2857 .wp-block-table,
.page-id-5703 .wp-block-table,
.page-id-2860 .wp-block-table,
.page-id-5705 .wp-block-table,
.page-id-5731 .wp-block-table,
.page-id-5779 .wp-block-table,
.page-id-5781 .wp-block-table,
.page-id-5783 .wp-block-table,
.page-id-9080 .wp-block-table,
.page-id-9082 .wp-block-table,
.page-id-9083 .wp-block-table,
.page-id-2090 .wp-block-table,
.page-id-5730 .wp-block-table,
.page-id-2091 .wp-block-table,
.page-id-5871 .wp-block-table,
.page-id-5890 .wp-block-table,
.page-id-2335 .wp-block-table,
.page-id-5912 .wp-block-table,
.page-id-2605 .wp-block-table,
.page-id-9507 .wp-block-table,
.page-id-5965 .wp-block-table,
.page-id-2619 .wp-block-table,
.page-id-6117 .wp-block-table,
.page-id-2831 .wp-block-table,
.page-id-6173 .wp-block-table,
.page-id-2832 .wp-block-table,
.page-id-6188 .wp-block-table,
.page-id-2904 .wp-block-table,
.page-id-6243 .wp-block-table,
.page-id-2984 .wp-block-table,
.page-id-6264 .wp-block-table,
.page-id-2986 .wp-block-table,
.page-id-6285 .wp-block-table,
.page-id-6310 .wp-block-table,
.page-id-6313 .wp-block-table,
.page-id-6316 .wp-block-table,
.page-id-6319 .wp-block-table,
.page-id-3363 .wp-block-table,
.page-id-7154 .wp-block-table,
.page-id-6400 .wp-block-table,
.page-id-6537 .wp-block-table,
.page-id-3762 .wp-block-table,
.page-id-3861 .wp-block-table,
.page-id-3866 .wp-block-table,
.page-id-6551 .wp-block-table,
.page-id-6646 .wp-block-table,
.page-id-4858 .wp-block-table {
  background: radial-gradient(circle at 50% 50%, #ffffff, #f6f6f6);
  margin: 0;
  border-radius: 3px;
  box-shadow: 5px 5px 5px 0px rgba(144, 144, 144, 0.75);
}
.page-id-6310 .wp-block-table,
.page-id-6313 .wp-block-table,
.page-id-6316 .wp-block-table,
.page-id-6319 .wp-block-table {box-shadow: none;}

.page-id-110 .wp-block-table tr,
.page-id-127 .wp-block-table tr,
.page-id-5152 .wp-block-table tr,
.page-id-5167 .wp-block-table tr,
.page-id-5171 .wp-block-table tr,
.page-id-5174 .wp-block-table tr,
.page-id-207 .wp-block-table tr,
.page-id-443 .wp-block-table tr,
.page-id-445 .wp-block-table tr,
.page-id-5177 .wp-block-table tr,
.page-id-5181 .wp-block-table tr,
.page-id-5233 .wp-block-table tr,
.page-id-5234 .wp-block-table tr,
.page-id-446 .wp-block-table tr,
.page-id-5236 .wp-block-table tr,
.page-id-447 .wp-block-table tr,
.page-id-5238 .wp-block-table tr,
.page-id-5239 .wp-block-table tr,
.page-id-104 .wp-block-table tr,
.page-id-722 .wp-block-table tr,
.page-id-5242 .wp-block-table tr,
.page-id-723 .wp-block-table tr,
.page-id-5243 .wp-block-table tr,
.page-id-812 .wp-block-table tr,
.page-id-5252 .wp-block-table tr,
.page-id-106 .wp-block-table tr,
.page-id-808 .wp-block-table tr,
.page-id-5248 .wp-block-table tr,
.page-id-809 .wp-block-table tr,
.page-id-6081 .wp-block-table tr,
.page-id-6083 .wp-block-table tr,
.page-id-1074 .wp-block-table tr,
.page-id-5506 .wp-block-table tr,
.page-id-1075 .wp-block-table tr,
.page-id-5509 .wp-block-table tr,
.page-id-1076 .wp-block-table tr,
.page-id-5512 .wp-block-table tr,
.page-id-1077 .wp-block-table tr,
.page-id-5515 .wp-block-table tr,
.page-id-1078 .wp-block-table tr,
.page-id-5518 .wp-block-table tr,
.page-id-112 .wp-block-table tr,
.page-id-1308 .wp-block-table tr,
.page-id-5589 .wp-block-table tr,
.page-id-1309 .wp-block-table tr,
.page-id-5591 .wp-block-table tr,
.page-id-1310 .wp-block-table tr,
.page-id-5593 .wp-block-table tr,
.page-id-1311 .wp-block-table tr,
.page-id-5595 .wp-block-table tr,
.page-id-1312 .wp-block-table tr,
.page-id-5597 .wp-block-table tr,
.page-id-1313 .wp-block-table tr,
.page-id-5599 .wp-block-table tr,
.page-id-1314 .wp-block-table tr,
.page-id-5601 .wp-block-table tr,
.page-id-1316 .wp-block-table tr,
.page-id-5603 .wp-block-table tr,
.page-id-1317 .wp-block-table tr,
.page-id-5618 .wp-block-table tr,
.page-id-1318 .wp-block-table tr,
.page-id-5619 .wp-block-table tr,
.page-id-114 .wp-block-table tr,
.page-id-1319 .wp-block-table tr,
.page-id-5690 .wp-block-table tr,
.page-id-121 .wp-block-table tr,
.page-id-1620 .wp-block-table tr,
.page-id-5701 .wp-block-table tr,
.page-id-2857 .wp-block-table tr,
.page-id-5703 .wp-block-table tr,
.page-id-2860 .wp-block-table tr,
.page-id-5705 .wp-block-table tr,
.page-id-123 .wp-block-table tr,
.page-id-5731 .wp-block-table tr,
.page-id-5779 .wp-block-table tr,
.page-id-5781 .wp-block-table tr,
.page-id-5783 .wp-block-table tr,
.page-id-9080 .wp-block-table tr,
.page-id-9082 .wp-block-table tr,
.page-id-9083 .wp-block-table tr,
.page-id-2090 .wp-block-table tr,
.page-id-5730 .wp-block-table tr,
.page-id-2091 .wp-block-table tr,
.page-id-5871 .wp-block-table tr,
.page-id-5912 .wp-block-table tr,
.page-id-2605 .wp-block-table tr,
.page-id-9507 .wp-block-table tr,
.page-id-5965 .wp-block-table tr,
.page-id-11057 .wp-block-table tr,
.page-id-2619 .wp-block-table tr,
.page-id-6117 .wp-block-table tr,
.page-id-151 .wp-block-table tr,
.page-id-2831 .wp-block-table tr,
.page-id-6173 .wp-block-table tr,
.page-id-2832 .wp-block-table tr,
.page-id-6188 .wp-block-table tr,
.page-id-2904 .wp-block-table tr,
.page-id-6243 .wp-block-table tr,
.page-id-155 .wp-block-table tr,
.page-id-2984 .wp-block-table tr,
.page-id-6264 .wp-block-table tr,
.page-id-2986 .wp-block-table tr,
.page-id-6285 .wp-block-table tr,
.page-id-157 .wp-block-table tr,
.page-id-6310 .wp-block-table tr,
.page-id-6313 .wp-block-table tr,
.page-id-6316 .wp-block-table tr,
.page-id-6319 .wp-block-table tr,
.page-id-159 .wp-block-table tr,
.page-id-3363 .wp-block-table tr,
.page-id-7154 .wp-block-table tr,
.page-id-6400 .wp-block-table tr,
.page-id-6537 .wp-block-table tr,
.page-id-3762 .wp-block-table tr,
.page-id-3861 .wp-block-table tr,
.page-id-3866 .wp-block-table tr,
.page-id-170 .wp-block-table tr,
.page-id-6551 .wp-block-table tr,
.page-id-176 .wp-block-table tr,
.page-id-6646 .wp-block-table tr,
.page-id-178 .wp-block-table tr,
.page-id-4858 .wp-block-table tr {
  height: 20px;
  line-height: 30px;
}
.page-id-432 .has-background,
.page-id-448 .has-background,
.page-id-1934 .has-background,
.page-id-1965 .has-background,
.page-id-1973 .has-background,
.page-id-1974 .has-background,
.page-id-2335 .has-background,
.page-id-3440 .has-background,
.page-id-9040 .has-background,
.page-id-9053 .has-background,
.page-id-9071 .has-background,
.page-id-4342 .has-background,
.page-id-4440 .has-background,
.page-id-4445 .has-background,
.page-id-3504 .has-background {
  background: radial-gradient(circle at 50% 50%, #ffffff, #f6f6f6);
  /*linear-gradient(90deg, rgba(170,170,170,1) 0%, rgba(255,255,255,1) 96%);*/
  /*linear-gradient(90deg, rgb(255, 250, 249) 0%, rgb(255, 255, 255) 25%);*/
  margin: 0;
  /*border: 2px solid #909090;*/
  /*909090*/
  border-radius: 3px;
  box-shadow: 5px 5px 5px 0px rgba(144, 144, 144, 0.75);
}

/* borde coloreado */
.page-id-3516 .wp-block-table td,
.page-id-3897 .wp-block-table td {
  /*border: 1px solid #000;*/
  padding: 10px 0;
}
.page-id-3762 p,
.page-id-3861 p,
.page-id-3516 p,
.page-id-3897 p {
  margin: 0;
  margin-bottom: 10px;
}
.page-id-114 .has-background,
.page-id-2333 .has-background,
.page-id-2335 .has-background,
.page-id-2904 .has-background,
.page-id-3186 .has-background,
.page-id-3198 .has-background,
.page-id-3199 .has-background,
.page-id-3187 .has-background,
.page-id-3504 .has-background,
.page-id-6646 .has-background {
  background: radial-gradient(circle at 50% 50%, #ffffff, #f6f6f6);
  margin: 0;
  border: 2px solid #909090;
  border-radius: 3px;
}
figcaption {
  text-align: center;
}
.wp-block-table {
  min-width: 460px;
  margin: 0 auto;
}
.page-id-155 .wp-block-table,
.page-id-159 .wp-block-table {
  max-width: 450px;
}
.page-id-155 .borde-tabla {
  padding: 10px;
  border-radius: 5px;
  /*border: solid 1px #000;*/
}
.page-id-112 .ancho-bloque,
.page-id-121 .ancho-bloque,
.page-id-123 .ancho-bloque,
.page-id-172 .ancho-bloque,
.page-id-174 .ancho-bloque {
  max-width: 500px !important;
}
/* Espacio Problemas Geometria 1 grado una incognita */
.espacio-titulos {
  line-height: 40px;
}
.page-id-5890 .has-text-align-center,
.page-id-172 .has-text-align-center,
.page-id-174 .has-text-align-center {
  line-height: 35px;
}
.boton-soluciones {
  margin-bottom: 50px;
}
.boton-soluciones a {
  padding: 15px 30px;
  background-color: #909090;
  color: #000 !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 2px;
  transition: 0.5s;
}
.boton-soluciones a:hover {
  transition: 0.5s;
  background-color: #909090;
  color: #fff !important;
  font-size: 17px;
  box-shadow: 6px 5px 5px 0px rgba(144, 144, 144, 0.75);
}
.page-id-809 .has-background {
  background-color: #fffaf9;
}
.page-id-5731 .wp-block-table tr .has-text-align-center,
.page-id-5781 .wp-block-table tr .has-text-align-center,
.page-id-5783 .wp-block-table tr .has-text-align-center {
  line-height: 25px;
}
@media only screen and (min-width: 1024px) {
  .page-id-114 .ancho-bloque {
    max-width: 650px !important;
  }
}
@media only screen and (max-width: 1024px) {
  h1 {
    margin-top: 150px;
  }
}
.page-id-114 #content .wp-block-table:nth-child(8) {
  display: none;
}
.page-id-114 #content .wp-block-table:nth-child(12) {
  display: none;
}
.page-id-114 #content .wp-block-table:nth-child(16) {
  display: none;
}
.page-id-114 #content .wp-block-table:nth-child(20) {
  display: none;
}
.page-id-114 #content .wp-block-table:nth-child(24) {
  display: none;
}
.page-id-114 #content .wp-block-table:nth-child(28) {
  display: none;
}
.page-id-114 #content .wp-block-table:nth-child(34) {
  display: none;
}
.page-id-114 #content .wp-block-table:nth-child(38) {
  display: none;
}
.page-id-114 #content .wp-block-table:nth-child(42) {
  display: none;
}
.page-id-114 #content .wp-block-table:nth-child(46) {
  display: none;
}
.page-id-114 #content .wp-block-table:nth-child(50) {
  display: none;
}
@media only screen and (min-width: 560px) {
  .page-id-114 #content .wp-block-table:nth-child(9) {
    display: none;
  }
  .page-id-114 #content .wp-block-table:nth-child(8) {
    display: block;
  }
  .page-id-114 #content .wp-block-table:nth-child(13) {
    display: none;
  }
  .page-id-114 #content .wp-block-table:nth-child(12) {
    display: block;
  }
  .page-id-114 #content .wp-block-table:nth-child(17) {
    display: none;
  }
  .page-id-114 #content .wp-block-table:nth-child(16) {
    display: block;
  }
  .page-id-114 #content .wp-block-table:nth-child(21) {
    display: none;
  }
  .page-id-114 #content .wp-block-table:nth-child(20) {
    display: block;
  }
  .page-id-114 #content .wp-block-table:nth-child(25) {
    display: none;
  }
  .page-id-114 #content .wp-block-table:nth-child(24) {
    display: block;
  }
  .page-id-114 #content .wp-block-table:nth-child(29) {
    display: none;
  }
  .page-id-114 #content .wp-block-table:nth-child(28) {
    display: block;
  }
  .page-id-114 #content .wp-block-table:nth-child(35) {
    display: none;
  }
  .page-id-114 #content .wp-block-table:nth-child(34) {
    display: block;
  }
  .page-id-114 #content .wp-block-table:nth-child(39) {
    display: none;
  }
  .page-id-114 #content .wp-block-table:nth-child(38) {
    display: block;
  }
  .page-id-114 #content .wp-block-table:nth-child(43) {
    display: none;
  }
  .page-id-114 #content .wp-block-table:nth-child(42) {
    display: block;
  }
  .page-id-114 #content .wp-block-table:nth-child(47) {
    display: none;
  }
  .page-id-114 #content .wp-block-table:nth-child(46) {
    display: block;
  }
  .page-id-114 #content .wp-block-table:nth-child(51) {
    display: none;
  }
  .page-id-114 #content .wp-block-table:nth-child(50) {
    display: block;
  }
}
.page-id-11057 .imposible {
  font-size: 20px;
}
.quizas a {
  color: #909090 !important;
}


/* # Sidebar
---------------------------------------------------------------------------------------------------- */
#main-sidebar {
  background: radial-gradient(circle at 50% 50%, #ffffff, #f7f7f7);
  border: 1px solid #f7f7f7;/*f7f7f7*/
  border-radius: 3px;
  margin-top: 100px;
  box-shadow: 5px 5px 5px 0px rgba(144, 144, 144, 0.75);
}
.page-contenido {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
}
.page-contenido .columnas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}
.page-contenido .columnas a {
  color: #c0c0c0;
  font-size: 8px;
  font-size: 0.8rem;
  margin-top: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.5s;
}
.page-contenido .columnas a:hover {
  text-shadow: 1px 1px #7772b3;
  transition: all 0.5s;
}

#main-sidebar .menu-ejercicios h2 {
  font-size: 24px;
  font-size: 2.4rem;
  display: inline-block;
  padding-top: 5px;
  margin: 0;
  border-bottom: 1px solid #000;
}
#main-sidebar .menu-resolver {
  display: block;
  padding: 10px;
}
#main-sidebar .menu-resolver .menu {
  padding-left: 0;
  margin: 0;
}
#main-sidebar .menu li {
  padding: 10px;
  list-style: none;
  margin-bottom: 10px;
}
/*#main-sidebar .menu li:last-child {
  padding-bottom: 30px;
}*/
#main-sidebar .menu li a {
  color: #000;
  transition: 0.5s;
}
#main-sidebar .menu li a:hover {
  text-shadow: 1px 1px 1px rgba(64, 64, 64, 0.75);
  transition: 0.5s;
}
/*#main-sidebar .borde {
  max-width: 275px;
  margin: 0 auto;
  padding-bottom: 1rem;
  border-top: 1px solid #000;
}*/
.page-contenido .columnas a {
  color: #fff;
}
.page-contenido .columnas p {
  margin: 10px;
}
.page-contenido .columnas p.separata {
  margin-top: 30px;
}
.page-contenido .columnas p.margen {
  margin-top: 5px;
}
#media_image-2,
#media_image-3,
#media_image-4,
#media_image-5,
#media_image-6,
#media_image-7,
#media_image-8,
#media_image-9,
#media_image-10,
#media_image-11,
#media_image-12,
#media_image-13,
#media_image-14,
#media_image-15,
#media_image-16,
#media_image-17,
#media_image-18,
#media_image-19,
#media_image-20,
#media_image-21,
#media_image-22,
#media_image-23,
#media_image-24 {
  display: none;
}
.bajar {
  padding-top: 20px;
}
.apartado {
  margin: 40px;
  padding-top: 10px;
  padding-bottom: 25px;
  background-color: #909090;
  border-radius: 3px;
}
.apartado h3 {
  margin-top: 20px;
  margin-bottom: 0;
}
.apartado h3 a {
  color: #000;
}
#main-sidebar .linea {
  max-width: 275px;
  margin: 0 auto;
  padding-bottom: 1rem;
}
#main-sidebar .color {
  background-color: #332f2c;
  display: inline-block;
  padding: 10px 25px;
  border-radius: 5px;
}
#main-sidebar .color a {
  color: #fff;
  text-decoration: none;
}
.sidebar-menu {
  text-align: center;
}
.sidebar-menu .menu {
  padding-left: 0;
  margin: 0;
}
.sidebar-menu .columnas li a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
}

.separador-ejercicios {
    width: 50%;
    height: 1px;
    background-color: #ccc; 
    margin: 20px auto;       
}

@media only screen and (min-width: 1024px) {
  #main-sidebar {
    margin-top: 0;
  }
  .page-contenido #ancla1,
  .page-contenido #ancla2 {
    margin-top: 0;
  }
  #media_image-2,
  #media_image-3,
  #media_image-4,
  #media_image-5,
  #media_image-6,
  #media_image-7,
  #media_image-8,
  #media_image-9,
  #media_image-10,
  #media_image-11,
  #media_image-12,
  #media_image-13,
  #media_image-14,
  #media_image-15,
  #media_image-16,
  #media_image-17,
  #media_image-18,
  #media_image-19,
  #media_image-20,
  #media_image-21,
  #media_image-22,
  #media_image-23,
  #media_image-24 {
    display: block;
    cursor: pointer;
  }
  #media_image-2,
  #media_image-3 {
    margin-top: 100px;
  }
  .widget-image {
    text-align: center;
    margin-bottom: 300px;
    margin-top: 100px;
    opacity: 0.25;
    transition: 0.5s;
  }
  .widget-image:hover {
    opacity: 0.75;
    transition: 0.5s;
  }
  .widget-image h2 {
    font-size: 12px;
  }
  .widget-image .image {
    border-radius: 10px;
  }
}
.current_page_item a,
.current-page-ancestor a {
  background-color: #c0c0c0 !important;
  box-shadow: 5px 5px 5px 0px rgba(144, 144, 144, 0.75);
  border-radius: 3px;
  font-weight: 700;
}
@media only screen and (min-width: 1330px) {
  .current_page_item a,
  .current-page-ancestor a {
    padding: 10px 20px;
  }
}
/* # page pagina
---------------------------------------------------------------------------------------------------- */
/* # Footer
---------------------------------------------------------------------------------------------------- */
/* === FOOTER === */
#main-footer {
  display: none;
}
#main-footer {
  background-color: #000;
  padding: 10px 0;
  font-family: 'Ubuntu', sans-serif;
}
#main-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#main-footer .container ul {
  display: flex;
  justify-content: space-around;
  padding: 0;
}
#main-footer .container ul li {
  padding: 0 40px;
  font-size: 20px;
}
#main-footer #footer-menu a {
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
  border-bottom: 1px solid;
}
#footer-social a {
  font-size: 40px;
  color: #fff;
}
#credits a,
#credits p a {
  color: #fff !important;
  text-decoration: underline;
}
@media only screen and (min-width: 768px) {
  #main-footer {
    padding: 0;
    margin-bottom: 0;
  }
  #main-footer .container {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
  }
  #main-footer #footer-menu li {
    padding: 10px;
  }
  #main-footer #footer-menu li:last-of-type {
    padding-right: 50px;
  }
  #main-footer .container ul li {
    padding: 0 50px;
  }
  #credits {
    padding-bottom: 20px;
    margin: 0;
  }
}
/* # Contacto
---------------------------------------------------------------------------------------------------- */
/* # Sin-Sidebar
---------------------------------------------------------------------------------------------------- */
/* Páginas sin sidebar */
body.page-template-sinsidebar {
  margin: 0 10px;
  background: radial-gradient(circle at 50% 50%, #ffffff, #f6f6f6);
}
h1 {
  margin-bottom: 50px;
}
.page-id-16 p {
  line-height: 30px;
}
.page-template-sinsidebar #page-sinsidebar {
  max-width: 1200px;
  margin: 150px auto;
}
.politica a {
  color: #000;
  border-bottom: 1px solid #000 !important;
}
.wpforms-confirmation-container-full {
  text-align: center;
  max-width: 800px;
}
.page-id-16 .current_page_item a,
.page-id-20 .current_page_item a,
.page-id-7482 .current_page_item a,
.page-id-16 .current-page-ancestor a,
.page-id-20 .current-page-ancestor a,
.page-id-7482 .current-page-ancestor a {
  background-color: #909090 !important;
  box-shadow: none;
  border-radius: none;
  font-weight: 700;
}

.wp-block-group {
  padding: 10px;
  background-color: #77dd77;
}

.wp-block-table td, .wp-block-table th {
    border: none !important;
}

/* ---------------------------------------------------------------------------------------------------- */
/* # 404  */
/*------------------------------------------------------------------------------------------------------- */

/* Centrar el contenido del 404 vertical y horizontalmente */
body.error404 .page-content {
    min-height: calc(100vh - 200px); /* Ajusta según la altura del header + footer */
    /*display: flex;
    justify-content: center;   
    /*align-items: center;  */ 
    text-align: center;
    padding: 40px;
    
}

/* Estilos opcionales (mejoran la estética) */
body.error404 .page-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

body.error404 .page-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

body.error404 #content {
  margin-top: 300px;
}