@media all and (orientation: portrait) {
    .portrait { width: 1200px; }
    .landscape { width: 1300px;}
}

@media all and (orientation: landscape) {
    .portrait { width: 1300px; }
    .landscape { width: 1200px; }
}

.ui-bar-l {
    background: url('images/header_back.png') repeat-x;
    height: 44px;
}

.ui-btn {
    /* margin-top: 4px !important;*/
}

.ui-btn-inner {
    border: none !important;
}

input.ui-input-text, textarea.ui-input-text {
    background: none repeat scroll 0 0 transparent;
    border: medium none;
}
label.ui-input-text span {
    color: #333333;
    text-shadow: 0 1px 0 #ffffff;
}

.center {
    text-align: center;
}

div[data-role="header"] {
    color: #ffffff;
    text-shadow: 0 1px 0 #333333;
    background: #000000;
}

div[data-role="header"]>:first-child {
    border: solid 1px transparent;
    border-top-left-radius: 5px 5px;
    border-top-right-radius: 5px 5px;
}

div[data-role="content"] {
    position: absolute;
    top: 44px;
    background: url('images/back.png') repeat-x;
    bottom: 0;
    left: 0;
    right: 0;
    border: 1px solid transparent;
    border-bottom-left-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;
}

.icon_grid {
    margin: 33px 0 0 18px;
}

.scrollable {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}
.scrollable > * {
    -webkit-transform: translateZ(0px);
}

.ui-body-l, .ui-overlay-l, .ui-body-c, .ui-overlay-c {
    background: #ffffff;
    font-family: Helvetica;
}

/* overview view specific stuff */
.round-list {
    background-color: white;
    border: 1px solid #ADAAAD;
    border-radius: 8px 8px 8px 8px;
    margin: 7px 9px 16px;
    padding: 0;
}

.list-item {
    height: auto;
    line-height: 18px;
    border-bottom: 1px solid #ADAAAD;
    color: black;
    font-weight: bold;
    list-style-type: none;
    overflow: hidden;
    padding: 0 8px;
    position: relative;
}
.round-list > li, .round-list > div {
    min-height: 55px;
    padding-top: 8px;
}

.overview-icon {
    float: left;
}

.overview-stamp {
    color: #777777;
    float: right;
    font-size: 65%;
    font-weight: normal;
    padding-right: 10px;
}

.overview-content {
    padding-left: 60px;
}

.overview-name {
    font-size: 80%;
}

.overview-text {
    font-size: 70%;
    font-weight: normal;
    padding-bottom: 0;
    padding-right: 10px;
}

.overview-clear {
    clear: both;
}

.overview-switch {
    float: right;
}

.history-stamp {
    color: #777777;
    float: right;
    font-size: 65%;
    font-weight: normal;
    padding-right: 10px;
}

.history-content {
    padding-left: 5px;
}

.history-name {
    font-size: 80%;
}

.history-text {
    font-size: 70%;
    font-weight: normal;
    padding-bottom: 0;
    padding-right: 10px;
}

.text-inside {
    padding: 10px;
}

/* PAGER */
div.pager {
    display: inline-block;
    margin: 0 10px 0 0;
    outline: 0 none;
    padding: 0;
    vertical-align: middle;
    width: 130px;
    text-align: left;
}

div.pager a {
    background: url("images/paging.png") no-repeat scroll 0 0 transparent;
    display: inline;
    float: left;
    height: 22px;
    margin-right: 0;
    text-align: center;
    text-decoration: none;
    width: 30px;
}

a.pagerFirst:hover {
    background-position: 0 -108px !important;
}

a.pagerPrev {
    background-position: 0 -27px !important;
}

a.pagerPrev:hover {
    background-position: 0 -135px !important;
}

a.pagerNext {
    background-position: 0 -54px !important;
}

a.pagerNext:hover {
    background-position: 0 -162px !important;
}

a.pagerLast {
    background-position: 0 -81px !important;
    width: 31px !important;
}

a.pagerLast:hover {
    background-position: 0 -189px !important;
    width: 31px !important;
}

div.pagerInterval {
    display: inline-block;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: middle;
}

div.pagerInterval a {
    background: url("images/paging_interval.png") no-repeat scroll 0 0 transparent;
    display: block;
    float: left;
    height: 22px;
    margin-right: 0;
    text-align: center;
    text-decoration: none;
    width: 31px;
    vertical-align: middle;
}

a.pagerPrevInterval {
    background-position: 0 0 !important;
}

a.pagerPrevInterval:hover {
    background-position: 0 -54px !important;
}

a.pagerNextInterval {
    background-position: 0 -27px !important;
}

a.pagerNextInterval:hover {
    background-position: 0 -81px !important;
}

/* Chart */
.vchart {
    width: 100%;
    height: 100%;
}

/* Images */
.icon_building_0 {
    background-image: url('images/building_0.gif');
    width: 56px;
    height: 24px;
}
.icon_building_1 {
    background-image: url('images/building_1.gif');
    width: 56px;
    height: 24px;
}
.icon_building_2 {
    background-image: url('images/building_2.gif');
    width: 56px;
    height: 24px;
}
.icon_building_3 {
    background-image: url('images/building_3.gif');
    width: 56px;
    height: 24px;
}
.icon_building_4 {
    background-image: url('images/building_4.gif');
    width: 56px;
    height: 24px;
}
.icon_building_5 {
    background-image: url('images/building_5.gif');
    width: 56px;
    height: 24px;
}
.icon_building_6 {
    background-image: url('images/building_6.gif');
    width: 56px;
    height: 24px;
}
.icon_building_7 {
    background-image: url('images/building_7.gif');
    width: 56px;
    height: 24px;
}

/* Menu */
.icon-menu-overview {
    background-image: url('images/m-overview.png');
    background-repeat: no-repeat;
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
}
.icon-menu-history {
    background-image: url('images/m-history.png');
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
    background-repeat: no-repeat;
}
.icon-menu-book {
    background-image: url('images/m-book.png');
    background-repeat: no-repeat;
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
}

.icon-menu-map {
    background-image: url('images/m-map.png');
    background-repeat: no-repeat;
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
}

.icon-menu-chart {
    background-image: url('images/m-chart.png');
    background-repeat: no-repeat;
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
}

.icon-menu-settings {
    background-image: url('images/m-settings.png');
    background-repeat: no-repeat;
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
}

.icon-menu-info {
    background-image: url('images/m-info.png');
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
    background-repeat: no-repeat;
}

.icon-menu-contact {
    background-image: url('images/m-contact.png');
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
    background-repeat: no-repeat;
}

.icon-menu-security {
    background-image: url('images/m-security.png');
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
    background-repeat: no-repeat;
}

.icon-menu-installation {
    background-image: url('images/m-installation.png');
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
    background-repeat: no-repeat;
}

.icon-menu-order {
    background-image: url('images/m-order.png');
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
    background-repeat: no-repeat;
}

.icon-menu-help {
    background-image: url('images/m-help.png');
    margin: 0 17px 25px 0;
    width: 57px;
    height: 92px;
    background-repeat: no-repeat;
}

.ui-title {
    margin: 0 !important;
}
.ui-title span {
    margin: 11px 0 0 0;
    display: block;
}
.icon-index-logo {
    background-image: url('images/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 120px;
    height: 44px;
    margin: 0 auto 0 auto;
}

.ui-btn-down-n {
    background-color: #d6d6d6;
}
