/* Media query for smaller screens */
@media (max-width: 48rem) {
    .request-form input,
    .request-form textarea {
        width: 100%; /* Adjusted width for smaller screens */
        margin: 0.313rem auto; /* Centering and adjusted margin for smaller screens */
    }
}

/* Media query for smaller screens */
@media (max-width: 48rem) {
    #adminSpaceForm .request-form p.logo label,
    #adminSpaceForm p.logo label,
    .request-form p.logo label {
        min-width: 50%; /* Adjusted min-width for smaller screens */
        margin-left: 0;
    }

    .form-side .ui-fileupload-choose {
        height: 2rem; /* Adjusted height for smaller screens */
    }
}

/* Media queries for responsiveness */
@media (max-width: 48rem) {
    .form-side .ui-fileupload-choose.ui-state-default {
        width:2rem; /* Adjusted width for smaller screens */
    }

    .form-side .ui-fileupload-buttonbar {
       /* width: 1.25rem; /* Adjusted width for smaller screens */
    }

    .form-side .ui-fileupload-buttonbar .ui-fileupload-choose input {
        width: 1.25rem; /* Adjusted width for smaller screens */
    }

    .form-side .ui-fileupload-content .ui-messages {
        left: -13.125rem; /* Adjusted left position for smaller screens */
        bottom: -2rem; /* Adjusted bottom position for smaller screens */
        height: 2.125rem; /* Adjusted height for smaller screens */
    }

    .form-side .ui-fileupload-content .ui-messages .ui-icon-close {
        margin-top: -0.015625rem; /* Adjusted margin top for smaller screens */
    }

    .form-side .ui-fileupload-content .ui-messages .ui-messages-error-icon {
        margin-top: -0.03125rem; /* Adjusted margin top for smaller screens */
    }
    .plateform-counter.visitors #counter-digit p {
    height: 100%;
    line-height: 1.4375rem;
    text-align: right;
    width: 6.25rem;
    word-spacing: 0.6rem;
    font-size: 0.8em;
}
}

/* Media query for responsiveness */
@media (max-width: 48rem) {
    .form-side h2 {
        font-size: 0.8125rem; /* Adjusted font size for smaller screens */
    }

    .form-title:not(:first-of-type) {
        margin-top: 1.25rem; /* Adjusted margin for smaller screens */
    }

    .request-form .form-option label {
        font-size: 1rem; /* Adjusted font size for smaller screens */
    }
}

/* Media queries for responsiveness */
@media (max-width: 48rem) {
    .action-buttons .button-stat:nth-child(2) {
        margin-left: 5rem; /* Adjusted margin for smaller screens */
    }

    .home-content .action-buttons button:not(:last-of-type) {
        margin-right: 0.0078125rem; /* Adjusted margin for smaller screens */
    }

    .home-content .action-buttons > button > span.ui-button-text {
        padding: 1rem 0.375rem; /* Adjusted padding for smaller screens */
    }

    .home-content .ui-carousel li img {
        width: 100%; /* Full width for smaller screens */
        height: auto; /* Automatic height for smaller screens */
    }

    .home-content h3.single-title {
        font-size: 0.875rem; /* Adjusted font size for smaller screens */
        padding-top: 1.5rem; /* Adjusted padding for smaller screens */
    }
    
    .space-content p, .home-content p, .student-content p {
    font-family: OrkneyRegular, sans-serif;
    font-size: 1rem !important;
    text-align: justify;
    line-height: 1.5rem;
    padding: 0.5rem;
}
   .show_image_div{
    width: 100%;
    margin-left: 0%;
}
}

@media (max-width: 30rem) {
    .action-buttons .button-stat:nth-child(2) {
        margin-left: 2.5rem; /* Adjusted margin for phone screens */
    }

    .home-content .action-buttons button:not(:last-of-type) {
        margin-bottom: 0.3125rem; /* Adjusted margin for phone screens */
    }

    .home-content .action-buttons > button > span.ui-button-text {
        padding: 0.875rem 0.375rem; /* Adjusted padding for phone screens */
    }

    .home-content .ui-carousel .ui-carousel-header {
        padding: 0.0015625rem; /* Adjusted padding for phone screens */
    }

    .home-content h3.single-title {
        font-size: 0.8125rem; /* Adjusted font size for phone screens */
        padding-top: 1.25rem; /* Adjusted padding for phone screens */
    }
}
/* Media queries for responsiveness */
@media (max-width: 36rem) {
    h1 {
        font-size: 1.6rem !important; /* Adjusted for better readability */
        padding-bottom: 0.625rem;
    }

    h2 {
        font-size: 1.4rem !important; /* Adjusted for better readability */
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
    }

    h3 {
        font-size: 1.2rem !important; /* Adjusted for better readability */
        padding-bottom: 1rem;
    }

    h4 {
        font-size: 1rem !important; /* Adjusted for better readability */
        padding-bottom: 1rem;
    }

    h5 {
        font-size: 1.1rem !important; /* Adjusted for better readability */
        padding-bottom: 0.5rem;
    }

    .home-flex { 
        flex-direction:column !important;
        gap:0rem !important;
    } 
    
    .text.left p {
        font-size: 1rem !important;
    }
    
    .space-content p, .home-content p, .student-content p {
    font-family: OrkneyRegular, sans-serif;
    font-size: 1rem !important;
    text-align: justify;
    line-height: 1.5rem;
    padding: 0.5rem;
}
}

@media (min-width: 36.063rem) and (max-width: 62rem) {
    h1 {
        font-size: 2rem !important; /* Adjusted for better readability */
    }

    h2 {
        font-size: 1.3rem !important; /* Adjusted for better readability */
    }

    h3 {
        font-size: 1.1rem !important; /* Adjusted for better readability */
    }

    h5 {
        font-size: 1.2rem !important; /* Adjusted for better readability */
    }

    .text.left p {
        font-size: 1.15rem !important; /* Adjusted for better readability */
    }
}



/* Media queries for responsiveness */
@media (max-width: 48rem) {
    .ui-message-error {
        width: 22.5rem; /* Adjusted width for smaller screens */
    }

    h1 {
        font-size: 1rem; /* Adjusted font size for smaller screens */
    }

    h2 {
        font-size: 0.9375rem; /* Adjusted font size for smaller screens */
    }

    h3,
    h4 {
        font-size: 0.8125rem; /* Adjusted font size for smaller screens */
    }
}

@media (max-width: 30rem) {
    .ui-message-error {
        width: 18.75rem; /* Adjusted width for phone screens */
    }

    h1 {
        font-size: 0.9375rem; /* Adjusted font size for phone screens */
    }

    h2 {
        font-size: 0.875rem; /* Adjusted font size for phone screens */
    }

    h3,
    h4 {
        font-size: 0.75rem; /* Adjusted font size for phone screens */
    }
}

/* Media queries for responsiveness */
@media (max-width: 48rem) {
    .smaller {
        font-size: 0.75rem; /* Adjusted font size for smaller screens */
    }
}

@media (max-width: 30rem) {
    .smaller {
        font-size: 0.6875rem; /* Adjusted font size for phone screens */
    }
}/* Media queries for responsiveness */
@media (max-width: 48rem) {
    .funding_labels,
    .funding_organism_label {
        margin-right: 1rem; /* Adjusted margin for smaller screens */
        margin-left: 1.875rem; /* Adjusted margin for smaller screens */
    }

    .funding_details_label {
        margin-left: 2rem; /* 32px converted to rem */
    }
}

@media (max-width: 30rem) {
    .funding_labels,
    .funding_organism_label {
        margin-right: 0.9375rem; /* Adjusted margin for phone screens */
        margin-left: 1.25rem; /* Adjusted margin for phone screens */
    }

    .funding_details_label {
        margin-left: 1.25rem; /* Adjusted margin for phone screens */
    }
}/* Media queries for responsiveness */
@media (max-width: 75rem) {
    #content-wrapperS3e {
        width: 93.75%; /* Adjusted width for smaller screens */
    }
}

@media (max-width: 48rem) {
    #content-wrapperS3e {
        width: 100%; /* Adjusted width for mobile screens */
    }

    #ml50 {
        margin-right: 0; /* No margin for smaller screens */
    }
}

/* Media queries for responsiveness */
@media (max-width: 48rem) {
    .alinkheader {
        font-size: 1.25rem !important; /* Adjusted font size for smaller screens */
        padding-left: 1.25rem !important; /* Adjusted padding for smaller screens */
        padding: 0;
    }

    .rightalignheader {
        margin-right: 3.125rem; /* Adjusted margin for smaller screens */
    }
}

@media (max-width: 30rem) {
    .alinkheader {
        font-size: 1rem !important; /* Adjusted font size for phone screens */
        padding-top: 0.938rem; /* Adjusted padding for phone screens */
        padding-left: 0.938rem !important; /* Adjusted padding for phone screens */
    }

    .logoimg {
        width: 3.125rem; /* Adjusted width for phone screens */
        height: 2.0833rem; /* Adjusted height for phone screens */
        margin-top: 0.625rem; /* Adjusted margin for phone screens */
    }

    .rightalignheader {
        margin-right: 1.875rem; /* Adjusted margin for phone screens */
    }
}
/* Media queries for responsiveness */
@media (max-width: 75rem) {
    #topS3e .top-username,
    #topS3e .top-username button {
        font-size: 1rem; /* Adjusted font size for smaller screens */
        height: 2.25rem; /* Adjusted height for smaller screens */
    }

    #topS3e.header .top-title {
        /*margin-left: 2.5rem; /* Adjusted margin for smaller screens */
        /*margin-right: 2.5rem; /* Adjusted margin for smaller screens */
    }

    #top-sidebar,
    #top-img {
        width: 93.75%; /* Adjusted width for smaller screens */
        margin-left: 2.5rem; /* Adjusted margin for smaller screens */
    }

    #topS3e #top-customer {
        left: 2.5rem; /* Adjusted position for smaller screens */
    }
}

