/*IG 2017-04-11 permettre modifier taille caractère et contraste */

body {
    font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size: 1em;
    margin: 0;
    background-color: #F8F8F8;
    float: left;
    width: 100%;
}

/*body {
  font-size: 1em;
  line-height: 1.4; }

body {
  font-family: 'Lato', sans-serif;
  float: left;
  width: 100%;
  background-color: #F8F8F8;
  margin: 0; }

html,
body {
  margin: 0;
  padding: 0;
  height: 100%; }*/

#mainbody {
    padding: 1em;
}


/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */
html, button, input, select, textarea {
    color: #222;
}


::-moz-selection, ::selection {
    background-color: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #EEE;
    margin: 1em 0;
    padding: 0;
    float: left;
    clear: both;
    width: 100%;
    background-color: #fff;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin-bottom: 10px;
    padding: 10px;
    border: solid 1px;
}

textarea {
    resize: vertical;
}


#pied-page {
    font-size: 10px;
    text-align: center;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
 ========================================================================== */


/*.wrapper {
  width: 90%;
  margin: 0 5%; }*/
.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2em;
}

/*.wrapper {
max-width: 1000px;
margin: 0 auto;
}*/


.content {
    width: 100%;
    float: left;
    padding-bottom: 80px;
}

/* ==========================================================================
   Style de l'auteur
   ========================================================================== */
#main {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

#main section {
    padding: 0;
    margin: 0;
    width: 100%;
}

#main h3 {
    padding: 0;
    margin: 0;
    font-size: 1.2em;
    margin-top: 20px;
}


form ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

form {
    margin: 0 -500%;
    padding: 0em 500% 0em 500%;
    background-color: #F8F8F8;
    width: 100%;
    float: left;
}


form section#dernierBloc, form section#hautDePage {
    margin: 0 -500%;
    padding: 0.5em 500% 0em 500%;
    background-color: #F8F8F8;
}

input[type="number"] {
    width: 90px;
}

#colGauche {
    float: left;
    width: 50%;
}

#colDroite {
    float: left;
    width: 46%;
    margin-left: 4%;
    margin-top: 0px;
}

#colUn {
    float: left;
    width: 30%;

}

#colDeux {
    float: left;
    width: 30%;
    margin-left: 3%;

}

#colTrois {
    float: left;
    width: 30%;
    margin-left: 3%;

}

div.bloc-presentation {
}

div.bloc-presentation h3, div.bloc-presentation h4, div.bloc-presentation h2 {
    width: auto;
}

div.bloc-presentation.right div.help div.popover {
    left: -100%;
    margin-left: -352px;
}

div.bloc-presentation.right div.help div.popover div.passage {
    width: 40px;
    right: -40px;
}

.popover p {
    color: #444444;
}

div.bloc-presentation.right div.help div.arrow {
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    left: -20px;
}

div.bloc-presentation div.help {
    /*width: 20px;
    height: 20px;*/
    position: relative;
}

div.bloc-presentation div.help.actif div.popover {
    display: block;
}

div.bloc-presentation div.help.actif div.arrow {
    display: block;
}

div.bloc-presentation div.help.actif div.arrow:after {
    display: block;
}

div.bloc-presentation div.help img.icon {
    float: left;
}

div.bloc-presentation div.help div.popover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    border: 1px solid #ccc;
    position: absolute;
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 300px;
    height: auto;
    padding: 25px;
    left: 5%;
    top: 25px;
    display: none;
    z-index: 98;
}

div.bloc-presentation div.help div.popover div.close {
    display: none;
}

div.bloc-presentation div.help div.popover p {
    float: left;
    width: 100%;
    font-size: 14px;
    margin: 0;
    margin-bottom: 5px;
}

div.bloc-presentation div.help div.popover p:last-child {
    margin-bottom: 0;
}

div.bloc-presentation div.help div.popover div.passage {
    height: 100%;
    top: 0;
    width: 50px;
    right: 100%;
    position: absolute;
}

div.bloc-presentation div.help div.arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 11px;
    top: 50%;
    left: 128%;
    margin-top: -11px;
    border-right-color: rgba(0, 0, 0, 0.25);
    border-left-width: 0;
    z-index: 99;
    display: none;
}

div.bloc-presentation div.help div.arrow:after {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 11px;
    top: 50%;
    left: 128%;
    margin-top: -11px;
    border-right-color: rgba(0, 0, 0, 0.25);
    border-left-width: 0;
    z-index: 99;
    display: none;
    bottom: -10px;
    left: 1px;
    border-right-color: #fff;
    border-left-width: 0;
    content: " ";
}

