div.modal-box.wrapper
{
	position: absolute;
	margin: 15% auto;
	float: none;
	border: 1px solid #d4d4d4;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
	font: 14px "Helvetica Neue" , Arial, Helvetica, Geneva, sans-serif;
	z-index: 2000;
	text-align: left;
	left: 25%;
	right: 25%;
	background-color: #fffeff;
}
div.modal-box div.inside
{
	margin: 3px;
	padding: 10px;
	overflow: visible;
	z-index: 2000;
}

/* Each Box's specified width: Required so that they're showing in the middle of the page */

div#mailing-list.modal-box
{
	width:520px;
}

div.modal-box div.hr
{
	height: 5px;
	background: url(../layout/hr.png) repeat-x;
}

#adjust-settings span.button.white.save
{
	margin-left: 95px;
}

div.modal-box div.inside.blue
{
	background: #e0e7ea url(../layout/blue-bg.jpg) repeat-x 0 -2px;
}

/* Close Buttons */
div.modal-box span.modal-close
{
	position: absolute;
	top: -13px;
	right: -13px;
	width: 35px;
	height: 35px;
	background: url(../layout/close-buttons-sprite.png) no-repeat;
}
div.modal-box span.modal-close:hover
{
	background-position: 0 -37px;
	cursor: pointer;
}
div.modal-box span.modal-close span
{
	display: none;
}
div.modal-box span.modal-close.left
{
	top: -13px;
	left: -13px;
}
div.modal-box span.modal-close.black
{
	background-position: -35px 0;
}
div.modal-box span.modal-close.black:hover
{
	background-position: -35px -36px;
}
div.modal-box span.modal-close.red
{
	background-position: -70px 0;
}
div.modal-box span.modal-close.red:hover
{
	background-position: -70px -38px;
}
div.modal-box span.modal-close.yellow
{
	background-position: -105px 0;
}
div.modal-box span.modal-close.yellow:hover
{
	background-position: -105px -38px;
}

div.modal-box h3
{
	font-size: 30px;
	font-weight: bold;
	margin: 10px 0px 5px;
	color: #464646;
	letter-spacing: -1px;
}
div.modal-box .red h3, div.modal-box .yellow h3
{
	color: #fffeff;
	margin-top: 0px;
}
div#restricted-content.modal-box h3
{
	margin-top: 90px;
}

div.modal-box p
{
	text-shadow: rgba(255,254,255,0.5) 0 1px 0;
	color: #7a7a7a;
	margin: 5px 0px 10px;
}

div.modal-box div.clear
{
	height: 1px;
	clear: both;
}
div.modal-box.centered
{
	text-align: center;
}

/* Image Styles */
div.modal-box img
{
	float: left;
	margin-right: 20px;
}
div.modal-box img.right
{
	float: right;
	margin-right: 0px;
	margin-left: 20px;
}
div.modal-box.centered img
{
	float: none;
}
div.modal-box img.pop-out
{
	margin-top: -42px;
	z-index: 2001;
	position: absolute;
	left: 94px;
}

/* Basic Buttons */
div.modal-box a.button, div.modal-box span.button
{
	display: block;
	float: left;
	position: relative;
	height: 34px;
	line-height: 33px;
	background: url(../layout/buttons-sprite.png) no-repeat 0 -1px;
	padding-left: 20px;
	margin: 2px 30px 10px 0px;
	font-size: 15px;
	font-weight: bold;
	color: #585858;
	text-decoration: none;
}
div.modal-box a.button:hover, div.modal-box span.button:hover
{
	background-position: 0 -37px;
	cursor: pointer;
}
div.modal-box a.button span, div.modal-box span.button span
{
	display: block;
	float: left;
	position: relative;
	height: 34px;
	padding-right: 20px;
	margin-right: -20px;
	background: url(../layout/buttons-sprite.png) no-repeat right -1px;
}
div.modal-box a.button:hover span, div.modal-box span.button:hover span
{
	background-position: right -37px;
	cursor: pointer;
}
div.modal-box.centered a.button
{
	margin: 0px 0px 0px 90px;
}



/* Square Buttons */
div.modal-box a.button.square
{
	height: 37px;
	line-height: 36px;
	color: #fffeff;
}
div.modal-box a.button.square span
{
	height: 37px;
}


/* Form Elements */
div.modal-box textarea {
	color: #444;
	font-size: 13px; padding:3px;
}
div.modal-box input
{
	width: 270px;
	margin: 0px 0px;
	border-style: none;
	background: transparent url(../layout/input-bg.png) no-repeat 0 0;
	position: relative;
	padding: 10px 10px;
	color: #9f9f9f;
	font-size: 13px;
}
div.modal-box input.submit
{
	width:95px;
	margin-left: -5px;
	position: relative;
	background: url(../layout/submit-bg.png) 0 0px;
	color: #fffeff;
	font-weight: bold;
	text-shadow: #000 0 1px 1px;
	font-size: 13px;
}
div.modal-box input.submit:hover
{
	background-position: 0 -42px;
	cursor: pointer;
}
div.modal-box label
{
	line-height: 20px;
}
div.modal-box fieldset
{
	border: none;
	padding: 0px;
	line-height: 15px;
	margin: 20px 0px;
	clear: both;
	color: #484848;
}
div.modal-box input.text
{
	width: 348px;
}
div.modal-box input.radio
{
	margin: 5px;
	width: 15px;
	height: 15px;
}
div.modal-box input.checkbox
{
	margin: 5px;
	width: 15px;
	height: 15px;
}

div.modal-link
{
	cursor: pointer;
}
/* PBSA Additions */
.queryInfo{font-style: italic; }
.helpMsg{ color: #a1a; clear:both; margin:auto; text-align:center;}
.thankyouMsg{color: #a1a; clear:both; margin:auto; text-align:center; font-size:15px;}
