﻿/*---------------- body --------------------*/
body {
    font-family: Geneva, Arial, sans-serif;
    background-color: #E4E4E4;
}

    body::before {
        content: "";
        height: 45px;
        display: block;
        background: white;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: -1;
    }

.form-control {
    height: 30.4px;
}

.btn-md {
    height: 30.4px;
}

input[type="radio"] {
    margin: 0;
}

.logo {
    float: left;
    width: 15.44773%;
}
.bandeau {
    float: left;
    width: 72.55227%;
}
.vignette {
    width: 100%;
}

.mySessionDiv {
    float: left;
    margin-left: 5px;
    max-width: 11%;
    overflow: hidden;
}

/*------------------------------------------*/
.container {
    width: auto !important;
    max-width: 1200px;
}

.alert-secondary {
    color: #383d41;
    background-color: #ddcfe3;
    border-color: #d6d8db;
}

    .alert-secondary hr {
        border-top-color: #c8cbcf;
    }

    .alert-secondary .alert-link {
        color: #202326;
    }

.chosen-container-single .chosen-single {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.chosen-container-single .chosen-search input[type="text"] {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

/*---------Media Queries -------------*/
@media (max-width: 800px) {
    body {
        min-width: 800px;
    }

    .myPanel {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
        overflow: visible;
        background-color: #fefaf1;
        border: 1px solid #e4e4e4;
    }

    .topLayer {
        margin-top: -78px;
    }

    .mySessionDiv {
        margin-top: 0;
    }

    .myDateFont {
        margin-top: 0;
        margin-bottom: 0;
        font-size: x-small;
    }

    .myLoginFont {
        margin-top: 0;
        font-size: x-small;
    }

    .myFont {
        font-size: small;
    }

    .myGridStandardFont {
        font-size: small;
    }

    .myGridSmallFont {
        font-size: small;
    }

    .myTitle {
        font-size: medium;
        font-weight: bold;
    }

    .myMain {
        font-size: medium;
    }

    .myUniv {
        font-size: medium;
    }

    .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
        max-width: 160px;
        word-wrap: break-word;
    }

    .radiobuttonlist td {
        padding-left: 25px;
    }

    .radiobuttonlist label {
        padding-left: 5px;
    }
}

@media (min-width: 800px) {
    body {
        width: auto !important;
    }

    .myPanel {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
        overflow: visible;
        background-color: #fefaf1;
        border: 1px solid #e4e4e4;
    }

    .topLayer {
        margin-top: -77px;
    }

    .mySessionDiv {
        margin-top: 0;
    }

    .myDateFont {
        margin-top: 0;
        margin-bottom: 0;
        font-size: x-small;
    }

    .myLoginFont {
        margin-top: 0;
        font-size: x-small;
    }

    .myFont {
        font-size: small;
    }

    .myGridStandardFont {
        font-size: small;
    }

    .myGridSmallFont {
        font-size: small;
    }

    .myTitle {
        font-size: medium;
        font-weight: bold;
    }

    .myMain {
        font-size: medium;
    }

    .myUniv {
        font-size: medium;
    }

    .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
        max-width: 160px;
        word-wrap: break-word;
    }


    .radiobuttonlist td {
        padding-left: 25px;
    }

    .radiobuttonlist label {
        padding-left: 5px;
    }
}

@media (min-width: 992px) {
    body {
        width: auto !important;
    }

    .myPanel {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
        overflow: visible;
        background-color: #fefaf1;
        border: 1px solid #e4e4e4;
    }

    .topLayer {
        margin-top: -99px;
    }

    .mySessionDiv {
        margin-top: 5px;
    }

    .myDateFont {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: small;
    }

    .myLoginFont {
        margin-top: 0;
        font-size: small;
    }

    .myFont {
        font-size: small;
    }

    .myGridStandardFont {
        font-size: small;
    }

    .myGridSmallFont {
        font-size: small;
    }

    .myTitle {
        font-size: medium;
        font-weight: bold;
    }

    .myMain {
        font-size: large;
    }

    .myUniv {
        font-size: larger;
    }

    .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
        max-width: 130px;
        word-wrap: break-word;
    }

    .radiobuttonlist td {
        padding-left: 50px;
    }

    .radiobuttonlist label {
        padding-left: 10px;
    }
}

