/* -----GLOBAL STYLES----- */
/* https://stackoverflow.com/questions/24322599/why-cannot-change-checkbox-color-whatever-i-do */
:root {
    --main: #edb60c;
    --secondary: #003366;
    --white: #faf7fb;
    --light-grey: #f4f3f5;
    --grey: #c0b6bd;
    --dark-grey: #7c767e;
    --black: #291825;
    --blue: #035cff;
    --padding-cta: 16px 24px; /* 2 pixeles menos que los múltiplos de 8 por los bordes */
    --padding-site:184px;
  }
  body {margin: inherit;font-family: 'Source Sans Pro', sans-serif;margin-top: 0;
      background: var(--white);overflow-x: hidden;}
  h1, h2, h3, h4, h5, .heading {font-family: 'Catamaran', sans-serif;text-transform: uppercase;}

  x-layout {
      display: block;overflow-x: hidden;}
  h1{font-size: 40px;color:var(--black);margin: 0px;}
  p{
    font-size:18px;
  }
  h4 {
      font-size: 20px;
      font-weight: 400;
      padding-left: 8px;
  }
  /*cover*/
  section#cover {
      height: 100vh;
      display: flex;
      align-items: center;
  }

  .cover-fragment {
      width: 50%;}
      .smsn-fragment {
          margin-bottom: 160px;
          display: flex;
          align-items: center;
          justify-content: space-between;
          align-content: space-between;
      }
  .margin-bottom-nule{margin-bottom: 8px;}
  .decorative {
      width: 60%;
      height: 24px;
      background: var(--secondary);
      background: -moz-linear-gradient(-45deg, var(--secondary) 0%, var(--secondary) 10%, var(--secondary) 10%, var(--main) 10%, var(--main) 100%);
      background: -webkit-linear-gradient(
  -45deg
  , var(--secondary) 0%,var(--secondary) 10%,var(--secondary) 10%,var(--main) 10%,var(--main) 100%);
      background: linear-gradient(
  135deg
  , var(--secondary) 0%,var(--secondary) 10%,var(--secondary) 10%,var(--main) 10%,var(--main) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='var(--secondary)', endColorstr='var(--main)',GradientType=1 );
  }

  h2, .heading2 {
      margin-top: 0;
      margin-bottom: 24px;
      font-size: 36px;
      line-height: 1.2;
      color: var(--black);
      font-weight: 700;
  }
  h3 {
      margin-top: 16px;
      margin-bottom: 24px;
      font-size: 24px;
      font-weight: 200;
      line-height: 1.2;
  }
  a,.enl{text-decoration: none;color: var(--blue);cursor:pointer;}
  .h3 {
      font-size: 16px;
      font-family: 'Catamaran', sans-serif;
      letter-spacing: 0.5px;
      line-height: 21px;
      font-weight: 600;
  }

  .nombre {
      left: 200px;
      position: absolute;
      display: flex;
      justify-content: space-around;
      font-family: 'Catamaran';
      font-size: 40px;
      font-weight: 200;
      color: var(--black);
      top: 8px;
  }


  .black-bg{background: var(--black);color: var(--white);}
  .white-bg{background: var(--white)!important;color:var(--black)}
  .main-bg{background: var(--main);color: var(--white);}
  .cta-bg{background: var(--main-cta);color: var(--white);}
  .secondary-bg{background: var(--secondary);}
  .rrss-bg{background: var(--grey);color: var(--white);}
  .grey-bg{background: var(--light-grey)!important;}
  .section-padding{padding: var(--padding-cta);}

  .cta, .cta1, .cta2, .empty-cta{
    width: fit-content;
    padding: var(--padding-cta);
    font-weight: bold;
    border: solid var(--main-cta) 2px;
    cursor: pointer;
    width: 148px;
    text-align: center;
  }
  a.cta, .ctaofusqued {
      margin: 16px auto;
      display: block;
      cursor: pointer;
      background: var(--main);
      color: var(--black);
      width: fit-content;
      min-width: 80px;
  }
