﻿a {
  color: #2882d8;
  cursor: pointer;
  text-decoration: none;
}

  a:hover {
    text-decoration: underline;
  }

article {
  background-color: white;
  background: linear-gradient(to top, whitesmoke 0, white 33%);
  box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  padding: 20px;
  margin-bottom: 20px;
}

  article h2 {
    font-size: 15px;
    margin: 0 0 10px 0;
  }

  article.Inline {
    box-sizing: border-box;
    display: inline-block;
    margin: 0 20px 20px 0;
    overflow: hidden;
    vertical-align: text-top;
  }

    article.Inline.Link:hover {
      background: #def2ff;
      cursor: pointer;
    }

  article.TitleVertical {
    margin-left: 15px;
  }

    article.TitleVertical h2 {
      color: #a2a2a2;
      margin: 187px 0 0 -42px;
      position: absolute;
      text-align: right;
      transform: rotate(-90deg);
      transform-origin: top left;
      width: 208px;
    }

body {
  background: #e0ddca url(/Images/background.jpg) no-repeat top left;
  background-size: 100% auto;
  overflow-y: scroll;
}

body, input, select, textarea {
  font: normal 14px "Open Sans", sans-serif;
}

button {
  cursor: pointer;
  padding: 5px 20px;
}

  button > img {
    height: 25px;
    width: 25px;
  }

  button[type=submit][disabled] img {
    -webkit-animation: Rotate360Animation .5s infinite;
  }


  button.Small {
    padding: 4px 8px;
  }

    button.Small > img {
      height: 20px;
      width: 20px;
    }

cite {
  color: #2882d8;
  display: block;
  font-size: 12px;
  font-style: normal;
  margin: 0 0 10px 0;
}

  cite.SysLogs {
    display: block;
    margin-top: 10px;
    text-align: center;
  }

div.Buttons {
  margin-top: 20px;
  text-align: center;
}

div.ButtonsFixed {
  background-color: rgba(0,0,0,0.4);
  bottom: 0;
  left: 0;
  padding: 5px;
  position: fixed;
  text-align: center;
  width: 100%;
}

div.DropMenu div.Container {
  background-color: #def2ff;
  box-shadow: 0 4px 5px rgba(0,0,0,0.2);
  border: 1px solid #cce5f1;
  border-top: 0;
  color: black;
  font-weight: normal;
  max-width: 400px;
  padding: 10px;
  position: absolute;
  z-index: 999;
  margin: 8px 0 0px -7px;
}

  div.DropMenu div.Container h3 {
    color: #0675be;
    font-size: 13px;
    margin: 10px 0 2px 0;
  }

  div.DropMenu div.Container a {
    border-radius: 3px;
    color: black;
    display: block;
    padding: 3px 10px;
    margin-bottom: 5px;
    text-decoration: none;
  }

    div.DropMenu div.Container a:hover {
      background-color: white;
    }

    div.DropMenu div.Container a:last-child {
      margin-bottom: 0;
    }

    div.DropMenu div.Container a i.material-icons {
      color: black;
      vertical-align: middle;
    }

    div.DropMenu div.Container a img {
      height: 24px;
      width: 24px;
      vertical-align: middle;
    }

  div.DropMenu div.Container hr {
    border: 0;
    border-top: 1px solid #f3f8fa;
    border-bottom: 1px solid #c3e1ef;
    height: 0px;
    margin: 10px 0;
  }

div.Flex {
  display: flex;
}

div.Inline {
  box-sizing: border-box;
  display: inline-block;
  overflow: hidden;
  vertical-align: text-top;
  padding-right: 5px;
}

div.ListPresentation {
  position: absolute;
  right: 30px;
  top: 130px;
}

  div.ListPresentation img {
    cursor: pointer;
    height: 25px;
    margin-left: 5px;
    opacity: 0.3;
    width: 25px;
  }

    div.ListPresentation img.On {
      opacity: 1;
    }

