/* 
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 */

.minute-chapter-style {
	color: #808080;
	font-family: poppins;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 115%;
}

.course-sidebar-accordion-icon .e-n-accordion-item-title {
    align-items: flex-start !important;
}

.course-sidebar-accordion-icon .e-n-accordion-item-title-icon {
    margin-top: 2px !important;
}

.icon-box {
	border-radius: 4px;
	background: --e-global-color-2e2e6bf;
	display: flex;
	padding: var(--Spacing-2px, 2px) var(--Spacing-8px, 8px);
	justify-content: center;
	align-items: center;
	gap: 2px;
}

/* Form image-file upload */
.asban_form .jet-form-builder-file-upload {
	flex-direction: column;
	width: 100% !important;
	padding: 0 0 85px 0;
	background-color: #f7f7f7;
	border: 1px solid #e9e9e9;
	border-radius: 8px;
	overflow: hidden;
}

.asban_form .jet-form-builder-file-upload__content {
	width: 100%;
}

.asban_form .jet-form-builder-file-upload__files {
	width: 100%;
	min-height: 221px;
	background-image: url(/wp-content/uploads/2026/04/squareformat_FR.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto;
}

.asban_form.form_en .jet-form-builder-file-upload__files {
	background-image: url(/wp-content/uploads/2026/04/squareformat_EN.png) !important;
}

.asban_form .jet-form-builder-file-upload__file {
	width: 100%;
	max-width: 240px;
	margin: 0 auto;
	height: auto;
	max-height: 221px;
	padding: 15px;
	background-color: #f7f7f7;
}

.asban_form .jet-form-builder-file-upload__file img {
	object-fit: contain;
}

.asban_form .jet-form-builder-file-upload__file-remove {
	height: 50px;
	bottom: 0;
	top: unset;
}

.asban_form .jet-form-builder-file-upload__message {
	font-family: "Roboto", Sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	position: absolute;
	left: 10px;
	bottom: 14px;
}

.asban_form .jet-form-builder-file-upload__message small {
	font-size: 11px;
}

.asban_form .jet-form-builder-file-upload__fields {
	position: absolute;
	left: 10px;
	bottom: 40px;
}

/* Making Checkbox vertical in form exceptions */

.jet-form-builder__fields-group:has(.make-checkbox-vertical) {
    display: flex !important;
    flex-direction: column !important;
}

.item-tag {
	background-color: #F2F2F2;
    border-radius: 4px;
    font-family: Poppins;
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
    line-height: 115%;
    color: var(--e-global-color-edc87d1);
    padding: 4px 10px;
    text-align: center;
}

span.item-media {
   	background-color: #F2F2F2!important;
	border-radius: 4px;
	padding: 4px 10px;
	display: inline-block;       
    margin-bottom: 8px;
}

span.item-media a {
	background-color: #F2F2F2!important;
    font-family: Poppins;
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
    line-height: 115%;
    color: var(--e-global-color-edc87d1);
    text-align: center;
}

/*Table line between items and tempaltes */
.jet-tabs__control-wrapper {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    border-bottom: none !important;
}

.jet-tabs__control-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #B2B2B2;
    z-index: 1; 
}

.jet-tabs__control {
    position: relative !important;
    z-index: 2;
    background-color: transparent; 
}

.jet-tabs__control.active-tab,
.jet-tabs__control:hover {
    background-color: #ffffff !important; 
    border-bottom: 2px solid #F7B801 !important;
    margin-bottom: -1px !important;
    z-index: 3 !important; 
}

.sub-title-jetengine-form .jet-form-builder__label-text{
    font-family: 'Poppins', sans-serif !important;
    font-style: normal;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 115% !important;
	color: #4B4DE7;
}

.title-question-jetengine-form .jet-form-builder__label-text {
    font-family: 'Poppins', sans-serif !important;
    font-size: 22px !important;
    font-weight: 600;
    font-style: normal;
    line-height: 23px;
    color: #000000 !important;
	margin-top: -40px !important;
}


/* Changin order of desc to go under label in jetengine form */
/* Reset the Column so it doesn't break the layout */
.desc-under-label {
    display: block !important; 
}

/* Target the actual form row inside that column */
.desc-under-label .checkradio-wrap,
.desc-under-label .jet-form-builder-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

/* Order the internal elements */
.desc-under-label .jet-form-builder__label, 
.desc-under-label legend {
    order: 1 !important;
}

.desc-under-label .jet-form-builder__desc {
    order: 2 !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    width: 100% !important;
}

.desc-under-label .checkradio-wrap,
.desc-under-label .jet-form-builder__field-wrap {
    order: 3 !important;
    width: 100% !important;
}

/* Jetengine dynamic field limit to the container area. */
/* Force all JetEngine Dynamic Fields to stay inside their parents */
.jet-listing-dynamic-field__content {
    display: block; 
    word-break: break-word; 
    overflow-wrap: anywhere;
    max-width: 100%;
    overflow: hidden;
}


/* Espace dropdown megamenu*/
.jet-mega-menu-mega-container {
	margin-top:1vh;
}

/* Training details */
a.document-link,
a.source-link {
    color: var(--e-global-color-e0b16da);
}

a.document-link:hover,
a.source-link:hover {
    color: var(--e-global-color-secondary);
}

span.chapter-duration {
    font-size: 12px;
    color: var(--e-global-color-0815ec1);
}

/* Formation Listing Tag Dynamic Field to stay on one line */
.tag-inline-field {
    display: inline-flex !important;
    width: auto !important;
	gap: 2px;
	max-width: 100%;
    padding: 2px 8px;
    align-items: center;
}

/* Dynamic table hover color (Messagerie and others) */
/* Using 'body' at the start makes this selector extremely strong */
body .dynamic-table-hover .jet-dynamic-table__body tr:hover td {
    background-color: #D2D3F9 !important;
    cursor: pointer !important;
}

/* Selected State */
/* 1. Force the table layout to allow rounding */
body .dynamic-table-hover table.jet-dynamic-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

/* 2. Round Top Corners of the FIRST DATA ROW */
/* We target the first 'tr' inside the table that is NOT in the 'thead' */
body .dynamic-table-hover .jet-dynamic-table__body tr:first-of-type td:first-child {
    border-top-left-radius: 8px !important;
}
body .dynamic-table-hover .jet-dynamic-table__body tr:first-of-type td:last-child {
    border-top-right-radius: 8px !important;
}

/* 3. Round Bottom Corners (Same as before since it worked) */
body .dynamic-table-hover .jet-dynamic-table__body tr:last-child td:first-child {
    border-bottom-left-radius: 8px !important;
}
body .dynamic-table-hover .jet-dynamic-table__body tr:last-child td:last-child {
    border-bottom-right-radius: 8px !important;
}