.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: .4s
}

.hamburger-change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px)
}

.hamburger-change .bar2 {
    opacity: 0
}

.hamburger-change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px)
}

.display-nav {
    opacity: 1 !important;
    line-height: 4 !important
}



body {
    margin-top: 120px;
}

.hamburger {
    width: 40px;
    right: 15px;
    z-index: 1000;
    top: 10px;
    cursor: pointer
}

.nav-main ul {
    position: relative;
    float: left;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: .2s ease-out;
    color: #000000;
    background: var(--bg-color);
}

.nav-main ul li {
    text-align: center;
    /*text-transform: uppercase;*/
    font-weight: 600;
    /*font-family: Roboto, Verdena,sans-serif;*/
    border-bottom: 1px solid #d9d9d9;
    padding: 0 20px;
}


.li-arrow:after {
    content: "\0025BC";
    font-size: 12px;
    color: #dfce98;
}

.nav-main a {
    padding: 5px;
    text-decoration: none;
    color: #dfce98;
    font-size: 0.8em;
    opacity: 0.9;
}

.nav-main a:hover {
    text-decoration: underline;
}

.header {
    background: var(--bg-color);
    width: 100%;
    z-index: 20;
    height: 73px;
    top: 0;
    box-shadow: 0 0 16px 2px #000000;
}

.header, .hamburger {
    position: fixed;
}

#top-spacer {
    height: 66px;
}

.header #logo {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
}

.header img {
    /*max-width: 100px;
    margin: 10px 10px 0 10px;*/
    margin-bottom: -16px
}

.nav-submenu {

    /*margin-top: 20px !important;
    margin-bottom: 20px !important;*/
}

.nav-main {
    width: 100%;
    max-width: 800px;
    margin-right: 10px;
    /*box-shadow: 0 10px 20px -18px;*/
    box-shadow: 0 9px 12px -6px #c0c0c0;
    transition: .2s ease-out;
    opacity: 0;
    line-height: 0
}

.display-submenu {display: block !important}
.hide-submenu {display: none !important}

@media only screen and (min-width:800px) {
    .hamburger {
        display: none;
    }
    .display-nav {
        /*line-height: unset;*/
    }

    .li-arrow {
        position: relative;
        cursor: pointer;
    }

    .nav-submenu {
        border: none;
        position: absolute !important;
        left: 0;
        top: 40px;
        box-shadow: 0 1px 5px 1px #c0c0c0;
        background-color: #FFFFFF;
        /*display: block !important;*/
        height: unset !important;
        padding: 20px 0;
    }

    .nav-submenu li {
        border: none !important;
        /*padding: 13px 0 !important;*/
        /*border-bottom: 1px solid #c0c0c0 !important;*/
    }

    .nav-submenu a {
        width: 100%;
        padding: 13px 0;
        display: block;
        border-bottom: 1px solid #c0c0c0;
        line-height: initial;
    }

    .nav-main {
        opacity: 1 !important;
        /*box-shadow: inherit;
        line-height: unset;*/
    }
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 73px;

        background-color: var(--bg-color) !important;
        box-shadow: 0 0 16px 2px #000000;
    }
    .nav-main ul {
        display: flex;
        justify-content: flex-end;
    }

    .display-submenu {display: block !important}
    .hide-submenu {display: none !important}

    .nav-main ul li {
        border-right: 1px solid #000000;
        white-space: nowrap;
        padding: 0 5px;
        font-family: inherit;
        text-transform: inherit;
        font-weight: inherit;
        border-bottom: inherit;
    }

    .nav-main ul li:last-child {
        border: none;
    }
}