.topctamf{
    margin-top: 4em !important;}
  .cta1{background: var(--main-cta);color: var(--white);}
  .purple-text{color: var(--main);}

  .bold {font-weight: bold;}
  /*.container {
    width: 1112px; ELIMINO PORQUE ROMPE DE CARA A RESPONSIVE
    padding: 96px 0;
    margin: auto;
  }*/
  .center{
    text-align: center;
  }
  .margin-0{
    margin: 0;;
  }

  .revert{flex-direction: row-reverse;}
  /* navbar */

  /* navbar*/
  .discordbnr {
      padding: 2px;
      background-image: url(https://pablo.sanchezdonate.com/wp-content/themes/sanchezdonate/images/home/pablo-sanchez.png);
      background-repeat: no-repeat;
      background-size: 28px;
      height: 28px;
      margin: auto;
      background-position: center;
  }
    .absolute-navbar {
        position: absolute;
        width: 100%;
    }
    ul#main-navbar li {
        display: block;
    }
    ul#main-navbar li a {
      font-size: 16px;
  font-weight: 600;
  font-family: 'Source Sans Pro', sans-serif;
  cursor: pointer;
  background: url(https://pablo.sanchezdonate.com/wp-content/themes/sanchezdonate/images/complements/triangulo.svg);
  background-repeat: no-repeat;
  padding: 8px 20px 8px 24px;
  margin-right: 20px;
  background-position-y: center;
  text-transform: uppercase;
  background-position-x: 8px;}
  li.masternavm {
      border: 1px solid var(--secondary);
  }

  ul#main-navbar a{color: var(--black);text-decoration: none;}

  div#mobile-nab {
      display: none;
  }
   .navbar-header {
      display: flex;
      justify-content: flex-end;
      height: 72px;
      align-items: center;
  }
  .header-anuncio {
      display: flex;
      height: 72px;
      justify-content: space-around;
      align-items: center;
      padding: 0px 16px;
  }
  .header-anuncio div {
      flex: 1;text-align: center;
  }
  div#countdowncarlos {
      width: 375px;
      color:var(--white);
  }
  .header-banner-frase {
      font-size: 14px;
      font-weight: 700;
      line-height: 21px;
      text-align: center;
      letter-spacing: 0.7777768px;
  }

  .header-comprar {
      padding-top: 4px;
      padding-bottom: 4px;
      width: 48px;
      height: 19px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  .navbar-header ul {
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-evenly;
      align-content: space-around;
      align-items: center;
  }
  ul#login-navbar {
      padding-right: 80px;
  }
  ul#login-navbar li {
      display: list-item;
      list-style-type: disc;
      color: var(--white);
  }
  ul#login-navbar a {
      color: var(--white);
      text-decoration: none;
  }
  .fixed-navbar {
      position: fixed;
      width: 100%;
      background: var(--white);
      box-shadow: 0 10px 15px -3px rgb(0 0 0 / 5%), 0 4px 6px -2px rgb(0 0 0 / 5%);
      z-index: 10;
      top: 0;
      max-width: 100vw;
  }
  .fixed-navbar #login-navbar a, .fixed-navbar #login-navbar li {
      color: var(--white);
  }
  .navbar-header:before {
      clip-path: polygon(91% 0, 100% 0, 100% 100%, 0% 2034%);
      background: var(--main);
      content: "";
      width: 1496px;
      height: 72px;
      position: absolute;
      color: var(--white);
      z-index:-10;
  }


  section.redirectioncover, section.blogcover, section#cover {
    min-height: 304px;
  }
  .lwptoc {
      padding: 16px;
      border: var(--secondary) 1px solid;
      border-radius: 8px;
      box-shadow: #00000021 -1px 3px 10px 0px;
  }

  .spacerblog {
    margin-top: 2em;
}
.mbotom {
    margin-bottom: 32px;
}
section.homeposts {
    padding: 3em var(--padding-site);
}

