/*
	by: Jason Douglas jdouglasmedia.com
	for: b-di.com questionnaires
	last edit: July 13, 2010
*/
body, p, td, th, ul, ol, li, input, select, textarea, button{
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color: #000000;
}
body {
	background-image:url(/images/bg.gif);
	background-repeat:repeat;
}
table {
	margin-left:auto;
	margin-right:auto;
	width:100%;
	padding:0px;
	border:0px;
}
td, th {
	text-align:left;
	vertical-align:top;
	border:0px;
}
a {
	color:#30648f;
	text-decoration:underline;
	font-weight:bold;
}
a:hover {
	text-decoration:none;
	color:#330066;
}
h1{
	color: #637eba;
	font-size:18px;
	text-align:center;
}
h2{
	color: #637eba;
	font-size:16px;
	text-align:center;
}
h3{
	color: #637eba;
	font-size:14px;
	text-align:center;
}
h4{
	font-size:12px;
}

/* buttons */
.buttons a, .buttons button{
    display:block;
    float:left;
    margin:0 7px 0 0;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:100%;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
}
.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}
/* standard buttons */
button:hover, .buttons a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.buttons a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}
/* positive buttons */
button.positive, .buttons a.positive{
    color:#529214;
}
.buttons a.positive:hover, button.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}
.buttons a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}
/* negative buttons */
.buttons a.negative, button.negative{
    color:#d12f19;
}
.buttons a.negative:hover, button.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
.buttons a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}
/* end buttons */

.message {
	color:#ff0000;
	border:1px solid #ff0000;
	padding:10px;
	background-color:#ffcccc;
	font-weight:bold;
}
.message_good {
	color:#006600;
	border:1px solid #006600;
	padding:10px;
	background-color:#99ff99;
	font-weight:bold;
}
.maintable {
	background-color:#e8ecf7; /* lunar blue */
	border:1px solid black;
	width:778px;
}
.contentblock {
	background-color:#ffffff;
	border:1px solid #637eba;
	padding: 20px;
}
.formtable {
	border:1px solid #dedede;
}
.formtable th {
	padding:5px;
	background-color:#dedede;
}
.formtable td {
	padding:3px;
	background-color:#eeeeee;
	border:1px solid #dedede;
}
.lf {
	text-align:right;
	font-weight:bold;
}
.c {
	text-align:center;
}
.cd {
	margin-left:auto;
	margin-right:auto;
}
.vab {
	vertical-align:bottom;
}
.b {
	font-weight:bold;
}
.i {
	font-style:italic;
}
.small {
	font-size:11px;
}

/* print links */
.printlinks table {
	width:100%;
}
.printlinks td {
	text-align:center;
	vertical-align:middle;
	height:40px;
}
.printlinks div{
	width:130px;
	margin-left:auto;
	margin-right:auto;
}
/* end print links */

.instruct_link { text-align:center; }
.instruct_link a { color:#cc0000; }
.instruct_link a:hover { color:#990000; }