/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*HOMEPAGE*/
#cst-section1 {
	height: 80vh;	
}
#cst-section1-bottom {
	height:20vh;
}



#cst-section1-bottom .elementor-container {
	height:100%;
}
@media only screen and (min-width:1025px) {
	#cst-section1-bottom .elementor-widget-wrap {
		align-content: center !important;
		padding-bottom: 3vh;	
	}
}
@media only screen and (max-width:1440px) and (min-width:1025px) {
	#cst-section1-bottom .elementor-widget-wrap {
		align-content: center !important;
		padding-bottom: 6vh;	
	}
	.cst-text-size-hero h1 {
		font-size:34px !important;
		line-height:36px !important;
	}
 
}

@media only screen and (max-width:1366px) and (min-width:1025px) {
	.cst-resize-logo img{
		max-width: 240px !important;
	}
	.cst-resize-text p {
		font-size: 24px !important;
    	line-height: 26px;
	}
}
	
.cst-post-relative {
	position:relative;
	background-color: #fffdfd;
    z-index: 8;
}
.cst-box-shadow > .elementor-widget-container {
	box-shadow: 0px 5px 16px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
	max-width: 100%;
	margin-left: auto !important;
    margin-right: auto !important;
}

.cst-btn-1 a{
    padding: 20px 20px;
}
.cst-btn-2 a{
    padding: 5px 20px;
}

.cst-btn-3 a {
    height: 63px;
    padding: 20px 30px;
}

@media only screen and (min-width:768px) {
	.cst-spacer{
		position:absolute;
	}
	.cst-spacer::after{
		content:"";
		position:absolute;
		left: calc(50% + 7px);
        top: 57px;
		width:2px;
		height:55px;
		background-color:#049BC3;
	}
	.cst-btn a{
		width: 59% !important;
		min-width: 550px;
		height: 63px;
	}
}
@media only screen and (max-width:767px) {
	#presentation, #edba, #mba, #bba, #contact-wrapper {
		height:100vh;
	}
	.cst-btn a {
		width: 90% !important;
		height: 44px;
    	padding: 12px 20px;		
	}
	.cst-btn-2 a {
		padding: 5px 20px !important;
	}
	.cst-btn-3 a {
		height: 44px;
		padding: 12px 30px;
	}
	
	
}

@media only screen and (min-width:1025px) {
	.cst-section-padding {
		padding-left: calc(3% + 150px) !important;
		padding-right: 3% !important;		
	}
	.cst-section-padding-dashboard {
		padding-left: calc(3% + 290px) !important;
		padding-right: 3% !important;		
	}	
}

@media only screen and (min-width:768px) and (max-width:991px) {
	.cst-btn-2 a {
		padding: 12px 20px !important;
	}
}

@media only screen and (min-width:768px) and (max-width:1024px) and (orientation: landscape) {
	 .cst-orientation-text p {
		font-size: 21px !important;
    	line-height: 28px !important;
	 }
	
	.cst-orientation-section  {
		margin-top: 0px !important;	
	}
	
}
@media only screen and (max-width:767px)  {
	.cst-force-fullheight {
		height:100vh;
	}
	#cst-section1 {
		height: calc(100vh - 205px);
	}	
	#cst-section1-bottom {
		/*height: 205px;*/
		display: flex;
    	align-items: center;
    	/*margin-top: -20px !important;		*/
	}	
	.learndash-wrapper .ld-progress .ld-progress-bar {
		margin-top: -10px !important;
		margin-bottom: 5px !important;
		
	}	
	.learndash-wrapper .ld-progress .ld-progress-bar {
		height: 28px !important;
	}	
	.learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage {
		height: 28px !important;
	}	
}

@media only screen and (max-width:932px) and (orientation: landscape)  {
	.elementor-section {
		height:unset !important;
	}
	#cst-section1 {
		height: calc(100vh - 134px) !important;
	}	
}


/*DASHBOARD*/

