/*
###############################################################################################
# Author         : Patrick RICCIO
# Date           : 02.02.2022
# Demande        : Travail de Diplome programmeur Web 2021-22 / IFAGE
# Delai          : 28 janvier 2022
# Destinataire   : Jaouad IBRIZ
# Type de page   : Styles
# Nom de la page : PR-Styles
# Description    :
#    - Feuille de style générale
#          - Vue Mobile 600px
#          - Vue Tablette 601-1200px
#          - Vue Desktop
#
# Convention de nommage:
#   ID = IdMenuPrincipal = Id + Maj1Car + NomMinuscule + Maj1Car + NomMinuscule
#   Class = ClMenuPrincipal =  Cl + Maj1Car + NomMinuscule + Maj1Car + NomMinuscule
#   Variable = VarMenuPrincipal =  Var + Maj1Car + NomMinuscule + Maj1Car + NomMinuscule
#   Const = ConstMenuPrincipal = Var + Maj1Car + NomMinuscule + Maj1Car + NomMinuscule
#   Function = FuncMenuPrincipal = Func + Maj1Car + NomMinuscule + Maj1Car + NomMinuscule
#
# Fonte par default : Arial 10
#
# Suivi:
#   Création    02.01.2022: PR : Création de la page
#   Mise a jour 02.01.2022: PR :
#
###############################################################################################
*/

/* Import des fontes */
@import url(/WWW-Diplome/web-fonts/robotto/roboto_light/robotostyles.css);

/* Fontes pour les paragraphes */
p, h1, h2{
    font-family: "robotto"; 
}

/* CSS Commun Console Web */
/* Reset par défaut des parametres --------------------------------*/

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}
 
* {
    margin: 0;
    padding: 0;
}

/* Defaut fonte et fond d'ecran */
body {
    font-display: Arial, Helvetica, sans-serif;
    background-color: lightskyblue;
}

/* Format d'image par defaut */
img {
    width: 100%;
    height: auto;
}

/* permet au padding de prendre 0 */
* {
    box-sizing: border-box; 
}


/* Menu -------------------------------------------------------------------------------*/
/* Effacer l'icone pour cliquer sur le menu vue mobile */
label[for="mn"] { /* effacer le label pour menu petit écran */
    display: none;
}

/* effacer l'id pour le menu*/
input[id="mn"] {
    display: none; /* masquer l'input */
}

div#IdMenu { /* Menu */
    margin-bottom: 10px;
}

/* Couper l'effet mise en page  */
div#IdMenu:after { /* Menu */
    content: "";
    display: table;
    clear: both;
}

/* Affichage de la console du menu */
div#IdMenu nav h1#IdLogo { /* Logo gauche du menu */
    text-align: center;
    display: block;
    font-size: 1.5em;
    background-color:rgba(0, 153, 255, 1);
    color: white;
    font-weight: bold;
    margin: 0;
    height: 35px;
    line-height: 35px;
}

/* Mettre en ligne les éléments du menu  */ 
div#IdMenu nav ul li { /* LI */
    margin: 0;
}

/* Centrer les éléments du menu */
div#IdMenu nav ul { /* UL */
    text-align: center; 
    margin-bottom: 10px;
    list-style-type:none;
}

/* Mettre le texte en blanc */
div#IdMenu nav ul li a {
    
    margin: 0;
    color: white;
}

/* Mise en forme des liens pour le menu */
div#IdMenu nav ul li a:link, div#Idmenu nav ul li a:visited {
    text-decoration: none; /* Enleve le trait de soulignement */
    background-color:gray;
    display: block;
    height: 25px;
    color: white;
    display: block; /*prend tous le block aulieu du mot*/
    transition: all 0.5s ease-in-out; /* transition plus douce */
    transform: rotate(360deg) scale(); /* vue différente  */
}

/* Mise en forme des liens pour le menu survol */
div#IdMenu nav ul li a:hover {
    background-color: blue;
    Color:white;
    display: block;
    font-size: 16pt;
}

/* Afficher le menu actif */
a.ClActive{
    background-color: darkblue;
}

/* Header ----------------------------------------------------------------------*/
header {
    /* display: none; */ /* Ne s'affiche pas */
    display: block;
    background-color:rgba(0, 153, 255, 0.699) ;
    text-align: center;
    clear: both;
    margin: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    margin-bottom: 20PX;
}

