/* global body padding */
body {
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (min-width: 768px) {
  body {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}


/* global spacing overrides */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-top: 0;
}

hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

.container-fluid {
  height: 100%;
}

.navbar-fixed-top,
.navbar-static-top {
  border-bottom: 0;
}

/* IMPORT INFORMATION ALERT FLASH MESSAGE */

.error {
  color: red;
}

.success {
  color: #00AA88;
}

.import-message {
  min-height: 20px !important;
  padding-bottom: 20px !important;
  background-color: #cc0000;
  color: white;
  font-size: 1.5em;
  border-radius: 10px;
  margin-bottom: 30px;
}

/* STATUS INFORMATION WARNING FLASH MESSAGE */
.status-message {
  min-height: 20px !important;
  padding-top: 0;
  padding-bottom: 20px !important;
  color: red;
  font-size: 1.3em;
}

/* FILTERS */
.filters {
  display: flex;
  flex-direction: row;
  margin-top: -10px;
}

.panel-default {
  width: 20%;
  margin-right: 10px;
  margin-top: 0;
  margin-bottom: 0;
  height: 30px;
}

.panel-default a {
  display: block;
}

.panel-title {
  margin-left: 15px;
  margin-top: 5px;
  padding-right: 10px;
}

.panel-title i,
#daterange .fa-chevron-down {
  float: right;
}

.panel-body {
  display: flex;
  flex-direction: column;
  z-index: 100;
  background: #252830;
  border: 1px solid #999;
}

#daterange {
  width: 30%;
  height: 30px;
  margin-top: 0;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding-left: 15px;
  padding-top: 3px;
  font-size: 1.1em;
}

#daterange .fa-chevron-down {
  padding-right: 5px;
  padding-top: 2px;
}

.daterangepicker .input-mini {
  color: #ccc !important;
}

/* FILTER BUTTONS */
.envoyer {
  color: #ffeb7f;
  background-color: transparent;
  border: 2px solid #ffeb7f;
  border-radius: 5px;
  height: 30px;
  margin-top: 0;
  margin-left: 22px;
}

.envoyer:hover {
  color: #252830;
  background: #ffeb7f;
}

.envoyer:active {
  border: none;
  transform: translateY(2px);
}

.envoyer:disabled {
  color: #7a7a7a;
  border-color: #7a7a7a;
}

.envoyer:disabled:hover {
  color: #7a7a7a;
  border-color: #7a7a7a;
  background-color: #252830;
}

#reset {
  color: #afafaf;
  background-color: transparent;
  border: 2px solid #afafaf;
  border-radius: 5px;
  margin-top: 0;
  margin-left: 10px;
  height: 30px;
}

#reset:hover {
  color: #ddd;
}

#reset:focus {
  transform: translateY(2px);
  outline: none;
}

input:focus {
  outline: none;
}

/* TOUT COCHER/DECOCHER */
/* hides the "tout cocher" checkbox */
.checkAllProject,
.checkAllSousProjet,
.checkAllTracker,
.checkAllCriticite {
  position: absolute;
  left: -9999px;
}

.checkAllProject+label,
.checkAllSousProjet+label
.checkAllTracker+label,
.checkAllCriticite+label {
  color: #ffeb7f;
  margin-left: -20px;
  font-size: 1em;
}

.checkAllProject+label:hover,
.checkAllSousProjet+label:hover,
.checkAllTracker+label:hover,
.checkAllCriticite+label:hover {
  font-weight: 800;
  color: #fff3b2;
}

.checkAllProject:checked+label span.cocher,
.checkAllSousProjet:checked+label span.cocher,
.checkAllTracker:checked+label span.cocher,
.checkAllCriticite:checked+label span.cocher {
  display: none;
}

.checkAllProject:checked+label span.decocher,
.checkAllSousProjet:checked+label span.decocher,
.checkAllTracker:checked+label span.decocher,
.checkAllCriticite:checked+label span.decocher {
  display: inline;
}

.checkAllProject~label span.decocher,
.checkAllSousProjet~label span.decocher,
.checkAllTracker~label span.decocher,
.checkAllCriticite~label span.decocher {
  display: none;
}

/* Displays activated filters */
.filterZone {
  display: flex;
  flex-direction: row;
  margin: 1em 0em;
}

.filterZone span {
  color: #999;
}

.activatedProject,
.activatedSousProjet,
.activatedTracker,
.activatedCriticite {
  background: #252830;
  max-width: 35%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 10px;
}

.activatedProject,
.activatedSousProjet,
.activatedProject span,
.activatedSousProjet span,
.plage {
  color: #fffbe5 !important;
}