.cst-seminer .ribbon, .cst-seminer .ld_course_grid_button {
	display:none;
}

.cst-seminer .ld_course_grid {
	border: none !important;
}

.cst-seminer .ld_course_grid .caption {
	padding: 15px 0 0 0 !important;
}

.cst-seminer .ld_course_grid .caption h3 {
	font-family: "Raleway", Sans-serif;
	font-size: 0.9vw !important;
	font-weight:500 !important;
}



@media only screen and (min-width:1025px) {
	.cst-full-title {
		margin-left: -4% !important;
		width: 116% !important;
		margin-right: -4% !important;	
	}
}
@media only screen and (min-width:1025px) {
	.ld-course-list-content .ld_course_grid.col-md-4 {
        flex: 0 0 28.5% !important;
        max-width: 28.5% !important;
        margin-right: 7.25% !important;
        margin-bottom: 0.5% !important;
    }
	.ld-course-list-content .ld_course_grid.col-sm-8:nth-child(2n) {
        margin-right: 7.25% !important;
    }
}	

@media only screen and (min-width:768px) {
	.ld-course-list-content .ld_course_grid.col-md-4 {
        flex: 0 0 31.5% !important;
        max-width: 31.5% !important;
        margin-right: 2.75% !important;
        margin-bottom: 0.5% !important;
    }
	.ld-course-list-content .ld_course_grid.col-sm-8:nth-child(2n) {
        margin-right: 2.75% !important;
    }
	.ld-course-list-content .ld_course_grid.col-sm-8:nth-child(3n) {
        margin-right: 0% !important;
    }
	.cst-seminer .ld-course-list-items.row {
		margin: 0 !important;
	}	
}

@media only screen and (max-width:1024px) {
	.cst-seminer .ld_course_grid .caption h3 {
		font-size: 1.5vw !important;
	}
	.cst-full-title {
		margin-left: -4% !important;
		width: 116% !important;
		margin-right: -4% !important;	
	}	
}
@media only screen and (max-width:1024px) {
	.cst-seminer .ld_course_grid .caption h3 {
		font-size: 15px !important;
	}
}
.learndash-pager {
	display:none !important;
}
.cst-progress  {
	max-width: 330px;
}
.cst-progress .ld-progress-heading {
	display:none !important;
}

.learndash-wrapper .ld-course-status.ld-course-status-enrolled {
	background: unset;
	padding-left: 0;
	padding-bottom: 0;
    margin-bottom: -7px;	
}

body .learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage {
    background-color: #049BC3 !important;
	border-top-right-radius: 25px !important;
    border-bottom-right-radius: 25px !important;	
}

.learndash-wrapper .ld-progress .ld-progress-bar {
    background-color: #8AC3D7 !important;
}

.learndash-wrapper .ld-progress .ld-progress-bar {
    border-radius: 25px;
}

.cst-seminares-single .ld-course-navigation-heading {
	display:none;
}
.ld-lesson-items {
	display: flex;
    flex-wrap: wrap;
	margin-right:-1%;
	margin-left:-1%;
	overflow-y: scroll;
}

.ld-lesson-items::-webkit-scrollbar {
    display: none;
}

.ld-lesson-item {
	display: inline-block !important;
	padding-right: 1% !important;
	padding-left: 1% !important;
    padding-bottom: 20px!important;
}
.learndash-wrapper.lds-template-expanded .ld-course-navigation .ld-lesson-item {
    border: 0;
    position: relative;
    margin: 0 !important;
    margin-bottom: 0;
    flex: 0 0 10%;
}
@media only screen and (min-width:1025px) {
	/*.ld-lesson-items {
		height: 41vh;	
	}*/
	/*.learndash-wrapper.lds-template-expanded .ld-course-navigation .ld-lesson-item {
		height: 20.5vh !important;
	}*/	
}


.ld-lesson-item-preview {
	background: url('https://elearning.academiedemanagement.com/wp-content/uploads/2025/08/play.svg') center / contain no-repeat;
}

