/* FIX BOOTSTRAP */
.d-inline-block {
  display: inline-block;
}

hr {
  border-top: 1px solid #ccc !important;
}

button:focus {outline:0;}

.button-new, .button-del, .button-info, .button-secondary {
  padding: 10px;
  margin: 0 5px;
  border: none;
  border-radius: 5px;
  background-color: #56bc8a;
  color: white;
  box-shadow: 2px 2px 5px gray;
}
.button-del {
  background-color: #f26060;
}
.button-info {
  background-color: #6087f2;
}
.button-secondary {
  background-color: #8e919c;
}

.button-new:disabled {
  box-shadow: initial;
  background-color: #57836f;
}
.button-new:disabled:hover {
  cursor: not-allowed;
}

/* NOTIFICATION */
@keyframes notification-show {
  from {
    top: -100px;
    opacity: 0;
  }
  to {
    top: 0px;
    opacity: 1;
  }
}
@keyframes notification-hide {
  from {
    top: 0px;
    opacity: 1;
  }
  to {
    top: -100px;
    opacity: 0;
  }
}
#notification-bar {
  opacity: 0;
  top: -100px;
  width: 50%;
  left: 25%;
  text-align: center;
  position: fixed;
  font-size: 17px;
  border-radius: 0;
  border: 0;
  box-shadow: 3px 3px 10px grey, -3px 0px 10px grey;
  padding: 15px;
  color: white;
  z-index: 9999;
}
#notification-bar.success {
  background-color: #56bc8a;
}
#notification-bar.error {
  background-color: #bc5656;
}
#notification-bar.notification-show {
  animation: notification-show 1.0s forwards;
  -webkit-animation: notification-show 1.0s forwards;
}
#notification-bar.notification-hide {
  animation: notification-hide 1.0s forwards;
  -webkit-animation: notification-hide 1.0s forwards;
}

/* CSS FOR POPUPS LEFT & RIGHT */
.modal.left .modal-dialog,
.modal.right .modal-dialog {
  position: fixed;
  margin: auto;
  width: 40%;
  height: 100%;
  -webkit-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
  height: 100%;
  overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
  padding: 15px 15px 80px;
}

/*Left*/
.modal.left.fade .modal-dialog{
  left: -320px;
  -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
  -o-transition: opacity 0.3s linear, left 0.3s ease-out;
  transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog{
  left: 0;
}

/*Right*/
.modal.right.fade .modal-dialog {
  right: -320px;
  -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
  -o-transition: opacity 0.3s linear, right 0.3s ease-out;
  transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
  right: 0;
}

.modal-content {
  border-radius: 0 !important;
}

.modal-body {
  padding: 25px !important;
}

/* LOADER */
.loader-container {
  display: inline-block;
  width: 100%;
  text-align: center;
}
.loader {
  display: inline-block;
  width: 40px;
  height: 40px;
  position: relative;
  border: 4px solid #555;
  animation: loader 3s infinite ease;
}

.loader-inner {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  background-color: #555;
  animation: loader-inner 3s infinite ease-in;
}

@keyframes loader {
  0% {
    transform: rotate(0deg);
  }
  
  25% {
    transform: rotate(180deg);
  }
  
  50% {
    transform: rotate(180deg);
  }
  
  75% {
    transform: rotate(360deg);
  }
  
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loader-inner {
  0% {
    height: 0%;
  }
  
  25% {
    height: 0%;
  }
  
  50% {
    height: 100%;
  }
  
  75% {
    height: 100%;
  }
  
  100% {
    height: 0%;
  }
}

/** BUTTON */
.specialButton {
  flex: 1 1 auto;
  margin: 10px;
  padding: 20px 40px;
  border: 1px solid #023b5b;
  color: #023b5b;
  background-color: #dee1e2;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: .3s;
}

.specialButton:hover {
  background-color: #bbb;
  border-radius: 20px;
}

.specialButton:disabled {
  cursor: not-allowed;
}

.specialButton.delete {
  border: 1px solid #a5211a;
  color: #a5211a;
}

/* HOURS FORM */
.option-background-colored {
  font-weight: bold;
}

/* key shortcut */
.control-key {
  background-color: #222;
  padding: 5px 5px;
  /* font-weight: bold; */
}

/* SORTABLE */
#sortable {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
#sortable li {
  padding: 5px 10px;
  background: white;
  margin: 10px 0;
  border-radius: 10px;
  box-shadow: 1px 1px 2px grey;
}
#sortable li:hover {
  cursor: pointer;
}
#sortable li i {
  margin-right: 10px;
}


/* SETTINGS */
.absence-paid {
  margin: 0 20px;
  font-weight: bold;
  cursor: help;
}

/* TEXT NON SELECTIONNABLE */
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/* VUEJS TRANSITION */
.fade-enter-active, .fade-leave-active {
  transition: opacity .4s;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
}

.top-enter-active, .top-leave-active {
  transition: all .4s;
}
.top-enter-to, .top-leave {
  top: 0;
  opacity: 1;
}
.top-enter, .top-leave-to {
  top: -100px !important;
  opacity: 0;
}