/* Navigation
/*------------------------------------------------------------*/
:root {
    --ct-logo: url("../../images/ct-logo-s.svg") no-repeat top left;
    --gov-logo: url("../../images/civil-logo.svg") no-repeat top left;
    --logo-divider: 1px solid #E1E1E1;
  
    --nav-shadow: 0px 2px 10px 0px rgba(0, 0, 0, .1);
    --nav-light-shadow: 0px 0px 4px 0px rgba(0, 0, 0, .06);
  
    --subnav-bg: var(--gradient-blue);
    --subnav-anchor: #FFF;
    --subnav-anchor-hover: rgba(255, 255, 255, .85);
  }
  
  .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:after {
    content: "";
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: transparent;
    position: absolute;
    bottom: -4px;
    left: 0;
  }
  
  .navbar:not(.navbar--sub) .nav-link:hover:after,
  .navbar:not(.navbar--sub) .nav-link.active:after {
    background: var(--accent);
  } */
  
  .nav-link.dropdown-toggle .fas {
    vertical-align: -1px;
  }
  
  .navbar-expand-xl .navbar-nav .nav-link {
    padding: 2px 0.4rem;
  }
  
  @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;
  
    transition: box-shadow .2s ease-in-out;
  }
  
  .navbar.withTabs {
    box-shadow: var(--nav-light-shadow);
  }
  
  .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 {
    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;
    z-index: 1000;
  }
  
  .navbar--sub .nav-link {
    font-weight: 400;
    font-size: 14px;
    color: var(--subnav-anchor);
  }
  
  .navbar--sub .nav-link i {
    font-size: 14px;
  }
  
  .navbar--sub .nav-link:hover, .navbar--sub .nav-link:focus {
    color: var(--subnav-anchor-hover);
  }
  
  
  
  /* Logo
  /*------------------------------------------------------------*/
  .logo__ct {
    width: 89px;
    height: 24px;
  
    background: var(--ct-logo);
    background-size: 77px 24px;
  
    border-right: var(--logo-divider);
    padding-right: 12px; 
    margin-right: 12px; 
    display: inline-block;
  }
  
  .logo__civil {
    width: 94px;
    height: 24px;
    background: var(--gov-logo);
    background-size: 94px 24px;
    display: inline-block;
  }
  
  
  
  /* Nav Pills for Tabs e.g. Company Profile
  /*------------------------------------------------------------*/
  .nav-pills {
      margin-top: 0;
  }
  
  .nav-pills .nav-link {
    font-size: 14px;
    padding: 6px 12px;
    color: #333;
    border-bottom: 3px solid transparent;
    transition: color .3s ease-in-out, border-bottom-color .3s ease-in-out;
  }
  
  .nav-pills .nav-link:hover {
    color: #888;
  }
  
  .nav-pills .nav-link.active {
    color: var(--anchor);
    border-bottom-color: var(--anchor);
  }
  
  
  
  /* User Login
  /*------------------------------------------------------------*/
  .user__profilepic {
    margin-right: .4rem;
    border-radius: 50%;
    display: inline-block;
  }
  
  .user__name {
    max-width: 130px;
  }
  
  
  /* CT Message Nav Bar
  /*------------------------------------------------------------*/
  .navbar .right-nav .navbar-item--msg {
    position: relative;
    margin-right: 10px;
  }
  
  .navbar-collapse .navbar-nav .nav-item .notify-dot, .navbar .right-nav .notify-dot {
      width: 10px;
      height: 10px;
      border-radius: 10px;
      border: 2px solid #FFF;
      background-color: var(--error);
      position: absolute;
      right: -2px;
      top: 8px;
      display: none;
  }
  
  .right-nav .navbar-item .notify-dot {
    right: 5px;
    position: relative;
    top: -6px;
      display: block;
  }
  
  .navbar-collapse .navbar-nav .nav-item .notify-dot {
      right: 5px;
    top: 6px;
      display: block;
  }
  
  .navbar-collapse .navbar-nav .nav-item .notify-dot.show {
    display: block;
    left: 30px;
    right: unset;
      top: 10px;
  }
  
  .navbar .right-nav .notify-dot.show {
    display: block;
    right: 12px;
      top: 11px;
  }
  
  #notify-msg {
    padding-bottom: 9px;
    padding-top: 9px;
  }
  
  
  /* CT Message Nav Bar with Beta */
  /*------------------------------------------------------------*/
  .navbar-nav .nav-link i.cus-chating {
    display: flex;
    font-size: 18px;
  }
  
  .right-nav .message-beta {
    flex-direction: column;
    line-height: 0.4;
    text-align: center;
    margin-right: 8px;
  }
  
  .right-nav .message-beta .beta-container {
    display: flex;
  }
  
  .right-nav .message-beta .msg-container {
    display: flex;
    padding-top: 3px;
  }
  
  .right-nav .message-beta .msg-container .cus-icon {
    left: 5px;
  }
  
  .right-nav .message-beta .msg-container .notify-dot {
    top: -1px;
    right: -1px;
  }
  
  .right-nav .msg-container .notify-dot {
    top: -4px;
    right: -4px;
  }
  
  .navbar-collapse .navbar-nav .ct-msg .notify-dot {
    top: -4px;
    right: -4px;
  }
  
  .navbar-collapse .navbar-nav .ct-msg {
    flex-direction: column;
    line-height: 0.4;
    text-align: center;
    padding: 9px 16px;
  }
  
  .right-nav .message-beta .beta,
  .navbar-collapse .navbar-nav .message-beta .beta {
    background-color: transparent;
    color: #f4aa1a;
    font-size: 9px;
    margin-left: 0;
  }
  
  .navbar-collapse .navbar-nav .message-beta .beta {
    position: absolute;
    top: -2px;
  }
  
  .navbar-collapse .navbar-nav .message-beta .notify-dot {
    top: -2px;
    right: -4px;
  }
  
  .navbar-collapse .navbar-nav .message-beta .cus-icon-container {
    display: flex;
    align-items: center;
  }
  
  
  /* Sidebar e.g. Company Profile
  /*------------------------------------------------------------*/
  .sidebar {
    padding: 0 !important;
  }
  
  .sidebar .nav-link {
    font-size: 13px;
    color: #333;
    width: 100%;
    padding: 5px 0 5px 15px;
    position: relative;
  }
  
  .sidebar .nav-link:hover {
    color: #888;
  }
  
  .sidebar .nav-link::before {
    font-family: "Font Awesome 5 Free";
    font-size: 16px;
    content: "\f0da";
    color: transparent;
    position: absolute;
    left: 0;
    top: 2px;
    transition: background-color .3s ease-in-out;
  }
  
  .sidebar .nav-link.active {
    color: #44A967;
  }
  
  .sidebar .nav-link.active::before {
    color: #44A967;
  }
  
  
  /* Navbar Banner */
  /*------------------------------------------------------------*/
  .navbar-banner {
    width: 100%;
    text-align: center;
  }
  
  .navbar-banner-l {
    background-color: var(--bg);
    display: block;
    z-index: 1001;
  }
  
  .navbar-banner img {
    max-width: 100%;
  }
  
  .navbar-banner-xl {
    display: none;
  }
  
  
  @media (min-width: 320px) {
    .logo__ct {
      width: 102px;
      height: 28px;
      background-size: 90px 28px;
    }
    
    .logo__civil {
      width: 110px;
      height: 28px;
      background-size: 110px 28px;
    }
  }
  
  @media (max-width: 1200px) {
    .navbar .right-nav {
      display: flex;
      flex-direction: row;
    }
  }
  
  @media (min-width: 1200px) {
    .navbar-brand { 
      margin: 0; 
    }
  
    .navbar {
      padding: .8rem 1rem;
      padding-right: 5px;
      position: relative;
      box-shadow: none;
    }
  
    .navbar--sub {
      padding: .3rem;
      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 {
      font-size: 14px;
      padding-right: 0.5rem;
      padding-left: 0.5rem;
    }
  
    .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: 131px;
      height: 36px;
      background-size: 116px 36px;
    
      padding-right: 15px; 
      margin-right: 15px; 
    }
  
    .logo__civil {
      width: 141px;
      height: 36px;
      background-size: 141px 36px;
    }
  
    .navbar.withTabs {
      box-shadow: var(--nav-shadow);
    }
  
    .nav-pills .nav-link {
      font-size: 15px;
      padding: 8px 16px;
    }
  
    .navbar-collapse .navbar-nav .nav-item .notify-dot.show {
      top: 6px;
    }
  }
  
  @media (min-width: 1320px) {
    .navbar-expand-xl .navbar-nav .nav-link {
      font-size: 15px;
      padding-right: 0.7rem;
      padding-left: 0.7rem;
    }
  
    .navbar-collapse .navbar-nav .ct-msg {
      padding: 10px 16px;
    }
  
    .navbar-collapse .navbar-nav .ct-msg {
      padding: 10px 16px;
    }
  }
  
  @media (min-width: 1800px) {
    .navbar-banner {
      position: absolute;
      right: 200px;
      width: unset;
    }
  
    .navbar-banner-l {
        display: none;
    }
  
    .navbar-banner-xl {
        display: flex;
    }
  
    .navbar-member .navbar-banner {
      right: 260px;
    }
  }