/*
*
* RELATIVE SIZED JQM
*
*/
/* 16px > 1em */
.ui-bar,
.ui-loader-verbose h1,
.ui-bar h1, .ui-bar h2, .ui-bar h3, .ui-bar h4, .ui-bar h5, .ui-bar h6,
.ui-header .ui-title,
.ui-footer .ui-title,
.ui-btn-inner,
.ui-fullsize .ui-btn-inner,
.ui-fullsize .ui-btn-inner,
label.ui-submit,
.ui-collapsible-heading,
.ui-controlgroup-label,
.ui-controlgroup .ui-checkbox label, .ui-controlgroup .ui-radio label,
.ui-popup .ui-title,
label.ui-select,
label.ui-input-text,
input.ui-input-text,
textarea.ui-input-text,
.ui-li-heading,
label.ui-slider,
.ui-slider-switch .ui-slider-label {
    font-size: 1em;
    font-size: 100%;
}

/* 14px > 0.875em */
.ui-li-divider,
input.ui-mini, .ui-mini input, textarea.ui-mini,
input.ui-input-text.ui-slider-input,
.ui-slider-switch.ui-mini .ui-slider-label {
    font-size: 0.875em;
    font-size: 87.5%;
}

/* 12.5px > 0.78125em */
.ui-header .ui-btn-inner, .ui-footer .ui-btn-inner, .ui-mini .ui-btn-inner {
    font-size: 0.5em;
    font-size: 50%;
}

/* 12px > 0.75em */
.ui-mini .ui-btn-inner,
.ui-li-desc {
    font-size: 0.75em;
    font-size: 75%;
}

/* 11px > 0.65em */
.ui-li-has-count .ui-li-count {
    font-size: 0.65em;
    font-size: 65%;
}

body {
    font-size: 10px;
}

div.ui-slider-switch {
    height: 16px;
}

.ui-slider-switch .ui-slider-label {
    line-height: 16px;
}

.ui-slider-track .ui-btn.ui-slider-handle, .ui-slider-switch .ui-btn.ui-slider-handle {
    width: 12px;
    height: 12px;
}

.ui-slider-inneroffset .ui-btn[aria-valuenow="1"] {
    margin-left: 0px !important;
}

/*@media only screen and (min-device-width: 641px) {*/
@media only screen and (min-width: 641px) {
    /* increase font size on higher resolution */
    body {
        font-size: 26px;
    }

    div.ui-slider-switch {
        height: 32px;
    }

    .ui-slider-switch .ui-slider-label {
        line-height: 2;
    }

    .ui-slider-track .ui-btn.ui-slider-handle, .ui-slider-switch .ui-btn.ui-slider-handle {
        width: 28px;
        height: 28px;
    }

    .ui-slider-inneroffset .ui-btn[aria-valuenow="1"] {
        margin-left: -15px !important;
    }

    /* increase icon size on higher resolution */
    /* TODO .. */
}

/*
*
* DRVOSTEP CSS
*
*/
html, body, #wrapper {
    overflow: hidden;
}

#wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

ol, ul {
    list-style: none;
}

ul, li {
    margin: 0;
    padding: 0;
}

.iconContainer {
    text-align: center;
}

.portrait img {
    width: 50px;
    height: 50px;
}

#onDate {
    background-image: url('../images/icons/basic/24/Calendar.png');
    background-position: center right;
    background-repeat: no-repeat;
}

#overviewTable {
    margin: 10px auto;
}

.iconWorklogType {
    margin: 10px;
}

.worklogTable {
    border-collapse: collapse;
    margin: 10px;
}

.overviewTable th, .overviewTable td,
.worklogTable th, .worklogTable td {
    text-align: left;
}

.worklogTable th, .worklogTable td {
    padding: 0.5em 0.1em;
    border: solid 1px #ccc;
}

