/*
    LimeSurvey

    Copyright (C) 2007-2026 The LimeSurvey Project Team
    All rights reserved.

    License: GNU/GPL License v2 or later, see LICENSE.php
    LimeSurvey is free software. This version may have been modified pursuant
    to the GNU General Public License, and as distributed it includes or
    is derivative of works licensed under the GNU General Public License or
    other free or open source software licenses.
    See COPYRIGHT.php for copyright notices and details.

    (¯`·._.·(¯`·._.·  Specific CSS for survey list  ·._.·´¯)·._.·´¯)

    It will be applied only if this template is the default one in LimeSurvey global configuration.

*/

/* AI Science Laboratory: survey-list buttons only (not survey forms) */
body main li.btn-group > a.btn.btn-primary,
body main li.btn-group > a.btn.btn-primary:visited {
    background-color: #40E0D0 !important;
    border-color: #40E0D0 !important;
    color: #2F4F4F !important;
}
body main li.btn-group > a.btn.btn-primary:hover,
body main li.btn-group > a.btn.btn-primary:focus,
body main li.btn-group > a.btn.btn-primary:active {
    background-color: #35CBBD !important;
    border-color: #35CBBD !important;
    color: #333333 !important;
}
body main li.btn-group > a.btn.btn-primary:focus-visible {
    box-shadow: 0 0 0 .25rem rgba(64, 224, 208, .35) !important;
}


/* AI Science Laboratory | survey list visual details (2026-10-12)
   This stylesheet is registered only for the public survey list page.
   Replace the original violet focus ring with a dark slate brand-colour ring. */
body main li.btn-group > a.btn.btn-primary:hover {
    border-color: #2F4F4F !important;
    outline: none !important;
    box-shadow: none !important;
}
body main li.btn-group > a.btn.btn-primary:focus,
body main li.btn-group > a.btn.btn-primary:focus-visible,
body main li.btn-group > a.btn.btn-primary:active,
body main li.btn-group > a.btn.btn-primary.active {
    border-color: #2F4F4F !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(47, 79, 79, 0.36) !important;
}

/* Language menu: highlighted, focused and active menu items. */
#survey-nav #main-dropdown .form-change-lang > a.nav-link {
    color: #2F4F4F !important;
}
#survey-nav #main-dropdown .form-change-lang > a.nav-link:hover,
#survey-nav #main-dropdown .form-change-lang > a.nav-link:focus,
#survey-nav #main-dropdown .form-change-lang > a.nav-link:active,
#survey-nav #main-dropdown .form-change-lang > a.nav-link.active,
#survey-nav #main-dropdown .form-change-lang > a.nav-link[aria-expanded="true"],
#survey-nav #main-dropdown .form-change-lang .dropdown-item:hover,
#survey-nav #main-dropdown .form-change-lang .dropdown-item:focus,
#survey-nav #main-dropdown .form-change-lang .dropdown-item:active,
#survey-nav #main-dropdown .form-change-lang .dropdown-item.active {
    background-color: #40E0D0 !important;
    color: #2F4F4F !important;
}
/* Covers the main dropdown's direct language links in older layouts. */
#survey-nav #main-dropdown > li > a:hover,
#survey-nav #main-dropdown > li > a:focus,
#survey-nav #main-dropdown > li > a.active {
    background-color: #40E0D0 !important;
    color: #2F4F4F !important;
}

/* Footer credits remain present; only hyperlink colour is adjusted. */
#surveyListFooter a,
#surveyListFooter a:visited {
    color: #2F4F4F !important;
}
#surveyListFooter a:hover,
#surveyListFooter a:focus {
    color: #333333 !important;
}
#surveyListFooter a.text-decoration-underline,
#surveyListFooter a.text-decoration-underline:hover,
#surveyListFooter a.text-decoration-underline:focus {
    text-decoration: underline !important;
}
#surveyListFooter a:focus-visible {
    outline: 2px solid #2F4F4F;
    outline-offset: 2px;
}
