body {
    font-family: Arial;
    color: #606675;
    background-color: #fff;
    font-size: 11px;
    font-family: Arial;
}

a, a:visited, a:hover, a:active {
    text-decoration: none;
    color: #606675;
}

.blue {
    color: #2969ab;
}
.dark-grey {
    color: #606675;
}

div#error {
    font-size: 14px;
    color: #cc2222;
    text-align: left;
    padding: 10px 0 0 0px;
}

input.checkbox {
 width: auto;
}

input.text {
  width: 260px;
}

/* login */ /* basic layout */
div#header {
    height: 75px;
    padding-left: 45px;
    background: #dddee1 url('/img/timetracker.gif') no-repeat 45px;
    position: relative;
}

div#header div#logo {
    height: 75px;
    width: 77px;
    background: #dddee1 url('/img/zweipol.gif') no-repeat;
    position: absolute;
    top: 0px;
    right: 45px;
}

div#navigation {
    height: 32px;
    border-bottom: 1px solid #d1d3d7;
    line-height: 32px;
}

div#navigation a.active {
    font-weight: bold;
}

div#clock {
    padding-left: 45px;
    width: 220px;
    margin-right: 20px;
    color: #afb2ba;
    height: 32px;
    font-weight: bold;
    float: left;
}

div#menu {
    float: left;
    width: 600px;
}

div#menu li {
    display: inline;
    margin: 0 25px 0 0;
}

div#current-user {
    float: right;
    padding-right: 50px;
    color: #afb2ba;
}

div#content {
    padding-left: 45px;
}

div.left-col {
    width: 1020px;
    float: left;
}

div.right-col {
    width: 280px;
    float: left;
}

/* today */
div#track button {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    float: left;
    display: block;
    margin-top: 24px;
    cursor: pointer;
}

div#track button#pause-track {
    background: url('/img/buttons/pause.gif') no-repeat;
    margin-left: 20px;
}

div#track button#resume-track {
    background: url('/img/buttons/resume.gif') no-repeat;
    margin-left: 20px;
}

div#track button#start-aggregate {
    background: url('/img/buttons/start_aggregate.gif') no-repeat;
}

div#track button#stop-aggregate {
    background: url('/img/buttons/stop_aggregate.gif') no-repeat;
}

/* track */
div#track {
    height: 82px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #d1d3d7;
}

div#track-display {
    font-size: 30px;
    color: #606675;
    width: 155px;
    float: left;
    padding-left: 45px;
    padding-top: 27px;
}

div#track-display span {
    font-size: 11px;
    color: #a8abb2;
    margin-right: 5px;
}

div#track-control {
    float: left;
    Xwidth: 150px;
    padding-right: 30px;
}

/* generic table, used on today and allocate */
table {
    text-align: left;
    font-size: 12px;
    color: #606675;
    width: 1000px;
}

table.narrow {
    width: 260px;
}

td.label {
    font-weight: bold;
    line-height: 14px;
    vertical-align: bottom;
    padding: 0px 0 0 6px;
}

td.narrow-td {
    width: 70px;
}

table td, table th {
    padding: 6px 6px 6px 6px;
    vertical-align: top;
    line-height: 18px;
}

table th {
    padding: 6px 6px 0px 6px;
    vertical-align: bottom;
    line-height: 18px;
}

thead th {
    border-bottom: 2px solid #dddee1;
    font-weight: bold;
}

tbody td {
    border-bottom: 1px solid #dddee1;
}

tbody td span.left-margin {
    margin-left: 15px;
}

tfoot td {
    border-top: 2px solid #dddee1;
    font-weight: bold;
    font-size: 14px;
    color: #2969ab;
}
tfoot td.head {
    border-top: none;
    font-weight: bold;
    font-size: 12px;
    color: #606675;
}

/* login */
div#login {
    background-color: #f0f0f0;
    padding: 15px 0 15px 45px;
    border-bottom: 1px solid #d1d3d7;
}

div#login table {
    Xfont-weight: bold;
}

div#login td {
    Xline-height: 14px;
    Xpadding: 5px 0;
}

a.login {
    background: url('/img/buttons/continue.gif') no-repeat 0 0;
    display: block;
    width: 80px;
    height: 27px;
    cursor: pointer;
    border: none;
    padding-left: 32px;
    line-height: 28px;
    margin: 20px 0 0 45px;
}

div#login td {
    border: none;
}

/* recent tracks on today */
div#recent-tracks {
    Xpadding-left: 45px;
}