div.Progress {
  -webkit-animation-duration: 2s;
  -webkit-animation-name: ProgressAnimation;
  -webkit-animation-iteration-count: infinite;
  background-color: #2882d8;
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  color: white;
  display: inline-block;
  font-size: 12px;
  height: 30px;
  overflow: hidden;
  padding-top: 5px;
  position: absolute;
  text-align: center;
  white-space: nowrap;
  width: 30px;
}

  div.Progress sub {
    vertical-align: baseline;
    font-size: 8px;
  }

div.Switch img {
  cursor: pointer;
  height: 30px;
  opacity: 0.1;
  width: 30px;
}

  div.Switch img.On {
    opacity: 1;
  }

div.Tampon {
  border: 4px solid red;
  color: red;
  font-weight: bold;
  font-size: 65px;
  opacity: 0.15;
  padding: 5px 20px;
  position: absolute;
  transform: rotate(40deg);
  transform-origin: 0 100%;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}

div.ToolTip {
  background-color: rgba(0,0,0,0.8);
  color: white;
  display: none;
  font-size: 13px;
  padding: 10px;
  position: fixed;
  z-index: 999;
}

  div.ToolTip h1 {
    color: #a2cef7;
    font-size: 16px;
    margin: 0 0 5px 0;
  }

div.ui-notification img.Icon {
  float: left;
  height: 40px;
  margin: 0 20px 20px 0;
  opacity: .5;
  width: 40px;
}

div.ui-notification p.Author {
  margin-top: 4px;
  font-size: 13px;
  text-align: right;
}

  div.ui-notification p.Author i.material-icons {
    font-size: 20px;
  }

div.View {
  background-color: #f2f2f2;
  padding: 10px;
}

form.Inline {
  display: inline-block;
  vertical-align: top;
}

h1 {
  font: normal 40px "Open Sans";
  margin: 20px 0 20px 0;
}

header {
  height: 60px;
  padding: 10px 10px 0 10px;
}

  header #SkinLogo {
    top: 20px;
    position: absolute;
  }

  header div#SkinVersion {
    color: white;
    font-size: 10px;
    margin-left: 160px;
    position: absolute;
    top: 76px;
  }

  header div#SkinUser {
    background-color: rgba(0,0,0,0.7);
    color: white;
    font-size: 12px;
    padding: 10px 10px 10px 10px;
    position: absolute;
    right: 10px;
    top: 15px;
    width: 200px;
  }

    header div#SkinUser img {
      float: left;
      height: 45px;
      margin-right: 5px;
      opacity: .3;
      width: 45px;
    }

    header div#SkinUser a {
      color: white;
    }

hr {
  border: 0;
  border-top: 1px solid rgba(0,0,0,.1);
  border-bottom: 1px solid white;
  height: 0px;
}

  hr.Vertical {
    border: 0;
    border-left: 1px solid rgba(0,0,0,.1);
    border-right: 1px solid white;
    display: inline-block;
    height: 35px;
    margin: 0 10px;
    vertical-align: top;
    width: 0;
  }

i.material-icons {
  vertical-align: middle;
}

input:not([type=checkbox]):not([type=color]) {
  background-color: #f1f6fe;
  border: 1px solid #d1d1cc;
  box-sizing: border-box;
  margin-bottom: 2px;
  padding: 5px;
}

input[type=datetime-local] {
  width: 185px;
}

input[type=number] {
  text-align: right;
}

input:not([type=checkbox]):not([type=color])[disabled],
select[disabled],
textarea[disabled],
fieldset[disabled] input:not([type=checkbox]):not([type=color]),
fieldset[disabled] select {
  border: 0;
  background: transparent;
  color: black;
}

img {
  vertical-align: middle;
}

