/**
 * Theme Name:     GeneratePress Child
 * Author:         Tom Usborne
 * Template:       generatepress
 * Text Domain:	   generatepress-child
 * Description:    GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
 */

/* FONT */
h1, h2, h3, h4, h5 {
    font-family: Montserrat;
    padding: 0px;
}
p, ul, li {
    font-family: Montserrat;
    padding: 0px;
}

#ez-toc-container li {
    font-size: 100% !important;
}

/* Soure code widget font family */
.wp-block-code code {
    font-family: "Fira Code";
    font-size: 0.85em;
}


/*****************************************************************************/
/*                           HOMEPAGE PAGE-HERO STYLES                       */
/*****************************************************************************/
body.home  div.page-hero {
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0px;
    height: 600px;
}
body.home div.page-hero .inside-page-hero {
    height: 100%;
    width: 100%;
    max-width: none !important;
    display: flex;
    justify-content: center;  /* Alinea horizontalmente */
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}
body.home div.page-hero .inside-page-hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://academy.detektia.com/wp-content/uploads/curso-insar-detektia.jpg') no-repeat center;
    background-size: cover;
    transform-origin: center;
    transform: scale(2);
    z-index: -1;
    pointer-events: none;
}

body.home div.page-hero h1,
body.home div.page-hero p {
    font-family: Montserrat;
    color: white;
    letter-spacing: 4px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

body.home div.page-hero h1 { /* main title */
    font-weight: 600;
}
body.home div.page-hero div.tribe-compatibility-container h3 {
    display: none;
}
body.home div.page-hero div.tribe-compatibility-container time {
    justify-content: center;
}
body.home div.page-hero div.tribe-compatibility-container time * {
    color: white;
}

@media only screen and (max-width : 768px) {
    body.home div.page-hero .inside-page-hero {
        padding: 0px 1em;
    }
    body.home div.page-hero h1 {
        padding-top: 60px;
        font-size: 2.3em;
        margin-bottom: 0px;
        padding-bottom: 60px;
    }
}

@media only screen and (min-width : 768px) and (max-width : 1250px) {
    body.home div.page-hero .inside-page-hero {
        padding: 0px 1em;
    }
    body.home div.page-hero h1 {
        font-size: 2.5em;
        margin-bottom: 0px;
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

@media only screen and (min-width : 1250px) {
    body.home div.page-hero h1 {
        font-size: 3em;
        margin-bottom: 20px;
    }
    body.home div.page-hero p#countdown-title {
        font-size: 1.5em;
        margin-bottom: 20px;
        font-weight: bold;
    }
    body.home div.page-hero .inside-page-hero:before {
        animation: home-page-hero-zoom-out 8s both;
    }    
    @keyframes home-page-hero-zoom-out {
        0% {
            transform: scale(1.4);
        }
        100% {
            transform: scale(1);
        }
    }
}
/*****************************************************************************/
/*                         END HOMEPAGE PAGE-HERO STYLES                     */
/*****************************************************************************/





/*****************************************************************************/
/*                               HOMEPAGE STYLES                             */
/*****************************************************************************/
body.home .site-content {
    background-color: white;
}

body.home .site-content p {
    font-size: 1.2em;
}

body.home .generate-back-to-top {
    display: none;
}

body.home h1.title,
body.home h2.title,
body.home p.title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2em;
    text-transform: none;
}

body.home h1.title::after,
body.home h2.title::after,
body.home p.title::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    margin-top: 0.5em;
    background-color: #000000;
    margin-left: auto;
    margin-right: auto;
}

