#burger {
    position: relative;
    z-index: 9999;
    padding: 2px; 
    
}

#burger-nupp {
    top: 3.25px;    
}



/* Style1 algus */
.style1 #burger-nupp {
    width: 25px;
    height: 25px;
    cursor: pointer;
    outline: 0; !important;
    position: relative;
    
}

.style1 .bar {
    height: 2px;
    width: 25px;
    display: block;
    border-radius: 5px;
    transition: 0.3s ease;
    margin: 4px 0;
}

.style1 #bar2 {
    width: 25px;
    position: relative;
    
}

.style1 .bar {
    background-color: <?php echo esc_attr( get_theme_mod( 'my_burger_menu_bars_color', '#ffffff' ) ); ?>;
}

.style1 #bar1 {
    transform: translateY(-4px);
}

.style1 #bar3 {
    transform: translateY(4px);
}

.style1 .change #bar1 {
    transform: translateY(6px) rotateZ(-45deg);
}

.style1 .change #bar3 {
    transform: translateY(-6px) rotateZ(45deg);
}

.style1 .change #bar2 {
    background-color: transparent;
}
/* Style1 lõpp */

/* Style2 algus */
.style2 #burger-nupp {
    width: 25px;
    height: 25px;
    cursor: pointer;
    outline: 0; !important;
    position: relative;
}

.style2 .bar {
    height: 2px;
    width: 25px;
    display: block;
    border-radius: 5px;
    transition: 0.3s ease;
    margin: 4px 0;
}

.style2 #bar2 {
    width: 17.5px;
    position: relative;
    left: 7.5px;
    
}

.style2 .bar {
    background-color: <?php echo esc_attr( get_theme_mod( 'my_burger_menu_bars_color', '#ffffff' ) ); ?>;
}

.style2 #bar1 {
    transform: translateY(-4px);
}

.style2 #bar3 {
    transform: translateY(4px);
}

.style2 .change #bar1 {
    transform: translateY(6px) rotateZ(-45deg);
}

.style2 .change #bar3 {
    transform: translateY(-6px) rotateZ(45deg);
}

.style2 .change #bar2 {
    background-color: transparent;
}
/* Style2 lõpp */

/* Style3 algus */
.style3 #burger-nupp {
    width: 25px;
    height: 25px;
    cursor: pointer;
    outline: 0; !important;
    position: relative;
}

.style3 .bar {
    height: 2px;
    width: 25px;
    display: block;
    border-radius: 5px;
    transition: 0.3s ease;
    margin: 4px 0;
}

.style3 #bar2 {
    width: 17.5px;
    position: relative;
    left: 0;
    
}

.style3 .bar {
    background-color: <?php echo esc_attr( get_theme_mod( 'my_burger_menu_bars_color', '#ffffff' ) ); ?>;
}

.style3 #bar1 {
    transform: translateY(-4px);
}

.style3 #bar3 {
    transform: translateY(4px);
}

.style3 .change #bar1 {
    transform: translateY(6px) rotateZ(-45deg);
}

.style3 .change #bar3 {
    transform: translateY(-6px) rotateZ(45deg);
}

.style3 .change #bar2 {
    background-color: transparent;
}
/* Style3 lõpp */

/* Style4 algus */
.style4 #burger-nupp {
    width: 25px;
    height: 25px;
    cursor: pointer;
    outline: 0; !important;
    padding-top: 10px;
}

.style4 .bar {
    height: 2px;
    width: 25px;
    display: block;
    border-radius: 5px;
    transition: 0.3s ease;
}

.style4 #bar2 {
    display: none;
    
}

.style4 .bar {
    background-color: <?php echo esc_attr( get_theme_mod( 'my_burger_menu_bars_color', '#ffffff' ) ); ?>;
}

.style4 #bar1 {
    transform: translateY(-4px);
    margin: 0;
    padding: 0;
    position: relative;
    top: 0px;
}

.style4 #bar3 {
    transform: translateY(4px);
}

.style4 .change #bar1 {
    transform: translateY(1px) rotateZ(-45deg);
}

.style4 .change #bar3 {
    transform: translateY(-1px) rotateZ(45deg);
}

.style4 .change #bar2 {
    display: none;
}
/* Style4 lõpp */

#menu-bg {
    overflow-y: auto;   /* lubab vertikaalse scrolli */
    -webkit-overflow-scrolling: touch; /* smooth scroll mobiilis */
}

.menu-bg.slide-right {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 100%;      /* või 100% täisekraaniks */
    max-width: 100%;
    height: 100%;
    transform: translateX(100%); /* alguses ekraanist välja */
    transition: transform 0.3s ease;
     
}

.menu-bg.slide-right.change-bg {
    transform: translateX(0);
}


.menu-bg.slide-left {
    position: fixed;
    top: 0;
    left: 0;             /* alguses vasakult */
    right: auto;
    width: 100%;         /* külgriba laius */
    max-width: 100%px;
    height: 100%;
    transform: translateX(-100%); /* alguses ekraanist välja vasakule */
    transition: transform 0.3s ease;
}

.menu-bg.slide-left.change-bg {
    transform: translateX(0); /* menüü avaneb */
}

.menu-bg.slide-top {
    position: fixed;
    top: 0;
    left: 0;             /* alguses vasakult */
    right: 0;
    width: 100%;         /* külgriba laius */
    max-width: 100%px;
    height: 100%;
    transform: translateY(-100%); /* alguses ekraanist välja vasakule */
    transition: transform 0.3s ease;
}

.menu-bg.slide-top.change-bg {
    transform: translateY(0); /* menüü avaneb */
}

/*
#nav ul li {
    margin: 0 25px;
}
*/

.change {
    transition: 2s ease;
}

.no-scroll {
  overflow: hidden;
}