@media (max-width: 48rem) {
    #topS3e.header .top-title {
        /*margin-left: 1.875rem; /* Adjusted margin for mobile screens */
        /*margin-right: 1.875rem; /* Adjusted margin for mobile screens */
    }

    #top-sidebar,
    #top-img {
        width: 93.75%; /* Adjusted width for mobile screens */
        margin-left: 1.875rem; /* Adjusted margin for mobile screens */
    }

    #topS3e #top-customer {
        left: 1.875rem; /* Adjusted position for mobile screens */
    }
}


/* CSS to hide desktop-only navbar brand on small screens */
@media (max-width: 62rem) {
    .desktop-only {
        display: none;
    }
    
    .alinkheader {
        font-size: 2.5rem !important; /* Adjusted font size for smaller screens */
        padding-left: 1.25rem !important; /* Adjusted padding for smaller screens */
        padding: 0;
    }
}



@media (min-width: 62rem) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0;
    height: 3.125rem;
  }
}

/* Media query for smaller screens */
@media screen and (max-width: 48rem) {
    #bottom {
        width: 95%; /* Adjusted width for smaller screens */
    }

    .footerText {
        width: 70%; /* Adjusted width for smaller screens */
    }
}


/* Media queries for responsiveness */
@media screen and (max-width: 48rem) {
    .footerRight {
        /*top: -3rem; /* Adjust as needed */
                top: 0; /* Reset the top position */

    }
    
    p.footerRight img,
    p.footerLeft img {
        max-width: 6rem; /* Adjust as needed */
    }
    
    #content-wrapperS3e {
        padding: 1.25rem; /* Adjust as needed */
    }
    
    .sidemenu {
        width: 100%; /* Adjust as needed */
        float: none;
    }
    
    #sidemenu h2:last-of-type {
        padding-top: 1.25rem; /* Adjust as needed */
    }
}
/* Media queries for responsiveness */
@media screen and (max-width: 48rem) {
    .links {
        width: auto;
        margin-right: 0;
    }
    
    .links img {
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
    }
}/* Media queries */

@media screen and (max-width: 48rem) {
    /* Styles for tablets */
    .course-detail.label:not(:first-child),
    .candidature-detail.label:not(:first-child) {
        margin-top: 1rem; /* Adjusted margin for smaller screens */
    }

    p.logo,
    p.funding,
    p.attachment {
        width: 40%; /* Adjusted width for smaller screens */
    }

    .file-delete .delete-button,
    .delete-funding-field,
    .add-funding-field {
        margin-top: 1.25rem; /* Adjusted margin for smaller screens */
    }
}

@media screen and (max-width: 30rem) {
    /* Styles for mobile devices */
    .course-detail.label:not(:first-child),
    .candidature-detail.label:not(:first-child) {
        margin-top: 0.75rem; /* Further adjusted margin for smaller screens */
    }

    p.logo,
    p.funding,
    p.attachment {
        width: 15rem; /* Further adjusted width for smaller screens */
    }

    .file-delete .delete-button,
    .delete-funding-field,
    .add-funding-field {
        margin-top: 1rem; /* Further adjusted margin for smaller screens */
    }
}
/* Media queries */

@media screen and (max-width: 48rem) {
    /* Styles for tablets */
    .ui-selectcheckboxmenu {
        font-size: 0.75rem; /* Adjusted font size for smaller screens */
    }

    .ui-chkbox .ui-chkbox-box {
        height: 1rem !important; /* Adjusted height for smaller screens */
        width: 1rem !important; /* Adjusted width for smaller screens */
        margin-top: 0.125rem; /* Adjusted margin top for smaller screens */
    }

    .list-filters.ui-panelgrid td {
        font-size: 0.625rem !important; /* Adjusted font size for smaller screens */
    }
}

@media screen and (max-width: 30rem) {
    /* Styles for mobile devices */
    .ui-selectcheckboxmenu {
        font-size: 0.625rem; /* Further adjusted font size for smaller screens */
    }

    .ui-chkbox .ui-chkbox-box {
        height: 0.875rem !important; /* Further adjusted height for smaller screens */
        width: 0.875rem !important; /* Further adjusted width for smaller screens */
        margin-top: 0.125rem; /* Further adjusted margin top for smaller screens */
    }

    .list-filters.ui-panelgrid td {
        font-size: 0.563rem !important; /* Further adjusted font size for smaller screens */
    }
}
/* Media queries */

@media screen and (max-width: 48rem) {
    /* Styles for tablets */
    .contact-gender label,
    .gender label,
    #createOrSelectCompany label,
    .user-gender label,
    #population label {
        margin-right: 1.5rem; /* Adjusted margin right for smaller screens */
    }

    #population label {
        margin-right: 1.875rem; /* Adjusted margin right for smaller screens */
    }
}

@media screen and (max-width: 30rem) {
    /* Styles for mobile devices */
    .contact-gender label,
    .gender label,
    #createOrSelectCompany label,
    .user-gender label,
    #population label {
        margin-right: 1rem; /* Further adjusted margin right for smaller screens */
    }

    #population label {
        margin-right: 1.25rem; /* Further adjusted margin right for smaller screens */
    }
}/* Media queries */

@media screen and (max-width: 48rem) {
    .list-header {
        width: 100%; /* Full width for smaller screens */
    }
}

@media screen and (max-width: 30rem) {
    .list-header {
        font-size: 1.1em; /* Adjust font size for smaller screens */
    }
}/* Media queries */

@media screen and (max-width: 48rem) {
    #courseListForm thead th,
    #studentSpaceForm thead th,
    #referentSpaceForm thead th,
    #companySpaceForm thead th,
    #adminSpaceForm thead th {
        padding: 0.313rem;
    }
}

@media screen and (max-width: 30rem) {
    #courseListForm thead th,
    #studentSpaceForm thead th,
    #referentSpaceForm thead th,
    #companySpaceForm thead th,
    #adminSpaceForm thead th {
        padding: 0.25rem;
    }
}/* Media queries */

@media screen and (max-width: 48rem) {
    #courseListForm .ui-datatable-data td,
    #companySpaceForm .ui-datatable-data td,
    #referentSpaceForm .ui-datatable-data td,
    #studentSpaceForm .ui-datatable-data td,
    #adminSpaceForm .ui-datatable-data td {
        padding: 0.313rem; /* Converted to rem */
    }
}/* Media queries */

/* For mobile devices */
@media screen and (max-width: 36rem) {
    #courseListForm .ui-datatable-data td.course-label .course-title,
    #companySpaceForm .ui-datatable-data td.course-label .course-title,
    #referentSpaceForm .ui-datatable-data td.course-label .course-title,
    #studentSpaceForm .ui-datatable-data td.course-label .course-title,
    #adminSpaceForm .ui-datatable-data td.course-label .course-title,
    #adminSpaceForm .ui-datatable-data td.user-label > .user-name{
        font-size: 0.833rem; /* Converted to rem */
    }
}

/* For tablets */
@media screen and (min-width: 36.063rem) and (max-width: 62rem) {
    #courseListForm .ui-datatable-data td.course-label .course-title,
    #companySpaceForm .ui-datatable-data td.course-label .course-title,
    #referentSpaceForm .ui-datatable-data td.course-label .course-title,
    #studentSpaceForm .ui-datatable-data td.course-label .course-title,
    #adminSpaceForm .ui-datatable-data td.course-label .course-title,
    #adminSpaceForm .ui-datatable-data td.user-label > .user-name{
        font-size: 0.875rem; /* Converted to rem */
    }
}

/* For computers */
@media screen and (min-width: 62.063rem) {
    #courseListForm .ui-datatable-data td.course-label .course-title,
    #companySpaceForm .ui-datatable-data td.course-label .course-title,
    #referentSpaceForm .ui-datatable-data td.course-label .course-title,
    #studentSpaceForm .ui-datatable-data td.course-label .course-title,
    #adminSpaceForm .ui-datatable-data td.course-label .course-title,
    #adminSpaceForm .ui-datatable-data td.user-label > .user-name{
        font-size: 0.917rem; /* Converted to rem */
    }
}


/* Media queries */

/* For mobile devices */
@media screen and (max-width: 36rem) {
    #courseDataTable td.ui-datagrid-column{
        padding: 0.625rem; /* Converted to rem */
    }
}

/* For tablets */
@media screen and (min-width: 36.063rem) and (max-width: 62rem) {
    #courseDataTable td.ui-datagrid-column{
        padding: 0.625rem; /* Converted to rem */
    }
}

/* For computers */
@media screen and (min-width: 62.063rem) {
    #courseDataTable td.ui-datagrid-column{
        padding: 0.625rem; /* Converted to rem */
    }
}


/* Media queries */

/* For mobile devices */
@media screen and (max-width: 36rem) {
    .form-bottom,
    .user-panel input {
        width: 100%;
    }
}

/* For tablets */
@media screen and (min-width: 36.063rem) and (max-width: 62rem) {
    .form-bottom,
    .user-panel input {
        width: 75%;
    }
}

