/* ------------------------------- tooltip (download-button/change-password-button/logout-button)-------------------------------*/

.bg-subheader {
  background: #000000;
  height: 30px;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-container .tooltip-text {
  visibility: hidden;
  width: 95px;
  background-color: #005d67ba;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px 0;
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ---------------------------------------------------------- End tooltip ----------------------------------------------------------*/

.navbar_first {
  background: linear-gradient(-45deg, #3bc47a 0%, #64d0a2 20%, #85dbe4 40%, #b6c6f6 60%, #f2c1d1 80%, #3bc47a 100%);
}

.navbar_two a {
  color: #000000;
  text-decoration: none;
  background-color: transparent;
  font-size: 16px;
}

.navbar-logo {
  margin-top: -6px;
  font-weight: bold;
}

.navbar_two {
  background: linear-gradient(to right, white 0%, #85dbe4 50%, white 100%) !important;

  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar_two .navbar-nav {
  justify-content: center;
}

/* ------------------------------------------------------------- button ------------------------------------------------------------ */

.btn-header {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.btn-header {
  transition: all 0.3s ease;
}

.btn-header:hover {
  transform: scale(1.1);
  border-radius: 8px;
}

button.btn-header {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.btn-collapse {
  margin: 0px 0px 0px 9px;
  color: #fff;
  background: linear-gradient(to right, #1b79cc, #7982d1) !important;
  border-color: #000000;
}

.btn-collapse:hover {
  color: #ffffff;
  background: linear-gradient(to right, #a6afff, #7982d1) !important;
}

.btn-collapse.focus,
.btn-collapse:focus {
  color: #fff;
  background-color: #044989;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
}

#change-password-button,
#logout-button {
  outline: none;
}

.change-password-button {
  margin-right: 2px;
}

#download-button {
  margin-right: -1px;
}

/* ---------------------------------------------------------- End button ------------------------------------------------------------ */

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #054077;
}

#menu-toggle {
  display: none;
}

@media (max-width: 786px) {
  .table-responsive-lg {
    margin-top: -4px;
  }

  #list-data-table {
    position: relative;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 510px);
    overflow-x: auto;
    overflow-y: auto;
  }

  .navbar_first {
    display: none;
  }

  .navbar_two {
    background: linear-gradient(270deg, #dff5a182, #aee0e47d);
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    z-index: 1000;
  }

  #navbarNavDropdown {
    background-color: white;
    z-index: 9999;
    top: 60px;
    left: 0;
    right: 0;
    position: absolute;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    display: none;
  }

  #navbarNavDropdown.show {
    display: block;
  }

  #menu-toggle {
    display: block;
  }

  #menu-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
  }

  #menu-toggle {
    border: none;
    background: transparent;
    color: rgb(0, 0, 0);
    font-size: 19px;
    cursor: pointer;
  }

  #toolbars-tools {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 23vh;
    margin: -33px 0px -42px -117px;
  }

  #toolbars-annual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 13vh;
    margin: 0px 0px -86px -35px;
  }

  #menu-toggle i {
    margin: 8px;
  }

  .breadcrumb {
    background-color: #f5feff;
    margin-top: 13px;
    position: relative;
    z-index: 10;
  }

  #sidebarCollapse_1 {
    display: none;
  }

  #div-sort-data,
  #div-advance-search {
    margin-top: 33px;
  }

  #advance-search-button,
  #sort-button,
  #add-button,
  #print-button,
  #export-button {
    margin: 0px 3px;
  }
}