div.bloc-presentation div.help:hover div.popover {
    display: block;
}

div.bloc-presentation div.help:hover div.arrow {
    display: block;
}

div.bloc-presentation div.help:hover div.arrow:after {
    display: block;
}

@media screen and (max-width: 700px) {
    div.bloc-presentation div.help, div.bloc-presentation.right div.help {
        position: static;
    }

    div.bloc-presentation div.help:hover div.popover, div.bloc-presentation.right div.help:hover div.popover {
        display: none;
    }

    div.bloc-presentation div.help.actif:hover div.popover, div.bloc-presentation.right div.help.actif:hover div.popover {
        display: block;
    }

    div.bloc-presentation div.help div.arrowEnsemble, div.bloc-presentation.right div.help div.arrowEnsemble {
        position: relative;
    }

    div.bloc-presentation div.help div.popover, div.bloc-presentation.right div.help div.popover {
        margin-bottom: 20px;
        left: 0;
        right: 0;
        margin: auto;
        height: auto;
        width: 90%;
        margin-right: 5%;
        margin-left: 5%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    div.bloc-presentation div.help div.popover div.passage, div.bloc-presentation.right div.help div.popover div.passage {
        width: 100%;
        left: 0;
        right: initial;
        height: 40px;
        bottom: -40px;
        top: initial;
    }

    div.bloc-presentation div.help div.arrow, div.bloc-presentation.right div.help div.arrow {
        transform: rotate(270deg);
        -ms-transform: rotate(270deg);
        -webkit-transform: rotate(270deg);
        bottom: 100%;
        left: 50%;
        margin-left: -5px;
        margin-top: -36px;
        left: -999px;
    }

    div.bloc-presentation div.help.actif div.arrow, div.bloc-presentation.right div.help.actif div.arrow {
        left: 50%;
    }


}

h1, h2, h3, h4, p {
    float: left;
    width: 100%;
}

h1 {
    font-size: 1.55em;
    margin-top: 0;
}

h2 {
    font-size: 1.28em;
    margin-bottom: 0;
}

h4 {
    margin-bottom: 10px;
}

h3 {
    margin-bottom: 5px;
    margin-top: 50px;
    font-weight: bold;
    font-size: 1.3em;
}

section#contenuHead {
    float: none;
    padding: 10px 0px;
    margin-top: 15px;
    margin-bottom: 15px;
}

section {
    margin: auto;
    max-width: 1000px;
    padding: 25px 0px;
}

section div.column {
    width: 48%;
    float: left;
}

section div.column p {
    margin-top: 0;
    margin-bottom: 8px;
}

section div.column a {
    color: #2c2c2c;
}

section div.column.right {
    float: right;
}

section table td.rouge {
    color: #e74c3c;
}


#navAdmin {
    background-color: #f8f8f8;
    padding-top: 10%;
}

#navAdmin ul {
    list-style-type: none;
    margin: 0;
    padding: 15px 0px;
    background-color: #2475ab;
    display: block;
    min-width: 350px;
    width: 100%;
}

#navAdmin li {
    display: inline-block;
    width: 20%;
    font-size: 1em;
    text-align: center;
}

#navAdmin li.active {
    background-color: #000;
    font-weight: bold;
    color: #2475ab;
    border-radius: 25px;
}

#navAdmin li#listeRecherche {
    margin-top: 10px;
    display: none;
    width: 100%
}

#navAdmin a {
    text-decoration: none;
    color: white;
}

#colorswitch {
    float: left;
}

#colorswitch ul {
    list-style-type: none;
    margin: 0;
    display: block;
    min-width: 650px;
    width: 100%;
}

#colorswitch li {
    display: inline-block;
    font-size: small;
    text-align: center;
    padding-right: 25px;
}


#colorswitch a {
    text-decoration: none;
    color: black;
}

#messageErreur p, label#messageErreurJavascript {
    color: #FF0000;
    font-size: 20px;
    margin-bottom: 20px;
}

#messageSucces p {
    color: #009900;
    font-size: 20px;
    margin-bottom: 20px;
}

#instructions {
    color: #000;
    font-size: 0.78em;
    font-family: Arial;
    text-decoration: none;
    border: none;
}

#legende {
    color: #000;
    font-size: 0.9em;
    font-family: Arial;
    text-decoration: none;
    border: none;

    width: 30%;
}

