/* TUTO LMS CUSTOM */

.white-space-nowrap {
	    white-space: nowrap;
}

/* Boutons cœur + page/onglet Wishlist */
.tutor-wishlist-btn,
.tutor-course-wishlist-btn,
.tutor-dashboard-menu-wishlist,
a[href*="wishlist"] { display:none !important; }



.tutor-login-wrap, 
#tutor-registration-wrap,
.tutor-bundle-courses-wrapper .tutor-bundle-course-list-wrapper,
.tutor-membership-pricing-item 
 {
 	border:none;
	background:#fff;
	border-radius: var(--radius);
	box-shadow:var(--big-box-shadow);
}
.tutor-course-single-content-wrapper,
.tutor-page-wrap {
	background-color: transparent;
    background-image: linear-gradient(177deg, var(--e-global-color-b5e4aa3) 0%, var(--e-global-color-915477a) 100%);
}

.tutor-color-black {
    color: var(--e-global-color-primary);
}


/* LOGIN MENU */
.tutor-user-menu {
	position: absolute;
	top: 100%;
	right: 0;
	list-style: none;
	padding: 10px;
	margin: 0;
	z-index: 1000;
}

.tutor-user-menu li {
	margin: 0;
}

.tutor-user-menu li a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	color: #333;
	text-decoration: none;
}

.tutor-user-menu li a:hover {
	background-color: #f5f5f5;
}
.tutor-course-thumbnail {
	img {
		border-radius: var(--s-radius);
	}
}
.tutor-header-profile-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	cursor: pointer;
	gap: 10px;
}
.tutor-ratio {
	overflow: hidden;
	picture {
		img {
			object-fit: cover;
			width: 100%;
			height:100%;
		}
	}
}
.tutor-course-progress-item .tutor-ratio {
	min-height: 100%;
}
.notice-error {
	border:1px solid #dc3232;background:#fff1f1;
	padding:15px;
	margin-bottom:20px;
	    border-radius: 6px;
}
.tutor-user-menu-trigger {
	background: none;
	border: none;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	font-size: 16px;
	cursor: pointer;
	text-decoration: none;
}
/*LIST */
.course-archive-page {
	.tutor-widget-course-filter {
		display: none;
	}
}

.is-public-course {
	.tutor-ratings { display:none; }
	a.tutor-btn {
		position: relative;
		color: transparent;
		white-space: nowrap;
		&:hover {
			&::after {
				color:#fff;
			}
		}	
	}

		a.tutor-btn::after {
		  content: "Découvrir le programme";
		  position: absolute;
		  inset: 0; /* occupe toute la place du bouton */
		  display: flex;
		  align-items: center;
		  justify-content: center;
		   color: var(--tutor-color-primary);
		}
}

@media only screen and (min-width:768px ) {
	.tutor-course-list {
		> .is-public-course {
		  grid-column: 1 / -1; 
		  flex-direction: row;
		  .tutor-course-thumbnail {
		  	width: 30%;
		  	display:flex;
		  	a {
		  		width: 100%;
		  	}
		  	.tutor-ratio-16x9.tutor-ratio {
		  		width: 100%;
		  		height: 100%;
		  		padding: 0;
		  	}
		  }
		  .tutor-card-footer {
		  	display: flex;
		  	align-items:flex-end;
		  }
		}
	}
}

/* CARD */
.tutor-card {
	border-radius: var(--s-radius);

	h3,.tutor-course-name{
		margin:0;
		line-height: 1.25;
	}

	a {
		text-decoration: none;
	}
	.list-item-price {display:none !important;}
	.tutor-meta-details-instructors {
		flex:1;
		display: flex;
		flex-direction: column;
		gap:5px;
		justify-content: flex-end;
		margin-top:10px;
	}
	.lameta-cat {
		display: flex;
		gap:4px;
		margin:10px 0;
		flex-wrap: wrap;
		badge{
		  	display: inline-block;
		    padding: .25rem .5rem;
		    border-radius: 9999px;
		    background: var(--e-global-color-bf37baa);
		    font-size: .875rem;
		    line-height: 1;
		    max-width: 100px;
		    white-space: nowrap;
		    overflow: hidden;
		    text-overflow: ellipsis;
		}
	}

}
.tutor-card:not(.tutor-dashboard-my-courses .tutor-card) {
	.tutor-card-footer > .tutor-d-flex {
		width: 100%;
		flex-direction: column;
		gap:5px;
		.list-item-price {
	        justify-content: center;
	        .price {
				display: inline-flex;
				justify-content: center;
				align-items: center;
				gap:5px;
			}
		}
		.list-item-button {
			width: 100%;
		}
	}
}
.tutor-bundle-course-count-badge {
	background:var(--e-global-color-accent) ;
}
/* DASHBOARD */
.tutor-dashboard .tutor-frontend-dashboard-maincontent ul.tutor-dashboard-permalinks:before {
	display: none;
}
.tutor-dashboard .tutor-frontend-dashboard-header:after,
.tutor-dashboard-menu-divider
{
	background: rgba(0,0,0,0.1);
}
.tutor-dashboard-menu-divider-header {
	color:rgba(0,0,0,0.4);
}

