html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.back-to-top {
  cursor: pointer;
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: none;
}

.up-page {
  border-radius: 20px;
  background: rgba(25, 151, 198, .2);
  width: 40px;
  height: 40px;
  padding-left: 13px;
  padding-top: 9px;
  -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.58);
  -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.58);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.58);
}

.up-page:hover {
  background: rgba(240, 137, 52, 0.6);
}

.icon-arrow-bold-up:before {
  color: #FFFFFF;
  font-size: 1em;
}

.icon-arrow-bold-up {
  color: #FFFFFF;
}

.with-top-navbar .row, .marge {
  margin-bottom: 20px;
}

.highlight-marge {
  margin-top: 0;
}

h3 > .tab-title {
  font-size: 12px
}


/*Utilities
------------*/
.padding-20, .table > tbody > tr > td.padding-20 {
  padding-left: 20px
}

.padding-30 {
  padding-left: 30px
}

.padding-40, .table > tbody > tr > td.padding-40 {
  padding-left: 40px
}

.margin-top-20 {
  margin-top: 20px
}

.thumbnail {
  border-color: #434857
}

img.thumbnail {
  border-radius: 8px
}

.m-t, .m-y {
  margin-top: 0px !important;
  margin-bottom: 10px;
}

hr {
  margin-top: 0px;
  margin-bottom: 30px;
  border-top: 1px solid #434857;
}

a.text-default {
  color: #999999
}

.icon-help-with-circle {
  color: #999999;
  font-size: 20px
}

.modal-content {
  overflow: hidden
}

.subtext {
  font-size: 12px;
}


/*Tooltip
---------------------- */

.tooltip .tooltip-inner code {
    background-color: transparent;
    white-space: nowrap;
}

/*Tableaux
---------------------- */
.table {
  border: 1px solid #121317;
}

.table thead {
  background-color: #1A1C22;
  border-bottom: 1px solid #121317;
}

.table tbody tr:nth-child(2n) {
  background-color: #434857;
}

.table tbody tr:hover {
  background-color: #1A1C22;
}

.table > thead > tr > th {
  text-align: center;
  align-self: center;
  border-bottom: none;
}

.line {
  width: 10%;
}

.line.td-horsdelai {
  width: 26%;
}

.taux-retour-line.line.td-horsdelai,
.fiabilite-line.line.td-horsdelai {
  width: 51%;
}

.line.td-company-name,
.line.td-estimated-time {
  width: 15%;
}

th.line.td-horsdelai,
.line:not(.td-horsdelai),
#imports-table-error td,
#imports-table-error th,
#imports-table-success td,
#imports-table-success th {
  text-align: center;
}

.line.td-tracker,
.line.td-criticite,
.line.td-id-ticket {
  width: 8%;
}

.container-fluid {
  padding-top: 64px;
}

div.chart {
  width: 100%;
  min-width: 310px;
  height: 500px;
  max-height: 100%;
  margin: 1.5em auto 3em auto;
  overflow: hidden;
}

.table-full {
  clear: both;
  width: 100%;
}

#ticketsTable > tbody {
  display: block;
  min-height: 320px;
  max-height: calc(100vh - 640px);
  overflow-x: hidden;
  overflow-y: auto;
}

#ticketsTable > thead > tr > th.word-break {
  word-break: break-all;
}

table.table thead tr th,
table.table tbody tr td,
table.table tbody tr th {
  border-top-width: 0;
  border-bottom-width: 0;
  text-align: center;
  width: 96px;
  line-break: normal;
  word-break: break-word;
}

table.table tbody tr td {
  border-left: 1px dashed rgba(53, 57, 69, 0.9);
}

table.table tbody tr td:first-child {
  border-left: 0px dashed rgba(53, 57, 69, 0);
}

#ticketsTable thead tr,
#ticketsTable tbody tr {
  display: flex;
  justify-content: start;
}

#ticketsTable > thead > tr > th.topic-line,
#ticketsTable > tbody > tr > td.topic-line {
  width: 256px;
}

.import-line-success:not(.import-line-message-success) {
  width: 16%;
}

.import-line-success.import-line-message-success {
  width: 20%;
}

.import-line-error:not(.import-line-error-message) {
  width: 15%;
}

.import-line-error.import-line-message-error {
  width: 40%
}

/* DEBUT - Tableau de la page des projets et paramètres */
.table-projects-parameters thead tr th,
.table-projects-parameters tbody tr td {
  width: 10%;
  text-align: center;
}

/* FIN - Tableau de la page des projets et paramètres */

/*Load Ajax
------------*/
.modalLoading {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.6);
  padding-top: 20%;
}

/* Canvas page accueil
----------------------*/
.w-lg {
  position: relative;
}

.canvas-head {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 2rem;
  outline: none;
}

@media screen and (min-width: 300px) {
  .canvas-head {
    font-size: 5rem;
  }

}

.canvas-head > .text-muted {
  color: #999999;
  flex: 1;
}

.canvas-head:hover > .text-muted > i {
  font-size: 7rem;
  color: white;
  transition: all .5s ease-in;
}

.sparkline {
  margin-left: -15px;
  margin-bottom: -15px;
}


.m-b-md > .small-title {
  text-align: center;
  font-size: 20px
}

.p-a {
  padding-bottom: 5px !important;
}

.statcard-desc {
  position: relative;
  display: block;
  display: -webkit-box;
  max-width: 400px;
  height: 125px;
  margin-bottom: 10px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  transition: all .5s ease-in;
}

.statcard-desc-toggle {

  height: auto;
}

.statcard-desc ul {
  padding-left: 1em
}

.statcard-default {
  background: rgba(67, 72, 87, .5);
  color: whitesmoke
}

.statcard-default hr {
  border-top: 1px solid rgba(255, 255, 255, .5);
}

.statcard-default .statcard-desc {
  color: whitesmoke
}


/*Messages flash
-----------------*/
.flash-color-error {
  color: #880000;
  background: #DCA7A7;
}

.flash-color-success {
  color: #2B542C;
  background: #5CB85C;
}

.flash-color-else {
  color: #6F4400;
  background: #D58512;
}

.red-text {
  color: red;
  font-weight: bold;
  text-align: center;
}

/*Repartition par typo
----------------------*/
.table > thead > tr.th-top > th, .table > thead > tr.th-top > th td {
  vertical-align: top;
}

/*Login
--------*/
.modal-header {
  background-color: #434857;
  border-bottom: none;
}

.modal-title {
  text-align: center;
  color: #CFD2DA;
}

.modal-content {
  /*background: url("/bundles/stat/img/gfi.png") no-repeat 88% 90% rgba(60, 60, 72, .6);*/
  background-size: 40%;
  border-radius: 20px;
  overflow: hidden;
}

@media screen and (max-width: 980px) {
  .modal-content {
    background-image: none;
  }
}

.modal-content .btn-primary {
  background-color: #434857;
  border-color: #434857
}

.modal-body {
  padding-bottom: 0;
  min-height: 200px;
}

.modal-body a {
  text-decoration: underline;
  font-style: italic;
  color: #CFD2DA;
}


.navbar-brand {
  padding: 0;
}

svg#logo-inetum {
  max-width: 100%;
  max-height: 100%;
  background-color: #FFFFFF;
  padding: 4px;
}
