﻿:root {
  --backColor: #4a3f3a;
  --backAltColor: #403530;
  --backMenu: #282220;
}

body {
  color: #ffffff;
  font-family: Helvetica;
  font-size: 10pt;
  margin: 0;
  /*background-color: var(--backColor);*/
  background-color: #4a3f3a;
}

div.layout {
  margin: 0;
  width: 100%;
}

.leftPane {
  position: fixed;
  width: 155px;
  top: 0;
  bottom: 0;
  padding: 5px;
  background-color: var(--backMenu);
  border-right: 1px solid #80b91c;
}

header.layout {
  clear: left;
  height: 40px;
  margin-left: 160px;
  overflow: hidden;
}

nav.layout {
  float: left;
  width: 160px;
  padding-left: 5px;
  position: sticky;
  top: 0;
}

section.layout {
  margin-left: 160px;
  overflow: hidden;
  padding: 0.5em 1em;
  min-height: 600px;
}

a {
  color: #80b91c;
}

legend {
  color: #80b91c;
}

/* tables */
table {
  border-collapse: collapse;
}

th.TitreG {
  text-align: left;
}

th.TitreM {
  text-align: center;
}

th.TitreD {
  text-align: right;
}

td.TitreG {
  text-align: left;
}

td.TitreM {
  text-align: center;
}

td.TitreD {
  text-align: right;
}


table.FormView {
  border: 1px solid grey; /* rules */
  border-spacing: 1px; /* cellspacing */
}

  table.FormView th {
    background-color: #282220;
    color: #80b91c;
  }

  table.FormView td {
    border: 1px solid grey; /* rules */
  }

.FormView textarea {
  width: 95%;
}

.GridView {
  border: 1px solid Gray;
  margin-top: 1px;
}

  .GridView td {
    border-color: Gray;
    border-style: solid;
    border-width: 1px;
  }

  .GridView th {
    border-color: Gray;
    border-style: solid;
    border-width: 1px;
  }

  .GridView caption {
    background-color: #282220;
    border-color: Gray;
    border-style: ridge;
    border-width: 1px;
    color: #80B91C;
    font-weight: bold;
  }

  .GridView tr.rowHover:hover {
    background: black;
  }

  .GridView tr.rowHoverAlt {
    background: var(--backAltColor);
  }

    .GridView tr.rowHoverAlt:hover {
      background: black;
    }

/* entête formview */
.hdr-15 {
  background-color: var(--backAltColor);
  width: 15%;
}

.center {
  text-align: center;
}

.header-sortAsc a {
  background: url('../../images/arrow-up_16.png') no-repeat right center;
}

.header-sortDesc a {
  background: url('../../images/arrow-down_16.png') no-repeat right center;
}

th a {
  padding-right: 14px;
}

.GridPager table {
  background-color: #282220;
}

.GridPager td {
  border: none;
}

.GridPager a, .GridPager span {
  display: inline-block;
  width: 26px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.GridPager span {
  background-color: #80B91C;
  color: #000;
  border: none;
  border-radius: 4px;
}

/* divers contrôles */
.LogoTexte {
  color: #80b91c;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.1em;
  text-align: left;
  text-decoration: none;
  vertical-align: middle;
}

.BaseLine {
  color: #918585;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.1em;
  text-align: left;
  text-decoration: none;
}

.Menu {
  border-radius: 2px;
  color: #80b91c;
  text-decoration: none;
  line-height: 1.1em;
}

.MenuDynamic {
  padding: 4px 8px 4px 8px;
  border: 1px solid #646464;
  border-radius: 2px;
  color: #80b91c;
  text-decoration: none;
  line-height: 1.4em;
}

.Trait {
  background-image: url('../../images/trait.gif');
}

.Titre {
  color: #80b91c;
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  line-height: 1.1em;
  text-align: center;
}

/* watermark */
.textboxw {
  font-style: italic;
  color: Gray;
}

/*Modal Popup*/
.modalBackground {
  background-color: Gray;
  filter: alpha(opacity=50);
  opacity: 0.7;
}

.modalPopup {
  background-color: var(--backColor);
  max-height: 95%;
}

.panelConfirm {
  background-color: var(--backColor);
  max-height: 95%;
  padding: 16px;
}


/* calendrier */
.calendrier .ajax__calendar_container {
  border: 1px solid #646464;
  background-color: white;
  color: black;
}

.calendrier .ajax__calendar_today {
  color: black;
  background-color: khaki;
  font-weight: bold;
}

.calendrier .ajax__calendar_active .ajax__calendar_day,
.calendrier .ajax__calendar_active .ajax__calendar_month,
.calendrier .ajax__calendar_active .ajax__calendar_year {
  color: black;
  background-color: #80b91c;
  font-weight: bold;
}

.calendrier table tr td {
  padding: 0;
  margin: 0;
  border-width: 0;
}

/* reportviewer */
.report {
  background-color: #ffffff;
}

.noClear::-ms-clear {
  display: none;
}

.CompletionList {
  list-style: none outside none;
  border: 1px solid buttonshadow;
  cursor: default;
  padding: 0;
  margin: 0;
  z-index: 100002 !important;
  position: absolute;
  height: 80% !important;
  overflow-y: auto;
}

.CompletionListItem {
  background-color: #ffffff;
  color: black;
}

.CompletionListHover {
  background-color: #c4ec80;
}

.HeaderPanel {
  border: 1px inset;
  border-radius: 8px;
  padding: 4px;
}

/* éditeur html */
.ajax__html_editor_extender_texteditor {
  background-color: white;
  color: black;
}

/* boutons */
.btn {
  background-color: #80b91c;
  color: #282220;
  border-style: ridge;
  border-color: grey;
  border-radius: 4px;
  padding: 1px 4px 1px 4px;
  text-decoration: none;
}

.btn-warning {
  background-color: #ff8000;
  color: #282220;
  border-style: ridge;
  border-color: grey;
  border-radius: 4px;
  padding: 1px 4px 1px 4px;
  text-decoration: none;
}

.btn-link {
  color: #80b91c;
  border-radius: 4px;
  padding: 1px 4px 1px 4px;
  text-decoration: none;
}

  .btn-link:hover {
    background-color: #80b91c;
    color: #282220;
  }

.btn-disabled {
  color: white;
  text-decoration: none;
}
