/* layout.css */

body.masked {
  overflow: hidden;
}

/****************** Generic layout items at the top of the design ******************/

#layout {
  width: 996px;
  min-height: 679px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  position: relative;
}

#header, #header h1, #header h1 a {
  display: block;
  width: 996px;
  height: 129px;
  margin: 0;
  padding: 0;
}

#header h1 {
  background-image: url(/images/header_bg.gif);
  background-position: top center;
  background-repeat: no-repeat;
}

#header h1 a span {
  display: none;
}  

/****************** Generic layout items at the top of the design ******************/

/****************** Birthday Screen CSS ******************/

#form-birthday {
  width: 371px;
  height: 163px;
  margin: 89px auto 0 auto;
  padding: 0;
  background-image: url(/images/form-birthday_bg.jpg);
  background-position: top left;
  background-repeat: no-repeat;
}

#form-birthday fieldset {
  border-width: 0;
  border-style: none;
  width: 371px;
  height: 163px;
  margin: 0;
  padding: 0;
}

#form-birthday fieldset legend {
  display: none;
}

#form-birthday fieldset div.fields {
  width: 243px;
  height: 33px;
  margin: 70px 62px 20px 66px;
  padding: 0;
  background-image: url(/images/form-birthday-fields_bg.jpg);
  background-position: top left;
  background-repeat: no-repeat;
  float:left;
}

#form-birthday fieldset div.fields label {
  display: none;
}

#form-birthday fieldset div.fields input, #form-birthday fieldset div.fields span {
  float: left;
}

#form-birthday fieldset div.fields span {
  width: 14px;
  height: 33px;
}

#form-birthday fieldset div.fields span span {
  display: none;
}

#form-birthday fieldset div.fields input {
  width: 62px;
  height: 29px;
  border-width: 0;
  border-style: none;
  font-size: 22px;
  margin: 0;
  padding: 2px 0;
  background-color: transparent;
  text-align: center;
  font-family:georgia;
}

#form-birthday fieldset div.fields input#yyyy {
  width: 91px;
}

#form-birthday fieldset div.submit {
  width: 371px;
  height: 23px;
  text-align: center;
  margin: 0;
  padding: 0;
}

#form-birthday fieldset div.submit input {
  width: 98px;
  height: 23px;
  border-width: 0;
  border-style: none;
  cursor: pointer;
  background-image: url(/images/form-birthday-submit_bg.jpg);
  background-position: top left;
  background-repeat: no-repeat;
  text-indent: -200px;
  margin: 0 auto;
  padding: 0;
}

#form-birthday fieldset div.error {
  border-width: 0;
  border-style: none;
  background-color: transparent;
  text-align: center;
  width: 243px;
  height: 73px;
  margin: 70px 62px 20px 66px;
  font-size: 18px;
  color: #9e1c20;
}


/* TEMP PAGE CSS -- TURN THIS OFF AFTER LAUNCHING */

/*
#form-birthday {
  background-image: url(/images/temp_date.jpg);
}
#form-birthday fieldset {
  display: none;
}
*/


/****************** Birthday Screen CSS ******************/

/****************** Passwords Screen CSS ******************/

div.story {
  width: 503px;
  height: 107px;
  margin: 0 auto 25px auto;
  padding: 0;
  font-size: 10px;
  color: #ffffff;
  background-image: url(/images/header-story_bg.gif);
  background-position: top left;
  background-repeat: no-repeat;
}

div.story p {
  display: none;
}

#form-passwords {
  margin: 0 auto;
  width: 386px;
}

#form-passwords fieldset {
  border-width: 0;
  border-style: none;
}

#form-passwords fieldset legend {
  display: none;
}

#form-passwords fieldset div.required {
  clear: left;
  width: 365px;
  margin: 0 0 10px 0;
  padding: 0;
}

#form-passwords fieldset div.required label {
  float: left;
  width: 110px;
  color: #464646;
  margin: 0 5px 0 0;
  padding: 0;
  text-align: right;
  font-family:"Times New Roman", Times, serif;
  text-transform:uppercase;
  font-size:15px;
}

#form-passwords fieldset div.required input {
  width: 230px;
  margin: 0;
  padding: 0px 3px;
  border: 1px solid #464646;
  height:17px;
}

#form-passwords fieldset div.required input.error {
  background-image: url(/images/invalid_line.gif);
  background-position: bottom left;
  background-repeat: repeat-x;
}

#form-passwords fieldset div.submit {
  width:365px;
  text-align: center;
}

#form-passwords fieldset div.submit input {
  width: 101px;
  height: 34px;
  border-width: 0;
  border-style: none;
  cursor: pointer;
  background-image: url(/images/form-passwords-submit_bg.gif);
  background-position: top left;
  background-repeat: no-repeat;
  text-indent: -200px;
  margin: 10px auto 0 auto;
  padding: 0;
}

#mask {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.7;
  filter: alpha(opacity=70);
  z-index: 10000;
}

body.masked #mask {
  display: block;
}

#dialog {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20000;
}

body.masked #dialog {
  display: block;
}