.ld-lesson-item-preview {
    background-size: cover;      
    background-position: center;
    aspect-ratio: 284 / 211;      
    width: 100%;                  
    height: auto;                
	display: flex;
    align-items: center;
    justify-content: center;	
}
.ld-lesson-item::before, .ld-lesson-item::after {
	display:none !important;
}
.ld-status-icon {
	display:none !important;
}
.ld-lesson-item-preview-heading {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;	
	display: flex;
    justify-content: center !important;
    align-items: center !important;	
}
.ld-lesson-title {
	font-size: 3vw !important;
    color: #3B434C !important;
    font-weight: bold !important;
    font-variant-numeric: proportional-nums;
    padding-bottom: 12%;
    padding-left: 10%;
    text-align: right;
}

.cst-documents > .elementor-widget-container {
	display:flex !important;
	flex-wrap: wrap;
	margin-right:-2% !important;
	margin-left:-2% !important;
}
.cst-documents > .elementor-widget-container > .ead-preview {
	flex: 0 1 25%;
	margin-bottom: 45px;
	padding-right: 2%;
    padding-left: 2%;	
}
.ead-iframe {
	width:100% !important;
}
.ead-iframe {
    width: 100% !important;
    aspect-ratio: 1 / 0.8;
    height: auto !important;
}
.lds-enhanced-meta {
	display:none !important;
}

.learndash-wrapper.lds-template-expanded .ld-course-navigation .ld-lesson-items {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.cst-seminer-featured img{
	width:100%;
}
.cst-margin-bottom-0 {
	margin-bottom:0 !important;
}
.ld-content-actions .ld-button  {
	background-color:#049BC3 !important;
	border-radius:0 !important;
	font-size:24px !important;
	font-weight:700 !important;
}

.cst-col {
	width: 100% !important;
    height: 100vh !important;	
}

#seminer1 .ld-course-list-items > :nth-last-child(-n+6) {
  display: none;
}

#seminer7 .ld-course-list-items > :nth-child(-n+6) {
  display: none;
}

@media only screen and (min-width:768px) and (max-width:1024px) and (orientation: landscape) {
	.cst-landscape-padding-top-20 > .elementor-widget-container {
		padding-top: 20px !important;
	}
	.cst-landscape-padding-top-0 > .elementor-widget-container {
		padding-top: 0 !important;
	}	
	
	.cst-landscape-font30 h2 {
		font-size:30px !important;
	}
	.cst-landscape-font20 {
		font-size:20px !important;
		line-height: 22px;
	}
	
	.cst-landscape-paddingy-10 > .elementor-widget-container {
	    padding-bottom: 10px !important;
    	padding-top: 10px !important;
		margin-top:0 !important;
	}		
}

@media only screen and (max-width:767px)  {
	body div.ld-course-list-content .ld_course_grid {	
		width:50%;
	}
	.ld-course-list-items {
		margin-right:0 !important;
		margin-left:0 !important;
	}
	body div.ld-course-list-content .ld_course_grid:nth-child(odd) {	
		padding-right:1%;
	}	
	body div.ld-course-list-content .ld_course_grid:nth-child(even) {	
		padding-left:1%;
	}
	.learndash-wrapper.lds-template-expanded .ld-course-navigation .ld-lesson-item {
		flex: 0 0 25%;
	}	
	
	
}

.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions {
    border-top: none !important;
	align-items: center;
}

#cst-player .learndash-wrapper .ld-content-action a.ld-button {
    color: #ffffff !important;
    background-color: #049BC3 !important;
    font-size: 1vw !important;
	padding: 20px 5px !important;
}

.ld-content-actions {
	padding-top:0 !important;
}

#cst-player .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action {
    flex-basis: 18vw;
}

