
// @path : "http://www.yiibai.com/less";
// @import "@{path}/external1.less";

@import '/public/mdv/config.php?outmode=less&timesamp=3aa4aa';

.clear-fix:after
{
     content:".";     display:block;     height:0;     clear:both;     visibility:hidden;
}

@BODY_WIDTH : @webWidth ;
@BANNER_HEIGHT : 228px ;

h1 {
    font-size: 28px ;
}

.h1_4_leftcatalog {
    padding-left :15px;
    border-left: 5px solid red;
    font-size:26px;
    font-weight: bold;
}

.fixed_leftmenu {
    position: fixed ;
    top : 50%;
    margin-top:-220px;
    right: 50%;
    margin-right:630px;
    width: 180px;
    border-right: 1px solid #e2e2e2;
    min-height:500px;
    max-height:520px;
    overflow-y: auto;

    li {

        cursor: pointer;
        line-height: 30px;
  

        a{
            display: block ;
            position: relative;
            padding-right:10px;

            white-space: nowrap;
            overflow: hidden;
            text-align: right;
            text-overflow: ellipsis;
        }

    }

    .active a:after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: .2rem;
        background-color: #4293f4;
    }
}

.fixed_leftmenu::-webkit-scrollbar {/*滚动条整体样式*/
    width: 10px;     /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}
.fixed_leftmenu::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
    border-radius: 10px;
     -webkit-box-shadow: inset 0 0 5px #c1c1c1;
    background: #c1c1c1
}
.fixed_leftmenu::-webkit-scrollbar-track {/*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px #f3f2ce;
    border-radius: 10px;
    background: #f3f2ce;
}

.IndexBanner {
    width : @BODY_WIDTH ;    margin : 0 auto ;    margin-top : 18px ;
}

.IndexBannerBox {
        
        img { width : 1200px ; height : @BANNER_HEIGHT ; } 
}

.Detail {
    width : @BODY_WIDTH ;    margin : 0 auto ;    margin-top : 18px ;
    min-height : 600px;
}

.DetailBox {
    .BaikeDict {

        img {
            max-width: 800px ;
            width : 700px;
        }

        img[title="nochange"] {
            width : auto ;
        }

        img[title="fullsize"] {
            width : 850px ;
        }

        .Title {
            margin-bottom : 20px;
        }

    }
}



.Article {

    width : @BODY_WIDTH ;    margin : 0 auto ;    margin-top : 12px ;
}

.ArticleBox {

    width : 750px ;

    .BaikeDict {
        margin-bottom : 22px ;
        box-shadow: 0px 0px 6px 2px #f1c77f;
        padding-top:12px ;
        padding-bottom:12px ;

        .Cover {
            float : left ;

                img {
                    width : 160px ;
                    height : 100px ;
                }
        }

        .Title {
            float : right ;
            width : 580px ;
            margin-bottom : 10px ;
        }

        .Summary {
            float : right ;
            width : 580px ;

            font-size: 14px;
            color:grey ;
            line-height: 26px;
            text-indent: 26px;
        }
    }
    
    .BaikeDict:nth-of-type(even){
        background-color : #f9f8eb ;
    }

    .BaikeDict:hover{
        /*background-color : #f9e3c4 ;*/
        cursor: pointer ;
        box-shadow: 0px 0px 6px 2px #fb0f46;
    }

}


.SEARCH_OUT {

    position: relative;
    min-height : 160px ;
    width : 1000px;

    .COVER {
        height : 100px;
        width : 160px;
        padding-left : 8px ;

        overflow: hidden;

        img {
            height : 100% ;
        }
    }

    .TITLE {
        position: absolute;

        width : 805px;

        left : 195px;

        top : 0px;
    }

    .CONT {
        /*padding-left: 8px ;
        padding-top : 10px;*/
        position: absolute;
        left: 195px;
        top: 35px;
    }

    em {
        color : red;
    }

}

.SEARCHOUT_BOX_ {

    font-size : 16px;
    border-left: 2px solid #d6c2c2;
    padding-left: 12px;

    ul {
        line-height: 35px;
    }

    .TITLE_:hover{
        background-color: #fde0e0;
    }

}
