/*index*/
body,
html {
    font-family: 'Microsoft Yahei', 微软雅黑, verdana, Helvetica, Arial, sans-serif;
    font-size: 14px;
    width: 100%;
    min-width: 600px;
    height: 100%;
    min-height: 100%;
}

body {
    background: #fff none repeat scroll 0 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: outside none none;
}

a:focus,
a:hover {
    text-decoration: underline;
    color: #666;
}

#viewport {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

#viewport header {
    position: relative;
    z-index: 1;
}

.contest-nav-wrapper {
    width: 100%;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    background-color: #4990e2;
}

.client .contest-nav-wrapper {
    background-color: #73c31b;
}

.navbar-default .navbar-toggle {
    margin-top: 15px;
}

.navbar-default .navbar-nav > li > a {
    margin: 0 10px;
    color: #fff;
}

.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:hover {
    color: #fff;
}

.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li.selected > a {
    color: #afffee;
}

.navbar-default .navbar-brand {
    color: #fff;
}

.navbar-brand {
    font-size: 20px;
    line-height: 34px;
    height: 64px;
}

.contest-nav-wrapper .nav-menu {
    padding: 0 10px;
}

.contest-nav-wrapper .nav-menu a::after {
    position: relative;
    bottom: 18px;
    display: block;
    width: 0;
    height: 2px;
    margin: 0 auto;
    content: '';
    -webkit-transition: all .5s;
    transition: all .5s;
    background-color: #afffee;
}

.contest-nav-wrapper .nav-menu a:hover::after,
.contest-nav-wrapper .nav-menu.selected a::after {
    width: 100%;
}

.contest-nav-wrapper .menu-path {
    line-height: 64px;
    height: 64px;
    margin: 0;
    padding: 0;
    text-align: center;
}

.contest-nav-wrapper .navbar-collapse[aria-expanded='true'] .nav-menu a:hover::after,
.contest-nav-wrapper .navbar-collapse[aria-expanded='true'] .nav-menu.selected a::after {
    width: 0;
}

.contest-nav-wrapper .logout {
    font-size: 14px;
    line-height: 64px;
    display: inline-block;
    height: 64px;
    margin-left: 20px;
    color: #fff;
}

/*main-container*/

.main-container {
    position: relative;
    min-height: calc(100% - 170px);
}

.main-container:before,
.main-container:after {
    display: table;
    content: '';
}

.main-container:after {
    clear: both;
}

/*today-container*/

.exam-list-item-one {
    font-size: 14px;
    height: 90px;
    padding: 15px;
    cursor: pointer;
    color: #333;
    border-radius: 4px;
    background: #fff;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .20);
}

.exam-list-item-one:not(:last-child) {
    margin-bottom: 20px;
}

.exam-list-item-one .row .row {
    line-height: 30px;
    height: 30px;
}

.exam-list-item-one .start-container {
    line-height: 60px;
    height: 60px;
    text-align: center;
    border-left: 1px solid #eee;
}

.exam-list-item-one .start-button {
    color: #4990e2;
}

.exam-list-item-one .status {
    color: #d0011b;
}

.exam-list-item-one.ongoing .status {
    color: #73c31b;
}

.exam-list-item-one .title {
    font-size: 18px;
}

.btn-style-one {
    font-size: 14px;
    line-height: 34px;
    display: inline-block;
    width: 100px;
    height: 34px;
    cursor: pointer;
    text-align: center;
    color: #fff;
    border: none;
    border-radius: 4px;
    outline: none;
    background: #4990e2;
}

.btn-style-two {
    font-size: 14px;
    line-height: 34px;
    display: inline-block;
    width: 150px;
    height: 34px;
    cursor: pointer;
    text-align: center;
    color: #fff;
    border: none;
    border-radius: 4px;
    outline: none;
    background: #4990e2;
}

.btn-style-three {
    font-size: 14px;
    line-height: 40px;
    width: 150px;
    height: 40px;
    cursor: pointer;
    text-align: center;
    color: #fff;
    border: none;
    border-radius: 4px;
    outline: none;
    background: #4990e2;
    margin-top:50px;
}

.btn-style-one.green-bg {
    color: #fff;
    background:#61c663;
}

.btn-style-one.red-bg {
    color: #fff;
    background:#ff6762;
}

.btn-style-one.white-bg {
    color: #4990e2;
    border: 1px solid #4990e2;
    background: #fff;
}

.btn-style-one.white-bg:hover {
    color: #666;
}

.btn-style-two.white-bg {
    color: #4990e2;
    border: 1px solid #4990e2;
    background: #fff;
}

.btn-style-two.white-bg:hover {
    color: #666;
}

.btn-style-one.green-bg:hover {
    color: #666;
}

