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

@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;
    }

    .text.left p {
        font-size: 1rem !important;
    }
}

@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: 1.25rem !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;
  }
  .list-filters.ui-panelgrid td {
        font-size: 0.625rem !important; /* Adjusted font size for smaller screens */
        width:23%;
    }
}

/* 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.875rem;
    }
    
    .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.938rempx) {
    /* 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-detail,
    #funding-other,
    .request-form .funding-other,
    #funding-other-value,
    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 */
    }
}
@media screen and (max-width: 47.938rem) {
    #funding-value,
    .request-form .funding-value,
    #funding-other-value,
    .request-form .funding-value-other {
        /*width: auto; /* Adjusted for smaller screens */
        margin: 0;
        text-align: right !important;/* Adjusted for smaller screens */
    }
}

/* Styles for screens between 48rem and 63.938rempx (Tablet) */
@media screen and (min-width: 48rem) and (max-width: 63.938rempx) {
    /* 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: 40rem) {
    .boxDesc,
    .boxDesc-sponsor,
    .boxDesc-schools {
        width: 80%; /* Equivalent to 60px */
        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: 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 */
    }

    .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: 64rem) {
    #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: 90%;
        float: none;
    }
}

.show_image{
    max-width:100% !important;
    height:18.75rem;
    object-fit:contain;
    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;
}


  @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;;
  }
  
  /*.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;
        min-height: 35rem !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:80%;  
}

.ql-editor{
    padding: 18px 15px !important;
}


.request-form .company-zipcode {
    width: 19% !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: 80% !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:100%;  
}

}



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




/** NEW ONES **/


/*THAT ONE IF FOR THE FILTER BUTTONS IN LIST.XHTML */



/** MOBILE **/

@media all and (max-width: 36rem){


    body div#panel-buttons button {
        font-size: .87rem !important;
    }
    
    body div#panel-buttons button span{
    position: initial !important;
    padding: unset !important;
    font-size:1rem !important;
    font-weight:bolder;
    }

    body div#panel-buttons{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    body div#panel-buttons button{
        width: 95% !important;
        margin: 1% !important;
        min-width: 16rem;
    }

    body #first-galleria-container{
        width: 80vmin !important;
        height: 50vmin !important;
        margin: auto !important;
        align-self: center !important;
    }

    body .cutMobile{
        display: none;
    }

    body form#requestForm .ui-outputpanel{

        display: flex;
        flex-direction: column;
        align-items: center !important;
    }

    html body #partnerForm .logo-plus-title div h2{
        max-width: 54vw;
        font-size: 97% !important;
    }

    body #partnerForm .top-logo-img {
    aspect-ratio: 1;
    width: 6rem;
    height: 6rem;
    margin-top: -3rem;
    margin-right: .7rem;
    margin-left: .7rem;
    }

    body #partnerForm .logo-plus-title{
        margin-top: -1rem;
    }
    body #mainpart-panel-and-buttons .leftpart p{
        max-height: 46vh;
        overflow: auto;
    }



}

/** TABLET **/

@media all and (min-width: 36rem) and (max-width: 64rem){

    body form#requestForm .ui-outputpanel{

        display: flex;
        flex-direction: column;
        align-items: center;
    }


    body img#bienvenue-ode-img-mobile{
        width: auto !important;
        max-height: 120% !important;
        pointer-events: all;
        cursor: pointer;
    }

    body #first-galleria-container{
        width: 70vmin !important;
        height: 47vmin !important;
        margin: auto !important;
        align-self: center !important;
        max-width: 34rem !important;
        max-height: 34rem !important;
    }

    body #partnerForm .top-logo-img {
    aspect-ratio: 1;
    width: 7rem;
    height: 7rem;
    margin-top: -4.2rem;
    margin-right: 1rem;
    margin-left: 1rem;
    }

    body #logo-plus-title{
        margin-top: -1rem;
        /*        */
    }


}


