@import url(TabbedPanels.css);
@import url(Forms.css);
@import url(SortTable.css);
@import url(Ajax.css);
@import url(Dsc.css);

body, html{
    font-size: 100%;
}
body, table{
    background: rgb(250, 250, 250);
    font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif;
}
body{
    margin: 0;
    padding: 10px;
    font-size: 70%;
}
h1{
    margin: 0;
    padding: 0;
    font-size: 200%;
    background: rgb(223, 223, 223);
}
h2{
    height: 100%;
}
a{
    color: rgb(0, 140, 255);
}
a img{
    border: none;
}

hr.clear{
    clear: both;
    margin: 0;
    padding: 0;
    height: 1px;
    visibility: hidden;
}

/* Messages */
div.msg{
    margin: 1em 0;
    padding: 0.5em 1em 0;
    background: white;
    color: black;
    border: 2px solid black;
    text-align: left;
}
div.error, div.exception{
    color: rgb(221, 0, 0);
    border-color: rgb(221, 0, 0);
}
div.info{
    color: rgb(0, 140, 255);
    border-color: rgb(0, 140, 255);
}
div.msg p{
    margin: 0 0 0.5em;
    padding: 0;
}

/* MENU PRINCIPAL */
#menu{
    position: relative;
    margin-top: 10px;
    background: rgb(223, 223, 223);
    height: 100%; /* IE BUG ! */
}
#menu ul{
    margin: 0;
    padding: 10px 0;
    list-style: none;
    text-align: center;
}
#menu ul li{
    display: inline;
    margin: 0 0.5em 0 0;
}
#menu ul li a:link,
#menu ul li a:visited{
    padding: 10px;
    background: gray;
    color: white;
    font-weight: bold;
    text-decoration: none;
}
#menu ul li a:hover,
#menu ul li a:focus{
    background: rgb(111, 111, 111);
    color: white;
    font-weight: bold;
}

#menu ul li.adminLink a:link,
#menu .adminLink a:visited{
    background: #c00;
    color: white;
}
#menu ul li.adminLink a:hover,
#menu ul li.adminLink a:focus{
    background: #900;
}

#menu ul li#logoutItem{
    display: block;
    position: absolute;
    margin: 0;
    padding: 10px 0;
    top: 0;
    right: 0;
    background: transparent;
}
#menu ul li#logoutItem a:link,
#menu #logoutItem a:visited{
    margin: 0;
    padding: 10px;
    background: transparent;
    color: rgb(111, 111, 111);
}
#menu ul li#logoutItem a:hover,
#menu ul li#logoutItem a:focus{
    background: rgb(111, 111, 111);
    color: white;
}

/* TABLES */
.listing{
    width: 100%;
}
.listing tr.odd td{
    background: rgb(240, 240, 240);
}
.listing td.publish_statut a{
    font-size: 10px;
    color: grey;
}
.listing td.actions{
    width: 15em;
}
td img{
    vertical-align: middle;
}


/* LIENS */
.toggleHeader a{
    display: block;
    float: left;
    margin: 0 5px 0 0;
    width: 18px;
    background: transparent url(../images/minus.png) no-repeat center center;
    text-indent: -9999px;
    overflow: hidden;
}
.toggleHeader a:hover{
    background-image: url(../images/minus_hover.png);
}
.toggleHeader a.closed{
    background-image: url(../images/plus.png);
}
.toggleHeader a.closed:hover{
    background-image: url(../images/plus_hover.png);
}
.hiddenForm { display: none; }

/* CONTENU */
#content{
    margin: 1em 0 0 0;
}
#content h2{
    margin: 0 0 0.5em;
    padding: 0.5em 0;
    font-size: 120%;
    border-bottom: 1px solid #ccc;
}

/* Extra forms */
#extraFormContainer{
    margin: 0;
    padding: 5px 10px;
    background: rgb(238, 238, 238);
    border: 1px solid rgb(204, 204, 204);
}


/* Special links */
a.updateLink{
    font-weight: bold;
    text-decoration: none;
}
a.updateLink span{
    text-decoration: underline;
}
span.export_oui {
    color: green;
}
span.export_non {
    color: red;
}
span.supprime{
    color: silver;
}
span.brouillon{
    color: orange;
    font-weight: bold;
}
span.termine{
    color: rgb(0, 140, 255);
    font-weight: bold;
}
span.valide{
    color: green;
    font-weight: bold;
}
span.exporte{
    color: red;
    font-weight: bold;
}
