﻿body {
    margin-bottom: 50px !important;
}
body.cergiWaiting * {
    cursor: wait;
}
/* Subrillance sur les tableaux */
.highlight {
    background-color: #45619D !important;
    color: white !important;
}
/*Les filelset et legend*/
._filelset {
    border: 1px solid #708090;
    padding: 5px;
    background: white;
    /*border-radius: 5px;*/
}

._legend {
    border: none;
    width: auto;
    margin-bottom: 0px;
    font-size: 14px;
    font-weight: bold;
    color: blue;
}

._filelset legend {
    padding-left: 2px !important;
}
/*Les entetes et footer portant les indications*/
.EnteteInfo {
    text-align: center;
    color: white;
    border-radius: 4px;
    min-height: 40px !important;
    /*min-height: 40 !important;*/
    padding: 3px 20px 3px 20px;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
}

    .EnteteInfo label:first-child,
    .EnteteInfo label:last-child {
        padding-top: 5px;
        margin-top: 5px;
        font-weight: bold;
    }

footer ._footer {
    text-align: center;
    background-color: #022D65;
    color: white;
    border-radius: 0px;
    padding: 3px 20px 0px 20px;
    bottom: 0px;
}

._footer p {
    margin-bottom: 0px !important;
}
/*Le container de la page*/
._container {
    background: #f7f9fa;
    /*background: #64b5e6;*/
    margin-top: 30px !important;
    height: 100% !important;
    /*border: 1px solid #022d65 !important; rgba(0,0,0,0.16) rgba(0,0,0,0.08)*/
    box-shadow: 0 3px 3px 0 #45619d, 0 0 0 1px rgba(0,0,0,0.08);
    border-radius: 6px;
    padding: 10px 20px 10px 20px;
    margin-bottom: 20px;
}

    ._container:after {
        position: absolute;
        z-index: -1;
        content: "";
        bottom: 25px;
        left: 20px;
        width: 70%;
        top: 80%;
        -webkit-box-shadow: 0 35px 20px #989898;
        -moz-box-shadow: 0 35px 20px #989898;
        box-shadow: 0 35px 20px #989898;
        -webkit-transform: rotate(-4deg);
        -moz-transform: rotate(-4deg);
        -o-transform: rotate(-4deg);
        -ms-transform: rotate(-4deg);
        transform: rotate(-4deg);
    }

    ._container:after {
        -webkit-transform: rotate(4deg);
        -moz-transform: rotate(4deg);
        -o-transform: rotate(4deg);
        -ms-transform: rotate(4deg);
        transform: rotate(4deg);
        right: 20px;
        left: auto;
    }

._row {
}

/*Margin top*/
._top_10 {
    margin-top: 10px !important;
}

._mt10 {
    margin-top: 10px !important;
}

._mt8 {
    margin-top: 8px !important;
}

._mt6 {
    margin-top: 6px !important;
}

._mt4 {
    margin-top: 4px !important;
}

._mt2 {
    margin-top: 2px !important;
}

._mt1 {
    margin-top: 1px !important;
}
/*Margin bottom*/
._bottom_10 {
    margin-bottom: 10px !important;
}

._mb10 {
    margin-bottom: 10px !important;
}

._mb8 {
    margin-bottom: 8px !important;
}

._mb6 {
    margin-bottom: 6px !important;
}

._mb4 {
    margin-bottom: 4px !important;
}

._mb2 {
    margin-bottom: 2px !important;
}

._mb1 {
    margin-bottom: 1px !important;
}

._plafond {
    color: #F00;
    font-weight: bold;
    font-size: 22px;
}

._hand_cursor {
    cursor: pointer !important;
}


._circle {
    /*border-radius: 5px !important;*/
}

._bold_text {
    font-weight: bold;
}



._left_border {
    border-left: 1px solid #ccc;
    height: 100%;
}

._label {
    /*background: #eee;*/
    background: #F1F1F1;
    width: 100%;
    /*height: 25px;*/
    height: 27px;
    border-radius: 1px;
    border: 0px solid #ccc;
    font-weight: bold;
    font-size: 14px;
    padding-top: 1px;
    overflow-x: hidden;
    padding-left: 5px;
    padding-right: 5px;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
}

div._mt10 {
    margin-top: 10px !important;
}

button {
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
}

    button._mt4 {
        margin-top: 4px !important;
    }

    button._mb4 {
        margin-bottom: 4px !important;
    }

label._bold_text {
    font-weight: bold !important;
    font-size: 0.8em;
}

._hr {
    width: 100%;
    border: 1px solid #708090;
    margin-bottom: 10px;
}

