
/*
Theme Name:     Neve Child
Theme URI:      https://themeisle.com/themes/neve/
Template: 		neve
Author:         ThemeIsle
Author URI:     https://themeisle.com
Description:    Neve is a super fast, easily customizable, multi-purpose theme
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    neve
Tags: 			blog
*/

/* Transitions */
a, header.header, button { -webkit-transition:all .5s ease; -moz-transition:all .5s ease; -o-transition:all .5s ease; transition:all .5s ease; }

/* Gral */
.flex { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; }
.tn-content-wrapper { width:100%; height:100%; }
.tn-content-wrapper .tn-message { padding:40px; margin:40px; background:#f00; border-radius:10px; text-align:center; }
.tn-content-wrapper .tn-message, .tn-content-wrapper .tn-message a { color:#fff; border-bottom:2px solid rgba(255,255,255,.75); }
.box-layout .innerblocks-wrap { max-width:1200px!important; margin:0 auto!important; }
.align-center { text-align:center!important; }

/* Header */
header.element-is-sticky { width:100%!important; }
header.header { z-index:10!important; }
header.header .nav-ul .login-logout-btn a, .lp-logout-btn { font-weight:500; display:inline-block; padding:6px 15px; font-size: 12px; text-transform:uppercase; background:#000; color:#fff; border-radius:5px; text-decoration:none; }
.nv-page-title-wrap, .lp-archive-courses .learn-press-courses-header, .nv-page-title-wrap { margin:30px 0 55px!important; }
.nv-page-title-wrap h1 { margin:0; text-align:center; font-size:35px; }

.nav-ul li:first-child { display:none!important; }
#header-menu-sidebar .nav-ul li:first-child { display:block!important; }
.nav-ul li .wrap { padding:0!important; }
/*.nav-ul li.menu-item.current_page_item .wrap:after { width:100%!important; }
#header-menu-sidebar .nav-ul li.menu-item.current_page_item .wrap:after { width:0%!important; }*/

button.navbar-toggle { border:none!important; }
button.navbar-toggle .icon-bar { background:#d5d5d5!important; }
.header.scrolled button.navbar-toggle { background:#d5d5d5!important; }
.header.scrolled button.navbar-toggle .icon-bar { background:#fff!important; }
header.header .nav-ul { margin:0 25px!important; }
#header-menu-sidebar button.navbar-toggle .icon-bar { background:#000!important; }
#header-menu-sidebar .nav-ul .login-logout-btn a { max-width:120px!important; margin-top:20px; }
#header-menu-sidebar .nav-ul li .wrap a { font-size:20px!important; padding:10px 0!important; }

@media (max-width: 959px) {
	.nv-page-title-wrap, .lp-archive-courses .learn-press-courses-header, .nv-page-title-wrap { margin:0 0 30px!important; }
	.nv-page-title-wrap h1 { margin:0; text-align:center; font-size:25px; }
}

/* Blog */
.nv-index-posts { margin-top:0!important; }

/* Footer */
#theme-footer { background:var(--nv-dark-bg); padding:50px; }
#theme-footer .widget { margin:0; }
#theme-footer #menu-theme-custom-menu { margin:0 5px; }
#theme-footer #menu-theme-custom-menu li { margin:0; }
#theme-footer #menu-theme-custom-menu li a { color:var(--nv-text-dark-bg); }
#theme-footer #theme-copyright p { margin:0; text-align:center; }
#theme-footer #theme-copyright p, #theme-footer #theme-copyright p a { color:var(--nv-text-dark-bg); }

@media (max-width: 600px) {
	#theme-footer .widget { display:block; width:100%; text-align:center; }
}
@media (min-width: 601px) {
	#theme-footer #menu-theme-custom-menu li { float:left; }
	#theme-footer #menu-theme-custom-menu li:before { content:'|'; color:#fff; display:inline-block; width:20px; text-align:center; }
}

/* Logo */
.site-header .builder-item { margin:10px 0 0 0!important; padding:0!important; }
.site-header .builder-item--logo { padding-bottom:0!important; }
.site-header .header--row.header-bottom { margin-bottom:20px!important; }

/* Learnpress */

/* Learnpress logout shortcode 
.lp-logout-btn { display: inline-block; padding: 10px 20px; background: #0073aa; color: #fff !important; border-radius: 6px; text-decoration: none; font-weight: 600; transition: background 0.3s ease; }
.lp-logout-btn:hover { background: #005f8d; }*/

/* buttons footer lesson */
#popup-course #popup-footer { background:none!important; border:none!important; max-width:inherit; }
body.learnpress.course-item-popup.lp-sidebar-toggle__open #popup-course #popup-footer { width:calc(100% - 500px); }
body.learnpress.course-item-popup.lp-sidebar-toggle__close #popup-course #popup-footer { width:calc(100% - 25px); }
body.learnpress.course-item-popup .learn-press-form.form-button { position:absolute!important; bottom:5px; left:44%; z-index:100; }
#popup-content .lp-button, #popup-footer .course-item-nav .prev a, #popup-footer .course-item-nav .next a { border-color:#fff!important; color:#fff!important; }
#popup-footer .course-item-nav .prev::before, #popup-footer .course-item-nav .next::before { color:#fff!important; }

.learn-press-message.success, .lp-button.completed { display:none!important; }

/* content lesson */
.lesson-wrapper { background:#d5d5d5 no-repeat center; width:100%; height:100%; }
.lp-single-course .lp-single-course-main__left .lp-course-description { margin-bottom:15px; }
.info-learning div:not(.course-progress):not(.course-progress div) { display:none!important; }

/* price */
.lp-single-course .lp-single-course-main .course-price-prefix { display:block!important; margin:25px 0 0 0!important; text-transform:uppercase; font-size:11px!important; }
.lp-single-course .lp-single-course-main .course-price .price { display:block!important; margin:-15px 0 0 0!important; font-size:40px!important; }
.lp-single-course .lp-single-course-main .course-price .price .last-char { margin-left:1px; display:inline-block; font-size:35px!important }
.lp-single-course .lp-single-course-main .course-item-price { width:110px; height:110px; text-align:center; display:inline-block; background:#000; background:rgba(0,0,0,.75); color:#fff; border-radius:100%; }
.lp-single-course .lp-single-course-main .course-buttons .lp-button { /*font-weight:bold!important; background:#fff!important; color:#000!important;*/ box-shadow:inset 0px 1px 0px 0px #ffffff; background:linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%); background-color:#f9f9f9; border-radius:6px; border:1px solid #dcdcdc; display:inline-block; cursor:pointer; color:#666666; font-weight:bold; padding:16px 24px; text-decoration:none; text-shadow:0px 1px 0px #ffffff; color:#000!important; cursor:pointer; }
.lp-single-course .lp-single-course-main .course-buttons .lp-button:hover { background:linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%); background-color:#e9e9e9; }
.lp-single-course .lp-single-course-main .course-buttons .lp-button:active { position:relative; top:1px; }

/* shortcode cursos comprats */
.lp-cursos-grid { display: grid;
  grid-template-columns: repeat(auto-fit, 300px); gap: 20px; justify-content: center; }
.lp-course-card { list-style: none; }
.lp-paginador { text-align: center; margin-top: 20px; }
.lp-paginador .lp-page { display: inline-block; padding: 8px 12px; margin: 0 4px; border: 1px solid #ddd; border-radius: 6px; text-decoration: none; color: #333; }
.lp-paginador .lp-page.active { background: #0073aa; color: #fff; border-color: #0073aa; }
.lp-paginador .lp-page:hover { background: #0073aa; color: #fff; }

/* archive grid */
ul.learn-press-breadcrumb, .lp-courses-bar { display:none!important; }
.lp-archive-courses .learn-press-courses-header h1 { text-align:center; }

/*  */
.lp-single-course .lp-section-instructor, .lp-single-course .info-metas, .lp-single-course .lp-single-course__header .course-instructor-category, .lp-single-course .lp-single-course__header .lp-single-course-info-one, .lp-single-course .lp-course-curriculum .course-curriculum-info, .course-item .course-instructor-category, .course-item .course-wrap-meta, .learn-press-profile-course__statistic, #learn-press-profile .lp-content-area .wrapper-profile-header { display:none!important; }
.lp-single-course .lp-single-course__header { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; min-height:200px; }
.lp-single-course .lp-single-course__header .lp-single-course__header__inner { margin:0; padding:0; width:90%; }
.lp-single-course .lp-single-course__header .course-title { margin:0!important; padding:0!important; }

body.learnpress.course-item-popup { overflow:hidden!important; }
#popup-course #learn-press-content-item, #popup-course #learn-press-content-item .content-item-scrollable, #popup-course #learn-press-content-item .content-item-scrollable .content-item-wrap, #popup-course #learn-press-content-item .content-item-scrollable .content-item-wrap .content-item-summary, #popup-course #learn-press-content-item .content-item-scrollable .content-item-wrap .content-item-summary .content-item-description { width:100%; height:100%; margin:0; padding:0; }
#popup-course #learn-press-content-item .content-item-scrollable .content-item-wrap .content-item-summary h1, #popup-course .search-course { display:none!important; }
#popup-course #popup-content { padding:0!important; margin-bottom:0!important; }
#popup-course .popup-header__inner { width:inherit!important; }
#popup-course #popup-header { border:none!important; }
#popup-course #popup-header .course-title { text-align:center; display:block; width:100%; }
#popup-course #popup-sidebar .course-curriculum { top:0; }

.course-flip-card { perspective: 1000px; width: 100%; height: 320px; /* 👈 altura fija para que se vea */ position: relative; }
.course-flip-card .flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s ease-in-out; transform-style: preserve-3d; }
.course-flip-card:hover .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; top: 0; left: 0; width: 100%; height: 100%; backface-visibility: hidden; /* 👈 importantísimo */ -webkit-backface-visibility: hidden; /* para Safari */ }
.flip-front { display: flex; align-items: center; justify-content: center; background: #fff; }
.flip-front img { width: 100%; height: 100%; object-fit: cover; }
.flip-back { background: #f8f9fa; transform: rotateY(180deg); padding: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; }

.course.comprado .flip-back { background: #e6ffe6; }
.course.no-comprado .flip-back { background: #ffe6e6; }
.btn-ver-mas { background:#000; color:#fff; padding:10px 20px; font-weight:bold; text-transform:uppercase; font-size:12px; }
.btn-ver-mas:hover { background:#fff; color:#000; }
.badge-wrapper { position: absolute; top: 10px; left: 10px; z-index: 2; }
.badge { padding: 6px 10px; font-size: 13px; font-weight: bold; color: #fff; }
.badge-comprado { background: #28a745; /* verde */ }
.badge-no-comprado { background: #dc3545; /* rojo */ }

.flip-front, .flip-back, .flip-front img { border-radius:8px; }
.btn-ver-mas, .badge { border-radius:4px; }

.course * { cursor:default; }
.course a { cursor:pointer!important; }

.course-section-header { background:none!important; }
.lp-course-curriculum ul, .lp-course-curriculum ul li, .lp-single-course .lp-single-course-main__right__inner, .course-section-header { border-radius:8px!important; }

.lp-course-curriculum ul { max-width:700px!important; }
.lp-single-course .lp-single-course-main__right__inner { background:rgba(255,255,255,.6)!important; }
body:not(.course-item-lp_lesson) .course-section__items { background:rgba(0,0,0,.6)!important; }
body:not(.course-item-lp_lesson) .course-section-header { background:rgba(0,0,0,.2)!important; margin-bottom:10px!important; }
body:not(.course-item-lp_lesson) .lp-course-curriculum .course-section .course-item__link { color:#fff!important; }

.lp-course-curriculum .course-section .course-item { border:none!important; }

.social-swapper { /*margin:0 auto!important; width:75px!important;*/ display:flex; justify-content:center; align-items:center; flex-wrap:wrap; }

body .wrapper { background:#d5d5d5 no-repeat center!important; }

header.header, header.header * { box-shadow:none!important; }
.lp-single-course .lp-single-course-main__right { margin-top:-100px!important; }
.lp-single-course .lp-single-course__header { min-height:inherit!important; }

.lp-course-description { max-width:600px!important; }
.lp-course-description p { font-size:20px!important; line-height:1.6em!important; }
.lp-single-course .lp-single-course__header .course-title { font-size:40px!important; }

@media (max-width: 991px) {
	.lp-single-course .lp-single-course-main__right { margin-top:-20px!important; }
	.lp-single-course .lp-single-course__header .course-title { text-align:center!important; }
	.lp-single-course__header .learn-press-breadcrumb { justify-content:center; align-items:center; }
}
@media (min-width: 991px) {
	body.postid-249 .wrapper { background-image:url('grafs/bg-senna.png')!important; }
}
@media (max-width: 1280px) {
	.lp-content-area { padding:0 30px!important; }
	.lp-single-course .lp-single-course__header .lp-single-course__header__inner { width:calc(100% - 60px)!important; }
}
@media (min-width: 1280px) {
	.lp-single-course .lp-single-course__header .lp-single-course__header__inner { width:calc(100% - 30px)!important; margin-left:30px!important; }
}

.lp-single-course__header { background:none!important; }
.lp-single-course .lp-single-course-main__right__inner { border:none!important; }
.lp-single-course .lp-single-course-main .course-img { margin-bottom:-20px!important; border-radius:0!important; }
.lp-single-course .lp-single-course-main .course-img img { margin:0 auto!important; height:400px!important; object-fit: cover; }
.info-learning div:first-of-type { padding-bottom:10px!important; }
.info-learning div:last-of-type { padding-top:4px!important; }
.course-progress__line__point { display:none!important; }
.lp-course-curriculum .course-section { border:none!important; }

.lp-single-course .lp-single-course-main__right__inner, .lp-single-course .lp-single-course-main__right__inner * { text-align:center!important; }

/* LearnPress End */
.header-bottom, .header-bottom .header-bottom-inner, header.header .site-header  .header-main, header.header .site-header  .header-main .header-main-inner { background:none!important; }
header.header.scrolled { background:#fff!important; }

.home-banner { height:100vh; height:calc(100vh - 75px); overflow:hidden; }

.swiper-container { width:400px; height:400px; background:#fff; }

.swiper-slide:nth-child(1) figure{width:100%;height:100%;background-color:red}
.swiper-slide:nth-child(2) figure{width:100%;height:100%;background-color:#0246ce}
.swiper-slide:nth-child(3) figure{width:100%;height:100%;background-color:#ffe400}

/* Media queries */
@media (max-width: 1280px) {
	body.learnpress.course-item-popup.lp-sidebar-toggle__open #popup-course #popup-footer { width:calc(100% - 325px); }
}
@media (max-width: 1024px) {
	body.learnpress.course-item-popup.lp-sidebar-toggle__open #popup-course #popup-footer { width:calc(100% - 300px); }
	body.learnpress.course-item-popup.lp-sidebar-toggle__close #popup-course #popup-footer { width:100%; }
}
