/*
    STYLE
*/

@import "https://fonts.googleapis.com/css2?family=Questrial&display=swap";

body {
  font-family: 'Questrial', sans-serif;
  background: #ffffff;
  padding-top: 125px;
}

p {
  font-family: 'Questrial', sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.7em;
  color: #999;
}

h1, h2, th {
  color: #3d89d1;
}

a,
a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

.navbar {
  /*width: 100% !important;*/
  min-height: 90px;
  padding: 15px 10px;
  background: #ffffff;
  border: none;
  border-radius: 0;
  margin-left: -40px;
  margin-right: -40px;
  /*margin-bottom: 0px;*/
  box-shadow: -10px 15px 10px -15px rgba(0, 0, 0, 0.5);
  z-index: 990;
}

.navbar-btn {
  box-shadow: none;
  outline: none !important;
  border: none;
}

.line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #ddd;
  margin: 40px 0;
}

i,
span {
  display: inline-block;
}

/* Bootstrap */

.btn-outline-primary {
  --bs-btn-border-radius: 0;
  --bs-btn-hover-bg: #3d89d1;
  --bs-btn-hover-border-color: #3d89d1;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
  width: calc(100% - 200px);
  padding: 0px 40px 40px 40px;
  min-height: 100vh;
  transition: all 0.3s;
  position: absolute;
  top: 0;
  right: 0;
}

#content.active {
  width: 90%;
}

/* ---------------------------------------------------
    STATUS
----------------------------------------------------- */
#status .noass {
  background-color: pink;
}
#status .sched {
  background-color: lightgray;
}
#status .arr {
  background-color: #c3e6cb;
}
#status .dep {
  background-color: #b8daff;
}
#status .delai {
  background-color: yellow;
}
#status .overd {
  background-color: red;
}
#status span {
  font-size: small;
  padding: 2px 5px;
}

/* ---------------------------------------------------
    HORAIRE
----------------------------------------------------- */
#horaire table {
  font-size: 12px;
  padding: 5px;
  margin: 5px 5px;
}

#horaire table tbody th {
  font-size: 12px;
}

#horaire table tbody tr .rx_header{
  font-size: x-small;
}
#horaire table tbody tr .rx_row{
  background-color: aliceblue;
  font-size: x-small;
}
#horaire span {
  font-size: small;
  padding: 0px 2px;
  cursor:pointer;
}

#horaire .CON {
  background-color: red;
  color: white;
}
#horaire .CONF{
  background-color: limegreen;
  color:black;
}
#horaire .ATT {
  background-color: yellow;
  color: black;
}
#horaire .CMPL {
  background-color: mediumblue;
  color: white;
}
#horaire .ANL {
  background-color: lightgray;
  color:black;
}
#horaire .NASG {
  background-color: deeppink;
  color: white;
}
#horaire .RET {
  background-color: darkorange;
  color: white;
}
#horaire .ARR {
  background-color: darkgreen;
  color: white;
}

/* ---------------------------------------------------
    DATEPICKER
----------------------------------------------------- */
.date-picker {
  width: 60%;
  font-size: 12px;
}
.datepicker,
.table-condensed {
    width: 220px;
    height: 220px;
    font-size: x-small;
}
.ui-datepicker-calendar tr:hover {
  background-color:#808080;
}

/* ---------------------------------------------------
    TABLE LIST
----------------------------------------------------- */
#tblList {
  color: lightsteelblue ;
}
#tblList .active {
  color: black ;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 991.98px) {
  #sidebar {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
    margin-left: -100px !important;
  }

  #content {
    width: 100%;
  }

  #content.active {
    width: calc(100% - 80px);
  }

  #sidebarCollapse span {
    display: none;
  }

  .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
  }
}


#exTab1 .tab-content {
  color : white;
  background-color: #428bca;
  padding : 5px 15px;
}

#exTab2 h3 {
  color : white;
  background-color: #428bca;
  padding : 5px 15px;
}

/* remove border radius for the tab */

#exTab1 .nav-pills > li > a {
  border-radius: 0;
}

/* change border radius for the tab , apply corners on top*/

#exTab3 .nav-pills > li > a {
  border-radius: 4px 4px 0 0 ;
}

#exTab3 .tab-content {
  color : white;
  background-color: #428bca;
  padding : 5px 15px;
}