body {
    margin: 0;
    font-family: Helvetica;
    background: #FFFFFF;
    color: #000000;
    overflow-x: hidden;
    -webkit-user-select: none;
    -webkit-text-size-adjust: none;
}

li a {
    display: block;
    margin: -8px 0 -8px -10px;
    padding: 8px 32px 8px 10px;
    text-decoration: none;
    color: inherit;
    background: url(images/listArrow.png) no-repeat right center;
}

li a:active {
    background-color: #194fdb !important;
    background-image: url(images/listArrowSel.png), url(images/selection.png) !important;
    background-repeat: no-repeat, repeat-x;
    background-position: right center, left top;
    color: #FFFFFF !important;
}

.toolbar {
    border-bottom: 1px solid #2d3642;
    padding: 10px;
    height: 25px;
    background: url(images/toolbar.png) #6d84a2 repeat-x;
}

.toolbar h1 {
    position: absolute;
    overflow: hidden;
    left: 50%;
    margin: 1px 0 0 -75px;
    font-size: 20px;
    width: 150px;
    font-weight: bold;
    text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
    text-align: center;
    white-space: nowrap;
    color: #FFFFFF;
}
.toolbar2 {
    border-bottom: 1px solid #2d3642;
    padding: 10px;
    height: 25px;
    background: url(images/toolbarm.png) #029926 repeat-x;
}

.toolbar2 h1 {
    position: absolute;
    overflow: hidden;
    left: 50%;
    margin: 1px 0 0 -75px;
    font-size: 20px;
    width: 150px;
    font-weight: bold;
    text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
    text-align: center;
    white-space: nowrap;
    color: #FFFFFF;
}
.button {
    position: absolute;
    overflow: hidden;
    top: 8px;
    right: 6px;
    margin: 0;
    border-width: 0 5px;
    padding: 0 3px;
    width: auto;
    height: 30px;
    line-height: 30px;
    font-family: inherit;
    font-size: 12px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
    background: none;
    -webkit-border-image: url(images/toolButton.png) 0 5 0 5;
}

.whiteButton,
.grayButton {
    display: block;
    border-width: 0 12px;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    text-decoration: inherit;
    color: inherit;
}

.whiteButton {
    -webkit-border-image: url(images/whiteButton.png) 0 12 0 12;
    text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0;
}
.whiteButton:active,
.grayButton:active {
    padding: 11px 10px 9px 10px;
}

.leftButton {
    left: 6px;
    right: auto;
}

#backButton {
    left: 6px;
    right: auto;
    padding: 0;
    max-width: 55px;
    border-width: 0 8px 0 14px;
    -webkit-border-image: url(images/backButton.png) 0 8 0 14;
    cursor:pointer;
}


/************************************************************************************************/

ul {
    margin:0;
    padding:0;
    list-style: none;
}

li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #E0E0E0;
    padding: 6px 0 6px 6px;
    font-size: 20px;
    font-weight: bold;
    list-style: none;
}
li > a {
    display: block;
    margin: -8px 0 -8px -10px;
    padding: 6px 18px 6px 10px;
    text-decoration: none;
    color: inherit;
    background: url(images/listArrow.png) no-repeat right center;
}


/************************************************************************************************/
#d { width:100%;font-size:16px;height: 30px; }
#c { width:100%;font-size:16px;height: 30px; }
    
.dialog {
    display:none;
    position:absolute;
    top: 0px;
    width: 100%;
    height: 372px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    padding: 0;
    text-align: center;
}

/************************************************************************************************/

#preloader {
    display: none;
    background-image: 
        url(images/blueButton.png), 
        url(images/listArrowSel.png), 
        url(images/pinstripes.png), 
        url(images/selection.png), 
        url(images/toolbar.png), 
        url(images/whiteButton.png);
}

/************************************************************************************************/

#about, 
#contact, 
#detail, 
#search, 
#donate {
    min-height: 417px;
    font-size: 16px;
    font-weight: normal;
    background: #c8c8c8 url(images/pinstripes.png);
}
#detail2 {
    min-height: 417px;
    font-size: 16px;
    font-weight: normal;
    background: #c8c8c8 url(images/metrohk.png);
}
#detail2 p,
#about p, 
#contact p, 
#detail p, 
#search p, 
#donate p {
    padding:10px;
}

#search {
    text-align:center;
}
#search input {
    box-sizing: border-box;
    margin: 4px auto;
    padding: 6px;
    font-size: 16px;
    font-weight: normal;
}

#search .field {
    width:90%;
}

#list .title {
    font-size:16px;
    font-weight:bold;
    padding:0;
    margin:0;
}

#list .credit {
    font-size:12px;
    font-weight:normal;
    padding:0;
    margin:0;
}

