.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
}

.nav-main svg {
    width: 1px;
    height: 1px;
}

.display-nav svg {
    width: 34px;
    height: 34px;
}

body {
    margin-top: 66px;
}

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

.nav-main ul {
    position: relative;
    float: left;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: .2s ease-out;

}

.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: 20px 0;*/
}


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

.nav-main a {
    padding: 5px;
    text-decoration: none;
    color: var(--menu-color);
}

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

.header {
    background: #FFFFFF;
    width: 100%;
    z-index: 5;
    top: 0;
}

.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;
}

.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;*/
    }

    .nav-main svg {
        width: 34px;
        height: 34px;
        margin-top: 6px;
    }

    .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;
    }

    .nav-main {
        opacity: 1 !important;
        box-shadow: inherit;
        line-height: unset;
    }
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .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;
        padding: 0 5px;
        font-family: inherit;
        text-transform: inherit;
        font-weight: inherit;
        border-bottom: inherit;

        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
    }

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