/* allocate */
div#allocate div#projects {
 float: left;
 width: 570px;
}

div#allocate div#projects table {
    width: auto;
}

div#allocate div#projects table td.contingent {
 white-space: nowrap;
}

div#edit-slice td {
    border: none;
}

a.save-edit-slice {
    background: url('/img/buttons/save.gif') no-repeat;
    display: block;
    width: 152px;
    height: 30px;
    padding-left: 32px;
    line-height: 28px;
    color: #606675;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

div#allocate div#recent-tracks {
    width: 485px;
    margin-bottom: 30px;
    
}

div#allocate div#recent-tracks table {
    width: 485px;
}

div#allocate tr.last-row {
    display: none;
}

div#allocate div#projects td, div#allocate div#projects th {
    border: none;
}

td.remove-project {
}

a.remove-project {
    background: url('/img/buttons/delete.gif') no-repeat 0 0;
    display: block;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: none;
}

a.add-project {
    display: block;
    width: 152px;
    height: 30px;
    padding-left: 32px;
    line-height: 28px;
    color: #606675;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

a.add-project:hover, a.save-projects:hover {
    text-decoration: none;
}

a.add-project {
    background: url('/img/buttons/add.gif') no-repeat;
}

a.save-projects {
    background: url('/img/buttons/save.gif') no-repeat;
}

a.edit-slice {
    background: url('/img/buttons/edit.gif') no-repeat;
    display: block;
    width: 18px;
    height: 18px;
    float: right;
    margin-left: 5px;
}

/* past */
div#past {
}

div#past table {
    Xwidth: 900px;
}

div#past span.percent {
    font-weight: bold;
    margin-left: 5px;
}

a.edit-aggregation {
    background: url('/img/buttons/edit.gif') no-repeat;
    display: block;
    width: 18px;
    height: 18px;
    float: right;
    margin-left: 5px;
}

/* edit projects */
div#edit-projects {
}


div#mass-edit-projects {
  margin-top: 30px;
}


a.delete-project {
    background: url('/img/buttons/delete.gif') no-repeat 0 0;
    display: block;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: none;
    float: right;
}

a.edit-project {
    background: url('/img/buttons/edit.gif') no-repeat 0 0;
    display: block;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: none;
    float: right;
}

a.create-project,
a.save-projects {
    display: block;
    width: 152px;
    height: 30px;
    padding-left: 32px;
    line-height: 28px;
    color: #606675;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

a.mass-save-projects {
  background: url('/img/buttons/mass_save.gif') no-repeat;
  width: 200px;
}

a.create-project:hover {
    text-decoration: none;
}

a.create-project {
    background: url('/img/buttons/add.gif') no-repeat;
}

div#list-projects table {
  table-layout: fixed;
}

table.create-project td {
    border: none;
}

/* user */
div#manage-users {
    float: left;
    width: 1020px;
}

div#manage-users table {
 width: 800px;
}

div#add-user {
    width: 270px;
    float: left;
}

div#add-user td {
    border: none;
}

table td.top {
 padding-top: 10px;
}

a.add-user {
    display: block;
    width: 152px;
    height: 30px;
    padding-left: 32px;
    line-height: 28px;
    color: #606675;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    background: url('/img/buttons/add.gif') no-repeat;
}

a.edit-user {
    background: url('/img/buttons/edit.gif') no-repeat;
    display: block;
    width: 18px;
    height: 18px;
    float: left;
    margin-left: 5px;
}

a.edit-password {
    background: url('/img/buttons/password.gif') no-repeat;
    display: block;
    width: 18px;
    height: 18px;
    float: left;
    margin-left: 5px;
}

a.edit-open-track {
    background: url('/img/buttons/edit_open_track.gif') no-repeat;
    display: block;
    width: 18px;
    height: 18px;
    float: left;
    margin-left: 5px;
}

a.save-password {
    background: url('/img/buttons/save.gif') no-repeat;
    display: block;
    width: 152px;
    height: 30px;
    padding-left: 32px;
    line-height: 28px;
    color: #606675;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

a.save-user {
    background: url('/img/buttons/save.gif') no-repeat;
    display: block;
    width: 152px;
    height: 30px;
    padding-left: 32px;
    line-height: 28px;
    color: #606675;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

div#password td {
    border: none;
}

/* Report */

div#report div#filter {
}

div#report div#filter input.hasDatepicker {
    width: 100px;
}

div#report div#filter table tbody {
    border-top: 2px solid #dddee1;
    border-bottom: 2px solid #dddee1;
}