@media all and (min-width: 46rem) and (max-width: 64rem){

    html body div#first-galleria{
/*        width: 75vw !important;*/
        margin: auto !important;
    }



}















/*  BETWEEN TAB AND MOBILE  */


/*@media all and (min-width:36rem) and (max-width:48rem){

    body form#requestForm .ui-outputpanel{

        display: flex;
        flex-direction: row !important;
        align-items: center;
    }

    body .form-side,body .form-side{
        width: 44%;
        margin: 0px auto;
    }

    body #courseListForm .filter-container-aside div.filter-dialog {
        width: 33vw;
    }



}*/

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



    body #courseListForm .filter-container-aside div.filter-dialog {
        width: 34vw;
    }



}











/** TABLET & MOBILE **/

@media screen and (max-width: 64rem){
    
    /*  LAYOUT XHTML  */






    /*  INDEX XHTML  */


    body h2#bienvenue-ode{
/*        min-height: 4.1rem !important;*/
    }

    body .leftpart{
        margin-right: 1.5rem !important;
    }


    /* EDITFORM COURSE XHTML   */

    body form#requestForm .ui-outputpanel{

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        margin: auto;
        flex-wrap: wrap;
    }

    body .form-side.form-bottom .action-buttons.sponsor-ab-color{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    form#requestForm div.required-field{
        order: -1;
        width: 100%;
        margin: 4vh auto;
    }


    /*  INDEX XHTML  */
   

    div#mainpart-panel-and-buttons {
/*        flex-direction: column !important;*/
    }


    body #first-galeria-container{
/*        align-self: center !important;*/
    }

    html body #second-line-dsp{
        flex-direction: column;
    } 

    html body #carousel-form-2{
        margin: auto;
        width: 28rem;
        min-width: 70%;
        max-width: 100% !important;
    }


    html body #carousel-form-2 button{
        margin: 0rem;
        width: 1rem;

    }

    /*  INDEX XHTML, HEADER MENU  */


    body .DesktopMenu{
        display: block !important;
    }


    body div#topS3e{
        display: block !important;
        background-image: none !important;
    }

    html body #menuS3e ul.dd{
        display: none !important;
    }

    html body #topS3e form{
        display: flex;
        flex-direction: row;
        width: 100% !important;    
    }

    html body #topS3e .menu_card {
        display: flex;
        float: none;
        /* margin-left: auto; */
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: flex-end;
    }

    html body div#menuS3e div#hideitbruh{
        display: none !important;        
    }

    html body #topS3e{
/*        height: 0px !important;*/
        height: initial !important;
/*        margin-bottom: 4.5rem !important;*/
        background-color: #494949;
    }


    html body #topS3e #menuS3e{
        position: initial !important;
    }

    html body div#menuS3e{
        border-bottom-right-radius: .48rem;
        border-bottom-left-radius: .48rem;
    }




    html body #topS3e #menuS3e{
        background: transparent;
        border: none;
        box-shadow: none;
        position: absolute;
        top: 0px;
        background: #494949;
        padding: .5rem .4rem !important;
        display: flex !important;
        width: 100% !important;
    }



    html body #topS3e button#dynaButton{
/*        width: 9rem !important;*/
        display: flex;
    }

    html body #topS3e button#dynaButton::before{
        display: none !important;
    }


    #user-button-header{
        display: none !important;
    }

    #topS3e .top-title{
        display: none !important;
    }

    #bienvenue-ode-img{
        display: none !important;
    }

    /*  STATS PAGE  */

    body .stats-box h2{
        font-size: 1rem !important;
    }

    body .stats-line{
        margin: 1.1rem auto;
    }


}



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

#bienvenue-ode-img-mobile{
    display: none;
}
}