.tutor-wp-dashboard-filter {
	.tutor-d-flex {
		gap:var(--s-spacing);
		a{
			margin:0;
		}
	}
}

.tutor-wrap {
	padding:var(--container-default-padding-top);
	--tutor-gutter-x :var(--container-default-padding-top);
}
.tutor-wrap.courses {
			padding-left:0;
		padding-right:0;
}
.elementor-element {
	.tutor-wrap {
		padding-left:0;
		padding-right:0;
	}
}

.tutor-dashboard {
	background-color: transparent;
    background-image: linear-gradient(177deg, var(--e-global-color-b5e4aa3) 0%, var(--e-global-color-915477a) 100%);
    .tutor-frontend-dashboard-header {
    	margin-bottom:25px;
    }

    .tutor-dashboard-left-menu .tutor-dashboard-permalinks li a {
    	border-radius: var(--s-radius);
    }
}
.tutor-card,
.tutor-card:not(.tutor-no-border) {
	box-shadow: var(--big-box-shadow);
	border:none;
}

.tutor-table-responsive {
	/* TABLES */ 
	.tutor-table tr th {
		background-color: var(--e-global-color-b5e4aa3);
	}
}
.pmpro_card,
.tutor-dashboard-content:not(:has(.tutor-dashboard-my-courses)) {
	padding:var(--container-default-padding-top);
	background:#fff;
	box-shadow: var(--big-box-shadow);
	border-radius:var(--radius);
}
.tutor-nav:not(.tutor-nav-pills):not(.tutor-nav-tabs) {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.tutor-nav {
	flex-wrap: nowrap;
     overflow-x: auto;
     scroll-snap-type: x mandatory;
         overflow-y: clip;
	>li {
	    white-space: nowrap;
	}

}
.tutor-form-toggle {
	flex-wrap: nowrap;
}
.tutor-dashboard #tutor-dashboard-footer-mobile {padding-bottom:0;width:100%;}


@media only screen and (max-width: 720px) {
    .tutor-header-profile-content,.tutor-user-menu-trigger {
        display: none;
    }
    .tutor-nav {
    	margin-left:calc(-1 * var(--tutor-gutter-x));
    	margin-right:calc(-1 * var(--tutor-gutter-x));
    	.tutor-nav-link {
    		padding:8px 10px;
    	}
    }
}

/*TUTOR PROFIL */
.tutor-user-public-profile .photo-area {
	overflow: visible;
}
/* PRICE*/

.tutor-card-md .tutor-card-footer:not(:has(li)) {
	display: none;
}

.tutor-course-subscription-options {
	label {
		gap:5px;
		small {
			    display: block;
		}
	}
}

.tutor-membership-pricing-item-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	h3 {
		margin:0;
	}
	h5 {
		margin: 0;
	}
	.tutor-pricing-price {
		flex-grow: 1;
	}
	.tutor-action {
		        flex-grow: 1;
        justify-self: flex-end;
        display: flex
;
        align-items: flex-end;
	}

	.tutor-btn-outline-primary {
		background: var(--e-global-color-1279ee5);
		border:none;
		&:hover {
			background: var(--e-global-color-primary);
		}
	}
}
/* SINGLE COURSE */
.tutor-single-course-sidebar {
	position:sticky;
	top:80px;
}
.tutor-course-details-widget,
.tutor-course-details-content {
	margin-top:24px;
	padding: 16px 32px;
    background:#fff;
    border-left: 1px solid var(--tutor-border-color);
    border-right: 1px solid var(--tutor-border-color);
    border-radius: var(--s-radius);
}

.tutor-nav-link {
	color:var(--e-global-color-secondary);
	&.is-active {
		background:#fff;
		color:var(--e-global-color-secondary);
	}
	&:not(.is-active) {
		opacity:0.75;
	}
}

.tutor-single-course-sidebar-more>div:first-child {

    border-top-left-radius:  var(--s-radius);
    border-top-right-radius:  var(--s-radius);
}
.tutor-single-course-sidebar-more>div:last-child {
    border-bottom-left-radius:  var(--s-radius);
    border-bottom-right-radius:  var(--s-radius);
}

.tutor-accordion-item-header {
	background: #fff;
}


#tutor-course-spotlight-overview {
	.tutor-col-xl-8 {
		  width: 100%;
	}
}


