/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

/* remember to define focus styles! */
:focus {
  outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
  text-decoration: none;
}
del {
  text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

body { -webkit-text-stroke: 1px transparent; }
@media only screen and (max-device-width:480px) {body{-webkit-text-stroke:0 black;}}

#content h2 {
  color: #FFF;
  font-family: Georgia, Times, serif;
  font-weight: normal;
  font-style: italic;
  line-height: 2.4;
}

#content h3 {
}

#content h3 span {
  display: none;
}

.yes h3 {
  position: relative;
  top: 185px;
  width: 250px;
  height: 96px;
  margin: 0 auto -35px auto;
  background: url(../images/yes.png) top left no-repeat;
}

.no h3 {
  position: relative;
  top: 25px;
  width: 251px;
  height: 128px;
  margin: 0 auto -185px auto;
  background: url(../images/no.png) top left no-repeat;
}

.snow h3 {
  position: relative;
  top: 185px;
  right: 3px;
  width: 439px;
  height: 137px;
  margin: 0 auto -42px auto;
  background: url(../images/snow.png) top left no-repeat;
}

/* TODO - this needs to be updated */
#errorExplanation {
  font-family: georgia, times, serif;
  background: transparent url(../images/error_bg.png) top left repeat;
  color: #fff;
  margin: 0 auto;
  font-style: italic;
  text-align: left;
  -moz-border-radius: 14px;
  -webkit-border-radius: 14px;
  width: 50%;
  position: absolute;
  top: 135px;
  left: 25%;
}

#errorExplanation ul {
  padding: 25px 80px 18px 80px;  
  background: transparent url(../images/mini.png) left center no-repeat;
  height: 100%; /*IE7 needed this to show the mini umbrella*/  
}

#errorExplanation li {
  margin: 0 0 8px 0;
  list-style-type: disc;
  list-style-position: inside;
}

/* simplifying errors */

.flash { 
  display: none;
}

.deactivations #flash_failure,
.forecasts-new #flash_failure {
  font-family: Gotham, 'Helvetica Neue', Helvetica, sans-serif;
  background: #400;
  width: 400px;
  display: block;
  color: #F33;
  opacity: .8;
  margin: 0 auto -80px auto;
  padding: .5em;
  line-height: 1.4;
  border: .5em solid #600;
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomleft: 1em;
  -webkit-border-top-right-radius: 1em;
  -webkit-border-bottom-left-radius: 1em;
}

#errorExplanation h2, #errorExplanation p {
  display: none;
}

#footer {
  position: absolute;
  text-align: center;
  width: 50%;
  color: #133d5b;
  font-size: .8em;
  font-family: arial, helvetica, sans-serif;
  top: 980px;
  left: 25%;
  padding: 0 0 40px 0;
}


.forecasts-new #footer {
  top: 840px;
}

.subscriptions-edit #footer {top: 800px;}

#footer a, #footer strong{
   color: #133d5b; 
}

#confirmation-page {
  width: 50%;
  position: absolute;
  top: 135px;
  left: 25%;
}

.darkened {
  background: transparent url(../images/error_bg.png) top left repeat;
  font-family: arial, helvetica, sans-serif;
  color: #fff;
  text-align: left;
  -moz-border-radius: 14px;
  -webkit-border-radius: 14px;
  padding: 28px;
  height: 100%; /*IE7 needed this */
  margin: 0 0 10px 0;
  line-height: 1.2;  
}

.darkened em {
  display: block;
  text-align: center;
  position: relative;
  top: -10px;
  font-style: italic;
  font-family: georgia, times, serif;  
}

.darkened span {
  display: block;
  text-align: center;
  position: relative;
  font-style: italic;
  font-family: georgia, times, serif; 
}

.darkened em img {
  position: relative;
  top: 10px;
  margin: 0 8px 0 0;
}

.darkened h4 {
  font-size: 1.4em;
  margin: 0 0 .5em;
}

.darkened h5 {
  font-size: .9em;
  margin: 0 0 .5em;
}

.darkened p {
  font-size: .8em;
  text-align: left;
}

.darkened a, .darkened a:visited {
  color: #fff;
}

#editorial {
  border-top: 1px solid #728799;
  padding: 20px 0 0 0;
  text-align: center;
}


html { }

body,
body.yes {
  background: #b8d6f0 url(../images/drops-back.jpg) 30% 0 repeat-x;
  color: #EEE;
  text-align: center;
}

body.no { background: #fdfffc url(../images/clouds-back.jpg) 30% 0 repeat-x; }

body.no #drops,
body.no #umbrella {
  display: none;
  visibility: hidden;
}

body.snow {
  background: url(../images/snowy.jpg) 30% 0 repeat-x;
  text-align: center;
}

.snow #umbrella {
  background: url(../images/umbrella-snow.png) 50% 50% no-repeat;  
  top: 171px;
  height: 455px;
}

