@charset "UTF-8";

/* 常用样式 */
.required{
	color: red;
	font-weight: bold;
}
.handle-shape{
	cursor: pointer;
}
.label-middle {
    vertical-align: text-bottom;
    margin-left: 2px;
}


/* 表格文字垂直居中 */
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td{
	vertical-align: middle;
}


/* 提交加载遮罩 */
.overlay {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 1040;
	background-color: rgba(0,0,0,.2);
	display: none;
}

.mloading-bar {
	width: 300px;
	min-height: 22px;
	text-align: center;
	background: #fff;
	border: #ccc 1px solid;
	border-radius: 7px;
	padding: 20px 15px;
	font-size: 14px;
	color: #000;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -140px;
	margin-top: -30px;
	word-break: break-all;
	z-index: 1041;
	display: none;
}


/* 添加习题下拉选项 */
.warehouse-question-menu {
	display: none;
    position: absolute;
    transform-origin: center top;
	z-index: 2015;
	top: 30px;
	left: 100px;
    padding: 0;
    margin: 5px 0;
    background-color: #fff;
    border: 1px solid #ebeef5;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
.warehouse-question-menu__item {
    text-align: center;
    padding: 8px 5px;
	width: 96px;
    list-style: none;
    margin: 0;
    font-size: 14px;
    color: #606266;
    cursor: pointer;
    outline: 0;
}
.warehouse-question-menu__item:hover {
	color: #2A75ED;
	border-color: #bfd6fa;
	background-color: #eaf1fd;
}

/* 上传习题样式 */
.warehouse-question-upload {
	display: none;
    position: absolute;
    transform-origin: center top;
	z-index: 2015;
	top: 30px;
	left: 212px;
    padding: 0;
    margin: 5px 0;
    background-color: #fff;
    border: 1px solid #ebeef5;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
.warehouse-question-upload__item {
    text-align: center;
    padding: 8px 5px;
	width: 96px;
    list-style: none;
    margin: 0;
    font-size: 14px;
    color: #606266;
    cursor: pointer;
    outline: 0;
}
.warehouse-question-upload__item:hover {
	color: #2A75ED;
	border-color: #bfd6fa;
	background-color: #eaf1fd;
}


/* 导入按钮样式 */
.btn-import{
	cursor: pointer;
	margin-left: 15px;
	color: #2a75ed;
    border: 1px dashed #2a75ed;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

/* 导入习题选择样式 */
.content-left{
	width: 350px;
	height: 480px;
	float: left;
	overflow-y: auto;
	padding-right: 20px;
    border-right: 1px solid #eee;
}
.content-left .warehouse-search{
	position: fixed;
    width: 329px;
}
.content-left .warehouse-list{
	margin-top: 40px;
}
.content-left .warehouse-list .is-searching, .content-right .exercises-list .is-searching{
	padding: 50px 0;
    text-align: center;
}
.content-left .warehouse-list .empty, .content-right .exercises-list .empty{
	padding: 150px 0;
    text-align: center;
}
.content-left .warehouse-list .warehouse-list__item{
    max-width: 100%;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 100%;
    padding: 10px 5px;
	cursor: pointer;
}
.content-left .warehouse-list .warehouse-list__item:hover, .content-left .warehouse-list .curr{
	border-color: #bfd6fa;
	background-color: #eaf1fd;
}
.content-right{
	width: 586px;
	height: 480px;
	float: left;
	padding-left: 20px;
}

/* 查看考试题目样式 */
.show-question{
	max-height: 500px;
    overflow-y: auto;
}
.show-question .form-group{
	border-bottom: 1px #cecece dashed;
}
.show-question .control-label{
	padding-top: 0 ;
}
.show-question img{
	max-width: 500px !important;
}
.show-question .list-option>li>span.optionSelectedStyle {
    width: 18px;
    height: 18px;
    display: inline-block;
    line-height: 15px;
    border: 1px solid #3296fa;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    text-align: center;
    color: #3296fa;
    font-size: 12px;
    margin-right: 5px;
}
.show-question .list-option>li>div {
    display: inline-block;
    vertical-align: top;
    max-width: 50%;
    word-break: break-all;
}
.show-question .list-option>li>span.optionSelectedStyle.isCorrectAnswer {
    color: #fff;
    background: #3296fa;
}

.show-question .radio-wrap, .radio-wrap label {
    cursor: pointer;
    position: relative;
    font-size: 14px;
    line-height: 14px;
	font-weight: normal;
	margin-bottom: 5px;
}
.show-question .exam-radio {
    width: 14px;
    height: 14px;
    border: 1px solid #3296fa;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    position: relative;
}
.show-question .radio-active {
    border: 1px solid #3296fa;
}
.show-question .radio-active:after {
    content: "";
    display: block;
    position: absolute;
    top: 1px;
    left: 1px;
    width: 10px;
    height: 10px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #3296fa;
}

/* 关联课程样式 */
.relevance-course-item{
    position: relative;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: top;
    width: 320px;
    height: 80px;
    background-color: #f5f7fa;
    padding: 10px;
    margin-bottom: 15px;
	font-size: 0;
}
.relevance-course-item-img{
    width: 80px;
    height: 60px;
    margin-right: 10px;
    vertical-align: top;
}
.relevance-course-item-wrapper{
    display: inline-block;
	font-size: 14px;
}
.relevance-course-item-wrapper-title{
	max-width: 200px;
    max-height: 60px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}
.relevance-course-item-closeImg{
    width: 16px;
    height: 16px;
    position: absolute;
    right: -8px;
    top: -8px;
    cursor: pointer;
}

/* 开关按钮 */
.switchery {
	background-color: #fff;
	border: 1px solid #dfdfdf;
	border-radius: 20px;
	cursor: pointer;
	display: inline-block;
	height: 20px;
	position: relative;
	vertical-align: middle;
	width: 40px;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	box-sizing: content-box;
	background-clip: content-box;
	border-color: #dfdfdf;
	-webkit-box-shadow: #dfdfdf 0px 0px 0px 0px inset;
	box-shadow: #dfdfdf 0px 0px 0px 0px inset;
	-webkit-transition: border 0.4s, box-shadow 0.4s, -webkit-box-shadow 0.4s;
	transition: border 0.4s, box-shadow 0.4s, -webkit-box-shadow 0.4s;
	background-color: #fff;
	margin-top: 6px;
}

.switchery>small {
	background: #fff;
	border-radius: 100%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	height: 20px;
	position: absolute;
	top: 0;
	width: 20px;
	left: 0px;
	-webkit-transition: background-color 0.4s, left 0.2s;
	transition: background-color 0.4s, left 0.2s;
}

.switchery.checked {
	border-color: #079200;
	box-shadow: #079200 0px 0px 0px 16px inset;
	background-color: #079200;
	-webkit-transition: border 0.4s, box-shadow 0.4s, -webkit-box-shadow 0.4s, background-color 1.2s;
	transition: border 0.4s, box-shadow 0.4s, -webkit-box-shadow 0.4s, background-color 1.2s;
}

.switchery.checked>small {
	left: 20px;
	transition: background-color 0.4s, left 0.2s;
}

.switchery-small {
	border-radius: 20px;
	height: 20px;
	width: 33px;
}

.switchery-small>small {
	height: 20px;
	width: 20px;
}

.switchery.switchery-small.checked>small {
	left: 13px;
	transition: background-color 0.4s, left 0.2s;
}