body { 
  -webkit-animation: bugfix infinite 1s; 
}

@-webkit-keyframes bugfix { 
  from {padding:0;} 
  to {padding:0;} 
}


div#navtoggler{  /* Sample burger icon to toggle menu state */
  z-index: 9;
  display: block;
  position: absolute;
  font-size: 8px;
  /* change font size to change label dimensions. Leave width/height below alone */
  width: 4em;
  height: 23px;
  right: 40px;
  text-indent: -1000px;
  border: 0.4em solid #fff;
  border-width: 0.4em 0;
  cursor: pointer;
top: 33px;
    transform: translateY(-45%);
}


div#navtoggler::before{ /* Sample burger icon */
  /* inner strip inside label */
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 0.4em;
  top: 50%;
  margin-top: -0.2em;
  left: 0;
  background: #fff; /* stripes background color. Change to match border color of parent label above */
}

nav.ddfullscreenmenu{ /* Full screen nav menu */
  height: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  //-webkit-transform: scale(0.9);  /* initially scale down nav size */
  transform: scale(0.9);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  top: 0;
  left: 0;
  padding-top: 20px;
  z-index: 0;
  overflow: hidden;
  text-align: center;
  //-webkit-transition: visibility 0s 0.5s, opacity 0.5s, -webkit-transform 0.5s;
  //transition: visibility 0s 0.5s, opacity 0.5s, transform 0.5s;
}

nav.ddfullscreenmenu.openmenu{ /* open menu class */
	visibility: visible;
	opacity: 1;
  z-index: 99999;
  -webkit-transition-delay: 0s;
  -transition-delay: 0s;
}


nav.ddoverlaymenu{ /* Full screen nav menu */
  width: 100%;
  visibility: hidden;
  -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  -webkit-transform: scale(0.9);  /* initially scale down nav size */
  transform: scale(0.9);
  background: #425cbb; /* menu background color */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px 30px 0;
  z-index: 0;
  opacity: 0;
  overflow: hidden;
  overflow-y: auto;
  -webkit-transition: visibility 0s 0.5s, opacity 0.5s, -webkit-transform 0.5s;
  transition: visibility 0s 0.5s, opacity 0.5s, transform 0.5s;
}

nav.ddoverlaymenu.openmenu{ /* open menu class */
	visibility: visible;
	-webkit-transform: scale(1);
	transform: scale(1);
	opacity: 1;
  z-index: 99999;
  -webkit-transition-delay: 0s;
  -transition-delay: 0s;
}

nav#ddfullscreenmenu div#closex{ /* Large x close button inside nav */
  width: 50px;
  height: 50px;
	overflow: hidden;
  display: block;
  position: absolute;
  cursor: pointer;
	text-indent: -1000px;
  z-index: 10;
  top: 5px;
  right: 5px;
}

nav#ddfullscreenmenu div#closex::before, nav div#closex::after{ /* render large cross inside close button */
  content: "";
  display: block;
  position: absolute;
  width: 60%;
  height: 3px;
  background: #eee;
  top: 50%;
  margin-top: -3px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

nav#ddfullscreenmenu div#closex::after{ /* render large cross inside close button */
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}


div#ulwrapper{
  position: relative;
  width: 500px; /* menu UL width */
  -webkit-perspective: 500px;
  perspective: 500px;
  -webkit-perspective-origin: 50%;
  perspective-origin: 50%;
}
.fullscreen_ulwrapper{
  margin: auto;
}
nav#ddfullscreenmenu ul{
  list-style: none;
  padding: 0;
  position: relative;
  width: 100%;
  max-height: 100%;
  font: bold 2em 'Bitter', sans-serif; /* use google font inside nav UL */
	-webkit-transition: all 0.5s .1s;
	transition: all 0.5s .1s;
}
nav.ddfullscreenmenu ul{
  margin: 50px 0 0;
}

nav#ddfullscreenmenu ul li{
  margin-bottom: 20px;
  position: relative;
  display: block;
}

nav#ddfullscreenmenu ul li.header > a:after{ /* right arrow inside header LIs */
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: 8px solid #eee;
  border-color: transparent transparent transparent #eee;
}

nav#ddfullscreenmenu ul.submenu{ /* style for non "first page" ULs */
  position: absolute;
  top: 0;
  left: 0;
	opacity: 0;
  pointer-events: none;
  transform: translate3d(100%, 0, 0);
}

