/* Définit le style global du BO */

/* global */
html {
    height: 100%;
}
body {
    background-color: #FFF;
    font: 12px Verdana, Geneva, Arial, sans-serif;
    height: 100%;
}
.center {
    text-align: center;
}
.left {
    float: left;
}
.right {
    float: right;
}
.clear {
    clear: both;
}
.bold {
    font-weight: bold;
}
.overflow {
    overflow: hidden;
}
.separator {
    border-bottom: #d5d5d5 solid 1px;
    margin: 10px 0;
}

/* STRUCTURE */
#general {
    min-height: 100%;
    position: relative;
}

#header, #main {
    display: block;
    height: 100%;
    position: relative;
    text-align: center;
}

#header, #main, #footer {
    min-width: 980px;
    width: 100%;
}

.content {
    margin: auto auto;
    text-align: left;
    width: 970px !important;
}

/* header */
#header {
    background-position: top center;
    background-repeat: no-repeat;
}
#header .content {
    height: 140px;
}
#header .content #header-logo {
    margin: 0 0 0 30px;
    width: 260px;
    height: 100px;
}

/* main */
#main {
    padding: 30px 0 235px;
    min-height: 100%;
    position: relative;
}

#main .content {
    /*min-height: 400px;*/
}

/* footer */
#footer {
    background-repeat: repeat-x;
    bottom: 0;
    position: absolute;
}
#footer .content {
    height: 185px !important;
    padding: 20px 0 0 0;
}

/* TABLE */
table {
    border: #d5d5d5 solid 1px;
}
tr {}
th {
    height: 39px;
    font: bold 11px Verdana, Geneva, sans-serif;
    text-align: left;
    padding: 0 10px;
    vertical-align: middle;
    color: #787878;
    border-right: #d5d5d5 solid 1px;
    background: url('/media/images/common/head-background.gif') repeat-x left -1px;
}
td {
    padding: 5px 10px;
    border-bottom: #d5d5d5 solid 1px;
    vertical-align: middle;
}
.horizontal-align {
    text-align: center;
}

.vertical-align {

    float: none;
    margin: 0;
}
.odd {
    background-color: #f2f2f2;
}

/*DIV*/
.encart-head {
    font: bold 11px Verdana, Geneva, sans-serif;
    text-align: left;
    padding: 11px 10px;
    color: #787878;
    border: #d5d5d5 solid 1px;
    background: url('/media/images/common/head-background.gif') repeat-x left -1px;
    margin: 0;
}
.encart-bloc-bkg {
    background-color: #ededed;
    border: #e5e5e5 solid 1px;
    margin: 0 0 10px;
    padding: 10px;
}
.encart-bloc {
    border: #e5e5e5 solid 1px;
    margin: 0 0 10px;
    padding: 10px;
}

/*ACTION*/
/*
NOTE: la classe "button-inline" a été créée pour contrer l'effet du "display: block" sous ie
dans le fichier backoffice/public/media/css/ie.css.
CF. #12790.
*/
.button,
.button-inline {
    color:#555;
    font-size: 10px;
    font-weight: bold;
    margin: 0;
    padding: 5px 2px 5px 20px;
    border: #d9d9d9 solid 1px;
    background: url('/media/images/common/picto/button/actions.gif') no-repeat #f5f5f5;
    border-radius: 2px;
    cursor: pointer;
    height: 1%;
}
.button-nopicto { background-position: -999px -999px; padding: 5px;}
.button-add { background-position: 2px 8px; }
.button-edit { background-position: 2px -33px; }
.button-delete { background-position: 2px -74px; }
.button-start { background-position: 2px -111px; }
.button-save { background-position: 2px -152px; }
.button-stop { background-position: 2px -190px; }
.button-stat { background-position: 2px -233px; }
.button-admin { background-position: 2px -273px; }
.button-view { background-position: 2px -313px; }
.button-archived { background-position: 2px -432px; }
.button:hover,
.button-inline:hover {
    color: #808080;
    border: #b3b3b3 solid 1px;
    text-decoration: none;
}
.action-mini {
    width: 14px;
    height: 19px;
    display: block;
    text-indent: -9999px;
    background-image: url('/media/images/common/picto/button/actions.gif');
    background-repeat: no-repeat;
}
/*PAGE NAV*/
.nav-pages {
    margin: 20px 0 0;
}
.nav-pages a {
    color: #787878;
    background: url('/media/images/common/head-background.gif') repeat-x left -20px;
    border: #D5D5D5 solid 1px;
    border-radius: 2px;
    margin: 0 5px;
    padding: 2px 5px;
}

.nav-actif {
    background: url("/media/images/common/head-background.gif") repeat-x scroll left -20px transparent;
    border: 1px solid #D5D5D5;
    border-radius: 2px 2px 2px 2px;
    color: #787878;
    font-weight: bold;
    margin: 0 5px;
    padding: 2px 5px;
}

.nav-pages a:hover {
    color: #333;
    text-decoration: none;
}

/* USER MESSAGE CSS */
div.user-message {
 margin: 0 0 20px;
 padding: 10px 0 0;
}
div.user-message div {
 font-size: 10px;
 margin: 0 0 5px;
 padding: 3px 3px 3px 25px;
}
div.user-message div.info {
 color: #3885c1;
 border: #e6e6e6 solid 1px;
 background: url('/media/images/common/picto/icon/message/info.png') no-repeat 3px 1px #f1f1f1;
}
div.user-message div.notice {
 color: #1d7d0e;
 border: #d2e6cf solid 1px;
 background: url('/media/images/common/picto/icon/message/notice.png') no-repeat 3px 1px #ddf2da;
}
div.user-message div.error {
 color: #aa0101;
 border: #e6dada solid 1px;
 background: url('/media/images/common/picto/icon/message/error.png') no-repeat 3px 1px #f2e6e6;
}
