
img,div,video {
    display: block;
    margin: 0 auto;
}
body{
    width: 1016px;
    margin: 0 auto;
}
header {
    margin-top: 8px;
    overflow: auto;
}

.align-right {
    position: absolute;
    right: 5px;
}

#title {
    width: auto;
    height: 50px;
    position: relative;
    background-color: rgb(127, 174, 201);
    padding-left: 20px;
    padding-top: 10px;
    margin-top: 4px;
    margin-bottom: 2px;
}
#lblTitle {
    font-size: 24px;
    font-weight: bold;
}
#btnSubmit {
    position: absolute;
    right: 2px;
    bottom: 0px;
}

#leftbar {
    overflow-y: auto;
    overflow-x: auto;
    width: 250px;
    height: 500px;
    border: 2px solid #B4B4B4;
    float: left;
}
#el-tree {
    min-width: 100%;
    display:inline-block !important;
}
#mainview {
    width: 754px;
    float: left;
    margin-left: 4px;
}

#tabbar{
    width: 100%;
    height: 28px;
    border: 2px solid #B4B4B4;
}
.nav{
    width: 105px;
    height: 28px;
    margin-right: 2px;
    float: left;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    background: #2C8AA0;
    color: white;
    font-size: 14px;
    border-bottom: 1px solid #B4B4B4;
    overflow: hidden;
}
#tabbar>.nav:last-child{
    margin-right: 0;
}
.nav:hover{
    background: #1A505D;
}
.active{
    background: #0F7B86;
    height: 28px;
    border: 2px solid #D3DFE0;
}

#content{
    width: 100%;
    border: 2px solid #B4B4B4;
    margin-top: 4px;
    min-height: 450px;
}
#content .page{
    border-bottom: 2px solid #B4B4B4;
}
#content .videoPage {
    padding: 8px 0;
}

#quesArea {
    width: 100%;
    border: 2px solid #B4B4B4;
    overflow: auto;
}
.quesDiv {
    margin: 8px;
}
.quesTitle {
    margin-bottom: 10px;
}

#teachMainView {
    width: 100%;
}

/* 设置table header的背景颜色 */
.el-table__header th, .el-table__header tr {
    background-color: #dddddd;    
    color: black;    
}

/* 设置表主体的高度 */
.el-table__body td,.el-table__body th{
    padding: 1px;
}

/* 设置表头的高度 */
.el-table__header td,.el-table__header th{
    padding: 3px 0px;
}

.lblRightAns {
    color: blue;
    margin: 4px;
    padding-top: 4px;
}

.lblWrongAns {
    color: red;
    margin: 4px;
    padding-top: 4px;
}

.lblNoneAns {
    color: green;
    margin: 4px;
    padding-top: 4px;
}