.activatedTracker,
.activatedTracker span,
.poids {
  color: #fff3b2;
}

.activatedCriticite,
.activatedCriticite span,
.param {
  color: #ffeb7f;
}


.activatedProject:hover {
  max-width: 300%;
}

.activatedProject:hover+.activatedTracker {
  display: none;
}

.activatedProject:hover~.activatedCriticite {
  display: none;
}

.activatedSousProjet:hover {
  max-width: 300%;
}

.activatedSousProjet:hover+.activatedTracker {
  display: none;
}

.activatedSousProjet:hover~.activatedCriticite {
  display: none;
}

.activatedTracker:hover {
  max-width: 300%;
  white-space: normal;
}

.activatedTracker:hover+.activatedCriticite {
  display: none;
}

.dashhead-title {
  margin-top: 10px;
}

.nav-separator {
  border-left: 1px dotted rgba(53, 57, 69, 0.9);
}

.total-matches {
  float: right;
  text-align: center;
  font-size: 14px;
  margin: 1ex;
}

/* CHART */
.chart {
  width: 100%;
  height: 100%;
}

/* EDIT PROJECT PARAMS */
.to-complete {
  color: red;
}

#tabParam li {
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 1.2em;
}

#tabParam li.btnActive>a {
  background-color: #ddd;
  color: #0f1013;
  font-weight: bold;
}

.fa-trash {
  color: #ddd;
}

.edit {
  color: #1ca8dd;
  border: 1px solid #1a1c22;
  background-color: #1a1c22;
  border-radius: 5px;
  padding: 5px 10px 5px 10px;
}

.edit:hover {
  color: #1a1c22;
  background-color: #1ca8dd;
}

.edit:focus {
  transform: translateY(2px);
  outline: none;
}

.delete {
  color: white;
  border: 1px solid #1a1c22;
  background-color: #1a1c22;
  border-radius: 5px;
  padding: 8px 10px 8px 10px;
  margin-left: 10px;
  text-decoration: none !important;
  font-style: normal !important;
  font-size: 1.2em;
}


.add {
  color: #ffeb7f;
  border: 1px solid #ffeb7f;
  border-radius: 5px;
  padding: 5px 10px 5px 10px;
  margin-bottom: 20px;
  margin-top: 10px;
  float: right;
}

.add:hover {
  color: #1a1c22;
  background-color: #ffeb7f;
  text-decoration: none;
}

.edit-content {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
}

.tables-examples {
  margin-left: 100px;
  margin-top: 50px;
}

/* flash messages */
.edit-message {
  z-index: 1000;
  position: absolute;
  background-color: #1a1c22;
  border: 1px solid #1CA8DD;
  padding: 20px;
  font-size: 1.5em;
  border-radius: 5px;
  width: 90%;
  height: auto;
}

.notice {
  color: #1CA8DD;
}

/*warning modal for plage edit */
#warningModalLabel {
  color: red;
}

.modal-body .fa-exclamation-triangle {
  color: red;
  font-size: 2em;
}

.modal-body .fa-question-circle {
  color: #00AA88;
  font-size: 2em;
}

.modal-body .fa-arrow-right {
  color: #1a1c22;
  font-size: 1.5em;
}

.modal-body span {
  font-size: 1.3em;
}

.wantEdit {
  margin: 10px auto 10px 20px;
  color: red;
  background-color: transparent;
  border: 2px solid red;
  border-radius: 5px;
}

.wantEdit:hover {
  color: white;
  background-color: red;
}

.wantNew,
.wantList {
  float: left;
  margin-left: 6px;
  height: 25px;
  color: #00AA88;
  text-decoration: none;
  border: 2px solid #00AA88;
  border-radius: 5px;
  padding-top: auto;
  padding-left: 5px;
  padding-right: 5px;
}

.wantNew:hover,
.wantList:hover {
  color: white;
  background-color: #00AA88;
  text-decoration: none;
}

.wantEdit:focus,
.wantNew:focus,
.wantList:focus {
  transform: translateY(2px);
  outline: none;
}

.back-list {
  float: right;
  color: #ffeb7f !important;
  text-decoration: none !important;

}

.fa {
  vertical-align: middle;
}

.fa-check {
  font-size: 1.325em;
  color: #00AA88;
}

.fa-times {
  font-size: 1.325em;
  color: #FF0000;
}

.fa-ban {
  font-size: 1.325em;
  color: #9C9C9C;
}

.fa-info-circle,
.fa-question-circle {
  font-size: 1.325em;
  color: #FFFFFF;
}

.poids-edit {
  margin-left: 30px;
  margin-top: 30px;
}

