/* National Highways Styling - CSS File embedded on Header Web Template */

/* || Header */

html,
body {
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  line-height: 1.6;
}

.nh-header {
  background-color: #fff;
  position: relative;
  z-index: 1021;
  box-shadow: 0 0 14px -6px rgba(0, 0, 0, .4);
}

@media (max-width: 48.0525em) {
  .nh-header {
    border-bottom: 0;
  }
}

.nh-header:after {
  clear: both;
  content: "";
  display: block;
}

.nh-header__container:after {
  clear: both;
  content: "";
  display: block;
}

@media (max-width: 40.0525em) {
  .nh-header__container {
    margin: 0;
  }
}

@media (min-width: 40.0625em) {
  .nh-header__container {
    float: left;
  }
}

@media (max-width: 40.0525em) {
  .nh-header__logo {
    position: relative;
    z-index: 1;
  }
}

@media (min-width: 40.0625em) {
  .nh-header__logo {
    padding-left: 0;
  }
}

.nh-header__logo .nh-logo {
  width: 250px;
  border: 0;
}

@media (max-width: 48.0525em) {
  .nh-header__logo .nh-logo {
    border: 0;
    margin: 12px 0;
    width: 180px;
  }
}

@media (max-width: 48.0525em) {
  .nh-header__logo {
    max-width: 60%;
  }
}

@media (max-width: 450px) {
  .nh-header__logo {
    max-width: 50%;
  }
}

.nh-header__link {
  height: 90px;
  width: 153px;
  /* [1] */
  display: block;
}

.nh-header__link:focus .nh-logo+.nh-logo-hover {
  display: inline-block;
  width: 136px !important;
  height: 80px !important;
}

.nh-header__link:focus {
  box-shadow: none;
}

@media print {
  .nh-header__link:after {
    content: "";
    /* [8] */
  }
}

/* .nh-header__link:hover,
.nh-header__link:active,
.nh-header__link:focus {
  background-color: transparent;
} */

.nh-header__content {
  display: flex;
  align-items: flex-end;
  padding-left: 25px;
}

.nh-header__content>div {
  padding: 5px;
}

.nh-header__content:after {
  clear: both;
  content: "";
  display: block;
}

@media print {
  .nh-header__content {
    display: none;
  }
}

@media (min-width: 40.0625em) {
  .nh-header__content {
    float: right;
    padding-top: 40px;
  }
}

.nh-header__search {
  position: relative;
  text-align: right;
}

.nh-header__search:after {
  clear: both;
  content: "";
  display: block;
}

@media (min-width: 40.0625em) {
  .nh-header__search {
    float: left;
    margin-left: 8px;
  }
}

.nh-header__search-toggle {
  background-color: transparent;
  border: 1px solid #008BCB;
  border-radius: 4px;
  color: #008BCB;
  cursor: pointer;
  min-height: 40px;
  /* [2] */
  padding: 4px 8px 0;
  position: absolute;
  right: 0;
  top: 0;
}

.nh-header__search-toggle::-moz-focus-inner {
  border: 0;
}

.nh-header__search-toggle:hover {
  background-color: #f2f2f2;
  border-color: #008BCB;
  box-shadow: none;
}

.nh-header__search-toggle:focus {
  border: 1px solid #F49600 !important;
  /* stylelint-disable-line declaration-no-important */
  /* [2] */
}

.nh-header__search-toggle:active,
.nh-header__search-toggle.is-active {
  background-color: #f2f2f2;
  border-color: #008BCB;
  color: #008BCB;
}

.nh-header__search-toggle .nh-icon__search {
  fill: #ffffff;
  height: 21px;
  /* [3] */
  width: 21px;
  /* [3] */
}

.nh-header__search-toggle:focus {
  background-color: #F49600;
  border: 0;
  box-shadow: 0 4px 0 0 #0b0c0c;
  color: #0b0c0c;
  outline: 4px solid transparent;
  /* 1 */
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #F49600, 0 4px 0 2px #0b0c0c;
}

.nh-header__search-toggle:focus .nh-icon {
  fill: #0b0c0c;
}

@media (min-width: 40.0625em) {
  .nh-header__search-toggle {
    display: none;
  }
}

.nh-header__search-form {
  height: 100%;
  overflow: visible;
}

@media (max-width: 40.0525em) {
  .nh-header__search-form {
    background-color: #f2f2f2;
    display: flex;
    padding: 16px;
    width: 100%;
  }
}

