/*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
.menu-link {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}


#menu_mobile{
  display: none;
  background: #f99d1c;
}

#menu_mobile .pure-menu-horizontal .pure-menu-item,
#menu_mobile .pure-menu-horizontal .pure-menu-heading,
#menu_mobile .pure-menu-horizontal .pure-menu-separator{
  display: block;
}

#menu_mobile a{
  color: white;
}

#menu_mobile  .pure-menu-list{
  margin-top: 12px;
}

/*
The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
appears on the left side of the page.
*/

#menu {
    margin-left: -150px; /* "#menu" width */
    width: 150px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100; /* so the menu or its navicon stays above all content */
    background: #f99d1c;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
    /*
    All anchors inside the menu should be styled like this.
    */
    #menu .pure-menu a {
        color: #fee7c6;
        border: none;
        padding: 0.6em 0 0.6em 0em;
        font-size: 14px;
        border-top: 1px solid #fcce8e;        
    }

    /*
    Remove all background/borders, since we are applying them to #menu.
    */
     #menu .pure-menu,
     #menu .pure-menu ul {
        border: none;
        background: transparent;
        top: 200px;
    }

    /*
    Add that light border to separate items into groups.
    */
    #menu .pure-menu ul,
    #menu .pure-menu .menu-item-divided {
        margin: 0 15px;
    }
        /*
        Change color of the anchor links on hover/focus.
        */
        #menu .pure-menu li a:hover,
        #menu .pure-menu li a:focus,
        #menu .pure-menu li a.active{
          color: #fff;
          background: transparent;          
        }      

    /*
    This styles the selected menu item `<li>`.
    */
    #menu .pure-menu-selected,
    #menu .pure-menu-heading {
        background: #1f8dd6;
    }
        /*
        This styles a link within a selected menu item `<li>`.
        */
        #menu .pure-menu-selected a {
            color: #fff;
        }

    /*
    This styles the menu heading.
    */
    #menu .pure-menu-heading {
        font-size: 110%;
        color: #fff;
        margin: 0;
    }

/* -- Dynamic Button For Responsive Menu -------------------------------------*/

/*
The button to open/close the Menu is custom-made and not part of Pure. Here's
how it works:
*/

/*
`.menu-link` represents the responsive menu toggle that shows/hides on
small screens.
*/
.menu-link {
    position: fixed;
    display: block; /* show this only on small screens */
    top: 0;
    left: 0; /* "#menu width" */
    background: #f99d1c;
    font-size: 10px; /* change this value to increase/decrease button size */
    z-index: 200;
    width: 2em;
    height: 100%;
    padding: 2.1em 1.6em;
}

    .menu-link:hover,
    .menu-link:focus {
        background: #f99d1c;
    }

    .menu-link span {
        position: relative;
        display: block;
    }

    .menu-link span,
    .menu-link span:before,
    .menu-link span:after {
        background-color: #fff;
        width: 100%;
        height: 0.2em;
    }

        .menu-link span:before,
        .menu-link span:after {
            position: absolute;
            margin-top: -0.6em;
            content: " ";
        }

        .menu-link span:after {
            margin-top: 0.6em;
        }


    #menu_button {
      position: fixed;
      top: 30px;
      left: 5px;
      z-index: 8888;
      width: 40px;
      height: 34px;
      padding: 0;
      margin: 0;
      cursor: pointer;
      overflow: hidden;
      -webkit-transform: scale(0.7, 0.7);
      -moz-transform: scale(0.7, 0.7);
      -ms-transform: scale(0.7, 0.7);
      -o-transform: scale(0.7, 0.7);
      transform: scale(0.7, 0.7);
    }

    #menu_button .line {
      position: absolute;
      width: 40px;
      height: 6px;
      background: #fcce8e;
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      -ms-border-radius: 3px;
      -o-border-radius: 3px;
      border-radius: 3px;
      transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      transform-origin: 34px 2px;
      -webkit-transform-origin: 34px 2px;
      -ms-transform-origin: 34px 2px;
      -moz-transition: all 200ms ease-in;
      -o-transition: all 200ms ease-in;
      -webkit-transition: all 200ms ease-in;
      transition: all 200ms ease-in;
    }   

    #menu_button #line1 {
      top: 0;
      left: 0;
    }

    #menu_button #line2 {
      top: 13px;
      left: 0;
    }    

   #menu_button #line3 {
      top: 26px;
      left: 0;
    }


   #menu_button.is_closed{
      left: 155px;
   }    

   #menu_button.is_closed #line1 {
      top: 3px;
      transform: translateX(-4.5px) rotate(-45deg);
      -webkit-transform: translateX(-4.5px) rotate(-45deg);
      -ms-transform: translateX(-4.5px) rotate(-45deg);
    } 

   #menu_button.is_closed #line2 {
      transform: translateX(-44.5px) rotate(0);
      -webkit-transform: translateX(-44.5px) rotate(0);
      -ms-transform: translateX(-44.5px) rotate(0);
    }      

   #menu_button.is_closed #line3 {
      left: 2px;
      top: 23px;
      transform: translateX(-4.5px) rotate(45deg);
      -webkit-transform: translateX(-4.5px) rotate(45deg);
      -ms-transform: translateX(-4.5px) rotate(45deg);
    }    
/* -- Responsive Styles (Media Queries) ------------------------------------- */


