.container {
   padding: 0 15px;
   display: flex;
   font-family: 'Poppins', sans-serif;
   color: var(--greyDark);
}

.anomaly {
  color: var(--anomRed);
}

::placeholder {
   opacity: 1;
}

::-webkit-input-placeholder {
    color: var(--greyDark);
}
:-moz-placeholder {
   color: var(--greyDark);
   opacity: 1;
}
::-moz-placeholder {
   color: var(--greyDark);
   opacity: 1;
}
:-ms-input-placeholder {
   color: var(--greyDark);
}

.error-message {
    color: var(--anomRed);
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.authorization-page {
    background: none;
}

.authorization-page-body {
    background: var(--greyLight-3);
    animation: color 9s infinite linear;
}

textarea:focus, input:focus {
    outline: none;
}

.header {
   margin-top: 32px;
   padding-right: 80px;
}

.header__inner {
   width: 100%;
   display: flex;
   margin: 0 2rem;
}

.header__title img {
   width: 100%;
}

.header__search {
   width: 100%;
   position: relative;
   margin: -2rem 3rem 0 0;
   display: flex;
   align-items: center;
}

.header__search .search__input {
   width: 100%;
}

.header__search button {
  background: none;
  border: none;
  width: 8.5rem;
  margin-left: 5rem;
}

.header__search .search {
  width: 100%;
}

.header__btn {
   text-align: center;
}

.header__btn label {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 3.5rem;
   height: 3.5rem;
   box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
   border-radius: 1rem;
   margin: -0.5rem 1rem 0.5rem 1rem;
   cursor: pointer;
}

.header__btn button {
   border: none;
   background: none;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 3rem;
   height: 3rem;
   cursor: pointer;
}

.header__btn input {
   position: absolute;
   opacity: 0;
   width: 0;
   font-size: 0;
}

.header__btn img {
   width: 17px;
   height: 17px;
   filter: invert(80%) sepia(3%) saturate(3372%) hue-rotate(190deg) brightness(86%) contrast(85%);
}

.header__btn p {
  color: var(--greyDark);
  margin-top: 0.2rem;
}

.header__btn label:hover {
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
      inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
      -0.5px -0.5px 0px rgba(255, 255, 255, 1),
      0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.01);
    transform: translateY(2px);
}

.header__btn label:hover {
    transform: scale(0.9);
}

.header__btn label:hover img {
    filter: invert(34%) sepia(88%) saturate(3376%) hue-rotate(234deg) brightness(105%) contrast(103%);
}

.fixed_headers th {
  display: block;
}

.fixed_headers th a {
  text-decoration: none;
}

.fixed_headers th a:visited{
  color: var(--greyDark);
}

.fixed_headers th a:hover p {
  color: var(--primary);
}

.fixed_headers th a:hover img {
  filter: invert(34%) sepia(88%) saturate(3376%) hue-rotate(234deg) brightness(105%) contrast(103%);
}

.fixed_headers th a p {
  color: var(--greyDark);
  display: inline;
}

.header__checkbox {
   display: grid;
   margin: -0.2rem 9rem 0 5rem;
}

.header__checkbox label {
   color: var(--greyDark);
   font-weight: 600;
   margin-top: 0.2rem;
}

.queue-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: var(--transparentGrey);
  font-family: 'Poppins', sans-serif;
}

.queue-modal-content {
  background-color: var(--greyLight-1);
  border: none;
  border-radius: 1rem;
  box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  height: 80vh;
}

.close {
  color: var(--greyDark);
  float: right;
  font-size: 3rem;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
}

.modal-tabs-header {
  box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
  background: none;
  border: none;
  padding: 5px;
  border-radius: 15px;
  color: var(--greyDark);
  position: relative;
  z-index: 1;
  height: 4.8rem;
  width: 93%;
  margin-left: 3.5rem;
}

.modal-tabs {
  position: relative;
  margin: 3rem 0;
  height: 14.75rem;
}

.modal-tabs div:nth-child(1) {
  padding: 0.4rem 0.2rem 0 3.9rem;
}

.modal-tabs div:nth-child(2) {
  padding: 0.4rem 2.2rem 0 0.2rem;
}

.modal-tabs::before,
.modal-tabs::after {
  content: "";
  display: table;
}

.modal-tabs::after {
  clear: both;
}

.modal-tab {
  float: left;
  width: 49%;
  text-align: center;
}