.coordonnees {
    font-size: 12px;
    margin-left: 10px
}

.asterisque {
    color: #FF0000;
}

.boutonBleu {
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background-color: #2980b9;
    border: 0;
    cursor: pointer;
    -webkit-appearance: none;
    text-decoration: none;
    border-radius: 4px;
    padding: 4px 8px;
}

.boutonBleu:hover {
    background-color: #59a4d8;
}

.libreDroit {
    background-color: #71bd55 !important;
    color: #444;
    padding: 0.25rem;
}

.coop-librairie {
    background-color: #f2aad9 !important;
    color: #444;
    padding: 0.25rem;
}

.copibec, .copibec:hover {
    background-color: #754f39 !important;
    color: #fff;
    padding: 0.25rem;
}

.copibec th {
    color: #fff;
}

.copibec th, .libreDroit th, .editeur th, .coop-librairie th {
  background: transparent;
}

.editeur {
    background-color: #ad85e6 !important;
    color: #444;
    padding: 0.25rem;
}

.belize-hole-flat-button {
    position: relative;
    vertical-align: top;
    width: 100%;
    height: 60px;
    padding: 0;
    font-size: 22px;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background-color: #2980b9;
    border: 0;
    border-bottom: 2px solid #2475ab;
    cursor: pointer;
    -moz-box-shadow: inset 0 -2px #2475ab;
    -webkit-box-shadow: inset 0 -2px #2475ab;
    box-shadow: inset 0 -2px #2475ab;
    -webkit-appearance: none;
    text-decoration: none;
}

.belize-hole-flat-button:active {
    top: 1px;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.belize-hole-flat-button:disabled {
    background-color: #D1D1D1;
    color: #a3a1a1;
    border-bottom: 2px solid #b2b2b2;
    -moz-box-shadow: inset 0 -2px #b2b2b2;
    -webkit-box-shadow: inset 0 -2px #b2b2b2;
    box-shadow: inset 0 -2px #b2b2b2;
}

.belize-hole-flat-button:disabled:hover {
    cursor: default;
}

.belize-hole-flat-button:disabled:active {
    top: 0px;
    outline: none;
    -webkit-box-shadow: inset 0 -2px #b2b2b2;
    box-shadow: inset 0 -2px #b2b2b2;
}

/* Header */
#PIV {
    height: 74px;
    background-color: #fff;
    float: left;
    width: 100%;
    /*-webkit-box-shadow: 0 2px 2px -2px rgba(0, 0, 0, .52);*/
}

#PIV a.mobile-menu {
    display: none;
}

#PIV #entete {
    width: 1000px;
    margin: auto;
}

#PIV #entete p {
    margin: 0px auto;
    padding-top: 13px;
    margin-bottom: 2px;
}

#PIV #entete p a {
    font-family: Arial;
    font-weight: bold;
    color: #00257A;
    font-size: 1.2em;
    text-decoration: none;
}

#PIV #entete .bordure {
    padding-left: 8px;
    border-left: #eaeaea solid 1px;
}

#PIV #entete ul {
    margin-left: 2px;
    list-style: none;
    padding: 0;
    float: left;
    z-index: 100;
    margin: 0;
}

#PIV #entete ul li {
    float: left;
    padding-right: 8px;
    list-style: none;
}

#PIV #entete ul li.logo-cegep-mobile {
    display: none;
}

#PIV #entete ul li a {
    color: #000;
    font-size: 0.78em;
    font-family: Arial;
    text-decoration: none;
    border: none;
}

#PIV #entete ul li a:hover {
    color: #666666;
}

#PIV #entete img {
    float: right;
    margin-top: -40px;
    border: none;
}

div.employe-connecter {
    padding: 5px 0px;
    background-color: #FAFAFA;
    -webkit-box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.3);
    border-top: solid 1px #EBEBEB;
    width: 100%;
    float: left;
}

div.employe-connecter p {
    font-size: 12px;
    margin: 5px auto;
    color: #646464;
    max-width: 1000px;
    float: none;
}

html.lt-ie9 div.employe-connecter {
    background-color: #FCFCFC;
    border-bottom: solid 1px #D3D3D3;
}

/*??????????????????????????????????*/

table {
    margin-bottom: 20px;
    border-collapse: collapse;
    border: solid 1px #ECECEC;
    background-color: #fff;

    float: left;
    width: 100%;
}

table thead th {
    border: solid 1px #ddd;
    background-color: #2475ab;
    color : #fff;
}