/* For computers */
@media screen and (min-width: 62.063rem) {
    .form-bottom,
    .user-panel input {
        width: 75%; /* Converted to rem */
    }
}

/* Media queries */

/* For mobile devices */
@media screen and (max-width: 48rem) {
    .request-form select {
        width:100%;
        font-size:1rem !important; 
        border: black 2px solid !important; 
        margin-left:0;
        height: 2.5rem;
        border-radius: 4px;
        background-color: white;
        font-family: inherit;
    }
}
/* For tablets */
@media screen and (min-width: 48.063rem) and (max-width: 62rem) {
    .request-form select {
        width:75%;
        font-size:1rem !important; 
        border: black 2px solid !important; 
        margin-left:1.25rem;
        height: 2.5rem;
        border-radius: 4px;
        background-color: white;
        font-family: inherit;
    }
}

/* For computers */
@media screen and (min-width: 62.063rem) {
    .request-form select {
        width:80% !important;
        font-size:1rem !important; 
        border: black 2px solid !important; 
        margin:0.313rem 1.25rem;
        height: 2.5rem;
        border-radius: 4px;
        background-color: white;
        font-family: inherit;
    }
}



/* Media queries */

/* For mobile devices */
@media screen and (max-width: 36rem) {
    #companyType,
    #optionActionCompany,
    .request-form .company-siret,
    .request-form .contact-lastname,
    #lastnameReferent,
    .request-form .lastname-referent,
    .request-form .company-naf,
    .request-form .contact-firstname,
    #firstnameReferent,
    .request-form .firstname-referent,
    .request-form .company-zipcode,
    .request-form .company-city,
    #companyPhonenumber,
    .request-form .candidature-delay,
    .label-name-contact,
    .label-fname-contact,
    .request-form p.date label,
    p.date {
        max-width: 100%;
        margin-right: 0;
        float: none;
    }

    .form-img-googlemap{

        max-width: 100%;
        margin-right: 0;
        float: inline-end;
    }
}

/* Media queries for different devices */

/* For mobile devices */
@media screen and (max-width: 36rem) {
    .period-detail .ui-spinner {
        margin: 0.313rem 0.625rem 0 0; /* Adjusted for mobile */
    }
    
    .period-detail input.ui-spinner-input {
        width: 3.75rem; /* Adjusted for mobile */
        padding-right: 1rem; /* Adjusted for mobile */
    }
    
    .request-form .period-table input.ui-spinner-input {
        width: 1.25rem; /* Adjusted for mobile */
    }
    
    .request-form .period-detail-panel {
        width: 95%; /* Adjusted for mobile */
        height: 12.5rem; /* Adjusted for mobile */
    }
    
    .request-form .period-detail-panel label {
        margin-top: 1rem; /* Adjusted for mobile */
    }
    
    .action-buttons > button:not(:last-of-type) {
        margin-right: 1.25rem; /* Adjusted for mobile */
    }
}

/* For tablets */
@media screen and (min-width: 36rem) and (max-width: 62rem) {
    .period-detail .ui-spinner {
        margin: 0.313rem 1rem 0 0; /* Adjusted for tablet */
    }
    
    .period-detail input.ui-spinner-input {
        width: 4rem; /* Adjusted for tablet */
    }
    
    .request-form .period-table input.ui-spinner-input {
        width: 1.25rem; /* Adjusted for tablet */
    }
    
    .request-form .period-detail-panel {
        width: 30rem; /* Adjusted for tablet */
        height: 15.625rem; /* Adjusted for tablet */
    }
}

/* For computers and larger devices */
@media screen and (min-width: 62rem) {
    /* No specific adjustments needed for computers and larger devices */
}

/* Media queries for different devices */

/* For mobile devices */
@media screen and (max-width: 36rem) {
    .sponsor-content .action-buttons > button,
    .action-buttons.sponsor-ab-color > button,
    .action-buttons.company-ab-color > button,
    .home-content #home-form .action-buttons > button:last-of-type {
        background-position: 5.625rem 5.625rem; /* Adjusted for mobile */
    }

    .students-space .action-buttons > button,
    .students-content .action-buttons > button,
    .action-buttons.student-ab-color > button,
    .home-content #home-form .action-buttons > button:not(:last-of-type) {
        background-position: 5.625rem 5.625rem; /* Adjusted for mobile */
    }
}

/* For tablets */
@media screen and (min-width: 36rem) and (max-width: 62rem) {
    /* No specific adjustments needed for tablets */
}

/* For computers and larger devices */
@media screen and (min-width: 62rem) {
    /* No specific adjustments needed for computers and larger devices */
}



/* Base styles */

/* Styles for screens smaller than 48rem (Mobile) */
@media screen and (max-width: 47.938rem) {
    .search-buttons.search-color > button {
        margin-left: 0; /* Adjusted for smaller screens */
    }
}

/* Styles for screens between 48rem and 63.938rempx (Tablet) */
@media screen and (min-width: 48rem) and (max-width: 63.938rem) {
    .search-buttons.search-color > button {
        /* Adjustments for tablet screens */
    }
}

/* Styles for screens larger than 63.938rempx (Desktop) */
@media screen and (min-width: 64rem) {
    /* No specific adjustments for desktop screens in this example */
}


/* Media Queries for Responsiveness */

/* Styles for screens smaller than 48rem (Mobile) */
@media screen and (max-width: 47.938rem) {
    .label-left,
    .label-right {
        width: 100%; /* Adjusted for smaller screens */
        float: none;
    }

    .request-form label.labelRadio {
        width: auto; /* Adjusted for smaller screens */
        margin-left: 0; /* Adjusted for smaller screens */
    }
}

/* Styles for screens between 48rem and 63.938rempx (Tablet) */
@media screen and (min-width: 48rem) and (max-width: 63.938rem) {
    /* No specific adjustments for tablet screens in this example */
}

/* Styles for screens larger than 63.938rempx (Desktop) */
@media screen and (min-width: 64rem) {
    /* No specific adjustments for desktop screens in this example */
}
/* Media Queries for Responsiveness */

/* Styles for screens smaller than 48rem (Mobile) */
@media screen and (max-width: 47.938rem) {
    #filterkeyw,
    #filternumber,
    #lastname,
    .request-form .lastname,
    #firstname,
    .request-form .firstname,
    #funding-title,
    .request-form .funding-title,
    #funding-value,
    .request-form .funding-value,
    .request-form .funding-detail,
    #funding-other,
    .request-form .funding-other,
    #funding-other-value,
    .request-form .funding-value-other,
    label.custom-select,
    .ui-selectcheckboxmenu-label,
    .custom-select select,
    #city,
    #district,
    #school,
    #email,
    .request-form  .referent-email,
    #district {
        /*width: auto; /* Adjusted for smaller screens */
        margin: 0; /* Adjusted for smaller screens */
    }
}

/* Styles for screens between 48rem and 63.938rempx (Tablet) */
@media screen and (min-width: 48rem) and (max-width: 63.938rem) {
    /* Add your styles for tablets here */
}

/* Styles for screens larger than 63.938rempx (Computer) */
@media screen and (min-width: 64rem) {
    /* Add your styles for computers here */
}



@media screen and (-webkit-min-device-pixel-ratio:0) {
    .custom-select select,
    #courseDataTable thead tr[role="row"] .course-status > .ui-dt-c > select {
        padding-right:30px;
    }
}
/* Media Queries for Responsiveness */

/* Styles for screens smaller than 48rem (Mobile) */
@media screen and (max-width: 47.938rem) {


    .ui-datalist-content > .list-item > .left,
    .list-header > span.left {
        width: 100%; /* Full width */
        padding-left: 1.25rem; /* Equivalent to 20px */
    }

    .course-filter,
    .course-filter > .left {
        margin: 0 1.25rem 0.625rem 1.25rem; /* Equivalent to 20px */
    }
}
/* Media Queries for Responsiveness */

/* Styles for screens smaller than 48rem (Mobile) */
@media screen and (max-width: 47.938rem) {


    .ui-datalist-content > .list-item > .center,
    .list-header > span.center {
        width: 100%; /* Full width */
        float: none;
        height: auto;
        text-align: left;
    }

    .ui-datalist-content > .list-item > .right,
    .list-header > span.right {
        padding-right: 1.25rem; /* Equivalent to 20px */
    }

    .ui-datalist .ui-paginator-bottom,
    .ui-datatable .ui-paginator-bottom {
        text-align: center;
    }

    #content .ui-message-info, #content .ui-message-error, #content .ui-message-warn, #content .ui-message-fatal {
        width: auto;
    }
}



/* Styles for screens larger than 63.938rempx (Computer) */
@media screen and (min-width: 64rem) {
    /* Computer styles */
    body {
        font-size: 1.125rem; /* Equivalent to 1.125rem */
    }
}
/* Media Queries for Tablet */
@media (max-width: 48rem) {
    .top-left {
        width: 100%;
        margin-left: 0;
    }
    .top-right, .top-right-showcandidature {
        float: none;
        margin-right: 0;
        width: 100%;
    }
    .form-side.form-top {
        width: 100%;
    }
}