div#report div#filter td {
    vertical-align: middle;
}

div#report h1 {
    margin: 15px 0;
    font-size: 16px;
}

div#report h2 {
    padding: 20px 0 20px 45px;
    margin-left: -45px;
    background-color: #f0f0f0;
    border-top: 1px solid #d1d3d7;
    border-bottom: 1px solid #d1d3d7;
}

div#report div#result table.report_specs {
    font-weight: bold;
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 15px;
}
div#report div#result table {
    margin-bottom: 15px;
}

div#report div#result table.report_specs td {
    border: none;
    padding: 2px 0;
}

div#report div#result table.report_specs td.col1 {
    width: 80px;
}

div#report div#result table {
    margin-top: 25px;
}

div#report a.filter-report {
    cursor: pointer;
    background: url('/img/buttons/haekchen.gif') no-repeat 4px 4px;
    border: 1px solid #d1d3d7;
    display: block;
    padding-left: 30px;
    padding-right: 10px;
    line-height: 26px;
    font-weight: bold;
    height: 26px;
    margin-left: 5px;
}

div#report div#days-list {
	position:relative;
}
div#report div#days-list div#summary {
	position:absolute;
	top:18px;
	left: 1020px;
	width:240px;
}
div#report div#days-list div#summary table {
	width:auto;
}


/* //TODO check if all rules above are still needed / in use */
/* New Style rules by Cornelius */
a.button {
  cursor: pointer;
}

a.button .iconic {
  font-size: 30px;
  position: relative;
  top: 2px;
}
a.button.small .iconic {
  font-size: 23px;
}

a.button.add {
  color: green;
}

a.button.delete {
  color: #bc3030;
}

a.button.increase, a.button.decrease {
  color: #ccc;
}
a.button.increase:hover, a.button.decrease:hover {
  color: #aaa;
}





/* track display */
div#track-info {
    position: absolute;
    left: 300px;
    top: 130px;
}

div#track-info div {
    display: inline-block;
    margin-right: 20px;
    width: 80px;
}

div#track-info span.label {
    font-size: 12px;
    color: #a8abb2;
    display: block;
    line-height: 16px;
}

div#track-info span.value {
    font-size: 14pt;
    color: #2969ab;
    display: block;
    line-height: 17px;
}

/* Timemarkings */


/* DataRows */
#timemarkings div.marking.dirty {
    background-color: #f8f8f8;
}

#timemarkings div.marking.error  {
    background-color: red!important;
}

#timemarkings div.marking.warn {
    background-color: #fff1b9;
}

#timemarkings div.marking .indicator {
    position: absolute;
    content: "";
    left: -20px;
    width: 15px;
    height: 15px;
    background: url(../img/ajax-loader.gif) no-repeat right center;
    margin-top: 5px;
}

#timemarkings div.marking.new input, #timemarkings div.marking.new select {
    color: #999;
}


#timemarkingC #timedisplay {
    position: absolute;
    left: 530px;
    top: 130px;
}
#timemarkingC #timedisplay div {
    display: inline-block;
    margin-right: 25px;
}

#timemarkingC #timedisplay .label {
    font-size: 12px;
    color: #a8abb2;
    display: block;
    line-height: 16px;
    
}

#timemarkingC #timedisplay .value {
    font-size: 14pt;
    color: #2969ab;
    display: block;
    line-height: 17px;
}

.overtime {
    color: red!important;
}

#timemarkingC #timemarkings {
    margin-bottom: 10px;
}

#timemarkingC #timemarkings td.project {
    width: 280px;
}

#timemarkingC #timemarkings td.time {
    width: 145px;
}

#timemarkingC #timemarkings td.actions {
    width: 24px;
}

#edit-aggregation td div.warning,
#timemarkingC #timemarkings td.actions div.warning {
    position: relative;
    float: right;
    display: none;
}

#edit-aggregation td div.warning div, 
#timemarkingC #timemarkings td.actions div.warning div {
    display: block;
    position: absolute;
    width: 200px;
    left: 20px;
    top: 2px;
    padding-left: 27px;
}

div.warning div:before {
    position: absolute;
    left: 0; top: 0;
    display: block;
    content: "";
    border-color: #fc0 transparent;
    border-style: solid;
    border-width: 0 11px 18px;
    width: 0;
    height: 0;
}

div.warning div:after {
    position: absolute;
    left: 0; top: 0;
    content: "!";
    color: white;
    font-weight: bold;
    top: 2px;
    left: 10px;
}

#timemarkingErrors {
    line-height: 20px;
}

