



/* SEARCH BAR */

.sidebar .search_form{
  margin: auto 15px;
  flex: 40%;
}

.sidebar .search-box {
  position: relative;
  width: 100%;
  /* max-width: 360px; */
  /* height: 40px; */
  border-radius: 120px;
  margin: 5px auto;
}

.sidebar .search-icon, .go-icon {
  height: 40px;
  width: 60px;
  line-height: 47px;
  text-align: center;
  color: #fff;
}
.sidebar .search-icon {
  left: 0;
  pointer-events: none;
  font-size: 1.22em;
  margin-bottom: -38px;
}

/* .go-icon {
  right: 0;
  pointer-events: none;
  font-size: 1.38em;
  will-change: opacity;
  cursor: default;
  opacity: 1;
  color: #fff;

} */

.sidebar #search {

  width: 100%;
  border-radius: 120px;
  border: none;
  background: rgba(255,255,255,0);
  padding: 5px 68px;
  color: var(--secondary);
  font-size: 1.32em;
  font-weight: 400;
  letter-spacing: -0.015em;
  outline: none;
  border: solid var(--secondary);
}
.sidebar #search::-webkit-input-placeholder {color: var(--secondary);}
.sidebar #search::-moz-placeholder {color: var(--secondary);}
.sidebar #search:-ms-input-placeholder {color: var(--secondary);}
.sidebar #search:-moz-placeholder {color: var(--secondary);}
.sidebar #search::-moz-selection {color: var(--secondary); background: var(--primary);}
.sidebar #search::selection {color: var(--secondary); background: var(--primary);}


.sidebar{
position: sticky;
top: 0;
left: 0;
height: 75px;
width: 100%;
background: var(--primary);
z-index: 900;
transition: all 0.3s ease;

/* display: flex; */
}

.header_fixed{
  display: inline-flex;
  width: 100%;
}

.sidebar .logo-details{
  height: 75px;
  flex: 10%;
  margin-left: 15%;
}

/* BURGER MENU */

.header_fixed .burger-menu {
  display: none;
  /* position: fixed;
  top: 0; right: 0;
  bottom: 0; left: 0; */
  overflow-y: hidden;
  z-index: 99;
}

.header_fixed .main-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  text-align: center;
  background: #FFF;
  opacity: 0;
  z-index: -1;
  visibility: hidden;
  transition: all .375s;
}

.header_fixed .main-nav.is-open {
  opacity: 1;
  z-index: 100;
  visibility: visible;
}

/* Yellow band effect */
.header_fixed .main-nav::before {
 content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: -15px;
  background: var(--primary);
  transform-origin: 0 0;
  transform: skew(-14deg) translateX(-120%);
  transition: all .275s .1s;
}

.header_fixed .main-nav.is-open::before {
  transform: skew(-14deg) translateX(0);
}

/* Skewing effect on menu links */
.header_fixed .main-nav ul {
  display: inline-flex;
  flex-direction: column;
  height: 93%; /* Should be 100%, but we have a notice message :D */
  align-items: flex-end;
  justify-content: center;
  transform: translateX(-18%) skew(-16deg);
}

.header_fixed .main-nav li {
  display: block;
  margin: .5rem 0;
  text-align: right;
  transform: skew(16deg);
}

/* Apparition effect on links */
.header_fixed .main-nav a {
  opacity: 0;
  transform: translateY(-10px);
}

.header_fixed .main-nav.is-open a {
  opacity: 1;
  transform: translateY(0);
}
.header_fixed .main-nav li:nth-child(1) a {
transition: all 275ms 175ms
}
.header_fixed .main-nav li:nth-child(2) a {
transition: all 275ms 225ms
}
.header_fixed .main-nav li:nth-child(3) a {
transition: all 275ms 275ms
}
.header_fixed .main-nav li:nth-child(4) a {
transition: all 275ms 325ms
}
.header_fixed .main-nav li:nth-child(5) a {
transition: all 275ms 375ms
}


/* Decoration */
.header_fixed .main-nav ul,
.header_fixed .main-nav li {
list-style: none;
padding: 0;
}

.header_fixed .main-nav a {
display: block;
padding: 12px 0;
color: var(--lahti_red);
font-size: 1.4em;
text-decoration: none;
font-weight: bold;
}