/* Onglets Liens ----------------------------------------------------------------------*/
/* ---  Section --- */
/* --- 1er tableau ---*/
section#IdContent {
    margin:0;
    margin-bottom: 10px;
    width: 100%;
    height: auto;
}

section#IdContent article.ClColonne {
    text-align: left;
    margin: 0;
    margin-bottom: 10px;
    background-color:rgba(0, 153, 255, 0.699) ;
    height: auto;
    border: 2px solid blue;
    border-top: 2px solid blue;
    border-bottom: 2px solid blue;
}

section#IdContent article.ClColonne li {
    list-style-type:none;
    height: 25px;
    line-height: 25px;   
    overflow: hidden;
}

section#IdContent article.ClColonne li a {
    padding-left: 20px;
}

section#IdContent article.ClColonne li a:link, a:visited {
    text-decoration: none;
    color: white;
    font-weight: bold;
    display: block;
    
}

section#IdContent article.ClColonne li a:hover {
    color:white;
    font-weight: bold;
    font-size: 14pt;
    display: block;
    background-color:blue;
}

/* Couper l'effet mise en page  */
section#IdContent { /* Menu */
    content: "";
    display: table;
    clear: both;
}

/* Onglet Help Desk -------------------------------------------------------------------------*/
/********** Header + Section **********/
section.ClPage {
    width: 90%;
    margin: auto;
}
  
  /********** La Page **********/
  .ClTabPanel {
    font-size: 1.2em;
    display: none;
    background-color: rgba(0, 153, 255, 0.699) ;
    color:black;
    min-height: 150px;
    overflow: auto;
    padding: 20px;
  }

  .ClTabPanel li {
    color: white;
  }
  
  .ClTabPanelnel.active {
    display: block;
  }
  
  .ClTabPanelnel ul {
    list-style-type: "--> "
  }
  
  /********** Les tabs **********/
  .ClTabsList {
    margin: 0;
    padding: 0;
  }
  
  .ClTabsList li {
    display: inline-block;
    background-color:gray;
    border-bottom: 3px solid #858585;
    text-transform: uppercase;
  }
  
  .ClTabsList li a:link,
  .ClTabsList li a:visited {
    text-decoration: none;
    color: #f2f2f2;
    display: block;
    padding: 3px 10px 3px 10px;
  }
  
  /********** le survol *********/
  .ClTabsList li.active,
  .ClTabsList li.hover {
    background-color: #e5e5e5;
    border-bottom: 3px solid #e5e5e5;
  }
  
  .ClTabsList li.active a,
  .ClTabsList li a:hover {
    color: #666;
    background-color: #e5e5e5;
  }

  /* ---  Onglets Contact-------------------------------------------------------------- */
    #IdContenu {
        width: 100%;
    }

    #IdContenu ul {
        list-style-type: none;  /* Enlève les points */
    }

    #IdContenu ul:first-child {
        font-weight: bold;
        list-style-type: none;
        border: solid 1px black; 
    }

    #IdContenu ul:nth-child(even) {
        background-color: rgba(0, 153, 255, 0.5);
    }

    #IdContenu ul:after { 
        content: "";
        display: table;
        clear: both; /* left & right */
    }

    #IdContenu ul:hover {
        background-color: grey;
        color: white;
    }
    
    /* ---  Onglets Reponse ------------------------------------------------------------ */

    section#IdTraduction {
        height: auto;
        margin: 0;
        width: 100%;
    }

    section#IdTraduction:after {
        content: "";
        display: block;
        clear: both;
    }

    section#IdTraduction article.ClTraduction {
        float: left;
        height: auto;
        width: 49%;  
    }

    section#IdTraduction article#IdFr {
        margin-right: 2%;
    }

    section#IdTraduction article.ClTraduction li{
        border: 2px solid blue;
        margin-bottom: 2px;
        list-style-type: none;
        padding-left: 10px;
    }

    section#IdTraduction article.ClTraduction li:nth-child(even) {
        background-color: rgba(0, 153, 255, 0.5)
    }

/* Onglets Naming -----------------------------------------------------------------------------*/
#IdConvNom { /* form */
    width: 50%;
    margin: auto;
    padding: 20px 20px 20px 20px;
    border: 2px solid rgb(69, 69, 230);
    background-color:  rgba(0, 153, 255, 0.699) ;
}