table tbody th {
  background-color: transparent;
  border-color: #ddd;
}

table tbody tr:nth-child(even) {
  background-color: #e8e8e8;
}

table tfoot tr.first td {
    padding-top: 20px;
}

table tfoot tr.dernier td {
    padding-bottom: 10px;
}

table tfoot tr td {
    font-weight: bold;
    color: #2c2c2c;
    padding-top: 2px;
    padding-bottom: 2px;
}

table th {
    font-weight: normal;
    padding: 0.8em 1em;
    color: #444444;
    border-color: #999;
    background: #ececec;
    font-weight: bold;
    text-align: left;
    font-size: 14px;
}

table th.droite {
    text-align: right;
}

table td {
    border-color: #ddd;
    padding: 0.7em 1em 0.7em 1.15em;
    font-size: 14.4px;
}

table td.droite {
    text-align: right;
    font-size: 13px;
}

table tr {
    -webkit-transition: background 0.3s, box-shadow 0.3s;
    -moz-transition: background 0.3s, box-shadow 0.3s;
    transition: background 0.3s, box-shadow 0.3s;
}

table tbody tr:hover {
    background-color: #F7F7F7;
    color: #444;
}

table tr td div.icon span {
    background-image: url(../medias/images/icon.png);
    width: 20px;
    height: 20px;
    float: right;
    background-repeat: no-repeat;
    margin-right: 9px;
    cursor: pointer;
}

table tr td div.icon span.etat {
    background-position: -129px -6px;
}

table tr.ouvert td div.icon span.etat {
    background-position: -129px -27px;
}

footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #FFFFFF;
    border-top: solid 1px #FCFCFC;
    -webkit-box-shadow: 0 2px 2px 1.8px rgba(0, 0, 0, 0.3);
}

footer p {
    font-size: 13px;
    width: 100%;
    text-align: center;
    float: left;
    padding-top: 2px;
    padding-bottom: 2px;
    margin: 12px 0px;
}

html.lt-ie9 footer {
    border-top: solid 1px #E9E9E9;
}

/*??????????????????????????????????*/


/*Medias Queries*/
@media screen and (max-width: 1120px) {
    section {
        float: left;
        padding: 20px 0px;
    }

    #PIV #entete, section {
        margin: 0 5%;
        width: 90%;
    }

    div.employe-connecter p {
        margin: 5px auto;
        width: 90%;
    }

    footer {
        padding: 0 5%;
        width: 90%;
    }
}

@media screen and (max-width: 770px) {
    #PIV {
        height: 50px;
        position: relative;
    }

    #PIV #entete {
        height: 50px;
    }

    #PIV #entete ul {
        position: absolute;
        top: 100%;
        margin-left: -5%;
        width: 100%;
        -webkit-transition: all 0.25s ease-in-out;
        -moz-transition: all 0.25s ease-in-out;
        -o-transition: all 0.25s ease-in-out;
        transition: all 0.25s ease-in-out;
        overflow: hidden;
        max-height: 0;
    }

    #PIV #entete ul.actif {
        max-height: 400px;
    }

    #PIV #entete ul li {
        width: 100%;
        float: left;
    }

    #PIV #entete ul li.bordure {
        padding: 0;
        margin-left: -1px;
    }

    #PIV #entete ul li.logo-cegep-mobile {
        display: block;
    }

    #PIV #entete ul li a {
        padding: 15px 0px;
        float: left;
        text-align: left;
        width: 95%;
        background-color: #202020;
        border-bottom: solid 1px #000000;
        padding-left: 5%;
        font-size: 0.85em;
        color: #fff;
    }

    #PIV #entete ul li a:hover {
        color: #fff;
    }

    #PIV a.mobile-menu {
        margin-top: 9px;
        position: absolute;
        bottom: 0;
        right: 5%;
        display: block;
    }

    #PIV a.logo-cegep {
        display: none;
    }
}


.ui-datepicker table {
    border: 0;
}

.ui-datepicker table tr {
    border: 0;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background-image: none;
    border: solid 1px #fff;
    background-color: #FFF;
}


.ui-datepicker {
    padding: 0;
    border-radius: 0;
}

.ui-state-default, .ui-widget-content .ui-state-default {
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 11px;
}

.ui-datepicker th {
    font-size: 12px;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-widget-header {
    background: none;
    border: none;
}

.ui-datepicker-month, .ui-datepicker-year {
    font-size: 14px;
}


.clearfix {
    clear: both;
}