/* Media Queries for Mobile */
@media (max-width: 30rem) {
    .list-tabs > ul > li {
        height: 2.5rem; /* Equivalent to 40px */
    }
    .list-tabs > ul > li > a {
        min-height: 2.5rem; /* Equivalent to 40px */
        line-height: 2.5rem; /* Equivalent to 40px */
    }
    .top-left, .top-right, .top-right-showcandidature {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .form-side.form-top {
        width: 100%;
        padding-bottom: 1.25rem; /* Equivalent to 20px */
        margin: 0 0 0.938rem 0;
    }
}


/* Media query for smaller screens */
@media (max-width: 48rem) {
    .loginFormS3e {
        width: 70%; /* Adjust width for smaller screens */
    }
}

/* Media query for even smaller screens */
@media (max-width: 36rem) {
    .loginFormS3e {
        width: 90%; /* Further adjust width for very small screens */
    }
}


/* Media query for smaller screens */
@media (max-width: 48rem) {
    .loginFormS3e a {
        margin-right: 1rem; /* Adjusted margin for smaller screens */
    }

    span.lost-password {
        margin-top: 1rem; /* Adjusted margin for smaller screens */
        margin-bottom: 2.5rem; /* Adjusted margin for smaller screens */
    }
}
/* Media Queries */
@media (max-width: 48rem) {
    .login-sponsor-box, .login-student-box {
        width: 90%; /* Adjust as needed */
        margin: auto;
    }
    
    .login-sponsor-box .left, .login-sponsor-box .right, .login-student-box .middle {
        width: 100%;
        float: none;
        border: none;
        padding: 0;
        margin: 0;
    }
    
    .login-sponsor-box .right .action-buttons > button, .login-sponsor-box .left .action-buttons > button, .login-student-box .action-buttons > button {
        width: 100%;
        margin: 1rem 0;
    }
    
    .login-sponsor-box .title, .login-student-box .title {
        padding-left: 0;
        text-align: center;
        float: none;
        width: 100%;
    }
    
    .login-sponsor-box .left .login-link, .login-student-box .left .login-link {
        margin-left: 0;
        text-align: center;
    }
}
/* Media Queries */
@media (max-width: 48rem) {
    .account-box {
        width: 90%; /* Adjust as needed */
        margin-left: 0;
    }
    
    .account-box .left, .account-box .right{
        width: 100%;
        float: none;
        border: #1767c2 solid 0.375rem;
        padding: 0;
        margin-bottom: 1rem;
        height: auto;
        margin-top: 0.5rem;
    }
    
     .account-box .middle {
        width: 100%;
        float: none;
        border:gray solid 0.375rem;
        padding: 0;
        margin-bottom:1rem;
        margin-left: 0;
        height: auto;
    }
    
    .account-box-title {
        margin-top: 0.75rem; /* Equivalent to 12px */
        margin-bottom: 1.25rem; /* Equivalent to 20px */
        text-align: center;
    }
    
    .account-box span, .account-box img {
        padding-left: 1.438rem; /* Equivalent to 23px */
        display: block;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

/* Media queries for tablet */
@media screen and (max-width: 64rem) {
    .space-box,
    .space-box-schools {
        width: 48%; /* Adjust as needed */
    }

    .space-box:not(:first-of-type) {
        margin-left: 0rem; /* Adjust as needed */
    }
}

/* Media queries for mobile */
@media screen and (max-width: 48rem) {
    .space-box,
    .space-box-schools {
        width: 100%; /* Adjust as needed */
        margin-left: 0;
        margin-bottom: 1.25rem; /* Equivalent to 20px */
    }
}
/* Media queries for tablet */
@media screen and (max-width: 64rem) {
    .space-box-sponsor {
        width: 80%; /* Equivalent to 48px */
    }

    .space-box-sponsor:not(:first-of-type) {
        margin-left: 0rem; /* Equivalent to 2px */
    }
}

/* Media queries for mobile */
@media screen and (max-width: 48rem) {
    .space-box-sponsor {
        width: 100%; /* Equivalent to 100px */
        margin-left: 0;
        margin-bottom: 1.25rem; /* Equivalent to 20px */
    }
}

/* Media queries for tablet */
@media screen and (max-width: 64rem) {
    .space-box-schools {
        width: 3rem; /* Equivalent to 48px */
    }

    .space-box-schools:not(:first-of-type) {
        margin-left: 0.125rem; /* Equivalent to 2px */
    }
}

/* Media queries for mobile */
@media screen and (max-width: 48rem) {
    .space-box-schools {
        width: 6.25rem; /* Equivalent to 100px */
        margin-left: 0;
        margin-bottom: 1.25rem; /* Equivalent to 20px */
    }
}

/* Media queries for tablet */
@media screen and (max-width: 50rem) {
    .boxDesc,
    .boxDesc-sponsor,
    .boxDesc-schools {
        width: 45%; /* Equivalent to 60px */
        font-size: 0.85rem; /* Equivalent to 13px */
        margin-top: 2.5rem; /* Equivalent to 20px */
        line-height: 1.125rem; /* Equivalent to 1.125rem */
    }

    .boxDesc-sponsor {
        margin-top: 0.313rem; /* Equivalent to 5px */
    }

    .boxDesc-schools {
        margin-bottom: 1.25rem; /* Equivalent to 20px */
    }

    .boxLabel,
    .boxLabel-sponsor,
    .boxLabel-schools {
        width: 100%; /* Equivalent to 162.5px */
        font-size: 0.75rem; /* Equivalent to 12px */
    }

    .boxLabel-sponsor {
        font-size: 0.75rem; /* Equivalent to 12px */
    }

    .boxBottom {
        bottom: -9.4rem; /* Equivalent to -50px */
    }
}

/* Media queries for mobile */
@media screen and (max-width: 30rem) {
    .boxDesc,
    .boxDesc-sponsor,
    .boxDesc-schools {
        width: 80%; /* Equivalent to 100px */
        font-size: 0.8125rem; /* Equivalent to 13px */
        margin-top: 2.5rem; /* Equivalent to 20px */
        line-height: 1.125rem; /* Equivalent to 1.125rem */
    }

    .boxDesc-sponsor {
        margin-top: 0.313rem; /* Equivalent to 5px */
    }

    .boxDesc-schools {
        margin-bottom: 1.25rem; /* Equivalent to 20px */
    }

    .boxLabel,
    .boxLabel-sponsor,
    .boxLabel-schools {
        width: 10.625rem; /* Equivalent to 170px */
        font-size: 0.75rem; /* Equivalent to 12px */
    }

    .boxLabel-sponsor {
        font-size: 0.75rem; /* Equivalent to 12px */
    }

    .boxBottom {
        bottom: -9.4rem; /* Equivalent to -50px */
    }

    .course-detail-dialog {
        width: 21.875rem !important; /* Equivalent to 350px */
        padding: 1.5rem 0rem 0.625rem 0rem !important; /* Equivalent to 24px 0 10px 0 */
    }

    .course-detail-dialog h1 {
        font-size: 2rem; /* Equivalent to 32px */
        height: 2.1875rem; /* Equivalent to 35px */
    }
}


/* Media queries for tablet */
@media screen and (max-width: 40rem) {
    .course-detail-dialog div td:nth-child(2) {
        width: 200px;
    }

    .course-detail-dialog div tr {
        height: 65px;
    }

    .course-detail-dialog.workflow-candidature {
        font-size: 1rem;
    }
}

/* Media queries for mobile */
@media screen and (max-width: 30rem) {
    .course-detail-dialog div td:nth-child(2) {
        width: 160px;
    }

    .course-detail-dialog div tr {
        height: 60px;
    }

    .course-detail-dialog.workflow-candidature {
        font-size: 1rem;
    }

    .course-detail-dialog.workflow-candidature .ui-dialog-titlebar .ui-icon {
        margin-right: -15px;
        height: 20px;
        width: 20px;
    }

    .course-detail-dialog.workflow-candidature h1 {
        padding-top: 10px;
    }

    .connexion-form input {
        width: 290px;
    }
}
/* Media queries for tablet */
@media screen and (max-width: 40rem) {
    .home-content .action-buttons {
        width: 11.75rem; /* Equivalent to 188px */
        margin: 1.125rem 0; /* Equivalent to 1.125rem */
    }

    .identList {
        margin-left: 3.125rem; /* Equivalent to 50px */
    }

    .puceNum {
        margin-right: 0.625rem; /* Equivalent to 10px */
    }

    .private-img {
        width: 26.875rem; /* Equivalent to 430px */
        height: 4.0625rem; /* Equivalent to 65px */
    }
}

/* Media queries for mobile */
@media screen and (max-width: 30rem) {
    .home-content .action-buttons {
        width: 11.75rem; /* Equivalent to 188px */
        margin: 1.125rem 0; /* Equivalent to 1.125rem */
    }

    .identList {
        margin-left: 3.125rem; /* Equivalent to 50px */
    }

    .puceNum {
        margin-right: 0.625rem; /* Equivalent to 10px */
    }

    .private-img {
        width: 20.625rem; /* Equivalent to 330px */
        height: 3.125rem; /* Equivalent to 50px */
    }
}
/* Media queries for tablet */
@media screen and (max-width: 40rem) {
    .form-oneButt-student .actions-buttons,
    .form-oneButt-parents .actions-buttons {
        width: 30%;
        margin-right: 1.25rem; /* Equivalent to 20px */
    }

    .student-ab-color {
        margin-right: 1.25rem; /* Equivalent to 20px */
    }

    #courses-counter {
        margin-top: 2.5rem; /* Equivalent to 40px */
    }

    #counter-digit {
        background-size: auto auto;
        height: 1.8125rem; /* Equivalent to 29px */
        width: 6.875rem; /* Equivalent to 110px */
    }

    #counter-digit p {
        line-height: 1.8125rem; /* Equivalent to 29px */
        width: 6.375rem; /* Equivalent to 102px */
        word-spacing: 0.813rem;
        font-size: 1rem; /* Equivalent to 1em */
    }
}

