/*
 Theme Name:   Astra Child
 Theme URI:    http://example.com/astra-child/
 Description:  Astra Child Theme
 Author:       Blobs Diseño gráfico
 Author URI:   https://blobs.com.ar
 Template:     astra
 Version:      1.1.5
*/

/* Aquí puedes agregar tu CSS personalizado */


/* Fondo del menu */

/* 1) Asegura que el header esté en contexto normal */
header#masthead {
    position: relative;
    z-index: 9999; /* que quede por encima del fondo */
    background: transparent !important; /* transparencia del header en sí */
    box-sizing: border-box;
  }
  
  /* 2) Pseudo-elemento que crea el fondo morado de ancho completo */
  header#masthead::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100vw;            /* ancho de toda la ventana */
    height: 100%;            /* la altura del header */
    background-color: #131633; /* tu color morado */
    z-index: -1;             /* detrás del contenido del header */
    pointer-events: none;    /* no interfiere con clicks */
    box-sizing: border-box;
  }
  
  /* 3) En caso de que el admin bar empuje todo hacia abajo (solo en admin logged-in) */
  html.wp-admin-bar header#masthead::before {
    top: 32px; /* si el admin bar está presente, ajustá si es necesario */
  }
  
  /* 4) Ajustes responsivos */

  .ast-mobile-header-wrap {
    background-color: #131633 !important;
  }

/* Mail Chimp */ 
.mc-field-group {
margin-bottom: 1rem}

.mc-field-group label {
  color: rgba(255,255,255,0.6);
}

#mc_embed_signup .indicates-required {
  font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
  
}



/* Arreglos CheckOut */

.payment_method_link_pago {
	margin-top: 1rem;
  border-top: 1px solid gray;
  padding-top: 1rem;
}

decidir_form input[type="text"] {
  margin-bottom: 10px !important;
  text-transform: lowercase;
  text-transform: capitalize;
  font-size: 0.8rem;
}

.payment_box.payment_method_decidir_gateway {
	padding-bottom: 2.5rem !important;
}

/* ARREGLOS DE ESTILOS GENERALES */

/*revisar*/.fondo-patron {
    background-size: auto !important;
    background-repeat: repeat;
}

.fondo-praxia {
	background: #268DB3;
    background: linear-gradient(135deg, #268DB3, #C14DA9);
    }

.wp-block-button a:hover {
 background-color: #545454 !important;
 color: white !important;
}



/* ARREGLOS HEADER Y MENU */
header {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

header .site-title {
    display: none !important;
}

.ast-builder-menu-1 .main-header-menu > .menu-item > .sub-menu {
    margin-top: 10px;
    border: none;
}

.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item > .sub-menu::before {
    height: 10px;
}

@media (max-width: 921px) {
    .ast-builder-menu-mobile .main-navigation .main-header-menu, .ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
      background-color: var(--ast-global-color-0);
    }
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
        color: var(--ast-global-color-5);
    }

    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle {
        color: var(--ast-global-color-5);
    }

    .ast-builder-menu-mobile .ast-menu-toggle:focus {
        outline: unset;
      }
  }

/* ARREGLOS  FOOTER */

footer {
    padding-top: 1rem;
    padding-bottom: 3rem;   
}

footer .site-primary-footer-wrap {
    border: none !important;
}

