
/*New Navigation form Third Level*/

/*.bck {
    background: #416a7e;
}

#lxmenu {
    background-color: #416a7e;
}*/

/* HORIZONTAL BACKGROUND COLOR - make a new class and define in properties of the navigation item */
:root {
    --laxHorizontalBackground: #416a7e;
    --laxHorizontalFontFamily: var(--laxFont-family);
    --laxHorizontalFontColor: white;
    --laxHorizontalRolloverColor: white;
    --laxHorizontalRolloverFontColor: black;
    --laxHorizontalSubMenuRolloverColor: #c7c8ca;
}

.horizontalMenuColorGreen {
    --laxHorizontalBackground: #DAE2CF;
    --laxHorizontalFontFamily: Verdana;
    --laxHorizontalFontColor: #5C5B5A;
    --laxHorizontalRolloverColor: #F1F4E9;
    --laxHorizontalRolloverFontColor: #5C5B5A;
    --laxHorizontalSubMenuRolloverColor: #F1F4E9;
}
/* HORIZONTAL BACKGROUND COLOR */

#lxmenu {
    margin-bottom: 5px;
}

    #lxmenu ul {
        text-align: center;
        justify-content: center;
        padding-top: 5px;
        padding-bottom: 16px;
        margin: 0;
    }

    #lxmenu .main-menu {
        display: none;
    }

#tm:checked + .main-menu {
    display: block;
}

#lxmenu input[type="checkbox"],
#lxmenu ul span.drop-icon {
    display: none;
}

#lxmenu li,
#toggle-menu,
#lxmenu .sub-menu {
    border-style: solid;
    border-color: rgba(0, 0, 0, .05);
}

#lxmenu li,
#toggle-menu {
    /*border-width: 0 0 1px;*/
    border-width: 0 0 1px 0;
}

#lxmenu .sub-menu {
    background-color: var(--laxHorizontalBackground);
    /*background-color: #416a7e---JBH;
    border-width: 1px 1px 0;*/
    border-width: 1px 0 0 0;
    /*margin: 0 1em;*/
    margin: 0;
}

    #lxmenu .sub-menu li:last-child {
        border-width: 0;
    }


#lxmenu li,
#toggle-menu,
#lxmenu a {
    position: relative;
    display: block;
    color: var(--laxHorizontalFontColor);
    /*color: white;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);*/
    text-align: left;
}

#lxmenu,
#toggle-menu {
    /*background-color: #416a7e;---JBH*/
    background-color: var(--laxHorizontalBackground);
}

    #toggle-menu,
    #lxmenu a {
        padding: 1em 1.5em;
    }

    #lxmenu a {
        transition: all .125s ease-in-out;
        -webkit-transition: all .125s ease-in-out;
    }

        #lxmenu a:hover {
            /*background-color: white;
            color: black;*/
            background-color: var(--laxHorizontalRolloverColor);
            color: var(--laxHorizontalRolloverFontColor);
        }

    #lxmenu .sub-menu {
        display: none;
    }

    #lxmenu input[type="checkbox"]:checked + .sub-menu {
        display: block;
    }

    #lxmenu .sub-menu a:hover {
        /*background-color: white;
        color: black;*/
        background-color: var(--laxHorizontalRolloverColor);
        color: var(--laxHorizontalRolloverFontColor);
    }

    #toggle-menu .drop-icon,
    #lxmenu li label.drop-icon {
        position: absolute;
        right: 5em;
        /*top: 1.25em; */
    }

    #lxmenu label.drop-icon, #toggle-menu span.drop-icon {
        /*border-radius: 50%;
        border-bottom: solid;*/
        width: 3em;
        height: 3em;
        text-align: center;
        font-size: 8px;
        top: 12px;
        /*background-color: rgba(0, 0, 0, .125);
        text-shadow: 0 0 0 transparent;
        color: rgba(255, 255, 255, .75);*/
    }

    #lxmenu .drop-icon {
        line-height: 2.0;
    }

    #lxmenu .sub-menu {
        padding-left: 20px;
        padding-bottom: 0;
        padding-right: 0;
        padding-top: 0;
        margin: 0;
    }

/*MOBILE*/
@media only screen and (max-width: 64em) and (min-width: 52.01em) {
    #lxmenu li {
        width: 33.333%;
        background-color: var(--laxHorizontalBackground);
    }

    #lxmenu .sub-menu li {
        width: auto;
        background-color: var(--laxHorizontalBackground);
    }

    #lxmenu a:hover {
        /*background-color: white;
        color: black;
        color: var(--laxHorizontalRolloverColor);*/
        background-color: var(--laxHorizontalBackground);
        color: var(--laxHorizontalBackground);
    }

    #lxmenu .sub-menu a:hover {
        background-color: var(--laxHorizontalBackground);
        color: var(--laxHorizontalBackground);
    }

    #lxmenu .main-menu {
        padding: 0;
        margin: 0;
    }
}

/*NOT MOBILE*/
@media only screen and (min-width: 52em) {


    #lxmenu .main-menu {
        display: flex !important;
        /*background: #416a7e;*/
    }

    /*#bck {
        background: #416a7e;
    }*/

    #toggle-menu,
    #lxmenu label.drop-icon {
        display: none;
    }

    #lxmenu ul span.drop-icon {
        display: inline-block;
    }

    #lxmenu li {
        float: left;
        border-width: 0 0 0 0;
        font-family: 'Oswald', sans-serif;
        font-size: 1.3em;
        line-height: 40px;
        /*height: 60px;*/
    }

    #lxmenu .sub-menu li {
        float: none;
        font-family: 'Oswald', sans-serif;
        font-size: 1em;
        line-height: 20px;
        /*height: 60px;*/
    }

    #lxmenu .sub-menu {
        border-width: 0;
        margin: 0;
        position: absolute;
        top: 100%;
        left: 0;
        /*width: 12em;*/
        width: 400px;
        z-index: 3000;
        list-style-type: none;
        padding: 0;
    }

    #lxmenu .sub-menu,
    #lxmenu input[type="checkbox"]:checked + .sub-menu {
        display: none;
    }

        #lxmenu .sub-menu li {
            border-width: 0 0 1px;
        }

        #lxmenu .sub-menu .sub-menu {
            top: 0;
            left: 100%;
        }

    #lxmenu li:hover > input[type="checkbox"] + .sub-menu {
        display: block;
    }

    #lxmenu .sub-menu a:hover {
        /*background-color: #c7c8ca;*/
        background-color: var(--laxHorizontalSubMenuRolloverColor);
    }
}
