﻿html, body, table {
    width: 100%;
}

body {
    font-family: Arial, Verdana, Helvetica, Sans-Serif;
    font-size: 1em;
    color: black;
    margin: 0;
    min-width: 950px;
}

/* Nom de l'application dans l'en-tête */
h1 {
    color: white;
    font-size: 1.8em;
    margin-right: 1%;
    float: right;
}

/* Titre des pages */
h2 {
    color: #000099;
    font-size: 1.5em;
    text-align: center;
}

/* Texte */
.erreur {
    color: red;
    font-weight: bold;
    text-align: center;
}


/* Contrôles */

.controlePleineLargeur {
    width: 100%;
}

.grilleLigneNormale {
    /*background: #709FCF;*/
    background: #ffffff;
}

.grilleLigneAlternee {
    background: #BBD1E8;
}

.grilleLigneSelectionnee {
    background-color: gainsboro;
}



.textboxMinutes {
    width: 35px;
}

.tailleImageInformation {
    font-size: 250%;
    text-align: right;
}
.tailleImageInformationRegulier {
    font-size: 100%;
    text-align: right;
}


/* Marges */

.margesPetitesAutour {
    margin: 1%;
}

.margePetiteBas {
    margin-bottom: 1%;
}

/* page connexion*/

#divLogin {
    width: 35%;
    margin-right: auto;
    margin-left: auto;
    padding: 38px 10px 10px 10px;
}

    #divLogin .titre {
        font-weight: bold;
        color: #778899;
        font-size: x-large;
    }

    #divLogin .formulaire {
        background: #f5f5f5;
        border: 1px;
        border-radius: 15px;
        color: #333333;
        padding: 2%;
        font-size: large;
    }

    #divLogin .btnConnexion {
        float: right;
        font-size: medium;
    }


.btnAccueil {
    float: right;
    font-size: medium;
}

#divLogin .txtConnexion {
    font-size: medium;
    height: 44px;
}

/*page liste ecoles*/

.divPanel {
    width: 35%;
    margin-right: auto;
    margin-left: auto;
    padding: 18px 10px 10px 10px;
    border: 1px;
    border-radius: 15px;
}

.titreListeEcole {
    color: #778899;
    padding: 2%;
    font-weight: bold;
    font-size: x-large;
}

#panelSuppHoraire {
    color: #778899;
    padding: 2%;
    font-weight: bold;
    font-size: medium;
}


.table {
    width: 100%;
    display: table;
}

.tableAuCentre {
    margin-right: auto;
    margin-left: auto;
    display: table;
    border-collapse: separate;
    border-spacing: 10px;
}

.ligne {
    display: table-row;
}

.cellule {
    display: table-cell;
    text-align: left;
    padding-bottom: 1%;
}





/* En-tête  */
header {
    width: 100%;
    padding: 13px;
    background-color: white;
    color: #FFFFFF;
    display: -ms-grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    display: grid;
    grid-template-areas: "L T I";
}

#logo {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-area: L;
    text-align: left;
}

    #logo img {
        min-height: 39px;
        height: 39px;
    }

#titreApplication {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    /*color: white;*/
    font-size: 1.5rem;
    font-weight: bold;
    margin: auto 0;
    grid-area: T;
    text-align: center;
}

#informations {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    font-size: 1.1rem;
    margin: auto 0;
    text-align: right;
    grid-area: I;
}

    #informations a {
        font-weight: bold;
    }

    #informations a {
        font-weight: bold;
        color: white;
    }

@media only screen and (max-width: 600px) {
    section {
        width: 100%;
    }

    header {
        grid-template-areas: "L" "T" "I";
    }

    #titreApplication,
    #informations {
        text-align: left;
    }
}

/* Pied de page */

/*#enTetePage {
    background-color: #000099;
    width: 100%;
}
    #enTetePage img {
        padding: 1%;
    }*/

#piedDePage {
    font-size: 0.7em;
    padding: 0.5% 0 0.5% 0.5%;
    background-color: #f5f5f5;
    margin-top: 1%;
    position: absolute;
    bottom: 0;
}


.wrapper {
    width: 100%;
    margin: auto;
}



.content {
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    width: auto;
}

.clear {
    clear: both;
}