#umbrella {
  position: relative;
  top: 168px;
  z-index: -9999;
  height: 450px;
  width: 100%;
  background: url(../images/umbrella.png) 50% 50% no-repeat;
}

#drops {
  background: url(../images/drops.png) 120% 120%;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 150%;
}

body.snow #drops {
  background: url(../images/snow-front.png) 120% 120%;
}

#content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}

#content h1 a {
  display: block;
  width: 649px;
  height: 50px;
  background: url(../images/logo.png) top left no-repeat;
  margin: 40px auto 0 auto;
}

#content h1 span { display: none; }




.subscriptions p,
.deactivations p {
  margin-bottom: 30px;
}
.subscriptions p.first,
.deactivations p.first {
  margin-top: 30px;
}
.subscriptions p.sample img,
.deactivations p.sample img {
  border: 1px solid #0a0824;
}

.static img { border: 5px solid #111; margin: 2px; }
.static li a, .static li a:visited { color: #eee; }

#notification_type {

}

#notification_type.email {

}

#notification_type a {

}
#app_ad {
  width: 410px;
  height: 151px;
  margin: 0 auto;
}
#app_ad a {
  display: block;
  width: 417px;
  height: 150px;
  background: #b9d7f1 url(/images/app_ad.jpg) top left no-repeat;
  text-indent: -5000px;
}


/******************************
+ Tabbed UI
******************************/

#subscription_tabs {
  width: 360px;
  margin: 0 auto;


}

.choose_delivery {
  font-family: arial, helvetica, sans-serif;
  font-size: .8em;
  font-weight: bold;
  text-shadow: #10354f 0 1px 1px;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

body.no .choose_delivery, body.snow .choose_delivery  {
  color: #092438;
  text-shadow: #e3f4fc 0 1px 1px;  
}

#subscription_content_area {
  background: transparent url(/images/tab_ui_bg.png) bottom left no-repeat;
  padding: 8px 16px 20px 14px;
  min-height: 40px; /*seems to help IE7 render correctly */
}


#tab_nav {
  width: 360px;
  height: 36px;
}

#tab_nav li  {
  float: left;
  height: 36px;
}

#tab_nav li a {
  display: block;
  height: 30px;
  width: 100%;
  text-indent: -5000px;
}


#tab_nav li.tab_email_link {width: 74px;}
#tab_nav li.tab_iphone_link {width: 97px;}
#tab_nav li.tab_sms_link {width: 62px;}


#tab_nav.tab_email {background: transparent url(/images/tab_states.png) 0 0 no-repeat;} 
#tab_nav.tab_iphone {background: transparent url(/images/tab_states.png) 0 -36px no-repeat;} 
#tab_nav.tab_sms {background: transparent url(/images/tab_states.png) 0 -72px no-repeat;} 


.inner_content {
  width: 332px;
  color: #092438;
  font-family: arial, helvetica, sans-serif;
  font-size: .8em;
  line-height: 1.35;
  text-align: left;
}

.inner_content_top {
  height: 13px;
  background: transparent url(/images/inner_content_top.png) top left no-repeat;
}

.inner_content_bottom {
  background: transparent url(/images/inner_content_bottom.png) bottom left no-repeat;
  padding: 2px 15px 15px 15px;
}

body.no .inner_content_top, body.snow .inner_content_top {
  height: 13px;
  background: transparent url(/images/inner_content_top_white.png) top left no-repeat;
}

body.no .inner_content_bottom, body.snow .inner_content_bottom {
  background: transparent url(/images/inner_content_bottom_white.png) bottom left no-repeat;
  padding: 2px 15px 15px 15px;
}


.inner_content_bottom h5 {
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-size: 1.4em;
  letter-spacing: -.01em;
  text-shadow: #c2d3e1 0 1px 1px;
  font-weight: normal;
  background: transparent url(/images/ridge.png) bottom left repeat-x;
}

.inner_content_bottom h5 strong {font-weight: bold;}

#app_sale img {
  float: left;
  position: relative;
  left: -3px;
  margin: 4px 0 0 0;
}

#app_sale_content {
  float: right;
  width: 210px;
}

#app_sale_content ul {
  font-weight: bold;
  list-style: disc;
  list-style-position: inside;
  margin: 0 0 10px 5px;
}

#big_iphone_link {
  display: block;
  width: 207px;
  height: 70px;
  text-indent: -5000px;
  background: transparent url(/images/app_download.png) top left no-repeat;
}

#big_iphone_link:hover {
  background: transparent url(/images/app_download.png) 0 -70px no-repeat;
}

/**********************************
+ iPhone related stuff
***********************************/

#iphone_app_notice {
  height:  76px;

  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 0 0 0;
}

#iphone_app_notice h5 a:hover {
    background: transparent url(/images/iphone_app_notice.png) 0 -91px repeat-x;
}

#iphone_app_notice h5 {
  min-width: 800px;
}

