/* Globals */
:root {
  --orange: #f26334;
  --blue: #002c6c;
  --borderColor: #41414157;
  --black: #414141;
  --box-shadow: rgba(242, 99, 52, 0.25);
  --active-btn: #4caf50;
  --inactive-btn: #757575
}

html,
body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

/* Alerts */
.alert-con {
  padding: 0 37px;
}

.alert {
  padding: 10px 0;
}

.alert ul {
  list-style: none;
  padding: 0;
  text-align: center;
  font-size: 1.1rem;
}

.alert-success {
  color: var(--blue);
}

/*  Tabs */
.links-nav {
  padding-right: 0;
}

/* Main Logo */
.auth-logo-nav {
  display: grid;
  grid-template-columns: 100%;
}

.auth-logo-nav img {
  margin-left: auto;
}

header {
  background: #f4f4f4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.logo-nav {
  text-align: right;
  display: grid;
  grid-template-columns: 50% 50%;
}

.logo-nav h2 {
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  padding-left: 25px;
}

.logo-nav .logo-image {
  height: 100px;
}

.login-form .form-group {
  margin-top: 20px;
}

/* Buttons */

.add-btn-con button {
  padding: 3px 31px;
}

/* Main Section  */

.main-section {
  background: #fff;
  /* border-top: 1px solid; */
  /* border-bottom: 1px solid; */
  border-color: var(--borderColor);
}

.main-section h2 {
  border-bottom: 1px solid #41414133;
  font-size: 30px;
  font-weight: bold;
  padding: 16px 10px;
}

.main-section .export-btn img {
  width: 24px;
  height: 22px;
}

/* Add Adminstritive Unit */
.add-unit-form {
  display: flex;
  flex-direction: row;
  margin-left: 20px;
}

.add-form .form-error ul {
  color: red;
  list-style: none;
  padding-left: 0;
}

.add-form label {
  display: block;
  font-family: "Cairo", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #002c6c;
  margin-bottom: 6px;
  margin-top: 15px;
}

.add-form select,
.add-form input[type=number],
.add-form input[type=text] {
  width: 100%;
  border-radius: 1px;
  border: 1px solid #8f8f9d;
  padding: 3px 8px;
  border-radius: 5px;
  background: unset;
  height: 32px;

}

.add-form textarea {
  height: 100px;
  width: 100%;
}

.add-form select[multiple=""] {
  height: 200px;
}


/* Auth Styles */

.add-user-form {
  display: grid;
  grid-template-columns: 20% 20% 20% auto;
  margin-left: 20px;
}

.add-user-form input {
  width: 200px;
}

.add-user-form select {
  width: 200px;
  height: 35px;
  background: #fff;
  border: 1px solid #8f8f9d;
}



.login-form-con {
  border: 1px solid var(--borderColor);
  border-top: 10px solid #006ab3 !important;
}

.login-form-con h2 {
  color: var(--blue);

  padding: 11px 4px 10px 10px;
}

.login-form-con label {
  margin-bottom: 5px;
  color: #002c6c;
}

.main-section .welcome-text {
  letter-spacing: -1px;
}

.main-section .welcome-text p {
  direction: rtl;
  text-align: center;
  font-family: "Cairo", sans-serif;
  font-weight: bold;
  font-size: 45px;
  margin: 0px;
}

.chart-con {
  height: 315px;
  width: 80%;
  overflow: hidden;
}

/* Main Navbar  */
.main-nav {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  /* border-bottom: 1px solid var(--borderColor); */
}

.main-nav .navbar-nav-snd {
  margin-left: auto;
}

.main-nav .navbar-nav-snd .nav-link {
  color: var(--black);
}

.main-nav .dropdown-menu {
  width: auto;
  min-width: unset;
}

.main-nav .dropdown-menu .dropdown-item {
  color: var(--blue);
  border-bottom: 1px solid #002c6c26;
}

/* .main-nav .dropdown-menu .dropdown-item:last-child {
  border-bottom: unset
} */

.dropdown-item.active, .dropdown-item:active {
  background-color: #e9ecef;
}


.main-nav .nav-item {
  margin-right: 45px;
}

.main-nav .nav-item .nav-link {
  font-size: 1rem;
}

.main-nav .nav-item .nav-link:active,
.main-nav .nav-item .nav-link:focus,
.main-nav .nav-item .nav-link:hover,
.main-nav .nav-item .active {
  color: var(--orange) !important;
}

/* --------------------------- Tables ----------------- */
/* OLD */
.my-table {
  margin-top: 20px;
  margin-bottom: 20px;
}

