html {
    padding: 0;
    margin: 0;
}

body {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 11px;
    color: #111111;
 /* background-image: "/img/charte/ombre_bg.png";*/
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
    background-origin: border-box;
    background-color: #FEFEFEFE;
    overflow-y: scroll;
    padding: 0;
    margin: 0;
    height: 100%;
}

#content {
    width: 98%;
    min-width: 1024px;
    /*	width: 100%; */
    height: 100%;
    background-image: url("/img/ombre_bg.png");
    background-position: top center;
    background-repeat: repeat-y;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

#content_medium {
    width: 90%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

a {
    color: darkblue;
    text-decoration: underline;
}

a:hover {
    color: darkmagenta;
    cursor: pointer;
}

/**** HAUT ****/

#zone_haut{
    padding: 10px;
    background-image: url('/img/charte/fondhaut.png');
    height: 120px;
}
#zone_haut_mini{
    padding: 1px;
    background: #5d9cc2;
    height: 36px;
}
/**** BAS ****/
#zone_bas {
    background: linear-gradient(to top, rgba(244, 244, 244, 0.9) 0%, rgba(244, 244, 244, 0.6) 100%);
    padding-top: 2px;
    clear: both;
    z-index: 1;
    min-height: 20px;
    padding-top: 10px;
}
#zone_bas table {
    border-style: hidden;
}

#zone_bas a {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid;
    border-radius: 4px;
    padding: 2px;
    background-color: rgba(47, 47, 47, 0.19);
}
.contenu {
    padding: 10px;
    background: rgba(244, 244, 244, 0.9);
    min-height: 85vh;
    height: 100%;

}

.contenuAccueil {
    padding: 10px;
    background: rgba(255, 255, 255, 1);
    min-height: 300px;
    margin-top: 380px;
    height: 100%;

}

.contenu.vide {
    padding: 10px;
    background: rgba(244, 244, 244, 0.8);
    margin-left: 10px;
    min-height: 350px;
}

.login {
    border: 1px solid #000;
    border-radius: 10px 10px 10px 10px;
    padding : 5px;
    background: #dfdfdf;
}
.login label {
    width: 100px;
    display: inline-block;
    line-height: 15px;
    vertical-align: bottom;
}



.login input[type=text], input[type=password] {
    border-radius: 5px;
    border: 1px solid #dadadc;
    width: 260px;
    color: black;
    height: 18px;
    text-indent: 5px;
    vertical-align: middle;
}

.actus {
    font-size: 12px;
    display:block;
    vertical-align: top;
    border: 2px groove darkred;
    padding :10px;
}


.infos {
    width:85%;
    font-size: 12px;
    min-height:450px;
    margin : 50px 7% 0 7%;
    padding :20px;
    display: block;
    vertical-align: top;
    background-color: white;
    overflow:auto;
    box-shadow: 2px 2px 5px 2px #636e2b;

}
.infos .img {
    box-shadow: inset 0 0 20px 10px white;
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
    width:500px;
    float:right;

}

.infos a:hover {
    color : darkmagenta;
}
/**** BLOC RECHERCHE ****/
fieldset {
    border: 1px solid #d2d2d2;
    background-color: #efefef;
}

fieldset legend {
    font-size: 12px;
    background-color: #e2e2e2;
    padding-left: 10px;
    padding-right: 10px;
    color: black;
    border: solid 1px #a5a5a5;
}

/**** FORMULAIRE ****/
.form {
    color: #111111
}

.form ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.form ol li {
    color: #111111;
    clear: both;
    padding-top: 5px;
    cursor: auto;
    line-height: 29px
}

.form label {
    width: 200px;
    display: inline-block;
    line-height: 29px;
    vertical-align: middle;
}
.form .lauto  {
    width: auto;
}
.form .l400  {
    width: 400px;
}
.form .l300  {
    width: 300px;
}
.form .l200  {
    width: 200px;
}
.form .l150  {
    width: 150px;
}

.form .l100  {
    width: 100px;
}

.form .l90  {
    width: 90px;
}

.form .l50  {
    width: 50px;
}
.form .l25  {
    width: 25px;
}
.form input[type=text], .form input[type=password],.form  input[type=time] {
    border-radius: 5px;
    border: 1px solid #dadadc;
     width: 260px;
    color: black;
    height: 20px;
    text-indent: 5px;
    vertical-align: middle;
}

