a:hover {
    text-decoration: none;
    cursor: pointer;
}
#header {
    padding:0 15px;
    height:50px;
    width:100%;
    background:#092d2b;
    display: flex;
    align-items: center; 
   
}
.header {
    z-index: 2;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
}

#header .logo {
    color:#fff;
    font-size:16px;
} 
.h-select {
    background:#030e0d;
    color:#eee;
    padding:5px 10px;
    border-radius: 6px;
    margin-left:8px;
}
.h-select i {
    font-size:10px;
    margin-left: 3px;
}
.btn-function {
    position:relative
}
.header_message_qty {
    position:absolute;
    background: #d2082f;
    color:#092d2b;
    top:-8px;
    right:-8px;
    display: block;
    padding:0 5px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}
.function {
    flex:1;
    text-align: right;
}
.function i {margin:0 3px}
.btn-absence {
    background:#d2082f;
    border:1px solid #d2082f;
    box-shadow: none;
    height:30px;
    border-radius:4px; 
    margin-left:8px;
    padding:5px 10px;
    color:#fff;
}
.btn-absence:hover {
    border:1px solid #000;
    color:#092d2b;
}


.header_message_qty {
    display: none;
}
.btn-account {
    background:#eee;
    border:1px solid #eee;
    box-shadow: none;
    height:30px;
    border-radius:4px; 
    margin-left:8px; 
    padding:5px 10px;
     color:#092d2b;
}

.content-windows {
    width: 100%;
    height:100vh;
    padding-top:50px;
    position: relative;
}


body {
    font-family: Arial, sans-serif;
  }
  .calendar {
      width:500px;
      height:100%;
      overflow:scroll;
      
  }
  .month {
    margin-bottom: 20px;
  }
  .month-title {
      grid-column: 1 / 8;
  }
  .month-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
  }
  .days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
  }
  .day {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .m-tr {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    transition: 500ms;
    text-align:center
  }
  .m-week {
      background:#ccc;
      overflow: hidden;
  }
  .m-td {
      text-align:right;
      padding:5px 8px;
      position:relative;
  }
  
  .m-list .m-td {
      text-align:left;
      padding:5px 8px
  }
  .m-list .m-tr{
      grid-template-columns: repeat(1, 1fr);
      transition: 500ms;

  }
  .m-month, .m-week-name {
      display:none;
  }
  .m-list .m-week{
      display:none;
     
  }
  .m-list .m-month{
      display:contents
  }
  .m-list .m-week-name{
      display:contents
  }
  .past-date {
      background:#eee
  }
  #note {
      height:100vh;
      width:100%;
      overflow:scroll
  }
  #calendar-list {
      padding:0 10px
  }
  .m-grid .m-td:hover {
      background:#092d2b;
      color:#fff;
      cursor:pointer;
  }
  .m-grid .s-info {
      display:none;

  }
  .m-grid .m-process {
      text-indent:-99999em;
      position:absolute;
      width:4px;height:4px;
      background:#f00;
      display:block;
      overflow:hidden;
      bottom:10px;left:10px;

  }
  .m-grid .btn-process {
     display:none;

  }
  .m-list .m-shedule{
      display:flex;
      position: relative;
      padding:5px 10px;
      margin-top:5px;
  }
  .m-shedule {
      background:#eee;
      position:relative;
  }
  .m-list .type_1 {
      background:#fff;
      position:absolute;
      height:100%;
      width:2px;
      display:block;
      left:-5px;top:0;
  }
  .day_absence{
      background: #ff5b72;
  }
  #calendar-list .day_absence.highlight-today {
    border-left:8px solid  #ff5b72;
    border-right:8px solid  #ff5b72;
  }
  .m-grid .day_absence{
      box-sizing: border-box;
      border: 1px solid #ff5b72;
  }
  .day_absence  .m-process  {
    animation-name: respire;
    animation-duration: 0.7s;
    animation-iteration-count: infinite;
    background:#fff;
  }
  .highlight-today  .m-process  {
    background:#f00;
  }
  .s-content {}


  table {
    border-collapse: collapse;
    margin-bottom: 20px;
}
td, th {
    border: 1px solid black;
    padding: 8px;
    text-align: center;
}
.month-title {
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    margin-top:10px;
    background:#eee;
}
#calendar .highlight-today .m-day {
    background-color: #FFFFCC; /* Yellow */
    border-radius: 10px;
    padding:2px;
}
#calendar .highlight-today:hover .m-day{
    background: #666 !important;
}

#calendar-list .highlight-today{
    background:#FFFFCC; /* Yellow */
}


.h-select {
    position:relative;
}
.h-option {
    position:absolute;
    background: #222;
    left:0;
    width:200px;
}

.h-select select {
   border:none;
   background: none;
   appearance: none;
   
}

.content-c {
    display: flex;
    height:calc(100vh - 50px);
    overflow: hidden;
    margin-top:50px;
}
#note .btn-close{
    display: none;
}
#note .m-vide {
    display: none;
}
.s-warning {
    background: #FFFFCC;
    padding:5px 10px;
    border-radius:4px;
}
.s-true {
    background: #13ad4e;
    padding:5px 10px;
    border-radius:4px;
}
.s-false {
    background: #f23939;
    padding:5px 10px;
    border-radius:4px;
}
.s-info {
    flex:1;
}
.s-detail {
    margin-top:10px
}
#calendar .s-detail {
   display: none;
}
#groupe_list{
    margin: 0;
    padding: 0px;
}
#groupe_list li{
    margin-top:10px;
    list-style: none;
    padding:15px;
    border:1px solid #eee;
    display: flex;

}
.message_qty {
    background:#f23939;
    color:#fff;
    line-height: 18px !important;
    padding:0px 5px;
    height: 18px;
    line-height: 18px;
    margin-left: 5px;
    border-radius:10px;
}
.historique_list {
    padding:0;
}
.historique_list li {
    padding:5px;
    display: flex;
}
.historique_list li div:last-child {
    text-align: right;
}

