/**
 * global.css
 * Mise en forme de la structure générale
 *
 * @cdate 01.02.2011
 * @mdate 01.02.2011
 * @author    Philippe Roser <proser@cap-tic.fr>
 */



/* Global Definition */
body {
    background:url(../img/consultation/bg-body.jpg) repeat top left #f2f1ec;
    font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-size:0.95em;
}
body, html {height:100%;}
#main {
    margin:0 auto 20px;
    width:984px;
}
#wrapper {
    padding:10px; border:2px solid #e23b1d; border-top:none;
    background:url(../img/consultation/bg-header.jpg) repeat-x top left #fff;
}
#content {
    float:right;
    padding:0 0px 0 20px;
    width:715px;
    background:url(../img/separator-vertical.jpg) no-repeat 0 50% #fff;
}
hr {
    clear:both;
    height:3px;
    margin:15px 0; border:none;
    background:url(../img/separator.jpg) no-repeat top center;
}
.clear {
    clear:both;
}
a.btnBack {
    padding:0 0 1px 25px;
    background:url(../img/picto/picto-arrow-back-red.png) no-repeat 0 50%;
}
a.btnBack:hover {
    background-image:url(../img/picto/picto-arrow-back-black.png);
}
a.btnForward {
    padding:0 0 1px 25px;
    background:url(../img/picto/picto-arrow-forward-red.png) no-repeat 0 50%;
}
a.btnForward:hover {
    background-image:url(../img/picto/picto-arrow-forward-black.png);
}
#main a.button {
    margin-top:5px; padding:5px 25px; border:1px solid #aaa; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;
    background-color:#e23b1d; color:#fff;
    font-weight:bold;
    text-decoration:none;
    letter-spacing:0.01em;
}
#main a.button:hover {
    border:1px solid #58585a;
    background-color:#e6e6d2; color:#222;
    cursor:pointer;
}
#content .buttonContainer {margin:15px 0 20px;}

div.alert {
    background-color: red;
    text-align: center;
    color: white;
}
/* End Global Definition */


/* Typography */
a:link {color:#e23b1d; text-decoration:underline;}
a:visited {color:#f3a681; text-decoration:underline;}
a:hover, a:focus {color:#000; text-decoration:none;}
a:active {color:#09f; text-decoration:none;}
h1 {
    color:#E23B1D;
    margin:0 0 20px; border-bottom:3px solid #E6E6D2;
    font-size:1.5em;
}
h2 {
    margin:20px 0 15px;
    font-size:1.3em;
}
h3 {
    font-size:1.1em;
}
h4 {
    font-size:0.9em;
}
h5 {
    font-size:0.8em;
}
#content p {
    margin:0.8em 0;
    font-size:0.85em;
    line-height:1.2em;
}
#content ul {padding-left:20px; list-style-type:disc;}
#content ul ul {list-style-type:circle;}
#content ul li {margin-bottom:5px; font-size:0.85em;}
.error_alert, .form-error, .notice_alert {
    padding:5px;
    background-color:#f00; color:#fff;
    font-weight:bold;
}
.error_alert, .notice_alert { clear:both; }
.notice_alert { background-color:#6ac720; }
/* End Typography */


/* Header */
#headerContainer {
    /* padding:10px; */
    height:230px;
}
#header {
    margin-bottom:10px;
    height:110px; width:960px;
}
/* End Header */


/* Authentification Box */
#authBox {
    float:right;
    /*overflow:auto;*/
    padding:10px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;
    width:200px; min-height:70px;
    background:#f2f1ec;
    font-size:0.8em;
}
#authBox h1 {
    padding-bottom:1px; border-bottom:3px solid #fff;
    font-size:1.0em;
    text-align:right;
}
#authBox form {
    clear:both;
    text-align:center;
}
#authBox form input {
    padding:5px 10px;
}
#authBox #logout {
    float:right;
    margin-top:-5px; margin-bottom:10px;
}
#authBox .button {
    display:block; clear:both;
    margin:0 auto;
    width:120px;
    text-align:center;
}
#authBox #backHome {
    float:left;
    margin:20px 0 0 10px;
    width:auto;
}
/* End AuthBox */