.form select {
    border-radius: 5px;
    border: 1px solid #dadadc;
    width: 260px;
    color: black;
    height: 24px;
    text-indent: 5px;
    vertical-align: middle;
}

.form textarea {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 12px;
    border-radius: 5px;
    border: 1px solid #dadadc;
    width:95%;
    height:200px;
    resize:none;
    color: black;
    vertical-align: top;
}

.form input[type=text]:hover, .form input[type=password]:hover,.form input[type=time]:hover , .form textarea:hover {
    border: 1px solid #77BB77;
}

.form input[type=text]:focus, .form input[type=password]:focus,.form input[type=time]:focus, .form textarea:focus {
    border: 1px solid #0000FF;
}

.form input[type=text].treslong {
    width: 740px !important;
}
.form input[type=text].libelle {
    width: 400px !important;
}

.form input[type=text].mot {
    width: 150px !important;
}
.form input[type=text].motlong {
    width: 200px !important;
}
.form input[type=text].motcourt {
    width: 100px !important;
}
.form input[type=text].tel {
    width: 125px !important;
}
.form input[type=text].code {
    width: 50px !important;
}

.form input[type=text].fullwidth, .form textarea.fullwidth .form input[type=password].fullwidth{
    width: 100% !important;
}

.form input[type=text].date {
    width: 90px !important;
}

.form .heure {
    width: 60px !important;
}

.form input[type=text][readonly], .form select[disabled], textarea[readonly] {
    background:  #DDDDDD!important;
}

.form input[type=submit][disabled], .form button[disabled] {
    color:#b0b0b0 ;
    cursor: default;
}

.form input[type=checkbox], .form input[type=radio] {
    vertical-align: middle;
    transform: scale(1.3); /* Opera */
    margin-right: 5px;
    margin-top: 2px;
}
.form td input {
    padding: 0 ;
    margin: 0 ;
}
/* READONLY NON SUPPORTE*/
select[readonly]{
    background: #DDDDDD !important;
}
select[readonly] option{
    display:none !important;
}

input[type=checkbox][readonly]{
    pointer-events:none;
    opacity:0.4;
}
input[type=checkbox][readonly] + label{
    pointer-events:none!important;
}
.zone_error {
    border : solid 2px red!important;
}
/*BLOCS CHAMPS COTE A COTE*/
.blocs {
    display:flex;
    justify-content: space-between;
}

.bloc {
    width: auto;
    display: inline-block;
    vertical-align: top;
}

.bloc.l50p{
    width: 49.5%;
}
.bloc.l400{
    width: 400px;
}
.bloc.double{
    width:885px;
}
.bloc.auto{
    width:auto;
    margin-left:10px;
}

.borddroit {
    border-right: 1px solid lightgrey;
}
.bordgauche {
    border-right: 1px solid lightgrey;
}
/*BLOCS CHAMPS COTE A COTE*/
.gauche {
    width: 440px;
    float: left;
    display: inline-block;
}

.droite {
    width: 440px;
    float: right;
    display: inline-block;
}
.gauche label, .droite label, .bloc label {
    width: 140px;
    line-height: 29px
}
label.court {
    width: 110px!important;
}
.haut {
    width: 100%;
    height: 53%;
    display: inline-block;
}

.bas {
    width: 100%;
    height: 70%;
    display: inline-block;
    background-color: #f5f5f5;
    border-style: solid;
    border-width: 1px;
    padding: 4px;
}

/**** BOUTONs ****/
.boutton, button {
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #fff, #e6e6e6);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) #a2a2a2;
    border-image: none;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #333;
    cursor: pointer;
    display: inline-block;
    font-size: 11px;
    line-height: 16px;
    height: 25px;
    margin: 5px 15px;
    padding: 4px 12px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
}
input[type=file] {
    cursor: pointer;
}

.boutton:hover:not([disabled]), button:hover:not([disabled]){
    background: #e6e6e6;
}
button.boutton.down,button.boutton.down:focus,button.boutton.down:hover, button.down,button.down:focus button.down:hover{
    background: #929292;
}

.bottom {
    margin-bottom: 5px;
}

.boutton.left {
    float: left;
    margin: 2px 0 2px 10px;
}

