@FontSize: 1rem; //0.7rem
@Header-Brand-FontSize: 1rem;
// @Header-Navbar-FontSize: 0.8rem; //0.8rem
// 左侧菜单字体大小
@Sidebar-Menu-FontSize: 0.8rem;
.height-100 {
    height: 100%;
}
/* reboot */

a {
    &:hover {
      text-decoration: none;
    }
}

/* reboot end*/
html {
    .height-100;
}

body {
    // .height-100;
    // font-size: @FontSize;
    // overflow-y: hidden; //scroll
    position: relative;
    font-family: SegoeUI,Helvetica,Arial,sans-serif;
    // font-family: 'Lantinghei SC', 'Open Sans', Arial, 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', SimSun, sans-serif;
}
// Header
header {
    height: 40px;
    &.navbar {
        background-color: #3993ba;
        .divider {
            height: 40px;
            margin: 0 9px 0 9px;
            border-width: 0 1px;
            border-style: solid;
            border-color: transparent rgba(255,255,255,0.2) transparent rgba(0,0,0,0.2);
        }
        .nav-item {
            &>a {
                // font-size: @Header-Navbar-FontSize;
                line-height: 40px;
                &:hover {
                    color: transparent rgba(197, 183, 183, 0.2);
                }
            }
        }
    }
    a.header-brand {
        text-decoration: none;
    }
}
/* Left Sidebar menu */
.sidebar {
    width: 240px;
    position: fixed;
    top: 40px;
    left: 0;
    bottom: 0;
    z-index: 100;
    background: #eee;
    overflow-x: hidden;
    overflow-y: auto;
    border-right: 1px solid #ccc;
    ul {
        &>li {
            &.nav-item {
                color: #333;
                border-color: #ddd;
                text-shadow: 1px 1px 0 #efefef;
                background: #ffffff;
                box-shadow: inset 0px 1px 0px 0px #ececec;
                padding: 0;
            
                margin-bottom: 0;
                border-radius: 0;
                border-color: #ccc;
                border-style: solid;
                border-width: 0 0 1px;
                &>.header {
                    color: #333;
                    border-color: #ddd;
                    text-shadow: 1px 1px 0 #efefef;
                    background: #e0e0e0;
                    box-shadow: inset 0px 1px 0px 0px #ececec;
                    padding: 0;
                    &>a {
                        &:not(.collapsed) {
                            background: url(../images/bullet_green.png) no-repeat 97% center;
                        }
                    }
                }
                a {
                    color: #222;
                    /* 决定宽度 */
                    /* padding: 0.35rem 1rem; */
                    padding-top: 0.5rem;
                    padding-bottom: 0.5rem;
                    font-size: @Sidebar-Menu-FontSize;
                    &:hover {
                        background-color: #cfcfcf;
                    }
                    i {
                        margin-right: 0.2rem;
                    }
                    &.accordion-toggle {
                        display: block;
                        padding: 8px 15px;
                        transition: background-color 0.2s ease-in-out;
                    }
                }

                .card-body {
                    padding-top: 0.75rem;
                    padding-bottom: 0.75rem;
                    li {
                        border: 0px;
                        box-shadow: none;
                        a {
                            padding: 0.25rem;
                            font-size: @Sidebar-Menu-FontSize;
                            &:hover{
                                text-decoration: none;
                                background: #eee;
                            }
                        }
                        &.divider {
                            width: 100%;
                            height: 1px;
                            margin: 5px 0 5px 0;
                            border-top: 1px solid #cfcfcf;
                            // border-style: solid;
                            // border-color: transparent rgba(190, 177, 177, 0.2) transparent rgba(0,0,0,0.2);
                        }
                        &.active {
                            a {
                                color: #fff;
                                text-decoration: none;
                                background-color: #48a6d2 !important;
                                text-shadow: none; 
                            }
                        }
                    }
                }
            }
        }
    }
}
/* left Sidebar menu end */

.main-content{
    overflow-y: auto;
}