.modal-tab p {
  padding-top: 0.5rem;
}

.tab-switch {
  display: none;
}

.modal-tab-label {
  position: relative;
  display: block;
  background: none;
  border: none;
  color: var(--greyDark);
  height: 4rem;
  padding-top: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  top: 0;
  z-index: 2;
}

.modal-tab-label:hover {
  color: var(--primary);
  transition: 0.25s;
  border-radius: 1rem;
  box-shadow: inset 0.1rem 0.1rem 0.3rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white);
}

.active-modal-tab {
  color: var(--primary);
  border-radius: 1rem;
  box-shadow: inset 0.1rem 0.1rem 0.3rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white);
}

.tab-content {
  height: 12rem;
  position: absolute;
  z-index: 2;
  top: 2.75em;
  left: 0;
  padding: 1.618rem;
  color: #2c3e50;
  opacity: 0;
  transition: all 0.35s;
}
.tab-switch:checked + .tab-label {
  color: #2c3e50;
  transition: all 0.35s;
  z-index: 3;
  top: -0.0625rem;
}
.tab-switch:checked + label + .tab-content {
  z-index: 4;
  opacity: 1;
  transition: all 0.35s;
}

.waiting-time {
  font-size: 1.2rem;
  margin: 2rem auto 0 13%;
}

.waiting-time div:nth-child(2), .waiting-time div:nth-child(3) {
  margin-left: 3rem;
}

.waiting-time div {
  display: inline;
  text-align: left;
}

.waiting-time span {
  color: var(--primary);
  font-weight: bold;
}

.fixed_headers {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-top: 4rem;
}

#statuses {
    margin-top: 0.5rem;
    font-family: 'Poppins', sans-serif;
    color: var(--greyDark);
}

#statuses tbody {
    height: 42vh;
    font-weight: 600;
}

#statuses td span:nth-child(1) {
    width: 25%;
    text-align: left;
    display: inline-block;
    padding-left: 1rem;
}

#statuses td span:nth-child(2) {
    width: 60%;
    text-align: center;
    display: inline-block;
}

#statuses td span:nth-child(3) {
    width: 15%;
    text-align: right;
    display: inline-block;
    padding-right: 1rem;
}

#finished {
    margin-top: 0.5rem;
    font-family: 'Poppins', sans-serif;
    color: var(--greyDark);
}

#finished tbody {
    height: 44vh;
    font-weight: 600;
}

#finished td span {
    margin-left: 3rem;
}

.fixed_headers#finished th:nth-child(1) { width: 25%; }
.fixed_headers#finished th:nth-child(2) { width: 12.5%; }
.fixed_headers#finished th:nth-child(3) { width: 37.5%; }
.fixed_headers#finished th:nth-child(4) { width: 25%; }

.fixed_headers#finished td:nth-child(1) {
    width: 25%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 0.5rem;
}
.fixed_headers#finished td:nth-child(2) {
    width: 12.5%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 0.5rem;
  }
.fixed_headers#finished td:nth-child(3) { width: 37.5%; }
.fixed_headers#finished td:nth-child(4) { width: 25%; display: table; }

.fixed_headers#finished td { text-align: center; }

.fixed_headers#finished td:nth-child(4) form {
    display: inline;
    margin-left: 1rem;
}

.sorting-icon, .search-icon, .date-search {
    filter: invert(80%) sepia(3%) saturate(3372%) hue-rotate(190deg) brightness(86%) contrast(85%);
    height: 1rem;
    display: inline;
    vertical-align: text-bottom;
    margin-left: 0.5rem;
}

.sorting-icon:hover, .search-icon:hover, .date-search:hover {
    cursor: pointer;
    filter: invert(34%) sepia(88%) saturate(3376%) hue-rotate(234deg) brightness(105%) contrast(103%);
}

.sorting-date form label:hover {
  color: var(--primary);
}

.sorting-date form label img:hover {
  filter: invert(34%) sepia(88%) saturate(3376%) hue-rotate(234deg) brightness(105%) contrast(103%);
}

.sorting-date input {
   position: absolute;
   opacity: 0;
   width: 0;
   font-size: 0;
}

.sorting-date p {
  cursor: pointer;
  display: inline;
}

.th-search {
  width: 100%;
  display: inline-flex;
  margin-top: -1rem;
}