#dialog-window {
  width: 555px;
  height: 282px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -141px 0 0 -277px;
  padding: 0;
  background-image: url(/images/dialog_bg.jpg);
  background-position: top left;
  background-repeat: no-repeat;
}

#dialog-close {
  position: absolute;
  top: -11px;
  right: -11px;
  margin: 0;
  padding: 0;
  width: 22px;
  height: 22px;
  background-image: url(/images/dialog-close_bg.png);
  background-position: top left;
  background-repeat: no-repeat;
  cursor: pointer;
  z-index: 30000;
}

#dialog-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 555px;
  height: 114px;
  background-position: top left;
  background-repeat: no-repeat;
}

#dialog-body {
  position: absolute;
  top: 114px;
  left: 0;
  width: 555px;
  height: 92px;
  background-position: top left;
  background-repeat: no-repeat;
}

#dialog.termsofuse #dialog-body{
	height: 171px;
}

#dialog.termsofuse #dialog-body-text{
	display: block;
	margin-left: 55px;
	width: 448px;
	height: 165px;
	padding: 0px 10px 0px 0px;
	overflow-y: scroll;
	font-weight: bold;
}


#dialog-button {
  position: absolute;
  top: 206px;
  left: 0;
  width: 555px;
  height: 76px;
  background-position: top left;
  background-repeat: no-repeat;
  background-image: url(/images/dialog-button_bg.jpg);
}

#dialog.termsofuse #dialog-button {
	background-image: url(/images/dialog-button-tos_bg.jpg);
	top: 285px;
	height: 93px;
}

#dialog-link {
  display: block;
  height: 23px;
  margin: 1px auto;
  padding: 0;
  background-position: top left;
  background-repeat: no-repeat;
}
#dialog-link2 {
  display: none;
}

#dialog.success #dialog-title {
  background-image: url(/images/dialog-title-success_bg.jpg);
}

#dialog.failure #dialog-title {
  background-image: url(/images/dialog-title-failure_bg.jpg);
}

#dialog.termsofuse #dialog-title {
  background-image: url(/images/dialog-title-tos_bg.jpg);
}

#dialog.success #dialog-body {
  background-image: url(/images/dialog-body-success_bg.jpg);
}

#dialog.failure #dialog-body {
  background-image: url(/images/dialog-body-failure_bg.jpg);
}

#dialog.termsofuse #dialog-body {
  background-image: url(/images/dialog-body-tos_bg.jpg);
}

#dialog.success #dialog-link {
  background-image: url(/images/dialog-link-success_bg.jpg);
  width: 165px;
}

#dialog.failure #dialog-link {
  background-image: url(/images/dialog-link-failure_bg.jpg);
  width: 107px;
}

#dialog.termsofuse #dialog-link2 {
	display: block;
  height: 23px;
  margin: 1px auto;
  padding: 0;
  background-position: top left;
  background-repeat: no-repeat;
  background-image: url(/images/dialog-link-tos-canel_bg.jpg);
  width: 107px;
	float: left;
}

#dialog-body-text{
	display: none;
	}

#button-wrapper{
  margin: 20px auto; 
	width: 224px;	
}

#dialog.termsofuse #dialog-link {
  background-image: url(/images/dialog-link-tos-ok_bg.jpg);
  width: 107px;
	float: left;
	margin-left: 10px;
}

#dialog.termsofuse #dialog-bottom {
  background-image: url(/images/dialog-button-tos_bg.jpg);
  width: 107px;
}

/****************** Passwords Screen CSS ******************/

/****************** Generic layout items at the bottom of the design ******************/


#footer {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  width: 996px;
  font-size: 8px;
  color: #464646;
  padding: 0;
}

#footer {
  position: relative;
  bottom: auto;
  left: auto;
  margin: 20px 0 0 0;
}


#footer ul.navigation, #footer ul.navigation li {
  list-style-type: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

#footer ul.navigation {
  margin: 5px 0;
}

#footer ul.navigation li {
  display: inline;
  border-left: 1px solid #464646;
  margin: 0 0 0 5px;
  padding: 0 0 0 5px;
}

#footer ul.navigation li.first {
  border-left-width: 0;
  border-left-style: none;
}

#footer a:link, #footer a:visited, #footer a:focus, #footer a:hover, #footer a:active {
  color: #464646;
}

#footer h6 {
  color: #9e1c20;
  font-size: 12px;
  font-weight: normal;
}

#page-passwords #footer h6 {
  background-image: url(/images/esrb.gif);
  background-position: top right;
  background-repeat: no-repeat;
}

#footer h6 a {
  display: block;
  text-transform: uppercase;
  background-image: url(/images/dantes-inferno.gif);
  background-position: top center;
  background-repeat: no-repeat;
  height:90px;
  overflow:hidden;
  line-height:1000px;
}

#footer h6 a:link, #footer h6 a:visited, #footer h6 a:focus, #footer h6 a:hover, #footer h6 a:active {
  color: #9e1c20;
  text-decoration: none;
  font-family:Georgia, "Times New Roman", Times, serif;
}

/****************** Generic layout items at the bottom of the design ******************/