.footer {
    font-size: 8px;
    text-align: left;
    /*line-height:40px;*/
    height: 50px;
    background-color: rgb(10, 110, 178);
    color: rgb(255,255,255);
    border-radius: 5px 5px 5px 5px;
    /*width: 950px;*/
}

    .footer h2 {
        /*font-size:10px;*/
        padding: 15px;
        text-align: left;
    }

    .footer h3 {
        padding: 15px;
        text-align: center;
    }






/*CSS pour le menu*/

.navigation {
    font-weight: bold;
    overflow: hidden;
    height: 110px;
    margin: 0%;
}

h3 {
    text-align: left;
    margin-left: 3%;
}

.navigation .icons {
    font-size: 4em;
    color: #778899;
    padding: 39px;
}



/*CSS pour le menu*/

.pointeur {
    cursor: none;
}

#menuAccueil {
    line-height: 1.6;
    color: #333;
    margin: 2px;
    width: 25px;
    height: auto;
    padding: 3px;
    font-size: 1.9em;
    background-color: transparent;
}


.main_menu {
    color: chocolate;
    background: transparent;
}

bug menu center chrome

.main_menu:hover {
    background-color: transparent;
}

.level_menu {
    color: white;
    background-color: #778899;
    padding: 5px;
}


.selected, level_menu:hover {
    background-color: lightsteelblue !important;
}

.level2 {
    color: white;
    background-color: #778899;
    padding: 5px;
}

    .selected, .level2:hover {
        background-color: lightsteelblue !important;
    }

.level3 {
    color: white;
    background-color: #778899;
    padding: 5px;
}

    .selected, .level3:hover {
        background-color: lightsteelblue !important;
    }

.level4 {
    color: white;
    background-color: #778899;
}

    .selected, .level4:hover {
        background-color: lightsteelblue !important;
    }

.IE8Fix {
    z-index: 1000;
}

/*pour garder l'entete page Param_tache.aspx*/
/*.FixedHeader {
    position: absolute;
    margin-top: -37px;
    font-weight: bold;
   margin-left:-1px
}*/

/*Page Para_Ecole*/

.formEcole {
    width: 70%;
    margin-left: 15%;
    margin-top: 1%;
    background: #efefef;
    padding: 20px 0px 10px 70px;
    font-weight: bold;
    font-size: 1.2em;
}

/*page categorie*/
.modifCategorie {
    margin-left: 14%;
    font-size: 1.1rem;
    font-weight: bold;
}

/*page gestion des tâches*/
.modifTaches {
    margin-left: 11%;
    font-size: 1.1rem;
    font-weight: bold;
}

/*page horaire*/

.formModifHoraire {
    /*width : 95%;*/
    margin-left: 6%;
    margin-top: 5%;
    padding: 10px 0px 10px 0px;
    font-weight: bold;
    font-size: 1.2rem;
}

.formMAJ {
    margin-top: 2%;
    font-weight: bold;
    font-size: 1.2em;
    text-align: left;
    margin-left: 3%;
}

.formMAJ2 {
    margin-top: 2%;
    font-weight: bold;
    font-size: 1.2em;
    text-align: left;
}

.envoiFormulaire {
    margin-left: 5%;
    font-size: 1.1rem;
    font-weight: bold;
}

/*pour les déplacement defs div gridview pour garder l'entete*/


.conteneurGrilleReduite {
    margin-right: 1%;
    margin-left: 1%;
    width: auto;
    max-height: 200px;
    overflow-y: auto;
}

.conteneurGrilleTache {
    margin-right: auto;
    margin-left: auto;
    /*width: 98%;*/
    overflow: auto;
    overflow-x: auto;
    height: auto;
    /*overflow-y: auto;*/
    min-height: 500px;
}

.gridView {
    border: 2px solid #dee7ee;
    font-size: 0.8em;
    padding: 1%;
}

.gridViewRow {
    background: white;
    font-size: 1em;
    border: 2px solid #dee7ee;
    padding: 0.23%;
}

.conteneurGrille {
    margin-right: 1%;
    margin-left: 1%;
    width: auto;
    max-height: 500px;
    overflow-y: auto;
}

.conteneurGrilleModal {
    margin-right: 1%;
    margin-left: 1%;
    width: auto;
    max-height: 200px;
    overflow-y: auto;
}

.conteneurGrilleAPlacer {
    margin-right: 1%;
    margin-left: 1%;
    width: auto;
    max-height: 500px;
    overflow-y: auto;
}


