html{
    font-size: 14px;
    min-height: 100vh;
}
@media only screen and (max-width: 1280px){
    html{
        font-size: 12px;
    }
}
body{
    font-family: "Arial", "Microsoft YaHei", "黑体", "宋体", sans-serif;
}
img{
    image-rendering: -webkit-optimize-contrast;
}
.navbar-fixed-top-secondary {
    height: 5rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px){
    .nav-divider{
        border-left: 1px solid #616161;
        margin: 0 .25rem !important;
    }
    .admin-top,
    .admin-top + .navbar-fixed-top-secondary{
        height: 5rem;
        margin-bottom: 1.5rem;
    }
    
    .execute-top,
    .execute-top + .navbar-fixed-top-secondary{
        height: 5rem;
        margin-bottom: 1.5rem;
    }
    
    .tutor-top,
    .tutor-top + .navbar-fixed-top-secondary{
        height: 5rem;
        margin-bottom: 1.5rem;
    }
    
    .dashboard-top,
    .dashboard-top + .navbar-fixed-top-secondary{
        height: 5rem;
        margin-bottom: 1.5rem;
    }
}
.nav-divider{
    border-bottom: 1px solid #616161;
    margin: .25rem 0;
}
.admin-top{
    height: auto;
    margin-bottom: 1.5rem;
}

.execute-top{
    height: auto;
    margin-bottom: 1.5rem;
}

.tutor-top{
    height: auto;
    margin-bottom: 1.5rem;
}

.dashboard-top{
    height: auto;
    margin-bottom: 1.5rem;
}

.thead-sticky{
    overflow-y: auto;
}
.thead-sticky .table-bordered{
    border-top: 0;
}
.thead-sticky table{
    margin-bottom: 0;
}
.thead-sticky thead td,
.thead-sticky thead th{
    border-top: 0;
    position: sticky;
    top: -1px;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.btn-group.btn-group-gutter > .btn{
    margin-right: .5rem;
}
.btn-group.btn-group-lg.btn-group-gutter > .btn{
    margin-right: 1rem;
}

.table-bordered td, .table-bordered th{
    vertical-align: middle;
}
.badge{
    padding: .55em .4em;
}
.badge.badge-lg{
    font-size: 1.5rem;
    padding: .75rem 3rem;
    font-weight: normal;
}

.custom-control-label:after{
    background-size: 55%;
}

.form-control.form-control-inline{
    max-width: 100px;
    height: initial;
    padding: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    text-align: right;
    display: inline-block;
    box-shadow: none !important; 
    background-color: transparent;
}
.form-control.form-control-inline.is-valid,
.form-control.form-control-inline.is-invalid{
    background-position: left 0 center;
}

.jumbotron.jumbotron-nodata{
    color: #6c757d;
    font-size: 1.75rem;
    margin-bottom: 0;
    font-style: italic;
    font-family: alial;
    border: 1px dashed #BDBDBD;
}
.pre-wrap{
    white-space: pre-wrap;
}
.btn-light{
    border-color: #ced4da;
}
.badge-light{
    border: 1px solid #ced4da;
}

.highcharts-container{
    max-width: 100%;
}



.width-2{
    width: 2em;
}
.width-3{
    width: 3em;
}
.width-4{
    width: 4em;
}
.width-5{
    width: 5em;
}
.width-6{
    width: 6em;
}
.width-7{
    width: 7em;
}
.width-8{
    width: 8em;
}
.width-9{
    width: 9em;
}
.width-10{
    width: 10em;
}

.table-bordered thead td, .table-bordered thead th{
    border-bottom-width: 1px;
}
table.content-no-wrap td, table.content-no-wrap th {
    white-space: nowrap;
}

.modal-backdrop.show ~ .modal-backdrop.show{
    z-index: 1055; 
}

.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem
}
.bd-callout h4 {
    margin-top: 0;
    margin-bottom: .25rem
}
.bd-callout p:last-child {
    margin-bottom: 0
}
.bd-callout code {
    border-radius: .25rem
}
.bd-callout+.bd-callout {
    margin-top: -.25rem
}
.bd-callout-info {
    border-left-color: #5bc0de
}
.bd-callout-info h4 {
    color: #5bc0de
}
.bd-callout-success {
    border-left-color: #66BB6A
}
.bd-callout-success h4 {
    color: #66BB6A
}
.bd-callout-warning {
    border-left-color: #f0ad4e
}
.bd-callout-warning h4 {
    color: #f0ad4e
}
.bd-callout-danger {
    border-left-color: #d9534f
}
.bd-callout-danger h4 {
    color: #d9534f
}


/* for select 2 bootstrp theme */
.select2-container--bootstrap.select2-container--focus .select2-selection, 
.select2-container--bootstrap.select2-container--open .select2-selection{
    box-shadow: none;
}
.select2-container--bootstrap .select2-selection{
    border-radius: 0;
}
.select2-container--bootstrap .select2-results__group{
    font-size: inherit;
    background: #FAFAFA;
}
.select2-container--bootstrap .select2-results>.select2-results__options {
/*     max-height: 350px; */
}
.select2-container--bootstrap .select2-results__option .select2-results__option{
    padding-left : 3rem;
}
.select2-container--bootstrap .select2-selection--single{
    padding: .375rem .75rem;
    height: calc(2.25rem + 2px);
}
.select2-container--bootstrap .select2-results__option--highlighted[aria-selected]{
    background-color: #0088CC;
}

.form-control.is-invalid + .select2 .select2-selection {
    border-color : #dc3545;
}
.form-control.is-invalid + .select2 .select2-selection:focus{
    border-color : #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);
}
.form-control.is-valid + .select2 .select2-selection{
    border-color : #28a745;
}
.form-control.is-valid + .select2 .select2-selection:focus{
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40,167,69,.25);
}

input[type="range"]::-moz-range-progress {
  background-color: #08c; 
}
input[type="range"]::-moz-range-track {  
  background-color: #08c;
}
input[type="range"]::-ms-fill-lower {
  background-color: #08c; 
}
input[type="range"]::-ms-fill-upper {  
  background-color: #08c;
}
.gm-style-cc{
    display: none;
}