nav.Tabs {
  height: 35px;
  padding-left: 10px;
  margin-left: 220px;
  overflow: hidden;
  white-space: nowrap;
}

  nav.Tabs a {
    box-shadow: -4px 0 2px rgba(0,0,0,0.2);
    background: #787772;
    background: linear-gradient(220deg, transparent 10px, #787772 10px);
    color: #fff;
    display: inline-block;
    font: bold 12px/35px "Open Sans";
    height: 35px;
    padding: 0 20px;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0,0,0,.5);
    user-select: none;
    -webkit-user-select: none;
  }

    nav.Tabs a:hover {
      background: linear-gradient(220deg, transparent 10px, #949491 10px);
      transition: background 0.6s;
    }

    nav.Tabs a.Active {
      background: #fff;
      background: linear-gradient(220deg, transparent 10px, #f2f2f2 10px);
      color: #333;
      text-shadow: none;
    }

    nav.Tabs a img.Icon {
      height: 20px;
      margin-right: 5px;
      width: 20px;
    }

    nav.Tabs a img.Close {
      height: 20px;
      margin-left: 10px;
      width: 20px;
    }

p {
  margin: 0;
}

section {
  border: 0;
  padding: 20px;
}

  section > h1, section > div > h1 {
    color: #2882d8;
    font-size: 30px;
    font-weight: normal;
    margin: 0 0 10px 0;
  }

  section > h2, section > div > h2 {
    color: #afaea8;
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 10px 0;
    text-shadow: 1px 1px 1px white;
  }

  section > h3, section > div > h3 {
    color: #afaea8;
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 10px 0;
  }

  section.Box {
    background-color: #f1e9e9;
    border: 1px solid #e8dfdf;
  }

  section.Inline {
    box-sizing: border-box;
    display: inline-block;
    margin-right: 20px;
    overflow: hidden;
    vertical-align: text-top;
  }

select {
  background-color: #f1f6fe;
  border: 1px solid #d1d1cc;
  padding: 4px;
}

  select option.Red {
    color: red;
  }

span.Truncate {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

sup.Key {
  background-color: #2882d8;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 0px 3px;
}

table {
  border-collapse: collapse;
  empty-cells: show;
}

  table.Liste {
  }

    table.Liste caption {
      background-color: #2882d8;
      color: white;
      font-weight: normal;
      padding: 5px 10px;
      text-align: left;
    }

    table.Liste thead {
      font-weight: bold;
    }

      table.Liste thead tr {
        border-bottom: 1px solid black;
      }

      table.Liste thead td {
        text-align: center;
      }

    table.Liste td {
      padding: 4px 6px;
    }

      table.Liste td.Title {
        background-color: #363b48;
        color: white;
        font-weight: bold;
        padding: 4px 5px;
      }

    table.Liste th {
      background-color: #ebebeb;
      font-weight: normal;
      padding: 4px 5px;
    }

    table.Liste tbody tr {
      border-bottom: 1px solid #d5d5d5;
      vertical-align: top;
    }

      table.Liste tbody tr:nth-child(even) {
        background-color: #f5f5f5;
      }

      table.Liste tbody tr.Link:hover {
        background-color: #def2ff;
        cursor: pointer;
        transition: background-color 0.3s;
      }

    table.Liste td.Nb, table.Liste td.Nombre {
      text-align: right;
      white-space: nowrap;
    }

    table.Liste tbody td.Sorting {
      background: url(/Images/sort-up-down.png) no-repeat center 5px;
      cursor: move;
      width: 17px;
    }

    table.Liste tbody tr.Total td {
      border-top: 1px solid black;
      font-weight: bold;
      padding-bottom: 10px;
    }

    table.Liste tbody td.Pourcent {
      color: #ff7e31;
      font-size: 7pt;
    }

    table.Liste tbody td sup {
      background-color: #ff6f12;
      box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
      color: white;
      float: right;
      font-size: 6pt;
      padding: 1px 3px;
      margin-left: 2px;
    }

    table.Liste tfoot {
      font-weight: bold;
    }

      table.Liste tfoot tr {
        border-top: 1px solid black;
      }

      table.Liste tfoot hr {
        border: 0;
        border-left: 1px solid #d5d5d5;
        color: transparent;
        display: inline-block;
        width: 2px;
        vertical-align: middle;
        height: 20px;
        margin: 0 8px;
      }

  table.Logs {
    font-size: 11px;
  }

    table.Logs tr {
      vertical-align: top;
    }

    table.Logs th {
      border-right: 1px solid white;
      color: #c3e6fe;
      font-weight: normal;
      padding: 0 2px 0 0;
      text-align: left;
      white-space: nowrap;
    }

    table.Logs td {
      padding: 0 0 0 3px;
    }

textarea {
  background-color: #f1f6fe;
  border: 1px solid #d1d1cc;
  box-sizing: border-box;
  padding: 4px;
}

ul {
  padding: 0;
  list-style-position: inside;
  list-style-type: square;
}

  ul.DropDownMenu {
    background-color: white;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin: 5px 0 0 0;
    list-style-type: none;
    padding: 10px;
    position: absolute;
    z-index: 999;
  }

    ul.DropDownMenu > li {
      border-bottom: 1px solid #ededed;
      padding: 8px 20px;
    }

      ul.DropDownMenu > li:last-child {
        border: 0;
      }

      ul.DropDownMenu > li:hover {
        background-color: #def2ff;
        cursor: pointer;
      }

  ul.Form {
    list-style-type: none;
    padding: 0;
  }

    ul.Form > li {
      margin-bottom: 5px;
      min-height: 30px;
    }

      ul.Form > li > label {
        display: inline-block;
        vertical-align: top;
        width: 160px;
      }

        ul.Form > li > label.Required {
          font-weight: bold;
        }

          ul.Form > li > label.Required::after {
            content: '*';
            color: red;
            float: right;
            margin-right: 10px;
          }

    ul.Form.Inline {
      display: inline-block;
      margin: 0 10px 10px 0;
      vertical-align: text-top;
    }

    ul.Form input[type=text], ul.Form input[type=email], ul.Form input[type=number], ul.Form input[type=tel], ul.Form select, ul.Form textarea {
      box-sizing: border-box;
      width: 320px;
    }

    ul.Form > li > p, ul.Form > li > div {
      display: inline-block;
      margin: 0;
    }

    ul.Form.Horizontal > li {
      display: inline-block;
      margin-left: 10px;
      vertical-align: top;
    }

      ul.Form.Horizontal > li > label {
        margin-right: 10px;
        vertical-align: middle;
        width: auto;
      }

    ul.Form.Horizontal input, ul.Form select {
      width: auto;
    }

  ul.ToolBar {
    background-color: #def2ff;
    border: 1px solid #cce5f1;
    font-size: 0;
    list-style: none;
    margin: 0 0px 10px 0px;
    padding: 0;
  }

    ul.ToolBar > li {
      border-left: 1px solid #f3f8fa;
      border-right: 1px solid #c3e1ef;
      display: table-cell;
      font-size: 14px;
      margin: 0px;
      padding: 5px;
      vertical-align: middle;
    }


      ul.ToolBar > li:first-child {
        border-left: 0;
      }

      ul.ToolBar > li:last-child {
        border-right: 0;
      }

      ul.ToolBar > li:hover {
        background-color: #f5f8ff;
      }

      ul.ToolBar > li a {
        color: black;
        display: inline-block;
        padding: 3px 5px;
        text-decoration: none;
      }

      ul.ToolBar > li img {
        height: 20px;
        width: 20px;
      }

      ul.ToolBar > li input[type=text] {
        background-color: white;
      }

      ul.ToolBar > li.Title {
        background-color: #d3d3d3;
        border: 0;
        color: gray;
        font-size: 8pt;
        min-width: 110px;
        text-align: right;
        text-transform: uppercase;
      }

        ul.ToolBar > li.Title:hover {
          background: inherit;
        }

.Blink {
  -webkit-animation: BlinkAnimation 1.5s infinite;
}

@-webkit-keyframes ProgressAnimation {
  0% {
    transform: none;
  }

  20% {
    transform: rotate(360deg);
  }

  70% {
    transform: none;
  }
}

@-webkit-keyframes BlinkAnimation {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes Rotate360Animation {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

.Link {
  cursor: pointer;
}


.flex {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

  .flex .fill {
    flex-grow: 1;
  }

  .flex .right {
    margin-left: auto;
  }