/* Media queries for mobile */
@media screen and (max-width: 30rem) {
    .form-oneButt-student .actions-buttons,
    .form-oneButt-parents .actions-buttons {
        width: 100%;
        margin-right: 0;
    }

    .student-ab-color {
        margin-right: 0;
    }

    #courses-counter {
        margin-top: 2.5rem; /* Equivalent to 40px */
    }

    #counter-digit {
        background-size: auto auto;
        height: 1.8125rem; /* Equivalent to 29px */
        width: 6.875rem; /* Equivalent to 110px */
    }

    #counter-digit p {
        line-height: 1.8125rem; /* Equivalent to 29px */
        width: 6.375rem; /* Equivalent to 102px */
        word-spacing: 0.813rem;
        font-size: 1rem; /* Equivalent to 1em */
    }
}

/* Common styles */
/* Media queries for tablet */
@media screen and (max-width: 40rem) {
    .plateform-counter {
        margin-right: 1.25rem; /* Equivalent to 20px */
    }
}

/* Media queries for mobile */
@media screen and (max-width: 30rem) {
    .plateform-counter {
        margin-right: 0;
    }
}

/* Common styles */
/* Media queries for tablet */
@media screen and (max-width: 40rem) {
    #selectOneExistingCandidatures,
    #moderationLevel {
        margin-left: 0.625rem; /* Equivalent to 10px */
    }
}

/* Media queries for mobile */
@media screen and (max-width: 30rem) {
    #selectOneExistingCandidatures,
    #moderationLevel {
        margin-left: 0;
    }
}

/* Common styles */
/* Media queries */
@media only screen and (max-width: 48rem) {
    .homebutton-style {
        width: 100%; /* Adjust width for smaller screens */
        height: auto; /* Allow height to adjust based on content */
        left: 0; /* Reset left position */
        top: 0; /* Reset top position */
    }
}

@media only screen and (max-width: 36rem) {
    .homebutton-style > span {
        top: 0; /* Reset top position */
    }
}

/* Common styles *//* Media queries for tablet and mobile */
@media only screen and (max-width: 64rem) {
    .text-block {
        bottom: 20.7%; /* Adjust position for tablet */
        left: 13.5%; /* Adjust position for tablet */
    }

    .counter {
        font-size: 1.625rem !important; /* Adjust font size for tablet */
    }

    .countertext {
        right: 0.625rem; /* Adjust position for tablet */
    }
}

@media only screen and (max-width: 48rem) {
    .text-block {
        bottom: 20.7%; /* Adjust position for mobile */
        left: 10%; /* Adjust position for mobile */
    }

    .container {
        height: 20rem !important; /* Adjust height for mobile */
    }

    .container-img {
        height: 20rem; /* Adjust height for mobile */
        object-fit: none !important;
    }

    .counter {
        font-size: 1.5rem !important; /* Adjust font size for mobile */
    }

    .countertext {
        right: 0.625rem; /* Adjust position for mobile */
    }
}
@media (min-width: 36em) {
  #orejime .orejime-ModalPortal .orejime-ModalOverlay .orejime-Modal .orejime-Modal-title {
    font-size: 2em; /* Equivalent to 32px */
  }
}

@media (min-width: 64em) {
  #orejime .orejime-ModalPortal .orejime-ModalOverlay .orejime-Modal .orejime-Modal-title {
    font-size: 2.375em; /* Equivalent to 38px */
  }
}

/*@media (max-width: 30rem) {

  .login-sponsor-box form {
    margin: 0rem;
}  
}*/



    .desktop-only {
        color: #0047a3 !important;
    }


.bg-light {
    background-color: #f7f4f1!important;
}

.navbar{
  background-color: #f7f4f1!important;
    box-shadow: 2px 0px 4px rgba(0,1,1,0.38);
}



/* Styling for the navbar toggler */
.navbar-toggler {
    background-color: transparent;
    border: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url('path/to/your-toggler-icon.svg'); /* Replace with your own icon */
    width: 30px; /* Adjust as needed */
    height: 30px; /* Adjust as needed */
}

/* Styling for the navbar items */
.navbar-nav .nav-item {
    margin-right: 10px; /* Adjust spacing between items */
}

.navbar-nav .nav-link {
    color: #000; /* Adjust link color */
    /*font-weight: bold; /* Adjust font weight */
    text-decoration: none; /* Remove default underline */
}

/* Styling for the selected item */
.navbar-nav .nav-item.selected .nav-link {
    color: #fff; /* Adjust selected link color */
    background-color: #007bff; /* Adjust selected background color */
}


/*********************************************************************************/



#boot_menu li.home-item a::before {
  color: #0047a3;
  content: "\276F";
  margin-right: 0.5rem;
  position: relative;
}

#boot_menu  li.students-item a::before {
    color: #2c62cb;
    content: "\276F";
    margin-right: 0.5rem;
    position: relative;

}

#boot_menu  li.sponsors-item a::before {
    color: #673ab7;
    content: "\276F";
    margin-right: 0.5rem;
    position: relative;

}

#boot_menu  li.parents-item a::before {
    color: #da1984;
    content: "\276F";
    margin-right: 0.5rem;
    position: relative;

}

#boot_menu  li.school-item a::before {
    color: #00af5e;
    content: "\276F";
    margin-right: 0.5rem;
    position: relative;

}

/*#boot_menu  li:hover a:after,*/
#boot_menu  li.selected a:after {
    color: #fb8c00;
}

/*#boot_menu  li.home-item a:hover{

        background-color: red;

}*/





#students-link a:before{
    color: #2c62cb;
}

#sponsors-link a:before{
    color: #673ab7;
}

#parents-link a:before{
    color: #da1984;
}

#school-link a:before{
    color: #00af5e;
}

#boot_menu  li:hover a:after,
#boot_menu  li.selected a:after {
    color: #fb8c00;
}


#boot_menu {
  text-align: center;
  width: 80%; /* Set the width of the navbar content to 80% */
  display: flex; /* Use flexbox layout */
  justify-content: space-between; /* Distribute items evenly along the main axis */
  margin-left: 10%;
  margin-right: 10%;
}

.boot_menu_css{

    color: black;
}


#boot_menu  li.home-item:hover,
#boot_menu  li.home-item.selected,
#boot_menu  li.students-item:hover,
#boot_menu  li.students-item.selected,
#boot_menu  li.sponsors-item:hover,
#boot_menu  li.sponsors-item.selected,
#boot_menu  li.parents-item:hover,
#boot_menu  li.parents-item.selected,
#boot_menu  li.school-item:hover,
#boot_menu  li.school-item.selected {
    background-color: white;
    border-radius: 1.125rem;
    /*margin-right: 0.5rem;*/
}




#boot_menu a {
    color: black;
    line-height: 1.25rem;
    text-align: center;
    display: block;
    font-family: OrkneyRegular, sans-serif;
    font-weight: 200%;
    font-size: 1rem;
    /*width: 9rem;*/
}

/*#boot_menu  li a,
{
    background-color: white;
    width: 100%;
    height: 1.125rem;
    border-radius: 0.625rem;
}

#boot_menu  li ,
{
    width: 19%;
}*/

.nav-link {
    width: 90%;
}

.nav-item{

    width: 100%;
    height: 80%;
        /*border-radius: 0.625rem;*/

}

/*****************************************************************************************************/




#menuS3e ul {
    display: block; /* Show ul by default */
}

.menu_card {
    display: none; /* Hide menu_card by default */
}

@media screen and (max-width: 62rem) {
    #menuS3e ul {
        display: none; /* Hide ul when max-width is 62rem */
    }

    .menu_card {
        display: block; /* Show menu_card when max-width is 62rem */
        float: right;
    }
}

#on_mobile {

    display: none;
}

@media screen and (max-width: 48rem) {


    #on_mobile {
        display: block;
    }

    #off_mobile{
        display: none;
    }

    .ui-g-12{

        width: 100% !important;
        text-align: center;
    }

    #footerText{

        width: 100% !important;
        text-align: center;
    }
}

@media screen and (min-width: 64.063em) {
  .ui-lg-4 {
    width: 33.33333333%;
    text-align: center !important;
  }
}


 @media screen and (min-width: 48rem) and (max-width:64rem){ 

    .ui-md-6 {
        width: 33% !important;
        text-align: center;
    }

 }


.menu_card.home-item:hover,
.menu_card.home-item.selected,
.menu_card.students-item:hover,
.menu_card.students-item.selected,
.menu_card.sponsors-item:hover,
.menu_card.sponsors-item.selected,
.menu_card.parents-item:hover,
.menu_card.parents-item.selected,
.menu_card.school-item:hover,
.menu_card.school-item.selected {
    background-color: white;
    width: 19%; /* Equivalent to 19% */
    height: 2.125rem; /* Equivalent to 34px */
    border-radius: 1.125rem; /* Equivalent to 18px */
    margin-right: 0.625rem; /* Equivalent to 10px */
}




/*@media screen and (max-width: 30rem) {
    #menuS3e ul li {
        width: 50%; 
    }
}

@media (max-width: 75rem) {
    #menuS3e ul,
     {
        width: 93.75%;
    }
}*/



.container_l {
  display: flex;
  flex-wrap: wrap;
}

.left {
  flex: 1;
}

.right {
  flex: 1;
}

@media (max-width: 600px) {
  .container_l {
    flex-direction: column;
  }
}

