/*
 Theme Name:  generaciontalento Child
 Theme URI:   https://www.elegantthemes.com/gallery/divi/
 Description: Generaciontalento Theme
 Author:   Pardebits
 Author URI:  https://www.pardebits.es
 Template:generaciontalento
 Version:  1.0.0
*/
 
 
/* =Pardebits Custom
------------------------------------------------------- */
.wpml-ls-statics-footer, .otgs-development-site-front-end{
    display: none!important;
}

html {
    font-size: 12px !important;
}

@media only screen and (min-width: 981px) {
    html {
        font-size: 12px !important;
    }
}

@media only screen and (min-width: 1300px) {
    html {
        font-size: 14px !important;
    }
}

@media only screen and (min-width: 1600px) {
    html {
        font-size: 16px !important;
    }
}

a.dp-dfg-more-button:hover, .entry-title:hover{
    text-decoration: underline;
}

strong, b, #top-menu li a, .et_search_form_container input, .et_pb_slide_description .et_pb_slide_title {
  font-weight: 500!important; /* o el que prefieras */
}


.border0{
    border: 0!important;
}

.resetButtonStyle{
    background-color: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.flex{
    display: flex;
}

.align-items-center{
    align-items: center!important;
}

.align-items-bottom{
    align-items: flex-end!important;
}

.justify-content-end{
    justify-content: flex-end!important;
}

.direction-column{
    flex-direction: column;
}

.resetLineHeight{
    line-height: 0!important;
}

.noBorderRadius{
    border-radius: 0!important;
}

body #top-menu li a {
    font-size: 1.25rem;
}

body .et_pb_button {
    font-size: 1.2rem;
}


/* 0. General */
.et_pb_row,.container {
    width: 90%!important;
    max-width: 90%!important;
}

#main-header{
    box-shadow: none;
}

b{
    font-family: 'Helvetica Neue Bold';
}

.cabecera-fullscreen-title-white{
    padding-bottom: 0px!important;
}

@media (max-width: 980px) {
    .cabecera-fullscreen-title-white.height-24rem {
        height: 12rem;
    }
}


.cabecera-fullscreen-title-white::before{
    content: '';
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0 0 0) 150%) !important;
}

.cabecera-fullscreen-title-white.no-shadow::before{
    display:none!important;
}

#et-top-navigation{
    padding-left: 0px!important;
}

.menu-footer a{
    font-size: var(--font-size-md);
    padding-bottom: 20px!important;

}

.font-size-md p, .font-size-md a, .font-size-md li{
    font-size: var(--font-size-md)!important;
}

@media only screen and (min-width: 1950px) {
    .et_block_row {
        padding: 40px!important;
    }
}

.menu-footer ul{
    flex-direction: column;
}

#et-secondary-menu > ul > .wpml-ls-item{
    margin-left: -20px;
}
#et-secondary-menu .wpml-ls-item{
    padding: 0 20px!important;
}

#et-secondary-menu .wpml-ls-item .sub-menu{
    width: auto;
}

.esquina-blanca-topLeft::before{
    width: 0;
    height: 0;
    border-top: 40px solid var(--color-white);
    border-right: 40px solid transparent;
    content: '';
    left: -1px;
    position: absolute;
    top: -1px;
}

.et-fixed-header #top-menu .popup-acceso a{
    color: var(--color-white)!important;
}