body.home .second-title,
body.home .second-title {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

body.home .course-section {
    margin: 2em 0px;
    padding: 2em 1em;
}

body.home .course-section .wp-block-column {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

body.home .footer-widgets-container {
    padding: 40px 40px 100px 40px !important;
}

body.home .newsletter-cta {
    background-color: #fdecb5;
    padding: 1.25em;
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
    border-radius: 5px;
}

/* 1ST SECTION: MAIN FEATURES */
body.home .main-features {
    gap: 0px;
}

body.home .main-features .wp-block-column {
    padding: 1em;
}

body.home .main-features .wp-block-column:nth-child(1) {
    background-color: #fce69c;
}

body.home .main-features .wp-block-column:nth-child(2) {
    background-color: #fbd96a;
}

body.home .main-features .wp-block-column:nth-child(3) {
    background-color: #facd38;
}

body.home .main-features .wp-block-column:nth-child(4) {
    background-color: #f9c006;
}

body.home .main-features .wp-block-column:nth-child(5) {
    background-color: #edb806;
}

body.home .main-features .wp-block-column p:nth-child(1) {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 0.5em;
}

body.home .main-features .wp-block-column ul {
    margin-bottom: 0px;
    margin-left: 15px;
}

body.home ol.detektia-ordered-list li::before {
    background-color: #edb806 !important;
}

/* HERRAMIENTAS Y RECURSOS */
body.home .herramientas-recursos .tool {
    margin-bottom: 3em;
}

/* EQUIPO FORMADOR */
body.home .equipo-formador {
    margin: 2em 0px;
    padding: 2em 1em;
}

body.home .equipo-formador .wp-block-column {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

body.home .equipo-formador .wp-block-column h2,
body.home .equipo-formador .wp-block-column .desc {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

body.home .equipo-formador .teacher {
    padding: 1em;
    border: 1px solid #f0f2f3;
    border-radius: 5px;
    margin-bottom: 2em;
}

body.home .equipo-formador .teacher.hide {
    border: 0px !important;
}

body.home .equipo-formador .teacher img {
    border-radius: 50%;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

body.home .equipo-formador .teacher p:nth-child(2) {
    margin-top: 10px;
    margin-bottom: 1em;
}

body.home .equipo-formador .teacher p:nth-child(3) {
    font-size: 0.8em;
    margin-bottom: 0px;
    margin-top: 0px;
}

/* FORMATO CURSO */
body.home .formato-curso p:last-child() {
    margin-bottom: 0px;
}

/* MODULOS DEL CURSO */
body.home .modulos-curso {
    margin: 2em 0px;
    padding: 2em 1em;
}

body.home .modulos-curso .wp-block-column {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

body.home .modulos-curso .wp-block-column p.title {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

body.home .modulos-curso .wp-block-column .modulo {
    padding: 4em 1em;
}

body.home .modulos-curso .wp-block-column .modulo h3 {
    font-size: 1.4em;
}

body.home .modulos-curso .wp-block-column .modulo .featured-image-left {
    border: 15px solid #f0f2f3;
    transform: rotate(-2deg);
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19) !important;
}

body.home .modulos-curso .wp-block-column .modulo .featured-image-right {
    border: 15px solid #f0f2f3;
    transform: rotate(2deg);
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19) !important;
}

/* SUSCRIPCIÓN NEWSLETTER */
body.home .suscripcion-newsletter {
    margin-bottom: 0px !important;
}

body.home form input[type="submit"] {
    background-color: #edb806;
}

/* FOOTER MENU */
body.home #curso-insar-footer-nav-menu {
    background-color: #facd38;
    position: fixed;
    z-index: 999999;
    width: 100%;
    min-width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px 0px 4px 0px;
    border-top: 1px solid #9aa0a7;    
    display: none;
}

body.home #curso-insar-footer-nav-menu * {
    margin: 0px;
    padding: 0px;
}

body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div {
    webkit-box-flex: 1;
    -ms-flex: 1 0;
    flex: 1 0;
    text-align: center;
}

body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div a {
    color: #333333;
}

body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div a,
body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div a * {
    text-decoration: none !important;
}

body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div a:hover {
    text-decoration: none;
}

body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div a:focus {
    outline: 0;
    text-decoration: none;
}

body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div a span.dashicons {
    font-size: 1.7em;
    margin-bottom: 10px;
}

body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div a span:nth-child(2),
body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div a span:nth-child(3) {
    display: block;
    font-size: 0.8em;
}

body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div {
    border-right: 1px solid white;
}

body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div:last-child() {
    border-right: 0px !important;
}

body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner #info-button .full-v {
    display: none;
}

@media only screen and (max-width : 768px) {
    body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div:nth-child(1) {
        display: none;
    }
}

@media only screen and (min-width : 1500px) {

    body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div a span:nth-child(2),
    body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner>div a span:nth-child(3) {
        font-weight: bold;
        letter-spacing: 3px;
    }

    body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner #info-button .short-v {
        display: none;
    }

    body.home #curso-insar-footer-nav-menu div.curso-insar-footer-nav-menu-inner #info-button .full-v {
        display: block;
    }
}

