/* -----GLOBAL STYLES----- */
/* https://stackoverflow.com/questions/24322599/why-cannot-change-checkbox-color-whatever-i-do */
:root {
  --main: #8d096b;
  --secondary: #71c8d9;
  --white: #faf7fb;
  --light-grey: #ece9ed;
  --grey: #c0b6bd;
  --dark-grey: #7c767e;
  --black: #291825;
  --padding-cta: 16px 24px; /* 2 pixeles menos que los múltiplos de 8 por los bordes */
  --padding-site:184px;
  --lp-primary-color: #71c8d9;
}

body {margin: inherit;font-family: 'Source Sans Pro', sans-serif;margin-top: 0;
    background: var(--white);overflow-x: hidden;}
h1, h2, h3, h4, h5 {font-family: 'Catamaran', sans-serif;text-transform: uppercase;}

x-layout {
    display: block;overflow-x: hidden;}
h1{font-size: 40px;color:var(--main);margin: 0px;}
p{
  font-size:18px;
}
h4 {
    font-size: 20px;
    font-weight: 400;
    padding-left: 8px;
}
/* CURSO */
.content-item-description.lesson-description details summary h2 {
    display: contents;
}
aside#profile-sidebar {
    display: none;
}
li.orders {
    display: none;
}
.course-price {
    display: none;
}
li.course-nav.course-nav-tab-instructor.active {
    display: none;
}
.lp-profile-nav-tabs li.settings {
    display: none;
}
.learn-press-profile-course__statistic {
    display: none;
}
ul.learn-press-nav-tabs.course-nav-tabs .course-nav-tab-instructor {
    display: none;
}
ul.learn-press-breadcrumb {
    display: none;
}
form.lp-form.form-button.form-button-finish-course {
    display: none;
}
ul.learn-press-profile-course__tab__inner {
    display: none;
}
.course-meta.course-meta-primary {
    display: none;
}
.meta-item.meta-item-lesson::before {
    display: none;
}
.meta-item.meta-item-lesson {
    display: none !important;
}
.meta-item.meta-item-quiz {
    display: none !important;
}a.back-course {
    display: none;
}
.lp_profile_course_progress__item.lp_profile_course_progress__header div:nth-last-child(-n+3) {
    display: none;
}
.lp_profile_course_progress__item div:nth-last-child(-n+3) {
    display: none;
}
.lp_profile_course_progress__item.lp_profile_course_progress__header {
    background: var(--light-grey);
}
#profile-content {
    width: inherit;
    padding-top: 10px;
}
.course-progress {
    display: none !important;
}
.lp-modal-dialog .lp-modal-header {
    background: var(--main);
}
.lp-button {
    padding: 8px;
}
button.lp-button.btn-yes {
    color: var(--white);
    background: var(--secondary);
}
.course-curriculum .section-content .course-item-preview::before {
    background: var(--main);
    /* background: var(--secondary); */
}
.course-curriculum .curriculum-more__button {
    background: var(--black);
}
div#learn-press-item-comments {
    display: none;
}
#popup-course #popup-sidebar .section-header .section-title {
    color: var(--black);
}
.lp-content-area {
    display: flex;
    flex-direction: column-reverse;
}
ul.learn-press-filters li:last-child, ul.learn-press-filters li:first-child {
    display: none;
}
/*aside.course-summary-sidebar {
    top: 300px !important;
}*/
.course-sidebar-secondary {
    display: none;
}
.lp-entry-content.lp-content-area {
    min-height: 700px;
  /*  align-items: center;*/
}
.course-summary-sidebar__inner {
    position: relative !important;
    top: 320px !important;
}

ul.learn-press-breadcrumb {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    margin: 8px;
}
.lp-user-profile {
    background: var(--white);
}
.content-item-description p:not(.codigo-post p) {
    color: #291825 !important;
    font-weight: 400 !important;
}
/*update learnpress fix */
.course-curriculum .section-left .section-title {
    font-weight: 500;
}
.course-curriculum .course-item .item-name {
    font-weight: normal;
}
div#popup-header div h2 {
    margin-bottom: 0px !important;
}