@media only screen and (max-width:1024px)  {
	#cst-player .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions {
		justify-content:space-between !important;
	}
	#cst-player .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action {
		flex-basis: 20vw;
		max-width: 27%;
	}
	#cst-player .learndash-wrapper .ld-content-action a.ld-button {
		font-size: 1.4vw !important;
		padding: 13px 5px !important;
	}	
}
.ld-course-step-back {
	text-decoration:none !important;
    font-size: 1.2vw !important;
    padding: 6px 0px;	
}

@media only screen and (max-width: 767px) {
    #cst-player .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions {
        flex-direction: row !important;
        align-items: center !important;
    }
    .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions div:nth-child(2) {
        order: 2 !important;
    }
    .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions div:nth-child(3) {
        order: 3 !important;
    }
	#cst-player .learndash-wrapper .ld-content-action a.ld-button {
        font-size: 12px !important;
        padding: 4px 5px !important;
    }
	#cst-player .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) a:not(.button):not(.screen-reader-shortcut) {
		font-size: 10px !important;
		padding: 1px;
	}	
	.ld-lesson-title {
		font-size: 21px !important;
		padding-left: 9px;
	}	
	
}

#cst-player .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern)  a:not(.button):not(.screen-reader-shortcut) {
	border: solid 1px #049BC3 !important;
	margin-top: 0;
}
#cst-player .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern)  a:not(.button):not(.screen-reader-shortcut):hover {
	background-color:#049BC3 !important;
	color:#fff !important;
}

@media (max-width: 640px) {
    .learndash-wrapper .ld-course-status.ld-course-status-enrolled {
         flex-direction: row; 
    }
}

.cst-anim-col {
	height: 100vh;
}

.cst-anim-col > .elementor-widget-wrap {
	height: 100vh;
    flex-direction: column;
}
.cst-anim-col2 > .elementor-widget-wrap {
	height: 100vh;
}
.cst-anim-btn {
	position: absolute !important;
    bottom: 30px;
	z-index: 8;
	
}
.cst-anim-btn .elementor-widget-container {
	max-width: 32px;
    margin-left: auto !important;
    margin-right: auto !important;	
	cursor:pointer;
}

@media only screen and (min-width:1025px) {
	.cst-anim-btn2 {
		position: absolute !important;
		bottom: 1.8vh;
	}
}

@media only screen and (max-width:1024px) {
	.cst-flex-col-col > .elementor-widget-wrap {
		flex-direction: column;
		justify-content: space-evenly;
	}
	#cst-section1 {
		height: 75dvh;
	}
	#cst-section1-bottom {
		height: 25dvh;
	}	
}
/*
@media only screen and (max-width: 650px) {
    #cst-section1-bottom {
        height: 22dvh;
    }
}*/

@media screen and (max-width:375px) {
	.cst-pad-mb-0 {
		padding-top:0 !important;
		margin-top:20px !important;
	}
	.cst-pad-top-10 .elementor-widget-container{
		padding-top:10px !important;
	}
	.cst-m-top-0 {
		margin-top:0 !important;
	}	
	.cst-pad-all-0 .elementor-widget-container {
		padding-top:10px !important;
		padding-bottom:10px !important;
		margin-bottom:0 !important;
		margin-top:0 !important;
	}	
	.cst-pad-all-0 {
		margin-bottom:10px !important;
	}
	
}

@media only screen and (max-width: 470px) {
    .cst-seminer .ld_course_grid .caption h3 {
        font-size: 12px !important;
    }
}
@media only screen and (max-width: 375px) {
	.ld-course-list-items .ld_course_grid {
		margin-bottom: 0 !important;
	}
	
	.ld-course-list-items div.ld_course_grid .thumbnail.course .caption .entry-title, .ld_course_grid .thumbnail .caption .entry-title {
		margin-bottom: 5px !important;
	}
	.cst-hide-small {
		display:none !important;
	}
}
.ld-course-status-not-enrolled .ld-course-status-seg-status, .ld-course-status-not-enrolled .ld-course-status-mode-closed, .ld-course-status-not-enrolled .ld-course-status-seg-action.status-closed h2 {
	display:none !important;
}