/* ACCORDION */
body.home div.simple-accordion {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

body.home div.simple-accordion>div.title {
    padding: 10px 7px;
    background-color: #f0f2f3;
    font-weight: bold;
}

body.home div.simple-accordion>div.title:hover {
    cursor: pointer;
}

body.home div.simple-accordion>div.title>p {
    font-size: 1.4em;
    margin-bottom: 0px;
    text-align: left;
}

body.home div.simple-accordion>div.title>p>span {
    float: left;
    color: black;
    font-weight: bold;
    margin-right: 10px;
}

body.home div.simple-accordion>div.content {
    font-size: 1.1em;
    display: none;
}

body.home div.simple-accordion>div.content p:last-child {
    margin-bottom: 0px;
}

body.home div.simple-accordion>div.title>p>span.minus {
    display: none;
}

body.home div.simple-accordion>div.title>p>span.plus {
    display: block;
}



/* CONTACT FORM MAIN STYLES */
div.contact-form {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 3em 1em 1em 1em;
}
div.contact-form p.title {
    font-size: 1.5em;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 20px;
}
div.contact-form form > p:nth-child(1) {
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 20px;
}
div.contact-form form > p:nth-child(9) {
    margin-bottom: 0px;
}
div.contact-form .rgpd-layer-1-info {
    background-color: #f3f3f4;
    border: 1px solid #DDD;
}
div.contact-form .rgpd-layer-1-info:hover {
    background-color: #e4e4e7;
}
div.wpcf7 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 1em;
}
div.wpcf7 div.wpcf7-response-output {
    margin-top: 0px;
}
div.wpcf7 input[type='text'],
div.wpcf7 input[type='email'],
div.wpcf7 input[type='textarea'],
div.wpcf7 input[type='submit'] {
    width: 100%;
}
div.wpcf7 input[type='textarea'],
div.wpcf7 textarea {
    max-height: 100px;
}
div.wpcf7 input[type='submit'] {
    background-color: #aaa;
    color: white;
}
div.wpcf7 input[type='submit']:hover {
    background-color: #55555e;
    color: white;
}
@media only screen and (max-width : 1250px) {
    div.contact-form {
        padding: 1em;
    }
    div.contact-form form > p:nth-child(1) {
        font-size: 1.3em;
    }
}
@media only screen and (min-width : 1250px) {
    div.contact-form {
        padding: 3em 1em 1em 1em;
    }
    div.contact-form form > p:nth-child(1) {
        font-size: 2em;
    }
}



/* LOGIN POPUP */
div.ld-login-modal {
    max-width: 760px !important;
}
div.ld-login-modal div.ld-login-modal-branding {
    display: none;
}
body div.learndash-wrapper.learndash-wrapper-login-modal.ld-modal-open {
    height: 5000%;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0px;
    z-index: 100;
}



/* FOOTER */
div.site-footer,
#footer-widgets {
    background-color: #55555e;
}
#footer-widgets a,
#footer-widgets p,
#footer-widgets .widget-title {
    color: white;
    text-decoration: none;
}
#footer-widgets a:hover {
    text-decoration: underline;
}
#footer-widgets a.dashicons:hover {
    text-decoration: none;
}
@media only screen and (max-width : 768px) {
    #footer-widgets a,
    #footer-widgets p,
    #footer-widgets .widget-title,
    #footer-widgets li {
        text-align: center;
    }
    #footer-widgets .widget-title {
        text-decoration: underline;
        margin-bottom: 10px;
    }
}




