body {
    margin: 0px;
    padding: 0px;
    font-family:"Myriad Pro","Segoe UI",Helvetica,Arial,sans-serif;
    background: #413c3c;
    color: white;
}


/* ADAPTATION OF ELEMENTS */
h1 {
    font-size: 2em;
    font-weight: normal;
    color: #005a9c;
}

h2 {
    font-weight: normal;
    color: #ae3045;
}

h3 {
    font-weight: normal;
    color: #005a9c;
    margin: 0px;
}

h1 img, h2 img, h3 img {
    vertical-align: middle;
}

hr {
    color: #d3d3d3;
    height: 1px;
}

a {
    color: #ae3045;
    text-decoration: none;
}

td {
    color: black;
}

ul {
    list-style-image: url('../images/square.png');;
}


/* MAIN LAYOUT */

.page-pre {
    background: url('../images/bg-left.png'); 
    background-repeat: repeat-y; 
    background-position: top left;
    width: 100%;
    margin: 0px;
    padding: 0px;
    clear: both;
}

.page-pre p.tools {
    margin: 5px 0px 0px 0px;
    opacity: 0.3;
    position: absolute;
    float: left;
    width: 42px;
    text-align: center;
}

.page-pre p.tools:hover {
    opacity: 1;
}

.page-pre p.tools img {
    border: none;
}

.page-post {
    background: url('../images/bg-right.png');
    background-repeat: repeat-y; 
    background-position: top right;
    width: 100%;
    margin: 0px;
    padding: 0px;
    clear: both;
}

.page {
    margin: 0px 44px 0px 45px;
    padding: 0 0 1em 0;
    background: #ffffff;
    min-height: 480px;
    color: black;
}

#sidebar {
    float: left;
    width: 200px;
    padding: 2em 1em 0px 0px;
}
#sidebar h2 a, #sidebar h2, .post-info {
    color: #005a9c;
    margin: 0;
    padding: 0;
}

#sidebar ul {
    padding-left: 0;
    margin-left: 0;
    margin-top: 0;
    list-style-position: inside;
}


.content {
    margin: 0px 20px 0px 20px;
    padding: 0px;
    min-height: 80%;
}

.home {
    margin-top: 2em;
}

#feed {
    float: left;
    vertical-align: middle;
}

#april-logo p {
    position:relative;
    font-size: 10px;
}

#april-logo img, #feed img {
    border: none;
}

.controls {
    padding-top: 2em;
}

.footer {
    background: url('../images/bg-footer.png');
    background-repeat: repeat-x;
    background-position: top;
    padding: 1em 60px 1em 60px;
    margin: 0px;
    color: #ffffff;
    min-height: 4em;
}

.footer a {
    color: #cccccc;
}

.footer a:hover {
    color: #e0691a;
    text-shadow: none;
}

table.logo {
    border: 0;
    margin: 0px;
    padding: 0px;
    width: 100%;
    border-spacing: 0px;
    border-collapse: collapse;    
}

table.logo td {
    margin: 0px;
    padding: 0px;
}

#links {
    background: #413c3c;
    text-align: right;
    z-index: 10;
    -moz-box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
}

#links a {
    font-size: 12px;
    color: #e9dfc6;
    padding-right: 1em;
}

#links a:hover {
    color: white;
    text-shadow: none;
}

.logo {
    padding: 0px;
    margin: 0px;
    border: 0px;
    width: 100%;
    color: white;
    background: url('../images/header-empty.png') #043666;
}

.logo .logo-top {
    padding: 0px;
    margin: 0px;
    border: 0px;
    background: url('../images/header-top.png') #043666;
    background-position: right 0%;
    background-repeat: no-repeat;
    height: 96px;
    vertical-align: middle;
}

.logo-top p {
    padding: 18px 0 18px 18px;
    margin: 0px;
    border: 1px;
    text-align: left;
    vertical-align: middle;
    height: 96px;
    line-height: 30px;
    font-family: verdana, arial, helvetica, sans-serif;
    letter-spacing: -0.5px;
    font-size: 20px;
}

.logo-top p b {
    font-size: 24px;
    font-weight: bold;
}

.logo-top a, .logo-top a:hover {
    color: white;
    text-shadow: #011930 0px 0px 4px;
}