/* Aside */
#aside {
    float:left;
    /*margin-left:10px;*/
    width:205px;
    font-size:0.8em;
}
#aside h1 {margin-top:4px;}
#aside h2 {
    color:#222;
    text-align:right;
    font-size:1.1em;
}
#aside h2 strong {
    display:block;
    color:#E23B1D;
    font-size:2em;
}
#aside ul {
    margin:0; padding:0;
    list-style:none;
}
#aside ul ul ul {
    padding-left:20px;
}
#aside ul.checkbox_list label {
    margin-left:3px;
}
#aside #depts li.highlight {
    background-color:#F2F1EC;
    font-weight:bold;
}
#aside #categories .input {margin-top:0;}
#aside form div {
    margin:10px 0;
}
#aside form .text .input input {
    width:97%;
}
#aside .example {
    color:#aaa;
    font-style:italic; font-size:0.9em; font-weight:normal;
}
#aside form .submit .input {
    float:right;
}
#aside .label .toggleContainer {
    float:right;
    margin-top:-4px;
    color:#E23B1D;
    text-align:right;
    font-weight:normal; font-size:0.85em;
}
#aside .toggleContainer input {margin-top:0;}
#aside .toggleContainer label {
    text-decoration:underline;
}
#aside .toggleContainer label:hover {
    text-decoration:none;
    cursor:pointer;
}
#aside #searchReleaseDatePeriod {margin-left:20px;}
#aside #searchReleaseDatePeriod input {width:100px;}
/* End Aside */


/* Footer */
#footer {
    clear:both;
    margin:10px 0;
    color:#58585a;
    font-size:0.7em;
    text-align:center;
}
/* End Footer */


/* Forms */
#content form .label {
  font-weight:bold;
}
#content form .radio .radio_list {padding:0; list-style:none;}
#content form p, #content form li {font-size:1em;}
#content form {font-size:0.85em;}
#content form ul {padding-left:0;}
form .error_list li {
    display:block;
    margin:2px 0; padding:2px 5px;
    background-color:#f00; color:#fff;
    font-weight:bold;
}
form input[type="submit"] {
    margin-top:5px; padding:5px 25px; border:1px solid #aaa; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;
    background-color:#e23b1d; color:#fff;
    font-weight:bold; font-size:0.9em;
    letter-spacing:0.01em;
}
form input[type="submit"]:hover {
    border:1px solid #58585a;
    background-color:#e6e6d2; color:#222;
    cursor:pointer;
}
/* End forms */


/* Forms for Alerts */
#content #editAlert form p {margin:0;}
#content #editAlert ul {
    margin:0; padding:0;
    list-style:none;
}
#content #editAlert ul li {margin-bottom:0;}
#content #editAlert ul ul ul {
    padding-left:20px;
}
#editAlert ul.checkbox_list label {
    margin-left:3px;
}
#editAlert #deptsAlert .input {
    clear:both;
    overflow:auto;
    margin-top:0; border:1px solid #aaa;
    height:150px;
}
#editAlert #categoriesAlert .input {margin-top:0;}
#editAlert form div {margin:10px 0;}
#editAlert form div.input, #editAlert form div.label {margin:0;}
#editAlert form .text .input input {
    width:32%;
}
#editAlert .example {
    color:#aaa;
    font-style:italic; font-size:0.9em; font-weight:normal;
}
#editAlert form .submit .input {
    float:right;
}
#editAlert .label .toggleContainer {
    float:right;
    margin-top:-4px;
    color:#e23b1d;
    font-weight:normal; font-size:0.85em;
}
#editAlert .toggleContainer input {margin-top:0;}
#editAlert .toggleContainer label {
    text-decoration:underline;
}
#editAlert .toggleContainer label:hover {
    text-decoration:none;
    cursor:pointer;
}
/* End Forms for Alerts */


/* Results */
#main #saveAsAlert {
    float:right;
    margin-top:-5px;
    font-size:0.8em;
}
#searchResults {
    width:100%;
    text-align:center;
    border-collapse:collapse; border-spacing:0;
}
#searchResults th {
    padding-bottom:10px;
    font-size:0.9em;
    text-transform:uppercase;
    line-height:1.2;
}
#searchResults td {
    padding:4px 2px;
    line-height:1.2;
}
#searchResults #dateCol {
    width:65px;
}
#searchResults .line1 {
    background:#f2f1ec;
}
#searchResults .edition, #searchResults .title, #searchResults .ref, #searchResults .releaseRef, #searchResults .internalRef {
    text-align:left;
}
#searchResults td.ref, #searchResults td.releaseRef, #searchResults td.release-date {
    color:#666;
    font-size:0.75em;
    text-align:center;
}
/* Pagination*/
#content p.pager {
    margin:15px 0;
    font-size:0.8em;
    text-align:center;
}
/* End Results */