@media (min-width: 1200px) {
    .myPanel {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
        overflow: visible;
        background-color: #fefaf1;
        border: 1px solid #e4e4e4;
    }

    .topLayer {
        margin-top: -120px;
    }

    .mySessionDiv {
        margin-top: 5px;
    }

    .myDateFont {
        margin-top: 0;
        margin-bottom: 25px;
        font-size: small;
    }

    .myLoginFont {
        margin-top: 0;
        font-size: small;
    }

    .myFont {
        font-size: small;
    }

    .myGridStandardFont {
        font-size: medium;
    }

    .myGridSmallFont {
        font-size: small;
    }

    .myTitle {
        font-size: large;
        font-weight: bold;
    }

    .myMain {
        font-size: x-large;
    }

    .myUniv {
        font-size: larger;
    }

    .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
        max-width: 160px;
        word-wrap: break-word;
    }

    .radiobuttonlist td {
        padding-left: 50px;
    }

    .radiobuttonlist label {
        padding-left: 10px;
    }
}

/*------------------------------------------*/

.test-database-indicator {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff0000;
    font-weight: bold;
    font-size: 50px;
    text-transform: uppercase;
    z-index: 1000;
    pointer-events: none;
    white-space: nowrap;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff, 0px 0px 8px rgba(255,255,255,0.8);
}

/* -----------Master Page--------------*/
.header {
    position: relative;
    border-style: solid;
    border-width: 1px;
    background-color: #ffffff;
    border-bottom: 1px solid;
    border-color: #C6BDB3;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    min-width: 768px;
}

.header_lyceen {
    border-style: solid;
    border-width: 1px;
    background-color: #ffffff;
    border-bottom: 0;
    border-color: #C6BDB3;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    min-width: 768px;
    padding: 0 10px 0 10px;
    margin-bottom: -20px;
}

.footer {
    border-style: solid;
    border-width: 1px;
    border-top-width: 1px;
    background-color: #ffffff;
    border-color: #C6BDB3;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    padding-top: 8px;
}

.main {
    border-style: solid;
    border-width: 1px;
    background-color: #ffffff;
    border-top: none;
    border-bottom: none;
    border-color: #C6BDB3;
    background: #fff;
    padding: 10px;
    min-height: 150px;
}

.myLink {
    color: #9267a5;
}

.myGreyLinks {
    color: #808080;
}

.text-danger:hover {
    text-decoration: none;
    color: #8e0707;
}

.text-warning:hover {
    text-decoration: none;
    color: #974f09;
}

.text-warning {
    color: #d17720;
}

.text-danger {
    color: #cb3737;
}

a.aspNetDisabled {
    color: #e0e0e0;
    text-decoration: none;
}

    a.aspNetDisabled:hover {
        color: #e0e0e0;
        text-decoration: none;
        cursor: not-allowed;
    }

.myLink:hover, .myLink:active, .myLink:visited, .myLink:focus {
    color: #664873;
    text-decoration: none;
}