/* Burger Style: @see: https://codepen.io/CreativeJuiz/full/oMZNXy */
.header_fixed .open-main-nav {
  position: absolute;
  top: 20px;
  padding-top: 20px;
  left: 15px;
  z-index: 1000;
  background: none;
  border: 0;
  cursor: pointer;
}

.header_fixed .open-main-nav:focus {
  outline: none;
}

.header_fixed .burger {
  position: relative;
  display: block;
  width: 28px;
  height: 4px;
  margin: 0 auto;
  background: var(--lahti_red);
  transform: skew(5deg);
  transition: all .275s;
}

.header_fixed .burger:after,
.header_fixed .burger:before {
  content: '';
  display: block;
  height: 100%;
  background: var(--lahti_red);
  transition: all .275s;
}

.header_fixed .burger:after {
  transform: translateY(-12px) translateX(-2px) skew(-20deg);
}

.header_fixed .burger:before {
  transform: translateY(-16px) skew(-10deg);
}

/* Toggle State part */
.header_fixed .is-open .burger {
  transform: skew(5deg) translateY(-8px) rotate(-45deg);
}

.header_fixed .is-open .burger:before {
  transform: translateY(0px) skew(-10deg) rotate(75deg);
}

.header_fixed .is-open .burger:after {
  transform: translateY(-12px) translateX(10px) skew(-20deg);
  opacity: 0;
}

.sidebar .logo-details img{
  width: 150px;
  height: 100%;
  cursor: pointer;
  margin-left: 50px;
}


.sidebar .nav-links{
height: 100%;
/* padding: 30px 0 150px 0; */
/* overflow: auto; */
display: flex;
flex: 20%;
align-items: center;
height: 75px;
margin-right: 15%;
justify-content: end;
}

.sidebar .nav-links::-webkit-scrollbar{
display: none;
}
.sidebar .nav-links li{
  position: relative;
  list-style: none;
  transition: all 0.3s ease;
  margin: 0px 10px;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
}

/* .sidebar .nav-links li:hover{
background: var(--primary);
} */



.sidebar .nav-links li .iocn-link{
display: flex;
align-items: center;
justify-content: space-between;
}

.sidebar .nav-links li i{
height: 50px;
min-width: 30px;
text-align: center;
line-height: 50px;
color: var(--secondary);
font-size: 20px;
cursor: pointer;
transition: all 0.3s ease;
}
.sidebar .nav-links li.showMenu i.arrow{
transform: rotate(-180deg);
}

.sidebar .nav-links li a{
display: flex;
align-items: center;
text-decoration: none;
}
.sidebar .nav-links li a .link_name{
font-size: 18px;
font-weight: 400;
color: var(--secondary);
transition: all 0.3s ease;
}

.one {
width: 80%;
margin-left: 10%;
background-color: var(--primary);
height: 400px;
}

.sidebar .profile-details{
bottom: 0;
display: flex;
align-items: center;
justify-content: space-between;
background: var(--primary);
transition: all 0.3s ease;
/* transition-delay: 0.3s; */

}

.nav-links hr{
  width: 75%; 
  margin: 5px auto;
  color: var(--third);
}

.sidebar .profile-details .profile-content{
  display: flex;
  align-items: center;
  cursor: pointer;
}

.sidebar .profile-details img{
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 14px 0 12px;
  background: var(--third);
  transition: all 0.3s ease;
}

