.hiddenstuff {
    display: none
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    transition: 0.5s ease-in-out;
    background-color: rgba(255, 255, 255, 0.83);
}

header.scroll {
    opacity: 0;
}

#logo {  
    position: absolute;
    top: 8px;
    left: 32px;
}

#logo img {
    width: 175px;
}

.contactwrap {
    position: absolute;
    top: 16px;
    right: 32px;
}

.contactwrap a {
    color: #000000;
}

#normalnav nav {
    padding: 23px 32px;
    text-align: center;
    transition: 0.5s ease-in-out;
}

@media only screen and (max-width: 667px) {
    #normalnav nav {
        padding: 0;
    }

    #logo {
        position: relative;
        top: auto;
        left: auto;
        margin: 16px 0;
    }

    #logo img {
        width: 100px;
    }

    .contactwrap {
        right: 16px;
        width: auto;
        margin: 0;
    }

    #normalnav nav a#pull {
        position: absolute;
        top: 16px;
        left: 16px;
        margin: 0;
    }
}

/* .activepage {
    background-color: #aeaeae;
    color: #fff !Important
} */

/* 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: 14px;
    display: inline-block;
    text-align: left;
    text-decoration: none
}

#normalnav nav a {
    font-family: var(--first-font);
    position: relative;
    margin: 8px 16px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    color: #000000;
}

#normalnav nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 0;
    background-color: #000000;
    transition: 0.5s ease-in-out;
}

#normalnav nav a:hover::after {
    width: 100%;
}

.mainsitelink {
    background-color: #646463;
    /*color:#FFF !important; */
    display: inline-block;
    float: left;
    height: 35px;
    line-height: 28px;
    min-width: 80px;
    padding: 0 5px;
    text-align: center
}

#normalnav nav li:last-child a {}

#normalnav nav a:hover {
    color: #42433e !Important;
    text-decoration: none
}

#normalnav nav a#pull {
    display: none
}

/* SUB MENUS */
#subnav {
    clear: both;
    display: block;
    height: 24px;
    width: 100%
}

#subnav ul {
    font-family: Arial, helvetica, sans-serif;
    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-family: Arial, helvetica, sans-serif;
    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-color: rgba(255, 255, 255, 0.83) */
}

#normalnav ul ul li:nth-child(n+2) {
    background-color: rgba(255, 255, 255, 0.83);
    margin-top: -1px;
    padding: 4px 0;
}

#normalnav nav ul li ul a {
    /* background-color: #646463; */
    min-width: 100px;
    text-align: left;
    /* display: block; */
    width: auto !Important;
    /* padding: 0px 10px */
}

#normalnav nav ul li ul li ul {
    min-width: 150px;
    background-color: #efefef;
    -webkit-box-shadow: 0 0px 2px 0 rgba(50, 50, 50, 0.66);
    -moz-box-shadow: 0 0px 2px 0 rgba(50, 50, 50, 0.66);
    box-shadow: 0 0px 2px 0 rgba(50, 50, 50, 0.66);
    position: relative;
    display: block
}

.has-sub ul {
    display: none !important;
    position: absolute;
    z-index: 20;
    height: auto
}

.has-sub ul li {
    padding: 0px;
    display: block;
    width: 100%
}

.has-sub:hover>ul {
    display: block !important;
    position: absolute
}

.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: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 {
    border-top: 1px solid #CCC;
    color: #CC3539;
    display: block;
    line-height: 25px;
    padding: 3px 0 3px 5px;
    text-indent: 10px
}

.submenu3:hover {
    cursor: pointer;
    background-color: rgba(178, 178, 178, 0.6);
    color: #000
}

/* CONTENT SUB MENU */
#hyplogin {
    margin-right: 10px
}

/*Styles for screen 667px and lower*/
@media only screen and (max-width:667px) {
    #normalnav nav {
        border-bottom: 0;
        margin-bottom: 0px
    }

    #normalnav nav ul {
        display: none;
        height: auto
    }

    #normalnav nav a#pull {
        display: inline-block;
    }

    #normalnav nav a#pull:after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f0c9";
        color: #000 !important;
        font-size: 24px;
    }

    #normalnav nav li {
        display: block;
        width: 100%;
        height: 40px;
        /* text-align: center; */
    }

    .has-sub-button {
        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 {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .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 {
        border-right: none;
        height: auto !important;
        display: block;
        text-indent: 0px !important;
        line-height: 35px
    }

    #normalnav nav a {
        text-align: center;
        color: #000 !Important
    }

    #normalnav nav ul li ul {
        background-color: #FFF;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        margin-left: 0px;
        width: 100%;
        display: block;
        float: left
    }

    #normalnav nav ul li ul a {
        background-color: #646463;
        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
    }
}