/*****************************************************************************/
/*                             SHORTCODE RRSS                                */
/*****************************************************************************/
#rrss-shortcode > div > div {
    width: 32px;
    height: 32px;
}
#rrss-shortcode > div > div a {
    height: 25px;
    width: 25px;    
    background-repeat: no-repeat, repeat;
    display: block;
    background-size: 25px 25px;
}
#rrss-shortcode > div > div a.twitter {
    background-image: url('https://detektia.com/wp-content/uploads/twitter-icon.png');
}
#rrss-shortcode > div > div a.linkedin {
    background-image: url('https://detektia.com/wp-content/uploads/linkedin-icon.png');
}
#rrss-shortcode > div > div a.youtube {
    background-image: url('https://detektia.com/wp-content/uploads/youtube-icon.png');
}
#rrss-shortcode > div > div a.vimeo {
    background-image: url('https://detektia.com/wp-content/uploads/vimeo-icon.png');
}
#rrss-shortcode > div > div a.researchgate {
    background-image: url('https://detektia.com/wp-content/uploads/researchgate.png');
}
#rrss-shortcode > div > div a.twitter-black {
    background-image: url('https://detektia.com/wp-content/uploads/twitter-icon-black.png');
}
#rrss-shortcode > div > div a.linkedin-black {
    background-image: url('https://detektia.com/wp-content/uploads/linkedin-icon-black.png');
}
#rrss-shortcode > div > div a.youtube-black {
    background-image: url('https://detektia.com/wp-content/uploads/youtube-icon-black.png');
}
#rrss-shortcode > div > div a.vimeo-black {
    background-image: url('https://detektia.com/wp-content/uploads/vimeo-icon-black.png');
}
#rrss-shortcode > div > div a.researchgate-black {
    background-image: url('https://detektia.com/wp-content/uploads/researchgate-icon-black.png');
}
#rrss-shortcode > div > div a.upm-black {
    background-image: url('https://detektia.com/wp-content/uploads/upm-icon-black.png');
}
@media only screen and (min-width : 768px) {
    #rrss-shortcode > div > div {
        float:left;
        margin-right: 10px; 
    }
    #rrss-shortcode > div > div a {
        margin-right: 20px;
    }
}
@media only screen and (max-width : 768px) {
    #rrss-shortcode > div {
        width: 75px;
        margin-left: auto;
        margin-right: auto;
    }
    #rrss-shortcode > div > div {
        margin-bottom: 10px;
    }
    #rrss-shortcode > div > div,
    #rrss-shortcode > div > div a {
        margin-left: auto;
        margin-right: auto;
    }
}
/*****************************************************************************/
/*                           END SHORTCODE RRSS                              */
/*****************************************************************************/


/* EN PÁGINAS DE MÓDULOS OCULTAR TARJETA CUESTIONARIOS */
body.sfwd-lessons-template-default article div.entry-content div.ld-lesson-topic-list div.learndash-complete,
body.sfwd-lessons-template-default article div.entry-content div.ld-lesson-topic-list div.learndash-incomplete {
    display: none;
}

/* EN PÁGINAS DE MÓDULOS, CF ASSIGNMENT DESCRIPTION STYLE */
body.sfwd-lessons-template-default article div.entry-content .learndash-wrapper .ld-table-list .ld-table-list-item-preview {
    display: block;
}

/* EN PÁGINAS DE MÓDULOS OCULTAR ÍNDICE DE LECCIONES */
body.sfwd-lessons-template-default article div.entry-content div.ld-lesson-topic-list {
    display: none;
}

/* ESTILOS PESTAÑAS INDICE LECCIONES Y CUESTIONARIOS EN PÁGINA DEL MÓDULO DEL CURSO */
body.sfwd-lessons-template-default article div.entry-content [id^="ld-tab-detektia-lessons-index-tab-"] div.ld-item-list,
body.sfwd-lessons-template-default article div.entry-content [id^="ld-tab-detektia-lessons-index-tab-"] .ld-course-list-items > .learndash-wrapper:nth-child(1) > div.ld-item-list > .ld-item-list-item,
body.sfwd-lessons-template-default article div.entry-content [id^="ld-tab-detektia-quizzes-tab-"] div.ld-item-list,
body.sfwd-lessons-template-default article div.entry-content [id^="ld-tab-detektia-quizzes-tab-"] .ld-course-list-items > .learndash-wrapper:nth-child(1) > div.ld-item-list > .ld-item-list-item {
    margin-top: 0px !important;
}