footer.site-footer {
    background-image: url(/wp-content/themes/astra-child/chica-footer.png), linear-gradient(135deg, #268DB3, #C14DA9);
    background-color: #C14DA9;
    background-size: 400px auto, auto !important;
    background-repeat: no-repeat, repeat;
    background-position: calc(30vw - 400px) center, left center;
}



footer .site-below-footer-wrap {
    border-top-width: 0 !important;
}
footer h3 {
    color: white;
    max-width: 90%;
    padding: 1rem 2rem;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid white;
}


footer a {
    color: white;
}
footer a:hover {
    color: #FBBB37;
}

footer .footer-redes {
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    color: white;
    gap: 2rem;
}

footer .footer-redes img {
    width: 50px;
    margin-right: 0.5rem;
}

@media (max-width: 1240px) {
    footer.site-footer { background-position: left center, left center;
    }
    
}

@media (max-width: 1000px) {
    footer .footer-redes{
        flex-direction: column;
        padding-bottom: 200px;
    }

    footer.site-footer { 
        background-size: 200px auto, auto !important;
        background-position: center bottom, left center;
    }

    footer .site-footer-primary-section-1, .site-footer-below-section-1 {
        display: none !important;
    }

    footer .site-footer-primary-section-2, .site-footer-below-section-2 {
        width: 100vw;
    }
    
}

@media (max-width: 362px) {
    footer .footer-redes a{
        flex-direction: column;
        display: flex;
        align-items: center;
    }

    footer .footer-redes img {
        width: 35px;
        margin-bottom: 1rem;
    }


}

/* FOOTER EXTRA PARA AFIP */
.blobs-pie-extra {
    background-color: #332246;
    color: #d8d0e7;
    font-size: 0.7rem;
}

.blobs-pie-extra img {
    margin-right: 1rem;
}

.blobs-pie-extra div {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    padding: 1rem;
    text-align: center;
} 


/* ARREGLOS PARA HOME HERO */

.hero {
    min-height: 460px;
    background-size: 600px !important;
    background-repeat: no-repeat;
    background-position: calc(100% + 50px) bottom;
}

@media (min-width: 1240px) {
    .hero {
        min-height: 550px;
        background-size: 700px !important;
        background-position: calc(50% + 350px) bottom;

    }
    
}

@media (max-width: 781px) {
    .hero {
        background-size: 400px !important;
        background-repeat: no-repeat;
        background-position: center bottom;
    }

    .hero .espaciador {
        min-height: 240px !important;
    }
}

/* arreglos Home 3 numeros */
.home-tresnumeros {
    max-width: 1000px !important;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

}

.home-tresnumeros img { 
    max-width: 240px;
}

.home-tresnumeros .columna {
    margin-top: 0;
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.home-tresnumeros .pildora {
    background-color: #FBBB37;
    display: inline;
    white-space: nowrap;
    padding: 0.5rem 2rem;
    border-radius: 999px;

}

.home-tresnumeros figure {
    margin-bottom: 2rem;
}

.home-tresnumeros .detalle {
    margin-top: 1.5rem;
}

.home-tresnumeros .columna-center {
    position: relative;
    padding: 0;
}

.home-tresnumeros .punteado {
    position: absolute;
    top: 10%;
    width: 100%;
    height: 60%;
    border-left: 2px dashed white;
    border-right: 2px dashed white;
}

.columna-center .numero-contenido {
    padding: 2rem;
}


/* HOME Pildoras */
.set-pildoras {
    max-width: 800px !important;
}

.set-pildoras .wp-block-column{
    position: relative;
}


.set-pildoras figure img {    
    width: 10rem;
    object-fit: cover;
    border-radius: 5rem;
    aspect-ratio: 1/1.6;
    transition: all 0.2s ease;
}

.set-pildoras .wp-block-column:hover figure img {
    transform: scale(1.15);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.set-pildoras .wp-block-button {
    position: absolute;
    top: calc(50% - 2.5rem);
}


.set-pildoras .wp-block-button a {
    font-family: Cooperative,arial,sans serif;
    font-size: 1.5rem;
    width: 13rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: rgba(127, 17, 224, 0.7);

}

.set-pildoras .wp-block-button a:hover {
    background-color: rgba(78, 58, 110, 0.7);
}

.set-pildoras .wp-block-column:nth-child(even) .wp-block-button a {
    background-color: rgba(61, 120, 189, 0.7);
}

.set-pildoras .wp-block-column:nth-child(even) .wp-block-button a:hover {
    background-color: rgba(78, 58, 110, 0.7);
}


@media (max-width: 780px) {
    .home-tresnumeros {

        grid-template-columns: 1fr;

    }

    .home-tresnumeros .columna {
        max-width: 400px;
    }

    .home-tresnumeros figure {
        margin-bottom: 3rem;
    }

    .home-tresnumeros .detalle {
        margin-top: 2rem;
    }

    .home-tresnumeros .pildora {
        padding: 0.5rem 1rem;
    }

    .home-tresnumeros .punteado {

        top: -5%;
        left: 10%;
        width: 80%;
        height: 100%;
        border-left: none;
        border-right: none;
        border-top: 2px dashed white;
        border-bottom: 2px dashed white;
    }

}




/* ANIMACIONES */

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animacion-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}



/* CAMBIOS A TUTOR LMS */

.espacio-header {
    height: 6rem;
    background-color: #131633
    ;
}

.tutor-full-width-course-top {
    padding-top: 0px;
}

.curso-header {
    display: flex;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 300px;
}

.curso-header h3, .curso-header p {
    color: #FAF9FC;
}

.curso-header p {
    font-size: 1.2rem;
    margin-bottom: -0.5rem;
    
    
}
.curso-header h3{
    font-weight: 700;
    font-size: 4.3rem;
    opacity: 1;
    line-height: 1;
}

.curso-header-inner {
    min-width: 100%;
    min-height: 100%;
    background-size: 400px;
    background-repeat: repeat;
    background-position: top left;
    display: flex;
    align-items: center;
    justify-content: center;

}

.curso-header-inner-content {
    width: 1080px;
    max-width: 1080px;
    padding: 1rem;
}

.tutor-single-course-sidebar {
    background-color: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.tutor-course-details-page .tutor-col-xl-8 .tutor-course-thumbnail img {
    border-radius: 1rem;
}

.tutor-single-course-sidebar .tutor-course-thumbnail img {
    box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.cursos-blobs-funciones {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: end;
}

.tutor-course-details-page h1.tutor-course-details-title {
    margin-top: 5rem;
    margin-left: -2rem;
    color: #3D78BD;
    border: 2px solid #3D78BD;
    font-size: 2.5rem;
    font-weight: 400;
    padding: 1rem 2rem;
    border-radius: 4rem;
    min-width: 90%
}

.tutor-course-details-page  h3 {
    font-family: Codec Pro, arial, sans-serif ;
 
}

.tutor-course-details-page ul {
    color: #555454;
    font-size: 0.8rem;
    line-height: 1.2;
}

.tutor-course-details-page ul .tutor-icon-bullet-point {
    position: relative;
}
.tutor-course-details-page ul .tutor-icon-bullet-point::before {
    content: "✓";
    font-weight: bold;
    color: #3D78BD;
    position: absolute;
    top: -5px;
    left: -10px;

}

.tutor-course-details-page .tutor-course-details-widget-col-2 {
    position: relative;
    background-color: #FAF9FC;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
}

.tutor-course-details-page .tutor-course-details-widget-col-2::before {
    content: '';
    background-color: #BCA2CD;
    width: 150vw;
    left: -50vw;
    height: calc(100% + 2rem);
    top: -1rem;
    position: absolute;
    z-index: -1;
}

.tutor-course-details-page .caja-audiencia {
    margin-top: 2.5rem;
}


.tutor-course-details-page .tutor-accordion-item-header {
    border: 2px solid #FBBB37;
    position: relative;
}

.tutor-course-details-page .tutor-accordion-item-header::before {
    position: absolute;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    font-size: 0.8rem;
    padding-top: 0.15rem;
    text-align: center;
    left: -2rem;
    content: var(--contenido-before, 'A');
    font-weight: bold;
    color: #FAF9FC;
    background-color: #71539E;
}

.tutor-course-details-page .tutor-accordion h5 {
    font-family: Codec Pro,arial,sans-serif;
}

.tutor-course-details-page .tutor-accordion-item-header:hover {
    background-color: #FBBB37;
    color: #010101;
}

.tutor-course-details-page .tutor-accordion-item-header.is-active {
    background-color: #FBBB37;
    color: #010101;
}

@media (min-width: 1200px) {
    

    .tutor-single-course-sidebar {  margin-top: -12rem; }

    .tutor-course-details-page .tutor-col-xl-8 .tutor-course-thumbnail img {display: none;}
    
   
    
}

@media (max-width: 1199px) {
    .tutor-course-details-page h1.tutor-course-details-title  {
        margin-left: unset;
        min-width: 100%
    }
    .tutor-single-course-sidebar .tutor-course-thumbnail img {display: none;}
    
}
/* 
paginas simples de tutor */

/* article.page.type-page {
    padding-top: 6rem !important;
    border: 1px solid red !important;
} */

.espaciador-arriba {
   
    min-height: 8rem;
}

.espaciador-abajo {
    min-height: 4rem;
}

.tutor-dashboard {
    margin-top: 3rem;
    margin-bottom: 2rem;
}



/* BLOQUE WSP */
.bloque-whatsapp {
    position: fixed;
    bottom: 70px;
    right: 15px;
   
    z-index: 9999;
}

.bloque-whatsapp a {
    display: flex;
    background-color: #4FCE5D;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.bloque-whatsapp a:hover {
    transform: scale(1.1);
}

/* .bloque-whatsapp img {
    width: 30px;
    height: auto;
} */



/*************************
 FORMULARIOS CONTACT FORM 7 
 **********************/

 form.wpcf7-form input.wpcf7-text {
    background-color: #DFDFDF !important;
    border-radius: 999px !important;
    border: none !important;
    padding-left: 1.5rem !important;
    
 }

 

 form.wpcf7-form textarea {
    background-color: #DFDFDF !important;
    border-radius: 1rem !important;
    border: none !important;
    padding-left: 1.5rem !important;
 }

 form.wpcf7-form textarea::placeholder,
 form.wpcf7-form input.wpcf7-text::placeholder {
    color: #000000 !important;
 }

 form.wpcf7-form input.wpcf7-submit {
    border-radius: 999px !important;
    width: 100%;
 }