#dynaButton{

    margin-right: 1rem !important;
}

/*@media screen and (max-width: 768px ) {
  .filter-dialog { max-width: 90% !important;
  height: auto !important;
  } }

@media screen and (min-width: 1024px ) {
  .filter-dialog { max-width: 60% !important; 
  max-height: auto!important;}
}*/


.form-container {
    display: flex;
    flex-direction: column;
}

.form-side {
    width: 48%;
    margin-bottom: 20px;
}

/* Media query for mobile */
@media screen and (max-width: 768px) {
    .form-side {
        width: 100%; /* Adjusted width for mobile */
    }
}

/* Media query for tablet */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .form-side {
        width: 75%; /* Adjusted width for tablet */
    }
}

/* do not touch as it has impact everywhere */
.form-left {
    width: 50%;
    float: left;
    /*margin-right: 3%;*/
}

.form-right {
    width: 50%;
    float: right;
    /*margin-left: 3%;*/
}

@media (max-width: 768px) {
    .form-left,
    .form-right {
        width: 100%;
        float: none;
    }
}

.show_image{
    max-width:100% !important;
    height:18rem;
    object-fit:cover;
    box-shadow: 0 0 8px 0 #d2d2d2;
    padding-right:2rem;
    cursor: pointer;
}

.show_image2{
    width:100% !important;
    height:10.75rem;
    object-fit:cover;
    box-shadow: 0 0 8px 0 #d2d2d2;
    padding-right:2rem;
    cursor: pointer;
}

.show_image3{
    width:80% !important;
    height:10.75rem;
    object-fit:cover;
    box-shadow: 0 0 8px 0 #d2d2d2;
    padding-right:2rem;
    cursor: pointer;
}

.accessibilityDiv {
    display: flex;
    align-items: center;
    margin-right: 1.5rem; /* 30px to rem */
    margin-top: 0.625rem; /* 10px to rem */
    width: 100%; /* 700px to rem */
    height: 3.75rem; /* 60px to rem */
    margin-left: 0.625rem; /* 10px to rem */
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .accessibilityDiv {
        width: 90%; /* Adjust width for smaller screens */
    }
}

@media screen and (max-width: 576px) {
    .accessibilityDiv {
        margin-right: 1rem; /* Adjust margins for smaller screens */
        margin-left: 1rem; /* Adjust margins for smaller screens */
    }
}
.accessibilityImg{
    width: 3.2rem;
    height:3.2rem;
}

body .ui-fileupload .ui-fileupload-buttonbar {
    border: none !important;
    background: none !important;
    color: #495057;
    padding: 1rem;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

body .ui-fileupload .ui-fileupload-content {
     border: 0px solid #dee2e6 !important; 
    background: #ffffff;
    color: #495057;
    padding: 1rem;
    border-top: 0 none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

input[readonly] {
  background: lightgray !important;
}


input[disabled="disabled"] {
  background: lightgray !important;
}


.form-side-width{
    
    width: 100%;
}

.login-width{
    width: 90% !important;
}

.request-form select {
    /*width: 75% !important;*/
    font-family: OrkneyRegular, sans serif;
    font-size: 14pt;
}

.date_div {
   /* width: 13.125rem;*/
    display: inline-flex !important;
}

.file_upload_label {
    width: 33%;
}

@media screen and (max-width: 48rem) {
    .file_upload_label {
        width: 90%;
        max-width: 90%;
    }
}

@media screen and (max-width: 30rem) {
    .file_upload_label {
        width: 90%;
        max-width: 90%;
    }
}

body .ui-panel .ui-panel-content {
    border: 0 !important;
}

/* CSS for spinner overlay */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.spinner-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

/* CSS for form content blur effect */
.form-content.blur {
    filter: blur(4px);
}

.file-delete{
    width:2rem;
    height:2rem;
    /*margin:0 0 0 15px !important;*/
    padding:0 !important;
    top:4px;
}

#attachmentFile,#attachmentFilePdf{  
   width:2rem; 
   height:2rem;
}

.menu_card a:before{
    content: "" !important;
    font-size: 0rem;
    margin-right: 0rem;
    position: relative;
}

.menu_card a{
   float:left;
   padding-left: 0rem;
   /*margin-top: 0.3rem; */
}

.header_2{
    display: none;
}

/*@media (min-width: 1350px) {
  .example-class {
    font-size: 1.5rem;
  }
}*/

@media (max-width: 85rem) and (min-width: 75rem) {
  .header_2 {
    font-size: 0.8rem;
    display:block;
  }
  .header_1{
      display: none;
  }
  
  /*#menuS3e ul li {
      min-width: 19%;
  }*/
  
    #menuS3e ul li {
        /*min-width: 16%;*/
        max-width: 19%;
    }

  
  #menuS3e ul li.home-item:hover,
#menuS3e ul li.home-item.selected,
#menuS3e ul li.students-item:hover,
#menuS3e ul li.students-item.selected,
#menuS3e ul li.sponsors-item:hover,
#menuS3e ul li.sponsors-item.selected,
#menuS3e ul li.parents-item:hover,
#menuS3e ul li.parents-item.selected,
#menuS3e ul li.school-item:hover,
#menuS3e ul li.school-item.selected {
    max-width: 19%;
}
body .ui-input-icon-right > i:last-of-type {
    margin-right: 0rem;
    color: #6c757d;
}
}


  @media (max-width: 75rem) and (min-width: 62rem) {
  
  
    .header_2 {
    font-size: 0.8rem;
    display:block;
  }
  .header_1{
      display: none;
  }
  
  /*#menuS3e ul li {
      min-width: 19%;
  }*/
  
    #menuS3e ul li {
        min-width: 16%;
        max-width: 19%
        /*max-width: 16%;*/
    }

  
  #menuS3e ul li.home-item:hover,
#menuS3e ul li.home-item.selected,
#menuS3e ul li.students-item:hover,
#menuS3e ul li.students-item.selected,
#menuS3e ul li.sponsors-item:hover,
#menuS3e ul li.sponsors-item.selected,
#menuS3e ul li.parents-item:hover,
#menuS3e ul li.parents-item.selected,
#menuS3e ul li.school-item:hover,
#menuS3e ul li.school-item.selected {
    max-width: 19%;
}
body .ui-input-icon-right > i:last-of-type {
    margin-right: 0rem;
    color: #6c757d;
}
  
  }



#administratorEmailAdress_input{
  width: 165%; 
}

.mobile-logoimg {
    /*width: 5rem;*/
    height: 3rem;
    float: left;
    margin-left: 1.0rem;
    padding-bottom:6px;
}


  @media (max-width: 62rem) {  
    #menuS3e {
    position: relative;
    background-color: #f7f4f1;
    color: black;
    margin-bottom: 0;
    box-shadow: 0.125rem 0 0.25rem rgba(0,1,1,0.38);
    height: 3.8rem;
    padding-top: 0.7rem;
    padding-bottom: 0.625rem;
}
  }
  
  .rubrik_disabled{
     margin-left:1.25rem;
     pointer-events: none;;
  }
  
  .rubrique_disabled{
     margin-left:1.25rem;
     pointer-events: none;;
  }
  
  /*.ui-selectmanycheckbox label {
    display: flex;
    align-items: baseline !important;
}

.ui-selectmanycheckbox label .ui-chkbox {
    margin-right: 5px;
}

.ui-selectmanycheckbox label span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100% - 20px);
}

label {
    display:flex;
    align-items: baseline;
}

input[type=checkbox] {
    margin-right: 8px !important;
}*/

body .ui-fileupload .ui-fileupload-buttonbar{
    
    padding: 0.8rem !important;
}

        .scrollable-panel {
            width: 100%;
            height: 100%;
            max-height: 400px; /* Set a maximum height if needed */
            overflow: auto;
        }
        
        
body .ui-input-icon-right > i:last-of-type {
    margin-right: 1.6rem;
    color: #6c757d;
}

body .ui-input-icon-right {
    position: relative;
    display: inline !important;
}

.ui-icon-triangle-1-s {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .filter-dialog .ui-dialog-content {
        width: 90% !important;
        max-width: none !important;
        margin: auto !important;
    }
    
    #adminSpaceForm thead tr[role="row"] span:not(.ui-icon) {
    min-height: 0rem;
    color: white;
    font-size: 12pt;
    display: inline-block;
    max-height: 2rem;
    max-width: 5rem;
    min-width: 0rem;
}

.account-box {
    
    font-size: 1rem;
}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .filter-dialog .ui-dialog-content {
        width: 70% !important;
        max-width: none !important;
        margin: auto !important;
    }
    
   .loginFormS3e .action-buttons button:first-of-type {
  
    width:90%;
 margin:0.313rem 1.25rem    
   }
}

@media screen and (min-width: 1024px) and (max-width:1200px) {
    
   
   
.account-box {
    
    font-size: 1.25rem;
    min-height: 15rem;
    max-height: 16rem;
}    
    
}

@media screen and (min-width: 768px) and (max-width:1023px) {
    
   
   
.account-box {
    
    font-size: 1rem;
    min-height: 15rem;
    max-height: 16rem;
}  
.account-box-title{
    font-size: 16pt;
}
    
}

@media screen and (min-width: 1025px) {
    .filter-dialog .ui-dialog-content {
        width: auto !important;
        /*max-width: 90% !important;*/
    }
    
        
   .loginFormS3e .action-buttons button:first-of-type {
  
    width:90%;
    margin:0.313rem 1.25rem;
    }
}