/* Annonce */
#content p.journal-logo {
    float:left;
    margin:5px 10px 10px 0;
}
#advert {position:relative;}
#previousAlert, #nextAlert {
    position:absolute; top:180px;
    font-size:0.85em;
    line-height:16px;
}
#previousAlert {left:0;}
#nextAlert {
    right:0;
    padding:0 25px 1px 0;
    background-position:100% 50%;
}
#html-advert {
    clear:both;
    width:50%;
    border:1px solid #000;
    padding:5px;
    margin:auto;
}
#html-advert div.title {
    text-align:center;
    text-transform:uppercase;
    font-weight:bold;
    font-size:1.5em;
}
#html-advert div.surtitle {
    text-align:center;
    font-weight:bold;
}
#html-advert div.header {
    text-align:center;
    font-weight:bold;
}
#html-advert div.subtitle {
    font-weight:bold;
    text-align:center;
}
#html-advert hr {
    width:40%; height:2px;
    margin:15px auto; border:1px solid #000;
    background:none;
}
p.pdf a {
    padding-left:30px;
    background:url(../../default/img/pdf.gif) 0 50% no-repeat;
}
/* End Annonce */


/* Login */
#signin form {
    float:left;
    width:47%;
}
#signin form p.label {margin-bottom:0;}
#signin #alreadySubscribe {
    margin-left:15px; margin-bottom:15px; padding-left:15px;
    background:url(../img/consultation/separator-vertical.jpg) no-repeat 0 50% #fff;
}
#signin form .text .input input {
    width:98%;
}
#signin form .submit p {
    margin-top:15px;
    text-align:center;
}
#signin #forgotPassword, #aside #forgotPassword {
    margin:50px 0 15px;
    font-size:0.85em;
    text-align:right;
}
#signin #imprint {
    color:#aaa;
    font-style:italic; font-size:0.75em;
}
/* End login */


/* Register */
#register form {
    margin:15px auto 20px;
    max-width:450px;
}
#register form .text .input input {
    width:98.5%;
}
#register .text, #register .radio{
    clear:both;
    margin-bottom:15px;
}
#register .radio .radio_list {
    height:1em;
}
#register .radio .radio_list li {
    float:left;
    margin-right:10px;
}
#register .postalCode {
    margin-right:10px;
    width:120px;
}
#register .city {width:71%;}
#register .phone {margin-right:10px; width:48.5%;}
#register .lastFloat {margin-right:0;}
#register .postalCode, #register .city, #register .phone {
    float:left; clear:none;
}
#register form .submit .label, #content #editAlert form .submit .label, #content #createAlert form .submit .label {
    float:left;
    margin-top:1.8em;
    width:45%;
    font-size:0.9em; font-weight:normal;
    text-align:right;
}
#register form .submit .submit, #content #editAlert form .submit .submit, #content #createAlert form .submit .submit {
    margin-left:50%;
}
#link-account-box {
    background-color: #FFFFAA;
    border: 1px solid #DDDDAA;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -o-border-radius: 10px;
    -webkit-border-radius: 10px;
    box-shadow: 0 0 5px #DDDDDD;
    margin-bottom: 10px;
    padding: 10px;
}
#link-account-box ul {
    list-style: circle;
    padding-left: 1em !important;
}

/* End register */


/* Password Forgotten */
#passwordForgotten {
    margin:15px 30px;
}
#passwordForgotten div.text input {
    width:99%;
}
/* End Password Forgotten */


/* List of Alerts */
#alerts-table {
    border: 1px solid #DDDDDD;
    background-color: #BBBBBB;
    padding: 1px;
}
#alerts-table th {
    border: 1px solid #DDDDDD;
    padding: 0.2em 1em;
    background-color: #EFEFEF;
}
#alerts-table td {
    border: 1px solid #DDDDDD;
    text-align: center;
    padding: 0.2em 1em;
    background-color: #FFFFFF;
    color: #666666;
}
#alerts-table .actions {
    width:225px;
    padding:0 0 0.5em 0.5em;
}
#alerts-table .button {
    float:left;
    margin-right:3px;
    font-size:0.8em;
}
/* End list Alerts */