body
{
    margin: 0;
    padding: 0;
    color: #000;
    font: normal 10pt Arial,Helvetica,sans-serif;
    background: #DDD;
}

#page
{
    margin-top: 5px;
    margin-bottom: 5px;
    background: white;
    border: 1px solid #C9E0ED;
}

#header
{
    margin: 0;
    padding: 0;
    border-top: 3px solid #C9E0ED;
}

#content
{
    padding: 10px 6px 10px 0;
}

#sidebar
{
    padding: 10px 0 10px 0px;
}

#footer
{
    padding: 10px;
    /*margin: 10px 20px;*/
    font-size: 0.8em;
    text-align: center;
    border-top: 1px solid #C9E0ED;
}

#logo
{
    padding: 10px 20px;
    font-size: 200%;
}

#mainmenu
{
    background:white url(bg.gif) repeat-x left top;
}

#mainmenu ul
{
    padding:6px 20px 5px 20px;
    margin:0px;
}

#mainmenu ul li
{
    display: inline;
}

#mainmenu ul li a
{
    color:#ffffff;
    background-color:transparent;
    font-size:12px;
    font-weight:bold;
    text-decoration:none;
    padding:5px 8px;
}

#mainmenu ul li a:hover, #mainmenu ul li.active a
{
    color: #6399cd;
    background-color:#EFF4FA;
    text-decoration:none;
}

.inputReadonly{
    background-color: #ebebe4;
}

.info_message {
    background: #ffffcc;
    border: 1px solid #ffce39;
    margin: 10px auto;
    padding: 4px;
    color: #f00;
}

.info_message ul {
    margin-top: 5px;
    margin-bottom: 5px;
}

.info_message h4 {
    color: red;
    font-weight: bold;
}

div.flash-error, div.flash-notice, div.flash-success
{
    padding:.8em;
    margin-bottom:1em;
    border:2px solid #ddd;
}

div.flash-error
{
    background:#FBE3E4;
    color:#8a1f11;
    border-color:#FBC2C4;
}

tr.bg-error
{
    background:#FBE3E4 !important;
    color:#8a1f11;
    border-color:#FBC2C4;
}

div.flash-notice
{
    background:#FFF6BF;
    color:#514721;
    border-color:#FFD324;
}

div.flash-success
{
    background:#E6EFC2;
    color:#264409;
    border-color:#C6D880;
}

div.flash-error a
{
    color:#8a1f11;
}

div.flash-notice a
{
    color:#514721;
}

div.flash-success a
{
    color:#264409;
}

div.form .rememberMe label
{
    display: inline;
}

div.view
{
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
    font-size: 0.9em;
    padding: 5px 20px;
    /*text-align: right;*/
}

div.breadcrumbs span
{
    font-weight: bold;
}

div.search-form
{
    padding: 10px;
    margin: 10px 0;
    background: #eee;
}

.portlet
{

}

.portlet-decoration
{
    padding: 3px 8px;
    background: #B7D6E7;
    border-left: 5px solid #6FACCF;
}

.portlet-title
{
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    color: #197dbd;
}

.portlet-content
{
    font-size:0.9em;
    margin: 0 0 15px 0;
    padding: 5px 0 5px 8px;
    background:#EFFDFF;
}

.portlet-content ul
{
    list-style-image:none;
    list-style-position:outside;
    list-style-type:none;
    margin: 0;
    padding: 0;
}

.portlet-content li
{
    padding: 2px 0 4px 0px;
}


/*
CSS Ajoute
*/

.operations
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.operations .active
{
    /*text-decoration: underline;*/
    background: #80CFFF;
}

.operations li
{
    padding-bottom: 2px;
    border-bottom: solid 1px #B7D6E7;
}

.operations li a
{
    /*font-weight: bold;*/
    font-size: 12px;
    color: #004482;
    display: block;
    padding: 2px 0 2px 8px;
    line-height: 15px;
    text-decoration: none;
}

.operations li a:visited
{
    /*color: #0066A4;*/
}

.operations li a:hover
{
    background: #80CFFF;
}



/*
PAGE LOGIN CSS
*/

.loginPanel {
    /*background: transparent url(/css/images/colgradient.jpg) repeat-x 0 0;*/
    background-color: #eee;
    border: 1px solid #bbb;
    border-radius: 5px;
    margin: 80px auto;
    padding: 2px 40px 10px 15px;
    width: 410px; 
    /*height: 150px;*/
    /*float: left;*/
}

.loginPanel h2 {

    border-bottom: 1px solid #bbb;
    color: #027191;
    font-size: 22px;
    /*padding: 5px 0 5px;*/
}
/*   
Regle la distance entre le header et le breadcrumb (sinon trop ecarté)
*/
#header{
    margin-bottom: -2em;
}

/*
BREADCRUMB CSS
*/

.breadcrumbs *{
    margin-right: 4px;
    margin-left: 4px;
}

/*
ACCUEIL CSS
*/

.ModulePanel {
    /*background: transparent url(/css/images/colgradient.jpg) repeat-x 0 0;*/
    background-color: #eee;
    border: 1px solid #bbb;
    /*border-radius: 10px;*/
    margin: 10px;
    padding: 2px 15px 10px 15px;
    min-width: 340px;
    /*height: 150px;*/
    float: left;
}

