﻿.hiddenstuff {
    display: none;
}

#menu-mask {
    display: none;
}

.fa-arrow {
    font-size: 1.2em !important;
    margin-top: 6px;
    padding: 4px;
}

#sidemenutop {
    height: 90.4px;
    background-color: var(--first-color);
    position: fixed;
    width: 0;
    padding: 0;
    z-index: 153;
    left: 0;
    top: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#sidemenubelowtop {
    height: 90.4px;
    margin: 0 -25px;
    width: 0;
    padding: 0 25px;
    z-index: 152;
    left: 0;
    top: 0;
}

#sidenav nav ul {
    font-family: var(--first-font);
    font-size: 20px;
    font-weight: bold;
    float: left;
    background-color: #fff;
    left: 0;
    margin-left: 0;
    top: 0;
    width: 0;
    z-index: 152;
    position: relative;
    text-align: left;
    margin: 0;
}

.menucontainer {
    background-color: #fff;
    display: none;
    width: 250px;
    height: 100%;
    overflow: hidden;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 152;
    box-shadow: 3px 0px 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 3px 0px 5px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 3px 0px 5px rgba(0, 0, 0, 0.4);
}

.menucontainer:hover {
    overflow-y: auto;
}

.sidemenuclass {
    width: 200px !important;
}

#sidenav nav li {
    position: relative;
    display: block;
    text-align: left;
    text-decoration: none;
    border-bottom: 1px dotted #ccc;
    left: -1%;
    margin-bottom: 0px;
    line-height: 2.1;
}

#sidenav nav a {
    padding-right: 16px;
    text-decoration: none;
}

#sidenav nav a:hover {
    color: #000047;
    text-decoration: none;
}

.hamburger,
.hamburger2 {
    cursor: pointer;
    padding: 4px 7.2px;
    line-height: 32px;
    font-size: 32px;
    float: left;
    color: #fff;
    background-color: var(--first-color);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.hamburger:hover {
    background-color: var(--first-color-dark) !important;
}

.hamburger2 {
    display: none;
    position: fixed;
    top: 24px;
    left: 16px;
    z-index: 154;
}

.hamburger2:hover {
    color: #808080 !important;
}


/* SUB MENUS */

#sidenav .has-sub ul {
    padding-bottom: 0px;
    background: none;
    position: relative !important;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    border-top: none;
}

#sidenav .has-sub ul li {
    padding-left: 10px;
}

#sidenav .has-sub ul li ul li {
    padding-left: 10px;
    margin-right: 10px;
}

#sidenav .has-sub ul:hover {
    max-height: 1000px;
    -webkit-transform: perspective(400) rotate3d(0, 0, 0, 0);
    -moz-transform: perspective(400) rotate3d(0, 0, 0, 0);
    -ms-transform: perspective(400) rotate3d(0, 0, 0, 0);
    -o-transform: perspective(400) rotate3d(0, 0, 0, 0);
    transform: perspective(400) rotate3d(0, 0, 0, 0);
}

#sidenav .has-sub ul li a {
    color: #000047;
    font-size: 17px;
}

#sidenav .has-sub ul li a:hover {
    color: #ccc !important;
}

#sidenav .has-sub ul li:first-child {
    /*border-top:1px dotted #ccc*/
}

#sidenav .has-sub ul li:last-child {
    border-bottom: 1px dotted #ccc;
}

#sidenav ul li:last-child {
    border-bottom: 0;
}

.subnodrop {
    display: none;
}

.subdrop {
    display: block !important;
}

.subdroprotate {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.dropsubmenuclass {
    color: var(--first-color);
    float: right;
    display: inline-block;
    font-weight: lighter;
    text-decoration: none;
    line-height: 100% !important;
    margin: 5px 0;
    margin-left: -16.58px;
    cursor: pointer;
    /* position: absolute;
    z-index: 1;
    top: 0;
    right: 0; */
}


/* END SUB MENUS */

.activepage {
    color: #000047 !important;
}


/* Ties Up With menu-highlight.js */

#hyplogin {
    margin-right: 10px;
}

@media only screen and (max-width: 667px) {
    #logo {
        position: relative;
    }
    #form1 {
        margin: 0;
        width: 100%;
    }
    /* header {
        position: relative;
    } */
    .menucontainer {
        overflow: auto;
    }
}

@media only screen and (max-width: 1280px) {
    #menu-mask {
        position: fixed;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        display: none;
        padding: 0;
        margin: 0 auto;
        background-color: rgba(0, 0, 0, 0.8);
        /* z-index: 151;*/
    }
    .menucontainer {
        overflow: auto;
    }
}