.my-table thead th {
  border-bottom-color: #414141 !important;
  font-weight: 600;
}

.my-table tbody td,
.my-table tbody th {
  font-weight: 500 !important;
}

.my-table tbody th a,
.my-table tbody td a.edit-unit {
  color: var(--blue);
}

.my-table tbody th a {
  text-decoration: none;
}

.my-table tbody th a:hover,
.my-table tbody th a:focus,
.my-table tbody th a:active {
  color: var(--orange);
}

/* New */
.new-table-con {}


/* New Code Activate Styles */
.new-table-con {
  border: 2px solid rgb(238, 238, 238);
  box-shadow: 0 2px 1px -1px rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 1px 3px 0 rgba(0, 0, 0, .12) !important;
}

.new-table-con table {
  margin-bottom: unset;
}

.new-table-con .table thead tr:first-child {
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.new-table-con .table thead th {
  padding: 19px 24px;
  font-weight: 600;
  font-family: 'Gotham Light';
  font-size: 13px;
  transition: .3s cubic-bezier(.25, .8, .5, 1);
  color: #000000a1;

}

.new-table-con .table tbody td {
  padding: 10px 24px;
  font-weight: 600;
  font-family: 'Cairo';
  font-size: 14px;
  transition: .3s cubic-bezier(.25, .8, .5, 1);
}

.new-table-con .table tbody td:first-child {
  color: var(--blue)
}

.new-table-con .table tbody td .tertiary-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.new-table-con .table tbody td a {
  color: #414141
}

.new-table-con .table tbody td .tertiary-btn span:last-child {
  height: 16px;
  width: 16px;
  display: inline-block;
  border-radius: 50%;
  margin: 0 10px;

}

.new-table-con .table tbody td .tertiary-btn span.active {
  background: var(--active-btn);
}

.new-table-con .table tbody td .tertiary-btn span.inactive {
  background: var(--inactive-btn);
}

.pagination {
  padding-left: 38px;
}

.pagination li a {
  color: var(--blue);
}

.pagination li a:hover,
.pagination li a:focus,
.pagination li a:active {
  color: var(--orange);
  background-color: #fff;
}

.pagination li a:focus,
.pagination li a:active {
  box-shadow: unset;
}

.page-item.active .page-link {
  background-color: var(--orange);
  border-color: var(--orange);

}

/* .table-section > div {
  height: 500px;
  overflow-y: scroll;
} */

/* Footer Styles */
.wrapper {
  min-height: 100%;
  margin-bottom: -50px;
}

.footer,
.push {
  height: 50px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
}

/* Colors */
.bg-orange {
  background-color: var(--orange);
  color: #fff;
}

.bg-blue {
  background-color: var(--blue);
  color: #fff;
}

.orange {
  color: var(--orange) !important;
}

.blue {
  color: var(--blue) !important;
}

/* Rooms */
.room-link {
  text-decoration: none;
  color: #0f55bd;
}

.room-link:hover,
.room-link:focus,
.room-link:active {
  color: var(--orange);
}

@media (max-width: 850px) {
  .add-form {
    display: block;
  }

  .add-form>div {
    margin-top: 10px;
  }

  .add-form input {
    width: 100%;
  }

  .add-form .add-btn-con button {
    position: unset;
  }
}

/* Nav Tabs */
.nav-tabs .nav-link {
  color: var(--blue);
}

.links-nav .nav-link {
  color: var(--blue);
  border-bottom: 1px solid #414141;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus,
.nav-tabs .active,
.links-nav .nav-link:hover,
.links-nav .nav-link:focus,
.links-nav .active {
  color: var(--orange) !important;
}

.user-section {
  color: var(--blue);
  font-size: 1.1rem;
}

.main-btn:hover {
  color: #fff;
}

.main-btn:focus,
.main-btn:active {
  box-shadow: 0 0 0 0.25rem var(--box-shadow) !important;
}

@media (max-width: 814px) {
  .logo-nav {
    grid-template-columns: 100%;
  }

  .logo-nav>div {
    text-align: center;
  }

  .logo-nav h2 {
    display: None;
  }
}

@media (max-width: 768px) {
  .welcome-text {
    margin-bottom: 40px;
  }

  .login-fome-con {
    padding: 26px 47px;
  }
}

@media (max-width: 576px) {
  .login-form-con {
    border: none;
  }

  .main-section h2 {
    font-size: 1.1rem;
  }
}

@media (max-width: 380px) {
  .logo-nav img {
    width: 100%;
  }
}