nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    transition: 0.3s;
    z-index: 999;
}
nav.whiteBg {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.07);
}
nav .container {
    display: flex;
    align-items: center;
}
nav .nav-logo img {
    height: 100%;
}
nav a {
    display: block;
}
@media (min-width: 801px) {
    nav .container {
        height: 8em;
    }
    nav .nav-logo {
        height: 3em;
        margin-right: auto;
    }
    nav .depth1 {
        display: flex;
        height: 100%;
    }
    nav .depth1 > li {
        position: relative;
        display: flex;
        align-items: center;
        margin-left: 0;
        height: 100%;
    }
    nav .depth1 > li > a {
        font-size: 1.8rem;
        padding: 2rem;
        color: #fff;
    }
    nav.whiteBg .depth1 > li > a {
        color: #222;
    }
    nav .depth1 > li:hover > a {
        color: #005a9c;
    }
    nav .depth2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: auto;
        height: auto;
        opacity: 0;
        transition: 0.3s;
    }
    nav .depth1 > li:hover .depth2 {
        top: 100%;
        opacity: 1;
    }
    nav .depth2 > li > a {
        display: none;
        text-align: center;
        padding: 1em 2em;
        font-size: 1.6rem;
        font-weight: 500;
        color: #222;
    }
    nav .depth1 > li:hover .depth2 > li > a {
        display: block;
    }
    nav .depth2 > li > a:hover {
        color: #005a9c;
    }
    .mob-menu {
        display: none;
    }
}
@media (max-width: 800px) {
    nav .container {
        height: 6em;
    }
    nav .nav-logo {
        height: 3em;
        margin: 0 auto;
    }
    nav .nav-logo img {
        max-width: 60vw;
    }
    nav .depth1 {
        position: fixed;
        top: 6em;
        right: -100%;
        width: 100vw;
        height: calc(100vh - 6em);
        overflow-y: scroll;
        padding-bottom: 20em;
        transition: 0.4s;
        z-index: 20;
        background: #fff;
    }
    .menuOpen nav .depth1 {
        right: 0;
    }
    nav .depth1 > li {
        padding: 4em 3em 0;
    }
    nav .depth1 > li > a {
        font-size: 2rem;
        color: #222;
        padding: 0.5em 0;
        border-top: 2px solid #005a9c;
    }
    nav .depth2 > li > a {
        font-size: 1.6rem;
        padding: 0.5em 0;
        color: #222;
    }
    .mob-menu {
        position: fixed;
        top: 1.4em;
        right: 2em;
        width: 3.2em;
        height: 3.2em;
        overflow: hidden;
        cursor: pointer;
    }
    .hamburger,
    .hamburger::before,
    .hamburger::after {
        position: absolute;
        content: "";
        right: 0;
        height: 3px;
        background: #fff;
    }

    nav.whiteBg .hamburger,
    nav.whiteBg .hamburger::before,
    nav.whiteBg .hamburger::after {
        background:#005a9c;
    }

    .hamburger {
        top: calc(50% - 1px);
        width: 2.8em;
        transition: width 0.3s 0.3s;
    }
    .hamburger::before,
    .hamburger::after {
        width: 3.2em;
        transition: top 0.3s 0.3s, bottom 0.3s 0.3s, transform 0.3s;
    }
    .hamburger::before {
        top: -9px;
    }
    .hamburger::after {
        bottom: -9px;
    }
    .menuOpen .hamburger {
        width: 0;
    }
    .menuOpen .hamburger::before,
    .menuOpen .hamburger::after {
        transition: top 0.3s, bottom 0.3s, transform 0.3s 0.3s;
    }
    .menuOpen .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }
    .menuOpen .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
}
footer {
    margin-top: 10em;
    padding-bottom: 4em;
    min-height: 300px;
    background: #eee;
}
.footer-top {
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}
.footer-top ul {
    display: flex;
}
.footer-top ul li span {
    margin: 0 1rem;
}
.footer-top ul li a,
.footer-top ul li span {
    color: #777;
    font-size: 1.2rem;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
}
.footer-bottom li {
    display: flex;
    margin: 1em 8rem 0 0;
}
.footer-bottom .th {
    width: 8em;
    font-size: 1.2rem;
    color: #777;
}
.footer-bottom .td {
    width: calc(100% - 8em);
    font-size: 1.2rem;
}
footer .copyright {
    margin-top: 4rem;
    font-size: 1.2rem;
    color: #999;
}
footer .copyright a {
    color: #999;
}
footer a:hover {
    text-decoration: underline;
}
footer .fixedBtns {
    position: fixed;
    bottom: 4em;
    right: 4em;
    z-index:9999;
}
footer .fixedBtns a {
    display: block;
    text-align: center;
    margin-top: 2em;
    width: 14em;
    height: 4em;
    line-height: 4.5em;
    border: 1px solid #fff;
    border-radius: 1em;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
footer .fixedBtns a.fixed-call {
    background: #005a9c;
}
footer .fixedBtns a.fixed-top {
    background: #fff;
}
@media (max-width: 1000px) {
    footer .fixedBtns {
        display: none;
    }
}