/*background-color: rgba(0, 0, 0, 0.65);*/

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

.menu_main {
    background-size: 100% 100%;
}

/* Content wrapper */

.wrapper {
    /*width: 94%;*/
    /*max-width: 75%;*/
    margin: 0 auto;
}

.wrapper-small {
    max-width: 728px;
}

.wrapper-flush {
    width: 100%;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background-color: #efefef;
}

.nav-container {
    position: fixed;
    top: 62px;
    left: 0;
    z-index: 9999;
    overflow-y: auto;
    visibility: hidden;
    width: 300px;
    max-width: 70%;
    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 {
    line-height: 1;
    display: inline-block;
    padding: 1.25rem 1rem;
    border: 0;
    /*background-color: #e6c502;*/
    background-color: #ea3a3c;
    float: left;
    width: 60px;
    /*position: fixed;*/
    z-index: 99;
}

.nav-toggle .icon-menu {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 20px;
    vertical-align: middle;
    fill: none;
}

.icon-menu .line {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 4px;
    -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: #333;*/
    background-color: #fff;
}

.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: #ea3a3c; /* 1 */
    /*background-color: #e6c502;*/ /* 1 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; /* 2 */
}

.nav-menu .menu-item {
    /*border-top: 1px solid #060604;*/
    border-top: 1px solid #f2f2f2;
}


.nav-menu > .menu-item.is-active {
    background: #bba001;
}

.nav-menu > .menu-item:hover {
    background: #bba001;
}

.nav-dropdown > .menu-item {
    padding-left: 10px;
}

.nav-dropdown > .menu-item:hover {
    opacity: 0.85;
}

.nav-menu .menu-link {
    /*color: #060604;*/
    color: #fff;
    font-size: 14px;
    display: block; /* 1 */
    text-decoration: none;
    padding: 8px 15px;

}

.has-dropdown {
    position: relative;
    cursor: pointer;
}

.has-dropdown > .menu-link {
    display: inline-block;
}

.has-dropdown:after {
    padding-top: 0px;
    font-size: 24px;
    position: absolute;
    top: 0;
    right: 1rem;
    bottom: 0;
    content: "+";
    color: #f2f2f2;
    /*color: #333;*/
    line-height: 32px;
}

.has-dropdown.is-active:after {
    content: "\2013"; /* 1 */
}

.nav-dropdown {
    display: none;
    /*background-color: #c5aa0a;*/
    background-color: #ea3a3c;
}

.has-dropdown.is-active > .nav-dropdown {
    display: block; /* 1 */
}

.nav-dropdown .nav-dropdown {
    background-color: #aaa;
}

.nav-dropdown .menu-item {
    border-color: #f2f2f2;
    /*border-color: #060604;*/
}

.nav-dropdown .nav-dropdown .menu-item {
    background-color: rgb(15, 155, 163) !important;
}

.logo_mobile {
    text-align: center;
}


.nav-menu > .menu-item > .menu-link {
    padding: 8px 15px;
}

@media (min-width: 992px) {
    .nav {
        background-color: rgba(0, 0, 0, 0.65);
    }

    .nav,
    .nav-container,
    .nav-container.is-visible {
        position: static;
        top: auto;
        left: auto;
        z-index: 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;
        width: 100%;
        max-width: 100%;
    }

    .nav-toggle {
        display: none;
    }

    .nav-menu > .menu-item:hover,
    .nav-menu > .menu-item.is-active {
        background-color: #bba001;
    }

    .nav-menu .menu-item {
        -webkit-transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
        transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
    }

    .has-dropdown:after {
        content: "" !important;
    }

    .nav-menu > .menu-item:hover.has-dropdown:after {
        border-color: transparent transparent transparent transparent !important;
    }

    .menu-item:hover.has-dropdown:after {
        border-color: rgb(117, 173, 33) transparent transparent transparent !important;

    }

    .nav-menu > .has-dropdown:after {
        position: absolute;
        top: 50%;
        /*right: 0.3rem;*/
        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;
    }

    .nav-dropdown {
        left: 0px;
        display: block;
        opacity: 0;
        position: absolute;
        top: 100%;
        width: 215px;
        margin: 0;
        background-color: transparent;
        border-radius: 0px;
        box-shadow: 0 0 4px hsla(0, 0%, 0%, 0.15);
        visibility: hidden;
        -webkit-transition: visibility 0s linear 0.25s, opacity 0.25s linear;
        transition: visibility 0s linear 0.25s, opacity 0.25s linear;
    }

    .has-dropdown:hover > .nav-dropdown {
        visibility: visible;
        opacity: 1;
        -webkit-transition-delay: 0s;
        transition-delay: 0s;
    }

    .nav-dropdown .menu-item {
        border: 0;
        margin-top: 1px;
    }

    .nav-dropdown .menu-item:last-child {
        border: 0;
        border-bottom: none;
    }

    .nav-dropdown .menu-item:hover,
    .nav-dropdown .nav-dropdown .menu-item:hover {
        background-color: #bba001;
    }
    .nav-dropdown .menu-item:hover .menu-link,
    .nav-dropdown .menu-item:hover .menu-link{
        color: #050505;
    }

    .nav-dropdown .nav-dropdown,
    .nav-dropdown .nav-dropdown .menu-item {
        background-color: #dedede;
    }

    .nav-dropdown .nav-dropdown {
        z-index: 9998;
        top: 0;
        left: 100%;
    }

    .content {
        margin-top: 0;
    }

    /*=======new======*/
    .nav-menu > .menu-item > .menu-link {
        display: block;
        line-height: 15px;
        padding: 0px 15px 0px 15px;
        font-size: 14px;
        font-weight: bold;
        color: #ffffff;
        /*text-transform: uppercase;*/
        -webkit-transition: all 0.15s linear;
        -moz-transition: all 0.15s linear;
        -o-transition: all 0.15s linear;
        transition: all 0.15s linear;

    }
    .nav-menu > .menu-item.active
    .nav-menu > .menu-item:hover {
        background: #0098da;
    }
    .nav-menu > .menu-item {
        position: relative;
        float: left;
        padding: 14px 0px 10px 0px;
        border-top: 0px;
        <--!background: url("../img/bg_menu.png") no-repeat top right;-->
    }
    .nav-menu > .menu-item:last-child {
        background-image: none;
    }

    .nav-menu,
    .nav {
        background: none;
    }
    /*------------------*/

    .nav-menu > .menu-item.is-active > .menu-link,
    .nav-menu > .menu-item:hover > .menu-link {
        color: #050505;
    }

    /*-----------------*/
    .nav-menu > .menu-item > a:hover {
        color: #050505;
    }

    .nav-dropdown > .menu-item {
        padding: 0;
        background: #e6c502;
    }

    .nav-menu .menu-link {
        padding: 6px 15px 6px 15px;;
    }


    .nav-dropdown>.menu-item>.menu-link {
        color: #050505;
    }
}