.th-search__input {
  border: none;
  font-size: 1rem;
  background: none;
  font-family: inherit;
  color: var(--greyDark);
  padding-left: 1rem;
  width: 80%;
}

.th-search-close {
  display: inline;
  font-size: 1.8rem;
  font-weight: bold;
  width: 20%;
}

.th-search-close:hover,
.th-search-close:focus {
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
}

.upside-down {
  transform: scaleY(-1);
}

.queue-modal_btn {
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 1rem!important;
}

.queue-modal_btn img {
  margin: 0 auto;
  height: 1.5rem;
  width: 1.5rem;
  filter: invert(80%) sepia(3%) saturate(3372%) hue-rotate(190deg) brightness(86%) contrast(85%);
}

/* .queue-modal_btn:before {
  height: 0%;
  width: 0.8rem;
} */

.queue-modal_btn:hover {
  border-radius: 50%;
  box-shadow:  4px 4px 6px 0 rgba(255,255,255,.5),
            -4px -4px 6px 0 rgba(116, 125, 136, .2),
  inset -4px -4px 6px 0 rgba(255,255,255,.5),
  inset 4px 4px 6px 0 rgba(116, 125, 136, .3);
}

.queue-modal_btn img:hover {
  filter: invert(34%) sepia(88%) saturate(3376%) hue-rotate(234deg) brightness(105%) contrast(103%);
}

.queue-info {
    font-size: 1rem;
    margin: 1rem 0 1rem -9rem;
}

.queue-info p {
  display: inline;
  text-align: left;
}

.queue-info p:nth-child(1) {
  padding: 0.4rem 0.2rem 0 3.4rem;
}

.queue-info p:nth-child(2) {
  margin-left: 3rem;
}

.queue-info span {
  color: var(--primary);
  font-weight: bold;
}

.fixed_headers thead tr {
  display: flex;
  position: relative;
  box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
  background: none;
  border: none;
  padding: 5px;
  border-radius: 15px;
  color: var(--greyDark);
  margin: 0 2rem;
}

.fixed_headers th, .fixed_headers td {
    height: 4rem;
    padding: 5px;
    text-align: center;
  }

  .fixed_headers th {
      border: none;
      border-radius: 1rem;
      box-shadow: inset 0.1rem 0.1rem 0.3rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white);
      background: none;
    }

.data-table th:nth-child(1) { width: 10%; }
.data-table th:nth-child(2) { width: 20%; }
.data-table th:nth-child(3) { width: 20%; }
.data-table th:nth-child(4) { width: 20%; }
.data-table th:nth-child(5) { width: 10%; }
.data-table th:nth-child(6) { width: 10%; }
.data-table th:nth-child(7) { width: 10%; }
.data-table th:nth-child(8) { width: 10%; }

.data-table td:nth-child(1) { width: 10%; }
.data-table td:nth-child(2) { width: 20%; }
.data-table td:nth-child(3) { width: 20%; }
.data-table td:nth-child(4) { width: 20%; }
.data-table td:nth-child(5) { width: 10%; }
.data-table td:nth-child(6) { width: 10%; }
.data-table td:nth-child(7) { width: 10%; }
.data-table td:nth-child(8) { width: 10%; }

@media screen and (max-width: 1799px) {
  .data-table th:nth-child(5) .table-header {
    margin: -0.7rem auto 0 auto;
    max-width: 7rem;
  }
}

.fixed_headers#statuses th:nth-child(1) { width: 35%; }
.fixed_headers#statuses th:nth-child(2) { width: 25%; }
.fixed_headers#statuses th:nth-child(3) { width: 40%; }

.fixed_headers#statuses td:nth-child(1) { width: 35%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 0.5rem;
}
.fixed_headers#statuses td:nth-child(2) { width: 25%; }
.fixed_headers#statuses td:nth-child(3) { width: 40%; }

.fixed_headers#statuses td { text-align: center; }

.fixed_headers th, .fixed_headers td {
    padding: 1.5rem 0;
}

.fixed_headers tbody {
    display: block;
    overflow-y: auto;
    width: 100%;
    height: 60vh;
    margin-top: 0.5rem;
  }

.fixed_headers tbody tr {
    display: flex;
    position: relative;
    padding: 5px;
    margin: 0 0 0 2rem;
}

.fixed_headers tbody tr:nth-child(even) {
    background-color: var(--greyLight-4);
  }

  .fixed_headers tbody::-webkit-scrollbar {
    width: 2rem;
  }

