/*--------------------------------------------------------------
# Desktop Navigation 
--------------------------------------------------------------*/
@media (min-width: 1280px) {
  .sizebar {
    padding: 0;
  }
  .sizebar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .sizebar li {
    position: relative;
  }
  .sizebar > ul > li {
    white-space: nowrap;
  }
  .sizebar a, .sizebar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 400;
    color: rgba(var(--color-secondary-dark-rgb), 0.7);
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }
  .sizebar a i, .sizebar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }
  .sizebar > ul > li > a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    visibility: hidden;
    transition: all 0.3s ease-in-out 0s;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
  }
  .sizebar a:hover:before, .sizebar li:hover > a:before, .sizebar .active:before {
    visibility: visible;
    transform: scaleX(0.7);
  }
  .sizebar a:hover, .sizebar .active, .sizebar .active:focus, .sizebar li:hover > a {
    color: var(--color-primary);
  }
  .sizebar .dropdown a:hover:before, .sizebar .dropdown:hover > a:before, .sizebar .dropdown .active:before {
    visibility: hidden;
  }
  .sizebar .dropdown a:hover, .sizebar .dropdown .active, .sizebar .dropdown .active:focus, .sizebar .dropdown:hover > a {
    color: var(--color-white);
    background: var(--color-secondary);
  }
  .sizebar .dropdown ul {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    margin: 0;
    padding: 0 0 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--color-secondary);
    transition: 0.3s;
  }
  .sizebar .dropdown ul li {
    min-width: 200px;
  }
  .sizebar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    color: rgba(var(--color-white-rgb), 0.5);
  }
  .sizebar .dropdown ul a i {
    font-size: 12px;
  }
  .sizebar .dropdown ul a:hover, .sizebar .dropdown ul .active:hover, .sizebar .dropdown ul li:hover > a {
    color: var(--color-white);
    background: var(--color-primary);
  }
  .sizebar .dropdown:hover > ul {
    opacity: 1;
    visibility: visible;
  }
  .sizebar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }
  .sizebar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}
@media (min-width: 1280px) and (max-width: 1366px) {
  .sizebar .dropdown .dropdown ul {
    left: -90%;
  }
  .sizebar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}
/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .sizebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: calc(100% - 70px);
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }
  .sizebar ul {
    position: absolute;
    inset: 0;
    padding: 10px 0;
    margin: 0;
    background: rgba(var(--color-secondary-rgb), 0.9);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }
  .sizebar a, .sizebar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(var(--color-white-rgb), 0.7);
    white-space: nowrap;
    transition: 0.3s;
  }
  .sizebar a i, .sizebar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }
  .sizebar a:hover, .sizebar .active, .sizebar .active:focus, .sizebar li:hover > a {
    color: var(--color-white);
  }
  .sizebar .dropdown ul, .sizebar .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    border: 1px solid rgba(var(--color-secondary-light-rgb), 0.3);
  }
  .sizebar .dropdown > .dropdown-active, .sizebar .dropdown .dropdown > .dropdown-active {
    display: block;
  }

  .mobile-nav-toggle {
    display: block !important;
    color: var(--color-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    top: 20px;
    z-index: 9999;
    right: 20px;
  }
  .mobile-nav-toggle.bi-x {
    color: var(--color-white);
  }

  .mobile-nav-active {
    overflow: hidden;
    z-index: 9995;
    position: relative;
  }
  .mobile-nav-active .sizebar {
    left: 0;
  }
  .mobile-nav-active .sizebar:before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(var(--color-secondary-rgb), 0.8);
    z-index: 9996;
  }
}