nav#ddfullscreenmenu ul li a,
nav#ddfullscreenmenu ul li.breadcrumb{
	text-decoration: none;
  color: #eee; /* link color */
  text-transform: uppercase;
  padding: 10px;
  display: block;
  border-radius: 20px;
  cursor: pointer;
}

nav#ddfullscreenmenu ul li.breadcrumb{
  background: none;
  position: relative;
}
nav.ddoverlaymenu ul li.breadcrumb{
padding-left: 35px !important;
}
nav.ddoverlaymenu ul li.breadcrumb:after{
left:0 !important;
}
nav#ddfullscreenmenu ul li.breadcrumb:after{ /* back arrow inside breadcrumb LI */
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid #eee;
  border-color: transparent #eee transparent transparent;
}

nav#ddfullscreenmenu ul.hidemenu{
  transform: rotateY(30deg) translateZ(-5px) !important;
  opacity: 0;
  pointer-events: none;
}

nav#ddfullscreenmenu ul.showmenu{
  transform: translate3d(0,0,0) !important;
  opacity: 1 !important;
  pointer-events: auto;
}
ul#fullscreenmenu-ul .menu-item-cart {
    display: none;
    opacity: 0;
}
.left-overlay-menu ul#primary_menu li {
    list-style: none;
}
.sidenav {
    height: 100%;
    z-index: 99;
    position: fixed;
    top: 0;
    background-color: #111;
    transition: 0.5s;
    padding-top: 60px;
    -o-transition: all 1s;
    -webkit-transition: all 1s;
    transition: all 1s;

    width: 360px;
}
.sidenav-left{
    margin-left: -315px;
    left:0;
}
.sidenav-right{
    margin-right: -315px;
    right: 0;
    padding-left: 30px;
}
.sidenav-left .overlay-menu-open{
    right: 7px;
}
.sidenav-right .overlay-menu-open{
    left: 7px;
}
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 10px;
    right: 5px;
    font-size: 28px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
.left-overlay-menu li.menu-item.menu-item-search, .left-overlay-menu li.menu-item.menu-item-cart{
    display: none;
}
.left-overlay-menu-logo {
    margin: 15px 0 30px;
}
.overlay-menu-open {
    z-index: 9;
    position: absolute;
top: 20px;
}

#mySidenav.vertical-active-left {
    margin-left: 0;
}
#mySidenav.vertical-active-right {
    margin-right: 0;
}

/* Menu Hamburger Icon Animations */

#nav-icon2 {
    width: 30px;
    height: 27px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 1s ease-in-out;
  -moz-transition: 1s ease-in-out;
  -o-transition: 1s ease-in-out;
  transition: 1s ease-in-out;
  cursor: pointer;
}

#nav-icon2 span {
display: block;
    position: absolute;
    height: 3px;
    width: 50%;
    background: #d3531a;
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

#nav-icon2 span:nth-child(even) {
  left: 50%;
  border-radius: 0 9px 9px 0;
}

#nav-icon2 span:nth-child(odd) {
  left:0px;
  border-radius: 9px 0 0 9px;
}

#nav-icon2 span:nth-child(1), #nav-icon2 span:nth-child(2) {
  top: 0px;
}

#nav-icon2 span:nth-child(3), #nav-icon2 span:nth-child(4) {
  top: 10px;
}

#nav-icon2 span:nth-child(5), #nav-icon2 span:nth-child(6) {
  top: 20px;
}

#nav-icon2.open-icon span:nth-child(1),#nav-icon2.open-icon span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon2.open-icon span:nth-child(2),#nav-icon2.open-icon span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon2.open-icon span:nth-child(1) {
    left: 2px;
    top: 10px;
}

#nav-icon2.open-icon span:nth-child(2) {
left: calc(50% - 4px);
    top: 10px;
}

#nav-icon2.open-icon span:nth-child(3) {
    left: -50%;
    opacity: 0;
}

#nav-icon2.open-icon span:nth-child(4) {
    left: 100%;
    opacity: 0;
}

#nav-icon2.open-icon span:nth-child(5) {
    left: 2px;
    top: 19px;
}

#nav-icon2.open-icon span:nth-child(6) {
left: calc(50% - 4px);
    top: 19px;
}
.verticle-menu-right {
    padding-right: 45px;
}
.verticle-menu-left {
    padding-left: 45px;
}