.logo .logo-bottom {
    padding: 0px;
    margin: 0px;
    border: 0px;
    background: url('../images/header-bottom.png');
    background-position: right 0%;
    height: 38px;
}

.left {
    float: left;
    width: 330px;
    margin: 0 0 10px 0;
    position: absolute;
}

.right {
    float: right;
    padding-left: 370px;
    min-height: 420px;
}



/* MENU */
.menu { 
    height: 32px; 
    color: #FFF;
    margin: 0px; 
    padding: 0px; 
    background: url('../images/menu.png') #dedede;
    border-bottom: 1px solid #a3a3a3;
    border-top: 1px solid #a3a3a3;
    line-height: 32px;
    -moz-box-shadow: 0px 3px 4px #dddddd;
}

.menu ul {
    margin: 0px; 
    padding: 0px 20px 0px 0px; 
    list-style : none;
    line-height: 32px;
}

.menu li { 
    margin: 0px; 
    padding: 0 10px 0 10px;
    color: gray;
    float: left; 
    line-height: 32px;
    height: 32px;
}

.menu li.active { 
    color: #fff;
    padding: .5em 10px .5em 10px;
}

.menu li a { 
    color: #404040; 
    background: inherit;
    text-decoration: none;
} 

.menu li a:hover, a:hover { 
    color: #e0691a;
    text-shadow: yellow 0px 0px 2px;
} 

.menu form, .menu p {
    padding: 0 1em 0 1em;
    margin: 0px;
    float: right;
    vertical-align: middle;
    line-height: 32px;
    height: 32px;
}

.menu p img {
    vertical-align: middle;
}

.menu input#search {
    background: #f0f0f0;
    border: 1px solid #d3d3d3;
    width: 120px;
    margin: 0px 10px 0 0;
    padding: 2px 2px 2px 2px;
    color: gray;
    font-size: 1em;
    vertical-align: middle;
}

.menu input#search:focus {
    background: white;
}

.menu input[type=image] {
    background: none;
    border: none;
    width: 16px;
    height: 16px;
    margin-right: 20px;
    vertical-align: middle;
}

.menu-item {
    margin-left: 24px;
}

.sub-menu {
    border: 1px solid gray;
    position: absolute;
    display: none;
    z-index: 1;
    background: white;
    -moz-box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
}

.sub-menu li {
    float: none;
    background: white;
    padding: 0 0 0 24px;
    min-width: 120px;
}

.pre-formatted {
    white-space: pre-wrap;
}

img {
    border: 0px;
}

.button {
    border: 1px solid rgb(181, 197, 212);
    background: rgb(246, 246, 246);
    padding: 6px;
    margin: 0px;
    color: gray;
    vertical-align: middle;
}

.button img {
    vertical-align: middle;
    padding-right: 6px;
}

a.button:hover {
    text-shadow: none;
    -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
}

.map {
    float: left;
}

.map img {
    padding-bottom: 1em;
    border: 0;
}

.zoom {
    float: left;
    position: absolute;
    z-index: 2;
}

.zoom img {
    padding: 4px;
    border: 1px solid #d3d3d3;
}

.legend {
    margin-top: 1em;
    padding-top: .5em;
    border-top: 1px solid #d3d3d3;
    text-align: right;
    vertical-align: middle;
}

.legend a:before {
    content: url('../images/above.png');
    vertical-align: middle;
}

.message {
    background: url('../images/notice.png') lightgreen;
    background-position: 1em 50%;
    background-repeat: no-repeat;
    padding: 1em 1em 1em 3em;
    border: none;
    display: none;
}

.error {
    background: url('../images/error.png')  #fcafaf;
    background-position: 1em 50%;
    background-repeat: no-repeat;
    padding: 1em 1em 1em 3em;
    -moz-box-shadow: 0px 0px 8px #cc0000;
    box-shadow: 0px 0px 8px #cc0000;
}

#notifications {
    line-height: 24px;
    vertical-align: middle;
    height: 24px;
    padding: 0 6px 0 6px;
    margin: 4px;
    color: orange;
    background: #ff6;
    border: 1px solid orange;
    border-radius: 4px;
    -moz-border-radius: 4px;
}

#notifications img  {
    border: 0;
}

#notifications a  {
    color: orange;
}

#notifications a:hover  {
    color: red;
}

.edito {
    clear: both;
    background: #eeeeff;
    padding: 1em;
}

