/*
California Prototype Food Stamp Budget Calculator styles 
-------------------------------------------------------- */

/* basic page styles */

body {
    color: #333333;
    font-family: verdana, arial, sans-serif;
    font-size: 62.50%;
    line-height: 1.40;
    }
#page-wrapper {
	margin: 0 auto;
	width: 980px;
	}
#content-wrapper {
	font-size: 1.30em;
	}		
h1 {
	border: 2px solid #E0E0E0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	font-family: calibri, verdana, sans-serif;
	font-size: 3.0em;
	letter-spacing: 1px;
	margin: 0.50em 0;
	padding: 4px 0 6px 0;
	text-align: center;
	}
h2 {
	font-family: georgia, serif;
	font-size: 1.40em;
	font-weight: normal;
	padding: 4px 0;
	}
a:link,
a:visited {
    background: transparent;
    color: #333333;
    font-weight: bold;
    text-decoration: none;
    }
a:hover,
a:active {
    color: #0000FF;
    }
img {
	border: 0;
	}
hr {
	background: #E0E0E0;
	border: 0;
	height: 2px;
	}
ul {
	list-style: none;
	}
	
/* calculator styles */

div#Calculator {
	background: #FFFFFF;
	display: none; /* hide by default, show with JS */
	float: left;
	margin: 0 0 0 4px;
	width: 600px;
	}
#options {
	margin: 0 0 1.0em 0;
	padding-right: 5px;
	text-align: center;
	}
#options input {
	font-size: 1.0em;
	font-weight: bold;
	margin: 0 10px;
	padding: 0 10px 2px 10px;
	}		
div#Calculator input {
	color: #777777;
	}	
.hidden {
	display: none;
	}
div#calculatedFields {
	background-color: #E1E1E1;
	border: 2px solid #D0D0D0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #777777;
	float: right;
	margin: 0 4px 0 24px;
	padding: 0 20px 10px 12px;
	}
	
/* fieldset styles */

div#Calculator form h2 {
	background-color: #E9E9E9;
	border: 1px solid #D9D9D9;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #777777;
	margin: 0 0 2px 2px;
	text-align: center;
	width: 600px;
	}
fieldset {
	border: 1px solid #D9D9D9;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin-bottom: 2.0em;
	padding: 1.0em 0 1.0em 20px;
	width: 580px;
	}
fieldset.inactive {
	background-color: #E9E9E9;	
	color: #999999;
	}	
form label {
	display: block;
	font-weight: bold;
	margin-bottom: 1.0em;	
	}
form label img {
	vertical-align: -6px;
	margin-left: 4px;
	}
#content-wrapper label a.help:hover {
	border-bottom: 0;
	}
label.dollars input,
label.number input {
	font-family: arial, sans-serif;
	font-size: 130%;
	font-weight: bold;
	padding: 2px 0 1px 2px;	
	width: 75px;
	}
fieldset label.number {
	vertical-align: 26px;
	}	
label.number input {
	width: 2.0em;
	}
#content-wrapper label span.dollar {
	color: #777777;
	font-size: 1.20em;
	padding-right: 4px;
	}					
label.radio input {
	margin-left: 20px;
	}

/* dynamically calculated fields */	
	
div#calculatedFields h2 {
	margin: 0.50em 0;
	text-align: center;
	width: auto;
	}
div#calculatedFields input.calculated {
	background-color: transparent;
	border: 0;
	padding-left: 0;
	vertical-align: -1px;
	}
div#calculatedFields form label {
	border-bottom: 1px solid #FFFFFF;
	padding-bottom: 14px;
	}	
div#calculatedFields #monthly-allotment {
	background: #FFFFFF;
	border: 1px solid #D0D0D0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 4px 0 7px 10px;
	}
#monthly-allotment input {
	padding-left: 0;
	width: 64px;
	}	
#linkWindow .calcLinkInput,
#resultsWindow .calcLinkInput {
	font-weight: bold;
	width: 550px;
	}
#linkWindow ul {
	line-height: 2.0;
	}
#linkWindow, 
#resultsWindow {
	padding: 16px 20px;
	}
#resultsWindow p {
	margin: 1.0em 0;
	}	
#resultsAllotment {
	font-weight: bold;
	}
#content-wrapper #showResultsLink {
	border: 1px solid #0000FF;
	color: #0000FF;
	font-size: 1.30em;
	margin-bottom: 3.0em;
	padding: 10px 14px;
	}
#footer {
	clear: both;
	height: 40px;
	}	

/* end form css */

/* jqModal css */
/* jqModal base Styling courtesy of;
  Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
  the Window's z-index value will be set to 3000 by default (in jqModal.js). You
  can change this value by either;
    a) supplying one via CSS
    b) passing the "zIndex" parameter. E.g.  (window).jqm({zIndex: 500}); */
  
.jqmWindow {
    display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    
    background-color: #FFFFFF; /*#EEE;*/
    color: #333;
    border: 1px solid black;
    padding: 12px;
	font-size: 1.30em;
}

.jqmOverlay { background-color: #000; }

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}
