
/** Reset **/

h2, h3, h4, h5, h6 {
    font-weight: normal;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}


/** Chapô **/

#chapo {
    background: rgb(200, 200, 200) url("markets.png") no-repeat 500px 14px;
    min-height: 185px;
    _height: 185px;
    
    border-top: 2px solid white;
}

#chapo .tiret {
    float: left;
    position: relative;
    left: 105px;
    top: 40px;
    width: 35px;
    height: 9px;
    
    background: rgb(159, 193, 73);
}

#chapo .content {
    float: left;
    position: relative;
    left: 120px;
    top: 32px;
}

#chapo h4 {
    margin-bottom: 0.5em;

    font-size: 14pt;
    font-weight: normal;
    color: white;
}

#chapo ul {
    list-style: none;
}

#chapo ul li {
    color: #898a8c;
    font-weight: bold;
}

#chapo ul li a {
    color: #898a8c;
    font-weight: normal;
}


/** Illustration **/

#body {
    position: relative;
}

#body .illustration {
    background: transparent url("illustration.jpg") left top no-repeat;
    
    display: block;
    width: 200px;
    height: 300px;
    
    width: 0px;
    padding: 0 0 0 200px;
    overflow: hidden;
    
    position: absolute;
    top: 80px;
    left: 80px;

    _width: 200px;
    _left: -475px;
}


/** File widget **/

.dts_field_file {
    font-size: 0.9em;
    line-height: 20px;
    margin: 0 1.5em 0 0;
}

.dts_field_file a {
    float: left;
}

.dts_file_isfile a {
    background: transparent url("mimetype_default.png") left 2px no-repeat;
    padding: 0 0 0 20px;
}

.dts_file_mimetype_text a {
    background-image: url("mimetype_text.png");
}

.dts_file_mimetype_image a {
    background-image: url("mimetype_image.png");
}

.dts_file_mimetype_application_pdf a {
    background-image: url("mimetype_pdf.png");
}

.dts_file_mimetype_application_zip a {
    background-image: url("mimetype_zip.png");
}

.dts_file_mimetype_application_msword a,
.dts_file_mimetype_application_vnd_ms_word a  {
    background-image: url("mimetype_word.png");
}

.dts_file_mimetype_application_msexcel a,
.dts_file_mimetype_application_vnd_ms_excel a  {
    background-image: url("mimetype_excel.png");
}

.dts_file_mimetype_application_powerpoint a,
.dts_file_mimetype_application_vnd_ms_powerpoint a  {
    background-image: url("mimetype_powerpoint.png");
}

.dts_field_file .filesize {
    display: none;
}

.dts_file_isfile .filesize {
    display: inline;
    margin: 0 0 0 0.5em;
    color: rgb(192, 192, 192);
}

.dts_file_isfile .filesize:before {
    content: "(";
}

.dts_file_isfile .filesize:after {
    content: ")";
}


/** Market list **/

#list {
    background: rgb(249, 247, 248);

    float: left;
    position: relative;
    left: 350px;
    
    width: 390px;
    min-height: 300px;
    padding: 80px;
    
    _width: 550px;
    _height: 300px;
}

#list h2 {
    font-size: 14pt;
    color: rgb(159, 193, 73);
}

#list .dts_document {
    clear: both;
    float: left;

    width: 100%;
    margin: 5em 0 0 0;
}

#list .dts_field_data_titre {
    font-weight: bold;
    color: rgb(64, 64, 64);
    margin: 0 0 0.8em 0;
}

#list .dts_field_data_description {
    color: rgb(64, 64, 64);
    margin: 0 0 1em 0;
}

#list .dts_field_file {
    float: left;
}

#list .dts_field_file a {
    color: rgb(159, 193, 73);
}

#list .dts_control_open a {
    color: rgb(64, 64, 64);
}

#list .dts_control_delete a {
    background: transparent url("controls.jpg") left top no-repeat;

    display: block;
    width: 20px;
    height: 20px;
    
    width: 0px;
    padding: 0 0 0 20px;
    overflow: hidden;
    
    float: left;
    position: absolute;
    margin: -3px 0 0 -30px;

    _width: 20px;
}

#list .dts_document:hover .dts_control_delete a,
#list .dts_control_delete a:hover {
    background-position: left -19px;
}

#list .dts_control_create a {
    background: transparent url("controls.jpg") -20px top no-repeat;

    display: block;
    height: 20px;
    width: 20px;

    width: 0px;
    padding: 0 0 0 20px;
    overflow: hidden;
    
    clear: both;
    float: left;
    position: relative;
    left: -30px;
    margin: 5em 0 0 0;

    color: silver;
    font-size: 0.8em;

    _width: 20px;
}

#list .dts_control_create a:hover {
    background-position: -20px -19px;

    height: 17px;
    padding: 3px 0 0 30px;
    width: 100%;

    _height: 20px;
}


/** Market item **/

#market {
    background: rgb(249, 247, 248);

    float: left;
    position: relative;
    left: 350px;
    width: 390px;

    padding: 80px;

    _width: 550px;
}

#market h3,
#market h3 textarea {
    font-size: 14pt;
    color: rgb(159, 193, 73);
}

#market h3 textarea {
    width: 100%;
}

#market dl {
    float: left;
    margin: 2em 0 0 0;
}

#market dt {
    clear: both;
    float: left;
    width: 85px;

    border-right: 1px solid #9FC049;
    padding: 0 10px 0 0;
    margin: 2em 0 0 0;

    text-align: right;
    color: #9FC049;

    _width: 95px;
}

#market dd {
    float: left;
    margin: 2em 0 0 -1px;
    width: 285px;

    border-left: 1px solid #9FC049;
    padding: 0 0 0 5px;

    _width: 290px;
}

#market dd textarea {
    width: 100%;
}

#market .dts_field_file a {
    color: rgb(64, 64, 64);
}

#market .dts_field_radio label {
    position: relative;
    left: 0.5em;
}

#market .dts_control_update {
    float: left;
    margin: 5em 0 0 0;
}

#market .updateinfo {
    font-size: 0.8em;
    font-style: italic;
    color: silver;
    position: absolute;
    bottom: 1em;
}


/** Mail form **/

form {
    float: left;
    margin: 1em 3em 0 1em;
    padding: 0 0 0 1em;

    font-size: 0.9em;
    color: rgb(128, 128, 128);

    _width: 90%;
}

#list form {
    border-left: 1px solid #9FC049;    
}

#market form {
    position: relative;
    top: -0.5em;
    left: 7.5em;
    width: 70%;
}

form fieldset {
    padding: 0 0 1em 0;
    border: none;
}

form label {
    padding: 0.5em 0 0.2em 0;
    display: block;
}

form fieldset input,
form fieldset textarea {
    width: 100%;
}

form fieldset input {
    height: 2em;
}

form textarea {
    height: 5em;
}

form input {
    _margin-left: -1em;
}

form fieldset input {
    _margin-left: 0;
}

