﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
input,
select,
textarea {
  max-width: 350px; }

.bg-dark {
  background-color: #222222 !important; }

.bg-nav {
  background-color: #bfb9b9 !important; }

.bg-orange {
  background-color: #EE7B26 !important; }

.bg-green {
    background: #004A7F;
    background: linear-gradient(323deg, #004A7F 0%, #0094FF 100%);
}

body {
  display: flex;
  flex-direction: row;
  height: 100%;
  overflow-y: hidden; }

html {
  height: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden; }

footer {
  text-align: center;
  margin-top: auto;
  width: 100%;
  line-height: 20px;
  color: black;
  padding: 10px 0; }
  footer p {
    margin: 0; }

.page-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-height: 100%;
  background-color: #eee; }

.sidebar {
  z-index: 1031;
  height: 100%;
  width: 220px;
  overflow-x: hidden;
  padding: 5px;
  /* width */
  /* Track */
  /* Handle */ }
  .sidebar a {
    display: block;
    color: white;
    font-size: 14px;
    padding: 0.75rem; }
    .sidebar a.sidebar-a-collapse:after {
      font-family: "Font Awesome 5 Free";
      float: right;
      transition-property: transform;
      transition-duration: 1s;
      content: "\f077";
      font-weight: bold;
      font-size: 1rem;
      transform: rotate(0deg); }
    .sidebar a.sidebar-a-collapse.collapsed:after {
      /*content: "\203A";*/
      transform: rotate(-540deg); }
    .sidebar a:hover:not(.home) {
      text-decoration: none;
      /*background-color: rgba(0,142,21,1);*/
      background-color: rgba(0, 0, 0, 0.3);
      color: white; }
    .sidebar a.active {
      /*color: lightblue !important;*/
      text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7); }
  .sidebar .collapse.show > a {
    transition: padding-left 0.3s;
    padding-left: 2em; }
  .sidebar .sidebar hr {
    display: block;
    margin: 1em 0;
    border-top: 1px solid #080808;
    border-bottom: 1px solid #333333; }
  .sidebar h1, .sidebar h2, .sidebar h3, .sidebar h4 {
    text-align: center;
    color: white; }
  .sidebar::-webkit-scrollbar {
    width: 0px; }
  .sidebar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 10px; }
  .sidebar::-webkit-scrollbar-thumb {
    /*background-color: var(--bg-secondary);*/
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px; }
  @media (max-width: 767px) {
    .sidebar {
      position: absolute;
      left: -220px;
      transition: left 0.3s;
      height: 130%; }
      .sidebar.show {
        left: 0; }
      .sidebar .sidebar h1, .sidebar .sidebar h2, .sidebar .sidebar h3, .sidebar .sidebar h4 {
        text-align: center;
        color: white;
        font-size: 14px; } }

.sidebar-reveal {
  display: none; }

.body-content {
  overflow-y: scroll;
  display: flex;
  flex-direction: column; }

@media (max-width: 767px) {
  .sidebar-reveal {
    display: block;
    position: absolute;
    width: 30px;
    height: 50px;
    border-radius: 0 25px 25px 0;
    top: calc(50vh - 25px);
    left: 0;
    background-color: #333;
    z-index: 1001; }
  .sidebar-back.show {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 998; } }

.dropdown-caretless:before {
  display: none !important; }

.login-container {
  margin: auto;
  background-color: white; }

.nav-icon-label {
  visibility: hidden; }

.badge-notify {
  background: #AA0000;
  position: absolute;
  top: 0;
  right: 1em;
  font-size: 0.6rem;
  padding: 0.15rem;
  border-radius: 50%;
  height: 1.2rem;
  width: 1.2rem;
  text-align: center;
  color: white; }

@media (max-width: 767px) {
  .nav > li > a {
    border-bottom: 1px solid #080808;
    border-top: 1px solid #333333; }
  .nav-icon {
    float: left; }
  .nav-icon-label {
    visibility: visible; }
  .badge-notify {
    float: right;
    position: absolute;
    /*top: -2.5em;
            left: -2.5em;*/ }
  .right-container {
    margin: 0;
    padding: 0; }
  a.dropdown-toggle {
    /*height: 2em;
            width: 100%;*/ } }

/* Carousel */
.carousel-caption p {
  font-size: 20px;
  line-height: 1.4; }

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
  width: 100%; }

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
  /* Hide captions */
  .carousel-caption {
    display: none; } }

/* QR code generator */
#qrCode {
  margin: 15px; }

.short {
  visibility: hidden; }

.drop-shadow {
  -webkit-box-shadow: 0 5px 10px 8px rgba(0, 0, 0, 0.5);
  /*box-shadow: 0 0 5px 2px rgba(0, 0, 0, .5);*/
  box-shadow: 5px 10px 8px #888888; }

.border-left {
  border-left: solid;
  border-width: 1px; }

.well {
  box-shadow: 5px 5px 5px -2px #888888; }

.table {
  box-shadow: 5px 5px 5px -2px #888888; }

/*list gradient*/
.list-gradient {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2) 49%, rgba(0, 0, 0, 0.15) 51%, rgba(0, 0, 0, 0.05));
  background-repeat: repeat-x;
  margin-bottom: 0px;
  margin-top: 0px; }

.qrcode-text-btn {
  display: inline-block;
  height: 128px;
  width: 128px;
  background: url(Images/QR_icon.svg) 50% 50% no-repeat;
  background-size: contain;
  cursor: pointer;
  /*position: absolute;
        right: 0;
        top: 0;*/ }

.qrcode-text-btn > input[type=file] {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  opacity: 0; }




.btn-v2 {
    min-width: 120px;
    height: 32px;
    padding: 0;
    border-radius: 10px;
    outline: none;
    box-shadow: none;
    background-color: transparent !important;
    border: none;
    margin-bottom: 10px;
    font-size: 14px;
    display: inline-block;
    text-align: center;
}
  .btn-v2 div {
    width: 100%;
    height: 100%;
    padding: 0px;
    transition: .13s ease-in-out;
    border-radius: 6px;
    outline: none !important; }
   /* .btn-v2 div p {
      transform: translate3d(0px, -6px, 0px);
      transition: .13s ease-in-out;
      margin: 0;
      padding: 0 6px;
      line-height: 42px; }*/

    .btn-v2 div p {
        transform: translate3d(0px, -8px, 0px);
        transition: -12.87s ease-in-out;
        margin: 5px;
        padding: 0 6px;
        line-height: 43px;
    }

  .btn-v2.btn-danger div {
    box-shadow: inset 0px -4px 0px #ba1323, 0px -4px 0px #dc3545;
    background-color: #dc3545; }
  .btn-v2.btn-sos div {
    box-shadow: inset 0px -4px 0px #7ADD00, 0px -4px 0px #9CFF00;
    background-color: #9CFF00; }
  .btn-v2.btn-warning div {
    box-shadow: inset 0px -4px 0px #dda005, 0px -4px 0px #ffc107;
    background-color: #ffc107; }
  .btn-v2.btn-success div {
    box-shadow: inset 0px -4px 0px #068523, 0px -4px 0px #28a745;
    background-color: #28a745; }
  .btn-v2.btn-primary div {
    box-shadow: inset 0px -4px 0px #0059dd, 0px -4px 0px #007bff;
    background-color: #007bff; }
  .btn-v2.btn-info div {
    box-shadow: inset 0px -4px 0px #058096, 0px -4px 0px #17a2b8;
    background-color: #17a2b8; }
  .btn-v2.btn-siren div {
    box-shadow: inset 0px -4px 0px darkred, 0px -4px 0px red;
    background-color: red;
    animation-name: siren;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    color: white; }
  .btn-v2:active {
    box-shadow: none; }
    .btn-v2:active div {
      box-shadow: none; }
      .btn-v2:active div p {
        transform: translate3d(0px, -2px, 0px); }
  .btn-v2:focus {
    box-shadow: none !important;
    /*outline: none;*/ }

.btn-siren {
  background-color: red;
  animation-name: siren;
  animation-duration: 1s;
  animation-iteration-count: infinite; }

@keyframes siren {
  0% {
    background-color: red;
    box-shadow: inset 0px -4px 0px darkred, 0px -4px 0px red; }
  50% {
    background-color: blue;
    box-shadow: inset 0px -4px 0px darkblue, 0px -4px 0px blue; } }

.input-group-append .btn-v2 > div {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important; }

@media only screen and (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block; }
  table {
    border: 0 !important;
    box-shadow: none !important; }
  tr {
    box-shadow: 5px 5px 5px -2px #888888; }
  thead tr {
    display: none; }
  tr {
    margin: 0 0 1rem 0; }
  td {
    /* Behave  like a "row" */
    border: none;
    position: relative;
    padding-top: 1.5em !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important; }
  td:before {
    content: attr(data-heading);
    /* Now like a table header */
    transition: 0.2s linear;
    display: block;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0.5em;
    /*width: 45%;*/
    padding-right: 10px;
    white-space: nowrap; }
  .table-bordered {
    border: none; } }

.calendar-header {
  display: flex; }

.calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 1fr);
  grid-gap: 0.5em; }

.day-header {
  display: grid;
  text-align: center;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 0.5em; }

.day-header p {
  flex-grow: 1; }

.calendar-body .day {
  display: block;
  position: relative;
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 3px;
  padding-top: 100%; }

.calendar-body .day.today {
  border: 1px solid #007bff; }

.calendar-body .day div {
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding-top: 1.5em;
  font-size: 12px; }

.event {
  display: block;
  width: calc(100% - 1em);
  border: 1px solid black;
  color: black;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  padding: 0.25em;
  margin: 0; }

.event.Action.Green {
  background-color: rgba(35, 136, 35, 0.3) !important;
  border: 1px solid rgba(35, 136, 35, 0.6) !important;
  color: black !important; }

.event.Action.Amber {
  background-color: rgba(255, 191, 0, 0.3) !important;
  border: 1px solid rgba(255, 191, 0, 0.6) !important;
  color: black !important; }

.event.Action.Red {
  background-color: rgba(210, 34, 45, 0.3) !important;
  border: 1px solid rgba(210, 34, 45, 0.6) !important;
  color: black !important; }

.event.Action.Black {
  background-color: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(0, 0, 0, 0.6) !important;
  color: white !important; }

.event.Service {
  background-color: rgba(50, 205, 50, 0.3) !important;
  border: 1px solid rgba(50, 205, 50, 0.6) !important;
  color: black !important; }

.event.Report {
  background-color: rgba(0, 123, 255, 0.3) !important;
  border: 1px solid rgba(0, 123, 255, 0.6) !important;
  color: black !important; }

.event.Custom {
  background-color: rgba(255, 215, 0, 0.3) !important;
  border: 1px solid rgba(255, 215, 0, 0.6) !important;
  color: black !important; }

.event.Contract {
  background-color: rgba(255, 128, 0, 0.3) !important;
  border: 1px solid rgba(255, 128, 0, 0.6) !important;
  color: black !important; }

.event.Routine {
  background-color: rgba(255, 0, 255, 0.3) !important;
  border: 1px solid rgba(255, 0, 255, 0.6) !important;
  color: black !important; }

.calendar-body .day:after {
  position: absolute;
  top: 0;
  left: 3px;
  color: rgba(0, 0, 0, 0.3);
  content: attr(data-date); }

.calendar-body .day.muted {
  background-color: rgba(0, 0, 0, 0.125);
  border: 1px solid rgba(0, 0, 0, 0.3); }

@media (max-width: 768px) {
  .day-header {
    display: none; }
  .calendar-body {
    display: block; }
  .calendar-body .day {
    width: 100%;
    height: 100%;
    min-height: 5em;
    padding: 1em 0.5em; }
  .calendar-body .day.muted {
    display: none; } }

.orderable-item.dragging {
  background-color: lightblue !important; }

.suggestion-container {
  position: absolute;
  min-width: 100px;
  max-width: 280px;
  background-color: white;
  float: left;
  z-index: 1000;
  padding: 2px 0;
  overflow-x: auto;
  border-radius: 5px;
  border: 0.5px solid lightblue; }

.suggestion-container:hover {
  padding: 0; }

.suggestion-item {
  color: black;
  padding: 7px;
  margin: 0; }

.suggestion-item:hover {
  background-color: lightgrey;
  padding: 9px;
  font-weight: bold; }

/*.pagination-container button {
  font-size: 12px;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 3px; }*/

.pagination-container button {
    display: inline-block;
    padding: 2px 6px;
    margin: 0 2px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pagination-container button.selected {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}
    .pagination-container button:hover {
        background-color: #ddd;
    }

.pagination-container button:disabled {
  background-color: rgba(0, 0, 0, 0.3); }

/*.pagination-container button.selected {
  font-size: 14px;
  text-decoration: underline; }*/

.login-block {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
 /* background: linear-gradient(135deg, transparent 30%, rgba(156, 255, 1, 0.32) 100%);*/
  background-size: cover;
  width: 100vw;
  height: 100vh; }
  .login-block .login-body {
    height: 100vh;
    width: 60vw;
    max-width: 400px;
    background-color: white;
    padding: 0 0 0 2em;
    margin: 0 -1em 0 0;
    z-index: 1000; }
  @media (max-width: 992px) {
    .login-block {
      position: inherit; }
      .login-block .login-body {
        height: 100vh;
        width: 100%;
        max-width: 100%;
        background-color: white;
        padding: 2em;
        margin: 0;
        z-index: 1000; } }

.video-back {
  position: fixed;
  left: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%; }

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px; }

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0; }

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s; }

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s; }

input:checked + .slider {
  background-color: #2196F3; }

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3; }

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px); }

/* Rounded sliders */
.slider.round {
  border-radius: 34px; }

.slider.round:before {
  border-radius: 50%; }