@media (max-width: 980px) {
    .et_pb_section {
        padding: 20px 0;
    }
    .et_header_style_left #et-top-navigation .mobile_menu_bar{
        top:24px;
    }
    body.et_fixed_nav.et_secondary_nav_enabled #main-header {
        top: 30px;
        position: fixed;
    }
    header .et_mobile_menu {
        position: absolute;
        left: 0;
        padding: 0;
        background: #fff;
        width: 100%;
        visibility: visible;
        opacity: 1;
        top: 76px;
        display: none;
        z-index: 9999;
        border-top: 3px solid #e64b38 !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
        -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
        -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    }
    header .et_mobile_menu  li{
        margin-bottom: 0;
    }
    header .et_mobile_menu li a{
        padding: 20px!important;
    }
    header .et_mobile_menu  li.menu-item-object-wpml_ls_menu_item{
        display: flex;
        justify-content: center;
    }
    /* X icon in expanded mobile menu */
    header  .mobile_nav.opened .mobile_menu_bar:before {
        content: '\4d';
    }
    /* Center-align moble menu items */
    header .et_mobile_menu li {
        text-align:center !important;
    }      
    header .et_mobile_menu li li,header .et_mobile_menu li ul {
        padding-left:0 !important;
    }
    /* Make mobile menu fullwidth */
    header .et_mobile_menu {
        min-width: 100vw;
        margin-left: -5vw;
    }
    /* Make the mobile menu full height */
    header .et_mobile_menu {
        min-height:100vh !important;
        min-height: -webkit-fill-available;
    }
    html {
        height: -webkit-fill-available;
    }
    /* Remove the animation to avoid delay */
    header .mobile_nav.opened .et_mobile_menu {
        display:block !important;
    }

    footer .menu-footer .et_mobile_nav_menu .et_mobile_menu {
        display: none;
    }

    footer .menu-footer div{
        display: block!important;
    }

    footer .et_pb_menu__wrap{
        -webkit-box-pack: start!important;
        -ms-flex-pack: start!important;
        justify-content: flex-start!important;
    }
    footer .mobile_menu_bar {
        display: none;
    }    
}

@media (min-width: 981px) {
    .home.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container{
        padding-top: 0px!important;
    }
    .home #main-header.et-fixed-header{
        background: var(--color-white)!important;
    }

    .home #main-header {
        background: linear-gradient(0deg, rgb(255 255 255 / 0%) 0%, rgb(255 255 255) 100%) !important;
        box-shadow: none !important;
    }

    .home #page-container{
        padding-top: 0px!important;
        margin-top: 0px !important;
    }

    .et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover {
        padding: 1em 2em !important;
    }

    .et_pb_button.hover-solid:hover{
        background-color: var(--color-salmon)!important;
        color: var(--color-white)!important;
    }

    body.et_header_style_left #et-top-navigation nav>ul>li>a, body.et_header_style_split #et-top-navigation nav>ul>li>a, body.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a {
        padding-bottom: 0px;
    }
    
    body.admin-bar.et_fixed_nav.et_secondary_nav_enabled #main-header {
        top:32px!important;
    }
    #et-secondary-nav li{
        border-right: 1px solid #000;
        padding-right: 20px;
    }

    #et-secondary-nav li:last-child{
        border-right: 0;
        padding-right: 0;
    }

    #et-secondary-nav li a{
        padding: .2em!important;
    }
    #fila-menu-footer .et_pb_column_1_6.custom-width-column1footer{
        width: 21%;
    }
    #fila-menu-footer .et_pb_column_1_6 .et_pb_module{
        margin-bottom:30px;
    }
}