.fixed_headers tbody::-webkit-scrollbar-track {
    border: none;
    border-radius: 1rem;
    -webkit-box-shadow: inset 0.2rem 0.2rem 0.5rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
    background: none;
    color: var(--greyDark);
  }

.fixed_headers tbody::-webkit-scrollbar-thumb {
    box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
    border-radius: 1rem;
  }

.fixed_headers tbody::-webkit-scrollbar-button:single-button {
    box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
    display: block;
    height: 2rem;
    width: 2rem;
  }

.fixed_headers tbody::-webkit-scrollbar-button:single-button:vertical:decrement {
    background-image: url('../img/icons/chevron-up.png');
  }

.fixed_headers tbody::-webkit-scrollbar-button:single-button:vertical:increment {
    background-image: url('../img/icons/chevron-down.png');
  }

.table-tab_footer {
    width: 100%;
    padding: 0.4rem;
    border-radius: 1rem;
    margin: 0 2rem 1rem 2rem;
    box-shadow: inset 0.2rem 0.2rem 0.5rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.table-tab_btn {
    display: inline-block;
    text-align: center;
    box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
    width: 12rem;
    border-radius: 1rem;
    margin: 0.1rem;
    padding: 1rem;
    cursor: pointer;
}

.table-tab_btn:hover {
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
      inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
      -0.5px -0.5px 0px rgba(255, 255, 255, 1),
      0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.01);
    transform: translateY(2px);
    cursor: pointer;
    color: var(--primary);
}

.pressed {
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
      inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
      -0.5px -0.5px 0px rgba(255, 255, 255, 1),
      0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.01);
    transform: translateY(2px);
    cursor: pointer;
    color: var(--primary);
}

.wrapper-form {
    height: 33rem;
    width: 50rem;
    border-radius: 1rem;
    box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--greyLight-1);
}

.card-authorization-header {
    text-align: center;
    margin-top: 2rem;
}

.card-authorization-header img {
    height: 6rem;
}

.card-authorization-footer {
    text-align: center;
    margin: 2.5rem 0 2rem 0;
}

.card-authorization-footer img {
    height: 3rem;
}

.form-authorization-group {
    text-align: center;
}

.form-authorization-group input {
    margin: 1rem auto;
    height: 4rem;
    width: 25rem;
    border: none;
    border-radius: 1rem;
    font-size: 1.4rem;
    padding-left: 2rem;
    box-shadow: inset 0.2rem 0.2rem 0.5rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
    background: none;
    font-family: 'Poppins', sans-serif;
    color: var(--greyDark);
}

.form-authorization-group button {
    margin: 1rem auto;
    height: 4rem;
    width: 25rem;
    padding-left: 0;
    border: none;
    background: none;
}

.show-hide-toggle {
    display: inline;
    margin: 2.5rem 0rem 0rem -3rem;
    position: absolute;
}

.show-hide-toggle img {
    width: 2rem;
}

.light {
    position: absolute;
    width: 0px;
    opacity: .95;
    background-color: var(--white);
    box-shadow: #e9f1f1 0px 0px 20px 2px;
    top: 100vh;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
}

.x1{
  -webkit-animation: floatUp 4s infinite linear;
  -moz-animation: floatUp 4s infinite linear;
  -o-animation: floatUp 4s infinite linear;
  animation: floatUp 4s infinite linear;
   -webkit-transform: scale(1.0);
   -moz-transform: scale(1.0);
   -o-transform: scale(1.0);
  transform: scale(1.0);
}

.x2{
  -webkit-animation: floatUp 7s infinite linear;
  -moz-animation: floatUp 7s infinite linear;
  -o-animation: floatUp 7s infinite linear;
  animation: floatUp 7s infinite linear;
  -webkit-transform: scale(1.6);
  -moz-transform: scale(1.6);
  -o-transform: scale(1.6);
  transform: scale(1.6);
  left: 15%;
}

.x3{
  -webkit-animation: floatUp 2.5s infinite linear;
  -moz-animation: floatUp 2.5s infinite linear;
  -o-animation: floatUp 2.5s infinite linear;
  animation: floatUp 2.5s infinite linear;
  -webkit-transform: scale(.5);
  -moz-transform: scale(.5);
  -o-transform: scale(.5);
  transform: scale(.5);
  left: -15%;
}