#IdExemples { /* Texte */
    width: 90%;
    margin: auto;
}

#IdConca { /* Bouton */
    width: 100%;
    height: 40px;
    background-color:gray;
    border: 2px solid rgb(69, 69, 230);
    font-weight: bold;
}

#IdConvNomResul { /* Reponse */
    width: 100%;
    height: 30px;
    text-align: center;
}
legend{
    font-weight: bold;
}


/* Vue Mobile  -----------------------------------------------------------------------------------*/
@media screen and (max-width:600px) {   /* Taille de 480, 480 ne fonctionne pas sur l'écran*/

    body {
        background-color:lightskyblue;
    }

    /* Menu------------------------------------------------------- */
    div#IdMenu { /* Menu */
        width: 100%;
        position: fixed;
        z-index: 9999;
        top: -100%;
        /* left: 0;*/
        transition: all .5s linear ;
    }

    /* Affichage de l'icone pour cliquer sur le menu*/
    label[for="mn"] {
        font-size: 32px;
        display: block;
        background-color: lightskyblue;
        width:40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        border-radius: 5px; /* arrondi les boutons */
        position: fixed; /* position d*/
        top: 5px;
        right: 20px;
        z-index: 99999; /* au dessu de l'autre */
    }

    /* Affichage de l'icone pour cliquer sur le menu*/
    label[for="mn"]+input[id="mn"]:checked+div#IdMenu{
        top: 0; /* position finale */
    }

    /* Onglets Liens ------------------------------------------------------- */
    section#IdContent article.ClColonne {
        width: 100%;
    }

    /* Onglets Reponses -----------------------------------------------------*/
    section#IdTraduction article.ClTraduction {
        height: auto;
        width: 100%; 
        margin-bottom: 40px; 
    }

      /* ---  Onglets Contact-------------------------------------------------------------- */
    .ClContactEfface { /* Efface les derniers champs */
        display: none;
    }

    #IdContenu ul:first-child { /* Enlève la première ligne */
        display: none;
    }

} /* Fin Vue Petite max 480 Pix ------------------------- */

/* Vue Tablette */
@media screen and (min-width:601px) and (max-width:1200px) {   /* Taille de 480 à 1200 ne fonctionne pas sur l'écran*/

    body {
        background-color: lightskyblue;
    }

    /* Mettre en ligne les éléments du menu  */ 
    div#IdMenu nav ul li { /* LI */
        float: left;
        width: 20%;
        height: 25px;
        line-height: 25px;
    }

    /* Onglets Liens ------------------------------------------------------- */
    section#IdContent article.ClColonne {
        float: left;
        width: 49.5%;
    }

    section#IdContent article#IdCol1 {
        margin-right: 1%;
    }

    section#IdContent article#IdCol3 {
        margin-right: 1%;
    }

    /* Onglets Contact------------------------------------------------------- */
    #IdContenu ul li {
        float:left;
        width: 25%;
    }

      /* ---  Enleve les champs de trop */
    .ClContactEfface {
        display: none;
    }

} /* Fin Vue Tablette max 1200 Pix ----------------------- */

/* --- Vue Desktop --- */
@media screen and (min-width:1201px) { /* Taille de min. 1200 fonctionne pas sur l'écran*/

    body {
        background-color: lightskyblue;
    }

    /* Mettre en ligne les éléments du menu  */ 
    div#IdMenu nav ul li { /* LI */
        float: left;
        width: 20%;
        height: 25px;
        line-height: 25px;
    }

    /* Onglets Liens ------------------------------------------------------- */
    section#IdContent article.ClColonne {
        float: left;
        width: 24.2222%;
        margin: auto;
    }

    section#IdContent article#IdCol1 {
        margin-right: 1%;
    }

    section#IdContent article#IdCol2 {
        margin-right: 1%;
    }

    section#IdContent article#IdCol3 {
        margin-right: 1%;
    }

    /* Onglets Contact------------------------------------------------------- */
    #IdContenu ul li {
        float:left;
        width: 14.285%;
    }
} /* Fin Vue Desktop plus de 1200Px ----------------------- */

/* Fin de Page */
 