/* Stage 4: Display font for headings (Henriette-like; fallback: Century Gothic) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&display=swap');

/* Override Bootstrap primary to brand teal (PANTONE DE 256-1 C) and info to brand blue (DE 211-1 C) */
:root,
[data-bs-theme="light"] {
    --bs-primary: #00837e;
    --bs-primary-rgb: 0, 131, 126;
    --bs-info: #2b4a89;
    --bs-info-rgb: 43, 74, 137;
}

/* Form entry layout: form is the main focus, sidebar and “Previous Submissions” are shaded */
.lms-form-entry-layout {
    background-color: #d1d5db !important; /* gray-400: force darker so it’s visible */
    margin-left: calc(-1 * var(--bs-gutter-x, 0.75rem));
    margin-right: calc(-1 * var(--bs-gutter-x, 0.75rem));
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}
.lms-form-main-column {
    background-color: var(--bs-body-bg);
    border-radius: var(--bs-border-radius, 0.375rem);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.lms-form-sidebar-column {
    background-color: #c8cdd4 !important;
    border-radius: var(--bs-border-radius, 0.375rem);
    padding: 1rem 0 0;
}
.lms-form-sidebar-column .sticky-sidebar {
    padding: 0 0.5rem;
}
.lms-form-sidebar-column .card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Previous Submissions block: clearly separate from the main form (reference only) */
.lms-previous-submissions-block {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border-color-translucent);
    padding: 1rem 1.25rem;
    background-color: #d1d5db !important;
    border-radius: var(--bs-border-radius, 0.375rem);
}
.lms-previous-submissions-block .lms-previous-submissions-card {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color-translucent);
}
.lms-previous-submissions-block .accordion-button {
    font-size: 0.9375rem;
}
.lms-previous-submissions-block .accordion-button:not(.collapsed) {
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--bs-body-color);
}

/* Light primary (teal) alert for form text-blocks / comment sections – distinct from read-only fields */
.alert-primary-subtle {
    --bs-alert-bg: #e0f2f1;
    --bs-alert-border-color: rgba(0, 131, 126, 0.35);
    --bs-alert-color: var(--bs-body-color);
    background-color: var(--bs-alert-bg);
    border-color: var(--bs-alert-border-color);
    color: var(--bs-alert-color);
}

/* Primary buttons: override Bootstrap --bs-btn-* variables so all states use teal */
.btn-primary {
    --bs-btn-bg: #00837e;
    --bs-btn-border-color: #00837e;
    --bs-btn-hover-bg: #006b67;
    --bs-btn-hover-border-color: #006b67;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #006b67;
    --bs-btn-active-border-color: #006b67;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-bg: #00837e;
    --bs-btn-disabled-border-color: #00837e;
    --bs-btn-focus-shadow-rgb: 0, 131, 126;
    background-color: #00837e !important;
    border-color: #00837e !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #006b67 !important;
    border-color: #006b67 !important;
}

/* Outline primary buttons: same teal for border, text, and filled states */
.btn-outline-primary {
    --bs-btn-color: #00837e;
    --bs-btn-border-color: #00837e;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #00837e;
    --bs-btn-hover-border-color: #00837e;
    --bs-btn-focus-shadow-rgb: 0, 131, 126;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00837e;
    --bs-btn-active-border-color: #00837e;
    --bs-btn-disabled-color: #00837e;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #00837e;
}

/* Info variant: brand blue (PANTONE DE 211-1 C – color 3) */
.btn-info {
    --bs-btn-color: #fff;
    --bs-btn-bg: #2b4a89;
    --bs-btn-border-color: #2b4a89;
    --bs-btn-hover-bg: #243d75;
    --bs-btn-hover-border-color: #243d75;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #243d75;
    --bs-btn-active-border-color: #243d75;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-bg: #2b4a89;
    --bs-btn-disabled-border-color: #2b4a89;
    --bs-btn-focus-shadow-rgb: 43, 74, 137;
    color: #fff !important;
    background-color: #2b4a89 !important;
    border-color: #2b4a89 !important;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: #243d75 !important;
    border-color: #243d75 !important;
}
.btn-outline-info {
    --bs-btn-color: #2b4a89;
    --bs-btn-border-color: #2b4a89;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #2b4a89;
    --bs-btn-hover-border-color: #2b4a89;
    --bs-btn-focus-shadow-rgb: 43, 74, 137;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #2b4a89;
    --bs-btn-active-border-color: #2b4a89;
    --bs-btn-disabled-color: #2b4a89;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #2b4a89;
}

