
#body {
    top: 0;
    width: 100%;
    margin: 0;
}

#body>.menu-left {
    position: fixed;
    width: 180px;
    height: 100%;
    top: 0;
    z-index: 1035;
    line-height: 35px;
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 53, 69, 0.25);
    box-shadow: 0 0 25px rgba(0, 0, 0, 1);
}

#body>.menu-left .name-site {
    display: inline-block;
    font-size: 1.5rem;
    margin-left: 10px;
}

#body.active>.menu-left {
    width: 70px;
    text-align: center;
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}

#body.active>.menu-left .name-site {
    display: none;
}

#body.active>.menu-left>ul>li>.btn {
    color: transparent;
}

#body.active>.menu-left>ul>li {
    line-height: 10px;
}

#body.active>.menu-left>ul>li>a {
    color: transparent;
}

#body.active>.menu-left>ul>li>a>i {
    color: #000;
    font-size: 1.5rem;
    text-align: center;
}

#body.active>.menu-left>ul>li>.btn>i {
    font-size: 1.5rem;
    text-align: center;
}

#body>.menu-left li {
    text-align: center;
}

#body>.menu-left li:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

#body>.menu-left a {
    text-decoration: none;
    font-size: large;
    background-color: transparent;

}

#body>.menu-left a i {
    width: 30px;
    /* 設置固定寬度 */
    display: inline-block;
    /* 讓元素可以套用寬度 */
    text-align: center;
    /* 讓圖示在固定寬度內置中 */
}

#body>.menu-left .collapse {
    margin-left: 30px;
}


/* right */
#body>.menu-right {
    display: none;
    
    width: 0px;
    height: 100%;
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}
#body>.menu-right::-webkit-scrollbar {
    background: #FCC;
}
#body>.menu-right::-webkit-scrollbar-thumb {
    background: #A44; 
}

#body.active-right>.menu-right {
    display: block;
    position: fixed;
    background: #EEE;
    width: 260px;
    margin: 0px;
    right: 0;
    top: 0;
    z-index: 1055;
    overflow-y: auto;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 53, 69, 0.25);
    box-shadow: 0 0 25px rgba(0, 0, 0, 1);
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}

#body.active-right>.container-fluid, #body.active-right>.container, #body.active-right>footer {
    width: calc(100% - 440px);
    transition: all 0.1s;
}
#body.active-right.active>.container-fluid, #body.active-right.active>.container, #body.active-right.active>footer {
    width: calc(100% - 180px);
    transition: all 0.1s;
}

/* right */
#body.none>.menu-top, #body.none>.container, #body.none>.container-fluid, #body.none>footer {
    width: 100%;
    margin-left: 0;
}

#body>.menu-top>.menu-collapse button {
    border: 0;
    margin-left: 30px;
}

#body>.menu-top {
    width: 100%;
    padding: 0;
    height: 70px;
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
    z-index: 995;
    position: fixed;
    top: 0;
    margin-left: 180px;
    width: calc(100% - 180px);
}

#body.has-menu.active>.menu-top {
    width: calc(100% - 70px);
    margin-left: 70px;
}

#body.has-menu > .container {
    margin-top: 70px;
    margin-left: 180px;
    width: calc(100% - 180px);
}

#body.has-menu > .container-fluid {
    margin-top: 70px;
    margin-left: 180px;
    width: calc(100% - 180px);
}

#body.has-menu.active > .container {
    margin-top: 70px;
    margin-left: 70px;
    width: calc(100% - 70px);
}

#body.has-menu.active > .container-fluid {
    margin-top: 70px;
    margin-left: 70px;
    width: calc(100% - 70px);
}

#body.has-menu > footer {
    margin-left: 180px;
    width: calc(100% - 180px);
}
#body.has-menu.active >footer {
    margin-left: 70px;
    width: calc(100% - 70px);
}

#body.has-menu.active .nav-title {
    display: none;
}



/* 手機 */
@media (max-width: 576px) {
    #body>.menu-left {
        width: 0px;
        margin-left: -250px;
    }

    #body.active>.menu-left {
        width: 70px;
        margin-left: 0px;
    }

    #body>.menu-top {
        margin-left: 0px;
        width: 100%;
    }

    #body.active>.menu-top {
        margin-left: 70px;
        width: calc(100% - 70px);
    }

    #body>.menu-top>.menu-collapse button {
        border: 0;
        margin-left: 0px;
    }

    #body>.container {
        margin-top: 70px;
        margin-left: 0;
        width: 100%;
    }

    #body>.container-fluid {
        margin-top: 70px;
        margin-left: 0;
        width: 100%;
    }

    #body.has-menu > .container {
        margin-top: 70px;
        margin-left: 0;
        width: 100%;
    }
    
    #body.has-menu > .container-fluid {
        margin-top: 70px;
        margin-left: 0;
        width: 100%;
    }
    
    #body.has-menu.active>.container {
        margin-top: 70px;
        margin-left: 70px;
        width: calc(100% - 70px);
    }

    #body.has-menu.active>.container-fluid {
        margin-top: 70px;
        margin-left: 70px;
        width: calc(100% - 70px);
    }


}
/* 平板 */