.menu-redes-sociales-footer .et_pb_menu__wrap{
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

/* 1 .Seccion slider */

.slider-fullscreen-card .et_pb_row{
    width: 100%!important;
    max-width: 100%!important;
}

.slider-fullscreen-card .et-pb-controllers{
    display: none;
}

.slider-fullscreen-card .et_pb_slider_container_inner{
    vertical-align: bottom;
}

.slider-fullscreen-card .et_pb_slide{
    height: 80vh;
}

.slider-fullscreen-card .et_pb_slide .et_pb_container{

}

.slider-fullscreen-card .et_pb_slide .et_pb_container .et_pb_slide_description{
    float: right;
    background: var(--color-white);
    padding: 20px!important;
    margin-bottom: 40px;
    position: relative;
    /* add a top left transparent corner using clip-path */
    clip-path: polygon(7% 0%,100% 0%,150% 100%,0% 100%,0% 18%);
      -webkit-clip-path: polygon(7% 0%,100% 0%,150% 100%,0% 100%,0% 18%);
}

/* media for desktop */
@media (min-width: 981px) {
    .slider-fullscreen-card .et_pb_slide .et_pb_container .et_pb_slide_description{
        width: 42%;    
        right: 70px;
        padding: 40px!important;
    }
}
@media (max-width: 980px) {
    .et-pb-arrow-next, .et-pb-arrow-prev {
        top:40%;
    }
}

.slider-fullscreen-card .et_pb_slide .et_pb_container .et_pb_slide_description::after{
    content: '';
    display: block;
    width: 30px;
    height: 80%;
    margin-left: 20px;
    background-color: var(--color-salmon);
    position: absolute;
    right: -40px;
    bottom: 0px;
}

.slider-fullscreen-card .et_pb_slide .et_pb_container .et_pb_slide_description h2{
    color: #000!important;
    font-size: 1.4rem;
    text-align: left;
    text-shadow: none;
}

.slider-fullscreen-card .et_pb_slide .et_pb_container .et_pb_slide_description h2 a{

}

.slider-fullscreen-card .et_pb_slide .et_pb_container .et_pb_slide_description .et_pb_button_wrapper{
    text-align: left;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slider-fullscreen-card .et_pb_slide .et_pb_container .et_pb_slide_description .et_pb_button_wrapper .count-slide{
    font-family: 'Helvetica Neue Light';
    color: #000;
    font-size: 2.4rem;
    display: inline-block;
    float: right;
    text-shadow: none;
}

.slider-fullscreen-card .et_pb_slide .et_pb_container .et_pb_slide_description .et_pb_button_wrapper a{
    color: #000;
    margin-top: 0;
    font-size: 1.2rem;
}

/* 2 .Seccion patronos */


/* 3 .Seccion testimonios */

.icono-quote-top::before,.box-style-testimonios .dp-dfg-custom-content::before{
    content: '';
    height: 60px;
    width: 60px;
    background: url(images/quote.svg) no-repeat;
    display: block;
    margin-bottom: 20px;
}


.box-style-testimonios article{
    height: 540px;
    padding: 0;
    grid-auto-rows: auto!important;
    padding: 0!important;
    align-items: end!important;
    border:0!important;
} 

@media (min-width: 981px) {
    .box-style-testimonios article{
        height: 495px;
    }
}

.box-style-testimonios article .dp-dfg-image{
    position: absolute!important;
    width: 100%;
    height: 100%;
    margin: 0;    
}

.box-style-testimonios article .dp-dfg-image img{
    object-fit: cover;
    height: 100%;
}

.box-style-testimonios article .dp-dfg-image::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
}

.box-style-testimonios .dp-dfg-custom-content{
    padding: 30px!important;
    color: var(--color-white);
}

.box-style-testimonios .dp-dfg-custom-content .dp-dfg-cf-datos_testimonio_nombre_y_apellidos{
    padding-bottom: 0;
}

.box-style-testimonios .dp-dfg-custom-content .dp-dfg-cf-datos_testimonio_nombre_y_apellidos span{
    font-size: var(--font-size-xl);
    font-family: 'Helvetica Neue Bold';
}

.box-style-testimonios .dp-dfg-custom-content .dp-dfg-cf-datos_testimonio_cargo span{
    font-size: var(--font-size-lg);
    display: block;
}

.box-style-testimonios article:hover .contenido-hover{
    display: block;
}

.box-style-testimonios article:hover .dp-dfg-image::before{
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(230 75 56) 80%)!important;
}

.box-style-testimonios article:hover .dp-dfg-cf-datos_testimonio_nombre_y_apellidos, .box-style-testimonios article:hover .dp-dfg-cf-datos_testimonio_cargo{
    display:none;
}

@media (min-width: 981px) {
    .contenido-hover{
        display: none;
    }
}

@media (max-width: 980px) {
    #grid-testimonios .dp-dfg-container{
        display: block;
    }
}

