html {
    min-height: 100%;
    height: auto;
    width: 100%;
}
body {
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
}
th {
    background-color: #eee;
}
.blue_bg {
    background-color: #ecf6ff;
}
.white_bg {
    background-color: #fff;
}

.datepicker th {
    background: none;
}

.error {
    color: red;
}
.success {
    color: green;
}

a {
    color: #10299f;
}

a img {
    border: 0;
}

.tableedit th {
    padding: 4px 15px;
    text-align: right;
}
.tableedit td {
    padding: 2px 5px;
    text-align: left;
}

.main_grid {
    border-collapse: collapse;
}

.main_grid td, .main_grid th {
    border: 1px solid #bbb;
    padding: 3px;
}

.like-th {
    background-color: #eee;
}

.main_grid tr.main-asset td, .main_grid tr.main-asset th {
    border-top: 6px solid #bbb;
}

.main_grid tr.odd {
    background-color: #f5f5f5;
}

.main_grid tr.even {
    background-color: #e5e5e5;
}

hr {
    border: 0;
    border-top: 1px solid #ccc;
}

tr.tablerow-hover {
    background-color: #f0f0f0;
}

tr.tablerow-selected {
    background-color: #deebf6;
}

tr.tablerow-selected td {
    background-color: #deebf6;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.left {
    float: left;
}

.right {
    float: right;
}

.error {
    margin: 10px 0;
}

ul.error {
    list-style: none;
}

input[type="text"],
input[type="password"] {
    padding: 2px;
    border: 1px solid #ddd;
    font-size: 14px;
    width: 150px;
}

textarea {
    padding: 2px;
    border: 1px solid #ddd;
    font-size: 14px;
    width: 150px;
}

select {
    border: 1px solid #ddd;
    width: 156px;
}

#menu {
    text-align:left;
}

#menu .menu-items {
    background-color:#eee;
    border:1px solid #ddd;
    padding: 5px;
}

#login {
    padding: 20px;
    margin: 200px auto 0;
    border: 1px solid #ddd;
    background-color: #eee;
    width: 310px;
}

#login h1 {
    font-size: 24px;
    margin-top: 0;
}

#login input[type="text"],
#login input[type="password"] {
    padding: 2px;
    border: 1px solid #ddd;
    font-size: 16px;
}

#login .login-email {
    width:200px;
}

input[type="submit"],
input[type="button"] {
    padding: 3px 10px;
    font-weight: bold;
}

.center-content {
    width: 600px;
    margin: 0 auto;
}

.center-content.wide {
    width: 900px;
}

.block {
    margin: 0 0 50px 0;
}

h2 a {
    font-size: 12px;
    padding: 3px;
    background-color: #ddd;
    margin-left: 20px;
    text-decoration: none;
}
h2 a:hover {
    text-decoration: underline;
}

.simple-list th,
.simple-list td {
    padding: 7px 10px;
}

.simple-list td.dates {
    white-space: nowrap;
}

