p, label {
    margin: 0;
}

ul, ol, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.close {
    font-size: 30px;
}

.form-control {
    display: inline-block;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background: #fff none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.label-radio-box {
    margin-right: 10px;
    margin-bottom: 5px;
    cursor: pointer;
}

.label-radio-box input[type=radio] {
    margin: 0 5px 0 0;
    vertical-align: middle;
    outline: none;
    cursor: pointer;
}

.label-radio-box span {
    font-size: 14px;
    font-weight: 400;
    vertical-align: middle;
}

.checkbox .label-checkbox{
    margin-right: 15px;
    margin-bottom: 5px;
    padding: 0;
    cursor: pointer;
}

.label-checkbox span{
    font-size: 14px;
    font-weight: 400;
    vertical-align: middle;
    -webkit-user-select: none;
}

.label-checkbox input[type="checkbox"] {
    position: relative;
    display: inline-block;
    margin: 0 5px 0 0;
    width: 16px;
    height: 16px;
    outline: none !important;
    cursor: pointer;
    vertical-align: middle;
}

.color-red {
    color: red;
}

.margin-left {
    margin-left: 15px !important;
}

.margin-right {
    margin-right: 15px !important;
}

.margin-bottom {
    margin-bottom: 15px !important;
}

.margin-right-bottom {
    margin-right: 15px !important;
    margin-bottom: 15px !important;
}

.btn-margin {
    margin-right: 10px !important;
    margin-bottom: 10px !important;
}

.control-label {
    height: 34px;
    line-height: 34px;
    margin-right: 10px;
    margin-bottom: 0;
    font-size: 16px;
}

.th-check {
    width: 60px;
}

.comment-all {
    text-align: center;
    cursor: pointer;
}

.comment-all span {
    vertical-align: middle;
    -webkit-user-select: none;
}

.white-space {
    white-space: nowrap;
}

.modal-header {
    color: #fff;
    background-color: #00a65a;
}

.select2-container {
    text-align: left;
    vertical-align: top;
}

.select2-container .select2-selection--single {
    height: 34px;
    font-size: 14px;
    border-radius: 0;
    vertical-align: top;
}

.form-inline .input-keyword {
    width: 300px;
}

th, td {
    font-size: 14px;
    word-break: break-all;
    text-align: center;
    vertical-align: middle !important;
}

tr.checked .required-box, tr.checked .max-num {
    display: none !important;
}

.icon-state-warning {
    color: #dfba49;
}

.icon-state-info {
    color: #89C4F4;
}

.float-box {
    position: relative;
    overflow: hidden;
}

.float-box.line:after {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    left: 40%;
    top: 0;
    background-color: #efefef;
}

.width100 {
    width: 100%;
}

.width50 {
    width: 50%;
}

.width50 .padding {
    position: relative;
    padding-left: 80px;
    padding-right: 20px;
}

.width50 .position {
    position: absolute;
    top: 0;
    left: 0;
}

.btn-success {
    color: #fff;
    background-color: #00a65a;
    border-color: #008d4c;
}

.btn-success:hover {
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}

.btn-success.focus, .btn-success:focus {
    color: #fff;
    background-color: #00a65a;
    border-color: #008d4c;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
}

.confirm-content .label-box {
    width: 100%;
    margin: 10px 0;
}

.confirm-content .label-box > span {
    display: inline-block;
    width: 80px;
    vertical-align: middle;
}

.confirm-content .label-box .form-control {
    width: calc(100% - 80px);
}

.icon-arrow-left, .icon-arrow-right {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.icon-arrow-right:before {
    content: "\f054";
}

.icon-arrow-left:before {
    content: "\f053";
}

.btn-app {
    border-radius: 3px;
    position: relative;
    padding: 8px 5px;
    margin: 0 15px 15px 0;
    min-width: 84px;
    height: 60px;
    line-height: 24px;
    text-align: center;
    color: #666;
    border: 1px solid #ddd;
    background-color: #f4f4f4;
    font-size: 12px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 7px;
    color: #444;
}

.select2-container--default.select2-container--focus .select2-selection--multiple, .select2-container--default .select2-selection--multiple {
    border-radius: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    float: right;
}

.select2-container .select2-search--inline .select2-search__field {
    margin: 0;
    height: 34px;
    line-height: 34px;
    font-size: 14px;
    color: #555;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    vertical-align: middle;
}

button[disabled], html input[disabled] {
    cursor: not-allowed;
}

.subject-info p {
    line-height: 40px;
    white-space: nowrap;
}

.class-num input {
    width: 140px;
}

.teacher-list {
    position: relative;
}

.teacher-list .icon-close {
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -12px;
    display: block;
    width: 24px;
    height: 24px;
    background: url(../../img/icon_close.png) no-repeat center;
    background-size: 100%;
    cursor: pointer;
}

.teacher-list .control-label {
    display: block;
    height: 40px;
    line-height: 40px;
}

.box.box-solid > .box-header .btn:hover, .box.box-solid > .box-header a:hover {
    background-color: #449d44;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #444;
    background: #f7f7f7;
}

.second-list .item-margin-bottom {
    height: 34px;
    line-height: 34px;
    white-space: nowrap;
}

.item-margin-bottom {
    margin-bottom: 5px;
}

.item-margin-bottom:last-child {
    margin-bottom: 0;
}

.nav-stacked > li.active > a, .nav-stacked > li.active > a:hover {
    border-color: #449d44
}

.input-upload {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
    font-size: 0;
    font-size: 100px \9;
}

.upload-box {
    position: relative;
    overflow: hidden;
}

.upload-img-box {
    position: relative;
    float: left;
    width: 100px;
    height: 100px;
    background: url(../../img/img-upload.png) no-repeat center;
    background-size: 100%;
    overflow: hidden;
}

.upload-img-box .upload-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
    font-size: 0;
    font-size: 100px \9;
}

.upload-img-box input[type=file] {
    cursor: pointer;
}

.textarea{
    resize: none;
}
.file-list{
    float: left;
    overflow: hidden;
}
.img-box{
    position: relative;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    background-color: #f1f1f1;
    cursor: pointer;
}
.img-box img{
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}
.img-box .icon-close{
    position: absolute;
    top:0;
    right:0;
    width: 30px;
    height: 30px;
    background: url(../../img/remove-icon-small.png) no-repeat center;
    background-size: 9px;
    cursor: pointer;
}
.echart{
    height: 300px;
}
.border-top-none{
    border-top:none!important;
}
.clear-both{
    clear: both;
}

.otable{
    display: table;
    width: 100%;
    border-top:1px solid #f4f4f4;
}
.otable-left{
    display: table-cell;
    padding: 10px;
    width:30%;
    border-right:1px solid #f4f4f4;
    vertical-align: middle;
}
.otable-right{
    display: table-cell;
    padding: 10px;
    vertical-align: middle;
}
.datetimepicker{
    z-index: 1060!important;
}
.table-box{
    position: relative;
}
.close-items{
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: url(../../img/removeItem.png) no-repeat center;
    background-size: 100%;
    cursor: pointer;
}