/* Stage 1: AMI alignment – teal for primary links in content */
a:not(.btn):not(.navbar-dark .nav-link):not(#header .nav-link):not(.dropdown-item) {
    color: #00837e;
}
a:not(.btn):not(.navbar-dark .nav-link):not(#header .nav-link):not(.dropdown-item):hover {
    color: #006b67;
}

/* Stage 2: AMI navbar – dark theme (gradient color 3 → color 4: blue #2b4a89 to teal #00837e) */
#header {
    background: linear-gradient(to right, #2b4a89, #00837e);
}
#header .navbar {
    background: linear-gradient(to right, #2b4a89, #00837e) !important;
    border: none;
    min-height: 60px;
    padding-left: 1.25rem;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
#header .navbar-brand {
    padding: 5px 15px 5px 0;
    margin-left: 0;
}
#header .header-logo {
    height: 52px;
    filter: brightness(0) invert(1);
}
#header .navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0 15px;
    line-height: 60px;
}
#header .navbar .nav-link:hover,
#header .navbar .nav-link.active,
#header .navbar .nav-link:focus {
    color: #6fb4aa !important;
}
#header .navbar .dropdown-toggle::after {
    margin-left: 0.35em;
}
#header .navbar .dropdown-menu {
    background: linear-gradient(to bottom, #2b4a89, #00837e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
#header .navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
}
#header .navbar .dropdown-item:hover,
#header .navbar .dropdown-item:focus {
    background: rgba(111, 180, 170, 0.2);
    color: #6fb4aa;
}
#header .navbar .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Notifications dropdown: white background, dark text (no header gradient) */
#header .navbar .hm-notification-dropdown.dropdown-menu {
    background: #fff !important;
    border: 1px solid #dee2e6;
    color: #212529;
}
#header .navbar .hm-notification-dropdown .dropdown-header {
    background: #f8f9fa !important;
    color: #212529;
    border-bottom: 1px solid #dee2e6;
}
#header .navbar .hm-notification-dropdown .dropdown-item,
#header .navbar .hm-notification-dropdown .hm-notification-item {
    color: #212529 !important;
}
#header .navbar .hm-notification-dropdown .dropdown-item:hover,
#header .navbar .hm-notification-dropdown .hm-notification-item:hover {
    background: #f8f9fa !important;
    color: #212529 !important;
}
#header .navbar .hm-notification-dropdown .dropdown-divider {
    border-color: #dee2e6;
}
#header .navbar .hm-notification-dropdown .dropdown-item-text {
    color: #6c757d !important;
}
#header .navbar .hm-notification-dropdown .text-center {
    background: #f8f9fa !important;
    color: #0d6efd !important;
}
#header .navbar .hm-notification-dropdown .text-center:hover {
    background: #e9ecef !important;
    color: #0d6efd !important;
}

#header .navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 0.4rem 0.6rem;
    margin-left: auto;
    margin-right: 1rem;
}
#header .navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Custom breakpoint: show hamburger at 1600px and below (earlier than Bootstrap xl 1200px) */
@media (min-width: 1200px) and (max-width: 1600px) {
    #header .navbar-collapse:not(.show) {
        display: none !important;
    }
    #header .navbar-toggler {
        display: block !important;
    }
}
/* Nav items: vertical center for notification, timezone, avatar */
#header .navbar-nav {
    align-items: center;
}
#header .navbar-nav .nav-item {
    display: flex;
    align-items: center;
}
#header #user-timezone-widget a {
    display: flex;
    align-items: center;
}
/* Notification badge: compact round badge at upper-right of bell */
#header .hm-notification-badge {
    top: 4px;
    right: -6px;
    padding: 0;
    font-size: 0.6rem;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 50%;
    text-align: center;
}
.header-timezone-widget {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    cursor: pointer;
}
.header-timezone-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

