/* General reset */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

html { -webkit-text-size-adjust: none; /* Prevent font scaling in landscape */ }

body {
  font: normal 13px/18px Arial, Verdana, sans-serif;
  background-color: #FFF;
  color: #494949;
}

a {
  color: #ffd31d;
  text-decoration: none;
}

a img { border: none; }


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

/*
** Header container
*/

#header_container_position {
  background: #e21833;
  
 
}

#header_container img {
  width: 100%;
}

#header_container {
  padding: 0;
  position: relative;
  text-align: center;
}

/*
** secondary_header container
*/
#secondary_header_container {
  height: 33px;
  position: relative;
  color: #AFAFAF;
}

body.front #secondary_header_container {
  color: #FFF;
  font-size: 12px;
}

#secondary_header_container .back,
#secondary_header_container .home {
  position: absolute;
  top: 6px;
  z-index: 100;
}

#secondary_header_container .back { left: 18px; }
#secondary_header_container .home { right: 18px; }

#secondary_header_container .date {
  height: 33px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  line-height: 33px;
  text-align: center;
  display: none;
}

#secondary_header_container .date_front {
  height: 33px;
  position: absolute;
  top: 0;
  left: 18px;
  line-height: 33px;
  display: none;
}

#secondary_header_container .weather {
  height: 33px;
  position: absolute;
  top: 0;
  right: 18px;
  line-height: 33px;
  display: none;
}

/*
** Body container
*/

#body_container {
  padding: 15px;
  background-color: #FFF;
  color: #494949;
  line-height: 110%;
}

#body_container a { color: #e21833; }

#body_container h1,
#body_container h2,
#body_container p {
  margin: 0 0 .25em;
  padding: 0;
  line-height: 100%;
}

#body_container p { line-height: 120%; }

#body_container h1.more_margin,
#body_container h2.more_margin,
#body_container p.more_margin {
  margin: 0 0 1em;
  padding: 0;
}

#body_container h1 { font-size: 18px; }
#body_container h2 { font-size: 15px; }

#body_container ul { margin: -15px; }

#body_container ul.top_offset {
  margin-top: 15px;
  border-top: 1px solid #DDD;
}

#body_container ul.bottom_offset {
  margin-bottom: 15px;
  border-bottom: 1px solid #DDD;
}

#body_container ul li {
  margin: 0;
  padding: 10px 15px;
  border-top: 1px solid #DDD;
  background: transparent url(../images/body_container/li_arrow.png) right 14px no-repeat;
  list-style: none inside none;
  line-height: 120%;
}

#body_container ul li:first-child { border-top: none }

#body_container ul li a {
  margin: -10px -15px;
  padding: 10px 50px 10px 15px;
  display: block;
}

#body_container ul li span {
  color: #000;
  font-size: 10px;
  font-weight: bold;
}

#body_container ul li ul { margin: 0; }
#body_container ul li li {
  margin: 0;
  padding: 0;
  border-top: none;
  background: transparent none;
  list-style-position: outside;
}

#body_container ul li .additional a {
  margin: 0;
  padding: 0;
  display: inline;
}

#body_container .banner_position { text-align: center; }

#body_container .banner {
  margin: 0;
  padding: 0;
  max-width: 100%;
}


/*
** Navigation container
** Created as a class because it may appear more than once
*/

.navigation_container li {
  margin: 0;
  padding: 0;
  height: 46px;
  overflow: hidden;
  background: transparent url(/mobile/images/navigation/bg.png) top left repeat-x;
  list-style: none outside none;
}

.navigation_container li a {
  padding: 0 10% 0 16px;
  height: 46px;
  display: block;
  background: transparent url(/mobile/images/navigation/first_level_arrow_inactive.png) 100% 16px no-repeat;
  color: #494949;
  font-size: 18px;
  line-height: 46px;
  font-weight: bold;
}

.active.navigation_container li a { background: transparent url(/mobile/images/navigation/first_level_arrow_active.png) 100% 18px no-repeat; }

.navigation_container li a:hover { text-decoration: none; }

/*
** Social media container
*/
#social_media_container {
  padding-top: 12px;
  height: 38px;
  position: relative;
  background-color: #DCDCDC;
  text-align: center;
}

#social_media_container ul {
  margin: 0 auto;
  padding: 0;
}

#social_media_container ul li {
  margin-left: 5px;
  display: inline-block;
  list-style: none outside none;
}

#social_media_container ul li:first-child { margin-left: 0; }

/*
** Footer container
*/
#footer_container {
  margin: 0 auto;
  padding: 0;
  width: 320px;
  height: 168px;
  position: relative;
  font-size: 10.2px;
  line-height: 19px;
  letter-spacing: .1px;
}

#footer_container .buttons {
  margin: 0 auto;
  padding: 0;
  position: absolute;
  top: 17px;
  width: 320px;
  text-align: center;
}

#footer_container .buttons ul {
  margin: 0;
  padding: 0;
}

#footer_container .buttons ul li {
  margin-left: 10px;
  display: inline-block;
  list-style: none outside none;
}

#footer_container .buttons ul li:first-child { margin-left: 0; }


#footer_container .information {
  width: 290px;
  position: absolute;
  left: 15px;
  top: 57px;
}

#footer_container .copyright {
  position: absolute;
  left: 15px;
  top: 132px;
}

#footer_container .terrapin_shell {
  position: absolute;
  left: 250px;
  top: 104px;
}