/*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 {
    margin-top: 0;
    margin-bottom: 24px !important;
    font-size: 36px !important;
    line-height: 1.2;
    color: var(--main);
    font-weight: 700;
}
.lesson-description h2 {
    margin-top: 16px !important;
}
h3 {
    margin-top: 16px !important;
    margin-bottom: 24px !important;
    font-size: 24px !important;
    font-weight: 600;
    line-height: 1.2;
}
a,.enl{text-decoration: none;color: var(--main);cursor:pointer;}
.h3 {
    font-size: 16px;
    font-family: 'Catamaran', sans-serif;
    letter-spacing: 0.5px;
    line-height: 21px;
    font-weight: 600;
}
h3.section-title {
    margin: 1.5px !important;
}
h4 {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--dark-grey);
}
h5 {
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: unset !important;
}
.nombre {
    left: 200px;
    position: absolute;
    display: flex;
    justify-content: space-around;
    font-family: 'Catamaran';
    font-size: 40px;
    font-weight: 200;
    color: var(--main);
    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(--secondary);
    color: var(--black);
    width: fit-content;
    min-width: 80px;
}
.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;
}*/
p.section-desc {
    text-transform: initial;
}
.section .section-item {
    display: none;
}
.section.closed .section-item {
    visibility: visible;
    display: inline-grid !important;
}
.course-curriculum .section.closed .section-content {
    overflow: auto;
    height: auto;
}
table {
    margin-top: 16px;
    margin-bottom: 16px;
    border-collapse: collapse !important;
    border-spacing: 0px !important;
}
thead {
    background: var(--main);
    color: var(--white);
  /*  display: table-header-group;
    border-collapse: collapse;
    border-spacing: 0px;*/
}
tr#space {
    background: var(--light-grey);
}
.center{
  text-align: center;
}
.margin-0{
  margin: 0;;
}

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

/* navbar*/
  .absolute-navbar {
      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(/wp-content/themes/sanchezdonate/images/complements/triangulo-azul.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);
}
.anuncioalumno {
    padding: 16px;
    width: 600px;
    text-align: center;
    margin: auto;
    border: 8px solid var(--secondary);
    color: var(--black);
    font-weight: 800;
    text-transform: uppercase;
}
 #profilecard {
    max-width: 1200px;
    margin: auto;
    min-height: 300px;
    margin-bottom: 32px;
    border: 1px solid var(--main);
    background: var(--light-grey);
    margin-top: 32px;
}
.profileavatar {
    height: 85px;
    width: 85px;
    background-size: cover;
    border: 1px solid var(--secondary);
    background-position: center;
}
.profilebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--black);
    color: var(--white);
    padding: 8px;
    padding-right: 24px;
    padding-left: 24px;
    border: solid 1px var(--main);
}
.username {
    font-family: 'Catamaran';
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
}
.profilebar a {
    color: var(--white);
    text-decoration: underline;
}
ul#main-navbar a{color: var(--main);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;
}
.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;
}
.padding-vertical {
    padding: 64px var(--padding-site);
}

.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;
    margin-bottom: 20px;
}
.codigo-post pre {
    margin: none;
}
span.bibliography {
    font-size: 14px;
    padding-left: 16px;
    background: url(/wp-content/themes/sanchezdonate/images/complements/triangulo-azul.svg);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: left;
}
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 {
    height: 200px;
    background: var(--main);
    left: 0;
        width: 184px;
    position: absolute;
    top: 0;
    display: flex;
    clip-path: polygon(0 0, 100% 0, 52% 100%, 48% 100%);
    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;
}