.ead-document-loading .ead-loading-foot {
	display:none !important;
}

.ead-document-loading .ead-loading span {
	display:none !important;
}

@media only screen and (max-width:1440px) and (min-width:1025px) {
	.cst-text-md p {
		font-size: 20px;
		font-weight: 400;
		line-height: 24px;		
	}
	.cst-padding-md .elementor-widget-container {
		padding-top: 2% !important;
	}
	.cst-padding-md-15 .elementor-widget-container {
		padding: 15px 20px 3px 20px;
	}
	.cst-padding-md-top-0 .elementor-widget-container {
		padding-top: 0 !important;
	}
	/*.learndash-wrapper.lds-template-expanded .ld-course-navigation .ld-lesson-item {
		border: 0;
		position: relative;
		margin: 0 !important;
		margin-bottom: 0;
		flex: 0 0 10%;
	}
    .ld-lesson-items {
        height: unset;
    }*/	
}
/* ================== ADM — LearnDash Quiz Full Skin ===================== */
/* Brand tokens (fallbacks in case :root is not set elsewhere) */
.learndash-wrapper .ld-quiz,
.wpProQuiz_content {
  --adm-brand: #049BC3;
  --adm-brand-weak: #8AC3D7;
  --adm-ink: #3B434C;
  --adm-ok: #1BAE6A;
  --adm-err: #E74C3C;
  color: var(--adm-ink);
}

/* ---------- Headings & layout rhythm ---------- */
.adm-quiz-head,
.cst-auto-quiz .cst-quiz-head { margin: 16px 0 12px; }
.cst-auto-quiz .cst-quiz-title {
  margin: 0 0 6px; font-weight: 800; letter-spacing: .2px;
}
.cst-auto-quiz .cst-quiz-subtitle { margin: 0; opacity: .85; }

.learndash-wrapper .ld-quiz h1,
.learndash-wrapper .ld-quiz h2,
.learndash-wrapper .ld-quiz h3,
.wpProQuiz_content h2,
.wpProQuiz_content h3 {
  font-weight: 700;
  letter-spacing: .2px;
}

/* Hide the internal LD/WPProQuiz title ONLY inside our auto-embed block */
.cst-auto-quiz .wpProQuiz_header h2,
.cst-auto-quiz .learndash-wrapper .ld-quiz > h1,
.cst-auto-quiz .learndash-wrapper .ld-quiz > h2,
.cst-auto-quiz .learndash-wrapper .ld-quiz .ld-quiz-title {
  display: none !important;
}

/* ---------- Breadcrumb / header strip (when shown by LD/WPProQuiz) ---------- */
.wpProQuiz_header,
.learndash-wrapper .ld-quiz .ld-breadcrumbs {
  background: rgba(4,155,195,.06);
  border: 1px solid var(--adm-brand-weak);
  color: var(--adm-ink);
  padding: 10px 14px;
  border-radius: 8px;
  margin: 8px 0 14px;
}

