/*
  $id$
  Created on Wed Nov 30 15:54:09 CET 2005

  POL stylesheet for screen
*/

@media print {
    .noprint {
        display: none;
    }
}

body {
    color: black;
    background-color: #666;
    font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size: 13px;
    margin: 0;
    text-align: center;
}

form {
    margin: 0;
    padding: 0;
}

#page {
    margin: 5px auto 0 auto;
    position: relative;
    width: 910px;
}

#header {
  text-align: left;
  background: transparent url(../images/head.jpg) no-repeat top left;
  /*border: black solid 1px;
  border-bottom-width: 0px;*/
  padding: 15px 15px 0px 15px;
  color: black;
  height: 45px;
}

#header h1 { display: none; }

#content {
  position: relative;
  background: transparent url(../images/body.jpg) repeat-y top left;
  padding: 0 5px;
  height: 500px;
  text-align: left;
}

#footer {
  background: transparent url(../images/foot.jpg) no-repeat top left;
  text-align: left;
  padding: 0 10px 5px 10px;
  font-size: 10px;
  color: black;
  height: 15px;
}

#logo {
  text-align: left;
  width: auto;
}

#title {
  text-align: left;
  font-size: 18px;
}

#global-nav {
    position: absolute;
    top: 15px;
    right: 15px;
}
#user-name {
  color: #c00;
}

#log-status {
  text-align: right;
  vertical-align: top;
  border: 1px dotted #c00;
}

#nav {
    margin: 0 5px;
    background: #fc020c;
}

#menu {
    text-align: left;
    padding: 3px;
    font-weight: bold;
    font-size: 14px;
    color: #ccc;
    /*border-left: 1px solid black;
    border-right: 1px solid black;*/
}
#menu ul, #menu li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
#menu li {
    display: inline;
}
#menu li a {
    padding: 2px;
    color: #fff;
    text-decoration: none;
    margin: 3px;
}

#menu li a:hover {
    background-color: #fff;
    color: #666;
}

#menu .selected a {
    color: #000;
}

#login-form {
  position: relative;
  text-align: left;
  background-color: #fc020c;
  /*border: black solid 1px;*/
  width: 300px;
  margin: 100px auto 0 auto;
  padding: 10px;
  /* margin: 20px 30% 10% 20%; */
  line-height: 1.5em;
}
#login-form label {
    float: left;
    width: 8em;
    color: white;
    font-weight: bold;
}
#login-form br {
    clear: left;
}

/*#login-form*/ 
.cmd {
    padding-top: 10px;
    text-align: right;
    clear: both;
}
.cmd input { float: none; display: inline; }

#selection-form {
  background-color: #eee;
  padding: 5px 5px 5px 10px;
  margin: 0;
}

.show-date {
  background-color: white;
  padding: 1px 4px 1px 4px;
  cursor:default;
  border:grey solid 1px;
  font-size: 12px;
}

#status-area {
  padding:20px 0 0 10px;
  display: block;
}

#planning-head {
    position: relative;
    overflow: hidden;
    border: 1px solid black;
    border-bottom: 0;
    margin: 5px 5px 0 5px;
    padding: 0;
    background-color: #eee;
    /*height: 61px;*/
}

#articles-header {
  position: relative;
  padding: 0;
  margin: 23px 0 0 0;
  height: 42px;
  width: 200px;
  border-top: 1px solid #ccc;
  text-align: center;
  float: left;
  overflow: hidden;
  font-size: 11px;
}

#cal_content {
    position: relative;
    font-size: 12px;
    overflow: hidden;
    float: left;
    height: 66px;
    background-color: white;
    /*width: 666px;
    border: 1px solid #ccc;*/
    border-left: 1px solid #ccc;
}

/*
#cal_content table { border-collapse collapse; padding: 0; /*table-layout: fixed;* / }
#cal_content td { border-left: 1px solid #f00; }
*/
#cal_content .day, #cal_content .date { width: 15px; text-align: center; font-size: 10px; overflow: hidden; }
#cal_content .month { text-align: center; }
#cal_cursor {
    background: url(../images/cursor.png) repeat;
    border: 1px solid #00c;
    position: absolute;
    top: 50px;
    height: 14px;
    filter: alpha(opacity=50, finishopacity=50, style=1);
}

#planning-display {
    clear: both;
    margin: 0px 5px;
    border: 1px solid black;
    overflow: auto;
    height: 380px;
    position: relative;
    background: #eee;
}
.articles-body {
    clear: left;
    float: left;
    width: 200px;
    font-size: 10px;
    background: #fff;
    border-right: 1px solid #ccc;
}

.article {
  position: relative;
  height: 40px;
  background: transparent;
  overflow: hidden;
  border-bottom: 1px solid silver;
}

#articles-header div,
.articles-body .article div {
    float: left;
    width: 99px;
    height: 13px;
    border-bottom: 1px dotted silver;
    border-right: 1px dotted silver;
    overflow: hidden;
}

#periodes-body {
    float: left;
    width: 666px;
    background: white;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #ccc;
    height: 400px;
}

