:root {
  --ct-logo: url("/images/general/ct-logo.svg") no-repeat top left;
  /*--ct-logo: url("../images/ct-logo.svg") no-repeat top left;*/
  --logo-divider: 1px solid #E1E1E1;

  --nav-shadow: 0px 2px 10px 0px rgba(0, 0, 0, .1);

  --subnav-bg: var(--gradient-blue);
  --subnav-anchor: #FFF;
  --subnav-anchor-hover: rgba(255, 255, 255, .85);
}

body.dark {
  --ct-logo: url("/images/general/ct-logo-w.svg") no-repeat top left;

  --nav-shadow: 0px 2px 10px 0px rgba(0, 0, 0, .35);

  --subnav-bg: #222020;
}


/* Navigation
/*------------------------------------------------------------*/
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
  
.nav-link {
  font-size: 15px;
  color: var(--anchor);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  position: relative;
  display: block;
}

.nav-link.active:after {
  content: "";
  width: 100%;
  height: 3px;
  background: var(--accent);
  position: absolute;
  bottom: -4px;
  left: 0;
}

.nav-link.dropdown-toggle .fas {
  vertical-align: -1px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-link {
    transition: none;
  }
}

.nav-link:hover, .nav-link:focus {
  color: var(--anchor-hover);
}

.nav-link.disabled {
  color: #6c757d;
  pointer-events: none;
  cursor: default;
}

.navbar {
  background-color: var(--bg);
  padding: .3rem .5rem;
  box-shadow: var(--nav-shadow);

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;

  position: sticky;
  top: 0;
  z-index: 1001;
}

.navbar > .container,
.navbar > .container-fluid,
.navbar > .container-sm,
.navbar > .container-md,
.navbar > .container-lg,
.navbar > .container-xl,
.navbar > .container-xxl {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin: 0 auto;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
}

.navbar-nav .nav-link i {
  font-size: 16px;
}

.navbar-nav .dropdown-menu {
  position: static;
}

.navbar-text {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  background-color: transparent;
  color: var(--anchor);
  border: 0;
  transition: color .3s ease-in-out;
}

.navbar-toggler:hover {
  color: var(--anchor-hover);
  cursor: pointer;
  text-decoration: none;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
}

.navbar-nav-scroll {
  max-height: var(--bs-scroll-height, 75vh);
  overflow-y: auto;
}




/* Sub Navigation
/*------------------------------------------------------------*/
.navbar--sub {
  background: var(--subnav-bg);
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, .1);
  position: relative;
}

.navbar--sub .nav-link {
  font-weight: 400;
  color: var(--subnav-anchor);
}

.navbar--sub .nav-link:hover, .navbar--sub .nav-link:focus {
  color: var(--subnav-anchor-hover);
}

.dark .navbar--sub::before {
  content: "";
  width: 100%;
  height: 4px;
  background: var(--gradient-blue);
  position: absolute;
  top: 0;
  left: 0;
}



/* Logo
/*------------------------------------------------------------*/
.logo__ct {
  width: 100px;
  height: 28px;
  background: var(--ct-logo);
  background-size: 90px 28px;
  display: inline-block;
}


/* User Login
/*------------------------------------------------------------*/
.user__name {
  max-width: 130px;
}



@media (min-width: 576px) {

}

@media (min-width: 768px) {

}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {
  .navbar-brand { 
    margin: 0; 
  }

  .navbar {
    padding: .8rem 1rem;
    position: relative;
    box-shadow: none;
  }

  .navbar--sub {
    padding: .4rem 1rem;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, .1);
  }

  .navbar--sub .dropdown-menu {
    left: 0;
  }

  .navbar-expand-xl {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-xl .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-xl .navbar-nav .dropdown-menu {
    position: absolute;
  }

  .navbar-expand-xl .navbar-nav .nav-link {
    padding-right: 0.7rem;
    padding-left: 0.7rem;
  }

  .navbar-expand-xl .navbar-nav-scroll {
    font-size: 1rem;
    visibility: visible;
  }

  .navbar-expand-xl .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-xl .navbar-toggler {
    display: none;
  }

  /* Logo */
  .logo__ct {
    width: 169px;
    height: 48px;
    background-size: 154px 48px;
  }
}