/*
*
* General
*
*/


@media screen and (max-width: 1919px) {
  html {
    /*zoom: 0.8;*/
    font-size: 0.8em;
  }
}

@media screen and (min-width: 1920px) and (max-width: 2839px) {
  html {
    /*zoom: 0.86;*/
    font-size: 0.86em;
  }
}

@media screen and (min-width: 2840px) {
  html {
    /*zoom: 1.6;*/
    font-size: 1.6em;
  }
}

/* below is to counter modal backdrop not fitting full width from above zoom of html */
.modal-backdrop {
  width: 100%;
  height: 100%;
}





p {
  font-weight: 400;
}

.main-content>.container-fluid,
.header>.container-fluid {
  max-width: 1500px;
}

/*.navbar > .container-fluid {
  max-width: 1500px;
}*/



.dropdown-menu:not(.sidenav .nav-dropdown) {
  box-shadow: 0 15px 30px rgba(50, 50, 93, .1),
    0 4px 6px rgba(50, 50, 93, .15),
    0 2px 7px rgba(0, 0, 0, .1);
}

.dropdown-menu .dropdown-item>i {
  vertical-align: 0;
  width: 1em;
  text-align: center;
}




/*
*
* Navbar
*
*/
.sidenav {
  padding-bottom: 0px;
}

.sidenav-header {
  height: auto;
}

.sidenav .navbar-brand,
.sidenav .navbar-heading {
  padding: 36px;
  padding-bottom: 12px;
}

.navbar-vertical .navbar-brand-img,
.navbar-vertical .navbar-brand>img {
  max-width: 100%;
  max-height: 3rem;
}

.navbar-vertical.navbar-expand-xs .navbar-inner {
  padding-left: 2em;
  padding-right: 2em;
}

.navbar-vertical .navbar-nav .nav-link {
  font-size: 0.925em;
}

.navbar-vertical .navbar-nav .nav-link>i {
  font-size: 1.05rem;
  margin-left: -2px;
  margin-right: 10px;
  min-width: 24px;
  text-align: center;
}

.sidenav .nav-dropdown {
  box-shadow: none;
  background: #f6f9fc;
  margin: 0 .5rem;
}

.sidenav .nav-link.dropdown-toggle:hover {
  cursor: pointer;
}




.breadcrumb {
  margin-bottom: 0;
}


#topnav-hamburger {
  position: relative;
  z-index: 10000;
  background: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 1000px;
  padding: 14px 11px;
}



/*
*
* Inputs and Forms
*
*/

form .form-group:last-of-type {
  margin-bottom: 0;
}





/*
*
* Tables
*
*/

.pagination {
  display: inline-block;
}

.pagination .page-item {
  display: inline-block;
}

.page-item .page-link,
.page-item span {
  margin: 3px;
}



.table tbody td {
  font-size: 0.9em;
}

.table thead th {
  font-size: 0.7em;
}



.table.table-fixed-columns {
  width: auto;
  min-width: 100%;
  max-width: 200px;


}



table.table-fixed-columns {
  /*font-family: "Fraunces", serif;
    font-size: 125%;
    white-space: nowrap;
    margin: 0;
    border: none;
    border-collapse: separate;
    border-spacing: 0;*/
  table-layout: fixed;
}

table.table-fixed-columns td,
table.table-fixed-columns th {
  /*padding: 0.5rem 1rem;*/
  white-space: auto;
  overflow: hidden;
}

table.table-fixed-columns td:not(.rear),
table.table-fixed-columns th:not(.rear) {
  max-width: 180px;
}


/* FROM HERE */
table.table-fixed-columns thead th {
  /*padding: 3px;*/
  position: sticky;
  top: 0;
  z-index: 10;
  /*width: 25vw;*/
  background: white;
}

table.table-fixed-columns td {
  background: #fff;
  /*padding: 4px 5px;
    text-align: center;*/
}

table.table-fixed-columns tbody th {
  /*font-weight: 100;
    font-style: italic;*/
  text-align: left;
  position: relative;
}

/* TO HERE, May not be necessary? */

table thead th.front {
  position: sticky;
  left: 0;
  z-index: 20;

  min-width: 160px;
}

table tbody th.front,
table tbody td.front {
  position: sticky;
  left: 0;
  background: white;
  z-index: 10;
  min-width: max-content;
}


/*@media (max-width: 991px)
  {
    table .front{
        position: relative !important;
    }
  }*/
table .front {
  position: relative !important;
}


table .rear {
  position: sticky;
  right: -1px;
  /* for some reason */
}

table th.rear {
  background: #edf2f5 !important;
  z-index: 20;
}

table td.rear {
  /*background: #f6f9fc;*/
  background: #f6f9fc;
  z-index: 10;
}






/*  Staff Profile  */
.card-profile-stats>div {
  margin-right: 0;
}

.form-control {
  color: #5c6670;
}

.view-form .form-control {
  border: none;
  background: #f6f6f6;
  /*padding: 0;*/
  height: auto;
  font-size: 1em;
}







/* 
  Multiselect Library Overrides 
*/

.multiselect.dropdown-toggle {}

.multiselect-container.dropdown-menu {
  width: 100%;
}





.nav-tabs {
  border: none;
  position: relative;
  z-index: 100;
}

.nav-tabs+.card {
  border-top-left-radius: 0;
}

.nav-tabs .nav-item {
  background-color: rgb(245, 245, 245);
  padding: 12px 24px;
  border: none;
  font-weight: 600;
}

.nav-tabs .nav-item.active {
  background-color: white;

}

.nav-tabs .nav-item+.nav-item {
  margin-left: 1px;
}

@media (max-width: 991px) {
  .nav-tabs {
    display: flex;
  }

  .nav-tabs .nav-item {
    flex: 1;
    text-align: center;
  }

  .nav-tabs+.card {
    border-top-right-radius: 0;
  }
}


.tab-content .card {
  box-shadow: none;
}

.tab-content .table-results-card {
  margin-bottom: 0;
}


.btn-container {
  display: flex;
  justify-content: end;
  gap: 10px;
}

.btn-container .btn {
  margin: 0;
  white-space: nowrap;
  box-shadow: none;
}

.btn-container .btn:hover {
  transform: translateY(0);
  box-shadow: inset 0px 0px 1000px 50px rgba(0, 0, 0, 0.07);
}

@media (max-width: 767px) {
  .btn-container {
    flex-direction: column;
  }
}