.ModulePanel h2 {

    border-bottom: 1px solid #bbb;
    color: #027191;
    font-size: 22px;
    /*padding: 5px 0 5px;*/
}

.ModulePanel h3 {
    color: #027191;
    font-size: 11px;
    margin: -10px 0 10px 0;
}

.ModulePanel ul li a {
    font-size: 14px;
}

.ModulePanel ul li a:hover {
    color: #027191;
    text-decoration: underline;
}

#content_main .ModulePanel ul li a {
    font-size: 14px;
}

.ModulePanel td {
    padding: 1px;
}

/*
Test CSS pour formulaire dynamique FormBuilder
*/

.readonly input{
    background-color: grey;
}

.dynamicForm ul, fieldset li{
    border:0; margin:0; padding:0; list-style:none;
}
.dynamicForm li{
    clear:both;
    list-style:none;
    padding-bottom:10px;
    display: flex;
}

.dynamicForm input{
    /*    float:left;
        clear:both;*/
}
.dynamicForm select{
    /*float:left;*/
    /*clear:both;*/
}
.dynamicForm textarea{
    float:left;
    clear:both;
}

.dynamicForm label{
    width:300px;
    /*float:left;*/
    font-weight: bold;
    color:black;
}

.dynamicForm h1{
    padding: 5px;
    color: #75aac9;
    border: 2px solid #75aac9;
}

/*
Test CSS pour les sous formulaire dynamique FormBuilder
*/

.sectionForm ul, fieldset li{
    border:0; margin:0; padding:0; list-style:none;
}
.sectionForm li{
    clear:both;
    list-style:none;
    padding-bottom:10px;
    display: inline-table;
}

.sectionForm input{
    float:left;
    clear:both;
}
.sectionForm select{
    float:left;
    clear:both;
}
.sectionForm textarea{
    float:left;
    clear:both;
}
.sectionForm label{
    width:300px;
    float:left;
}
.sectionForm{
    width:900px;
    background-color: #eee;
    border: 1px solid #bbb;
    /*border-radius: 10px;*/
    margin: 4px 0;
    padding: 2px 15px 10px 15px;
    float: left;
}

.sectionForm h1{
    font-size: 24px;
    border: none;
    padding: 0;
}

/* CSS pour le widget DetailView4Col 
*/

table.detail-view { 
    border:1px solid #fff !important; 
}
table.detail-view tbody tr:nth-child(even) {
    background:#E5F1F4; border-color:#fff; 
}
table.detail-view tbody tr:nth-child(odd) {
    background:#F8F8F8;  border-color:#fff; 
}
table.detail-view tbody td {
    border-color:#fff; /*min-width:25%*/; 
}
table.detail-view tbody tr.header { 
    background:#95C8D5; 
}
table.detail-view tbody tr.header th { 
    text-align:left; min-width:20%; 
}
.degradeBleu{
    background :url("bg.gif") repeat-x scroll left top white;
    color : white
}

/*
pour les titres
*/

.main-title {
    padding: 5px;
    background-color: #75aac9;
    color: #fff;
    /*border: 2px solid #75aac9;*/
    margin-bottom: 4px;
}

.main-title h1 {
    padding: 0;
    margin: 0;
    font-size: 20px;
    color: #fafafa; 
}

.main-title h2 {
    padding: 0;
    margin: 0;
}

h1 {
    padding: 5px;
    color: #75aac9;
}


.sub-title {
    padding: 3px 7px;
    color: #fff;/*#333;*/
    background-color: #75aac9;
    /*border: 1px solid #75aac9;*/
    margin-top: -2px;
    margin-bottom: 4px;
    font-size: 14px;
}

/*
CLASS pour la page d'accueil
*/
.HomePanel table{
    border-collapse: collapse;
}

.HomePanel td{
    width:33%;
    vertical-align: top;
    /*border: 1px solid;*/
}

/*
Class CSS pour des éléments à aligner à droite (texte, cellules etc....)
*/
.totheright{   
    text-align: right;
}

.totheright td{   
    text-align: right;
    width: 50px;
}

.rowTitle{
    font-weight: bold;
    font-size: 14px;
}

.totheright input{   
    width: 80px;
}

.tothecenter{   
    text-align: center;
}

.totheleft{   
    text-align: left;
}

.mainTable {
    color: #75aac9;
    border: 2px solid #75aac9;
}

.mainTable th{
    font-size: 16px;
    border-top: 1px solid #75aac9;
    border-left: 1px solid #75aac9;
    border-right: 1px solid #75aac9;
    text-align:center;
    font-weight: bold;
}


.mainTable td{
    border: 1px solid #75aac9;
}

.mainTable input{
    width: 100%;
}

/*
*CLASS utilisé pour faire un petit encadré droit de la même couleur q'un CGridView ou un main-title
exemple: vue aps/modifyChapitre
*/
.sub-table{
    float:right;
    margin-top:-1.4em; /*pour compenser le style du cgridview */
    color: #75aac9;
    border:1px solid #75aac9;
    padding:2px;
}