/* ---------- Buttons (primary + outline) ---------- */
/* Modern LD + legacy WPProQuiz */
.learndash-wrapper .ld-quiz .ld-button,
.learndash-wrapper .ld-quiz a.ld-button,
.learndash-wrapper .ld-quiz input[type=submit],
.learndash-wrapper .ld-quiz input[type=button],
.wpProQuiz_button {
  background: var(--adm-brand) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important; /* matches your global flat buttons */
  padding: 12px 18px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.learndash-wrapper .ld-quiz .ld-button:hover,
.wpProQuiz_button:hover { filter: brightness(0.95); }
.learndash-wrapper .ld-quiz .ld-button:focus,
.wpProQuiz_button:focus { outline: 2px solid var(--adm-brand-weak); outline-offset: 2px; }

/* Outline/secondary variants (Indice / Back / Review) */
.learndash-wrapper .ld-quiz .ld-button.ld-button-outline,
.wpProQuiz_button[name="back"],
.wpProQuiz_button[name="restart"],
.wpProQuiz_button[name="review"],
.wpProQuiz_button[name="tip"] {
  background: transparent !important;
  color: var(--adm-brand) !important;
  border: 1px solid var(--adm-brand) !important;
}

/* ---------- Answers (idle, hover, selected, checked) ---------- */
.learndash-wrapper .ld-quiz .ld-answers .ld-answer label,
.wpProQuiz_questionList .wpProQuiz_listItem label {
  display: block;
  border: 1px solid var(--adm-brand);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.learndash-wrapper .ld-quiz .ld-answers .ld-answer label:hover,
.wpProQuiz_questionList .wpProQuiz_listItem label:hover {
  background: rgba(4,155,195,.06);
}

/* When the input itself is checked (covers both radio & checkbox UIs) */
.learndash-wrapper .ld-quiz input[type=radio]:checked + label,
.learndash-wrapper .ld-quiz input[type=checkbox]:checked + label,
.wpProQuiz_listItem.wpProQuiz_listItem_selected label {
  background: var(--adm-brand);
  color: #fff;
  border-color: var(--adm-brand);
}

/* Native input accent color (modern browsers) */
.learndash-wrapper .ld-quiz input[type=radio],
.learndash-wrapper .ld-quiz input[type=checkbox],
.wpProQuiz_questionList input[type=radio],
.wpProQuiz_questionList input[type=checkbox] {
  accent-color: var(--adm-brand);
}

/* ---------- Correct / incorrect feedback after validation ---------- */
.learndash-wrapper .ld-quiz .ld-answer.is-correct label,
.wpProQuiz_answerCorrect label {
  background: var(--adm-ok) !important;
  border-color: var(--adm-ok) !important;
  color: #fff !important;
}
.learndash-wrapper .ld-quiz .ld-answer.is-incorrect label,
.wpProQuiz_answerIncorrect label {
  background: var(--adm-err) !important;
  border-color: var(--adm-err) !important;
  color: #fff !important;
}

/* Result / notices */
.wpProQuiz_points,
.wpProQuiz_incorrect,
.wpProQuiz_correct {
  padding: 10px 14px;
  border-radius: 8px;
  margin: 10px 0;
}
.wpProQuiz_correct { background: rgba(27,174,106,.12); color: var(--adm-ok); }
.wpProQuiz_incorrect { background: rgba(231,76,60,.12); color: var(--adm-err); }

/* ---------- Progress bars ---------- */
.learndash-wrapper .ld-quiz .ld-progress .ld-progress-bar {
  background: var(--adm-brand-weak) !important;
  border-radius: 25px;
}
.learndash-wrapper .ld-quiz .ld-progress .ld-progress-bar .ld-progress-bar-percentage {
  background: var(--adm-brand) !important;
  border-radius: 25px;
}

/* ---------- Misc spacing ---------- */
.learndash-wrapper .ld-quiz .ld-quiz-actions { gap: 10px; }
.learndash-wrapper .ld-quiz .ld-question,
.learndash-wrapper .ld-quiz .ld-question-text { margin-bottom: 14px; }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 767px) {
  .learndash-wrapper .ld-quiz .ld-button,
  .wpProQuiz_button { padding: 10px 14px !important; }
  .learndash-wrapper .ld-quiz .ld-answers .ld-answer label,
  .wpProQuiz_questionList .wpProQuiz_listItem label { padding: 10px 12px; }
}
/* ===== ADM PATCH (auto-embedded quizzes inside .cst-auto-quiz) ===== */

/* Hide WPProQuiz's own H2 that appears as a direct child (keeps only your custom heading) */
.cst-auto-quiz .wpProQuiz_content > h2 { 
  display: none !important; 
}
/* Keep earlier safeguards too */
.cst-auto-quiz .wpProQuiz_header h2,
.cst-auto-quiz .learndash-wrapper .ld-quiz > h1,
.cst-auto-quiz .learndash-wrapper .ld-quiz > h2,
.cst-auto-quiz .learndash-wrapper .ld-quiz .ld-quiz-title {
  display: none !important;
}

/* Brand the LearnDash infobar/breadcrumb strip (or comment out the next line to hide it fully) */
.cst-auto-quiz .ld-infobar,
.cst-auto-quiz .learndash-shortcode-wrap-ld_infobar .ld-infobar {
  background: rgba(4,155,195,.06);
  border: 1px solid #8AC3D7;
  color: #3B434C;
  padding: 10px 14px;
  border-radius: 8px;
  margin: 8px 0 14px;
}
/* To HIDE the infobar entirely instead, uncomment: */
/* .cst-auto-quiz .learndash-shortcode-wrap-ld_infobar { display: none !important; } */

/* Buttons — enforce brand look (modern LD + legacy WPProQuiz) */
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button,
.cst-auto-quiz .learndash-wrapper .ld-quiz .ld-button,
.cst-auto-quiz .learndash-wrapper .ld-quiz a.ld-button {
  background: #049BC3 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 12px 18px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  min-height: 44px;
}
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button:hover,
.cst-auto-quiz .learndash-wrapper .ld-quiz .ld-button:hover { filter: brightness(0.95); }
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button:focus,
.cst-auto-quiz .learndash-wrapper .ld-quiz .ld-button:focus { outline: 2px solid #8AC3D7; outline-offset: 2px; }

/* Outline/secondary variants (Indice / Retour / Revoir / etc.) */
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[name="back"],
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[name="restart"],
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[name="review"],
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[name="tip"],
.cst-auto-quiz .learndash-wrapper .ld-quiz .ld-button.ld-button-outline {
  background: transparent !important;
  color: #049BC3 !important;
  border: 1px solid #049BC3 !important;
}

/* Answer rows — border/hover/selected */
.cst-auto-quiz .wpProQuiz_questionList .wpProQuiz_listItem label,
.cst-auto-quiz .learndash-wrapper .ld-quiz .ld-answers .ld-answer label {
  display: block;
  border: 1px solid #049BC3;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cst-auto-quiz .wpProQuiz_questionList .wpProQuiz_listItem label:hover,
.cst-auto-quiz .learndash-wrapper .ld-quiz .ld-answers .ld-answer label:hover {
  background: rgba(4,155,195,.06);
}
.cst-auto-quiz .wpProQuiz_listItem.wpProQuiz_listItem_selected label,
.cst-auto-quiz .learndash-wrapper .ld-quiz input[type=radio]:checked + label,
.cst-auto-quiz .learndash-wrapper .ld-quiz input[type=checkbox]:checked + label {
  background: #049BC3;
  color: #fff;
  border-color: #049BC3;
}
.cst-auto-quiz .wpProQuiz_questionList input[type=radio],
.cst-auto-quiz .wpProQuiz_questionList input[type=checkbox],
.cst-auto-quiz .learndash-wrapper .ld-quiz input[type=radio],
.cst-auto-quiz .learndash-wrapper .ld-quiz input[type=checkbox] {
  accent-color: #049BC3;
}

/* Correct/incorrect feedback */
.cst-auto-quiz .wpProQuiz_answerCorrect label,
.cst-auto-quiz .learndash-wrapper .ld-quiz .ld-answer.is-correct label {
  background: #1BAE6A !important; border-color: #1BAE6A !important; color: #fff !important;
}
.cst-auto-quiz .wpProQuiz_answerIncorrect label,
.cst-auto-quiz .learndash-wrapper .ld-quiz .ld-answer.is-incorrect label {
  background: #E74C3C !important; border-color: #E74C3C !important; color: #fff !important;
}
/* Hide LearnDash breadcrumbs/infobar only inside our auto-embedded quiz block */
.cst-auto-quiz .learndash-shortcode-wrap-ld_infobar,
.cst-auto-quiz nav.ld-breadcrumbs,
.cst-auto-quiz .ld-breadcrumbs,
.cst-auto-quiz .ld-breadcrumb-meta,
.cst-auto-quiz .ld-breadcrumbs-segments {
  display: none !important;
}

/* Collapse any leftover spacing */
.cst-auto-quiz .learndash-shortcode-wrap-ld_infobar {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
/* ===== Fix: “Indice” button must be white text on solid brand blue ===== */
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[name="tip"],
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[data-action="tip"],
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button.wpProQuiz_button_tip,
.cst-auto-quiz .wpProQuiz_content input.wpProQuiz_button[name="tip"],
.cst-auto-quiz .wpProQuiz_content button.wpProQuiz_button[name="tip"],
.cst-auto-quiz .wpProQuiz_content a.wpProQuiz_button[name="tip"] {
  background: #049BC3 !important;   /* solid brand blue */
  color: #FFFFFF !important;         /* white label */
  border: 0 !important;
  border-radius: 0 !important;
  padding: 12px 18px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* Ensure nested spans/icons inherit white */
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[name="tip"] *,
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[data-action="tip"] *,
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button.wpProQuiz_button_tip * {
  color: #FFFFFF !important;
}

/* Hover/focus states */
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[name="tip"]:hover,
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[data-action="tip"]:hover,
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button.wpProQuiz_button_tip:hover {
  filter: brightness(0.95);
}
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[name="tip"]:focus,
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[data-action="tip"]:focus,
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button.wpProQuiz_button_tip:focus {
  outline: 2px solid #8AC3D7 !important;
  outline-offset: 2px;
}

/* Disabled still readable */
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[name="tip"][disabled],
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button[data-action="tip"][disabled],
.cst-auto-quiz .wpProQuiz_content .wpProQuiz_button.wpProQuiz_button_tip[disabled] {
  opacity: .60;
  cursor: not-allowed;
}

/* Hide LearnDash "Sauvegarder & Continuer" (Mark Complete) in the sequence template,
   both on frontend and inside Elementor Loop preview */
#cst-player form.sfwd-mark-complete,
#cst-player input.learndash_mark_complete_button {
  display: none !important;
}

/* Keep the container tidy (don't hide the whole action column) */
#cst-player form.sfwd-mark-complete {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Hide the NEXT button only when it points to a quiz (instant, no flicker) */
#cst-player .ld-content-actions a.ld-button[href*="/quiz"],
#cst-player .ld-content-actions a.ld-button[href*="/quizzes/"] {
  display: none !important;
}

/* Optional: also hide quiz tiles via CSS in modern browsers */
.single-sfwd-courses .learndash-wrapper .ld-course-navigation .ld-lesson-item:has(a[href*="/quiz"]),
.single-sfwd-courses .learndash-wrapper .ld-course-navigation .ld-lesson-item:has(a[href*="/quizzes/"]) {
  display: none !important;
}

/* Outer width cap (change 1024px if you want wider) */
.adm-presto-wrap{max-width:1024px;margin:0 auto}

/* 16:9 stage */
.adm-embed-16x9{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
}
@supports not (aspect-ratio: 1/1){
  .adm-embed-16x9::before{
    content:"";
    display:block;
    padding-top:56.25%;
  }
}

/* Fill the stage – covers iframes/videos + Gutenberg + Vimeo player DOM */
.adm-embed-16x9 iframe,
.adm-embed-16x9 video,
.adm-embed-16x9 .wp-block-embed,
.adm-embed-16x9 figure,
.adm-embed-16x9 .wp-block-embed__wrapper,
.adm-embed-16x9 #player,
.adm-embed-16x9 [id^="player"],
.adm-embed-16x9 .player,
.adm-embed-16x9 [class*="iframeEmbed"],
.adm-embed-16x9 [class*="vp-"]{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  border:0 !important;
}