._textarea {
    width: 100%;
    height: 50px;
    overflow-y: scroll;
    border: 2px solid #F1F1F1;
}

.__textarea {
    height: 140px !important;
}

.__textarea_100 {
    height: 100px !important;
}

.__textarea_80 {
    height: 80px !important;
}

.__textarea_60 {
    height: 60px !important;
}

.__textarea_40 {
    height: 40px !important;
}

._frame {
    box-shadow: inset 0 0 0.2em #000, 0 0 1em #708090;
    padding: 10px 5px 10px 5px;
    background: #ffffff;
}

.table > tbody > tr > td._td, .table > tbody > tr > th._th, .table > thead > tr > th._th {
    border: none !important;
}

.imagehaut {
    bottom: 0px;
    right: 0px;
    background-image: url('~/Images/Img/img1.jpg');
    background-repeat: no-repeat;
    background-position: right bottom;
    position: fixed;
    z-index: -30;
}

._w20 {
    width: 20% !important;
}

.imagehaut img {
    width: 350px !important;
    height: 350px !important;
    border-radius: 350px 0px 0px 0px !important;
    z-index: -30;
    opacity: 0.1;
    filter: alpha(opacity=100);
    -moz-opacity: 0.5;
}

.ui-widget-overlay {
    background: black;
    opacity: 0.5;
    filter: alpha(opacity = 50);
    position: absolute;
    top: 0;
    left: 0;
}

#divBackground {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: black;
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.8;
    display: none;
}

._underline {
    text-decoration: underline;
}

._green_text {
    color: #008000;
}

._red_text {
    color: #F00;
}

._blue_text {
    color: blue;
}

._white_text {
    color: #FFFFFF;
}

._black_text {
    color: #000000;
}

._red_label {
    background: #F00;
    color: #FFFFFF;
}

._green_label {
    background: #008000;
    color: #FFFFFF;
}

._blue_label {
    background: blue;
    color: #FFFFFF;
}

._success_label {
    background: #008000;
}

.cergiDecimalMoney, input.date {
    text-align: right !important;
    font-weight: bold !important;
}

input.form-control, select.form-control, textarea {
    font-weight: bold !important;
    border-radius: 2px !important;
    border-color: #45619d !important;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
}

input.form-control, select.form-control {
    height: 25px !important;
}

select.form-control {
    padding-top: 0px !important;
}

select > option {
    font-weight: bold !important;
}

div.baniere {
    width: 100%;
    height: 10px !important;
    background-image: url('/Images/Img/baniere.png');
    background-repeat: repeat-x;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

div.baniere-footer {
    width: 100%;
    height: 35px !important;
    background-image: url('/Images/Img/baniere.png');
    background-repeat: repeat-x;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

/* Masquer le bouton radio d'origine */
input[type=radio] {
    display: none;
}
    /* Affichage par défaut du bouton radio personnalisé */
    input[type=radio] + label:before {
        background: #fff;
        border: 2px solid #ccc;
        border-radius: 50%;
        margin-top: -3px;
        margin-right: 6px;
        display: inline-block;
        vertical-align: middle;
        content: '';
        width: 17px;
        height: 17px;
    }
    /* Affichage du bouton radio personnalisé quand il est sélectionné */
    input[type=radio]:checked + label:before {
        background: blue;
        box-shadow: inset 0px 0px 0px 2px #fff;
    }

    input[type=radio]:disabled + label:before {
        cursor: not-allowed;
    }
.element {
    margin-bottom: 14px;
}

label {
    cursor: pointer;
}


[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}
 
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label  {
  position: relative; 
  padding-left: 25px; 
  cursor: pointer;   
}

[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before  {
  content: '';
  position: absolute;
  left:0; top: 2px;
  width: 17px; 
  height: 17px; 
  border: 2px solid #ccc;
  background: #ffffff;
  border-radius: 3px;

}
 
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after  {
  content: '✔';
  position: absolute;
  top: 0; 
  left: 4px;
  font-size: 14px;
  color: blue;
  transition: all .2s;
  font-weight: bold;
}
[type="checkbox"]:not(:checked) + label:after {
  opacity: 0; 
  transform: scale(0); 
}
[type="checkbox"]:checked + label:after {
  opacity: 1; 
  transform: scale(1); 
}
[type="checkbox"]:disabled + label:after {
    cursor: not-allowed;
}
@media screen and (max-width: 640px) {
    .EnteteInfo label.pull-left, .EnteteInfo label.pull-right {
        position: absolute;
        left: -999em;
    }

    .EnteteInfo label:nth-child(2), ._footer label {
        font-size: 13px !important;
    }
}
