body, p, h1, h2, h3, h4, h5, a, ul, li{padding: 0; margin: 0;}
a, a:hover{text-decoration: none;}
ul{list-style: none;}

body{background-color: #fff; position: relative; min-height: 100vh; padding-bottom:165px;}

header{
  width: 100%;
  height: 250px;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
}

nav{
  width: 100%;
  height: 64px;
  background-color: rgba(0,90,146,.8);
  position: absolute;
  bottom: 0;
}

.logo{
  font-size: 36px;
  color: #fff;
  font-weight: 600;
  margin: 6px 0;
}

.menu{
  margin: 13px 0;
}

.menu ul li{
  float: left;
}

.menu ul li a{
  display: inline-block;
  font-size: 15px;
  color: #c8e3f4;
  padding: 8px 20px;
}

.menu ul li a img{
  margin-right: 2px;
  margin-top: -6px;
}

.menu ul li a:hover{
  color:#fff;
}

.content{
  margin-top: 30px;
  padding-bottom: 65px;
}

form{
	margin-bottom:40px;
}

.lable{
  margin-bottom: 10px;
  color: #343434;
  font-size: 15px;
  display: block;
}

.heliportButton{
  line-height: 20px;
  padding: 8px 16px;
  background-color: #61b3e3;
  color: #fff;
  border: 0;
}

.heliportButton:hover{
  background-color: #59a7d5;
}

.departure{
  width: 16%;
}

.selectBox{
  position: relative;
}

.selectDate, .selectArrow{
  background-color: #f3f3f3;
  color: #343434;
  padding: 9px 10px;
  border: none;
  font-size: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;      
  appearance: none;
  background-repeat: no-repeat;
  background-position: top right;
}

.selectDate{
  background-image: url(../images/date.png);
}

.selectArrow{
 background-image: url(../images/down_arrow.png);
}

footer{
  height: 65px;
  background-color: #f3f3f3;
  width: 100%;
  padding: 12px 0px;
}

.bigFooter{
  position: absolute;
  bottom: 0;
  width: 100%;
}

.facebook{
  color: #343434;
}

.facebook span{
  font-size: 40px;
  color: #475993;
  vertical-align: middle;
  margin-right: 5px;
}

.tieto img{
  width: 115px;
  display: none;
}

.divider{
  height: 40px;
  display: block;
}

/************flights page css Start***************/

.flightsList{
  width: 100%;
  margin-bottom: 30px;
}

.flightsList th, .flightsList td{
  background-color: #f8f8f8;
  padding: 5px 16px;
  border: 1px solid #dcdcdc;
}

 .flightsList td table tr td{
  	padding:0 !important;
 }

.flightsList td a{
  color: #61b3e3;
}

.flightsList td a:hover{
  text-decoration: underline;
}

.flights p{
  text-align: center;
  margin-bottom: 30px;
}

.flights p a:hover{
  color: #61b3e3;
}

/************flights page css End***************/

@media screen and (min-width: 0) and (max-width: 768px){
  header {
    height: 200px;
    background-size: 150%;
  }

  nav {
    height: 46px;
  }

  .logo {
    font-size: 24px;
    margin: 6px 0;
  }

  .menu {
    margin: 8px 0;
  }

  .menu ul li a {
    font-size: 14px;
    padding: 5px 10px;
  }

  .flightsList th, .flightsList td {
    padding: 6px 10px;
    font-size: 13px;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
  }
  
  .departure{
    width: 100%;
    margin-bottom: 10px;
  }

  .departure form .lable{
    display: inline-block;
    margin-right: 15px;
  }

  .lable {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .flights p {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .tieto img {
      width: 90px;
  }
  .facebook span {
    font-size: 32px;
  }

  footer {
    height: 55px;
  }
}

@media screen and (min-width: 0) and (max-width: 360px){
  header {
    height: 150px;
    background-size: 150%;
  }

  nav {
    height: 38px;
  }

  .logo {
    font-size: 20px;
    margin: 5px 0;
  }

  .menu {
    margin: 6px 0;
  }

  .menu ul li a {
    font-size: 13px;
    padding: 4px 8px;
  }

  .flightsList th, .flightsList td {
    padding: 4px 6px;
    font-size: 12px;
  }

  .lable {
    font-size: 14px;
  }

  .flights p {
    font-size: 12px;
  }

  .tieto img {
      width: 80px;
  }

  .facebook{
    font-size: 12px;
    text-decoration: none;
  }

  .facebook span {
    font-size: 28px;
  }
  
  .facebook:hover{text-decoration: none;}

  footer {
    height: 50px;
  }
}

legend {
    font-size: 18px;
    border: 0;
    border-bottom: 0;
    text-align: center;
}

fieldset {
    padding: .35em .625em .75em;
    margin: 0 2px;
    border: 1px solid #dcdcdc;
}

fieldset select{
	width:100% !important;
}

.language img{
	border:1px solid #ffffff;
}

/* Hidden utility */
.hidden { display: none; }

/* Config panel cells */
.config-panel-td { border-width: 0; padding: 15px; }

/* Status toggle */
.status1 { display: inline; }
.status2 { display: none; }
.infomark {
    position: relative;
    float: left;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 4px;
    height: 10px;
    width: 10px;
    background-color: brown;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 5px;
}
#flashContent { width: 100%; height: 100%; }

/* Exception page */
.exception-title-th { vertical-align: middle; border-width: 0; background-color: #047FC4; color: white; }
.exception-title-td { vertical-align: bottom; border-width: 0; background-color: #047FC4; font-size: 0; }
.exception-message-td { font-size: 20pt; font-weight: bold; border-width: 0; }

/* Navigation */
.nav-separator { border-right: 1px solid #669cbe; }
.nav-settings { padding-right: 0; }
.nav-language-flag { margin-top: 7px; padding-right: 10px; }

/* Terminal column widths */
.term-col-15 { width: 15%; text-align: center; }
.term-col-25 { width: 25%; text-align: center; }
.term-col-center { text-align: center; }

/* Calendar footer */
.calendar-footer-table { margin-bottom: 20px; }
.calendar-source-td { border-width: 0; font-size: 8pt; padding-top: 10px; }
.calendar-statement-td { border-width: 0; font-size: 8pt; }
.calendar-contact-td { border-width: 0; }
.calendar-border-row { border-width: 0; }

/* Shared table cell utility */
.no-border { border-width: 0; }
.no-border-right { border-right-width: 0; }
.no-border-pad { border-width: 0; padding-right: 5px; }
.no-border-pad-hidden { border-width: 0; padding-right: 5px; display: none; }
.no-border-top { border-top-width: 0; }

/* Search component */
.search-select-200 { width: 200px; }
.search-select-240 { width: 240px; }
.search-select-250 { width: 250px; }
.search-input-small { width: 45px; }
.search-select-box { width: 200px; }
.search-td-nowrap { border-width: 0; }
.search-td-right { border-width: 0; padding-right: 5px; }

/* Routing table cells */
.routing-td {
    border: none !important;
    padding: 4px 2px;
    line-height: 1.4em;
    vertical-align: middle;
}

.routing-td-small {
    border: none;
    font-size: 7pt;
    padding: 4px 2px;
    line-height: 1.4em;
    vertical-align: middle;
}

.routing-td-small-bold {
    border: none;
    font-size: 7pt;
    font-weight: bold;
    padding: 4px 2px;
    line-height: 1.4em;
    vertical-align: middle;
}

/* Ticker */
.ticker-span { font: bold 14px Verdana; }

/* Config page inputs */
.config-color-input { width: 9em; text-transform: uppercase; }
.config-select-220 { width: 220px; }
.config-input-30 { width: 30px; }
.config-lang-td { border-width: 0; padding-right: 5px; visibility: hidden; }

/* Flight result list cells (web view) */
.flight-cell { border-right-width: 0; padding-top: 5px; width: 10%; }
.flight-cell-last { border-right-width: 0; border-bottom-width: 1px; padding-top: 5px; width: 10%; }
.flight-cell-pad { border-right-width: 0; padding-top: 5px; padding-bottom: 5px; width: 10%; }
.flight-cell-pad-last { border-right-width: 0; border-bottom-width: 1px; padding-top: 5px; padding-bottom: 5px; width: 10%; }
.flight-cell-right { border-right-width: 1px; padding-bottom: 5px; width: 10%; }
.flight-cell-right-last { border-right-width: 1px; border-bottom-width: 1px; padding-bottom: 5px; width: 10%; }
.flight-cell-spacer { border-right-width: 0; border-bottom-width: 0; width: 10%; }
.flight-list-header-row { font-weight: bold; }
.flight-list-header-cell { border-right-width: 0; background-color: #f2f2f2 !important; width: 10%; border-bottom-width: 0; }
.flight-list-header-cell-left { border-right-width: 0; background-color: #f2f2f2 !important; width: 10%; border-bottom-width: 0; }

/* Debug view */
.debug-no-border-bottom { border-bottom-width: 0; }
.debug-header-sm { font-size: 10pt; font-weight: bold; }
.debug-header-md { font-size: 14pt; font-weight: bold; }
.debug-header-lg { font-size: 16pt; font-weight: bold; }
.debug-header-xl { font-size: 18pt; font-weight: bold; }
.debug-text-lg { font-size: 16pt; }
.debug-actual-time { color: blue; font-weight: bold; }

/* Ads panel */
.ads-td { border-width: 0; padding-top: 25px; }
.ads-row { border-width: 0; }
.ads-cell { border-width: 0; }
.ads-clock-th { font-weight: bold; border-width: 0; }