

.nav {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 999999999999999;
    background-color:transparent;
}
.nav-open .nav{
    position: fixed;
    top: 60px;
    background-color: rgba(0, 0, 0, 0.61) !important;
    height:100%;
}

.nav-container {
    position: fixed;
    top: 57px;
    left: 0;
    z-index: 9999;
    overflow-y: auto;
    visibility: hidden;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    /*background-color: #c0c0c0;*/
    -webkit-overflow-scrolling: touch;
}

.nav-container.is-visible {
    visibility: visible;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.nav-toggle {
    border: 0;
    z-index: 99;
    line-height: 1;
    padding: 10px 0;
    left: 10px;
    top:10px;
    position: absolute;
    display: inline-block;
    background: transparent;
}

.nav-toggle .icon-menu {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 15px;
    vertical-align: middle;
    fill: none;
    z-index: 15;
}
.nav-menu .menu-item{
    border-bottom: 1px solid rgba(195, 195, 195, 0.28);
}

.icon-menu .line {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 3px;
    -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -webkit-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    background-color: #525252;
}

.icon-menu .line-1 {
    top: 0;
}

.is-active .icon-menu .line-1 {
    -webkit-transform: translateY(8px) translateX(0) rotate(45deg);
    -ms-transform: translateY(8px) translateX(0) rotate(45deg);
    transform: translateY(8px) translateX(0) rotate(45deg);
}

.icon-menu .line-2 {
    top: 50%;
    margin-top: -2px;
}

.is-active .icon-menu .line-2 {
    opacity: 0;
}

.icon-menu .line-3 {
    bottom: 0;
}

.is-active .icon-menu .line-3 {
    -webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
    -ms-transform: translateY(-8px) translateX(0) rotate(-45deg);
    transform: translateY(-8px) translateX(0) rotate(-45deg);
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu {
    background-color: #fff; /* 1 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; /* 2 */
}

.nav-menu .menu-link {
    color: #505252;
    text-decoration: none;
    padding: 10px;
    font-size: 15px;
    display: block;
    text-transform: uppercase;
}
.nav-menu > .menu-item.active > .menu-link,
.nav-menu .menu-link:hover{
    color: #505252;
}

.has-dropdown {
    position: relative;
    cursor: pointer;
}

.has-dropdown:after {
    /*font-size: 20px;*/
    position: absolute;
    top: 0;
    right: 1rem;
    bottom: 0;
    width: 60px;
    height: 30px;
    text-align: center;
    /*content: "+";*/
    color: #505252;
    /*background: rgba(0,0,0,.4);*/
    /*line-height: 30px;*/

    content: "\f107";
    display: inline-block;
    font: normal normal normal 20px/1 FontAwesome;
    font-size: 18px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 30px;
}
.has-dropdown.is-active:after {
    content: "\2013"; /* 1 */
}
.nav-dropdown {
    z-index:1;
    display: none;
    position: relative;
}
.has-dropdown.is-active > .nav-dropdown {
    display: block; /* 1 */
}
.nav-menu > .menu-item > .menu-link {
    padding: 8px 15px;
    text-transform: uppercase;
}
.nav-dropdown .menu-link{
    padding:8px 0 8px 25px ;
}
/*.nav-dropdown  .menu-item{
    border-top: 1px solid rgba(21, 104, 46, 0.22);
}*/
.nav-dropdown .nav-dropdown {
    background: #b5b5b5;
}
.nav-dropdown .nav-dropdown .menu-link{
    padding:8px 0 8px 30px ;
}

@media (min-width: 1025px) {
    .nav-menu{
        background: transparent;
        width:100%;
        text-align: center;
    }
    .nav,
    .nav-container,
    .nav-container.is-visible {
        position: relative;
        /*position: static;*/
        z-index:10;
        top: auto;
        left: auto;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    .nav-container,
    .nav-container.is-visible {
        visibility: visible;
        height: auto;
        min-height: 0;
        overflow-y: visible;
    }
    .nav-toggle {
        display: none;
    }
    .nav-menu > .menu-item > .menu-link{
        color: #fff;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        padding: 1px 15px;
    }
    .nav-menu > .menu-item.active > .menu-link,
    .nav-menu > .menu-item > .menu-link:hover{
        color: red;
    }
    .nav-menu .menu-item {
        -webkit-transition: background-color 0.05s ease-in-out, color 0.05s ease-in-out;
        transition: background-color 0.05s ease-in-out, color 0.05s ease-in-out;
        border-bottom: none;
        float: left;
    }
    .nav-menu > .menu-item{
        float: none;
        display: inline-block;
    }
    .has-dropdown{
        position: inherit;
    }
    .has-dropdown:after {
        content: "" !important;
    }
    .nav-menu > .has-dropdown:after {
        position: absolute;
        top: 50%;
        width: 0;
        height: 0;
        margin-top: -2px;
        margin-left: -4px;
        content: "";
        border-width: 5px 5px 0 5px;
        border-style: solid;
        border-color: transparent transparent transparent transparent;
    }

    .has-dropdown > .menu-link {
        padding-right: 2rem;
    }


    /* @todo menu sub */
    .main-drop{
        padding: 15px;
    }
    .nav-dropdown {
        display: block;
        opacity:0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        margin: 0;
        background-color: #fff;
        border-radius: 0;
        visibility: hidden;
        -webkit-transition: visibility 0s linear 0.25s, opacity 0.25s linear;
        transition: visibility 0s linear 0.25s, opacity 0.25s linear;
    }
    .nav-dropdown .container{
        width: 1000px;
    }
    .nav-dropdown  .menu-item{
        border-top: none !important;
    }
    .has-dropdown:hover > .nav-dropdown {
        visibility: visible;
        opacity: 1;
        -webkit-transition-delay: 0s;
        transition-delay: 0s;
        /*position: relative !important;*/
    }
    .nav-dropdown .menu-item{
        float: none !important;
        text-align: left;
        border-top: none !important;
        border-right: 1px solid #ddd;
    }
    .nav-dropdown .menu-item .menu-link{
        float: none !important;
        color: #000;
        padding:8px 10px 22px 10px;
        display: inline-block;
        font-weight: normal;
        font-size: 14px;
        text-transform: none;
    }
    .nav-dropdown .nav-dropdown {
        border-top: none !important;
        left: 100% !important;
        top: 0;
    }
    .nav-dropdown .menu-item .menu-link:hover{
        color: red !important;
    }
    .nav-dropdown .nav-dropdown .menu-item .menu-link:hover{
        color: red !important;
    }


    .nav-menu > .has-dropdown:nth-last-child(1) .nav-dropdown .nav-dropdown,
    .nav-menu > .has-dropdown:nth-last-child(2) .nav-dropdown .nav-dropdown{
        left: -100% !important;
        background: red !important;
    }
    .nav-dropdown .nav-dropdown .menu-item .menu-link{
        border: 1px solid #505252;
        color: #505252;
    }

    .nav-dropdown .nav-dropdown .menu-item:first-child .menu-link{
        border-top: 1px solid #505252 !important;
    }
    .nav-dropdown .menu-link:hover{
        color:#505252 !important;
    }
    .nav-dropdown .nav-dropdown .menu-link:hover{
        color:#505252 !important;
    }
}
/* md */
@media (min-width:992px) and (max-width:1199px) {

}
/* sm */
@media (min-width:768px) and (max-width:991px) {
    .nav-container {
        width: 100%;
    }
    .nav-menu{
        /*border: 1px solid #b1b1b1;*/
    }
}
/* xs */
@media (max-width:767px)  {
    .nav-container{
        max-width: 100%;
        background: #fff;
    }
    .nav-menu{
        /*border: 1px solid #b1b1b1;*/
        /*box-shadow: 0 0 8px 1px #3e3e3e;*/
    }
    .nav-dropdown  .menu-item:last-child{
        border-bottom: none;
    }
}