/* ESTILOS DE PÁGINA PRINCIPAL DEL CURSO Y LECCIONES */
body.sfwd-courses-template-default article div.ld-course-status,
body.sfwd-lessons-template-default article div.ld-lesson-status,
body.sfwd-topic-template-default article div.ld-lesson-status {
    display: none !important;
}
body.sfwd-courses-template-default article h1,
body.sfwd-lessons-template-default article h1,
body.sfwd-topic-template-default article h1 {
    font-weight: bold;
    font-size: 1.3em;
    text-transform: uppercase;
}
body.sfwd-courses-template-default article h1:before,
body.sfwd-lessons-template-default article h1:before,
body.sfwd-topic-template-default article h1:before {
    content: '';
    display: block;
    width: 1.2em;
    height: 2px;
    background-color: #000;
    margin-bottom: 0.25em;
}
body.sfwd-courses-template-default article div.entry-content,
body.sfwd-lessons-template-default article div.entry-content,
body.sfwd-topic-template-default article div.entry-content {
    margin-top: 20px;
}
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tablist'],
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tablist'],
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tablist'] {
    background-color: #0e86be;
    border-radius: 6px 6px 0px 0px;
}
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tablist'] button,
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tablist'] button.ld-active,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tablist'] button,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tablist'] button.ld-active,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tablist'] button,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tablist'] button.ld-active {
    padding: 24px !important;
    color: white !important;
    border-radius: 6px 0px 0px 0px;
}
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tablist'] button.ld-active:after,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tablist'] button.ld-active:after,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tablist'] button.ld-active:after {
    background: #a2c640 !important;
}
/*body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tabpanel'],*/
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] {
    border: 2px solid #e2e7ed;
    border-top: 0px !important;
    padding: 10px 20px;
    border-radius: 0px 0px 6px 6px;
}
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] h2,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] h2,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] h2 {
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
    text-decoration: underline;
}
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] h3,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] h3,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] h3 {
    font-weight: bold;
    font-size: 1.1em;
    text-transform: uppercase;
}
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] h4,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] h4,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] h4 {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 10px;
}
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] *:last-child,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] *:last-child,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] *:last-child {
    margin-bottom: 0px;
}
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] ul,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] ul,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] ul,
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] ol,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] ol,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] ol {
    margin-left: 20px;
}
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] figure.is-provider-vimeo,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] figure.is-provider-vimeo,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] figure.is-provider-vimeo,
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] figure.is-provider-youtube,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] figure.is-provider-youtube,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] figure.is-provider-youtube {
    margin-bottom: 1.5em;
}
body.sfwd-courses-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] img,
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] img,
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] img {
    margin-bottom: 1.5em !important;
    border-radius: 4px;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, .2), 0 6px 8px 0 rgba(0, 0, 0, .19) !important;
}
body.sfwd-topic-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] figure.is-type-video.wp-block-embed-vimeo {
    margin-bottom: 4em;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, .2), 0 6px 8px 0 rgba(0, 0, 0, .19) !important;
}
body.sfwd-lessons-template-default article div.entry-content div.ld-tabs div[role='tabpanel'] figure.is-type-video.wp-block-embed-youtube {
    margin-bottom: 2em;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, .2), 0 6px 8px 0 rgba(0, 0, 0, .19) !important;
}
body .video {
    margin-bottom: 2em;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, .2), 0 6px 8px 0 rgba(0, 0, 0, .19) !important;
}
body.sfwd-lessons-template-default .video {
    margin-bottom: 2em;
}
body.sfwd-topic-template-default .video {
    margin-bottom: 4em;
}

/* ESTILOS LECCIÓN 1.7 */
body.postid-579 div.entry-content h2 {
    text-decoration: none !important;
    text-transform: none !important;
    border-top: 1px solid #DDD;
    padding-top: 1em;
    font-size: 1.45em !important;
}
body.postid-579 div.entry-content li {
    margin-bottom: 0.25em !important;
}
body.postid-579 div.entry-content #ez-toc-container {
    margin-bottom: 3em;
}

/*****************************************************************************/
/*                          SIDEBAR DEL CURSO                                */
/*****************************************************************************/
div#left-sidebar aside {
    margin-bottom: 0px;
}
div#left-sidebar aside > p:nth-child(1) {
    display: none;
}

/* TITULO DEL SIDEBAR */
div#left-sidebar aside#block-10 {
    background-color: #0e86be;
    border-radius: 6px 6px 0px 0px;
}
div#left-sidebar aside#block-10 #sidebar-title {
    color: white;
    font-family: Montserrat;
    font-weight: bold;
    font-size: 1.3em;
    text-align: center;
}