.homelayout:before {
    clip-path: polygon(90% 0, 100% 0, 100% 100%, 0 230%);
    background: var(--main);
    content: "";
    position: absolute;
    height: 100vh;
    width: 100%;
    z-index: -10;
}
/*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(https://carlos.sanchezdonate.com/wp-content/themes/sanchezdonate/images/home/carlos-home-mobile.webp);
    height: 300px;
    background-size: cover;
    position: absolute;
        top: 216px;
    /*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 {
    display: flex;
    align-items: center;
}
section.postcover {
    min-height: 35vh;
    height: auto;
    display: flex;
    align-items: center;
    margin-top: 72px;
    justify-content: space-between;
}
.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;
}
section.ficha-post {
    display: flex;
    align-items: flex-start;
  justify-content: space-around;
    margin-bottom: 32px;
    line-height: 24px;
}

.posts-picture {
    width: 350px;
    height: 200px;
    background: var(--grey);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.course-curriculum .section-left .section-title, h3.section-title {
    text-transform: inherit !important;
}
.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;
    font-size: 32px;
    margin-top: 24px;
    font-weight: 800;
    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: #8d096beb;
    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://carlos.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://carlos.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;
}


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;
}
/* 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;
}
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(--black);
    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, .lesson-description ul li  {
    list-style: none;
    background-image: url(/wp-content/themes/sanchezdonate/images/complements/triangulo-azul.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(/wp-content/themes/sanchezdonate/images/complements/triangulo-azul.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 {
    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%,#71c8d9 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://carlos.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)::after {
    padding-right: 1em;
    background-image:url('https://carlos.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: #71c8d9 #ece9ed;
  }

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

  *::-webkit-scrollbar-track {
    background: #ece9ed;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #71c8d9;
  /*  border-radius: 16px;
    border: 4px solid #ece9ed;*/
  }
/* 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;
}
}
@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%);}
    .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://carlos.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://carlos.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;
}


}

@media only screen and (max-width:950px){
  .calendly-close-overlay {
    right: 0;}
  .agruped {
    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;
}
}

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

@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;
}
div#popup-footer {
    left: 0 !IMPORTANT;
}
}
@media only screen and (max-width:494px) {

  .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 {
    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: 40px;
}
.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: 300px;
}
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#post-display {
      max-width: 280px;
  }
}
@media only screen and (max-width:500px) {
  .popup-header__inner {
      display: none !important;
  }
}
section.blogcover {
    min-height: 100px;
    margin-bottom: 40px;
}
@media only screen and (max-width:800px) {
  section.blogcover {
      min-height: auto;
      height: 150px!important;
      margin-bottom: 40px;
      margin-top: -70px;
  }
  .anuncioalumno {
    width: 300px;
}
nav.profilebar {
    display: flex;
    flex-direction: column;
    align-items: center;
}
div#profilecard {
    margin-left: 5px;
    margin-right: 5px;
}
.profileavatar {
    border-radius: 80px;
}
ul.learn-press-filters {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.entry-content-left {
    display: none;
}
.course-summary-sidebar__inner {
    margin-top: -280px;
}
}
@media only screen  and (max-width:300px) {
  section.blogcover {
    height: 100px !important;
    margin-top: -30px !important;
}
.anuncioalumno {
    width: 150px;
}
.cover-fragment-blog {
    width: 100%;
}
.lp_profile_course_progress__item.lp_profile_course_progress__header {
    display: flex;
    justify-content: center;
}
div#learn-press-content-item {
    margin-top: 40px;
}
}
.course-item-nav .prev a, .course-item-nav .next a {
    color: var(--secondary) !important;
    font-size: 22px !important;
    font-weight: 600;
    border-bottom: 2px solid var(--main);
    height: 45px;
}

summary {
    background: var(--secondary);
    margin: 25px 0px;
    padding: 20px;
    cursor:pointer;
}
summary::marker {
    content: '';
}

details {
  margin: 1rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--secondary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

details[open] {
  background-color: var(--secondary);
}

/* Título del desplegable */
summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--main); /* morado */
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

summary::-webkit-details-marker {
  display: none;
}

/* Flecha decorativa */
summary::after {
  content: "▼";
  font-size: 1rem;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(-180deg);
}

/* Contenido interior */
details > ul {
  margin: 0;
  padding: 0 1.5rem 1.2rem;
  background-color: var(--light-grey);
  color: var(--black);
  font-size: 1rem;
  border-top: 1px solid rgba(255,255,255,0.4);
  animation: fadeIn 0.3s ease;
}

/* Animación suave */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}