
/* UNILU - Responsive 2026 */

@media screen and (max-width: 1024px) {

    img {
        max-width: 100%;
        height: auto;
    }

    #main,
    #main_hors_footer {
        max-width: 100%;
        box-sizing: border-box;
    }

    #unilu-depot,
    #unilu-scientifiques {
        max-width: 100%;
        box-sizing: border-box;
    }

}

@media screen and (max-width: 768px) {

    body {
        margin: 0;
        font-size: 15px;
        -webkit-text-size-adjust: 100%;
        overflow-wrap: break-word;
    }

    #main,
    #main_hors_footer,
    #intro,
    #footer {
        max-width: 100%;
        box-sizing: border-box;
    }

    #main input[type="text"],
    #main input[type="search"],
    #main input[type="password"],
    #main select,
    #main textarea {
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        min-height: 42px;
    }

    input.bouton,
    button.bouton,
    a.bouton {
        min-height: 42px;
        max-width: 100%;
        box-sizing: border-box;
    }

    #main fieldset {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    #main h1 {
        font-size: 23px;
    }

    #main h2 {
        font-size: 20px;
    }

    #main h3 {
        font-size: 17px;
    }

    #main table {
        max-width: 100%;
    }

    #unilu-depot,
    #unilu-scientifiques {
        padding: 12px;
    }

    #unilu-depot a,
    #unilu-scientifiques a {
        overflow-wrap: anywhere;
    }

}

@media screen and (max-width: 480px) {

    #main h1 {
        font-size: 21px;
    }

    #main h2 {
        font-size: 18px;
    }

    #main input[type="search"] {
        width: 100%;
    }

}

@media (prefers-reduced-motion: reduce) {

    #unilu-depot *,
    #unilu-scientifiques * {
        animation: none !important;
        transition: none !important;
    }

}



/* BEGIN UNILU MOBILE FINAL */

@media screen and (max-width: 768px) {

    body #container {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 auto;
        box-sizing: border-box;
    }

    body #intro,
    body #main,
    body #main_header,
    body #main_hors_footer,
    body #bandeau,
    body #bandeau_2,
    body #footer {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        float: none !important;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }

    body #main,
    body #bandeau,
    body #bandeau_2 {
        padding: 12px;
    }

    #intro_bibli,
    #home_on_top,
    #intro_message {
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

    #navigator,
    #resume_panier {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #navigator ul {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    #navigator li {
        max-width: 100%;
    }

    #navigator a {
        white-space: normal;
    }

    #search,
    #search_crl,
    #simple_search_zone,
    #zsimples,
    #zsimplesChild {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    #search input[type="text"],
    #search input[type="search"] {
        width: 100% !important;
        max-width: 100%;
        min-height: 44px;
        font-size: 16px;
        box-sizing: border-box;
    }

    #search select {
        max-width: 100%;
        min-height: 40px;
    }

    #search input[type="submit"],
    #connexion input[type="submit"] {
        min-height: 44px;
        max-width: 100%;
    }

    #location,
    #location-container,
    #last_entries,
    #last_entries-container {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    #last_entries img {
        max-width: 100%;
        height: auto;
    }

    #connexion,
    #login_form {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    #login_form input[type="text"],
    #login_form input[type="password"] {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        min-height: 44px;
    }

    #footer {
        padding: 15px;
        text-align: center;
        overflow-wrap: anywhere;
    }

    #footer a {
        display: inline-block;
        padding: 8px 4px;
    }

    #unilu-depot,
    #unilu-scientifiques {
        width: 100%;
        box-sizing: border-box;
    }

}

@media screen and (max-width: 480px) {

    body #main,
    body #bandeau,
    body #bandeau_2 {
        padding: 8px;
    }

    #intro_bibli img {
        max-width: 100%;
        height: auto;
    }

    #search fieldset {
        padding: 8px;
        min-width: 0;
    }

}


/* END UNILU MOBILE FINAL */
