* {
  margin: 0;
  padding: 0;
}

html, body {
  text-align: center;
  font-family: 'arial', sans-serif;
  font-size: 11px;
  line-height: 1.3;
  color: #111;
  max-width: 480px;
}

#container {
  width: 100%;
  min-width: 240px;
  max-width: 480px;
  margin: 0 auto 0 auto;
  text-align: left;
}

/*
#header {
  background: url('/files/finavia2/mobile/header.png') no-repeat bottom left;
  height: 80px;
}

.helsinkivantaa #header {
  background: url('/files/finavia2/mobile/header-helsinkivantaa.png') no-repeat bottom left;
  height: 90px;
}
*/

#header
{
}

#header p {
  line-height: 20px;
}

#header p a {
  float: left;
  padding: 0 5px 0 5px;
  color: #555;
  text-decoration: none;
}

#header p a.right {
  float: right;
}

#logo
{
  clear: both;
  display: block;
  height: 60px;
  /*
  overflow: hidden;
  */
  background: url('/files/finavia2/mobile/header.png') 0 0 no-repeat;
}

.helsinkivantaa #logo
{
  height: 70px;
  background: url('/files/finavia2/mobile/header-helsinkivantaa.png') 0 0 no-repeat;
}

#logo img
{
  border: 0;
}


#subnavi {
  background: url('/files/finavia2/mobile/subnavi.png') repeat-x;
  line-height: 26px;
  padding: 0 5px 0 5px;
  color: #aaa;
  text-align: center;
}

#subnavi a {
  font-weight: bold;
  margin: 0 5px 0 5px;
}

#content {
  padding: 12px 6px;
}

#content h1 {
  font-size: 14px;
  margin: 0 0 10px 0;
}

#content h2 {
  font-size: 12px;
  margin: 0 0 6px 0;
}

#content .box {
  margin: 5px 0 5px 0;
  padding: 6px;
  border: 1px solid #ddd;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

#content .box h2 {
  margin: 5px 0 0 0;
}

#content .logo {
  float: left;
  margin-right: 7px;
}

#content .now {
  font-size: 12px;
  margin: 5px 5px 15px 5px;
}

#content .now b {
  color: #777;
}

#content .navi {
  border: 1px solid #ddd;
  list-style-type: none;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

#content .navi li {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  margin: 0 1px 0 1px;
}

#content .navi ul
{
  list-style-type: none;
  padding-left: 15px;
  background: #ebfaff;
}


#content .navi li.subh {
  height: 17px;
  font-size: 10px;
  font-weight: bold;
  color: #777;
  padding: 2px;
  border: 0;
}

#content .navi li.subh span {
  float: left;
  background: #333;
  color: #fff;
  padding: 2px 0 2px 0;
  width: 18px;
  text-align: center;
}

#content .letter-links {
  margin: 10px 0 0 0;
  height: 30px;
}

#content .letter-links a {
  float: left;
  background: #eee;
  margin: 0 2px 2px 0;
  padding: 2px 0 2px 0;
  width: 18px;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  font-weight: bold;
  color: #777;
  
}

#content .navi a {
  background: #ebfaff;
  display: block;
  font-weight: bold;
  padding: 6px;
  text-decoration: none;
}

#content .navi a:hover {
  background: #fff;
}

#content .flight-info {
  position: relative;
  background: #d2f5ff;
  margin: 26px 0 0 0;
  padding: 6px;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-radius-bottomleft: 4px;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-radius-bottomright: 4px;
  border-top: 1px solid #9fd7e7;
}

#content .flight-info ul.switch {
  position: absolute;
  top: -25px;
/*  right: 0; */
  left: 0;
  list-style-type: none;
  line-height: 23px;
}

#content .flight-info ul.switch li {
  float: left;
  text-align: center;
  margin: 0 0 0 3px;
  border: 1px solid #9fd7e7;
  border-bottom: 0;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-topright: 2px;
  -webkit-border-radius-topleft: 2px;
  -webkit-border-radius-topright: 2px;
}

#content .flight-info ul.switch li a {
  background: #fff url('/files/finavia2/mobile/flight-info-symbols.png') no-repeat left;
  display: block;
  color: #555;
  text-decoration: none;
  padding: 0 6px 0 19px;
}

#content .flight-info ul.switch li a:hover {
  color: #999;
}

#content .flight-info ul.switch li.selected {
  line-height: 24px;
}

#content .flight-info ul.switch li.selected a {
  background-color: #d2f5ff;
  font-weight: bold;
  color: #000;
}

#content .flight-info ul.switch li.arrivals a {
  background-position: -2px 100%;
}