@media (max-width: 40.0525em) {
  .nh-header__search-wrap {
    display: none;
  }

  .nh-header__search-wrap.js-show {
    clear: both;
    display: flex;
    margin-bottom: -20px;
    margin-left: -16px;
    margin-right: -16px;
    padding-top: 16px;
    text-align: left;
  }
}

@media (min-width: 40.0625em) {
  .nh-header__search-wrap {
    display: block;
    line-height: 0;
  }
}

/* nav#header-navigation {
  background-color: #fff;
  position: relative;
  z-index: 1021;
  box-shadow: 0 0 14px -6px rgba(0, 0, 0, .4);
} */

/* @media (max-width: 48.0525em) {
  nav#header-navigation {
    float: left;
  }
} */

/* Navbar Utility */
.nh-header-utility {
  background-color: #011e41;
  min-height: 40px;
}

.nh-header-utility-links {
  justify-content: flex-end;
  display: flex;
  position: relative;
}

.nh-header-utility-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 767.98px) {
  .nh-header-utility-list {
    padding: 6px 0 6px 15px;
  }
}

@media (min-width: 768px) {
  .nh-header-utility-links {
    justify-content: flex-end;
    display: flex;
    position: relative;
  }
}

.nh-header-utility-links__item {
  display: inline-block;
  margin-right: 22px;

}

.nh-header-utility-links__link {
  color: #fff;
  font-size: 16px;
  line-height: 15px;
  font-weight: bold;
  border-bottom: solid 1px rgba(0, 0, 0, 0);
  vertical-align: -webkit-baseline-middle;
}

.nh-header-utility-links__link:hover {
  color: #fff;
}

/* Nav links color */
.nav-link {
  color: #011e41;
  font-weight: bold
}

/* || Footer */
.nh-footer {
  display: flex;
  flex-direction: column;
  background-color: #f2f2f2;
  border-top: solid 10px #011e41;
  padding: 30px 0;
  text-align: left;
}

.footer-nav {
  list-style: none;
}

/* || Sidebar Navigation & Layout */

.nh-sidebar.col-lg-2,
col-sm-4 {
  background-color: #f2f2f2;
  border-right: 2px solid #347ca9;
}

.nh-content {
  padding-bottom: 30px;
}

/* Weblinks list */

.list-group {
  padding-top: 40px;
  --bs-list-group-border-color: #ffffff;
  display: block;
}

/* Hide Mobile Navigation Links for Desktop */
.nh-header__mobile-nav-list {
  display: none;
  list-style: none;
  padding-left: 25px;
}

@media (min-width: 991.98px) { 
  .nh-header__menu.menu-button {
    display: none;
  }
}

/* Hide Desktop Navigation Links for Mobile*/
/* @media (max-width: 62em) { */
@media (max-width: 991.98px) {
  #nh-desktop-nav {
    display: none;
  }
}

@media (min-width: 40.0625em) {
  .nh-header__logo {
    padding-left: 0;
  }
}

/* Navigation Icons Animation & Styling */
/* .nh-header__menu.menu-container {
    float: right;
    padding: 10px 30px 10px 0px;
} */

.menu-container {
  display: none;
} 

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

#mobile-menu-btn {
  margin-left: 25px;
}

/* New Hamburger Menu */


@media (max-width: 991.98px) {

}

.btn-outline-primary:hover {
  color: var(--bs-btn-hover-color);
  background-color: #347ca9 !important;
  border-color: #347ca9 !important;
  --bs-btn-active-colour: #347ca9 !important;
  --bs-btn-active-border-color: #347ca9 !important;
}

/* Main Navigation Styling */

.nh-main-nav {
  width: 250px;
  padding: 10px;
  box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
}

@media (max-width: 48.0525em) {
  .nh-main-nav {
    box-shadow: none;
  }
}

.nh-main-nav .list-group-item {
  list-style: none;
  border: none;
  padding: 15px 20px 20px 20px;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.nh-main-nav .list-group-item:hover {
  /* background-color: #f2f2f2; */
  color: black;
}

.nh-main-nav .list-group-item i {
  margin-right: 10px;
}

/* Add some styling to the icons (adjust as needed) */
.nh-main-nav .fa {
  font-size: 18px;
  color: #347ca9;
  /* Primary color for icons */
}

a.list-group-item {
  /* background-color: #f2f2f2; */
  border: 0;
  padding: 15px;
}

a.list-group-item:hover {
  background-color: #f2f2f2;
}

/* Mobile Navigation Styling */
svg {
  padding-bottom: 5px;
}

/* Buttons */
button#request-leave {
  float: right;
}