.div_afficher_masquer {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.gras {
    font-weight:bold;
}

.bouton_filtre {
    font-weight: bold;
    color: #000;
    background-color: #f1f1f1;
    border-color: #e0e0e0;
}

.radiobuttonlist input[type="radio"][disabled] {
    cursor: not-allowed;
    opacity: 0.5;
}

.radiobuttonlist input[type="radio"][disabled] + label {
    color: #999;
    cursor: not-allowed;
}

.radiobuttonlist .aspNetDisabled {
    color: #999;
    cursor: not-allowed;
}

/* Spinner ou curseur d'attente pendant le chargement */
.update {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    background-image: url("../img/spiffygif.gif");
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
    z-index: 16777271 !important;
    opacity: 1;
    overflow: hidden;
}

/*--- Positionnement du premier élément de colonne --*/
.input_first {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.input_first2 {
    margin-left: 10px;
    padding-right: 10px;
    width: 100%;
}

.input_first3 {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}
/*---------------------------------------------------*/

.input_nomargin {
    width: 100%;
}

/*-- Positionnement des autres éléments de colonne --*/
.input_then {
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
/*---------------------------------------------------*/
.myContainer {
    margin-bottom: 20px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

/*----Positionnement du linkButton à droite ----*/
.linkRight {
    margin-right: 55px;
}
/*------------------------------------------------------------*/


/*----Positionnement du linkButton à gauche ----*/
.linkLeft {
    margin-left: 55px;
}
/*------------------------------------------------------------*/

/*-------- Positionnement du label Warning ----------*/
.labelWarning {
    display: inline-block;
    margin-left: 10%;
}
/*---------------------------------------------------*/
/*--- Modèle de bouton --*/

.button_menu {
    background-color: #FFFFFF;
    border-color: #68645f;
    color: #68645f;
}

    .button_menu:disabled,
    .button_menu.active {
        background-color: #68645f;
        border-color: #68645f;
        color: #FFFFFF;
        outline: none !important;
    }

    .button_menu:focus {
        background-color: #68645f;
        border-color: #68645f;
        color: #FFFFFF;
        outline: none !important;
    }

label {
    cursor: pointer;
}

    label.btn > input[type='radio'] {
        display: none;
    }

/*--- Modèle de bouton --*/
.button_model {
    background: #FFFFFF;
    border-color: #9267A5;
    color: #9267A5;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

    .button_model:hover {
        background: #9267A5;
        border-color: #FFFFFF;
        color: #FFFFFF;
    }

    .button_model:focus {
        outline: none;
    }

    .button_model:disabled {
        background: #e0e0e0;
        border-color: #9267A5;
        color: #9267A5;
        -webkit-transition-duration: 0.4s; /* Safari */
        transition-duration: 0.4s;
    }

        .button_model:disabled:hover {
            background: #e0e0e0;
            border-color: #9267A5;
            color: #9267A5;
        }
/*-----------------------*/

/*--- Modèle de bouton --*/
.button_second {
    background: #FFFFFF;
    border-color: #3c3c3c;
    color: #3c3c3c;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

    .button_second:hover {
        background: #3c3c3c;
        border-color: #FFFFFF;
        color: #FFFFFF;
    }

    .button_second:focus {
        outline: none;
    }

    .button_second:disabled {
        background: #e0e0e0;
        border-color: #3c3c3c;
        color: #3c3c3c;
        -webkit-transition-duration: 0.4s; /* Safari */
        transition-duration: 0.4s;
    }

        .button_second:disabled:hover {
            background: #e0e0e0;
            border-color: #3c3c3c;
            color: #3c3c3c;
        }
/*-----------------------*/

.wrap {
    float: right;
    position: relative;
    left: -50%;
}

.content {
    left: 50%;
    position: relative;
    padding-left: 25px;
    padding-right: 25px;
}

/* --------------  Gridview ----------------*/
.table, table-bordered, table-condensed, table-stripped {
    margin-left: auto;
    margin-right: auto;
    vertical-align: top;
}

    .table th {
        text-align: center;
        background-color: #a19a92;
        color: #fff;
    }

    .table_top th {
        background-color: #cfc3b7;
        color: #fff;
    }

    .table tr {
        text-align: center;
        background-color: #fff;
        word-wrap: break-word;
    }

.mygridview tr th a /** POUR COLONNES TRIABLES  **/ {
    background-color: #a19a92;
    color: #fff;
}

.mygridview_top tr th a /** POUR COLONNES TRIABLES  **/ {
    background-color: #cfc3b7;
    color: #fff;
}

.mygridview tr td a, .mygridview_top tr td a /** FOR THE PAGING ICONS  **/ {
    background-color: #fff;
    color: #9267a5;
    padding: 5px 5px 5px 5px;
    text-decoration: none;
}

.mygridview a:hover /** FOR THE PAGING ICONS  HOVER STYLES **/ {
    background-color: #a19a92;
    color: #fff;
}

.mygridview_top a:hover /** FOR THE PAGING ICONS  HOVER STYLES **/ {
    background-color: #cfc3b7;
    color: #fff;
}

.mygridview span, .mygridview_top span /** FOR THE PAGING ICONS CURRENT PAGE INDICATOR **/ {
    background-color: #c9c9c9;
    color: #000;
    padding: 5px 5px 5px 5px;
}

.hiddencol {
    display: none;
}

.breakall {
    word-break: break-all;
}
/*------------------------------------------*/
.list-group-item {
    background-color: #f5f5f5;
}

.btn-file {
    color: #00A095;
    background: #fff;
    border-color: #00A095;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

    .btn-file:hover {
        color: #fff;
        background: #00A095;
        border-color: #00A095;
    }

    .btn-file:focus {
        outline: none;
    }

    .btn-file:disabled {
        color: #00A095;
        background: #fff;
        border-color: #00A095;
    }

    .btn-file[disabled]:hover {
        color: #00A095;
        background: #fff;
        border-color: #00A095;
    }

.form-control:focus {
    border-color: #00A095;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus {
    color: white;
    background-color: #00A095;
    outline: none;
}

    .nav-pills > li.active > a:hover {
        background-color: #00A095;
        color: white;
    }

.nav-pills > li > a {
    color: #00A095;
    background-color: white;
    border: 1px solid #00A095;
    margin-left: 5px;
    margin-right: 5px;
}

    .nav-pills > li > a:focus {
        color: white;
        background-color: #00A095;
        outline: none;
    }

    .nav-pills > li > a:hover {
        color: white;
        background-color: #00A095;
    }


/* Bootstrap override */
.row {
    margin-right: 0;
    margin-left: -10px;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-right: 0;
    padding-left: 10px;
}

.bg-primary {
    color: black;
    background-color: #ddcfe3;
    border-color: #ddcfe3;
}

.btn-primary {
    color: #fff;
    background-color: #9267a5;
    border-color: #9267a5;
}

    .btn-primary:focus,
    .btn-primary.focus {
        color: #fff;
        background-color: #7f5591;
        border-color: #7f5591;
    }

    .btn-primary:hover {
        color: #fff;
        background-color: #7f5591;
        border-color: #7f5591;
    }

    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        color: #fff;
        background-color: #7f5591;
        border-color: #7f5591;
    }

        .btn-primary:active:hover,
        .btn-primary.active:hover,
        .open > .dropdown-toggle.btn-primary:hover,
        .btn-primary:active:focus,
        .btn-primary.active:focus,
        .open > .dropdown-toggle.btn-primary:focus,
        .btn-primary:active.focus,
        .btn-primary.active.focus,
        .open > .dropdown-toggle.btn-primary.focus {
            color: #fff;
            background-color: #634270;
            border-color: #634270;
        }

    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        background-image: none;
    }

    .btn-primary.disabled:hover,
    .btn-primary[disabled]:hover,
    fieldset[disabled] .btn-primary:hover,
    .btn-primary.disabled:focus,
    .btn-primary[disabled]:focus,
    fieldset[disabled] .btn-primary:focus,
    .btn-primary.disabled.focus,
    .btn-primary[disabled].focus,
    fieldset[disabled] .btn-primary.focus {
        background-color: #9267a5;
        border-color: #9267a5;
    }

    .btn-primary .badge {
        color: #9267a5;
        background-color: #fff;
    }

textarea:focus, select:focus, input:focus, .uneditable-input:focus {
    border-color: rgba(146, 103, 165, 0.8) !important;
    box-shadow: 0 1px 1px rgba(146, 103, 165, 0.075) inset, 0 0 8px rgba(146, 103, 165, 0.6) !important;
    outline: 0 none !important;
}

input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    border: 1px solid #999;
    margin-top: 0px;
    outline: none;
    position: relative;
}

input:checked {
    background-color: #9267a5;
}

button,
legend {
    color: white;
    background-color: #9267a5;
    border-radius: 0;
    border: 0;
    font-size: 14px;
}

    button:hover,
    button:focus {
        color: #999;
    }

    button:active {
        color: black;
        outline: 1px solid #9267a5;
    }

.img-button-text-centered {
    vertical-align: middle;
}