.x4{
  -webkit-animation: floatUp 4.5s infinite linear;
  -moz-animation: floatUp 4.5s infinite linear;
  -o-animation: floatUp 4.5s infinite linear;
  animation: floatUp 4.5s infinite linear;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
  left: -34%;
}

.x5{
  -webkit-animation: floatUp 8s infinite linear;
  -moz-animation: floatUp 8s infinite linear;
  -o-animation: floatUp 8s infinite linear;
  animation: floatUp 8s infinite linear;
  -webkit-transform: scale(2.2);
  -moz-transform: scale(2.2);
  -o-transform: scale(2.2);
  transform: scale(2.2);
  left: -57%;
}

.x6{
  -webkit-animation: floatUp 3s infinite linear;
  -moz-animation: floatUp 3s infinite linear;
  -o-animation: floatUp 3s infinite linear;
  animation: floatUp 3s infinite linear;
  -webkit-transform: scale(.8);
  -moz-transform: scale(.8);
  -o-transform: scale(.8);
  transform: scale(.8);
  left: -81%;
}

.x7{
  -webkit-animation: floatUp 5.3s infinite linear;
  -moz-animation: floatUp 5.3s infinite linear;
  -o-animation: floatUp 5.3s infinite linear;
  animation: floatUp 5.3s infinite linear;
  -webkit-transform: scale(3.2);
  -moz-transform: scale(3.2);
  -o-transform: scale(3.2);
  transform: scale(3.2);
  left: 37%;
}

.x8{
  -webkit-animation: floatUp 4.7s infinite linear;
  -moz-animation: floatUp 4.7s infinite linear;
  -o-animation: floatUp 4.7s infinite linear;
  animation: floatUp 4.7s infinite linear;
  -webkit-transform: scale(1.7);
  -moz-transform: scale(1.7);
  -o-transform: scale(1.7);
  transform: scale(1.7);
  left: 62%;
}

.x9{
  -webkit-animation: floatUp 4.1s infinite linear;
  -moz-animation: floatUp 4.1s infinite linear;
  -o-animation: floatUp 4.1s infinite linear;
  animation: floatUp 4.1s infinite linear;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
  left: 85%;
}

@-webkit-keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}
@-moz-keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}
@-o-keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}
@keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}

#head1, #head2,#head3, #head4, #head5{
  opacity: 0;
}

#head1{
  -webkit-animation: fadeOut 1 5s ease-in;
  -moz-animation: fadeOut 1 5s ease-in;
  -o-animation: fadeOut 1 5s ease-in;
  animation: fadeOut 1 5s ease-in;
}

#head2{
  -webkit-animation: fadeOut 1 5s ease-in;
  -moz-animation: fadeOut 1 5s ease-in;
  -o-animation: fadeOut 1 5s ease-in;
  animation: fadeOut 1 5s ease-in;
  -webkit-animation-delay: 6s;
  -moz-animation-delay: 6s;
  -o-animation-delay: 6s;
  animation-delay: 6s;
}

#head3{
  -webkit-animation: fadeOut 1 5s ease-in;
  -moz-animation: fadeOut 1 5s ease-in;
  -o-animation: fadeOut 1 5s ease-in;
  animation: fadeOut 1 5s ease-in;
  -webkit-animation-delay: 12s;
  -moz-animation-delay: 12s;
  -o-animation-delay: 12s;
  animation-delay: 12s;
}

#head4{
  -webkit-animation: fadeOut 1 5s ease-in;
  -moz-animation: fadeOut 1 5s ease-in;
  -o-animation: fadeOut 1 5s ease-in;
  animation: fadeOut 1 5s ease-in;
  -webkit-animation-delay: 17s;
  -moz-animation-delay: 17s;
  -o-animation-delay: 17s;
  animation-delay: 17s;
}

#head5{
  -webkit-animation: finalFade 1 5s ease-in;
  -moz-animation: finalFade 1 5s ease-in;
  -o-animation: finalFade 1 5s ease-in;
  animation: finalFade 1 5s ease-in;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-delay: 22s;
  -moz-animation-delay: 22s;
  -o-animation-delay: 22s;
  animation-delay: 22s;
}

@-webkit-keyframes fadeIn{
  from{opacity: 0;}
  to{opacity: 1;}
}

