.hiddenstuff {
    display: none
}

#normalnav nav {
    font-size: 0px;
    font-weight: normal;
    width: 100%;
    padding: 0px;
    display: block;
}

.activepage {
    color: var(--second-color)
}
/* Ties Up With menu-highlight.js */

.submenu2active {
    background-color: #ccc
}
/* Ties Up With menu-highlight.js */

#normalnav nav ul {
    padding: 0;
    margin: 0 auto;
    text-align: center; /* floats buttons withing nav */
}

#normalnav nav li {
    font-size: initial;
    display: inline-block;
    text-align: center;
    text-decoration: none
}

#normalnav nav a, .navtools a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding:0px 10px
}

#normalnav nav a {    line-height: 40px;}
#normalnav nav li:last-child a {
}

#normalnav nav a:hover {
    opacity: 0.8;
    text-decoration: none
}

#normalnav nav a#pull {
    display: none
}

/* SUB MENUS */
#subnav {
    clear: both;
    display: block;
    height: 24px;
    width: 100%
}

    #subnav ul {
        float: right;
        font-size: 9pt;
        padding-top: 5px
    }

        #subnav ul li {
            display: inline-block;
            padding: 4px 7px
        }

            #subnav ul li a {
                color: #000;
                text-decoration: none
            }

                #subnav ul li a:hover {
                    color: #CC3539;
                    text-decoration: underline
                }

.submenulist, .downloadmenulist {
    list-style: outside none none;
    margin-left: 0
}

.submenuheading {
    font-size: 21px;
    padding: 10px 5%;
    display: block;
    background-color: #000 !important;
    color: White !important;
    margin-bottom: 0px
}

    .submenuheading:hover {
        text-decoration: none
    }

.submenuselected {
    background-color: #ddd !important;
    color: White !important
}

/* SUB MENUS */
#normalnav nav ul li ul {
    background: var(--second-color);
        padding: 0px ! Important;
    }
    
    #normalnav nav ul li ul li a {
        color: white;
        min-width: 250px;
        padding: 8px;
        line-height: 20px;
        text-align: left;
    }

#normalnav nav ul li ul li ul {
    min-width: 150px;
    background-color: #efefef;
    position: relative;
    margin: -38px 0px 0px 100%;
    display: block;
}

.has-sub ul {
    display: none !important;
    position: absolute;
    z-index: 20;
    height: auto
}

.has-sub:hover > ul {
    display: block !important;
    position: absolute
}

.has-sub > ul {
    padding-top: 20px !important;
}

    .has-sub > ul .has-sub > ul {
        padding-top: 0px !important;
    }

    .has-sub > ul li {
        display: block !important;
    }

.has-sub-button {
    display: none;
}
/* END SUB MENUS */

/* CONTENT SUB MENU */
.contentsubmenu li {
    list-style: none
}

.submenu1 {
    border-top: 1px solid #CCC;
    display: block; /*width:30%; */
    float: right;
    line-height: 25px;
    padding: 3px 0;
    text-indent: 10px
}

.submenu1 a { color:var(--third-color)}

    .submenu1:hover {
        cursor: pointer;
        background-color: rgba(178,178,178,0.6);
        color: #000
    }

.submenu2 {
    display: block;
    line-height: 25px;
    padding: 3px 0 3px 7px;
    border-bottom: 1px solid #fff;
    background-color: #efefef;
    text-indent: 5px;
    font-size: 14px
}

    .submenu2:hover {
        cursor: pointer;
        background-color: rgba(178,178,178,0.6);
        color: #fff !Important;
        text-decoration: none
    }

.submenu2active {
    background-color: rgba(178,178,178,0.6);
    text-decoration: none
}
/* Do not delete, this works on conjunction with menu-hightlight.js */
.submenu3 {
    color: var(--first-color);
    border-bottom: 1px solid #c7c7c7;
    display: block;
    padding: 5px;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
}

    .submenu3:hover {
        color: var(--second-color-light) !Important;
        text-decoration: none;
        background-color: #efefef;
    }
/* CONTENT SUB MENU */
#hyplogin {
    margin-right: 10px
}



/*Styles for screen 768x and lower*/
@media only screen and (max-width:768px){#normalnav nav{border-bottom:0; margin-bottom:0px}
#normalnav nav ul{display:none; height:auto;    background: var(--third-color);}

#normalnav nav ul li a {
    margin-right: 0px;
    line-height: 40px;
    border-bottom: 1px solid white;
}

#normalnav, .w3-container, #normalnav nav, #normalnav nav a#pull {
    overflow: visible;
}
.w3-container:last-child {
    margin: 0;
    min-height: 0;
}
#normalnav nav a#pull {
    display: block;
    color: var(--third-color)!Important;
    height: 0;
}
#normalnav nav a#pull::before {
    content: "open"
}

#normalnav nav a#pull:after {
    content: "\f0c9";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 32px;
    display: inline-block;
    position: relative;
    top: -56px;
    right: 16px;
    float: right;
    position: absolute;
}
#normalnav nav {
    border-bottom: 0;
    margin-bottom: 0px;
    border-bottom: 0;
    margin-bottom: 0px;
    position: relative;
    left: 0;
    top: 0px;
    width: 100%;
}
#normalnav nav li{display:block;     width:100%;     background-color:var(--first-color-dark);     height:40px}
#normalnav nav ul li ul li ul {margin:0;}
.has-sub-button {cursor:pointer;z-index:2;display:block;color: white;float: right;padding: 10.5px 16px;-webkit-transition: 0.3s ease-in-out;-moz-transition:0.3s ease-in-out;-o-transition: 0.3s ease-in-out;transition: 0.3s ease-in-out;}
.has-sub-button.active {transform:rotate(180deg);}
.has-sub > ul {padding-top:0px !important;}
.has-sub ul {-webkit-transition: 0.7s ease-in-out;-moz-transition: 0.7s ease-in-out;-o-transition: 0.7s ease-in-out;transition: 0.7s ease-in-out;}
.has-sub ul.active {display:block!important;position:absolute;max-height:500px;}
.has-sub ul.inctive {max-height:0px!important;}
.has-sub ul{position:static!important; float:left; display:block}
#wrapper{min-width:320px}
#normalnav nav li{display:block; width:100%; height:auto !important}
#normalnav nav li a{margin-right:46px;font-weight:bold;border-right:none; height:auto !important; display:block; text-align:left; text-indent:0px !important; line-height:40px}
#normalnav nav a{text-align:left; color:#fff!Important}
#normalnav nav ul li ul{background-color:#FFF; box-shadow:none; margin-left:0px; width:100%; display:block; float:left}
#normalnav nav ul li ul a{background-color:var(--second-color); min-width:100px; text-align:left; display:block; width:auto!Important; padding:0px 10px; margin:0px}
#normalnav nav ul li ul li{display:block; background-color:#FFF;  width:100%; text-indent:0px}
#normalnav nav ul li ul li a{height:40px; /*padding:0px 0px 0px 25px; */}
.footerp{font-size:10px}
}