
/* ------------------ menu boczne ------------------ */
.menu-boczne {
  margin: 0 auto; 
  display: flex; 
  flex-wrap: wrap; 
  padding: 0; 
  float: left; 
  width: 20rem; 
  float: left; 
  min-width: 15rem; 
}
.menu.menu-mid {
  border: 0;
  background-color: var(--white);
  font-size: 1rem; 
  padding: 1.5rem;
  text-transform: uppercase;
  width: 100%;
  max-width: 300px;
  line-height: 1.425rem;
  transition: all ease-in-out 250ms; 
}
.menu-mid ul { 
  list-style: none; 
  margin: 0 0 2rem; 
  padding: 0;
}

.menu-mid ul li a {
  text-decoration: none;
  color: var(--text1); 
}

.menu-mid ul li.level1 > a {
  padding: .5rem .75rem;
  background: var(--bkg6);
  color: var(--white);
  font-weight: 700;
  font-size: 1.225rem;
  display: block;
  
}
.menu-mid ul li.level2:first-of-type {
  padding-top: .725rem;
}

.menu-mid ul li.level2 {
  padding: .225rem;
}

.menu-mid ul li.level2 a {
  /* line-height: 1.5rem;  */
  font-weight: 700;
  font-size: .825rem;
  white-space: pre-line;
  padding: 0;
}

.menu-mid ul li.level2 a:hover {
  color: var(--bkg6);
}

#togglesub {
  display: none;
}


@media (max-width: 992px) {
  .menu-boczne {
    width: 100%;
    float: none; 
    clear: both;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .menu-boczne .menu-mid {
    display: none;
  }

  .menu-boczne.toggle-open  .menu-mid  {
    max-width: 100%;
    display: block;
  }
  #togglesub {
    width: 100%;
    background: var(--bkg1);
    display: flex;
    justify-content: space-around;
    border: 1px solid var(--bkg6);
    align-items: center;
    margin-top: 1rem;
  }
  #togglesub:hover {
    background:var(--bkg6);
    color: var(--white);
  }
  #togglesub:hover a {
    color: var(--white);
  }
  #togglesub .title {
    flex-grow: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2rem;
    padding: .5rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--text2);
  }
  #togglesub .icon {
    transform: rotate(90deg);
    margin-right: 0.725rem;
  }

}