.edito p, .edito h1 {
    margin: 0px;
    padding: 0px;
}

.initiative-thumb p {
    margin: 0px;
}

.initiative-thumb p.pre-formatted {
    padding-top: 1em;
    padding-bottom: 2em;
}

#headlist {
    float: left;
    width: 240px;
    padding: 0 20px 0 0;
    margin: 0px;
}

#headlist ul, #initiative-list ul, #local-authority-list ul {
    margin: 0px;
    padding: 0px 0px 0px 0px;
    list-style: none;
    line-height: normal;
}

#initiative-list ul, #local-authority-list ul {
    padding-left: 1em;
}

#headlist ul li {
    border-top: 1px solid #d3d3d3;
    padding-top: 5px;
    margin-bottom: 1em;
}

#initiative-list ul li, #local-authority-list ul li {
    border-bottom: 1px solid #d3d3d3;
    padding-bottom: 5px;
    margin-top: 1em;
}

#initiative-list ul li:last-child, #local-authority-list ul li:last-child {
    border-bottom: 1px solid white;
}

#local-authority-list ul li {
    margin-left: 1em;
}

#headlist ul li p, #initiative-list ul li p, #local-authority-list ul li p, #initiative-promoted p {
    margin-top: 0;
    line-height: normal;
}

a.classylink, #headlist b a, #initiative-list b a, #local-authority-list b a, #initiative-promoted b a {
    color: #005a9c;
    text-decoration: none;
}

#headlist a, #initiative-list a, #local-authority-list a, #initiative-promoted a {
    color: #ae3045;
    text-decoration: none;
}

#initiative-list h3 a, #local-authority-list h3 a, #initiative-promoted h3 a {
    color: #005a9c;
}

#children {
    float: right;
    margin-top: -3em;
    padding: 1em;
    -moz-box-shadow: 0px 0px 8px #ae3045;
    box-shadow: 0px 0px 8px #ae3045;
    background: white;
    margin-left: 1em;
}

#children h2 {
    text-align: center;
    margin-top: 0;
}

#children ul {
    padding: 0px;
    margin: 0px;
    list-style-position: inside;
}

/* Wizard */
ul.wizard {
    margin: 0 0 1em 1em;
    padding: 0px;
    color: #005a9c;
    float: right;
    -moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
}

.wizard li {
    display: block;
    float: left;
    list-style: none;
    padding: 0px 20px 0px 15px;
    margin: 0px;
    text-align: center;
    vertical-align: middle;
    line-height: 48px;
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
}

.wizard li {
    background: url('../images/wizard-white.png') white;
    background-position: right 50%;
    background-repeat: repeat-y;
    color: gray;
}

.wizard li#before-selected {
    background: url('../images/wizard-selected-white.png') white;
    background-position: right 50%;
    background-repeat: repeat-y;
}

.wizard li#selected {
    background: url('../images/wizard-white-selected.png') #eeeeff;
    font-weight: bold;
    background-position: right 50%;
    background-repeat: repeat-y;
    color: #005a9c;
}

.wizard li:first-child {
    border-left: 1px solid gray;
}

.wizard li#selected:last-child {
    border-right: 1px solid gray;
    background: #eeeeff;
}
.wizard li:last-child {
    border-right: 1px solid gray;
    background: white;
}


/* Form */

.form {
    margin-top: 2em;
}

.form-elements {
    width: 553px;
    float: left;
    margin-right: 2em;
}

.form-explanation {
    float: right;
    width: 300px;
}

.form-explanation img {
    float: left;
    margin: 0 0.5em 0.5em 0;
}

.form-variable {
    padding: 0.5em 0 0.5em 0;
}

.form-error {
    color: #cc0000;
    background: url('../images/warning.png') white;
    background-position: 6px 50%;
    background-repeat: no-repeat;
}

.form-description {
    text-align: right;
    float: left;
    width: 160px;
    border: none;
    padding-right: 12px;
    vertical-align: middle;
    line-height: normal;
}

.form-active .form-description {
    padding-top: 5px;
}

.form-explanation .help-selected {
    background: url('../images/notice.png') white;
    -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
    background-position: 6px 50%;
    background-repeat: no-repeat;
    min-height: 32px;
    padding: 6px 6px 6px 32px;
    margin: 0px;
}