@media (max-width: 48.0525em) {
  button#request-leave {
    float: none;
    margin-left: 20px;
  }
}

/* || Headings */

/* Desktop Headings */

.nh-heading-one {
  padding: 15px 0;
  line-height: 1.6;
}

.nh-heading-two {
  padding: 10px;
  line-height: 1.6;
}

.nh-heading-three {
  line-height: 1.6;
}

/* Headings within Tabs */
#tabOne>h2 {
  padding: 10px;
  margin-left: 0;
}

/* Mobile Headings */

@media (max-width: 48.0525em) {
  .nh-heading-one {
    padding: 10px 0;
    margin-left: 20px;
  }

  .nh-heading-two {
    padding: 10px 0;
    margin-left: 20px;
  }

  .nh-heading-three {}
}

/* @media (min-width: 40.0625em) {
  .nh-header__logo {
    padding-left: 0;
  }
} */

.nh-heading-two {}

.nh-heading-three {}

/* Labels, Controls, Anchors */
.nh-link {
  float: right;
  margin-right: 70px;
}

@media (max-width: 40.0625em) {
  .nh-link {
    float: none;
    margin-right: 0;
  }
}

/* || Tabs */

@media (max-width: 40.0625em) {
  .nh-tabs.nav.nav-tabs {
    flex-direction: column;
    border-bottom: 0;
  }

  .nh-tabs.nav-tabs .nav-item {
    margin-bottom: 5px;
  }

  .nh-tabs.nav-tabs .nav-link {
    border: 1px solid #dee2e6;
    border-radius: .25rem;
  }
}

/* || Subgrids */
.view-grid>table>thead>tr>th>a {
  color: black;
  font-size: 18px;
}

/* Lists */

@media (max-width: 48.0525em) and (orientation: portrait) {
  ul.nh-announcements-list {
    padding-left: 40px;
  }
}

@media (max-width: 48.0525em) and (orientation: landscape) {
  ul.nh-announcements-list {
    padding-left: 80px;
  }
}

/* Grids */
.nh-grid {
  padding-top: 10px;
  padding-bottom: 80px;
}

@media (max-width: 48.0525em) {
  .nh-grid {
    padding-left: 0;
  }
}

/* My Leave Grid */
.nh-leave-green {
  background: rgba(65, 203, 0, 0.2);
}

.nh-leave-blue {
  background: rgba(0, 139, 203, 0.2);
}

.nh-leave-grey {
  background: rgba(121, 121, 121, 0.1);
}

span.span-heading {
  font-size: 1.5rem;
}

/* My Roster */

#roster-view-selector {
  width: 25%;
  margin-top: 20px;
  margin-bottom: 20px;
}

@media (max-width: 48.0525em) {
  #roster-view-selector {
    width: 100%;
  }
}

.form-select-modal {
  width: 100%;
}

.ui-datepicker-calendar {
  display: none;
}

#myRoster {
  padding-bottom: 80px;
}

/* Back Button */
.back-nav {
  padding-left: 25px;
}

.back-link {
  font-size: .875rem;
  line-height: 1.1428571429;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: underline;
  text-decoration-thickness: max(1px, .0625rem);
  text-underline-offset: .1578em;
  display: inline-block;
  position: relative;
  margin-top: 15px;
  margin-bottom: 15px;
  padding-left: 20px;
  cursor: pointer;
}

.back-link:link,
.back-link:visited {
  color: #0b0c0c;
}

.back-link:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: .1875em;
  width: .4375em;
  height: .4375em;
  margin: auto 0;
  transform: rotate(225deg);
  border: solid;
  border-width: 1px 1px 0 0;
  border-color: #505a5f;
}

.back-link:after {
  content: "";
  position: absolute;
  top: -14px;
  right: 0;
  bottom: -14px;
  left: 0;
}

@media (min-width: 40.0625em) {
  .back-link {
    font-size: 1rem;
    line-height: 1.25;
  }
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 80px;
  background-color: #fff;
}

.nh-header__logo {
  display: flex;
  align-items: center;
}

#mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mobile-nav li {
  padding: 10px 20px;
}

#mobile-nav li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

button.nh-header__menu.menu-button {
  position: absolute;
  right: 30px;
}