.sidebar .profile-details .profile_name,
.sidebar .profile-details .job{
  color: var(--secondary);
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.sidebar .profile-details .job{
  font-size: 12px;
}

.home-section{
  position: relative;
  background: var(--background);
  height: 100vh;
  left: 260px;
  width: calc(100% - 260px);
  transition: all 0.5s ease;
}

.home-section .home-content{
  height: 60px;
  display: flex;
  align-items: center;
}

.home-section .home-content .bx-menu,
.home-section .home-content .text{
  color: var(--primary);
  font-size: 35px;
}

.home-section .home-content .bx-menu{
  margin: 0 15px;
  cursor: pointer;
}

.home-section .home-content .text{
  font-size: 26px;
  font-weight: 600;
}

.cart_items_span{
  margin-left: -33px;
  padding: 3px;
  background: var(--a_warning);
  margin-top: -17px;
  color: #FFF;
  border-radius: 50%;
  font-weight: bold;
  border: 1px solid #fff;
  text-align: center;
}

/* SECOND SIDEBAR */

.second_sidebar{
  /* position: sticky; */
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background: var(--lahti_red);
  z-index: 100;
  transition: all 0.3s ease;
  /* border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px; */
  display: flex;
  margin-bottom: 15px;
  
  
  }
    
 
  
  .second_sidebar .nav-links::-webkit-scrollbar{
  display: none;
  }
  .second_sidebar .nav-links .nav_li{
    position: relative;
    list-style: none;
    transition: all 0.3s ease;
    margin: 0px 15px;    
  }
  
  .second_sidebar .nav-links .nav_li .iocn-link{
  display: flex;
  align-items: center;
  justify-content: space-between;
  }

  
  .second_sidebar .nav-links .nav_li .nav_item{
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 30px;
  }

 

  .second_sidebar .nav-links .nav_li .nav_item .link_name{
    font-size: 18px;
    font-weight: 400;
    color: #bbbbbb;
    transition: all 0.3s ease;
  }



  

  .second_sidebar .nav-links .nav_item:after {    
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #fff;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
  }
  .second_sidebar .nav-links .nav_item:hover:after { 
    width: 100%; 
    left: 0; 
    color: #fff;
  }

  .second_sidebar .nav-links .nav_li .nav_item .link_name:hover { 
    color: #fff;
  }
  
  .second_sidebar .nav-links{
    height: 100%;
    /* padding: 30px 0 150px 0; */
    /* overflow: auto; */
    display: flex;
    align-items: center;
    height: 50px;
  
  }

  /* CATEGORIES */

  .second_sidebar .nav-links .nav_li:nth-child(1) { 
    padding: 10px 0px;
    width: 145px;
  }

  /* Style the submenus */
.second_sidebar ul li ul {
  position: absolute;
  display: none;
  flex-direction: column;
  background-color: var(--background2);
  margin-top: 10px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.19), 0 1px 1px rgba(0,0,0,0.23);
  z-index: 100;
  min-width: 145px;
}

.second_sidebar ul ul .nav_categories {
  width: max-content;
  min-width: 100%;
  max-width: 200px;
  padding: 8px 12px;
  list-style: none;
}

.second_sidebar ul ul .nav_categories a{
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;

}

.second_sidebar ul ul .nav_categories:hover{
  background: rgb(238,238,238);
  background: linear-gradient(90deg, rgba(238,238,238,1) 0%, rgba(219,219,219,1) 100%); 
  box-shadow: none;

  /* border-top: 1px solid var(--background);
  border-bottom: 1px solid var(--background); */

}

.second_sidebar ul li:hover > ul {
  display: flex; /* Show submenus on hover */
}

/* Style the third-level submenu */
.second_sidebar ul ul ul {
  top: -5%;
  left: 100%;
  background-color: var(--background);
  box-shadow: 0 1px 0 rgba(0,0,0,0.19), 0 1px 0 rgba(0,0,0,0.23);
  
}

.second_sidebar ul ul ul li {
  list-style: none;
  padding: 8px 12px;
  width: max-content;
  min-width: 100%;
  max-width: 200px;
  font-weight: 500;

}

.second_sidebar ul ul ul li a{
	transition: all 0.3s ease;
}

.second_sidebar ul ul ul li:hover a{
  padding-left: 5px;
}

@media screen and (max-width: 830px) {

  .sidebar .logo-details{
    margin-left: 5px;
  }

  .sidebar .nav-links{
    margin-right: 5px;
  }

  .sidebar .nav-links li{
    margin: 0px 2px;
    padding: 5px;
  }

  .sidebar .nav-links a span{
    display: none;
  }
}
 

@media screen and (max-width: 570px) {

.sidebar{
  position: static;
  height: 110px;
  margin-bottom: 15px;
}

.sidebar .logo-details {
  position: absolute;
  left: 0;
  top: 0;
}

.header_fixed .burger-menu {
  display: block;
}

.sidebar .nav-links {
  position: absolute;
  right: 0;
  top: 0;
}

.sidebar .search_form {
  margin: 55px 5px 0px 5px;
  flex: 100%;
}

.second_sidebar{
  display: none;
  height: 68px;
  /* border-radius: 25px; */
}

}