.form-value {
    padding-left: 133px;
}

.form input[type=text], .form input[type=file], .form textarea, .form select {
    width: 320px;
}

input[type=text], .form input[type=file], textarea, select, .submit-button {
    margin: 0px;
    padding: 5px;
    -moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    -moz-border-radius: 4px;
    border: 1px solid #d3d3d3;
    font-size: 1em;
    font-family: "Myriad Pro","Segoe UI",Helvetica,Arial,sans-serif;
    background: white;
}

.form-submit {
    clear: both;
    border-top: 1px solid #d3d3d3;
    padding: 0.5em 0 0 0;
    margin: 2em 0 0 0;
    width: 533px;
    text-align: right
}
.form input[type=submit] {
    text-align: right;
    border: none;
    background: none;
    font-weight: bold;
    padding: 6px;
    margin: 0px;
}


/* Attachements */
#attachements {
    margin-left: 1em;
}

a .attachement {
    margin: 2px;
    border-bottom: 1px solid #dddddd;
}

a:last-child .attachement {
    border-bottom: none;
}

a:hover .attachement {
    -moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
}

.attachement-icone img {
    width: 32px;
    padding: 3px;
    float: left;
    border: 0;
}

.attachement-description {
    margin-left: 38px;
    padding: 5px;
}

.attachement p {
    margin: 0px;
    padding: 0px;
}

.attachement-fichier {
    color: #005a9c;
    font-size: 1.5em;
}

/* STUFF */
.local-authority a {
    color: #ae3045;
    font-size: 1.2em;
    font-weight: bold;
}

#initiative-promoted {
    border-bottom: 1px solid #d3d3d3;
    margin: 0 0 0 260px;
    padding: 0px;
}

#initiative-add {
    padding: 0px;
    margin: 0 0 0 260px;
}

.to-validate {
    background: url('../images/bg-to-validate.png');
}

.admin-info {
    background: #fefedf;
}

.tool-buttons {
    float: right;
    padding: 0px;
    max-width: 300px;
}

.keyword {
    margin: 0px;
}

.keyword b {
    font-weight: bold;
}

p.important {
    -moz-box-shadow: 0px 0px 8px #ae3045;
    box-shadow: 0px 0px 8px #ae3045;
    padding: 1em;
    color: #ae3045;
    text-align: justify;
    font-size: 1.2em;
}


/** Pages */

.initiative-description .pre-formatted {
    padding-left: 1em;
}

.description {
    padding-left: 1em;
}

#copyright-disclaimer {
    float: right;
    width: 320px;
}

form #copyright-disclaimer {
    float: none;
    width: 100%;
}

form .important {
    border: none;
    box-shadow: none;
    -moz-box-shadow: none;
    padding: 0px;
}

.candidat-reponse {
    min-height: 120px;
}

.candidat-reponse img {
    float: left;
}

.candidat-reponse p {
    margin-left: 90px;
    vertical-align: middle;
}

.candidat-reponse .candidat-resume {
    font-weight: bold;
    font-size: 110%;
}

.candidat-reponse p a {
    font-weight: bold;
    vertical-align: middle;
}

.candidat-reponse p.candidat-questionnaire a:before {
    content: url('/images/go-next.png');
    vertical-align: middle;
}


/* Messages */

.erreur, .error {
    padding: 12px;
    padding-left: 36px;
    margin-bottom: 1em;
    background: url(../images/error.png) no-repeat #fcafaf;
    background-position: 6px 50%;
}

.notice {
    padding: 12px;
    padding-left: 36px;
    margin-bottom: 1em;
    background: url(../images/notice.png) no-repeat #affcaf;
    background-position: 6px 50%;
}

.warning {
    padding: 12px;
    padding-left: 36px;
    background: url(../images/warning.png) no-repeat #fce94f;
    background-position: 6px 50%;
}

.notice img {
    vertical-align: middle;
    padding-right: 6px;
    padding-left: 6px;
}


#etiquettes-list ul 
{
    padding: 0px;
    margin: 0px;
    list-style-position: inside;
}

#etiquettes-list td 
{
    padding: 1em;
}

#etiquettes-list h2, #etiquettes-list h3
{
    border-bottom: 1px solid lightgray;
    margin-bottom: 0.5em;
    font-weight: bold;
