/* Page d'accueil Co-traitance et sous-traitance (/co-traitance) — ruban fixe sur le modèle de chantiers-ribbon.css,
   aux couleurs du ruban des pages de la rubrique (#list-ribbon, list.css) */
#ct-ribbon {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 996;
    background: linear-gradient(45deg, #294e5f, #4d8aa7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

body.in-chatbot #ct-ribbon {
    display: none !important;
}

body.in-chatbot main {
    padding-top: 0 !important;
}

#ct-ribbon .ribbon-tabs {
    display: flex;
    padding: 0 8px;
    gap: 2px;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 32px;
}

#ct-ribbon .ribbon-tab {
    border: none;
    background: 0;
    color: rgba(255, 255, 255, .9);
    padding: 5px 11px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 4px 4px 0 0;
    transition: .2s;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .4px;
}

#ct-ribbon .ribbon-tab i {
    font-size: 14px;
}

#ct-ribbon .ribbon-tab:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

#ct-ribbon .ribbon-tab.active {
    background: #e1ecf2;
    color: #294e5f;
    font-weight: 700;
}

#ct-ribbon .ribbon-btpbox {
    color: rgba(255, 255, 255, .7);
}

#ct-ribbon .ribbon-btpbox:hover {
    color: #fff;
}

#ct-ribbon .ribbon-title {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 0 12px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    letter-spacing: .3px;
    text-decoration: none;
}

main {
    padding-top: 32px;
}

main.full-height {
    height: 100dvh;
}

@media (max-width: 600px) {
    #ct-ribbon .ribbon-title {
        display: none;
    }
}
