header.home {
    position: relative;
    padding: 5px 20px;
    background: #333F50;
    /* overflow: auto; */
    padding-bottom: 20px;
}

header.home:after { content:""; clear:both; display:block; }

header.home > div:nth-of-type(1),
header.home > div:nth-of-type(2),
header.home > div:nth-of-type(3) {
    position: relative;
    top: 20px;
}


header.home > div:nth-of-type(1) > a {
    position: relative;
    display: block;
    top: -10px;
    left: 20px;
    width: 100px;
    height: 40px;
    background: url('/images/logo.png') 50% center / contain no-repeat;
    margin: 0;
}
header.home > div:nth-of-type(1),
header.home > div:nth-of-type(2),
header.home > div:nth-of-type(3) {
    float: left;
}
header.home > div:nth-of-type(2) {
    font-size: 14px;
    color: white;
    margin: 10px 0 0 10%;
}

header.home > div:nth-of-type(2) > ul li {
    display: inline-block;
}
header.home > div:nth-of-type(2) > ul li:not(:last-child) {
    margin-right: 20px;
}
header.home > div:nth-of-type(3) {
    width: 200px;
    font-size: 12px;
    margin: 7px 10px 0 50px;
}
header.home > div:nth-of-type(3) > ul {
    position: absolute;
    z-index: 10;
}
header.home > div:nth-of-type(3) > ul li a {
    display: block;
    background: white;
    padding: 5px 20px;
    border: 1px solid lightgray;
}
header.home > div:nth-of-type(3) > ul li:not(:first-child) a {
    padding: 10px 20px;
}
header.home > div:nth-of-type(3) > ul li:not(:last-child) a {
    border-bottom: 0;
}
header.home > div:nth-of-type(3) > ul li:not(:nth-child(1)) {
    display: none;
}
header.home > div:nth-of-type(3) > ul li:nth-child(1) a {
    border-radius: 5px;
}
header.home > div:nth-of-type(3) > ul li:nth-child(1).active a {
    color: white;
    background: skyblue;
}
header.home > div:nth-of-type(3) > ul li.active ~ li {
    display: block;
}

header.home > div:nth-of-type(4) {
    /* float: right; */
    position: absolute;
    top: 0px; right: 10px;
    font-size: 12px;
    color: white;
    margin: 10px 0 0 10%;
}

header.home > div:nth-of-type(4) > ul li {
    display: inline-block;
    padding: 0 5px;
}
header.home > div:nth-of-type(4) > ul li:not(:last-child) {
    border-right: 1px solid white;
}

#loading {
    display: none;
    position: fixed;
    top: 0; bottom: 0;
    left: 0; right: 0;
    z-index: 100;
    background: rgba(0,0,0,0.7);
}
#loading table {
    width: 100%;
    height: 100%;
}
#loading table td {
    text-align: center;
    font-size: 36px;
    color: white;
}