td a.active {
  color: #CFD2DA;
}
td a.active:hover, td a.active:focus {
  color: #FFFFFF;
  text-decoration: none;
}


/* delete confirmation page */
.about-delete {
  margin-bottom: 50px !important;
}

form.transfer-form {
  display: flex;
  align-items: center;
  grid-gap: 20px;
  margin: 0 0 10px 0;
}

.wantDelete {
  background-color: transparent;
  color: red;
  border: 2px solid red;
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 5px;
}

.wantDelete:hover {
  color: white;
  background-color: red;
}

.wantDelete:focus {
  transform: translateY(2px);
  outline: none;
  color: red;
  text-decoration: none;
  background-color: transparent;
}

.wantTransfer {
  background-color: transparent;
  color: darkorange;
  border: 2px solid darkorange;
  border-radius: 5px;
  margin-bottom: 15px;
  padding: 5px;
}

.wantTransfer:hover {
  color: white;
  background-color: darkorange;
}

.wantTransfer:focus {
  transform: translateY(2px);
  outline: none;
  color: red;
  text-decoration: none;
  background-color: transparent;
}

.deleteEdit,
.deleteList {
  color: #00AA88;
  border: 2px solid #00AA88;
  border-radius: 5px;
  padding: 5px;
}

.deleteList {
  margin-left: 10px;
}

.deleteEdit:hover,
.deleteList:hover {
  color: white;
  background-color: #00AA88;
  text-decoration: none;
}

.deleteEdit:focus,
.deleteList:focus {
  transform: translateY(2px);
  outline: none;
  text-decoration: none;
  color: #00AA88;
  background-color: transparent;
}

.delete-alert,
.delete-alert h3 {
  color: red;
}

.delete-alert {
  margin: 30px;
}

/* CRITICITE STATS */
#listBloquant,
#listMajeur {
  display: none;
  margin-top: 50px;
}

.eye,
.eye1 {
  background-color: transparent;
  border: 1px solid #ffeb7f;
  border-radius: 4px;
  font-size: 1.2em;
  color: #ffeb7f;
}

.eyeOpen {
  color: #252830;
  background: #ffeb7f;
}

.eye:hover,
.eye1:hover {
  color: #252830;
  background: #ffeb7f;
}

.eye:active,
.eye1:active {
  border: none;
  transform: translateY(2px);
}

.eye:focus,
.eye1:focus {
  outline: none;
  text-decoration: none;
}

.criticiteStat-filter {
  margin-top: 2px;
  color: #ffeb7f;
  background-color: transparent;
  border: 2px solid #ffeb7f;
  border-radius: 5px;
  height: 30px;
  margin-left: 22px;
}

.criticiteStat-filter:hover {
  color: #252830;
  background: #ffeb7f;
}

.criticiteStat-filter:active {
  border: none;
  transform: translateY(2px);

}

.criticiteStat-filter:focus {
  outline: none;
  text-decoration: none;
}

.link-user-style,
.link-user-style:hover,
.link-user-style:visited,
.link-user-style {
  color: white;
  text-decoration: none;
}

.bloc-button {
  float: right;
  margin-bottom: 20px;
}

/* EXPORT */
.group-btn-export-tickets {
  margin: 1em 0em;
}

.export-moyenne {
  color: #a4ee79;
  background-color: transparent;
  border: 2px solid #a4ee79;
  border-radius: 5px;
  margin: 0.5ex;
}
.export-moyenne-more-columns {
  color: #ee7979;
  border: 2px solid #ee7979;
}
.export-moyenne-all-projects {
  color: #79b9ee;
  border: 2px solid #79b9ee;
}

.tables-for-projects-parameters > .table-responsive {
  display: none;
}

.tables-for-projects-parameters > .table-responsive.tabActive {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.table-status-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.table-status-legend {
  display: flex;
}

.table-status-legend > span {
  margin-right: 20px;
}

.explanation-status-values {
  align-self: flex-start;
}

.explanation-text {
  display: flex;
  grid-gap: 20px;
}

.explanation-text > div > p > span {
  text-decoration: underline;
}

.explanation-text > div > p > b.checked {
  color: green;
}

.explanation-text > div > p > b.unchecked {
  color: red;
}

.explanation-text > div > p > b.unassigned {
  color: darkgray;
}

#import-csv-btn {
  padding: 10px;
  border: 2px solid #1CA8DD;
  border-radius: 5px;
  float: right;
  text-decoration: none;
  color: #1CA8DD;
}

#import-csv-btn:hover {
  background-color: #1CA8DD;
  color: #1a1c22
}