.tutor-single-course-sidebar .tutor-card-body:has(.tutor-subscription-plans) {
	background:var(--tutor-border-color);
}
.tutor-course-subscription-plan  {
	background: #fff;
	.tutor-color-subdued {

	}
}

#tutor-membership-view-pricing:not(.tutor-d-none) {
	.tutor-subscription-buy-now {
		display: block !important;
		margin-bottom: 10px;
	}

}

.tutor-course-single-content-wrapper {
	gap:1rem;
	#tutor-single-entry-content .tutor-course-topic-single-footer {
		background: #fff;
	}
}

.tutor-course-single-sidebar-wrapper,
.tutor-lesson-sidebar {
	
  .tutor-accordion-item-header {
  	line-height: initial;
  	overflow:clip;
  	background:#fff;
  }

  .tutor-course-topic-item.is-active a {
  	background:var( --e-global-color-bf37baa );
  }
}
#tutor-single-entry-content {
    background:#fff;
}

.tutor-subscription-plans {
	h3 {
		margin-bottom:10px;
	}
}
ul.checklist {
  list-style: none; /* Supprime les puces natives */
  padding: 0;
  margin: 0;
  margin-top:var(--s-spacing);
}

ul.checklist li {
  position: relative;
  padding-left: 2em; /* Espace pour l’emoji */
  margin-bottom: 0.5em;
}

ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.2em;
  height: 1.2em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300aa55' viewBox='0 0 16 16'><path d='M13.485 1.929a1 1 0 0 1 0 1.414l-7.071 7.071L2.515 6.515a1 1 0 0 1 1.414-1.414l2.485 2.485 6.364-6.364a1 1 0 0 1 1.414 0z'/></svg>")
    no-repeat center center;
  background-size: contain;
}
ul.checklist li.checklist-cross:before {
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'><path d='M20 20L4 4.00003M20 4L4.00002 20' stroke='red' stroke-width='2' stroke-linecap='round'/></svg>") no-repeat center;
	background-size: 14px;
}



@media only screen and (min-width:1201px ) {
	.tutor-course-single-content-wrapper {
		padding:var(--container-default-padding-top);
	}

	.tutor-course-single-sidebar-wrapper,
	.tutor-lesson-sidebar {
		position: sticky;
  		top: 100px;
  	    margin-bottom:2rem;
  	    box-shadow: var(--big-box-shadow);
    	border-radius: var(--radius);
    	overflow: hidden;
    	border:none;
    	align-self: flex-start;
	  max-height: calc(100dvh - 200px); 
	  overflow-y: auto;  
	  overflow-x: hidden;
	  -webkit-overflow-scrolling: touch; 
	  overscroll-behavior: contain;
	  min-height: 0;
	}

	#tutor-single-entry-content {
		max-width: 1024px;
	    margin: 0 auto 2rem auto;
	    box-shadow: var(--big-box-shadow);
	    border-radius: var(--radius);
	    overflow: hidden;
	    background:#fff;
	}

}
/* TUTOR QUIZZ */
.tutor-quiz-wrapper {
    background: var(--e-global-color-bf0d827);
}

.quiz-attempt-single-question .quiz-explanation-wrapper {
	padding:var(--s-spacing);
	background:var( --e-global-color-bf37baa );
	border-radius: var(--radius);
}
.tutor-quiz-answer-single-info {
    background: var( --e-global-color-bf37baa );
    margin-left: 0;
    border-radius: var(--radius);
    padding: 5px 20px;
      display:none;
  align-items:center;
  gap:.4rem;
}
.tutor-quiz-answer-single-incorrect .tutor-card {
	border: 2px dotted red;
}

.tutor-quiz-answer-single-correct .tutor-card {
    border: 2px dotted #24a148;
}


/*TUTOR COMMANDE */
.tutor-checkout-details-inner {
	
}
.tutor-checkout-page .tutor-checkout-summary-item.tutor-checkout-incl-tax-label {
	display: none;
}

/* PDF Embeder */
.tutor-container {
	.block-1 .cta_wrapper a, .block-1 .cta_wrapper button, .block-1 .popup-btn {
		background: var(--e-global-color-primary);
	}
}

/* PRIVATE PAGE */
.lameta-subscribers-only-wrapper {
    position: relative;
}

.lameta-subscribers-only-blurred {
    filter: blur(10px);
    pointer-events: none; /* pour éviter l'interaction */
    min-height: 500px;
}

.lameta-subscribers-only-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    h2 {
    	line-height: 1.25;
    }
}

.lameta-subscribers-only-message {
    background: #fff;
    padding: var(--spacing);
    border-radius: var(--radius);
    text-align: center;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.lameta-subscribe-btn {

}