.enteteFixe th {
    position: sticky;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    top: 0;
    z-index: 1;
    background-color: #5D7B9D;
    color: white;
    font-size: 1em;
    text-align: center;
}

.enteteGrille {
    overflow: auto;
}

.pinned {
    position: fixed; /* i.e. not scrolled */
    background-color: White; /* prevent the scrolled columns showing through */
    z-index: 100; /* keep the pinned on top of the scrollables */
}


/*Pour les popup modal atténuer l'écran*/
.tableBackground {
    background-color: silver;
    opacity: 0.7;
}


.timepicker span table tbody tr td input {
    font-size: larger !important;
    height: 25px !important;
    width: 20px !important;
}

/* Autre */

.colonneCachee, .controleCache {
    display: none;
}

.grilleLargeur {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    font-size: small;
}

.grilleHoraireLargeur {
    width: 100%;
}

    .grilleHoraireLargeur td {
        padding: 1%;
    }

.panneauLargeur {
    width: 60%;
}

.panneauLargeurEntiere {
    width: 98%;
}

hr {
    margin-top: 2%;
    border: 1px solid #000099;
}

ul {
    text-align: left;
}

.lienEnTete {
    color: white;
}

.tacheDansGrilleHoraire {
    border-radius: 5px;
    border: 1px solid black;
    background-color: white;
    margin: 1%;
    padding: 2%;
    display: inline-block;
}

a.tacheDansGrilleHoraire {
    color: #000000;
    text-decoration: none;
}

    a.tacheDansGrilleHoraire:hover {
        text-decoration: none;
    }

.tacheDansGrilleHoraireASupprimer {
    margin: 1%;
    padding: 1%;
}

a.tacheDansGrilleHoraireASupprimer {
    color: black;
    text-decoration: none;
}

    a.tacheDansGrilleHoraireASupprimer:hover {
        color: red;
        text-decoration: none;
    }


/* Popups */

.titrePopUp {
    width: 100%;
    background-color: #000099;
    color: white;
    font-weight: bold;
    padding: 0.5% 0;
    margin-bottom: 1%;
}

.conteneur {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.item {
    padding: 1%;
    text-align: justify;
}

.itemADroite {
    padding-right: 1%;
    margin-left: auto;
}

.itemAuCentre {
    padding: 1%;
    margin-right: auto;
    margin-left: auto;
}

.itemJustifie {
    padding: 1%;
    margin-right: auto;
    margin-left: auto;
    text-align: justify;
}

.conteneurPopUp {
    /*background-color: white;*/
    padding: 4%;
    font-size: 12px;
    text-align: justify;
    margin-right: auto;
    margin-left: auto;
}

/*p.enEntete {
    text-align: center;
    font-weight: bold;
}*/

p {
    text-align: left;
}

/* pour l'attente lors de l'importation */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 99;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    min-height: 100%;
    width: 100%;
}

.loading {
    font-family: Arial;
    font-size: 10pt;
    border: 5px solid #67CFF5;
    width: 200px;
    height: 100px;
    display: none;
    position: fixed;
    background-color: White;
    z-index: 999;
}

/*Grille horaire Enseignant*/



/*Entête de la grille horaire */
.couleurGrilleEnsEntete {
    background-color: #5D7B9D;
    color: white;
}


/* si la tâche est à 100%  TC  TNP  TE*/
.couleurGrilleEnsCellTNP {
    /*background-color: palegoldenrod;*/
    color: orangered;
}

.couleurGrilleEnsCellTC {
    /*background-color: blanchedalmond;*/
    color: saddlebrown;
}

.couleurGrilleEnsCellTE {
    /*background-color: white;*/
    color: black;
}

.couleurGrilleEnsCellNA {
    /*background-color: lightgrey;*/
    color: grey;
}

.couleurGrilleEnsCellDIN {
    /*background-color: lightgrey;*/
    color: Highlight;
}

.couleurGrilleEnsCellENS {
    color: #666666;
}
.couleurGrilleEnsCell {
    background-color: #F5F5F5;
}


/* enseignant avec TC TNP et */
.couleurEnsAZero {
    background-color: #8abd8a;
    color: black;
}


.CssIconeMessageNombMinManuelle {
    color: red;
    font-weight: bold;
}