.btn-style-one.red-bg:hover {
    color: #666;
}

.btn-style-one.small {
    height: 34px;
}

.btn-style-one.mini {
    width:60px;
    height:26px;
    line-height:26px;
    font-size:12px;
    display:block;
    margin:10px 10px 0 10px;
}

.btn-style-one {
    margin-left: 10px;
}

.btn-style-one-right {
	margin-left:auto !important;
    margin-right: 10px !important;
}

.btn-style-two {
    margin-left: 10px;
}

.exam-list-item-three .btn-style-one:first-child {
    margin-left: 0;
}

.exam-list-item-three .btn-style-two:first-child {
    margin-left: 0;
}

.exam-list-item-three img {
    border-radius: 4px;
}

.btn-style-one:hover {
    text-decoration: none;
}

.btn-style-two:hover {
    text-decoration: none;
}

.btn-style-three:hover {
    text-decoration: none;
}

.tab-container {
    position: relative;
}

.tab-container > .btn-style-one {
    position: absolute;
    top: 3px;
    right: 0;
}

.tab-container > .btn-style-two {
    position: absolute;
    top: 3px;
    right: 0;
}

.query-container div {
    line-height: 34px;
    width: 100%;
    height: 34px;
}

.query-container div > * {
    float: left;
}

.query-container div:first-child {
    margin-bottom: 10px;
}

.query-container div:not(:first-child) a {
    float: right;
}

.query-container input,
.query-container select {
    width: 100px;
    height: 34px;
    text-indent: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.query-container label:not(:first-of-type) {
    margin-left: 6px;
}

.query-container input {
    width: 120px;
}

/*recent-container*/

.exam-list-item-two {
    font-size: 14px;
    height: 148px;
    margin-bottom: 20px;
    padding: 20px;
    cursor: pointer;
    color: #333;
    border-radius: 4px;
    background: #fff;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .20);
}

.exam-list-item-two > .row {
    line-height: 36px;
    height: 36px;
}

.exam-list-item-two .status {
    color: #d0011b;
}

.exam-list-item-two .title {
    font-size: 18px;
}

.exam-list-item-two .detail a {
    color: #4990e2;
}

.exam-list-item-two.finished,
.exam-list-item-two.finished .status,
.exam-list-item-two.finished a {
    color: #999;
}

.exam-list-item-two.ongoing .status {
    color: #73c31b;
}

.exam-list-item-two > div > div,
.exam-list-item-one-info > div > div {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.exam-list-item-one-info > div:nth-child(2) > div{
	padding-right:0 !important;
}

.exam-list-item-one:hover,
.exam-list-item-two:hover {
    left: .1em;
    color: #607d8b;
    background-color: #eee;
}

/*exam-list-item-three*/

.exam-list-item-three {
    font-size: 16px;
    padding: 15px 36px;
    color: #333;
    border-radius: 4px;
    background: #fff;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .20);
}

.exam-list-item-three .row {
    line-height: 60px;
    height: 60px;
}

.exam-list-item-three .row.item-type {
   
}

.exam-list-item-three .row.img-row {
    height: 180px;
    position: relative;
}

.exam-list-item-three .row.img-row span {
    line-height: 24px;
    position: absolute;
    bottom: 0;
}

.exam-list-item-three .title {
    font-size: 20px;
}

.exam-list-item-three .form-group:not {
    margin-left: 20px;
}

.exam-list-item-three .status {
    color: #d0011b;
}

.exam-list-item-three.finished .status {
    color: #999;
}

.exam-list-item-three.ongoing .status {
    color: #73c31b;
}

/*footer*/

.footer {
    font-size: 12px;
    line-height: 80px;
    width: 100%;
    height: 80px;
    text-align: center;
    color: #ccc;
}

/*覆盖bootstrap默认pagination样式*/

.myPagination {
    text-align: center;
}

/*bootstrap默认下如果a有href属性，则hover时有pointer效果，否则需要自己手动添加cursor:pointer效果*/

.nav > li > a:hover {
    cursor: pointer;
}

.pagination > li > a,
.pagination > li > span {
    line-height: 1.42857;
    position: relative;
    float: left;
    margin-left: -1px;
    padding: 6px 12px;
    text-decoration: none;
    color: #09c;
    border: 1px solid #ddd;
    background-color: #fff;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    z-index: 3;
    cursor: default;
    color: #fff;
    border-color: #09c;
    background-color: #09c;
}

.contest-title {
    font-size: 18px;
    margin-top: 15px;
    color: #333;
}

.nav-tabs {
    margin-top: 15px;
    margin-bottom: 20px;
}

#create-candidate-container,
#edit-candidate-container,
#create-form-item-container,
#edit-form-item-container {
    margin-top: 50px;
}

/* table specfication */

.my-table {
    overflow: hidden;
    margin: 1em auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
}

.my-table .table-header {
    font-size: 18px;
    line-height: 50px;
    height: 50px;
    text-align: center;
    color: #333;
    background: #eee;
}

/*防止表格内内容超出时往右偏*/

.my-table table {
    width: 100%;
    table-layout: fixed;
}

.my-table table td,
.my-table table th {
    font-size: 14px;
    position: relative;
    height: 56px;
    text-align: center;
    vertical-align: middle;
    color: #333;
    word-break:break-all;
    padding: 5px;
}

.my-table table.left-content td,
.my-table table.left-content th {
    text-align: left;
}

.my-table td.left-content,
.my-table th.left-content {
    text-align: left;
}

.my-table table td:after {
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    height: 1px;
    content: '';
    background-color: #ccc;
}

.my-table table td:first-child:after,
.my-table table td:last-child:after {
    background-color: transparent;
}

.my-table table th:first-child,
.my-table table th:last-child {
    width: 16px;
    min-width: 16px;
}

.my-table table th {
    font-size: 16px;
    font-weight: 500;
    height: 50px;
}

.my-table .table-a:not(:first-child) {
    /* margin-left: 5px; */
}

.my-table .table-a:not(:last-child) {
    margin-right: 10px;
}

.my-table .edit-a {
    color: #4990e2;
}

.my-table .delete-a {
    color: #d0011b;
}

@media (min-width: 600px) {
    .my-table .big-td {
        width: 60px;
    }
}

@media (min-width: 992px) {
    .my-table .small-td {
        width: 50px;
    }

    .my-table .mid-td {
        width: 80px;
    }

    .my-table .big-td {
        width: 96px;
    }
}

@media (min-width: 1200px) {
    .my-table .small-td {
        width: 50px;
    }

    .my-table .mid-td {
        width: 80px;
    }

    .my-table .big-td {
        width: 96px;
    }
}

/*bootstrap*/

.btn-primary {
    color: #fff;
    border-color: #2e6da4;
    background-color: #4990e2;
}

/* clearfix */

.main-container,
.recent-container,
.page-container {
    position: relative;
    min-height: calc(100% - 170px);
}

.today-container:before,
.today-container:after,
.main-container:before,
.main-container:after,
.recent-container:before,
.recent-container:after,
.page-container:before,
.page-container:after {
    display: table;
    content: '';
}

.today-container:after,
.main-container:after,
.recent-container:after,
.page-container:after {
    clear: both;
}

/* page */

.pagination-container {
    text-align: center;
}

/* 调整bootstrap默认的.alert样式 */

#myTabContent .alert {
    margin: 10px 0;
    padding: 8px;
}