@-moz-keyframes fadeIn{
  from{opacity: 0;}
  to{opacity: 1;}
}

@-o-keyframes fadeIn{
  from{opacity: 0;}
  to{opacity: 1;}
}

@keyframes fadeIn{
  from{opacity: 0;}
  to{opacity: 1;}
}

@-webkit-keyframes fadeOut{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 0;}
}

@-moz-keyframes fadeOut{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 0;}
}

@-o-keyframes fadeOut{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 0;}
}

@keyframes fadeOut{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 0;}
}

@-webkit-keyframes finalFade{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 1;}
}

@-moz-keyframes finalFade{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 1;}
}

@-o-keyframes finalFade{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 1;}
}

@keyframes finalFade{
  0%{opacity: 0;}
  30%{opacity: 1;}
  80%{opacity: .9;}
  100%{opacity: 1;}
}

@keyframes color {
  0%   { background: var(--greyLight-4); }
  25%  { background: var(--greyLight-3); }
  50%  { background: var(--greyDark); }
  75%  { background: var(--greyLight-3); }
  100%  { background: var(--greyLight-4); }
}

.center {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
select {
  z-index: 3;
  float: left;
}
/** Custom Select **/
.custom-select-wrapper {
  position: relative;
  display: inline-block;
  user-select: none;
  cursor: pointer;
}
.custom-select-wrapper select {
  display: none;
}

.header__select {
   position: absolute;
   right: 12.5rem;
}

.custom-select {
  position: absolute;
  display: inline-block;
}
.custom-select-trigger {
  position: relative;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
  background: none;
  border: none;
  height: 2.1rem;
  padding: 0.4rem 1rem;
  border-radius: 0.7rem;
  color: var(--greyDark);
  right: 16.5rem;
  width: 16rem;
  margin-top: -1rem;
}
.custom-select-trigger:hover {
  -webkit-box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2), inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7), -0.5px -0.5px 0px rgba(255, 255, 255, 1), 0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
  color: var(--primary);
  box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2), inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7), -0.5px -0.5px 0px rgba(255, 255, 255, 1), 0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.01);
}
.custom-select-trigger:before {
  position: absolute;
  display: block;
  content: "";
  margin-top: -3px;
  transition: all 0.35s ease-out;
  transform-origin: 50% 0;
}
.custom-select-trigger:after {
  position: absolute;
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  right: 20px;
  margin-top: -3px;
  border-bottom: 1px solid #c7d1d6;
  border-right: 1px solid #c7d1d6;
  transform: rotate(45deg) translateY(-50%);
  transition: all 0.35s ease-out;
  transform-origin: 50% 0;
}
.custom-select.opened .custom-select-trigger:after {
  margin-top: 3px;
  transform: rotate(-135deg) translateY(-50%);
}
.custom-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0%;
  right: 0;
  width: 100%;
  margin: 1rem 1rem 1rem -16.5rem;
  border-radius: 1rem;
  box-sizing: border-box;
  background: var(--greyLight-4);
  transition: all 0.2s ease-in-out;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-15px);
  border: 0;
}
.custom-select.opened .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(-8px);
  z-index: 1;
  -webkit-box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
  box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
}
.option-hover:before {
  background: #f9f9f9;
}
.custom-option {
  position: relative;
  display: block;
  padding: 0 1rem;
  line-height: 3rem;
  cursor: pointer;
  transition: all 0.05s ease-in-out;
}
.custom-option:first-of-type {
  border-radius: 1rem 1rem 0 0;

  border-top-right-radius: 1rem;
  border-top-left-radius: 1rem;
}
.custom-option:last-of-type {
  border-bottom: 0;
  border-radius: 0 0 1rem 1rem;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
}
.custom-option:hover,
.custom-option.selection {
  color: var(--white);
  background-color: var(--greyDark);
}

.type-select-wrapper {
  width: 80%;
}

.type-select {
  position: inherit;
}