body .ui-message {
    padding: 0.5rem 0.5rem;
    /*display: flex !important;*/
    border-radius: 4px;
}

.middle input{
    
    width: 100% !important;
}

.login-link {
    margin-left: 1.25rem;
    margin-top: 1rem !important;
    margin-bottom: 0rem;
}

.custom-select:after {
    display: none;
}

.file_upload{
    margin-left:1.25rem; 
    height:2.2rem; 
    align-content:center;
    border-radius:4px;
    width:98%;
    overflow-y: overlay;
}

.p_file_upload{
    height:2rem;
    margin-left:1.25rem;    
}

#adminSpaceForm p.logo {
    display: inline-block;
    width:50%;
}

/*  admin list scrollpanel responsive start   */

@media screen and (max-width: 62rem) {
    .responsive-scrollPanel {
        overflow-x: auto;
    }

    .ui-datatable td, .ui-datatable th {
        white-space: nowrap;
   }
   
   .ui-datatable{
       
       width: 55rem;
       height: 15rem;
   }
   
   #adminUsersDataTable.ui-datatable{              
       width: 85rem;
       height:auto;
   }
   .admin_list_scroll_panel{
        width: 62rem;
        height: 15rem;         
   }
   
}

@media screen and (max-width: 48rem) {
    .loginFormS3e .action-buttons button:first-of-type {
    float: none;
    margin: 0; 
        width:90%;

    }  
    
   .galleria{
  max-width:100%;  
}
.p_galleria_image{
max-width: 100%;
max-height:100%;
display: block;
} 
}

/*  admin list scrollpanel responsive end   */

.ui-datatable .ui-column-filter {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: .5rem auto auto auto;
    height: 2rem;
}

.color1{
    
    color:black;
}

.color2{
    
    color:red !important;
}

.accessibilityPreviewImg{
    margin-right:1rem;
    width:2rem;
    height:2rem;
}

.galleria{
  max-width:80% !important;  
}
.p_galleria_image{
width:100%;
height:100%;
display: flex;
object-fit: contain;
}

.ui-galleria-item-container, 
.ui-galleria-item-wrapper, 
.ui-galleria-items, 
.ui-galleria-content ,
.ui-galleria-fullscreen,
.ui-galleria {
    height: 100% !important;
    width: 100% !important;
}

.ui-texteditor{
  width:85%;
/* changed from 80% to 85% for offer description */  
}

.ql-editor{
    padding: 12px 10px !important;
}


.request-form .company-zipcode {
    width: 24% !important;
     margin-right: 3% !important;
}

.request-form .company-city {
    width: 50% !important;
    margin-left: 3%;
}


.candidature_label{
    width: 30% !important;
}
.cand_small_input{
  width: 50% !important;
}

.ui-selectcheckboxmenu {
    width: 80% !important;
    margin:0.313rem 1.25rem;
}

.ui-selectmanybutton {
    display: inline-block;
    padding: 1px;
 /*   width: 78.9% !important; */
    margin:0.313rem 1.25rem;
 /*   background-color:lightgray !important; */
}

.ui-selectonebutton{
    margin-left: 20px;
}

.request-form h2{
    padding-bottom: 0;
}

@media (max-width: 48rem) {
 
.request-form .company-zipcode {
    width: 24% !important; /* Converted to rem */
     margin-right: 3% !important;
}

.request-form .company-city {
    width: 70% !important; /* Converted to rem */
    margin-left: 3%;
}

.ui-selectcheckboxmenu ,
.ui-selectmanybutton,
.cand_small_input,
.candidature_label{
    width: 100% !important;
    margin-left: 0px !important;
}

.ui-texteditor{
   width:85%;
/* changed from 100% to 85% for offer description and responsive */  
}

}



/*********for fileupload to show preview *********/



/*body .ui-fileupload .ui-fileupload-buttonbar .ui-button {
    margin-right: 0.5rem;
    width: 2rem;
    height: 2rem;
}



.form-side .ui-fileupload {
    display: inline-block;
    font-size: 0.9rem; 
}

.form-side .ui-fileupload label {
    margin: 0;
}

.form-side .ui-fileupload .ui-widget-header {
    background: none !important;
    border: none !important;
}

.form-side .ui-fileupload-choose {
    height: 2rem; 
    background-repeat: no-repeat;
    background-position: center;
}

.form-side .ui-fileupload-buttonbar .ui-button-text {
    display: none;
}

.form-side .ui-fileupload-buttonbar .ui-icon {
    display: none;
}

.form-side .ui-fileupload-choose.ui-state-default {
    width: 2rem; 
    box-shadow: none;
    text-shadow: none;
}

.form-side .ui-fileupload-buttonbar .ui-fileupload-choose input {
    transform: none;
    width: 1.875rem;
}

.form-side .ui-fileupload-content {
    border: none;
    background: none;
    position: relative;
}

.form-side .ui-fileupload-content .ui-messages {
    color: rgb(185, 74, 72);
    background: rgb(242, 222, 222);
    border-color: rgb(238, 211, 215);
    position: absolute;
    left: -21.875rem;
    bottom: -2.5rem;
    height: 2.188rem;
}

.form-side .ui-fileupload-content .ui-messages .ui-messages-error {
    margin: 0;
}

.form-side .ui-fileupload-content .ui-messages .ui-icon-close {
    margin-top: -0.015625rem;
}

.form-side .ui-fileupload-content .ui-messages .ui-messages-error-icon {
    margin-top: -0.03125rem;
}*/

/*************end for preview *******************/



.partner-panel {
    /* Add any specific styling for the partner panel if needed */
}

.partner-overview {
    margin-bottom: 20px;
}

.contact-carousel-grid {
    width: 100%;
    table-layout: fixed;
}

.contact-carousel-grid .left-column {
    width: 50%;
    vertical-align: top;
    padding-right: 10px; /* Optional: Add some padding */
}

.contact-carousel-grid .right-column {
    width: 50%;
    vertical-align: top;
    padding-left: 10px; /* Optional: Add some padding */
}

.offer-item {
    padding: 10px;
    text-align: center;
}

.offer-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.offer-image {
    max-width: 100%;
    max-height: 200px;
}

.offer-description {
    margin-top: 10px;
}

.offers-carousel-full-width {
    margin-top: 20px;
    width: 100%;
}


    .fa-button .ui-button-icon-left {
        font-family: "Font Awesome 6 Pro";
    }
    
        .product-item .product-item-content {
        border: 1px solid var(--surface-d);
        border-radius: 3px;
        margin: .3rem;
        text-align: center;
        padding: 2rem 0;
    }

    .product-item .product-image {
        width: 80%;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
        height: 200px;
    }
    
    .cover-photo {
        position: relative;
        border: 2px solid #000; /* Add border to the cover photo */
    }

    .cover-photo img {
        width: 100%;
        height: 15rem;
        object-fit: cover;
    }

    .logo2 {
        position: absolute;
        top: -3rem;
        left: auto;
        border: 2px solid #000; /* Add border to the logo */
        background-color: white; /* Ensure the logo has a white background */
        padding: 5px; /* Add some padding around the logo */
    }

    .logo2 img {
        max-width: 100px;
        height: 6rem;
    }
    
    .logo3 {
        position: relative;
   
        /*padding: 5px; Add some padding around the logo */
    }
    
    .logo3 img {
        max-width: 100%;
        height: 8rem;
        margin-bottom:1rem;
    }
    
    .logo4 img {
        max-width: 100%;
        height: 10rem;
    }

    .icon {
        /*position: absolute;
        bottom: 5px;
        right: 5px;
        margin-left: 5px;*/
    }
    
     .orange {
        color: #e74847;
    }

    .yellow {
        color: #faaf00;
    }

    .pink{
      color: #e8527f;  
    }

    .green {
        color: #005e36;
    }
    
    .blue{
        color: #2c62cb;
    }
    
    .default_color{
        color: #673ab7;
    }
    
            .icons-container {
            position: absolute;
            bottom: 10px;
            right: 10px;
            display: flex;
            gap: 5px;
        }

        /*.fa-circle {
            width: 20px;
            height: 20px;
        }*/

        .list-grid .ui-datagrid-content .ui-datagrid-data h:panelGrid {
            position: relative;
        }
    
    /* FILTERS THE IN PUBLIC LIST */


#courseListForm div.filter-dialog{

}



@media screen and (min-width: 769px) and (max-width: 1024px) {
    body .filter-dialog .ui-dialog-content {
        width: 90% !important;
        max-width: none !important;
/*        margin: auto !important;*/
    }
}


#courseListForm .ui-tabs-panels .ui-inputgroup{
    white-space: nowrap;

}


.ui-inputgroup>.ui-inputtext:not(:first-child), .ui-inputgroup>.ui-inputtextarea:not(:first-child), .ui-inputgroup>.ui-password:not(:first-child), .ui-inputgroup>.ui-inputnumber:not(:first-child)>.ui-inputtext, .ui-inputgroup>.ui-inputmask:not(:first-child), .ui-inputgroup>.ui-calendar:not(:first-child)>.ui-inputfield, .ui-inputgroup>.ui-chips:not(:first-child)>.ui-chips-container, .ui-inputgroup>.ui-selectonemenu:not(:first-child), .ui-inputgroup>.ui-selectonebutton:not(:first-child)>.ui-button, .ui-inputgroup>.ui-autocomplete:not(:first-child)>.ui-autocomplete-input, .ui-inputgroup>.ui-spinner:not(:first-child), .ui-inputgroup>.ui-spinner:not(:first-child)>.ui-spinner-input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0 none;
    width: initial;
    flex: 1;
}