.layui-layer:not(.layui-layer-loading) {
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
}

.layui-layer-title {
    border-bottom: 1px solid #e5e5e5;
    border-radius: 6px 6px 0 0;
    background-color: #fff;
}

.layui-layer-btn a {
    line-height: 26px;
}

.layui-layer-btn .layui-layer-btn0 {
    color: #fff;
    border-color: #2e6da4;
    background-color: #4990e2;
}

.layui-layer-btn .layui-layer-btn0:hover {
    background-color: #286090;
}

.layui-layer-btn .layui-layer-btn1 {
    color: #333;
    border-color: #ccc;
    background-color: #fff;
}

.layui-layer-btn .layui-layer-btn1:hover {
    color: #333;
    border-color: #adadad;
    background-color: #e6e6e6;
}

.layui-layer-btn a {
    border-radius: 4px;
    background-color: #f1f1f1;
}

/*2017.4.6*/

.contest-h3 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-left: 20px;
    color: #4990e2;
    border-left: 4px solid #4a90e2;
}

.invalid-exam {
    font-size: 14px;
    line-height: 108px;
    text-align: center;
    color: #4990e2;
}

.create-form {
    width: 60%;
    margin: 0 auto;
}

.create-form .row {
    line-height: 34px;
    margin-top: 30px;
}

.create-form .input-row .col-xs-4 {
    text-align: right;
}

.create-form input.form-control {
    width: 240px;
}

select.skin-form-control {
	width: 240px;
}
/*面包屑*/

.location.manual {
    font-size: 14px;
    margin-top: 15px;
}

.candidate-number-container {
    text-indent: 21px;
    background-image: url(../images/candidate-number.png);
    background-repeat: no-repeat;
    background-position: 15px center;
    background-size: 14px 18px;
}

.error-page {
    position: relative;
}

