/*!
 * timesheet 1.0
 * 
 *   Author:  Derek Qi
 */

.error {
    color: red;
    font-weight: normal;
}

/*
 * Component: Box
 * --------------
 */
.box {
    position: relative;
    border-radius: 3px;
    background: #ffffff;
    border-top: 3px solid #d2d6de;
    margin-bottom: 6px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.box-footer {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Content */
.content {
    min-height: 250px;
    margin-right: auto;
    margin-left: auto;
    padding: 5px 10px 1px 10px;
}

/*解决浏览器右侧默认显示滚动条的问题 by Derek*/
.content-wrapper {
    min-height: calc(100vh - 37.8px) !important;
}

/*
Login page.
 */
.login-page,
.register-page {
    /*background-image: url('../img/login-bg.jpg') !important;*/
    height: auto;
    /*background: #3c8dbc;*/
    background: #367fa9;
    /*background: #eee;*/
    margin: 7% auto;
}

/*
Login page.
 */
.login-box,
.register-box {
    width: 360px;
    margin: 7% auto;
}

.login-box-body, .register-box-body {
    /*background: #eee;*/
    padding: 20px;
    border-top: 0;
    color: #666;
}

.box-body {
    border-radius: 0 0 3px 3px;
    padding: 6px 6px 0;
}

.main-footer {
    background: #fff;
    padding: 10px 15px;
    color: #444;
    border-top: 1px solid #d2d6de;
    font-size: 12px;
}

.error-page {
    width: 800px;
    margin: 50px auto 0 50px;
}

.error-page > .headline {
    float: left;
    font-size: 80px;
    font-weight: 300;
}

.content-header {
    position: relative;
    padding: 6px 15px 0 15px;
}

.content-header>.breadcrumb {
    top: 8px;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    height: 100px;
    padding: 10px;
    text-align: center;
}

.datepicker {
    z-index: 9999 !important;
}

.title-xingqi-header {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: #629755;
    background-color: #FFFFFF;
    text-align: center;
    margin: 2px;
    padding: 8px 0 !important;
    border: 1px solid #AFCAEE !important;
    vertical-align: middle !important;
}

.title-xingqi {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: #629755;
    background-color: #FFFFFF;
    text-align: center;
    margin: 2px;
    padding: 4px !important;
    border: 1px solid #AFCAEE !important;
}

.title-left {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #177DB8;
    background-color: #F4F4F4;
    text-align: center;
    vertical-align: middle !important;
    margin: 3px;
    font-weight: bold;
    border: 1px solid #AFCAEE !important;
    width: 124px !important;
}

.title-down {
    border-right-width: 1px;
    border-left-width: 1px;
    border-right-style: solid;
    border-left-style: solid;
    border-right-color: #7AA6E1;
    border-left-color: #7AA6E1;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #7AA6E1;
    background-color: #F3F8FF;
}

.input-hours {
    padding: 1px;
    margin-bottom: 3px;
    color: #000000;
    height: 20px;
    font-size: 12px;
    font-weight: normal;
}

.input-description {
    padding: 1px;
    color: #000000;
    font-size: 12px;
    font-weight: normal;
}

.input-hours-reject {
    padding: 1px;
    margin-bottom: 3px;
    color: #FF6600;
    height: 20px;
    font-size: 12px;
    font-weight: normal;
}

.input-description-reject {
    padding: 1px;
    color: #FF6600;
    font-size: 12px;
    font-weight: normal;
}

.reject-comments {
    padding: 6px;
    color: #FF6600;
    font-family: 'Verdana', 'Arial Narrow', Arial, sans-serif;
    font-size: 12px;
    border: 1px solid #AFCAEE !important;
    font-weight: bold;
    /*padding: 6px !important;*/
}

.sub-total-hours {
    color: #30993E;
    font-family: 'Verdana', 'Arial Narrow', Arial, sans-serif;
    font-size: 12px;
    border-bottom: 1px solid #AFCAEE !important;
    text-align: center;
    padding: 4px !important;
}

.total-hours {
    color: #30993E;
    font-family: 'Verdana', 'Arial Narrow', Arial, sans-serif;
    font-size: 12px;
    border: 1px solid #AFCAEE !important;
    text-align: center;
    font-weight: bold;
    padding: 6px !important;
}

.date-link {
    color: #3300cc;
    text-decoration: underline;
    font-size: 12px;
    line-height: 20px;
    font-weight: normal;
    vertical-align: middle;
    padding-right: 3px;
}

.select2-sm {
    padding: 5px 10px !important;
    font-size: 12px;
}

.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
    border: 1px solid #d2d6de;
    border-radius: 0;
    padding: 6px 12px;
    height: 30px !important;
    font-size: 12px;
}

table.dataTable {
    clear: both;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    max-width: none !important;
    border-collapse: separate !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    height: auto;
    margin-top: -6px !important;
}

.select2-results__option {
    padding: 4px 6px;
    font-size: 12px;
}

.form-group {
    margin-bottom: 8px;
}

label {
    margin-bottom: 3px;
}

.tr-green {
    background-color: #3c8dbc70;
}

.table-small {

}

.table-small>tbody>tr>td, .table-small>tfoot>tr>td, .table-small>thead>tr>td {
    padding: 3px 8px 3px 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

/*
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-right: 10px;
    padding-left: 10px;
}*/

.dashboardBox{
    width:500px;
    height:180px;
    margin:15px 10px;
    background-color:#C4E1E1;
    border-radius: 10px;
    transition: all .2s linear;
    text-align: center;
    color: #003e3e;
}
.dashboardBox:hover{
    box-shadow: 0 15px 30px #6c757d;
    transform: translate3d(0,-2px,0);
}
.dashboardBody {
    margin: 0 auto;
    line-height: 180px;
    font-size: 30px;
}
.wrap{
    height:150px;
    margin:10px 5px;
}
.dashboardBoxHeight{
    height:130px
}
.dashboardBoxI{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom:10%;
    display: block;
    text-align: center;
}

.highlight{
    color:#fff;
}
.highlight:hover{
   color: #307095;
}

.toLabel{
    padding-right: 0;
    width: 20px;
}
.dateLength{
    width: 180px;
}

.overHidden {
    text-align: left;
    color: #666;
    transition: color .2s ease;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.last_week_format {
  border-radius: 0;
  border-color: #d2d6de;
  background-color: #fff;
  float: right;
}
.next_week_format {
  float: left;
  border-radius: 0;
  border-color: #d2d6de;
  background-color: #fff;
}