/* 4 .Seccion pasos */
#seccion-pasos .et_pb_row_4col .et_pb_column:hover .icono-pasos{
    top: -20px;
}

#seccion-pasos .et_pb_row_4col .et_pb_column .icono-pasos{
    top: 0px;
    transition: top 0.5s;
}

/* 5 .Seccion recursos */
.icono-asterisco-top::before{
    content: '';
    height: 60px;
    width: 60px;
    background: url(images/asterisco.svg) no-repeat;
    display: block;
    margin-bottom: 30px;
}

.accordion .accordion-item{
    border-bottom: 1px solid var(--color-salmon);
}
.accordion .accordion-header{
    padding: 20px;
    cursor: pointer;
}
.accordion .accordion-header:hover button{
    margin-left: 10px;
    
}

.accordion .accordion-header::after{
    content: '+';
    font-size: var(--font-size-xl);
    float: right;
    color: var(--color-salmon);
    font-family: 'Helvetica Neue Light';
    font-weight: lighter;
}

.accordion .accordion-header.active::after{
    content: '-';
}

.accordion .accordion-header button{
    margin-left: 0px;
    transition: margin-left 0.5s;
    text-align: left;
    width: 90%;
}

.accordion .accordion-header img + button{
    width: 80%;
}

.accordion .accordion-collapse{
    padding: 0px 20px 20px 20px
}

/* 6. Seccion contadores home */

#seccion-contador .percent-value, #seccion-contador .simbolo{
    font-size: var(--font-size-highlight);
    font-family: 'Helvetica Neue Bold';
}

#seccion-contador .percent-value::before{
    content: '+';
    font-size: var(--font-size-highlight);
    margin-right: 10px;
}

#seccion-contador h3.title{
    font-size: var(--font-size-xl);
    font-family: 'Helvetica Neue Bold';
}

#seccion-contador #simbolo-infinito-contador .percent{
    height: 72px;
    margin-bottom: 20px;
}

/* 7. Seccion noticias */

.box-style-news .dp-dfg-layout-grid .dp-dfg-image{
    grid-row: auto;
    margin: 0 -3em;
    margin-top: auto;
}


.box-style-news .dp-dfg-layout-grid article.dp-dfg-item{
   background-color: var(--color-salmon-light);
   padding: 10px 30px 0 30px;
   border: 0;
   display: flex;
   flex-direction: column;
}

.box-style-news .dp-dfg-layout-grid article.dp-dfg-item::before{
    width: 0;
    height: 0;
    border-top: 40px solid var(--color-white);
    border-right: 40px solid transparent;
    content: '';
    left: -1px;
    position: absolute;
    top: -1px;
}

.box-style-news .dp-dfg-skin-default .dp-dfg-header h2.entry-title {
    font-size: var(--font-size-news-title);
}

.box-style-news .dp-dfg-skin-default .dp-dfg-content{
    font-size: var(--font-size-news-p);
}

.box-style-news .dp-dfg-meta{
    font-size: var(--font-size-news-p);
    margin-bottom: 10px;
}

.box-style-news .dp-dfg-layout-grid .dp-dfg-meta,.box-style-news .dp-dfg-layout-grid .read-more-wrapper{
    text-align: right;
}

.box-style-news .dp-dfg-layout-grid .read-more-wrapper a{
    border:0;
    padding-right: 0!important;
    font-family: 'Helvetica Neue Bold';
    font-size: var(--font-size-news-p);
}

.box-style-news .dp-dfg-layout-grid .read-more-wrapper a:hover{
    background-color: transparent!important;
}

/* 8. Seccion frase destacada home */

#frase-destacada-portada b{
    background-color: var(--color-white);
    color: var(--color-black)!important;
}

/* 9. Sección Banner informativo - El programa */

.slider-half-fullspace .et_pb_slide_image{
    margin: 0!important;
}

.slider-half-fullspace .et_pb_slide_description{
    display:none;
}