.periodes-content {
}
#planning {
    position: absolute;
    background: transparent url(../images/planning-bg.png) 16px ;
    width: 6570px;
    /*height: 816px;*/
}

.periode {
    position: absolute;
    overflow: hidden;
    font-size: 12px;
}
.selPeriod { background-color: #cce; }

.nature-F, .nature-S, .nature-R, .nature-O {
    height: 13px;
    overflow: hidden;
    padding: 0 3px;
    border: 1px outset #888;
    margin: 1px 0;
}
.nature-S {
  background-color: #39f;
  color: white;
}
.nature-R {
  background-color: yellow;
}
.nature-O {
  background-color: red;
  color: white;
}
.nature-F {
  background-color: silver;
  height: 36px;
  margin-bottom: 1px;
}

.navig {
    position: relative;
    font-size: 10px;
    float: left;
    overflow: hidden;
    white-space: nowrap;
}

.origine {
    float: right;
    margin: 5px 2px 0 0;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    color: navy;
    background-color: #f60;
    width: 1em;
    height: 1.3em;
}

#periode-detail { background-color: white; text-align: left; font-size: 11px; padding: 5px; }
    #periode-detail span { float: left; width: 6em; line-height: 1.6em;}
    #periode-detail input { font-size: 11px; background-color: #fff; }
    #periode-detail label { float: left; width: 16.9em; padding-left: 5px; line-height: 1.6em;}
    #periode-detail br,
    #periode-detail fieldset { clear: left; margin: 0; padding: 0; }

/**
 * Bons d'échange
 */

/* (Doesn't work in IE, replaced by JS)
table#bons-echange tr:hover {
  cursor: hand;
  cursor: pointer;
  background-color: yellow;
}

#bons-echange table tr#table-header:hover {
  cursor: default;
  background-color: white;
}
*/

#bons-echange table
{
}
#bond-echange .th
{
    text-align: center;
    background-color: #FC020C;
    border: 1px solid white;
    font-size: 90%;
}
#bons-echange td
{
    border: 1px solid #aaa;
    padding: 0.25em;
    font-size: 90%;
}

#bons-echange .col8
{
    text-align: right;
}
/***************************/

table {
    /* Mickael Hartl's suggestion to get rid of cellspacing="0" in tables: */
    border-collapse: collapse;
}

td { position: relative; border-left: 1px solid #ccc; border-top: 1px solid #ccc; vertical-align: top;}

h1 {
    color: #AAA;
    padding: 0px;
    margin: 0px;
    letter-spacing: .1em;
    word-spacing: .05em;
    font-size: 20px;
    font-weight: normal;
}

h2 {
    color: #AAA;
    padding:40px 0px 0px 0px;
    margin: 0px 0px 10px 0px;
    letter-spacing: .1em;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 3px dotted #DDD;
    text-transform: none;
    width: 100%;
    display: block;
}

h3 {
    color: #AAA;
    padding: 15px 0px 0px 0px;
    margin: 0px;
    letter-spacing: .1em;
    font-size: 12px;
    font-weight: bold;
    border-bottom: 2px dotted #DDD;
    text-transform: none;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

h4 {
    color: #AAA;
    padding:10px 0px 0px 0px;
    margin: 0px 0px 5px 0px;
    letter-spacing: .1em;
    font-size: 10px;
    font-weight: normal;
    font-style: italic;
    border-bottom: 1px dotted #DDD;
    text-transform: none;
    width: 100%;
    display: block;
}

dl {
    margin: 0px 0px 10px 0px;
    font-size: 10px;
}

dt {
    font-style: italic;
}

dd {
    margin-left: 20px;
}

.invisible {
    display: none;
}

ul, ol {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

code {
    color: #777;
}

pre {
    color: #777;
    padding: 5px 10px 5px 10px;
    margin: 0px;
    font-size: 10px;
}

blockquote {
    padding: 5px;
    margin: 5px 10px;
    font-size: 11px;
    background-color: #F8F8F8;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    display: block;
}

.left {
    float: left;
}
.right {
    float: right;
}

.pair { background-color: #ffc; }
.impair {}
.current { background-color: #fc020c; color: #fff; }

#debug
{
    background-color: #fff;
    text-align: left;
    margin: 1em;
    white-space: pre;
}

#cmd
{
    text-align: right;
    margin-top: 15px;
    font-size: 80%;
    font-weight: bold;
}
#cmd a
{
    color: #666;
}

#cmd a:hover
{
    color: #fc020c;
}

#status { font-size: 80%; }

div.histo-details { display: none; background-color: #eee; padding: 0.5em;}

/**
 * Historique
 */
table#bons-echange {
}

table#bons-echange th {
}

table#bons-echange tr {
}

/* (Doesn't work in IE, replaced by JS)
table#bons-echange tr:hover {
  cursor: hand;
  cursor: pointer;
  background-color: yellow;
}
*/

table#bons-echange tr#table-header:hover {
  cursor: default;
  background-color: white;
}

table#bons-echange td {
}

.mainScroller { position: relative; height: 430px; overflow: auto; padding-left: 1em; }