#timemarkingErrors div.warning div {
    padding-left: 30px;
    position: relative;
    margin-left: 10px;
}

*[disabled],
.disabled,
.gray,
button.gray,
img.gray {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.box {
    display: block;
    margin: 30px 30px 30px 0;
    padding: 30px;
    text-align: center;
    background-color: #eee;
    border: 1px solid #aaa;
    font-size: 120%;
}

.box.error {
    background-color: #fee;
    border-color: #faa;
}

table.sideheader {
    width: auto;
}

table.sideheader td, table.sideheader th {
    border: none;
    vertical-align: middle;
    line-height: 15px;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
}

table.sideheader th {
    padding-right: 40px;
}

table.topheader {
    width: auto;
} 

table.topheader td, table.topheader th {
    border: none;
    vertical-align: middle;
    line-height: 15px;
    padding: 6px 3px;
    border-bottom: 1px solid #ddd;    
}

table.topheader th {
    border-bottom-width: 2px;
    padding-bottom: 1px;
}

table tr.noborder td {
    border: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 5px 0 15px;
}

p {
    margin: 5px 0 15px;
}

.clear {
    clear: both;
}

.floatleft {
    float: left;
    margin-right: 20px;
}

.iconic:before {
    font-weight: normal!important;
}

button.iconic {
    position: relative;
    font-size: 14px;
    line-height: 22px;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 25px
}

button.iconic:before {
    font-family: iconicStroke;
    position: absolute;
    font-size: 25px;
    left: 6px;
}

button.iconic[disabled],button.iconic[disabled]:before {
    color: #999 !important;
}

button.iconic.save:before {
    color: green;
}

button.iconic.abort:before {
    color: red;
}



/* Chrome Icon Fix */
@media screen and (-webkit-min-device-pixel-ratio:0) { 
    .iconic:before {
        position: relative;
        top: 3px;
    }
}


/* Time markings 1.1 */

#timemarkings {
    width: 530px;
}

#timemarkings div.header {
    border-bottom: 1px solid #aaa;
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
}

#timemarkings div.footer {
    position: relative;
    height: 75px;
    border-top: 2px solid #aaa;
    font-size: 12px;
    line-height: 25px;
}

#timemarkings div.footer .label {
    display: inline-block;
    width: 100px;
    text-align: right;
}

#timemarkings div.footer .value {
    color: #2969AB;
    font-weight: bold;
    font-size: 17px;
}

#timemarkings div.footer div.value {
    display: inline-block;
    width: 55px;
    text-align: right;
}

#timemarkings div.footer .stat_projects {
    position: absolute;
    left: 0;
    top: 0;
}

#timemarkings div.footer .stat_log_time {
    position: absolute;
    left: 270px;
    top: 0;
}

#timemarkings div.footer .stat_project_time {
    position: absolute;
    left: 270px;
    top: 25px;
}

#timemarkings div.footer .stat_delta_time {
    position: absolute;
    left: 270px;
    top: 50px;
}



#timemarkings div.project {
    display: inline-block;
    width: 300px;
}

#timemarkings div.time {
    display: inline-block;
    width: 150px;
}

#timemarkings div.timer {
    display: inline-block;
    width: 50px;
}

#timemarkings div.time * {
    margin: 0 1px;
}

#timemarkings div.timer div {
    position: relative;
    padding-left: 24px;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
}

#timemarkings div.timer div img {
    position: relative;
    top: 3px;
    border: 0;
}

#timemarkings div.timer div.timer_start {
    background: no-repeat url("../img/timer-stopped.gif");
}

#timemarkings div.timer div.timer_stop {
    background: no-repeat url("../img/timer-running.gif");
}

#timemarkings div.time .time_running {
    color: #2969AB;
    font-size: 18px;
    line-height: 20px;
    padding-right: 30px;
    position: relative;
    text-align: right;
    top: 2px;
}


#timemarkings div.actions {
    display: inline-block;
}

#timemarkings div.actions .delete span.iconic {
    font-size: 30px;
    line-height: 20px;
    display: inline-block;
    height: 20px;
    width: 20px;
    overflow: hidden;
}

#timemarkings div.marking {
    position: relative;
    border-top: 1px solid #aaa;
    line-height: 20px;
    padding: 4px 2px;
}

#timemarkings .marking div.warning {
    display: block;
    position: absolute;
    right: -207px;
    top: 5px;
    line-height: 20px;
    width: 200px;
}

#timemarkings .marking div.warning div {
    padding-left: 25px;
}