.homepostdisplayer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}
  #post-display table {
    box-shadow: 0px 2px 2px rgba(0,0,0,.15);
    border-spacing: 0;
    border-collapse: collapse;
    max-width: 100%;
    height: fit-content !important;
}
/*
.homepostdisplayer .excerpt-post:first-child {
    max-width: 50%;
}
.homepostdisplayer .excerpt-post:first-child .posts-picture {
    width: 600px;
    height: 343px;
}*/
#post-display th, #post-display thead {
    background-color: var(--main);
    color: var(--white);
    padding: 8px;
    border: 1px solid var(--main);
}
#post-display td{
        padding: 4px 8px;
        border: 1px solid var(--grey);
}

  /* Master*/
  .flexwig {
      display: flex;
      align-items: flex-start;
      justify-content: space-around;
      text-align: center;
  }
  .namewidget {
      margin-top: 16px;
      font-size: 20px;
      color: var(--dark-grey);
      font-weight: 600;
      text-transform: uppercase;
      font-family: 'Catamaran';
      text-align: center;
  }
  .explicawidget {
      font-weight: 600;
      margin-top: 8px;
  }
  span.small-letter {
      font-size: 13px;
      margin-top: 8px;
      color: var(--dark-grey);
      text-align: center;
      width: 85%;
  }
  /* No master */

  .padding-vertical {
      padding: 64px var(--padding-site);
  }
  /* Master*/
  .flexwig {
      display: flex;
      align-items: flex-start;
      justify-content: space-around;
      text-align: center;
  }
  .namewidget {
      margin-top: 16px;
      font-size: 20px;
      color: var(--dark-grey);
      font-weight: 600;
      text-transform: uppercase;
      font-family: 'Catamaran';
      text-align: center;
  }
  .explicawidget {
      font-weight: 600;
      margin-top: 8px;
  }
  span.small-letter {
      font-size: 13px;
      margin-top: 8px;
      color: var(--dark-grey);
      text-align: center;
      width: 85%;
  }
  /* No master */
  /* Post */

  /*
  #posts-titles{
    max-width: 1200px;
  }*/
  .d-hs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.d-hs h2 {
    margin: 0px;
}
.searchtool {
    display: flex;
}
button#search-button {
    background: var(--main);
    color: var(--white);
    border: 0px solid;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: fit-content;
}
  section#post-display, .ficha-post {
      max-width: 1000px;
  }
  .codigo-post {
      background: var(--light-grey);
      padding: 8px;
      cursor: text;
      font-size: 16px;
      display: inline-block;
      overflow-x: scroll;
      display: block;
      max-width: 100%;
      min-width: 100px;
      background-color: #0c1021;
      color: var(--white);
      padding: 40px 16px 16px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='14' viewBox='0 0 54 14'%3E%3Cg fill='none' fill-rule='evenodd' transform='translate(1 1)'%3E%3Ccircle cx='6' cy='6' r='6' fill='%23FF5F56' stroke='%23E0443E' stroke-width='.5'%3E%3C/circle%3E%3Ccircle cx='26' cy='6' r='6' fill='%23FFBD2E' stroke='%23DEA123' stroke-width='.5'%3E%3C/circle%3E%3Ccircle cx='46' cy='6' r='6' fill='%2327C93F' stroke='%231AAB29' stroke-width='.5'%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: 16px 8px;
      font-family: monospace;
      background-attachment: local;
  }
  .codigo-post pre {
      margin: none;
  }
  span.bibliography {
      font-size: 14px;
      padding-left: 16px;
      background: url(https://pablo.sanchezdonate.com/wp-content/themes/sanchezdonate/images/complements/triangulo.svg);
      background-repeat: no-repeat;
      background-position-y: center;
      background-position-x: left;
  }
  .title-footer {
      display: flex;
  }
  img.alignnone, img.aligncenter {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(2px 4px 2px rgba(0,0,0,0.15));
    margin: 16px auto;
    border-radius: 8px;
  }
  img.aligncenter{display: block;}
  .leyenda {
      margin: auto;
      margin-top: -8px;
      color: var(--black);
      font-size: 16px;
      font-weight: 300;
      margin-bottom: 24px;
      width: fit-content;
  }

  blockquote {
      margin: 24px auto;
      color: var(--black);
      font-size: 16px;
      font-weight: 300;
      width: 80%;
      padding: 0px 16px;
      border-left: 8px var(--main) solid;
  }



  section#post-display h2 {
      margin-top: 40px;
  }

  img#logo-carlos {
      width: 56px;
      margin-top: -32px;
  }
  .navbar-logo {
      background: var(--main);
      left: 0;
      position: absolute;
      top: 0;
      display: flex;
      justify-content: space-around;
          z-index: 5;
  }
  section{margin: auto; padding: 0px var(--padding-site);}
  x-layout {
      display: block;
  }
  section#post-display iframe {
      max-width: 100%;
      min-width: 60%;
      border-radius: 8px;
      filter: drop-shadow(2px 4px 2px rgba(0,0,0,.15));
      margin-top: 16px;
  }

  .email {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
  /*lo pongo aqui por velocidad de wpo*/
  @media only screen and (max-width: 495px) and (min-height:226px) {
    x-layout.homelayout section#cover {
        height: 800px;
    }
    x-layout.homelayout section#cover .cover-fragment {
      margin-top: 240px;
  }
  .home-picture-mobile {
      background-image: url(/wp-content/themes/sanchezdonate/images/pablo-sanchez/lop-banner.jpg);
      height: 300px;
      background-size: cover;
      position: absolute;
      top: 216px;
      /* Revisa que no tengas la barra del wp-admin */
      /*top: 80px;*/
      width: 360px;
      background-repeat: no-repeat;
      background-position: center;
      margin: auto;
      max-width: 95%;
  }
  }
  .cover-fragment-blog {
      width: 80%;
      padding-top: 40px;
  }
  .cover-fragment-post {
      padding-top: 40px;
  }
  .bloglayout:before {
      clip-path: polygon(90% 0, 100% 0, 100% 100%, 0 230%);
      background: var(--main);
      content: "";
      position: absolute;
      height: 100%;
      width: 100%;
      z-index: -10;
  }
  section.blogcover {
      height: 300px;
      display: flex;
      align-items: center;
  }
  section.postcover {
      min-height: 125px;
      height: auto;
      display: flex;
      align-items: center;
      margin-top: 72px;
      justify-content: space-between;
      padding-top: 8px;
  }
  @media only screen and (max-width:494px) {
    section.postcover {
        margin-top: 16px;
    }
  }

  .audit-padding {
      padding-top: 24px;
      padding-bottom: 24px;
  }
  section#categorizacion-blog {
    /*  height: 160px;*/
    height: 0px;
      background: var(--light-grey);
      display: flex;
      align-items: center;
      justify-content: space-around;
      flex-wrap: wrap;
  }
  .categories-blog {
      padding: 16px;
      background: var(--main);
      text-transform: uppercase;
      text-align: center;
      font-weight: 500;
      color: var(--white);
      /*border-left: solid 1px var(--light-grey);*/
  }

  section#categorizacion-blog a {
      color: var(--main);
      text-decoration: none;
      text-transform: uppercase;
      flex: 0 1 160px;
  }

  section#simon-sinek {
      height: fit-content;
      padding-top: 80px;
      padding-bottom: 80px;
      background: var(--light-grey);
      display: flex;
      align-items: flex-start;
      flex-direction: column;
  }
  .static-img {
      width: 496px;
    max-width: 100%;
    /*filter: drop-shadow(2px 4px 6px var(--black));*/
  }
  .smsn-img img.static-img {
      width: 600px;
      max-width: none;
  }
  .center-spacing {
      width: 88px;
  }
  #blog-display{
      background: var(--white);
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: space-around;
      padding-top: 80px;
      padding-bottom: 80px;
      align-content: space-around;
  }
  section#post-display {
      background: var(--white);
      padding-bottom: 32px;
  }
  .post-image {
      width: 300px;
      height: 300px;
      background-size: contain;
      position: relative;
          background-repeat: no-repeat;
  }
  .servicio-image {
      max-height: 300px;
      max-width: 600px;
      width: 60vw;
      height: 30vw;
      background-size: cover;
      position: relative;
      background-repeat: no-repeat;
      background-position: center;
      margin: auto;
      filter: drop-shadow(2px 4px 6px var(--black));
  }
  .data-ficha:first-child {
      margin-right: 8px;
  }
  .data-ficha :is(dd,dl,dt){
    display: inline;
    margin: 0px;
  }
  .data-ficha dt{
    font-weight: 600;
  }
  section.ficha-post {
      display: flex;
      align-items: flex-start;
    justify-content: space-around;
      margin-bottom: 32px;
      line-height: 24px;
  }
  .flexcats {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.cat-excerpt-post {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 8px;
    width: 104px;
    box-shadow: var(--light-grey) 0px 0px 12px 2px;
    padding: 8px;
}
.cat-excerpt-post:hover {
    box-shadow: var(--secondary) 0px 0px 12px 2px;
}
.letras-categoriz {
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
}
.cat-picture {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
  .posts-picture {
      width: 350px;
      height: 200px;
      background: var(--grey);
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
  }
  .masinfo-text {
      color: var(--white);
      margin: 24px;
      padding: 8px;
      text-transform: uppercase;
      font-family: 'Catamaran', sans-serif;
      font-weight: 800;
      z-index: 1;
      transition: background 2s;
  }
  .secondary {
      color: var(--secondary);
  }
  .posts-h2 {
      font-weight: 800;
      /* Quiero reducir esta fuente, pero afecta en todo  */
      font-size: 32px;
      margin-top: 24px;
      text-transform: uppercase;
      margin-bottom: 24px;
      line-height: 1.2;
      font-family: Catamaran,sans-serif;
  }
  .excerpt-post {
      max-width: 350px;
      margin-bottom: 32px;
  }
  .posts-picture:before {
      clip-path: polygon(99% 0,100% 0,100% 100%,0% 120%);
      /*El main con transparencia var(--main)*/
      background-color: var(--main);
      content: "";
      width: 350px;
      height: 200px;
      position: absolute;
      color: var(--white);
      z-index: 0;
      transition: clip-path 2s ease-in,transform 2s ease-in;
  }

  .purple-bg{
    background-color: var(--main-cta);
    color: var(--white);
  }
  .purple-bg .cta1{
    background-color: var(--white);
    color: var(--black);
  }
  section.feedback {
      padding: 24px var(--padding-site);
      background: var(--light-grey);
      font-size: 14px;
      text-align: center;
      font-weight: 300;
  }
  a.alinkedin {
      padding-right: 24px;
      background-image: url(https://pablo.sanchezdonate.com/wp-content/themes/sanchezdonate/images/rrss/linkedin.svg);
      background-repeat: no-repeat;
      background-position-y: center;
      background-position-x: right;
      font-weight: 400;
  }
  .categories-button {
      writing-mode: vertical-lr;
      transform: rotate(180deg);
      padding: 24px;
      background-color: var(--main);
      color: var(--white);
      font-weight: 600;
      font-size: 24px;
      font-family: 'catamaran';
      cursor: pointer;
  }
  .categories-button::before {
      content: "";
      background-image: url(https://pablo.sanchezdonate.com/wp-content/themes/sanchezdonate/images/complements/carlos-categorias.png);
      background-size: 72px;
      background-repeat: no-repeat;
      height: 100%;
      width: 100%;
      position: fixed;
      transform: rotate(180deg);
      right: -38px;
  }
  .lwptoc_itemWrap {
    margin-left: 8px;
}
span.lwptoc_item_number {
    font-size: 14px;
    color: var(--black);
}
span.lwptoc_item_label {
    font-weight: 600;
}
  aside#aside-button {
      position: fixed;
      right: 0;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      align-content: space-between;
      flex-wrap: nowrap;
      top: 0;
      text-transform: uppercase;
  }
  aside.blog-cats {
      position: fixed;
      top: 0;
      display: flex;
      flex-direction: column;
      right: 0;
      height: 100%;
      justify-content: center;
      align-items: stretch;
      flex-wrap: nowrap;
  }
  .displaynone {
      display: none !important;
  }
  .entry {
      color: var(--black);
  }
  .fakeh2 {
      margin-top: 40px;
      font-size: 36px;
      line-height: 1.2;
      color: var(--main);
      font-weight: 700;
      /*margin-bottom: 40px;*/
      font-family: 'Catamaran', sans-serif;
      text-transform: uppercase;
  }
  /* -----ENDFOOTER STYLES----- */
  ::selection {
    background: var(--main);
    color: var(--white);
    text-shadow: none;
  }
  /* Sobre mi */
  .grid {
      position: relative;
  }
  section#trabajos{
    background: var(--white);
      padding-top: 80px;
      /*padding-bottom: 80px;*/
  }
  section#hireme, .freepad {
      padding: 48px var(--padding-site);
  }
  .freelatpad{padding: 48px 0px;}
  .text-explain {
      width: 80%;
      text-align: center;
      margin: auto;
      margin-bottom: 24px;
  }
  section#post-display a:not(#indice-contenido a):not(.cta) {
    text-decoration: underline;
  }
  
 /* section#post-display a {
    text-decoration: underline;
}
div#indice-contenido a {
    text-decoration: none;
    font-style: normal;
    // Porque al minificar el estúpido minificador lo pone arriba
}
*/

  /* Contacto */

  input.sib-NAME-area, input.sib-email-area{
      border: 0px;
      width: 100%;
      margin: 0px;
      padding: 0px;
      background: no-repeat;
      border: none;
      border-bottom: 1px solid var(--main)!important;
      padding-top: 16px !important;
      margin-bottom: 16px !important;
  }
  #search-input{
    border: 0px;
    width: 100%;
    margin: 0px;
    padding: 0px;
    background: no-repeat;
    border: none;
    border-bottom: 1px solid var(--main)!important;
    padding-top: 16px !important;
  }
  input.sib-email-area{
        margin-bottom: 0px !important;
        color: var(--white);
      font-size: 16px;
  }
  textarea {
      background: none;
      border: none;
      border-bottom: 1px solid var(--main)!important;
      max-width: 600px;
      min-width: 180px;
      max-height: 600px;
      width: 100%;
      height: 10em;
  }
  textarea:focus-within, select:focus-within, input:focus-within{
      outline: -webkit-focus-ring-color auto 0px;
  }
  label.custom-file-upload {
      display: none;
  }
  input#enviar {
      background: var(--secondary);
      color: var(--white);
      border: 0px;
      padding: 8px;
      font-weight: 800;
      font-family: 'Source Sans Pro';
      font-size: 16px;
      cursor: pointer;
      margin-top: 16px;
  }
  .form-contacto {
      max-width: 600px;
      margin: auto;
      margin-bottom: 80px;
  }
  .sib_signup_box_inside_1 p {
      text-align: center;
  }




  .expand-menu {
      position: fixed;
      background: var(--main);
      margin: 0px;
      padding: 16px;
      padding-top: 16px;
      padding-right: 16px;
      padding-bottom: 16px;
      padding-left: 16px;
      width: 169px;
      height: 100vh;
      top: 72px;
      display: flex !important;
      flex-direction: column;
      right: 0;
      align-items: flex-start !important;
      z-index: 11;
  }
  section#poster-display ul li, #post-display ul li {
      list-style: none;
      background-image: url(https://pablo.sanchezdonate.com/wp-content/themes/sanchezdonate/images/complements/triangulo.svg);
      background-repeat: no-repeat;
      background-position-x: left;
      background-position-y: center;
      padding-left: 1em;
      margin-left: -1em;
      margin-top: 8px;
  }
  /* PONGO ATRIBUTO IMPORTANT PARA QUE FUNCIONE CON EL JS */
  ul#main-navbar-movile li {
  list-style: none;
  }
  ul#main-navbar-movile li a {
      background: url(https://pablo.sanchezdonate.com/wp-content/themes/sanchezdonate/images/complements/triangulo.svg);
      background-repeat: no-repeat;
      padding: 8px 20px 8px 24px;
      margin-right: 20px;
      background-position-y: center;
      text-transform: uppercase;
      background-position-x: 8px;
      display: block;
          color: var(--white);
  }
  .agruped, .asignaturas details {
      width: 50%;
      max-width: 600px;
      list-style: none;
  }
  /*
  .faqs-quest {
      background: var(--main);
      padding: 16px;

      color: var(--white);
      font-weight: 600;
      font-family: 'Source Sans Pro';
      cursor: pointer;
      height: 56px;
      margin: 8px;
  }*/
  .faq-quest, .faqs-quest {
      border: 1px solid var(--main);
      padding: 16px;
      color: var(--main);
      font-weight: 600;
      font-family: 'Source Sans Pro';
      cursor: pointer;
      height: 56px;
      margin: 8px;
      background: linear-gradient(133deg,#faf7fb 94%,#f4b61c 5px);
      font-size: 20px;
      display: flex;
      align-items: center;
      padding-left: 24px;
      border-radius: 4px 4px 0px 0px;
  }
  summary.agruped {
      display: contents;
  }
  .asignaturas {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      counter-reset: section;
      justify-content: space-around;
  }
  .faqs-quest::before {
      counter-increment: section;
      content: "Modulo " counter(section) ":";
      padding-right: 3px;
  }
  .panel {
      width: auto;
      margin: 8px;
      padding: 16px;
      margin-top: -8px;
      border: solid 1px var(--main);
      border-top: 0px;
      background: var(--light-grey);
  }

  .aire {
      height: 48px;
  }
  .calendly-close-overlay {
      position: absolute;
      right: 105px;
      top: 70px;
      height: 56px;
      width: 56px;
      background-image: url(https://pablo.sanchezdonate.com/wp-content/themes/sanchezdonate/images/complements/close.svg);
      background-repeat: no-repeat;
      background-position: center;
      background-size: 56%;
      border-radius: 100%;
      cursor: pointer;
      background-color: var(--secondary);
  }

  .calendly-overlay {
      position: fixed;
      z-index: 10;
      top: 50px;
      bottom: 50px;
      right: 50px;
      left: 50px;
      max-width: 1000px;
      margin: auto;
  }
  .calendly-popup-content {
      height: 670px;
  }
  ul.lielementno li {
      list-style: none;
  }
  a[target="_blank"]:not(.cta):not(.rrss-vector)::after {
      padding-right: 1em;
      background-image:url('https://pablo.sanchezdonate.com/wp-content/themes/sanchezdonate/images/favicon/link.svg');
      background-size: 1em;
      background-repeat: no-repeat;
      background-position-y: center;
      margin-left: 4px;
      content: "";
    }
  /* ===== Scrollbar CSS ===== */
    /* Firefox */
    * {
      /*scrollbar-width: thin;*/
      scrollbar-color: var(--dark-grey) #ece9ed;
    }

    /* Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
      width: 16px;
    }

    *::-webkit-scrollbar-track {
      background: var(--lightgrey);
    }

    *::-webkit-scrollbar-thumb {
      background-color: var(--black);
    /*  border-radius: 16px;
      border: 4px solid #ece9ed;*/
    }

    a[href^="http:"] {
      padding-right: 1.5em;
      background-image: url(/wp-content/themes/sanchezdonate/images/complements/candado-r.svg);
      background-size: 1em;
      background-repeat: no-repeat;
      background-position-x: right;
      background-position-y: center;
  }
  /* RESPONSIVE */

  @media only screen and ( min-width: 2080px ) {
    :root {
      --padding-site:400px;
    }
    ul#main-navbar {
        margin-right: 32px;
    }
    ul#main-navbar {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-left: 600px;
    }
    .smsn-fragment, section#simon-sinek {
      align-items: center;
  }

  #blog-display {
      justify-content: space-evenly;
  }
  .homelayout:before {
      max-width: 2000px;
      right: 0;
  }
  }
  @media only screen and ( min-width: 1680px ) {
    ul#main-navbar {
        margin-right: 32px;
    }
    .smsn-text {
    max-width: 50vw;
  }

  }

  @media only screen and (min-width: 1200px) and (max-width:1360px) {
    :root {
      --padding-site:160px;
    }
    .homelayout:before {
      clip-path: polygon(87% 0, 100% 0, 100% 100%, 0 173%);}
     
      /* Esto no me cuadra
      .post-image {
      right: 152px;
  }*/
  .cover-fragment-post h1 {
      max-width: 600px;
  }
  }
  /* NAVBAR */
  @media only screen and (max-width:1230px) {
    section.postcover {
        flex-direction: column;
    }
      div#open_graph {
      margin: 8px 0px;
  }
    div#menu-togle {
        position: fixed;
        height: 80px;
        width: 80px;
        border-radius: 100%;
        background-color: var(--secondary);
        right: 40px;
        bottom: 10%;
        box-shadow: var(--black) -1px 3px 20px 0px;
        z-index: 11;
        background-image: url(https://pablo.sanchezdonate.com/wp-content/themes/sanchezdonate/images/complements/mob-menu.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 56%;
    }
    div#close-menu {
        background: var(--secondary);
        width: 32px;
        height: 32px;
        background-image: url(https://pablo.sanchezdonate.com/wp-content/themes/sanchezdonate/images/complements/close.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 56%;
        border-radius: 100%;
        box-shadow: var(--black) -1px 3px 20px 0px;
    }
  .mobilepanel {
      display: flex;
      flex-direction: row-reverse;
      align-items: flex-end;
  }
  .homelayout:before {
      clip-path: polygon(115% 0, 100% 0, 100% 100%, 0 200%);
  }
  ul#main-navbar {
      display: none;
  }
  :root {
    --padding-site:120px;
  }
  .navbar-logo {
      width: 120px;
      height: 160px;
  }
  img#logo-carlos {
    width: 42px;
  }
  .smsn-fragment {
      flex-direction: column;
  }
  .smsn-text{
      margin-bottom: 32px;
  }
  ul#main-navbar-movile {
      padding: 0px;
  }
  ul.submobile {
      padding-left: 16px;
  }
  section#post-footer .container {
      padding: 0px;
  }
  .post-footer nav ul {
      margin: inherit;
  }
  }
  /*Ajuste por meter un elemento más */
  @media only screen and (min-width:1230px) and (max-width:1370px) {
    .nombre {
        font-size: 28px;
        top: 12px;
        left: 180px;
    }
    ul#main-navbar li a {
      padding: 6px 18px 6px 22px;
      margin-right: 18px;
  }
  }

  @media only screen and (max-width:950px){
    .calendly-close-overlay {
      right: 0;}
    .agruped, .asignaturas details {
      width: 100%;
  }
    .header-anuncio {
      display: flex;
      flex-direction: column;
      height: 136px;
      align-items: center;
      justify-content: space-evenly;
  }
  .header-comprar .cta {
      height: 16px;
      padding: 16px;
      display: flex;
      align-items: center;
      justify-content: space-around;
      margin: 0px auto;
      min-width: max-content;
  }
  .error404 {
      margin-top: 104px;
      height: auto !important;
      padding-bottom: 80px;
  }
    .d-hs {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 88px;
        margin-bottom: 0px;
    }
}
  @media only screen and (min-width: 495px) and (max-width:800px) {
    .static-img {
        width: 296px;
    }
    .smsn-img img.static-img {
      width: 100%;
  }
  .padding-vertical {
      padding: 64px 24px;
  }
  x-layout.homelayout section#cover {
    padding: 0px;
    margin-top: 152px;
    height: auto;
}
x-layout.homelayout section#cover .cover-fragment {
    width: 80%;
    margin: auto;
}
.homelayout:before{content: none;}

