.nav-topbar{
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9;
}

.nav-topbar .skyblue,
.nav-topbar .orange{
    height: 15px;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.navbar{
    top: -120px;
    transition: top 0.3s ease-out;
    min-height: 120px;
    background-color: #0E1734;
}

.show{
    top: 0;
}

.offcanvas-header,
.offcanvas-body{
    background-color: #0E1734;
}

.offcanvas-header{
    padding-top: 24px;
    padding-right: 24px;
}

.btnclose{
    opacity: .8;
    border-radius: 4px;
    border: 1px white solid;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.nav-item{
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
}

.nav-item::after{
    content: "";
    border-right: #FFF 1px solid;
    position: absolute;
    right: 0;
    top: 12px;
    height: 40px;
    transform: skewX(-20deg);
}

.nav-link.show,
.nav-link:hover{
    color: #17ABEB;
}

.nav-link{
    color: #FFF;
}

.nav-item:last-child::after{
    display: none;
}

.nav-item p,
.nav-item h5{
    padding: 0;
    margin: 0;
}

.nav-item p{
    font-size: .8em;
}

.dropdown-menu{
}

.dropdown-item:focus{
    background-color: #17ABEB;
}

.dropdown-item{
    transition: all 0.3s;
    position: relative;
    padding-left: auto;
}

.dropdown-item:hover{
    padding-left: 24px;
}

.dropdown-item:hover::before{
    content: "";
    width: 8px;
    height: 1px;
    background-color: #FFF;
    position: absolute;
    top: 16px;
    left: 10px;
}

.offcanvas{
    max-width: 70%;
}

@media only screen and (max-width: 1400px) {
    .nav-item{
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media only screen
    and (max-width: 960px) {
    .navbar{
        top: 0;
    }

    .nav-item::after{
        content: none;
    }

    .offcanvas.show .nav-item::after{
        content: none;
    }
}

@media only screen
    and (max-device-width: 960px) {
    .navbar{
        top: 0;
    }

    .nav-item::after{
        content: none;
    }

    .offcanvas.show .nav-item::after{
        content: none;
    }
}


@media only screen
    and (min-device-width: 768px)
    and (max-device-width: 840px)
    and (-webkit-min-device-pixel-ratio: 1)
    and (orientation: landscape) {
        .navbar{
            top: 0;
        }

        .nav-item::after{
            opacity: none;
        }

        .offcanvas.show .nav-item::after{
            content: none;
        }
}

/* -----------------------------

以下更新來自於rwd-index.css

----------------------------- */

/* Landscape */

@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
    .navbar{
        min-height: 80px;
    }
}

/* Portrait */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 1) {

}

/* Landscape */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 1) {
    .nav-item{
        padding-left: 6px;
        padding-right: 6px;
    }

    .nav-item::after{
        content: "";
        border-right: #FFF 1px solid;
        position: absolute;
        right: 0;
        top: 12px;
        height: 40px;
        transform: skewX(-20deg);
    }
}

/* Portrait iPad Pro */
@media only screen
and (min-device-width: 1024px)
and (max-device-width: 1366px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 1) {
    .nav-item{
        padding-left: 6px;
        padding-right: 6px;
    }
}

/* Landscape iPad Pro */
@media only screen
and (min-device-width: 1024px)
and (max-device-width: 1366px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 2) {
    .nav-item{
        padding-left: 30px;
        padding-right: 30px;
        position: relative;
    }

    .nav-item::after{
        content: "";
        border-right: #FFF 1px solid;
        position: absolute;
        right: 0;
        top: 12px;
        height: 40px;
        transform: skewX(-20deg);
    }

    .nav-item{
        padding-left: 6px;
        padding-right: 6px;
    }
}
