@charset "UTF-8";

.left-menu {
    width: 320px;
    min-width: 320px;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    margin: 0;
    left: -360px;
    padding: 0;
    -webkit-transition: left 0.3s;
    -moz-transition: left 0.3s;
    transition: left 0.3s;
    background: #333;
    z-index: 2000;
}

.left-menu .nav-toggle {
    position: absolute;
    left: 0px;
    top: 20px;
    padding: 10px;
    background: inherit;
    color: #74924C;
    cursor: pointer;
    font-size: 1.2em;
    line-height: 1;
    z-index: 2001;
    -webkit-transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
    font-family: sans-serif;
    font-weight: 900;
    font-size: 15px;
}
.left-menu .nav-toggle:after {
    content: '\2630';
    text-decoration: none;
}
.left-menu .nav-toggle:hover {
    color: #f4f4f4;
}
[id='nav-toggle'] {
    position: absolute;
    display: none;
}

body {
    -webkit-animation: bugfix infinite 1s;
}

@-webkit-keyframes bugfix {
    to {
      padding: 0;
    }
}

@media screen and (max-width: 320px) {
    .left-menu {
      width: 100%;
      box-shadow: none
    }
}

.left-menu h2 {
    color: #cea;
    font-family: sans-serif;
    font-weight: 900;
    width: 100%;
    padding: 5px 0 0 0;
    margin: 10px 0;
    text-align: center;
    text-shadow: rgba(255, 255, 255, .1) -1px -1px 1px, rgba(0, 0, 0, .5) 1px 1px 1px;
    font-size: 1.3em;
    line-height: 1.3em;
    opacity: 0;
    transform: scale(0.1, 0.1);
    -ms-transform: scale(0.1, 0.1);
    -moz-transform: scale(0.1, 0.1);
    -webkit-transform: scale(0.1, 0.1);
    transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    transition: opacity 0.8s, transform 0.8s;
    -ms-transition: opacity 0.8s, -ms-transform 0.8s;
    -moz-transition: opacity 0.8s, -moz-transform 0.8s;
    -webkit-transition: opacity 0.8s, -webkit-transform 0.8s;
}

.left-menu h2 a {
    color: #dadada;
    text-decoration: none;
    text-transform: uppercase;
}

.left-menu > ul {
    display: block;
    margin: 20px;
    padding: 0;
    list-style: none;
}

.left-menu > ul > li {
    line-height: 2.5;
    opacity: 0;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: opacity .5s .1s, -webkit-transform .5s .1s;
    -moz-transition: opacity .5s .1s, -moz-transform .5s .1s;
    -ms-transition: opacity .5s .1s, -ms-transform .5s .1s;
    transition: opacity .5s .1s, transform .5s .1s;
}

.left-menu > ul > li > a {
    display: inline-block;
    position: relative;
    padding: 0;
    font-family: sans-serif;
    font-weight: 300;
    font-size: 1.4em;
    color: #85b546;
    width: 100%;
    text-decoration: none;
    -webkit-transition: color .5s ease, padding .5s ease;
    -moz-transition: color .5s ease, padding .5s ease;
    transition: color .5s ease, padding .5s ease;
    font-weight: bold;
}

.left-menu > ul > li > a:hover,
.left-menu > ul > li > a:focus {
    color: white;
    padding-left: 15px;
}

.left-menu > ul > li > a:before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    -webkit-transition: width 0s ease;
    transition: width 0s ease;
}

.left-menu > ul > li > a:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: #565;
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
}

.left-menu > ul > li > a:hover:before {
    width: 0%;
    background: #565;
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
}

.left-menu > ul > li > a:hover:after {
    width: 0%;
    background: transparent;
    -webkit-transition: width 0s ease;
    transition: width 0s ease;
}

.left-menu-mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
}

/* ----- // стили для левостороннего меню javascript // ----- */
.left-menu.enabled .nav-toggle {
    left: auto;
    right: 5px;
    background: none;
    top: 0px;
    color: #cea;
}
.left-menu.enabled {
    left: 0;
    box-shadow:4px 0px 20px 0px rgba(0,0,0, 0.5);
    -moz-box-shadow:4px 0px 20px 0px rgba(0,0,0, 0.5);
    -webkit-box-shadow:4px 0px 20px 0px rgba(0,0,0, 0.5);
    overflow-y: auto;
}
.left-menu.enabled .nav-toggle:after {
    content: '\2715';
}
.left-menu.enabled h2 {
    opacity: 1;
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
}
.left-menu.enabled ul > li {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
.left-menu-mask.enabled {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity .5s, visibility .5s;
    transition: opacity .5s, visibility .5s;
}