/* ACES-NM Young Student Award Application Form - Wei Z. */

body {
	margin: 0;
	padding: 0;
	text-align:center;
	font-size: 15px;
    font-family: Georgia, "Times New Roman", Times, serif;
}

div#page {
  margin: 0 auto;
  width: 90%;
  text-align:left;
 }
h1, form, fieldset, legend, ol, li {
	margin: 0;
	padding: 10px;
}

h1 {
  font-size: 24px;
  text-align: center;
  padding-bottom: 10px;
}

.confirm {
  color: #00f;
  width: 95%;
  border: solid 1px #993;
  padding: 5px;
}

form {
  background: #fafafa;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,.5);
  box-shadow: 2px 2px 2px rgba(0,0,0,.5);
  width: 95%;
  border: 1px #000;
}
form fieldset {
  border: 1px;
  margin-bottom: 10px;
}
form fieldset:last-of-type {
  margin-bottom: 0;
}

form div {
	clear:both;
	vertical-align: top;
}
form div span{
	margin:0 auto;
	padding:0;
	float:left;
	/* color:#444; */
}

form label {
  margin:0;
  clear:both;
  font-size:90%;
  /*font-family: Arial;*/
  /*font-weight: bold;*/
  font-style: italic;
  padding-left: 5px;
  line-height:140%;
  color:#444;
  display:block;
}

form label.desc{
  font-size:100%;
  font-weight:bold;
  color:#222;
  line-height:150%;
  margin:0;
  padding:5px 0 3px 0;
  border:none;
  display:block;
  white-space: normal;
  width:100%;
}

form label span {
	display:inline !important;
	float:none !important;
}

form fieldset label:hover {
	cursor: pointer;
}
form input:not([type=radio]) {
  background: #fff;
  border: 1px solid #aaa;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-radius: 3px;
  font: italic 95% Georgia, "Times New Roman", Times, serif;
  padding: 1px 1px;
  margin: 0 1px;
  margin-right: 20px;  /* works on local but not on server */
}
form input:not([type=submit]):focus {
  background: #FF9;
}
form button {
	background: #43C6DB;
	border: none;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	-khtml-border-radius: 20px;
	border-radius: 20px;
	color: #FFFC17;
	display: block;
	font: 18px Georgia, "Times New Roman", Times, serif;
	letter-spacing: 1px;
	margin: auto;
	padding: 7px 25px;
	text-shadow: 0 1px 1px #000000;
	text-transform: uppercase;
}
form button:hover {
	background: #3B9C9C;
	cursor: pointer;
}

sup { color: #f00; }

select.select{
	font-size:100%;
	color:#333;
	margin:0;
	width:100%;
	padding:3px 5px;
}

/* ----- HALVES AND THIRDS ----- */
form .leftHalf, form .rightHalf{
	width:47% !important;
}
form .leftThird, form .middleThird, form .rightThird{
	width:30% !important;
}
form .middleThird{
	clear:none !important;
	float:left;
	margin-left:2% !important;
}

form .rightHalf, form .rightThird {
	clear:none !important;
	float:right;
}

/* add spaces between radio buttons */
form input[type=radio] {
  margin: 0 5px 0 15px;
}