#iphone_app_notice h5 a{
  font-weight: normal;
  display: block;
  font-size: 1.1em;
  padding: 10px 0 0 0;
  height: 66px;
  color: #ecf2f6;
  text-decoration: none;
  font-family: "gotham", "helvetica neue", arial, sans-serif;
  background: transparent url(/images/iphone_app_notice.png) 0 -5px repeat-x;  
}

#iphone_app_notice h5 a img {vertical-align: middle; margin: 0 7px 0 0;}

.forecasts-new #content h1 a, .forecasts-new #content h2 {
  /* margin: 75px auto 0 auto; */
  position: relative;
  top: 60px;
}


.forecasts-new  #umbrella {
  top:198px;
}

.forecasts-new form#new_forecast {
  position: relative;
  top: 35px;
}

#iphone_landing_page {
  width: 510px;
  padding: 0 74px 0 75px;
  color: #313131;
  margin: 50px auto 0 auto;
  font-family: arial, helvetica, sans-serif;
  text-align: left;
  
}

#iphone_landing_page_content {
  padding: 28px 15px 0 25px;
  background: transparent url(/images/iphone_landing.png) top left no-repeat;
}

#iphone_landing_bottom {
  width: 510px;
  height: 57px;
    background: transparent url(/images/iphone_landing.png) bottom left no-repeat;
}

#iphone_landing_page_content img {
  float: right;
  position: relative;
  top: -5px;
}

#iphone_landing_page_content h3 {
  font-size: 1.25em;
  float: left;
  width: 280px;
  margin: 0 0 9px 0;
  letter-spacing: -1px;
}

#iphone_landing_page_content p {
  font-size: .8em;
  float: left;
  width: 278px;
  line-height: 1.4;
  }

#iphone_landing_page_content ul {
  float: left;
  padding: 10px 0 0 0;
  font-weight: bold;
  font-size: .8em;
  list-style: disc;
  list-style-position: inside;
  line-height: 1.4;
  width: 280px;
}

#app_store_link {
  margin: 20px 0 0 0;
  display: block;
  width: 274px;
  height: 74px;
  background: url(/images/app_store_link.png) top left no-repeat;
  text-indent: -5000px;
  float: left;
  clear: left;
  position: relative;
  left: -4px;
}

#app_store_link:hover {
  background: url(/images/app_store_link.png) 0 -74px no-repeat;
}

#footer.iphone_landing_footer {
  top: 700px;
}

/***********************************
+ Clearfix, a web designers umbrella
***********************************/

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}

.clear { clear:both; }



.no form#sign_up,
form {
	margin: 240px 0 0 0;
	padding-bottom: 220px;
	font-family: Georgia, Times serif;
}

.forecasts-new form {padding-bottom: 190px;}

.no form {
	margin: 0;
}
form label {
	font-family: Arial;
	font-weight: bold;
	font-size: 13px;
	display: block;
	margin: 0 auto .5em auto;
	line-height: 1.4;
	width: 330px;
	color: #fff;
}

 form #subscription_tabs label {
  color: #092438;
}

.snow label {
	color: #0d3a57;  
}

.no label {
	color: #0d3a57;
}

form .text-input input {
	font-family: Georgia, Times, serif;
	display: block;
	margin: 0 auto;
	color: #0d3a57;
	font-size: 38px;
	padding: 4px 0;
	text-align: center;
	width: 358px;
	background: #fff url(/images/input_bg.png) top left repeat-x;
	border: 1px solid #162c39;
}

form .submit-input input {
	position: relative;
	left: 135px;
	top: 5px;
}

form .select label {
	display: inline;
}

.yes form .select label,
.snow form .select label {
	color: #0d3a57;
}

#sign_up #subscription_phone, #sign_up #phone {
  text-align: left;
  padding-left: 38px !important; /* for IE6 which wont display the cell icon */
  width: 290px;
  padding-left: 4px;
	background: #fff url(/images/input_bg_phone.png) top left repeat-x;
	border: 1px solid #5e7685;	
	margin: 0 0 10px 0;
}

#sign_up #subscription_email {
  text-align: left;
  font-size: 23px;
  width: 290px;
  padding: 12px 0 12px 43px !important; /* for IE6 which wont display the cell icon */
	background: #fff url(/images/input_bg_email.png) top left repeat-x;
	border: 1px solid #5e7685;	
}

body.no .subscription-options {
  width: 325px;
  margin: 5px auto 0 auto;
}

body.yes .subscription-options,
body.snow .subscription-options {
  width: 325px;
  margin: 5px auto 0 auto;
}

body.no .subscription-options #reminder-time {

}

body.yes .subscription-options #reminder-time,
body.snow .subscription-options #reminder-time {

}

.subscription-options div {
  padding: 6px 0;
}

.subscription-options label {
  font-size: .75em;
  font-weight: normal;
}

#carrier .fieldWithErrors {display: inline;}

#carrier .fieldWithErrors label {color: red;}
