.wrapper {width: 80%; margin: auto;}

.floatleft {float: left; width: 24%; margin: .5%;}

.floatleft50 {float: left; width: 48%; margin:1%;}

.floatright {float: left; width: 24%; margin: .5%;}

label {display: block;margin-bottom: 5px; margin-right: 10px; margin-bottom: 10px; vertical-align: middle;}




/* Form Button Style */
.button {
    text-decoration: none;   
    padding: 10px 15px;
    background: #6b87a3;
    color: #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}
.button:hover {
    background: #356094;
    border: solid 1px #2A4E77;
    text-decoration: none;
}
.button:active {
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    background: #2E5481;
    border: solid 1px #203E5F;
}


/* Web Form Style */

input, textarea, select { 
    padding: 3.9px; 
    border: solid 1px #E5E5E5; 
    outline: 0; 
    font: normal 13px/100% Verdana, Tahoma, sans-serif; 
    width: 75px; 
    margin-bottom: 10px;
    background: #FFFFFF url left top repeat-x; 
    background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF)); 
    background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px); 
    box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; 
    -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; 
    -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; 
    } 
   
textarea { 
    width: 150px; 
    max-width: 400px; 
    height: 50px; 
    line-height: 150%; 
    } 


select { 
    width: auto; 
    max-width: 400px; 
    height: 25px; 
    line-height: 150%; 
    } 
   
input:hover, textarea:hover, 
input:focus, textarea:focus { 
    border-color: #C9C9C9; 
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 8px; 
    } 
   
.form label { 
    margin-left: 10px; 
    color: #999999; 
    } 
   
.submit input { 
    width: auto; 
    padding: 9px 15px; 
    background: #617798; 
    border: 0; 
    font-size: 14px; 
    color: #FFFFFF; 
    -moz-border-radius: 5px; 
    -webkit-border-radius: 5px; 
    }


/* Results Table Styling */

body {
	background: #fafafa url(http://jackrugile.com/images/misc/noise-diagonal.png);
	color: #444;
	
}

strong {
	font-weight: bold; 
}

em {
	font-style: italic; 
}

.resultst table {
	background: #f5f5f5;
	border-collapse: separate;
	box-shadow: inset 0 1px 0 #fff;
	font-size: 10px;
	line-height: 18px;
	text-align: left;
	width: 100%;
}	

.resultst th {
	background: url(http://jackrugile.com/images/misc/noise-diagonal.png), linear-gradient(#777, #444);
	border-left: 1px solid #555;
	border-right: 1px solid #777;
	border-top: 1px solid #555;
	border-bottom: 1px solid #333;
	box-shadow: inset 0 1px 0 #999;
	color: #fff;
  font-weight: bold;
	padding: 10px 15px;
	position: relative;
	text-shadow: 0 1px 0 #000;	
}

.resultst th:after {
	background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.08));
	content: '';
	display: block;
	height: 25%;
	left: 0;
	margin: 1px 0 0 0;
	position: absolute;
	top: 25%;
	width: 100%;
}

.resultst th:first-child {
	border-left: 1px solid #777;	
	box-shadow: inset 1px 1px 0 #999;
}

.resultst th:last-child {
	box-shadow: inset -1px 1px 0 #999;
}

.resultst td {
	border-right: 1px solid #fff;
	border-left: 1px solid #e8e8e8;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #e8e8e8;
	padding: 10px 15px;
	position: relative;
	transition: all 300ms;
}

.resultst td:first-child {
	box-shadow: inset 1px 0 0 #fff;
}	

.resultst td:last-child {
	border-right: 1px solid #e8e8e8;
	box-shadow: inset -1px 0 0 #fff;
}	

.resultst tr {
	background: url(http://jackrugile.com/images/misc/noise-diagonal.png);	
}

.resultst tr:nth-child(odd) td {
	background: #f1f1f1 url(http://jackrugile.com/images/misc/noise-diagonal.png);	
}

.resultst tr:last-of-type td {
	box-shadow: inset 0 -1px 0 #fff; 
}

.resultst tr:last-of-type td:first-child {
	box-shadow: inset 1px -1px 0 #fff;
}	

.resultst tr:last-of-type td:last-child {
	box-shadow: inset -1px -1px 0 #fff;
}	

.resultst tbody:hover td {
	color: transparent;
	text-shadow: 0 0 3px #aaa;
}

.resultst tbody:hover tr:hover td {
	color: #444;
	text-shadow: 0 1px 0 #fff;
}




/* Tooltips */

a.tooltips {
  position: relative;
  display: inline;
}
a.tooltips span {
  position: absolute;
  padding: 10px 20px;
  width:280px;
  color: #FFFFFF;
  background: #000000;
  height: 65px;
  line-height: 20px;
  text-align: left;
  visibility: hidden;
  border-radius: 6px;
}
a.tooltips span:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -8px;
  width: 0; height: 0;
  border-right: 8px solid #000000;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
a:hover.tooltips span {
  visibility: visible;
  opacity: 0.8;
  left: 100%;
  top: 50%;
  margin-top: -30px;
  margin-left: 30px;
  z-index: 999;
}