.slider-half-fullspace .et_pb_slide {
    padding: 0!important;
}

.slider-half-fullspace img{
    object-fit: cover;
    height: 100%;
    width: 100%;
    max-height: 100% !important;
}

.slider-half-fullspace div{
    height: 100%!important;
}

/* 10. Sección Noticias de página Noticias */

.box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child{
    padding-top: 0px;
    background-color: var(--color-salmon-medium);
}

#grid-noticias-pagina-noticias .dp-dfg-overlay{
    display:none!important;
}

@media (max-width: 980px) {
    .box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child #titulo-noticias{
        position: absolute;
        top: 10%;
        left: 30px;
    }
}

@media (min-width: 981px) {
    .box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item{
        padding-bottom: 30px;
    }

    .box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item > div{
        width: 50%;
        z-index: 1;
    }

    .box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item figure{
        position: absolute!important;
        width: 50%;
        height: 100%;
        right: 0;
        top: 0;
    }

    .box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item .read-more-wrapper{
        text-align: left;
    }
    
    .box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item .read-more-wrapper a{
        padding-left: 0!important;
    }

    .box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child{
        height: 660px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child figure{
        z-index: 0;
        left: 30px;
        width: 100%;
    }
}



.box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child figure{
    order:-1;
}

.box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child figure::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0) 20%, rgb(230 75 56 / 81%) 100%) !important;
}

.box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child figure::after{
    width: 0;
    height: 0;
    border-top: 40px solid var(--color-white);
    border-right: 40px solid transparent;
    content: '';
    left: -1px;
    position: absolute;
    top: -1px;
}

.box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child > div, 
.box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child h2, 
.box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child a{
    color: var(--color-white);
    height: 100%;
    position: relative;
    display: block;
}

.box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child a img{
    height: 100%;
    object-fit: cover;
}

.box-style-news.list-style .dp-dfg-layout-grid article.dp-dfg-item:first-child h2{
    font-size: var(--font-size-xxxl);
    line-height: var(--font-size-xxxl);
}

/* sección banner comunidad GT */

.container-banner-comunidadgt{
    margin-bottom: 2em;
}

@media (min-width: 981px) {
    .container-banner-comunidadgt{
        grid-column: span 3;
        margin-bottom: 0;
    }
}

/* seccion acceso mentores */

#section-iframe-loginApp{
    background: #f1f5f8;
    margin-top: -9.1em;
}

#section-iframe-loginApp iframe{
    width: 100%;
    height: 580px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 981px) and (max-width: 1280px){
    #logo{
        max-height: 50%;
    }
    .et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover {
        padding: 1em 1em !important;
    }
}


#patronos-carousel .item{display: flex;align-items: center; justify-content: center;}
#patronos-carousel .owl-item{    height: 80px;  display: flex;justify-content: center;}
#patronos-carousel .owl-item a{display: block;}
#patronos-carousel .item img{max-height: 100px; width: auto;}


/* screenshot youtube */

.yt-lite{
  position:relative;
  cursor:pointer;
  max-width:100%;
  aspect-ratio:16/9;
  background:#000;
  border-radius:12px;
  overflow:hidden;
}
.yt-lite img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.yt-play{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
}
.yt-play:before{
  content:"";
  width:72px;
  height:72px;
  border-radius:999px;
  background:rgba(0,0,0,.55);
}
.yt-play:after{
  content:"";
  width:0;height:0;
  border-left:22px solid #fff;
  border-top:14px solid transparent;
  border-bottom:14px solid transparent;
  margin-left:6px;
  position:absolute;
}

body.et_fixed_nav.et_secondary_nav_enabled #main-header {
    top: 0px!important;
}

/* estilo mensaje confirmacion wpform */
.wpforms-confirmation-container-full p{
    color:#FFF!important;
}
div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    background: #e38b80!important;
    border: 1px solid #e64b38!important;
    box-sizing: border-box;
    color: #FFF;
}