/* BARRA DE PROGRESO DEL SIDEBAR */
div#left-sidebar aside#block-9 div.ld-progress.ld-progress-inline {
    margin-top: 0px;
}
div#left-sidebar aside#block-9 div.ld-progress-percentage {
    margin-bottom: 5px;
}

/* CONTENIDO DEL CURSO DEL SIDEBAR */
div#left-sidebar aside#block-8 div.ld-lesson-list div.ld-section-heading div.ld-item-list-actions {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border-bottom: 1px solid #DDD;
}
div#left-sidebar aside#block-8 div.ld-lesson-list div.ld-section-heading div.ld-item-list-actions > div {
    background-color: white !important;
    color: #00a2e8;
}
div#left-sidebar aside#block-8 div.ld-lesson-list div.ld-section-heading > h2 {
    display: none;
}
div#left-sidebar aside#block-8 div.ld-item-list {
    margin-top: 0px;
}
div#left-sidebar aside#block-8 div.ld-lesson-list div.ld-item-list-items div.ld-item-list-item {
    border: 0px !important;
}
div#left-sidebar aside#block-8 div.ld-lesson-list div.ld-item-list-items div.ld-item-list-item div.ld-item-list-item-preview {
    padding: 0px;
}
div#left-sidebar aside#block-8 div.ld-lesson-list div.ld-item-list-items div.ld-item-list-item div.ld-item-list-item-preview div.ld-expand-button span.ld-text {
    display: none;
}
div#left-sidebar aside#block-8 div.ld-table-list-header {
    display: none;
}
div#left-sidebar aside#block-8 div.ld-table-list-items {
    padding: 0px;
}
div#left-sidebar aside#block-8 div.ld-table-list-items div.ld-table-list-item {
    margin: 0px;
}
div#left-sidebar aside#block-8 div.ld-table-list-items {
    background-color: #fafafa;
    padding: 0px 10px;
    border-radius: 3px;
}

/* CALENDARIO */
div#left-sidebar aside#block-13 { /* calendar title */
    margin-top: 20px;
    background-color: #0e86be;
    border-radius: 6px 6px 0px 0px;
}
div#left-sidebar aside#block-13 #sidebar-title {
    color: white;
    font-family: Montserrat;
    font-weight: bold;
    font-size: 1.3em;
    text-align: center;
}
div#left-sidebar aside#block-11 { /* calendar */
    padding-left: 0px;
    padding-right: 0px;
}
div#left-sidebar aside#block-11 > div.widget_tribe-widget-events-month {
    padding: 0px;
}
div#left-sidebar aside#block-11 .tribe-events-calendar-month__day-cell--selected {
    background-color: #a2c640;
}
div#left-sidebar aside#block-11 .tribe-events-calendar-month__day-cell--selected time {
    color: white;
}
/*****************************************************************************/
/*                        END SIDEBAR DEL CURSO                              */
/*****************************************************************************/

/* ESTILO DESCRIPCIÓN DE LA TAREA */
/* la descripción es duplica por algún motivo, ocultar la que se muestra fuera de la caja de la tarea */
div.learndash-wrapper > #detektia-custom-assignment-block {
    display: none;
}
div.ld-assignment-list #detektia-custom-assignment-block p {
    margin: 1em 0px !important;
    font-size: 1.1em !important;
}


/* PAGINA DE CALENDARIO */
body.tribe-events-page-template div.site-content {
    background-color: white;
    margin: 20px 0px !important;
}
body.tribe-events-page-template div.site-content div.tribe-common-l-container.tribe-events-l-container {
    padding: 1em;
}

/* ESTILOS GENERALES PARA PAGINAS DE FOROS */
body.bbpress div.bbp-search-form,
body.bbpress span#subscription-toggle,
body.bbpress span#favorite-toggle,
body.bbpress div.bbp-template-notice {
    display: none;
}
body.bbpress header > h1,
body.bbpress header > h2 {
    font-weight: bold;
    font-size: 1.3em;
    text-transform: uppercase;
}
body.bbpress header > h1:before, 
body.bbpress header > h2:before {
    content: '';
    display: block;
    width: 1.2em;
    height: 2px;
    background-color: #000;
    margin-bottom: 0.25em;   
}
body.bbpress span.ld-bbpress-desc-link {
    display: none;
}
body.bbpress div.entry-content {
    margin-top: 0px;
}
body.bbpress div.bbp-submit-wrapper,
body.bbpress div.bbp-submit-wrapper button {
    width: 100%;
}

