﻿/* used to secure that a text area cannot be selected */
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.clear {
    clear: both;
}

.relative {
    position: relative;
    margin-top: 20px;
    margin-bottom: 10px;
}

.fixed {
    position: fixed;
    top: 0px;
}

.bigmenu {
    height: 600px !important; /* used in administration menu */
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* NIV 1 */

div.niv1 {
    width: 983px;
    /*height: 42px;*/
    background-color: white;
    border-bottom: 1px solid lightgray;
    z-index: 1;
}

ul.niv1 {
    list-style-type: none;
    margin: 0 0 0 10px;
    padding: 0;
}

ul.niv1 > li {
    float: left;
    display: inline;
    margin: 0;
    padding: 0;
}

ul.niv1 > li.on {
    background-color: black;
}

ul.niv1 > li.off {
    background-color: white;
}

ul.niv1 > li > a {
    display: block;
    padding:  10px 15px 0px 15px;
    font-size: large;
    font-weight: normal;
    text-align: left;
    text-decoration: none;
    font-family: Verdana;
    cursor: pointer;
    transition: 0.5s;
    height: 33px;

}

ul.niv1 > li.on > a {
    color: white;
}

ul.niv1 > li.off > a {
    color: black;
}

ul.niv1 > li.off > a:hover {
    color: #E01835;
}

/* NIV 2 */

ul.niv1 > li.on > div.niv2 {
    display: block;
    z-index: 1;
}

ul.niv1 > li.off > div.niv2 {
    display: none;
}

div.niv2 {
    width: 327px; /*983px;*/
    height: 400px;
    left: 0px;
    position: absolute;
    background-color: #404040;
}

ul.niv2 {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    color: white;
}

ul.niv2 > li.on {
    background-color: lightgray;
}

ul.niv2 > li.off {
    background-color: #404040;
    border-bottom: 1px solid lightgray;
}

ul.niv2 > li > a {
    display: block;
    padding: 10px 0px 10px 20px;
    font-size: large;
    font-weight: bold;
    text-align: left;
    text-decoration: none;
    font-family: Verdana;
    cursor: pointer;
    /*width: 100%;*/
    transition: 0.5s;
}

ul.niv2 > li.on > a {
    color: black;
}

ul.niv2 > li.off > a {
    color: white;
}


ul.niv2 > li.off:last-child {
    border-bottom: 0px;
}

ul.niv2 > li.off > a:hover {
    color: #E01835;
}

/* NIV 3 */

ul.niv2 > li.on > div.niv3 {
    display: block;
    z-index: 1;
}

ul.niv2 > li.off > div.niv3 {
    display: none;
}

div.niv3 {
    width: 656px;
    height: 400px;
    position: absolute;
    top: 0px;
    left: 327px;
    background-color: lightgray;
}

ul.niv3 {
    position: relative;
    width: 50%;
    height: 100%;
    float: left;
} 

ul.niv3:before {
    content: " ";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: white;
}

ul.niv3 > li {
    border-bottom: 1px solid white;
}

ul.niv3 > li:last-child {
    border-bottom: 0px;
}

ul.niv3 > li > a {
    display: block;
    padding: 10px 10px 5px 20px;
    font-size: large;
    font-weight: bold;
    text-align: left;
    text-decoration: none;
    font-family: Verdana;
    cursor: pointer;
    transition: 0.5s;
    color: black;
}

ul.niv3 > li > a:hover {
    color: #E01835;
}

/* NIV 4 */

ul.niv4 {
    width: 100%;
}

ul.niv4:last-child {
    padding-bottom: 10px;
}

ul.niv4 > li > a {
    display: block;
    padding: 0px 0px 5px 20px;
    font-size: medium;
    font-weight: normal;
    text-align: left;
    text-decoration: none;
    font-family: Verdana;
    cursor: pointer;
    transition: 0.5s;
    color: black;
}

ul.niv4 > li > a:hover {
    color: #E01835;
}