/* Boutons valider et annuler des formulaires */
.buttonvalidate {
    border-width: 0px;
    background-color:#257A32;
    border-radius:8px;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:arial;
    font-size:13px;
    font-weight:bold;
    padding:9px 15px;
    text-decoration:none;
}

.buttonvalidate:hover {
    background-color:#1C5E26;
    color:#ffffff;
}

.buttoncancel {
    border-width: 0px;
    background-color:#CE2D2D;
    border-radius:8px;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:arial;
    font-size:13px;
    font-weight:bold;
    padding:9px 15px;
    text-decoration:none;
    margin-left: 8px;
}

.buttoncancel:hover {
    background-color:#A52222;
    color:#ffffff;
}

.buttonback {
    border-width: 0px;
    background-color: #69a8cd;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    color: #FFFFFF;
    font-family: arial;
    font-size: 13px;
    font-weight: bold;
    padding: 9px 15px;
    text-decoration: none;
    margin-left: 8px;
}

.buttonback:hover {
    background-color: #5686a3;
    color: #FFFFFF;
    text-decoration: none;
}




.buttonwarning {
    border-width: 0px;
    background-color: #f0ad4e;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    color: #FFFFFF;
    font-family: arial;
    font-size: 13px;
    font-weight: bold;
    padding: 9px 15px;
    text-decoration: none;
    margin-left: 8px;
}

.buttonwarning:hover {
    background-color: #eb9316;
    color: #FFFFFF;
    text-decoration: none;
}

.bg-orange {
    background-color: #ffeddb;
}


/* pour reduire tout le temps les images des boutons customisées des colonnes CButtonColumn des CGridView*/
.buttoncolumn img{
    width:20px;
}

table.grilleTarifaireTable, table.grilleTarifaireTable th, table.grilleTarifaireTable td{
    border: 1px solid black;
    border-collapse: collapse;
}

/* pour affichage esthetique dans la vue des PDF a cocher (navigateur firefox) */
.pdfTemplateRow th{
    width:50px;    
}

.pdfTemplateRow td{
    width: 100%;    
}

.noWrap {
    white-space: nowrap;
}


.grid-view table.items th {
    background-size: 100% !important;
}

.text-red {
    color:red;
}

.text-green {
    color:#0abd5a;
}

.text-grey {
    color: #bbb;
}

.text-success { color: #1e7e34 !important }
.text-warning { color: #d39e00 !important }
.text-danger { color: #bd2130 !important }

.align-right { text-align: right }
.float-right { float: right }
.pa-0 { padding: 0 }
.border-none { border: 0 !important }

.btn-danger, .btn-danger:hover, .btn-danger:focus {
    border-width: 0px;
    background-color: #f1500a;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: arial;
    font-weight: bold;
    text-decoration: none;
    padding: .1rem .3rem;
    font-size: 12px;
    line-height: 1.5;
    border-radius: .25rem;
    border: 2px solid #d40b0b;
}

.alert-danger{
    background-color:#f8d7da;
    color: #721c24;
}

.texte-barre {
    text-decoration: line-through;
}

.article-desactive {
    text-decoration: line-through;
    color:#999;
    font-style: italic;
}


.btn-purple, .btn-purple:hover, .btn-purple:focus {
    border-width: 0px;
    background-color: #8f46e1;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: arial;
    font-weight: bold;
    text-decoration: none;
    padding: 0.1rem 0.3rem;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 0.25rem;
    border: 2px solid #360270;
}


#sidebar-infos{
    background-color: #75aac9;
    color: #FFF;
    min-height: 50px;
    margin-left: 30px;
    position: fixed;
    z-index: 1;
    width: 200px;
    display: none;
}

#sidebar-infos-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.btn-hide-notifications {
    padding: .1rem .2rem;
    line-height: 1;
    border-radius: .2rem;
    color: #fff !important;
    background-color: #75AAC9;
    display: inline-block;
    font-size: 0.71rem;
    text-decoration: underline;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #ff5c01;
    border-radius: 10px;
}

    
.bg-lightgrey {
    background-color: LightGrey !important;
}

.bg-grey {
    background-color: #75aac9 !important;
}

.bg-green {
    background-color: green !important;
}

.bg-orange {
    background-color: orange !important;
}

.bg-red {
    background-color: red !important;
}

.info_bulle_img {
    display: inline-block;
}


.info_bulle_img:hover > .info_bulle_description {
    display: block;
}


.info_bulle_description {
    display:none;
    position:fixed;
    width:400px;
    top:25%;
    left:50%;
    margin-left:-115px;
    padding:15px;
    font-size:16px;
    letter-spacing:1px;
    background:rgb(119 212 233);
    border-radius:5px;
    color:#fff;
    z-index:10;
}


#header-platau
{
    margin: 0;
    padding: 0;
    background-image: url( 'platau.jpg' );
    background-repeat: no-repeat;
    height: 150px;
}

#logo-platau
{
    padding: 10px 20px;
    font-size: 200%;
    font-weight: 800;
    color: #75aac9;
}