#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 {
    margin-left: -200px; /* "#menu" width */
    width: 200px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 99; /* so the menu or its navicon stays above all content */
    background-image: url(../img/side-menu-bg.jpg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#menu:hover{
    width: 315px;
}
    /*
    All anchors inside the menu should be styled like this.
    */
    #menu a {
        color: #999;
        border: none;
        padding: 0;
        text-align: left;
        margin-left: 34px;
    }

@media (max-width: 768px){
    .pure-menu-link{
        margin-left:17px!important;
    }
}



    /*
    Remove all background/borders, since we are applying them to #menu.
    */
@media (min-width: 769px){    
    #menu .pure-menu{
     border: none;
        background: transparent;
        width: 120px;
        margin-right: 25px;
        float: left;
        margin-left: 78px;
    }
}
@media (max-width: 768px){
    #menu .pure-menu {
    border: none;
    background: transparent;
    margin-right: auto;
    float: left;
    margin-left: 50%;
}
}
    
    #menu .pure-menu ul {
        border: none;
        background: transparent;
    }

    /*
    Add that light border to separate items into groups.
    */
    #menu .pure-menu ul,
    #menu .pure-menu .menu-item-divided {

    }
        /*
        Change color of the anchor links on hover/focus.
        */
        #menu .pure-menu li a:hover,
        #menu .pure-menu li a:focus {
        }

    /*
    This styles the selected menu item `<li>`.
    */
    #menu .pure-menu-selected,
    #menu .pure-menu-heading {
        
    }
        /*
        This styles a link within a selected menu item `<li>`.
        */
        #menu .pure-menu-selected a {
            color: #fff;
        }

    /*
    This styles the menu heading.
    */
@media (min-width: 769px){
    #menu .pure-menu-heading {
        font-size: 110%;
        color: #fff;
        margin: 40px 0 0 0;
        text-align: right;
    }
}
@media (min-width: 769px){
    #menu .pure-menu-heading {
    font-size: 110%;
    color: #fff;
    margin: 40px 0 0 0;
    text-align: center;
}
}

.logo{

}
/* -- 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" */
    font-size: 10px; /* change this value to increase/decrease button size */
    z-index: 100;
    width: 2em;
    height: auto;
    padding: 2.1em 1.6em;
}

    .menu-link:hover,
    .menu-link:focus {
        
    }

    .menu-link span {
        position: relative;
        display: block;
    }

    .menu-link span,
    .menu-link span:before,
    .menu-link span:after {
        background-color: #000;
        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;
        }


/* -- Responsive Styles (Media Queries) ------------------------------------- */

/*
Hides the menu at `48em`, but modify this based on your app's needs.
*/
@media (min-width: 769px) {

    #menu {
        left: 200px;
        overflow-x: hidden;
    }

    .menu-link {
        position: fixed;
        left: 150px;
        display: none;
    }

    #layout.active .menu-link {
        left: 150px;
    }
}

@media (max-width: 48em) {
    /* Only apply this when the window is small. Otherwise, the following
    case results in extra padding on the left:
        * Make the window small.
        * Tap the menu to trigger the active state.
        * Make the window large again.
    */
    #layout.active {
        position: relative;
        left: 200px;
    }
}


.pure-menu-link .menu-icon path{
    fill:#fff;
    transition: .4s ease;
}

.pure-menu-link:hover .menu-icon path{
    fill:#E8C688;
}

.menu-icon{
    vertical-align: middle;
}


}

@media (min-width: 1024px){
pure-menu-link .svg{
    width: 50px;
    height: 50px;
}
}

@media (max-width: 1023px){
pure-menu-link .svg{
    width: 40px;
    height: 40px;
}
}


@media (min-width: 769px){
#menu-name{
    display: inline-block;
    vertical-align: middle;
    font-size: 12pt;
    padding-left: 8px;
    color: #fff;
    font-weight: 300;
    transition: .4s ease;
    letter-spacing: 2px;
    opacity: 0;
}


.pure-menu-link:hover #menu-name{
    color: #E8C688;    
}

#menu:hover #menu-name{
    -webkit-animation: fade-in-right 1s;
            animation: fade-in-right 1s;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
}
}

@-webkit-keyframes fade-in-right
{
    0%
    {
        -webkit-transform: translateX(-30px);

        opacity: 0;
    }
    100%
    {
        -webkit-transform: translateX(0%);

        opacity: 1;
    }
}
@keyframes fade-in-right
{
    0%
    {
        transform: translateX(-30px);

        opacity: 0;
    }
    100%
    {
        transform: translateX(0%);

        opacity: 1;
    }
}

@media (max-width: 768px){
    #menu-name{
    display: inline-block;
    vertical-align: middle;
    font-size: 12pt;
    padding-left: 8px;
    color: #fff;
    font-weight: 300;
    transition: .4s ease;
    letter-spacing: 2px;
    opacity: 1;
}
}


.social-menu{
    border: none;
    background: transparent;
    float: left;
    margin-top: 30%;
    list-style: none;
    padding: 0;
}

.search-box{
    position: relative;
    width: 150px;
}

.search-box button {
    border: none;
    height: 30px;
    width: 30px;
    position: absolute;
    top: 0;
    right: -15px;
    cursor: pointer;
    padding: 0;
    background: transparent;
}

.search-box input {
    width: 150px;
    height: 25px;
    padding-left: 15px;
    background: #fff;
    font-size: 16px;
    color: #6b4915;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    border: 0;
}

.search-box button:before {
    content: "";
    background-image: url(../img/search-box-icon.png);
    width:20px;
    height:20px;
    display: block;
}

.search-box-fadeout .search-box{
    opacity: 0;
}

.search-box-fadeout:hover .search-box{
    -webkit-animation: fade-in-up 1s;
            animation: fade-in-up 1s;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
}


@-webkit-keyframes fade-in-up
{
    0%
    {
        -webkit-transform: translateY(-30px);

        opacity: 0;
    }
    100%
    {
        -webkit-transform: translateY(0%);

        opacity: 1;
    }
}
@keyframes fade-in-up
{
    0%
    {
        transform: translateY(-30px);

        opacity: 0;
    }
    100%
    {
        transform: translateY(0%);

        opacity: 1;
    }
}