/* ARCHIVO DE FOROS */
body.forum-archive div.bbp-breadcrumb {
    display: none;
}
body.forum-archive header {
    margin-bottom: 20px;
}

/* ESTILOS PARA PÁGINA DE FOROS (LISTADO DE DEBATES DE UN FORO) */
body.single-forum header {
    margin-bottom: 20px;
}
body.single-forum div.bbp-breadcrumb {
    display: none;
}
body.single-forum div.bbp-the-content-wrapper {
    margin-bottom: 35px !important;
}
body.single-forum input[name="bbp_topic_subscription"] {
    margin-top: 15px !important;
}
body.single-forum select[name="bbp_stick_topic"],
body.single-forum select[name="bbp_topic_status"] {
    height: 35px !important;
}
body.single-forum label[for="bbp_stick_topic"],
body.single-forum label[for="bbp_topic_status"] {
    margin-bottom: 10px !important;
}
body.single-forum div.bbp-pagination {
    display: none;
}

/* ESTILO PARA PÁGINA DE DEBATE */
body.single-topic div.bbp-pagination {
    display: none;
}
body.single-topic span.bbp-author-name {
    font-size: 11px;
}
body.single-topic .bbp-header div.bbp-reply-author,
body.single-topic .bbp-header div.bbp-reply-content,
body.single-topic .bbp-footer div.bbp-reply-author,
body.single-topic .bbp-footer div.bbp-reply-content {
    display: none;
}
body.single-topic div.bbp-breadcrumb {
    margin: 10px 0px 20px 0px;
    padding: 10px;
    background-color: #f5f9eb;
    border-radius: 3px;
    width: 100%;
}
body.single-topic div.bbp-breadcrumb p {
    margin-bottom: 0px !important;
}
body.single-topic div.bbp-breadcrumb p a.bbp-breadcrumb-home,
body.single-topic div.bbp-breadcrumb p span:nth-child(2) {
    display: none !important;
}

/* SIDEBAR FOROS */
div#left-sidebar aside {
    margin-bottom: 0px;
}
div#left-sidebar aside > p:nth-child(1) {
    display: none;
}
div#left-sidebar aside#nav_menu-4 ul#menu-menu-foro li {    
    border-bottom: 2px solid white;
    background-color: #f5f9eb;
    margin-bottom: 0px;
}
div#left-sidebar aside#nav_menu-4 ul#menu-menu-foro li:hover {
    background-color: #d9e8b0;
    cursor: pointer;
    font-weight: bold;
}
div#left-sidebar aside#nav_menu-4 ul#menu-menu-foro li:last-child {
    border-bottom: 0px !important;    
}
div#left-sidebar aside#nav_menu-4 ul#menu-menu-foro li a {
    text-decoration: none;
    padding: 1em;
    display: block;
    color: black;
}
body.bbpress div#left-sidebar aside#block-12 { /* TITULO DEL SIDEBAR */
    background-color: #0e86be;
    border-radius: 6px 6px 0px 0px;
}
body.bbpress div#left-sidebar aside#block-12 #sidebar-title {
    color: white;
    font-family: Montserrat;
    font-weight: bold;
    font-size: 1.3em;
    text-align: center;
}


/* YOUTUBE IFRAME SHORTCODE STYLES */
div.detektia-youtube {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 3em;
}
div.detektia-youtube>iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, .6), 0 6px 20px 0 rgba(0, 0, 0, .19);
}

/* HIDE RECAPTCHA */
.grecaptcha-badge { 
    visibility: hidden !important;
}

/* SECONDARY NAVIGATION TEST STYLES */
#secondary-navigation {
    background-color: #1b212b;
}
#secondary-navigation > div {
    max-width: none;
}
#secondary-navigation .main-nav {
    width: 100%;
}
#secondary-navigation .main-nav > ul > li:nth-child(1) {
    margin-right: auto;
}
#secondary-navigation .main-nav > ul > li:nth-child(1) a {
    background-color: #1b212b !important;
    color: white !important;
    letter-spacing: 4px;
    font-weight: bold;
    font-size: 1.3em;
}