.historique_list li:nth-child(2n){
    background: #eee;
}
.historique_list li div {
    flex:1
}
.status-0 , .status-1 , .status-2 {
    background:#eee;
    padding:2px 5px;
    border-radius: 4px;
}
.status-0  {
    background: #fff5a7;;
    color:#092d2b
}
.status-1  {
    background:#092d2b;
    color:#fff
}
.status-2  {
    background:#d2082f;
    color:#fff
}
.nothing {
    text-align:center;
    background:#eee;
    padding:2px 5px;
    border-radius: 4px;
}
.jour-absence {
    background:#eee;
    padding:2px 5px;
    border-radius: 4px;
}
.message_list {
    padding:0;
    list-style: none;
}
.message_list li {
    padding:10px;
    background: #eee;
    border-radius:4px;
    position:relative;
    margin-bottom: 10px;
}
.bold {
    font-weight: bold;
}
.btn-white {
    background:#fff;
    border:1px solid #fff;
    box-shadow: none;
    height:30px;
    border-radius:4px; 
    padding:5px 10px;
    color:#000;
}
.btn-white:hover {
    border:1px solid #000;
    color:#000;
}
.message_f {
    text-align: right;
}
.message_time {
    position: absolute;
    color:#999;
    bottom:10px;
    left:10px;
}
.btn-red {
    background:#d2082f;
    border:1px solid #d2082f;
    box-shadow: none;
    height:30px;
    margin-left: 10px;
    border-radius:4px; 
    padding:5px 10px;
    color:#fff;
}
.btn-red:hover {
    border:1px solid #710017;
    color:#092d2b;
}
.panel-absence {
    min-width:500px
}

.panel-container {
    padding: 15px;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }

  .panel-box {
    min-width: 500px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

 

@media (max-width: 767.98px) {
   
    .calendar {
        width:100%;
        padding:0 15px
    }
    #header{
        height: 80px;
        flex-wrap:wrap;
        padding:10px 15px;
        align-items:start;
    }
    
    .content-c {
        height:calc(100vh - 80px);
        margin-top:80px;
    }
    #account-home #header{
        height: 50px;
    }
    #account-home .content-c {
        height:calc(100vh - 50px);
        margin-top:50px;
    }
    .function span {
        display:none;
    }
    .logo {
        flex-basis:50%
    }
    .function {
        flex-basis:50%
    }
    .h-select {
        order:3;
        margin-left:0;
        margin-right:8px
    }
    #note {
        display: none;
    }
    #note .btn-close{
        display:block;
    }
    .open {
        display: block !important;
        position:absolute;
        left:0;
        background: #fff;
    }
    .btn-close {
        
        position:fixed;
        right:10px;top:90px;
        height:40px;
        width:40px;
        z-index:3;
        border:none;
        background:rgba(0, 0, 0,0.5);
        text-indent: -9999em;
    }
    .btn-close:before {content: ''; position: absolute;width: 30px;height: 2px;background: #092d2b;top:19px;left: 6px;transform: rotate(45deg);}
    .btn-close:after {content: ''; position: absolute;width: 30px;height: 2px;background: #092d2b;top:19px;left: 6px;transform: rotate(-45deg);}


}
@media (max-width: 515px) {
    .panel-box {
        min-width: 100%;
        background-color: #fff;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
      }
}

/*login css*/
.login {
 padding: 15px;
 height: 100vh;
 overflow: scroll;
}
.login  .logo {
    text-align: center;
    font-size: 35px;
    font-weight: bold;
    color:#092d2b;
}
.login-header {
    height:150px;
    display: flex;
    display: flex; 
    align-items: center; 
    justify-content: center; 

}
.login_content {
    background:rgb(255, 255, 255);
    padding:15px;
    border-radius:8px;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom:100px;
}
.btn-black-primary {
    background:#092d2b;
    color:#fff;
    width:100%;
}
.btn-black-primary:hover {
    background:#03100f;
    color:#fff;
    width:100%;
}
.btn-black-primary:active {
    background:#03100f;
    color:#fff;
    width:100%;
}
.login h1 {
    margin:0;
    padding:10px 15px;
    font-size: 24px;
}
.login-form {
    padding: 0 15px;
}
.signup {
    margin-top:15px;
    text-align: center;
}

.btn-black-primary:disabled,
.btn-black-primary[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
.error {
    display: none;
    color:#f00
}
.show {
    display: block;
}
.list-user {
    list-style: none;
    padding: 0;
}
.list-user li {
    padding:5px;
    display: flex;
    align-items: center;
}
.list-user li span{
    background:#eee;
    padding:2px 5px;
    border-radius:4px;
}
.list-user li .role_9{
    background:#d2082f;
    color:#fff;
}
.list-user li:nth-child(2n) .role_9{
    background:#d2082f;
    color:#fff;
}
.list_user_info {
    flex:1;
}
.list-user li:nth-child(2n){
    background: #eee;
}
.list-user li:nth-child(2n) span{
    background: #fff;
}

 


@keyframes respire {
    0% {
      opacity:0;
    }
    50% {
        opacity:1;
    }
    100% {
        opacity:0;
    }
  }
  

  .radio-inline {
    margin-right: 10px;
  }

  .radio-inline + .radio-inline {
    margin-top: 0;
    margin-left: 0px;
    margin-right: 10px;
  }
  .user-menu {
    list-style: none;
    padding: 0;
  }