.worklogTable th {
    background: #dfdfdf;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#E0E0E0));
    background-image: -webkit-linear-gradient(#F6F6F6, #E0E0E0);
    background-image: -moz-linear-gradient(#F6F6F6, #E0E0E0);
    background-image: -ms-linear-gradient(#F6F6F6, #E0E0E0);
    background-image: -o-linear-gradient(#F6F6F6, #E0E0E0);
    background-image: linear-gradient(#F6F6F6, #E0E0E0);
}

.worklogTable td {
    background: #eee;
    background-image: -webkit-gradient(linear, left top, left bottom, from(white), to(#F1F1F1));
    background-image: -webkit-linear-gradient(white, #F1F1F1);
    background-image: -moz-linear-gradient(white, #F1F1F1);
    background-image: -ms-linear-gradient(white, #F1F1F1);
    background-image: -o-linear-gradient(white, #F1F1F1);
    background-image: linear-gradient(white, #F1F1F1);
}

#btnConfirmWrapper {
    text-align: center;
}

.hidden {
    display: none;
}

.screen {
    position: fixed;
    top: 2.5em;
    right: 0;
    bottom: 1%;
    left: 0;
}

body[data-env=dev] .screen {
    top: 4em;
}

div[data-roles="content"] {
    height: 100%;
}

#connectionIndicator {
    position: absolute;
    top: 15px;
    right: 5px;
    font-size: 50%;
    text-align: center;
}

.topLevel, .subLevel, .screen {
    padding: 0 0.5%;
}

a.continueGreen, a.continueGreen:visited, a.continueGreen:active, a.continueGreen:hover {
    color: #8cc63f;
    text-shadow: 0 1px 0 #8cc63f;
}

a.continueBlue, a.continueBlue:visited, a.continueBlue:active, a.continueBlue:hover {
    color: #29abe2;
    text-shadow: 0 1px 0 #29abe2;
}

a[data-planID] {
    text-align: left;
    font-size: 80% !important;
    font-weight: normal;
}

a[data-planID] h2 {
    margin: 0;
    padding: 0;
    font-size: 115% !important;
    font-weight: bold;
}

a[data-planID] span.ui-btn-text {
    top: -20px !important;
}

.spinbox-wide, #distance {
    width: 110px !important;
}

.screen {
    overflow-x: auto;
    overflow-y: auto;
}

form td a.ui-btn-corner-all {
    -webkit-border-radius: 1em;
    border-radius: 1em;
}

input[data-role="spinbox"] {
    display: inline;
}

#targetTitle {
    padding: 0 0.5em 0.5em 0.5em;
    background: #dfdfdf;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#E0E0E0));
    background-image: -webkit-linear-gradient(#F6F6F6, #E0E0E0);
    background-image: -moz-linear-gradient(#F6F6F6, #E0E0E0);
    background-image: -ms-linear-gradient(#F6F6F6, #E0E0E0);
    background-image: -o-linear-gradient(#F6F6F6, #E0E0E0);
    background-image: linear-gradient(#F6F6F6, #E0E0E0);
    border: solid 1px #ccc;
}

label[for="distance"], label[for="refuel"] {
    margin: 0;
}

.messageCenter {
    padding: 1em;
    text-align: center;
}

.openLog li {
    position: relative;
}

.hours {
    position: absolute;
    bottom: .1em;
    padding-left: .2em;
    height: 2em;
    font-size: .3em;
    vertical-align: top;
    color: 0;
    border-left: solid 2px #404040;
}

.hour8 {
    left: 33.3%;
}

.hour12 {
    left: 50%;
}

.hour16 {
    left: 66.6%;
}

.openLogProgressContainer {
    height: 7em;
}

.openLogProgressContainer span {
    height: 100%;
}

.openLogProgressContainer,
.openLogProgressContainer span {
    font-size: 1px;
    line-height: 1px;
}

.openLogProgressContainer span {
    background: #b1d97e;
}

.statusNote {
    font-size: 30%;
    line-height: 0.9em;
    text-align: center;
    vertical-align: bottom;
}

.rejReason {
    padding: 0 .5em;
    font-size: 70%;
}

.infoIcon {
    margin: .3em .5em;
    vertical-align: middle;
}

.paymentIcon {
    margin: .65em .5em;
    vertical-align: top;
}

.ui-header .ui-title {
    padding: .5em 0;
}

.ui-slider {
    vertical-align: middle !important;
    margin: .2em .3em !important;
    width: 5em !important;
}

.ui-slider-label {
    font-size: 60% !important;
}

.openLogName,
.workName {
    width: 10em;
}

.workNameSmall {
    width: 15em;
    font-size: 70%;
    line-height: 1em;
    vertical-align: middle;
}

.workNameLong {
    width: auto;
}

.cashBalance {
    font-size: 75%;
    line-height: 1em;
    margin-top: -0.2em;
}

.openLogInfo span {
    vertical-align: text-top;
}

.openLogActivity {
    font-size: 0.7em;
    line-height: 1;
    font-weight: 400;
    color: #666;
}

.openLogInfo span .comment {
    font-size: 0.7em;
    color: #333;
}

.openLogSince,
.workTime {
    position: relative;
    color: #666;
}

.workBreak,
.expandLogs,
.deleteLog {
    position: relative;
    color: #999;
}

.deleteLog {
    text-align: center;
    margin-right: 1em !important;
}

.workHint {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: .5em;
    white-space: nowrap;
}

.expandLogs .workHint {
    right: auto;
}

.counterState {
    width: 7em;
    text-align: right;
}

li .ui-btn-inner {
    text-align: left;
    padding: 0;
}

.ui-btn-inner h4 {
    margin: 0;
    padding: .5em 1em;
}

.floatRight {
    float: right;
}

.ui-mobile fieldset div.padding {
    padding: .5em;
    background: #e5e5e5;
}

fieldset .ui-select {
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

.ui-btn-corner-all {
    border-radius: 0em;
}

.ui-btn-active {
    border: 1px solid #111;
    background: #333;
    text-shadow: 0 1px 0 #111;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#2D2D2D));
    background-image: -webkit-linear-gradient(#444, #2D2D2D);
    background-image: -moz-linear-gradient(#444, #2D2D2D);
    background-image: -ms-linear-gradient(#444, #2D2D2D);
    background-image: -o-linear-gradient(#444, #2D2D2D);
    background-image: linear-gradient(#444, #2D2D2D);
}

.ui-controlgroup-horizontal div, .ui-controlgroup-horizontal input {
    vertical-align: middle;
}

.ui-controlgroup-horizontal .ui-btn.ui-first-child, .ui-controlgroup-horizontal .ui-btn.ui-last-child {
    min-height: 1.4em;
    line-height: 1.4em;
    padding: .15em;
    -webkit-border-top-left-radius: 0;
    border-top-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    border-bottom-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
}

.ui-title div.ui-input-text {
    display: inline-block;
    margin: 0;
}

.ui-title div.ui-input-text input.ui-input-text {
    padding: 0;
    cursor: pointer;
}

.ui-input-text input {
    min-height: 1em;
    padding: 5px;
}

.ui-link,
.ui-link:visited,
.ui-link:active {
    color: #333 !important;
    text-decoration: none;
}

/*#btnBack img {
	margin-top: 4px;
}*/

#statusBar {
    padding: 0.5em 2em;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: #000;
    border: solid 1px #404040;
}

.inlineBlock {
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

.nowrap {
    white-space: nowrap;
}

/* html */
:-webkit-full-screen {
    background: black;
}

:-moz-full-screen {
    background: black;
}

/* deeper elements */
:-webkit-full-screen video {
    width: 100%;
    height: 100%;
}

body {
    -webkit-transform: translate3d;
    -ms-transform: translate3d;
    transform: translate3d
}

.sectionContainer h3 {
    margin: 0;
    padding: .5em;
    color: #fff;
    line-height: 1em;
    vertical-align: middle;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#111));
    background-image: -webkit-linear-gradient(#3c3c3c, #111);
    background-image: -moz-linear-gradient(#3c3c3c, #111);
    background-image: -ms-linear-gradient(#3c3c3c, #111);
    background-image: -o-linear-gradient(#3c3c3c, #111);
    background-image: linear-gradient(#3c3c3c, #111);
    text-shadow: 0 -1px 0 #000;
}

.sectionContainer:first-child h3 {
    margin-top: 1em;
}

.sectionContainer h4 {
    margin: 0;
    padding: 0;
}

.openLogSince,
.workBreak,
.workTime,
.expandLogs,
.deleteLog {
    line-height: 1.8em;
    margin-left: .5em !important;
}

.workTimeLoadUnload {
    width: 3em;
    text-align: right;
}

.sectionContainer h4 span {
    line-height: 1em;
}

.sectionContainer li {
    padding: .5em;
    line-height: 2em;
    border-bottom: solid 1px #666;
}

.sectionContainer p {
    margin: 0;
    padding: .5em;
    line-height: 2em;
}

div.ui-slider-switch {
    overflow: hidden;
}

li[data-GID] {
    padding: .5em 1em;
}

.expandLogs,
.deleteLog {
    width: 2em;
}

.rejReason {
    line-height: 1.6em;
}

fieldset h4 {
    margin: .5em 0;
}