.type-select .custom-select-trigger {
  box-shadow: none;
  border: none;
  width: 115px;
  padding: 0.4rem 2.5rem 0.4rem 1rem;
  display: inline-block;
  height: 2.1rem;
  right: 0;
  margin: 0.5rem 0 0 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.type-select .custom-options {
  width: 11rem;
  margin: 1.5rem 0 0 0;
}

.type-select .custom-options .custom-option {
  line-height: 2rem;
}

.type-search-close {
  margin-top: 0.5rem;
}

/* custom datepicker */
.datepicker-wrapper {
  font-family: 'Poppins', sans-serif;
  color: var(--greyDark);
}

.datepicker-wrapper label {
  width: 70%;
}

.datepicker-wrapper input {
  width: unset;
}

.datepicker-wrapper .date-search {
  width: 15%;
  margin-top: 0.1rem;
}

.datepicker-wrapper .th-search-close {
  margin-top: -0.4rem;
  width: 15%;
}

.datepicker-wrapper input:focus {outline: none;}
#ui-datepicker-div {
	display: none;
	background-color: var(--greyLight-1);
	box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.1);
	margin-top: 0.25rem;
	border-radius: 0.5rem;
	padding: 0.5rem;
}

.datepicker-wrapper table {
	border-collapse: collapse;
	border-spacing: 0;
}
.ui-datepicker-calendar thead th {
	padding: 0.25rem 0;
	text-align: center;
	font-size: 0.75rem;
	font-weight: 400;
  font-family: 'Poppins', sans-serif;
  color: var(--greyDark);
}

.ui-datepicker-calendar tbody td {
	width: 2.5rem;
	text-align: center;
	padding: 0;
  font-family: 'Poppins', sans-serif;
}

.ui-datepicker-calendar tbody td a {
	display: block;
	border-radius: 0.25rem;
	line-height: 2rem;
	transition: 0.3s all;
	color: var(--greyDark);
	font-size: 0.875rem;
	text-decoration: none;
}

.ui-datepicker-calendar tbody td a:hover {
	background-color: var(--transparentGrey);
  color: var(--white);
}

.ui-datepicker-calendar tbody td a.ui-state-active {
	background-color: var(--primary);
	color: var(--white);
}

.ui-datepicker-header a.ui-corner-all {
	cursor: pointer;
	position: absolute;
	top: 0;
	width: 2rem;
	height: 2rem;
	margin: 0.5rem;
	border-radius: 0.25rem;
	transition: 0.3s all;
}

.ui-datepicker-header a.ui-corner-all:hover {
	background-color: var(--transparentGrey);
}

.ui-datepicker-header a.ui-datepicker-prev {
	left: 0;
	background: url('../img/icons/chevron-up.png');
	background-repeat: no-repeat;
	background-size: 1rem;
	background-position: 50%;
	transform: rotate(270deg);
}

.ui-datepicker-header a.ui-datepicker-next {
	right: 0;
  background: url('../img/icons/chevron-up.png');
	background-repeat: no-repeat;
	background-size: 1rem;
	background-position: 50%;
  transform: rotate(90deg);
}

.ui-datepicker-header a>span {
	display: none;
}

.ui-datepicker-title {
  font-family: 'Poppins', sans-serif;
  color: var(--greyDark);
	text-align: center;
	line-height: 2rem;
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	padding-bottom: 0.25rem;
}

.ui-datepicker-week-col {
	color: #78909C;
	font-weight: 400;
	font-size: 0.75rem;
}

ul.simple-pagination {
	list-style: none;
}

.simple-pagination {
	display: block;
	overflow: hidden;
	padding: 0 5px 5px 0;
	margin: 0;
}

.simple-pagination ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.simple-pagination li {
	list-style: none;
	padding: 0;
	margin: 0;
	float: left;
}
span.ellipse.clickable {
	cursor: pointer;
}

.ellipse input {
	width: 3em;
}

.page__btn label:hover {
    transform: scale(0.9);
}

.pagination-holder {
  margin: 1rem auto 0 auto;
  padding: 0.2rem;
}

.light-theme span {
	cursor:pointer;
}

.light-theme a, .light-theme span {
	float: left;
	text-align: center;
	border: none;
	padding: 0 7px;
	margin: 0 5px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.2rem var(--white);
  border-radius: 1rem;
  cursor: pointer;
  text-align: center;
  color: var(--greyDark);
  font-weight: bold;
  text-decoration: none;
}

.light-theme .current {
  box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
    -0.5px -0.5px 0px rgba(255, 255, 255, 1),
    0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.01);
  color: var(--primary);
  cursor: default;
}

.light-theme a:hover {
  box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
    -0.5px -0.5px 0px rgba(255, 255, 255, 1),
    0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.01);
  color: var(--primary);
}

.light-theme .ellipse {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-weight: bold;
	cursor: default;
}