.simple-list th {
    background: none;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

.status-approved {
    padding: 3px;
    background-color: #79c152 !important;
/*    border: 1px solid #000 !important;
    background-color: #eee !important;*/
}

.status-cancelled {
    padding: 3px;
    background-color: #fa4d59 !important;
}

.status-booked {
    padding: 3px;
    background-color: #FFE599 !important;
}

.status-requested {
    padding: 3px;
    background-color: #FFE599 !important;
/*    border: 1px solid #000 !important;
    background-color: #eee !important;*/
}

.status-taken {
    padding: 3px;
    background-color: #a5ccf1 !important;
/*    border: 1px solid #000 !important;
    background-color: #eee !important;*/
}

.status-sick {
    padding: 3px;
    background-color: #b895c1 !important;
}

.status-work_from_home {
    padding: 3px;
    background-color: #ff0066 !important;
}

.status-work_from_office {
    padding: 3px;
    background-color: #c27ba0 !important;
}

.status-cover {
    padding: 3px;
    background-color: #ff9933 !important;
}

.status-work_on_holiday {
    background-color: #3862ff !important;
    padding: 3px;
}

.status-day_off {
    background-color: #99ccff !important;
    padding: 3px;
}

.status-holiday {
    background-color: #FF00FF !important;
/*    border: 1px solid #000 !important;
    background-color: #eee !important;*/
    padding: 3px;
}

.status-take-holiday {
    background-color: #FF00FF !important;
/*    border: 1px solid #000 !important;
    background-color: #eee !important;*/
    padding: 3px;
}

.weekend {
    background-color: #eee !important;
    border: 1px solid #000 !important;
}

.milestone-month3 {
    background-color: #FFE6BC !important;
}

.milestone-month6 {
    background-color: #0DBC2D !important;
}

.milestone-year {
    background-color: #FF00FF !important;
}

.dates_flat {
    /*border-collapse: collapse;*/
}

.dates_flat td,
.dates_flat th {
    margin: 0;
    padding: 3px;
    width: 15px;
    border: 1px solid #bbb;
    text-align: center;
}

.dates_flat td.holiday {
    background-color: #FF00FF;
    border: 1px solid #000 !important;
}

.dates_flat tr.monthes td {
    text-align: left;
    border: none;
}



td.actions {
    white-space: nowrap;
}

label {
    display: block;
    font-size: 14px;
    font-weight: bold;
}

ul.menu {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    font-size: 16px;
}

ul.menu li {
    padding: 0 15px;
    margin: 0;
    border-right: 1px solid #666;
    float: left;
}

ul.menu li:last-child {
    border: none;
}

ul.menu li a.active {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.main_grid.summary th,
.main_grid.summary td {
    padding: 3px 20px 3px 10px !important;
    text-align: center;
}

.main_grid.summary th.name {
    text-align: left;
}

.timetable {
    border-collapse: collapse;
}

.timetable .day {
    width: 3px;
    overflow: hidden;
    font-size: 2px;
    background: #FAFAFA;
}

.timetable .day.holiday {
    background-color: #F3F3F3;
}
.timetable .day.booked {
    background-color: #fff2cc;
}
.timetable .day.approved {
    background-color: #d9ead3;
}
.timetable .day.taken {
    background-color: #cfe2f3;
}
.timetable .day.sick {
    background-color: #d9d2e9;
}

.timetable .day.booked.holiday {
    background-color: #ffe599;
}
.timetable .day.approved.holiday {
    background-color: #b6d7a8;
}
.timetable .day.taken.holiday {
    background-color: #a5ccf1;
}

.timetable th {
    padding: 2px 0;
}

.timetable td,
.timetable th {
    border: 1px solid #fff;
}

.timetable tr.selected .day {
    background-color: #EFEFEF;
}

.timetable tr.selected .day.holiday {
    background-color: #E1E1E1;
}
.timetable tr.selected .day.booked {
    background-color: #FFE28C;
}
.timetable tr.selected .day.approved {
    background-color: #C5DFBD;
}
.timetable tr.selected .day.taken {
    background-color: #B6D2ED;
}

.timetable tr.selected .day.booked.holiday {
    background-color: #FFD964;
}
.timetable tr.selected .day.approved.holiday {
    background-color: #93C47D;
}
.timetable tr.selected .day.taken.holiday {
    background-color: #88BCEC;
}

.legend {
    margin: 10px 0 20px 10px;
}

.legend:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.legend-row {
    margin: 0 20px 10px 30px;
    float: left;
}

.legend-item {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid #bbb;
    padding: 3px;
}

.vacation-manage-form-switcher a,
.vacation-manage-form a {
    text-decoration: none;
    border-bottom: 1px dashed #10299f;
}

.vacation-manage-form-switcher a:hover,
.vacation-manage-form a:hover {
    border-bottom: none;
} 

.vacation-form-actions {
    float: left;
    width: 100px;
}

.vacation-form-actions input{
    width: 85px;
}

.vacation-form-comment {
    float: right;
}

.departments {
    margin: 10px 0 20px 10px;
    display: inline-block;
}
.department-row {
    margin: 0 20px 10px 30px;
    float: left;
}
.department-item {
    display: inline-block;
    border: 1px solid #bbb;
    padding: 3px;
    height: 10px;
    width: 10px;
}
.tooltip-box {
    position: relative;
}
.tooltip {
    position: absolute;
    bottom: 22px;
    background: #fff;
    border-radius: 3px;
    padding: 5px;
    border: 1px solid activeborder;
}

.hide {
    display: none;
}

.summary .tooltip {
    min-width: 240px;
}

.header_menu {
    width:400px;
    text-align:left;
    vertical-align:top;
}

/* Visit Page */
.visit-content .headcol {
    position: absolute !important;
    left: -207px;
    top: auto;
    border-top-width: 1px;
    margin-top: -1px;
    width: 200px;
    height: 32px;
}
.visit-content div.table-block {
    position: relative;
    text-align: left;
}

.visit-content div.table-scroll {
    /*width: 1168px;*/
    overflow-x: scroll;
    overflow-y: visible;
    padding: 0;
    text-align: left;
}

.visit-content .main_grid th , .main_grid td{
    /*min-height: 26px;*/
    /*padding: 0;*/
    text-align: center;
}

.visit-content .main_grid .common-cell {
    min-width: 100px;
}
.visit-content .main_grid th.sort-header {
    padding-right: 3px;
}
.visit-content .late {
    font-weight: bold;
    background: #ffcfcf!important;
}
.visit-content {
    margin-left: 215px;
}