/* =========================
   Centre d'aide RaspiPhil V2
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.aide-container,
.aide-doc-container {

    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #949c9f;
    border-radius: 12px;

}

/* =========================
   Header
========================= */
.aide-header,
.aide-doc-header {

    background: #455a64;
    color: #eceff1;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;

}


.aide-header h1,
.aide-doc-header h1 {

    margin: 0 0 8px;

}


.aide-header p,
.aide-doc-header p {

    margin: 0;
    color: #eceff1;

}

.Rasberrypi-header{
    width: 100%;
    height: 280px;
    min-height: 280px;
    max-width: 100%;

    background: url("/_App/Tutoriels/Images/Bannieres/Rasberrypi_banner.png") center center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;

    display: flex;
    align-items: center;

    border-radius: 15px;
    overflow: hidden;

    box-sizing: border-box;
}

.header-overlay {
    width: 100%;
    height: 100%;
    padding: 40px;

    box-sizing: border-box;

    background: linear-gradient(
        90deg,
        rgba(0,0,0,.75) 0%,
        rgba(0,0,0,.55) 35%,
        rgba(0,0,0,.15) 100%
    );

    color: #fff;
}

.header-overlay h1{
    margin:0 0 15px;
    font-size:2.4rem;
}

.header-overlay p{
    max-width:550px;
    font-size:1.1rem;
    line-height:1.6;
}

/* =========================
   Chapitres Aide.php
========================= */


.aide-chapitre {
    margin-bottom: 20px;
}


.aide-chapitre h2 {
    background: #37474f;
    color: #eceff1;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 12px;

}

/* =========================
   Cartes Aide.php
========================= */
.aide-cartes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.aide-cartes a {
    flex: 1 1 220px;
    min-height: 85px;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #263238;
    font-size: 18px;
    font-weight: bold;
}


.aide-cartes a span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: normal;
}

.aide-cartes a:hover {
    transform: translateY(-2px);
    color: #8118c1;;
}

/* Couleurs uniquement des cartes */
.rubrique-general {
    background: #b0bec5;
}

.rubrique-user {

    background: #90caf9;
}

.rubrique-portail {
    background: #a5d6a7;
}

.rubrique-media {
    background: #ffcc80;
}

.rubrique-communication {
    background: #ce93d8;
}


.rubrique-admin {
    background: #ef9a9a;
}

.rubrique-Tutoriels {
    background: #1aaf94;
}
/* --
.rubrique-NOM {
    background: #ef9a9a;
} -- */
/* =========================
   Retour
========================= */
.aide-retour {
    margin-bottom: 15px;
}

.aide-retour a {
    display: inline-block;
    padding: 10px 15px;
    background: #546e7a;
    color: #eceff1;
    border-radius: 8px;
    text-decoration: none;
}

/* =========================
   Menu navigation pages aide
========================= */
.aide-doc-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.aide-doc-menu a {
    background: #607d8b;
    color: #eceff1;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

/* =========================
   Contenu documentation
========================= */
.aide-doc-section {
    background: #cfd8dc;
    color: #263238;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.aide-doc-section h2 {
    color: #263238;
    margin-top: 0;
}

.aide-doc-section h3 {
    color: #37474f;
}

.aide-doc-section p,
.aide-doc-section li {
    color: #263238;
    line-height: 1.45;
}

.aide-doc-section ul,
.aide-doc-section ol {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* =========================
   Notes
========================= */
.aide-doc-note {
    background: #ffe082;
    color: #4e342e;
    padding: 10px;
    border-radius: 8px;
    margin-top: 12px;
}

/* =========================
   Images
========================= */
.aide-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 12px auto;
    border-radius: 10px;

}

/* =========================
   Documents
========================= */
.aide-document a {
    display: inline-block;
    padding: 10px 15px;
    background: #80cbc4;
    color: #263238;
    text-decoration: none;
    border-radius: 8px;
}

/* =========================
   Contact
========================= */
.aide-contact {
    background: #607d8b;
    color: #eceff1;
    padding: 15px;
    border-radius: 10px;
}

.aide-contact h2 {
    color: #eceff1;
}

.aide-contact p {
    color: #eceff1;
}

.aide-contact-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-aide {
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #263238;
}

.btn-aide.retour {
    background: #b0bec5;
}

.btn-aide.contact {
    background: #ffab91;
}

/* =========================
   Mobile
========================= */
@media(max-width:700px){

    .aide-container,
    .aide-doc-container {
        width:95%;
        padding:12px;
    }

    .aide-cartes a {
        flex:1 1 100%;
    }
}
/* ======================
       les HR
====================== */
/* hr: ligne couleur */
.hr-blue {
    border: 0;
    height: 1px;
    background: #4da3ff;
    margin: 10px 0;
}

.hr-orange {
    border: 0;
    height: 1px;
    background: #d97916;
    margin: 10px 0;
}
.hr-green {
    border: 0;
    height: 1px;
    background: #3c971f;
    margin: 10px 0;
}
.hr-yellow {
    border: 0;
    height: 1px;
    background: #d9ca16;
    margin: 10px 0;
}
.hr-red {
    border: 0;
    height: 1px;
    background: #ff4d4d;
    margin: 10px 0;
}
hr.small{border-style:dashed;width:50%}

/* *******Partis Tutoriel ****** */
.terminal {
    background: #263238;
    color: #d7ccc8;
    border-left: 5px solid #ff9800;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    font-family: "Courier New", monospace;
    overflow-x: auto;
}

.terminal pre {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/**/
.Rasberrypi-header{
    width: 100%;
    height: 280px;
    min-height: 280px;
    max-width: 100%;

    background: url("/_App/Tutoriels/Images/Bannieres/Rasberrypi_banner.png") center center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;

    display: flex;
    align-items: center;

    border-radius: 15px;
    overflow: hidden;

    box-sizing: border-box;
}


.header-overlay {
    width: 100%;
    height: 100%;
    padding: 40px;
    box-sizing: border-box;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.75) 0%,
        rgba(0,0,0,.55) 35%,
        rgba(0,0,0,.15) 100%
    );
    color: #fff;
}

.header-overlay h1{
    margin:0 0 15px;
    font-size:2.4rem;
}

.header-overlay p{
    max-width:550px;
    font-size:1.1rem;
    line-height:1.6;
}