/* Stage 3: AMI content layout – blockquote banner, callout strip, shaded rows */
.lms-tagline {
    background: rgba(111, 180, 170, 0.12);
    border-left: 4px solid #00837e;
    padding: 1rem 1.5rem;
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    color: #565540;
}
.lms-tagline p {
    margin: 0;
}
.lms-tagline strong {
    color: #00837e;
}
/* Override Bootstrap table-striped: use AMI teal instead of gray on all striped tables */
.table-striped tbody tr:nth-of-type(odd),
.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #e0f2f1 !important;
}
.table-striped tbody tr:nth-of-type(odd):hover,
.table-striped > tbody > tr:nth-of-type(odd):hover > * {
    background-color: #b2dfdb !important;
}
/* Restore badge backgrounds – ensure Bootstrap 4/5 badge variants keep their bg (AMI overrides may have affected) */
.badge.bg-primary, .badge.badge-primary { background-color: var(--bs-primary) !important; color: #fff !important; }
.badge.bg-secondary, .badge.badge-secondary { background-color: #6c757d !important; color: #fff !important; }
.badge.bg-success, .badge.badge-success { background-color: #198754 !important; color: #fff !important; }
.badge.bg-info, .badge.badge-info { background-color: var(--bs-info) !important; color: #fff !important; }
.badge.bg-warning, .badge.badge-warning { background-color: #ffc107 !important; color: #000 !important; }
.badge.bg-danger, .badge.badge-danger { background-color: #dc3545 !important; color: #fff !important; }
.badge.bg-dark, .badge.badge-dark { background-color: #212529 !important; color: #fff !important; }

/* Badge sizing – base, compact, and large variants */
.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}
.badge-sm {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}
.badge-lg {
    font-size: 0.875rem;
    padding: 0.35rem 0.65rem;
}
.section-header {
    margin-bottom: 1rem;
}
.section-header h3 {
    margin-bottom: 0.35rem;
}
.section-header p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Stage 4: AMI footer structure */
#footer .footer-ami {
    margin: 3rem 0 0 0; /* space above footer – was margin:0 which overrode margin-top */
}
.footer-ami {
    background: linear-gradient(to right, rgba(43, 74, 137, 0.12), rgba(0, 131, 126, 0.12));
    border-top: 1px solid rgba(111, 180, 170, 0.25);
    padding: 2rem 0 1.5rem;
    margin-top: 3rem;
}
.footer-ami__columns {
    margin-bottom: 1.5rem;
}
.footer-ami__title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #565540;
    margin-bottom: 0.75rem;
}
.footer-ami__links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-ami__links li {
    margin-bottom: 0.35rem;
}
.footer-ami__links a {
    color: #00837e;
}
.footer-ami__links a:hover {
    color: #006b67;
}
.footer-ami__copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(111, 180, 170, 0.2);
}
.footer-ami__copyright p {
    margin: 0;
    font-size: 0.875rem;
    color: #6c757d;
}

body {
    margin: 0;
    padding: 0;
  /*   background-color : #575c62;
   background-image: #C0C0FF;       url('images/fond.png')   
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;   */
    font-family: "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
     /*'Old Standard TT', */
    font-size: 13px;
}      

/* Course selection on top of page */
    .course_selected { 
        width:100%; 
        margin-bottom:2em;
        text-align:center;
    }     
    .select_course {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none; 
        border: none;
        /* needed for Firefox: */
        overflow:hidden;
        /*width: 120%;
        background-color: transparent !important;*/
        text-align-last: center;
    } 
/**/


/* THM tables styles */
    .time_bars_td {
        text-align:left;
        width:110px;
        font-size: 0.8em;
    }

    .remove_spaces {
        padding:0px !important;
        margin:0px !important;
        border:0px !important;
    }
/**/



/* Titles and separators – Stage 4: display font for h1–h3 */
    h1, h2, h3 {
        font-family: "Playfair Display", "Century Gothic", CenturyGothic, Geneva, sans-serif;
    }
    h1 {
        font-size: 26px;        font-weight: bold;        color: #123f61;         text-align: center;
        margin-top: 1.25rem;
    }           
            
    h2 {
        font-size: 24px;        font-weight: bold;        color: #123f61;          text-align: center; 
    }          
            
    h3 {
        font-size: 20px;        font-weight: bold;        color: #123f61;          text-align: center; 
    }            

    h4 {
        font-size: 15px;        font-weight: bold;        color: #123f61;          text-align: center; 
    }     

            
    /* Stage 1: AMI alignment – teal/neutral separators (was blue dotted) */
    hr {
        border: 0;
        border-top: 1px dotted #6fb4aa;
        margin: 1em 0;
    }

    hr.separator {
        border: 0;
        border-top: 1px dotted #6fb4aa;
        margin-top: 30px;
        margin-bottom: 20px;
    }

/* */


/* DRAG and DROP */
    .dropbox_container {
        border: 1px solid #8a8a8a;      border-radius: .2em;
        min-height: 50px;
    }
    
    .dropbox_container.over {
        border: 3px dotted #4ec063;      border-radius: .2em;
        /*  margin: 5px;  */
    }
    
    .dropbox_container.overprep {
        border: 1px dotted #666;      border-radius: .2em;
      /*  margin: 5px;  */
        opacity: 0.4;
    }
    
    .dragbox {
        border: 1px solid #85c591;      border-radius: .2em;
        cursor: move;
    }
    
    .dragbox_container {
        border: 1px solid #8a8a8a;      border-radius: .2em;
    }
    
    .dragbox.over {
        /*background-color:#af7475;*/
        cursor: move;
    }
    
    [draggable] {
        user-select: none;
    }
/* */


/* FORMS */
    /* Text inputs, select, textarea: recognizable “input” look (border + inset shadow), not info-card flat */
    input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]), 
    select, 
    textarea,
    .form-control {
        background-color: #e0f2f1 !important;   
        font-size:0.9em;
        border: 1px solid rgba(0, 131, 126, 0.4) !important;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12) !important;
    }
    /* Dropdown arrow so selects are clearly distinct from text inputs */
    select,
    select.form-control {
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300837e' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-position: right 0.75rem center !important;
        background-size: 1.25em !important;
        padding-right: 2.5rem !important;
    }
    textarea {
        margin-top:5px;
    }   

    .form-group input, textarea {
        padding-top:0px;
        padding-bottom:0px;
        margin-bottom:2px; 
        margin-top:2px; 
        font-size:0.9em;
    }

    .form-control input, textarea {
        padding-top:0px;
        padding-bottom:0px;
        margin-bottom:2px; 
        margin-top:2px; 
        font-size:0.9em;
    }

    /* Radio and checkbox: match editable field color; override Bootstrap's gray SVG */
    .form-check .form-check-input,
    input.form-check-input[type="radio"],
    input.form-check-input[type="checkbox"] {
        background-color: #e0f2f1 !important;
        background-image: none !important;
        border-color: rgba(111, 180, 170, 0.6) !important;
    }
    /* Unchecked radio: keep circle shape when we remove Bootstrap's background-image */
    input.form-check-input[type="radio"] {
        border-radius: 50% !important;
    }
    .form-check .form-check-input:checked,
    input.form-check-input[type="radio"]:checked,
    input.form-check-input[type="checkbox"]:checked {
        background-color: var(--bs-primary) !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important; /* checkbox check */
        border-color: var(--bs-primary) !important;
    }
    input.form-check-input[type="radio"]:checked {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3ccircle cx='10' cy='10' r='5' fill='%23fff'/%3e%3c/svg%3e") !important; /* radio dot */
    }

    /* Read-only/disabled: gray background for text inputs, select, textarea only (exclude radio/checkbox) */
    input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):read-only,
    select:disabled,
    textarea:read-only {
        padding-top:0px;
        padding-bottom:0px;
        margin-bottom:2px; 
        margin-top:2px;   
        font-size:0.9em;
        background-color: #a1a1a1 !important;  
    }
    
