/*-*- css -*-*/
/*-*- css -*-*/
/* À peu près 1/3 du contenu sur un écran 1024 */
/* Il s'agit d'un contenu comme une carte de visite, un évènement, un
   document, etc. qui contient un titre, une vignette, un listing
   d'information détaillés et peut-être plus */
@font-face {
  font-family: "Old Newspaper Types";
  src: url("OldNewspaperTypes.ttf"); }

body {
  font-family: "Liberation Sans", "Deja Vu Sans", sans-serif;
  color: black;
  background: #D6C996; }

.h, th, h2, h3, h4, h5, h6 {
  color: #615230; }

.h {
  font-family: "Old Newspaper Types";
  font-weight: normal;
  margin-top: 1em;
  margin-bottom: 1ex; }

h1 {
  font-size: 1.4em; }

h2 {
  font-size: 1.3em; }

h3 {
  font-size: 1.25em; }

h4 {
  font-size: 1.2em; }

h5 {
  font-size: 1.15em; }

h6 {
  font-size: 1.1em; }

p {
  text-align: justify;
  margin: 0 0 1ex; }

ul {
  list-style-type: disc; }

a {
  color: #615230;
  text-decoration: none; }
  a:hover, a:visited {
    color: #615230; }
  a:hover {
    text-decoration: underline; }

.development #body {
  background: url("illustrations/travaux.png") 4% top no-repeat;
  background-size: auto 56pt; }

#header {
  background-repeat: no-repeat;
  background-position: 96% center;
  background-size: 80pt auto; }
  #header.suf {
    background-image: url("mouvements/suf.png"); }
  #header.fse {
    background-image: url("mouvements/fse.png"); }
  #header.europa {
    background-image: url("mouvements/europa.png"); }

#document {
  position: relative; }
  #document h1 {
    font-family: "Old Newspaper Types";
    font-weight: normal; }
  #document #flash {
    font-size: 105%;
    background-position: 1em 0.75em; }
    #document #flash .message {
      height: 3em;
      line-height: 3em;
      margin: 0;
      font-weight: bold;
      text-align: center; }
    #document #flash .detail {
      margin: 0; }
  #document.error {
    background-image: url("illustrations/accident.png");
    background-position: center 90%;
    background-repeat: no-repeat;
    background-size: auto 20em;
    padding-bottom: 25em; }
    #document.error.http-404 {
      background-image: url("illustrations/perdu.png"); }
    #document.error.http-403, #document.error.http-401 {
      background-image: url("illustrations/commissaire.png");
      background-size: auto 28em;
      padding-bottom: 30em; }
    #document.error.http-200 {
      background-image: none; }
  #document.maintenance {
    background-image: url("illustrations/froissartage.png");
    background-position: center 90%;
    background-repeat: no-repeat;
    background-size: auto 20em;
    padding-bottom: 25em; }
  #document div.dialog.info > *:first-child, #document div.dialog.warn > *:first-child, #document div.dialog.error > *:first-child {
    padding-left: 48px; }
  #document div.dialog.info {
    color: #3F4C20;
    background-image: url("ui/information.png");
    background-position: 1ex 0.72ex;
    background-repeat: no-repeat; }
  #document div.dialog.warn, #document div.dialog.error {
    color: #550000;
    background-image: url("ui/attention.png");
    background-position: 1em 1em;
    background-repeat: no-repeat; }
    #document div.dialog.warn #aide, #document div.dialog.error #aide {
      font-size: 120%;
      width: 90%;
      margin: 0 auto; }
    #document div.dialog.warn #details, #document div.dialog.error #details {
      display: none; }

.empty {
  text-align: center;
  height: 16em;
  line-height: 16em;
  color: #7f7d73; }
  .empty.image {
    border: 1pt dashed black;
    padding: 1ex;
    margin: 1ex; }

#statique {
  /* style commun pour les pages avec peu de contenu, on utilise réduit
       la largeur et on contre */
  width: 60%;
  max-width: 50em;
  margin: 1em auto; }

.signature {
  text-align: right;
  font-style: italic; }