@media screen and (min-width:44rem){
    
    #alignthatlogo{
/*        top: 3px;*/
    }

    body .filter-container-aside .ui-panel-content.ui-widget-content{
        display: block !important;
    }

}

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

    body #first-galleria-container{
        width: 70% !important;
    }


    body #partnerForm .logo-plus-title div h2{
        max-width: 60vw;
    }

    #partnerForm .ui-panel-content{
        flex-direction: column;
        align-items: center;
    }

    #partnerForm span.card{
        min-width: 240px;
        width: 78% !important;
/*        max-width: 78%;*/
    }

    #partnerForm span.card table{
        width: 100% !important;
        max-width: 100 !important;
    }


    #partnerForm .ui-outputpanel{
        width: 100%;
    }

    #partnerForm span.card{
        margin-top: -2rem;
        max-width: unset !important;
    }

    body * div #first-galeria-container{
        min-width: 22rem !important;
        max-width: 83% !important;
        align-self: center;
        margin: auto;
    }

    body div div #footer-bottomleft,#footer-bottomright{
        height: 3.9rem;
        line-height: 3.9rem;
    }

    body #courseListForm #courseDataTable {
            flex: 1;
            margin-left: .75rem;
    }

    html body #courseListForm .filter-container-aside div.filter-dialog {
        width: 80vw !important;
        margin: auto;
    }

    body #courseListForm {
    display: flex;
    flex-direction: column;
    
    }

    html body #courseListForm .filter-container-aside .ui-scrollpanel{
        height: 200px !important;
    }

    body .form-no-button-mobile{
        display: none !important;
    }

    body .form-button-mobile{
        display: block !important;
    }


    body #courseListForm .filter-container-aside .ui-panel-content.ui-widget-content{
        display: none;
    }



}


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

    div#mainpart-panel-and-buttons {
        flex-direction: column !important; 
    }

    html body * .leftpart{
        margin-right: 0px !important;
    }

    body * #first-galeria-container{
        min-width: 60% !important;
        align-self: center;
        margin: auto;
    }

    body #footer-bottomleft,#footer-bottomright{
        height: 4.5rem;
        line-height: 4.5rem;
    }



}









@media screen and (min-width:57rem){
    body #mainpart-panel-and-buttons .leftpart p{
        max-height: 36.8vh;
        overflow: auto;
        /*   that 1px padding bottom hide the weird scroll */
    }

    body #footer-bottomleft,#footer-bottomright{
        height: 5rem;
        line-height: 5rem;
    }

}
 .orange {
        color: #e74847;
    }

    .yellow {
        color: #faaf00;
    }

    .pink{
      color: #e8527f;  
    }

    .green {
        color: #005e36;
    }
    
    .blue{
        color: #2c62cb;
    }
    
    .default_color{
        color: #673ab7;
    }
    
    .bg-orange {
        background-color: #e74847;
    }

    .bg-yellow {
        background-color: #faaf00;
    }

    .bg-pink{
      background-color: #f37cd4;  
    }

    .bg-purple{
      background-color: #a020f0;  
    }
    
    .bg-green {
        background-color: #005e36;
    }
    
    .bg-blue{
        background-color: #2c62cb;
    }
    
    .bg-red{
        background-color: #ef0b0b;
    }
    
    .bg-blue-77{
        background-color: #00ade9;
    }
    
    .bg-default_color{
        background-color: #673ab7;
    }

    .bg-gray {
        background-color: #d3d3d3fc;
    }

    .bg-dark-green {
        background-color: #005e36;
    }

    .bg-new-blue {
        background-color : #0E97C1;
    }
    
    .bg-new-green {
        background-color : #539b49;
    }
    
    .bg-new-orange {
        background-color : #f69300;
    }
    
    .bg-new-pink {
        background-color : #da2f38;
    }
    
    .bg-new-dsp {
        background-color : #00accc;
    }
    
    .bg-new-gray {
        background-color : #8b8b8b;
    }
    
    .bg-new-dblue {
        background-color : #1b489e;
    }
    