/*
    input[type="submit"] {
        cursor:pointer; 
        padding:5px 25px; 
        background:#1f4d72; 
        border:1px solid #a8a88d; 
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        -webkit-box-shadow: 0 0 4px rgba(0,0,0, .75);
        -moz-box-shadow: 0 0 4px rgba(0,0,0, .75);
        box-shadow: 0 0 4px rgba(0,0,0, .75);
        color:#f3f3f3;
        font-size:1.1em;
        }

    input[type="submit"]:hover, input[type="submit"]:focus{
    background-color :#123b5c; 
    -webkit-box-shadow: 0 0 1px rgba(0,0,0, .75);
    -moz-box-shadow: 0 0 1px rgba(0,0,0, .75);
    box-shadow: 0 0 1px rgba(0,0,0, .75);
    }       */

    button, input[type="submit"] {
        /*give the button a drop shadow box-shadow: none; */
        -webkit-box-shadow: 0 0 4px rgba(0,0,0, .75);
        -moz-box-shadow: 0 0 4px rgba(0,0,0, .75);
        box-shadow: 0 0 4px rgba(0,0,0, .75);

        align-items: center;
        appearance: none;
        background-color: #3EB2FD;
        background-image: linear-gradient(1deg, #00837e, #6fb4aa 99%);
        background-size: calc(100% + 20px) calc(100% + 20px);
        border-radius: 100px;
        border-width: 0;
        
        box-sizing: border-box;
        color: #FFFFFF;
        cursor: pointer;
        display: inline-flex;
        font-family: CircularStd,sans-serif;
        font-size: 1rem;
        height: auto;
        justify-content: center;
        line-height: 1.5;
        padding: 6px 20px;
        position: relative;
        text-align: center;
        text-decoration: none;
        transition: background-color .2s,background-position .2s;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        vertical-align: top;
        white-space: nowrap;
    }

    button:disabled,
    input[type="submit"]:disabled {
        background-color: #b5b5b5;
        background-image: none;
        color: #666;
        box-shadow: none;
        cursor: not-allowed;
        opacity: 0.7;
    }

    
    .btn-small { 
        line-height: 1.2;
        padding: 3px 10px;
        font-size: 0.8rem;
    }

    button:active,
    button:focus,
    input[type="submit"]:active,
    input[type="submit"]:focus {
        outline: none;
    }
    
    button:hover,
    input[type="submit"]:hover {
        background-position: -20px -20px;
    }
    
    button:focus:not(:active),
    input[type="submit"]:hover {
        box-shadow: rgba(40, 170, 255, 0.25) 0 0 0 .125em;
    }
    

    .disabledInput {                 
        background-color: #E0E0E0 !important;
        color: #808080 !important;
    } 
/* */
   
   


/* Sticky style for sticky iframe (going down with scroll) */
.sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
}




  
.miniEntete {                 
    font-size: 8px;
    text-align: center;
    width:30px;
}                                    