/* MEGA MENU STYLES (ONLY PC) */
#mega-menu-wrap-primary {
    width: 100%;
    background-color: white;
}
#mega-menu-wrap-primary #mega-menu-primary {
    text-align: center !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li {
    background-color: white;
}
#mega-menu-wrap-primary #mega-menu-primary > li > a {
    background-color: white !important;
    color: #1b212b !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    padding: 0px 15px 0px 15px !important;
    font-weight: bold !important;
    letter-spacing: 3px !important;
}
#mega-menu-wrap-primary #mega-menu-primary li.curso > ul.mega-sub-menu {
    background-color: white !important;
    border-top: 1px solid #DDD !important;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.4);
    display: flex !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    z-index: 10000000;
}
#mega-menu-wrap-primary #mega-menu-primary li.curso > ul.mega-sub-menu > li {
    border-right: 1px solid #DDD !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
#mega-menu-wrap-primary #mega-menu-primary li.curso > ul.mega-sub-menu > li:last-child {
    border-right: 0px !important;
}
#mega-menu-wrap-primary #mega-menu-primary li.curso > ul.mega-sub-menu > li > a {
    font-weight: bold;
    color: #1b212b !important;
    font-size: 14px;
    text-transform: none !important;
    margin-bottom: 1em !important;
}
#mega-menu-wrap-primary #mega-menu-primary li.curso > ul.mega-sub-menu ul.mega-sub-menu {
    padding-left: 5px;
}
#mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu,
#mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu * {
    background-color: white !important;
}
#mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu a {
    color: #1b212b !important;
}
#mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu a:hover {
    text-decoration: underline !important;
}
#mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu .detektia-closed > a,
#mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu .detektia-closed > a * {
    background-color: #ffd200 !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}
#mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu .detektia-closed > a {
    border-radius: 12px !important;
}


/* CHAT FEATURE STYLES */
#ld-tab-discussion-7, 
#ld-tab-discussion-7 div.container {
    padding: 0px;
}
#ld-tab-discussion-7 div.container div.ldgc-instrctor-panel-area {
    border: none !important;
}
#ld-tab-discussion-7 div.container div.ldgc-instrctor-panel-area div.ldgc-comment-box {
    padding: 20px !important;
}

/* ORDERED LIST STYLE */
ol.detektia-ordered-list {
    list-style-type: none;
    padding: 0px !important;
    margin: 0px !important;
}

ol.detektia-ordered-list li {
    counter-increment: step-counter;
    margin: 35px 0px;
    padding: 0 0 0 50px;
    position: relative;
}

ol.detektia-ordered-list li:nth-child(1) {
    margin-top: 0px;
}
ol.detektia-ordered-list li:last-child {
    margin-bottom: 2em !important;
}

ol.detektia-ordered-list li::before {
    background-color: #a2c640;
    content: counter(step-counter);
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 3px;
    display: block;
    position: absolute;
    top: 0px;
    left: 0;
    min-width: 40px;
    padding: 5px 0;
    color: white;
    text-align: center;
}

/* TITULOS DE CUESTIONARIOS */
body.single-sfwd-quiz article div.inside-article h1 {
    font-weight: bold;
    font-size: 1.3em;
    text-transform: uppercase;
}
body.single-sfwd-quiz article div.inside-article h1:before {
    content: '';
    display: block;
    width: 1.2em;
    height: 2px;
    background-color: #000;
    margin-bottom: 0.25em;
}

/* PREGUNTA EN CUESTIONARIOS */
body.single-sfwd-quiz div.wpProQuiz_question_text > p {
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 1px;
    margin-bottom: 0px;
}
body.single-sfwd-quiz p.wpProQuiz_clear {
    display: none;
}

/* PÁGINA DE WEBINARS */
body.page-id-2140 h1 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.6em;
    font-weight: bold;
    text-decoration: underline;
}
body.page-id-2140 h2 {
    font-size: 1.6em;
    font-weight: bold;
}
body.page-id-2140 div.grid-container {
    max-width: 1200px;
}