#courseListForm .ui-inputgroup-addon{
    flex: 1;
}

#courseListForm input{
    flex: 0;
}

#courseListForm .ui-tabs-panels .ui-inputgroup {
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

@media screen and (min-width: 768px) {
    .md\:col-4 {
        flex: 0 0 auto;
        padding: 0.5rem;
        width: initial !important;
        min-width: 39%;
        max-width: 100%;

    }
}

#courseListForm input {
    flex: 1;
}

#courseListForm .ui-dialog-content.ui-widget-content{
    height: initial !important;
}

#courseListForm table.ui-panelgrid.ui-widget.list-filters tr.ui-widget-content{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}



#courseListForm div.ui-dialog.filter-dialog{
    min-width: 5rem;
    max-width: 94vw;
    height: auto;
    overflow-y: auto;
    resize: both;
    max-height: 100%;
}


    .offers-carousel-full-width .offer-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
        box-sizing: border-box;
    }

    .offer-item .image-container {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .offer-image {
        width: 100%;
        height: 200px;
        max-width: 300px; /* Set a max width for consistency */
        object-fit: cover; /* Ensure the image covers the container */
    }

    .icon {
        position: relative;
        top: 0px; /* Adjust position as needed */
        right: 0px; /* Adjust position as needed */
    }

    .offer-title {
        font-size: 1.2em;
        font-weight: bold;
        margin-top: 10px;
    }

    .offer-description {
        margin-top: 10px;
        max-width: 300px; /* Match max width with image */
    }

    .description-text {
        display: inline-block;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .description-text:hover {
        white-space: normal;
        background-color: #fff;
        z-index: 10;
    }

    .fa-circle {
    position: absolute;
    top: 5px;
    font-size: 32px;
    width: 36px;
    height: 36px;
    margin-right:5px;
    /*line-height: 29px;*/
    /*line-height: normal !important;*/
    /*text-align: center;*/
    border: 2px solid white;
    border-radius: 50%;
    box-sizing: border-box;
    -webkit-box-shadow: -3px 3px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: -3px 3px 5px 0px rgba(0,0,0,0.5);
    box-shadow: -3px 3px 5px 0px rgba(0,0,0,0.5);

}

.course-color-title{    
    text-transform: uppercase;
    font-size: 0.8rem;
    font-family: OrkneyBold, sans-serif !important;
    /*float: left;*/
    margin: 0;
    line-height: 0.9rem;
}

.course-company-black{    
    /*text-transform: uppercase;*/
    font-size: 0.725rem;
    font-family: OrkneyBold, sans-serif !important;
    color:black;
    /*float: left;*/
    margin: 0;
    line-height: 0.9rem;
}


.border-color-image{
    border-top:3px solid;
}

.home-box {
  width:97%;
  height:auto;
  margin-top:1rem;
  border:solid 1px orangered;  
}

@media (max-width: 48rem) {
 
  .home-box {
  width:100%;
  height:auto;
  
 }
}

.candidature_dialog{
    width: 50% !important;
}

.candidature_dialog_text_editor{
    width: 100% !important;
}

#accept-dialog {
    border: rgb(0, 128, 0) solid 0.063rem; /* green */
}


#accept-dialog .form-side.form-bottom {
    margin-bottom: 0rem;
    margin-right: 0rem;
    width: auto;
}

#accept-dialog .action-buttons {
    margin-right: 0rem;
}

.line_seperator{ 
border-top: #E02363 0.188rem solid;
    float: left;
    width: 100%;
    padding-bottom: 1.25rem;
    margin: 0 20px 0.938rem 20px;
}

/* Custom OrderList Styling */
.custom-orderlist {
    border: 2px solid #1976d2;
    border-radius: 4px;
    background: #f8fafd;
    padding: 1.5em 1em 1em 1em;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
    width: 100% !important;
}
.custom-orderlist .ui-orderlist-list {
    background: #fff;
    border-radius: 4px;
    /*min-height: 80px;*/
    font-size: 1.1em;
    color: #333;
    padding: 0.5em;
}
.custom-orderlist .ui-orderlist-caption {
    font-weight: bold;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 0px;
    padding: 0.7em 1em;
    margin-bottom: 0.5em;
    font-size: 1.1em;
}
.custom-orderlist .ui-orderlist-controls {
    background: none;
    border: none;
}
.custom-orderlist .ui-button {
    background: #1976d2;
    color: #fff;
    border-radius: 4px;
    margin: 0.2em 0;
    transition: background 0.2s;
}
.custom-orderlist .ui-button:hover {
    background: #1565c0;
}
.custom-orderlist .ui-orderlist-item {
    border: 1px solid lightgray !important;
    border-radius: 4px;
    margin-bottom: 0.5em;
    background: #f5faff;
    padding: 0.7em 1em;
    transition: box-shadow 0.2s;
}
.custom-orderlist .ui-orderlist-item.ui-state-highlight {
    background: #bbdefb !important;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.12);
}
                
.ui-orderlist .ui-orderlist-list {
    list-style-type: none;
    margin-left: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
    overflow: auto !important;
    height: auto !important;
    width: 100% !important;
    font-size: 0.75rem !important;
    text-align: left !important;
}
.ui-orderlist .ui-orderlist-caption {
     width: 100% !important;
     text-align: left !important;
     border: 0px !important;
     font-size: 0.75rem !important;
}
/* Hide 2nd (Top) and 4th (Bottom) buttons */
.ui-orderlist-controls .ui-button:nth-child(2),
.ui-orderlist-controls .ui-button:nth-child(4) {
    /*display: none !important;*/
}
.ui-button.ui-button-icon-only {
  width: 2rem !important;
  height: 2rem !important;
  margin-bottom: 0.2rem !important;
}

.ui-orderlist-controls {
    padding-top: 9% !important;
    padding-left: 6% !important;
    padding-bottom: 4% !important;
}

.file-link {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    margin-right: 10px;
}
.file-link:hover {
    color: #0056b3;
    text-decoration: none;
}
.file-links-table {
    margin-top: 10px;
}

.user-common-theme,
.user-department-themes {
    min-width: 150px;
    max-width: 200px;
}

.theme-filter {
    width: 100%;
    max-width: 150px;
}

.no-theme {
    color: #999;
    font-style: italic;
}

.theme-info {
    margin-top: 5px;
    font-size: 0.9em;
}

.theme-label {
    font-weight: bold;
    color: #666;
}

.theme-titles {
    color: #333;
}

.test-value {
    color: red;
    font-weight: bold;
    background-color: yellow;
    padding: 2px 5px;
    border: 1px solid red;
}
.theme-titles-multiline {
    white-space: pre-line !important;
    line-height: 1.4;
    padding: 4px 0;
}

.clickable-rows tbody tr {
    cursor: pointer;
}
.clickable-rows tbody tr:hover {
    background-color: #f0f0f0 !important;
}

/* IEN Status Buttons - Simplified */
.ien-status-buttons {
    display: flex;
    gap: 5px;
    justify-content: center;
}

/* Override PrimeFaces for perfect circles */
#ienForm .ien-status-buttons .button-small.ui-button.ui-button-icon-only {
    width: 3rem !important;
    height: 3rem !important;
    border-radius: 50% !important;
}

/* Button colors */
.button-not-favorable {
    background-color: #fd7e14 !important;
    border-color: #fd7e14 !important;
    color: white !important;
}

.button-favorable {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: white !important;
}

.button-very-favorable {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

/* Fix sort icon visibility for IEN datatables */
#ienForm .ui-datatable thead th .ui-sortable-column-icon.ui-icon-carat-2-n-s:before,
#ienForm .ui-datatable thead th .ui-sortable-column-icon.ui-icon-carat-2-n-s:after {
    color: #333 !important;
    opacity: 0.8 !important;
}

#ienForm .ui-datatable thead th .ui-sortable-column-icon.ui-icon-carat-1-n:before,
#ienForm .ui-datatable thead th .ui-sortable-column-icon.ui-icon-carat-1-s:before {
    color: #333 !important;
    opacity: 0.8 !important;
}

/* Style the school affiliations panel to match referent space */
#ienForm .ui-panel {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

#ienForm .ui-panel .ui-panel-header {
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    padding: 10px 15px;
    font-weight: 600;
    color: #333;
}

#ienForm .ui-panel .ui-panel-content {
    padding: 15px;
    background: white;
}

#ienForm .ui-selectonemenu {
    min-width: 250px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    background: white;
    font-size: 14px;
}

#ienForm .ui-selectonemenu:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

/* Style the help text */
#ienForm .school-help-text {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 8px;
    display: block;
}

/* Show dropdown arrow only for the existingAcm selectOneMenu */
#existingAcm .ui-icon-triangle-1-s {
    display: inline-block !important;
}

/* Remove ALL borders from the selectOneMenu */
#existingAcm,
#existingAcm .ui-selectonemenu-label,
#existingAcm .ui-selectonemenu-trigger,
#existingAcm .ui-selectonemenu-trigger .ui-icon {
   /* border: none !important;*/
    outline: none !important;
    box-shadow: none !important;
}

/* Remove borders in all states */
#existingAcm:hover,
#existingAcm.ui-state-focus,
#existingAcm.ui-state-active,
#existingAcm .ui-selectonemenu-label:hover,
#existingAcm .ui-selectonemenu-label:focus {
   /* border: none !important;*/
    outline: none !important;
    box-shadow: none !important;
}