@media screen {
  /* Masquer la trace par défaut en prod */
  /* BRANCHE */
  /* CONSOLE */
  /* ICÔNES */
  /* Historique */
  /* Glisser-déposer */
  #header > .h {
    font-family: "Old Newspaper Types";
    font-weight: normal;
    text-shadow: 1pt 1pt 2pt rgba(250, 251, 248, 0.75); }
    #header > .h a {
      color: inherit;
      text-decoration: inherit; }
  #document {
    background-color: #FAFBF8;
    border-style: solid;
    border-color: #615230;
    border-radius: 1ex; }
    #document > h1 {
      position: absolute;
      top: 0;
      left: 0;
      font-size: 150%;
      border-radius: 0 0 2em 0;
      padding: 1ex 5em 1ex 1em;
      margin: 0;
      background: #615230;
      color: #FAFBF8; }
      #document > h1 a {
        color: inherit !important; }
    #document div.dialog {
      background: #f6f2e7;
      box-shadow: 2pt 4pt 1ex rgba(4, 4, 4, 0.5);
      border-radius: 1ex; }
      #document div.dialog .h {
        text-align: center;
        margin: 1ex;
        font-size: 140%; }
      #document div.dialog.info {
        background-color: #A0BF6B; }
      #document div.dialog.warn, #document div.dialog.error {
        background-color: #EDDF9A; }
        #document div.dialog.warn.showtrace, #document div.dialog.error.showtrace {
          width: 80%;
          overflow-x: auto; }
          #document div.dialog.warn.showtrace .h, #document div.dialog.error.showtrace .h {
            margin-left: 48px;
            text-align: left; }
          #document div.dialog.warn.showtrace #details, #document div.dialog.error.showtrace #details {
            display: block; }
            #document div.dialog.warn.showtrace #details > .h, #document div.dialog.error.showtrace #details > .h {
              font-size: 1em;
              text-align: right;
              cursor: pointer;
              color: #836e41; }
  body.production #page #document #details > .error {
    display: none; }
  body.production #page #document #details:hover > *, body.production #page #document #details:active > * {
    display: block; }
  #footer {
    color: #FAFBF8;
    background-color: #615230;
    background-image: url('illustrations/tente.png');
    background-position: bottom left;
    background-repeat: no-repeat; }
    #footer .h, #footer .h a {
      font-family: "Old Newspaper Types";
      font-weight: normal;
      color: #D6C996; }
    #footer li {
      padding: 0.5ex 0; }
      #footer li a {
        color: inherit; }
  #admin ul {
    transition: max-height 1s ease-out;
    max-height: 4.5em;
    overflow: hidden; }
    #admin ul li + li + li {
      transition: opacity 0.5s ease-out 0.5s;
      opacity: 0; }
  #admin:hover ul {
    max-height: 30em;
    transition-delay: 0.25s; }
    #admin:hover ul li + li + li {
      opacity: 1;
      transition-delay: 0.25s; }
  #citation p {
    font-size: 140%;
    font-style: italic;
    text-align: left;
    white-space: pre-wrap; }
  #citation .signature {
    font-size: 0.8em;
    font-weight: bold;
    font-style: italic;
    text-align: right; }
  #aside {
    padding-top: 2em;
    padding-bottom: 4em; }
    #aside .section > * + * {
      margin-left: 1ex; }
    #aside .h, #aside li a {
      font-size: 130%; }
    #aside .h {
      font-family: "Old Newspaper Types";
      font-weight: normal;
      text-align: right;
      margin: 0;
      padding: 1ex;
      max-height: 3em;
      color: white;
      background: #615230;
      white-space: nowrap;
      overflow: hidden; }
      #aside .h a {
        color: inherit;
        text-decoration: inherit;
        font-size: inherit; }
    #aside li a {
      padding: 0.5ex 0 0.5ex 2.5em;
      width: 100%; }
    #aside li.current a {
      color: black;
      text-decoration: none;
      font-weight: bold; }
  #aside ul, #footer ul {
    padding-left: 1ex; }
    #aside ul li, #footer ul li {
      list-style-type: none;
      background-repeat: no-repeat;
      background-position: left center;
      background-size: auto 80%;
      line-height: 1.5em; }
      #aside ul li a, #footer ul li a {
        display: inline-block;
        vertical-align: middle; }
        #aside ul li a:hover, #footer ul li a:hover {
          text-shadow: 1pt 1pt 10pt rgba(50, 51, 48, 0.25); }
  #branche {
    font-size: 9pt !important;
    /* branche a un traitement *très* spéciale, on réinitialise tout */ }
    #branche * {
      position: static !important;
      top: 0 !important;
      margin: 0 !important;
      display: inline !important;
      padding: 0 !important;
      background: none !important; }
    #branche .h {
      text-align: left;
      font-size: inherit;
      color: #483005 !important; }
    #branche li + li:before {
      content: "/";
      margin: 0 1ex;
      color: #615230; }
  #console form, #login form {
    margin: 0; }
    #console form .buttonbox, #login form .buttonbox {
      padding: 1ex;
      display: block; }
  #aside #login li + li {
    background-image: url("icones/login.png"); }
  #aside li.unites, #aside li.membres {
    background-image: url("icones/customers.png"); }
  #aside li.activites {
    background-image: url("icones/date.png"); }
  #aside li.photos {
    background-image: url("icones/photography.png"); }
  #aside li.journaux {
    background-image: url("icones/feed.png"); }
  #aside li.documents {
    background-image: url("icones/library.png"); }
  #aside li.liens {
    background-image: url("icones/world.png"); }
  #aside li.rapports, #aside li.livredor, #aside li.citation, #aside li.ecrire {
    background-image: url("icones/pen.png"); }
  #aside li.inscription {
    background-image: url("icones/plus.png"); }
  #aside li.individu, #aside li.fiche {
    background-image: url("icones/user.png"); }
  #aside li.fermer {
    background-image: url("icones/lock.png"); }
  #aside li.prevoir, #aside li.fonder, #aside li.inscrire, #aside li.citation.enregistrer, #aside li.envoyer {
    background-image: url("icones/plus.png"); }
  #aside li.administrer, #aside li.admin {
    background-image: url("icones/settings.png"); }
  #aside li.parametres {
    background-image: url("icones/config.png"); }
  #aside li.editer {
    background-image: url("icones/pencil.png"); }
  #aside li.annuler, #aside li.supprimer, #aside li.desinscrire {
    background-image: url("icones/supprimer.png"); }
  #aside li.archives {
    background-image: url("icones/old-versions.png"); }
  #aside li.rss, #aside li.atom {
    background-image: url("icones/feed.png"); }
  #aside li.vcf {
    background-image: url("icones/my-account.png"); }
  #aside li.ics {
    background-image: url("icones/date.png"); }
  #aside li.csv {
    background-image: url("icones/database.png"); }
  a.adminlink {
    display: inline-block;
    background-color: #D6C996;
    padding: 0.5ex 1em;
    border-radius: 1ex; }
    a.adminlink.critical {
      background-color: #D6968B; }
    a.adminlink.supprimer, a.adminlink.admin, a.adminlink.editer {
      width: 0;
      height: 0;
      overflow: hidden;
      background-repeat: no-repeat;
      background-size: auto 70%;
      background-position: center center;
      padding: 1.75em 1.75em 0 0; }
    a.adminlink.supprimer {
      background-image: url("icones/supprimer.png"); }
    a.adminlink.admin {
      background-image: url("icones/settings.png"); }
    a.adminlink.editer {
      background-image: url("icones/pencil.png"); }
  td a.adminlink {
    font-size: 80%; }
  ul.adminlinks {
    position: absolute;
    top: -0.5ex;
    right: 0;
    margin: 0;
    display: block;
    text-align: right;
    visibility: hidden; }
    ul.adminlinks li {
      display: inline-block;
      margin: 0 0.5ex; }
      ul.adminlinks li a {
        display: inline-block;
        background-color: #D6C996;
        padding: 0.5ex 1em;
        border-radius: 1ex;
        box-shadow: 2pt 4pt 1ex rgba(4, 4, 4, 0.5); }
        ul.adminlinks li a.critical {
          background-color: #D6968B; }
  :hover > ul.adminlinks {
    visibility: visible; }
  .pages.links {
    margin: 1ex;
    text-align: center;
    clear: both; }
    .pages.links li {
      list-style: none;
      margin: 1ex;
      display: inline; }
      .pages.links li.current a {
        color: black;
        text-decoration: none;
        font-weight: bold; }
  #historique.pagelinks {
    clear: both;
    background: #d1d6ca;
    border-radius: 1ex;
    padding: 1ex;
    margin: 5em 3em 3em; }
    #historique.pagelinks .h {
      font-family: "Old Newspaper Types";
      font-weight: normal;
      width: 100%;
      font-size: 1.5ex;
      margin-top: 0; }
    #historique.pagelinks div.section {
      display: inline-block;
      vertical-align: top;
      width: 32.5%;
      min-width: 16em;
      max-width: 22em;
      padding: 1ex 2em;
      margin: 0; }
      #historique.pagelinks div.section .h {
        margin-bottom: 0.5ex; }
    #historique.pagelinks ul {
      display: block;
      margin: 0;
      padding: 0; }
      #historique.pagelinks ul li {
        display: inline-block;
        margin: 0.5ex; }
    #historique.pagelinks a {
      color: inherit !important; }
    #historique.pagelinks .selectionnee a {
      font-weight: bold;
      text-decoration: none;
      color: black; }
  .dojoDndItem {
    cursor: pointer; }
  .dojoDndItemBefore, .dojoDndItemBefore td {
    border-top: 2px solid red; }
  .dojoDndItemAfter, .dojoDndItemAfter td {
    border-bottom: 2px solid red; }
  .dojoDndAvatar {
    -moz-opacity: 0.75;
    opacity: 0.75; } }

@media print {
  html, body {
    font-size: 9pt;
    font-family: serif;
    background: white;
    color: black; }
  body {
    background-repeat: no-repeat;
    background-position: 100% top;
    background-size: 6em 6em; }
    body.suf {
      background-image: url("mouvements/suf.png"); }
    body.fse {
      background-image: url("mouvements/fse.png"); }
    body.europa {
      background-image: url("mouvements/europa.png"); }
  .h, h3, h4, h5, h6 {
    margin-bottom: 0; }
  a {
    color: inherit;
    text-decoration: none; }
  p {
    margin-top: 0; }
  div.dialog {
    font-size: 140%; }
  #footer #about .author {
    font-family: "Old Newspaper Types";
    font-weight: normal;
    font-size: 1.5em;
    color: #615230; } }