#accesrapide {        
    color: #701b1c;                     
    font-family: "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;   
}
        
   

#colonne1 {
    float: left;
    border:1px dotted blue;
} 
                   
#colonne2 {
    float: left;
    border:1px dotted blue;
}
                   
#colonne1_sansBords {
    float: left;
} 
                   
#colonne2_sansBords {
    float: left;
}             

.jumbo_portail {
    background-color: #e9ecef;
    border-radius: 0.3rem;
}

/* @media (min-width: 576px) { */
.jumbo_portail {
    padding: 1rem 1rem;
    margin-bottom: 2rem;
}

#colonne1 {
    width: 480px;
    padding-top: 10px;
    margin-right: 20px;
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
} 
                
#colonne2 {
    width: 480px;  
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}
                
#colonne1_sansBords {
    width: 480px;           
    margin-right: 20px;
    margin-bottom: 20px;    
    padding-left: 10px;
    padding-right: 10px;
} 
                
#colonne2_sansBords {
    width: 480px;            
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}


@media (min-width: 768px) {
    .jumbo_portail {
        padding: 1rem 1rem;
        margin-bottom: 2rem;
    }
    
    #colonne1 {
        width: 660px;
        padding-top: 10px;
        margin-bottom: 20px;
        padding-left: 10px;
        padding-right: 10px;
    } 
                    
    #colonne2 {
        width: 660px;  
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }
                    
    #colonne1_sansBords {
        width: 660px;          
        margin-bottom: 20px;    
        padding-left: 10px;
        padding-right: 10px;
    } 
                    
    #colonne2_sansBords {
        width: 660px;            
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) {
    .jumbo_portail {
        padding: 0.5rem 0.5rem;
        margin-bottom: 2rem;
    }
    
    #colonne1 {
        width: 454px;
        padding-top: 10px;
        margin-right: 5px;
        margin-bottom: 20px;
        padding-left: 5px;
        padding-right: 5px;
    } 
                    
    #colonne2 {
        width: 454px;  
        padding-top: 10px;
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 20px;
    }
                    
    #colonne1_sansBords {
        width: 456px;           
        margin-right: 20px;
        margin-bottom: 20px;    
        padding-left: 10px;
        padding-right: 10px;
    } 
                    
    #colonne2_sansBords {
        width: 456px;            
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }
}
@media (min-width: 1200px) {
    .jumbo_portail {
        padding: 1rem 1rem;
        margin-bottom: 2rem;
    }
    
    #colonne1 {
        width: 520px;
        padding-top: 10px;
        margin-right: 20px;
        margin-bottom: 20px;
        padding-left: 10px;
        padding-right: 10px;
    } 
                    
    #colonne2 {
        width: 520px;  
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }
                    
    #colonne1_sansBords {
        width: 520px;           
        margin-right: 20px;
        margin-bottom: 20px;    
        padding-left: 10px;
        padding-right: 10px;
    } 
                    
    #colonne2_sansBords {
        width: 520px;            
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }
}
            