.page-error-bg {
    font-size: 48px;
    line-height: 180px;
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    height: 180px;
    padding-left: 236px;
    transform: translate(-50%, -50%);
    color: #4a90e2;
    background-image: url('../images/404-bg.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 216px 180px;
}

.page-error-checkdetail {
    font-size: 28px;
    line-height: 180px;
    position: absolute;
    top: 50%;
    left: 60%;
    display: inline-block;
    height: 180px;
    padding-left: 236px;
    transform: translate(-50%, -50%);
    color: #4a90e2;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 216px 180px;
}

.page-error-message {
    font-size: 12px;
    line-height: 30px;
    position: absolute;
    top: 70%;
    left: 40%;
    display: inline-block;
    height: 180px;
    padding-left: 236px;
    transform: translate(-50%, -50%);
    color: black;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 216px 180px;
}

.calendar-input {
    background-image: url(../images/input-calendar.png);
    background-repeat: no-repeat;
    background-position: 95% center;
    background-size: 18px 16px;
    cursor:pointer;
}

.limited-duration{
	 background-image: url(../images/input-calendar.png);
    background-repeat: no-repeat;
    background-position: 95% center;
    background-size: 18px 16px;
    cursor:pointer;
    width: 120px;
    height: 34px;
    text-indent: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/*覆盖bootstrap默认颜色*/
.form-control.calendar-input[readonly] {
	background-color: #fff;
}

/*login.css*/

#viewport.login-manage,
#viewport.login-client {
    background-image: url(../images/login-bg.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
}

#viewport.login-manage .login-container {
    background-image: url(../images/login-manage-bg.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 289px 281px;
}

#viewport.login-client .login-container {
    background-image: url(../images/login-client-bg.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 272px 213px;
}

.login-container {
    position: absolute;
    top: 50%;
    width: 100%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.login {
    width: 366px;
    height: 396px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .20);
}

.login > * {
    display: block;
    width: 100%;
}

.login > .title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
    padding-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #ccc;
}

.login > a {
    margin-bottom: 20px;
}

.login > input:first-of-type {
    margin-top: 40px;
}

.login > input:last-of-type {
    margin-bottom: 40px;
}

.login > input:not(:last-of-type) {
    margin-bottom: 20px;
}

.login > input,
.login > button {
    height: 40px;
}

.login > input {
    font-size: 14px;
    text-indent: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.login > button {
    font-size: 14px;
    padding: 0;
    color: #fff;
    border: none;
    border-radius: 4px;
    outline: none;
    background: #73c31b;
}

.login > button.manage {
    background: #4990e2;
}

.login > button.client {
    background: #73c31b;
}

.a-style-one{
    color:#4990E2;
    margin-right: 20px;
}

.item-detail-table{
	border:1px solid #ddd;
	border-radius:4px;
	margin-bottom:20px;
}
.item-detail-table td{
	border:none !important;
}

.td-name{
	text-align:right;
	width:100px;
}

.itemAttr-title{
	float:left;
	width:150px;
	font-weight:700;
	text-align:right;
	margin-right:20px;
}

.itemAttr-value{
	margin-bottom:20px;
}

.backtop {
  backface-visibility: hidden;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border-radius: 50%;
  bottom: 40px;
  display: none;
  height: 48px;
  line-height: 48px;
  font-size: 24px;
  position: fixed;
  right: 40px;
  text-align: center;
  transition: none 0s ease 0s;
  width: 48px;
  z-index: 999
}

.backtop:hover {
  background: #000;
  color: white;
}
.my-table table td.font-red{
    color: #de3c3c;
    font-weight: bold;
}
.img-thumbnail{
	border:none;
	padding:0 !important;
}
.video-thumbnail{
    max-width: 100%;
    height: auto;
}
.scoreForm{
	display:inline-block;
	float:right;
}

.form-group span{
	font-weight: normal;
}
.limited-duration{
	
}

.indefinite-duration{
	font-weight: normal;
}


 /* 用户管理单选框显示 */
    .form-group input[type="radio"] ,
    .form-group input[type="checkbox"]{
      position: absolute;
      top: 15px;
      left: 12px;
      visibility: hidden;
    }

    .form-group  .input-radio-element,
    .form-group  .input-checkbox-element {
      display: inline-block;
      position: relative;
      top: 4px;
      width: 18px;
      height: 18px;
      border-radius: 3px;
      border:1px solid #ccc;
      background-color: white;
    }
    .form-group  .input-radio-element {
      position: relative;
      /* border-radius: 50%;  */
    }

     .form-group  .input-radio-element.checked {
      background: url("../images/checked.png") #3c90dd no-repeat center;
    } 
    
  /*    .form-group  .input-radio-element.checked {
      background: #3c90dd;
    } 
     */
    
 /*   .form-group .input-radio-element.checked::before {
      content: "";
      position: absolute;
      top: 6px;
      left: 6px;
      display: inline-block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: #fff;
    }
  */