form {
  color: #363636;
  margin-top: 5px;
  margin-left: 5%;
  margin-right: 5%;
  padding: 5px;
}
form fieldset {
  border: 1px solid #253D51;
  padding: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
}

form fieldset legend {
  color: #253D51;
  font-size:100%;
  font-weight: bold;
}

form label {
  cursor: pointer;
  display: block;
  float: left;
  width: 220px;
  padding-right: 10px;
  padding-left: 5px;
  margin: 5px 0 0;
  text-align: right;
  font-weight: bold;
  font-size: 90%;
  color: #666666;
}

form img {
  vertical-align:text-top;
}


form input, form, select, radio, textarea {
	width:auto;
	margin:2px 0 0 2px;
}

form input#reset {
	margin-left:0px;
}

form input:focus,select:focus,textarea:focus {
	background-color: #ffffee;
	border-style:inset;
}

textarea {
	overflow: auto;
}

.button {
  background: none repeat scroll 0 0 #F8F8F8;
  background: -moz-linear-gradient(center top , #FEFEFE, #DCDCDC) repeat scroll 0 0 transparent;
  border: 1px solid #253D51;
  color: #253D51;
  font-weight: bold;
  font-size: 85%;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  -khtml-border-radius: 20px;
  border-radius: 20px;
  margin-top: 10px;
  padding: 5px;
}

.button:disabled {
  background: none repeat scroll 0 0 #F8F8F8;
  background: -moz-linear-gradient(center top , #FEFEFE, #DCDCDC) repeat scroll 0 0 transparent;
  border: 1px solid #253D51;
  color: #253D51;
  font-weight: normal;
  font-size: 85%;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  -khtml-border-radius: 20px;
  border-radius: 20px;
  margin-top: 10px;
  padding: 5px;
}

.required:after {
  color: #336699;
  font-size:125%;
  font-weight: bold;
  content: " *";
}

form br {
	clear:left;
}

.fieldWithErrors label {
  color: #ff0000;
}

.fieldWithErrors input {
  border: 1px solid #ff0000;
}

.instructions{
  display: block;
  padding: 0px 0px;
  font-size: 70%;
  margin:0px 0 0 240px;
}

div.notes {
  display: block;
  float: right;
  width: 300px;
  height: auto;
  margin: 0 0 10px 10px;
  padding: 5px;
  border: 1px solid #333;
  background-color: #FFFFCC;
  color: #000;
  font-size: 85%;
}

div.notes h4 {
  color: #333;
  font-size: 130%;
  text-align: center;
}

div.notes p {
  margin: 0em 0em 1.2em 0em;
  color: #666666;
}

div.notes p.last {
  margin: 0em;
}

div.notes ul {
	margin: 0 20px;
	padding: 0;
}

div.terms {
}

div.terms h4 {
  color: #333;
  font-size: 100%;
  text-align: left;
}

div.terms p {
  margin: 0em 0em 1.2em 0em;
  color: #666666;
}

div.terms p.last {
  margin: 0em;
}

div.terms ul {
	margin: 0 20px;
	padding: 0;
	list-style:disc;
	list-style-type:circle;
	list-style-position:outside;
	color: #666666;
}
div.terms li {
	list-style-type:circle;
}

table.gridtable {
	border-width: 1px;
	border-color: #666666;
	border-collapse: collapse;
}

table.gridtable th {
}

table.gridtable td {
	padding: 1px;
	vertical-align:middle;
}

.bulletpoint2 {
    text-indent: 2%;
}

.bulletpoint4 {
    text-indent: 4%;
}

.realid {
  color: black;
  font-weight: bold;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