.boutton.right {
    float: right;
    margin: 2px 10px 2px 0;
}

.boutton.decale {
    margin: 2px 10px 2px 50px;
}

.nombre {
    box-sizing: border-box;
    text-align: right;
    padding-right: 4px!important;
    height: 22px!important;
}

.textecentre {
    text-align: center;
}

.textedroite {
    text-align: right;
}

.separe {
    visibility: hidden;
    clear: both;
}

.h_5 {
    height: 5px;
    line-height: 5px;
}

.h_10 {
    height: 10px;
    line-height: 10px;
}

.h_20 {
    height: 20px;
    line-height: 20px;
}

/**** ACCUEIL ****/
#bloc_identification {
    color: #111111;
    background: #dadada;
    width: 290px;
    padding: 15px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #98dc6e;
    border-radius: 20px 20px 20px 20px;

}

#bloc_identification label,
#bloc_identification h1,
#bloc_identification h2,
#bloc_identification h3,
#bloc_identification h4,
#bloc_identification table,
#bloc_identification span  {
    color: #fff;
}



.boite-modale {
    display:none;
    z-index: 500;
    width:auto;
    height:auto;
    padding:0;
    border: grey 1px solid;
    border-radius: 7px;
    position:absolute;
    background-color: #F9F9F9;
    top: 25%;
    left:25%;

}
.boite-modale h1 {
    margin:2px;
    padding:6px;
    font-size:1.2em;
    border-radius: 5px;
    border: grey 1px solid;
    background-color: #D4D4D4;
}
.boite-modale .close {
    position: absolute;
    right:5px;
    top:4px;
    margin:0;

}
.boite-modale div {
    font-size:1.1em;
    margin:10px;
}

.dialogue {
    display:none;
    z-index: 500;
    width:60%;
    height:90%;
    padding:0;
    margin:0;
    border: grey 1px solid;
    background-color: #F9F9F9;
    border-radius: 5px;
    position:absolute;
    top:5%;
    left:20%;


}
.dialogue h1 {
    margin:2px;
    padding:6px;
    font-size:1.2em;
    border-radius: 5px;
    border: grey 1px solid;
    background-color: #D4D4D4;
}
.dialogue .close {
    position: absolute;
    right:5px;
    top:4px;
    margin:0;

}
.dialogue .dialogue-contenu {
    font-size:1.1em;
    margin:0;
    padding:0;
    width:100%;
    height:calc(100% - 33px);

}
.ui-dialog {
    z-index: 500;
}

/* POUR LES IMPRESSIONS */

@media print {
    .page {page-break-after: always;}
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    padding: 0;
}

table .hc {
    text-align: center;
}

table .hr {
    text-align: right;
}

table .vt {
    vertical-align: top;
}

table .vb {
    vertical-align: bottom;
}

table .bt {
    border-top: 1px solid lightgrey;
}

table .bb {
    border-bottom: 1px solid lightgrey;
}

table .bl {
    border-left: 1px solid lightgrey;
}

table .br {
    border-right: 1px solid lightgrey;
}

table .ba {
    border: 1px solid lightgrey;
}

table .case {
    display: inline;
    padding: 0;
    width: 10px;
    height: 12px;
    border: 1px solid black;
    margin-left: 15px;
    margin-right: 3px;
    text-align: center;
    font-size: 9pt;
}

table .bgg {
    background: #D4D4D4;
}

table .small .case {
    display: inline;
    padding: 0;
    width: 8px;
    height: 10px;
    border: 1px solid black;
    margin-left: 15px;
    margin-right: 3px;
    text-align: center;
    font-size: 7pt;
}

table .xlarge {
    font-size: 14pt;
}

table .large {
    font-size: 12pt;
}

table .large11 {
    font-size: 11pt;
}


table .small {
    font-size: 8pt;
}

table .small7 {
    font-size: 7pt;
}

table .xsmall {
    font-size: 6pt;
}

table .xxsmall {
    font-size: 5pt;
}

.ean13 {
    font-family: "Libre Barcode EAN13 Text",cursive;
    font-size: 7.65rem;
    font-feature-settings: "calt" 1;
    overflow: auto;
}

@font-face {
    font-family: 'Libre Barcode EAN13 Text';
    src: url('/css/fonts/LibreBarcodeEAN13Text-Regular.ttf')  format('truetype');
}