section.blogcover{
    height: auto;
    min-height: 300px;
}
  }

  @media only screen and (min-width: 495px) and (max-width:637px) {
    .nombre {
        left: 120px;
        font-size: 32px;
    }
  }
  @media only screen and (max-width:637px) {
  summary.agruped h3.faq-quest {
      font-size: 16px;
  }}
  @media only screen and (max-width:494px) {
    
    .cat-h2{margin-top:16px;}
    .header-banner-frase {
      display: flex;
      align-items: center;
  }
    .header-countdown {
        display: none;
    }
    .columnas div img {
      max-width: 90%;
      height: auto;
  }
    .codigo-post {
      font-size: 12px;
    }
    .navbar-logo {
        width: auto;
        height: 72px;
        clip-path: none;
        background: none;
        position: fixed;
        justify-content: unset;
        left: 16px;
    }
    x-layout {
      padding-top: 72px;
  }
    img#logo-carlos {
      width: 30px;
      height: auto;
      margin-top: 16px;
  }
  nav.navbar-header {
      background: var(--main);
  }
    :root {
        --padding-site: 8px;
    }
    h1 {
      font-size: 32px;
  }
  h2, .heading2 {
      font-size: 26px;
  }
  .posts-h2 {
      font-size: 20px;
      text-align: center;
  }
  .entry {
      max-width: 264px;
      text-align: center;
      margin-bottom: 8px;
  }
  .smsn-fragment {
      margin-bottom: 66px;
  }
  ul#main-navbar-movile {
      font-size: 14px;
  }
  .navbar-header:before {
      clip-path: polygon(32% 0, 100% 0, 100% 100%, 0% 208%);
      background: var(--main);
      content: "";
      width: 200px;
      height: 72px;
      position: absolute;
      color: var(--white);
      z-index: -10;
  }
  section {
      overflow: hidden;
      max-width: 100%;
  }
  ul#login-navbar {
      padding-right: 16px;
  }
  ul#main-navbar-movile li {
      margin: 4px 0px;
  }
    .nombre {
      top: 0;
      color: var(--white);
      left: 8px;
      font-size: 16px;
  }
  .cover-fragment {
      width: 100%;
  }
  .static-img {
      max-width: 80% !important;
  }
  .homelayout:before {
      content: none;
  }
  nav#navbar-mobile {
      max-width: 100%;
  }
  .navbar-mobile {
      width: 128px;
  }
  div#menu-togle {
      height: 48px;
      width: 48px;
      border-radius: 100%;
      right: 24px;
      bottom: 5%;
  }
  .entry {
      width: 264px;
      margin-top: -1em;
  }
  .posts-picture, .posts-picture:before {
      width: 200px!important;
      height: 114px!important;
      display: flex;
  }
  aside#aside-button {
      display: none;
  }
  section#categorizacion-blog {
      height: 10px;
  }
  .masinfo-text {
      display: none;
  }
  section.postcover {
      height: auto;
      display: flex;
      align-items: center;
      flex-direction: column;
  }
  div#open_graph {
      position: relative;
      width: 200px;
      height: 200px;
      right: auto;
      top: auto;
      margin: 16px 0;
  }
  section.blogcover {
      height: 196px !important;
      min-height: 196px;
  }
  section.blogcover div h1 {
      font-size: 26px;
  }
  section#redirect-display {
      display: flex;
      flex-direction: column;
  }

  /* AJUSTE PERRO PARA MOBILE. DEBE MEJORARSE*/
  .navbar-header {
      justify-content: space-between;}
  nav.navbar-header.fixed-navbar {
      display: flex;
      flex-direction: row;
  }
  .navbar-logo {
      position: inherit;
  }
  .nombre {
      position: inherit;
      display: flex;
      align-items: center;
      padding-left: 8px;
      font-weight: 400;
      font-size: 18px;
  }
  a#main-link-home {
      flex-grow: initial;
      display: flex;
      flex-direction: row-reverse;
      justify-content: space-between;
      width: 50%;
  }
  img#logo-carlos {
      margin-right: -16px;
      margin-top: 8px;
  }
  section#simon-sinek {
      text-align: center;
  }
  .servicio-image {
      width: 100%;
      height: 50vw;
  }
  }
  @media only screen and (max-width:400px) {
  section.ficha-post {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin-bottom: 8px;
      margin-top: 8px;
  }
    section#post-display {
        max-width: 280px;
    }
    .faq-quest, .faqs-quest {
        font-size: 14pt;
    }
    #post-display ul li, section#poster-display ul li {
        margin-left: -2em;
    }
  }

  @media only screen and (max-height:645px) and (min-width:495px){
    x-layout.homelayout section#cover {
        padding: 0px;
        margin-top: 152px;
        height: auto;
    }
    x-layout.homelayout section#cover .cover-fragment {
        width: 80%;
        margin: auto;
    }
    .homelayout:before{content: none; }
  }
  