#vide
{                         
 background-color : transparent;    
 margin:0 auto;
 padding:0;
 min-height:20px; 
 width: 1px;
 text-decoration: none;
 color: white;
}               
#vide a
{
 text-decoration: none;
 color: white;
}       
         
.btn-small {
    background-color: #66B2FF; /* lighter version of #007BFF */
    background-image: none !important;
    font-size: 0.8rem;
    padding: 4px 8px;
    color: white;
    border: none;
    border-radius: 4px;
  }
  






/* Responsive adjustments for mobile devices */
@media (max-width: 767px) {
    /* Make the columns full width and adjust padding/margins */
    #colonne1,
    #colonne2,
    #colonne1_sansBords,
    #colonne2_sansBords {
         width: 100% !important;  /* Ensures the columns fill the mobile width */
         margin: 0 auto;
         padding-left: 10px;
         padding-right: 10px;
         box-sizing: border-box;  /* Include padding in the total width */
    }

    /* Adjust header font sizes if needed */
    h1 {
         font-size: 22px;
    }
    h2 {
         font-size: 20px;
    }
    h3 {
         font-size: 18px;
    }
    h4 {
         font-size: 16px;
    }
    
    /* Improve the course selection area readability */
    .course_selected {
         padding: 10px;
         font-size: 14px;
         text-align: center;
    }
    
    /* Optionally, adjust any other fixed size elements if necessary */
}  

/* Bootstrap 4 to Bootstrap 5 compatibility classes */
/* These allow Bootstrap 5 class names to work with Bootstrap 4 */
.fw-bold {
    font-weight: bold !important;
}

.fst-italic {
    font-style: italic !important;
}

.form-label {
    margin-bottom: 0.5rem;
}