#content .flight-info ul.switch li.departures a {
  background-position: -2px 0;
}

#content .flight-info input[type=text] {
  float: left;
  width: 69%;
  border: 1px solid #037dbf;
  font: normal 11px arial, sans-serif;
  padding: 5px 4px 5px 4px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
/*  color: #aaa; */
  color: #555;
}

#content .flight-info input[type=submit] {
  background: #00b7ec url('/files/finavia2/mobile/submit.png') repeat-x 50% 50%;
  float: right;
  font: bold 11px arial, sans-serif;
  border: 0;
  color: #fff;
  padding: 5px 2px 5px 2px;
  cursor: pointer;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

#content table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px 0 10px 0;
}

#content table th {
  border-bottom: 2px solid #ddd;
  padding: 0 0 5px 0;
}

#content table td {
  border-bottom: 1px solid #ddd;
  padding: 5px 0 5px 0;
  vertical-align: top;
}

#content table .even td {
  background: #f7f7f7;
}

#content .flights td.time {
  padding-right: 5px;
}

#content .flights .codes {
  font-size: 10px;
  color: #777;
}

#content .flights p {
  margin: 0;
  color: #777;
  font-size: 10px;
}

#content .flights .open, #content .flights .closed {
  white-space: nowrap;
}

#content .flights p.time {
  font-weight: bold;
  color: #111;
}

#content .flights .open {
  color: #42E260;
}

#content .flights .closed {
  color: #CC0000;
}

#content .airports a {
  background: url('/files/finavia2/mobile/flight-info-symbols.png') no-repeat left;
  font-weight: bold;
  padding: 5px 5px 5px 20px;
  text-decoration: none;
}

#content .airports a:hover {
}

#content .airports a.arrivals {
  background-position: -2px 100%;
}

#content .airports a.departures {
  background-position: -2px 0;
}

#content .news {
  border-bottom: 1px dotted #ddd;
}

#content .news span.date {
  display: block;
  font-size: 10px;
}

#content p {
  margin: 10px 0 10px 0;
}

#content .tree {
  background: #f7f7f7;
  margin: -5px 0 15px 0;
  padding: 5px;
}

#content .tree a {
  color: #777;
}

#content a.back {
  float: right;
  background: #f7f7f7;
  margin: -3px 0 3px 0;
  padding: 5px;
  color: #777;
  text-decoration: none;
  font-weight: bold;
}

#content .tree a:hover, #content a.back:hover {
  color: #000;
}

#content hr {
  background: #eee;
  color: #ddd;
  border: 0;
  height: 2px;
  margin: 8px 0 12px 0;
}

#footer {
  margin: 20px 0 0 0;
  padding: 5px;
  border-top: 1px solid #bbb;
  font-size: 10px;
}

a {
  color: #037dbf;
}

a:hover {
  color: #17aeff;
}

.clear {
  clear: both;
}



#content .feedback table th 
{
  border-bottom: 1px solid #ddd;
  padding-top: 10px;
}

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





/* Green */
.status_D,   /* Departed */
.status_DEP, /* Departed */
.status_ONT, /* On time */
.status_B,   /* Boarding */
.status_BOR, /* Boarding */ 
.status_LAN, /* Landed */
.status_A, /* Landed */
.status_GO,  /* Go to gate */
.status_GTO, /* Go to gate */
.status_I    /* Next info */
{ 
  color: #339900 !important;
}

 /* Blue */
.status_DEL, /* Delayed */
.status_L,   /* Delayed */
.status_LG,  /* Delayed */
.status_F,   /* Final call */
.status_FIN, /* Final call */
.status_ETA, /* Approaching */
.status_E,   /* Estimated */
.status_EST, /* Estimated */
.status_DLU, /* Estimated */
.status_BC,  /* Gate closed */
.status_GTC, /* Gate closed */
.status_RMV  /* Gate closed */

{ 
  color: #537EE8 !important;
}

/* Red */
.status_C,   /* Cancelled */
.status_CLD, /* Cancelled */
.status_NGT, /* New gate */
.status_NDT, /* New dep. time */
.status_NAT, /* New arr. time */
.status_QUE, /* Holding */
.status_INF, /* New info at */
.status_DIV, /* Diverted */
.status_V    /* Diverted */
{
  color: #CC0000 !important;
}

/* Grey */
.status_PAS, /* Passport cont */
.status_BUS, /* BY BUS */
.status_CHK, /* Check-in 4 */
.status_CHS, /* Check-in  */
.status_XMA, /* Merry X-mas */
.status_IND, /* Indefinite */
.status_CHN, /* Check-in 3 */
.status_CSS  /* Check-in 2 */
{
  color: #999 !important;
}
