/*****************************************************************************************************
* Menus Module: Toggle CSS
******************************************************************************************************/

/*
Mobile Menu Toggles
---------------------------------------------------------------------------------------------------- */

/* Menu Toggle: All
--------------------------------------------- */

.site-header .wrap {
  position: relative;
}

.bub-menu-toggle {
  background-color: transparent;
  cursor: pointer;
  height: 100%;
  padding: 0;
  position: absolute;
    top: 50%;
    right: 0;
  transform: translateY(-50%);
  /* transition: background-color 500ms, opacity 600ms cubic-bezier(0.68, -0.6, 0.32, 1.6); */
  transition: background-color 500ms;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 60px;
  z-index: 6;
}

.bub-modal-nav-open .bub-menu-toggle {
  opacity: 0 !important;
  transition-duration: 150ms;
}

.bub-menu-toggle.floating {
  background-color: rgba(0,0,0,0.6);
  border: none;
  border-bottom-left-radius: 10px;
  box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
  height: 60px;
  position: fixed;
    top: 0;
  transform: translateY(0);
  width: 64px;
}

.admin-bar .bub-menu-toggle.floating {
  top: 32px;
  transform: translateY(0);
}

.bub-modal-open .bub-menu-toggle.floating {
  visibility: hidden;
}

@media screen and (max-width: 782px) {

  .admin-bar .bub-menu-toggle.floating {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {

  .admin-bar .bub-menu-toggle.floating {
    top: 0;
  }
}


/* Menu Toggle: Image
--------------------------------------------- */

.bub-menu-toggle--image {
  background-image: url('../../../media/icons/ic-menu-hamburger-light.svg');
  background-repeat: no-repeat;
  background-position: 19px 19px;
  background-size: 22px;
  border-left: 1px solid #aaa;
  opacity: 0.8;
}

.bub-menu-toggle--image.floating {
  background-image: url('../../../media/icons/ic-menu-hamburger-light.svg');
  background-position: 21px 18px;
}


/* Menu Toggle: CSS
--------------------------------------------- */

/* Element Position */

.bub-menu-toggle--css {
  padding: 0 13px 0 15px;
}

/* Toogle Styles */

.bub-menu-toggle--css label {
  cursor: pointer;
  display: flex;
  font-size: 16px;
  flex-direction: column;
 }

.bub-menu-toggle--css label span {
  background: var(--theme1-color-def);
  /* To minimize cross-device sub-pixel rendering issues, set height to only 1px,
     then use transform-scale for line thickness and 'em's for everything else.
     Make it look good on Windows. No issues found with Android and iPhone. */
  height: 1px;
  margin: 0.25em 0;
  transform: scaleY(2.5);
}

.bub-menu-toggle--css.floating label span {
  background: #fff;
}

.bub-menu-toggle--css span:nth-of-type(1) {
  width: 60%;
}

.bub-menu-toggle--css span:nth-of-type(2) {
  width: 100%;
}

.bub-menu-toggle--css span:nth-of-type(3) {
  width: 80%;
}

/* Checkbox (hidden, controlling state) */

.bub-menu-toggle--css input[type="checkbox"] {
  display: none;
}

/* Animation: (optional 'close' state) */

/*
.bub-menu-toggle--css label span {
  transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.bub-menu-toggle--css input[type="checkbox"]:checked ~ span:nth-of-type(1) {
  transform-origin: bottom;
  transform: rotateZ(45deg) translate(8px,0px);
}

.bub-menu-toggle--css input[type="checkbox"]:checked ~ span:nth-of-type(2) {
  transform-origin: top;
  transform: rotateZ(-45deg)
}

.bub-menu-toggle--css input[type="checkbox"]:checked ~ span:nth-of-type(3) {
  transform-origin: bottom;
  transform: translate(30px,-11px) rotateZ(45deg);
  width: 50%;
}
*/
