/* Johnny Boards online quote - stylesheet 
    by Aaron Wallentine
*/

/*
READ THIS FIRST!
This CSS file has been divided into sections for greater maintainability.
Comments in each section describe what types of things go there.
Here is a general outline / overview:

general styles
    - body styles
    - reset
    - links
    - headings
    - other elements, tags
    
Helper Styles
    [consistent items with normally just one class]
    - General
    - Forms
    - Notifications and Errors
    - Debug Elements

Page Structure / Overall Layout
    [skeleton including page furniture, layout for overall containers]
    
page components
    [most of your styles will be in here]
    - Branding
    - Navigation
    - Content Areas
    - Footer
    
overrides

*/




/* ============================================= */

/*Group: General Styles */
/* body styles, reset, default element styles */
/*BeginGroup */

/*@ body styles 
============ */ 
/* set your default font and font size here */

#quote_wrapper {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 10px;
 /* font-size: 1.1em; */
}


/*@ resets
============ */

fieldset {
 padding-top: 0.35em;
 padding-right: 0.625em;
 padding-bottom: 0.75em;
 padding-left: 0.75em;
}

.IEroot fieldset {
 padding: 0 0.5em;
 padding-bottom: 0.5em;
 border: 1px solid #999;
 margin-top: 0;
 margin-bottom: 0;
}

form {
 margin: 0;
}

legend {
 font-weight: bold;
 font-size: 1.1em;
 padding: 0 0.5em 0 0.25em;
}

.IEroot legend {
 margin-bottom: 0.5em;
}

input, textarea, select {
 font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
 font-size: 1.2em;
 max-width: 100%;
}

input.text {
	padding-left: 0.1em;
	width: 12em;
}

input.text:focus {
	background: #ccdfc8;
	font-weight: bold;
	border: 2px solid #008051;
}


textarea {
 color: #666;
}

form h5 {
 margin: 0 0 0.25em;
 font-size: 1em;
}

p {
	margin: 0.5em 0;
}

/*@ links 
============ */
/* define default link styles */




/*@ headings
============ */
/* better to use h1, h2, h3 etc tags than span class="stylex" on */




/*EndGroup General Styles*/









/* ============================================= */

/*Group: Helper Styles */
/* forms, notifications, paginations, etc: consistent items with a class */
/*BeginGroup */


/*@ General
============ */

.discount {
	font-weight: bold;
	color: #a00;
}

p.discount {
	font-weight: normal;
	clear: both;
	color: #900;
}

/*@ forms
============ */

.field, .field_group {
	width: 100%;
	margin-bottom: 10px;
	clear: both;
}

.field .field_help {
	margin: 0;
	font-style: italic;
	font-size: 11px;
}

.field, .field_group {
	width: 100%;
	margin-bottom: 10px;
	clear: both;
}

.field .field_help {
	margin: 0;
	font-style: italic;
	font-size: 11px;
}

.field.headless label {
	display: none;
}

.field.headless {
	margin-top: -8px;
}

input.text, input.password, input.file, 
input.title,
textarea, select {
	background-color: #aaa;
  /* border: 1px solid #666; */
}

input.text:focus, input.title:focus,
textarea:focus {
	background: #333!important;
	color: #eee!important;
	font-weight: bold;
	/* border: 1px solid #008051; */
}

select:focus {
	font-weight: bold;
}



input.text, input.title, input.file, input.password { 
	width: 100%; 
	/* padding: 3px; */
}

input.title { 
	font-size:1.5em; 
}

textarea { 
	width: 100%; 
	height: 120px; 
	padding: 3px; 
}

fieldset.choices_field {
	border: none;
	padding: 0;
}

.choices_field .field {
	width: auto;
	float: left;
	margin-right: 10px;
	clear: none;
}

.choice_field input,
.choice_field label {
	float: left;
	line-height: 15px;
	vertical-align: middle;
}

.field_group .field {
	float: left;
	clear: none;
}

.field.state {
	width: 40%;
}

.field.state select {
	width: 10em;
}

.field.month {
	width: 9em;
}

.field_group.date .field label {
	display: none;
}

.field.mday {
	width: 5em;
}

.field.year {
	width: 4em;
}

.field.zip {
	width: 50%;
	float: right;
}


td.checkbox {
 padding: 0 0.25em;
}

.option_group label {
 margin-right: 1em;
}

div.text_field, div.select {
 margin-bottom: 0.5em;
}


.text_field label, .select_field label {
 display: block;
 margin-right: 0.5em;
 font-weight: bold;
}

.form_controls {
 float: right;
 margin: 0.5em 0;
}

.form_controls input {
 margin: 0 0.25em;
}


/*@ field errors
============ */

.field.has_err {
	border: 1px solid #8A1F11;
	padding: 2px 5px;
	position: relative;
	background: #fc0;
	width: 100%;
	float: none;
	clear: both;
	color: #8A1F11;
}

.has_err input, .has_err select, .has_err textarea {
	background: #fbc2c4;
	color: #333;
}

.field .errors {
	list-style: none;
	padding-left: 0;
	margin: 0.25em;
	/* font-weight: bold; */
	font-style: italic;
	color: #111;
	font-size: 10px;
}

.error-indicator {

}


/*@ Notifications and Errors
============ */

.messages {
	list-style: none;
	margin: 0.2em 0.5em;
	margin-right: 1em;
	padding: 0;
	color: #514721; 
	font-weight: bold;
	font-size: 1.1em;
}

.messages li {
	padding: .8em; 
	margin-bottom: 1em; 
	border: 2px solid #ddd; 
	background: #FFF6BF; 
	border-color: #FFD324; 
}

.error, li.error { 
	background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; 
}

.success, li.success { 
	background: #E6EFC2; color: #264409; border-color: #C6D880; 
}

.error a    { color: #8a1f11; }
.notice a, .messages li a { color: #514721; }
.success a  { color: #264409; }

.messages li ul {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.messages li li {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
}





/*@ "Actions" links - links made to look button-style for various actions
============ */

.actions form {
 display: inline;
/*
 float: left;
 margin-right: 0.5em;
 */
}

a.buttonlink {
 text-decoration: none;
}

.actions h4 {
 margin-bottom: 0.5em;
}

.actions ul {
 list-style: none;
 margin: 0;
 padding: 0;
}

.actions li {
 float: left;
 padding: 0;
 margin: 0;
 margin-right: 0.5em;
}

.actions li a {
 display: block;
 padding: 0.25em 0.5em;
 background: #fff;
 border: 2px solid #555;
 border-top: 1px solid;
 border-left: 1px solid;
 border-color: #888 #333 #555 #888;
 color: #000;
 text-decoration: none;
}

.actions li a:hover {
 background: #d9d9d9;
 color: #111;
}

.actions li a:active {
 border-top: 2px solid;
 border-left: 2px solid;
 border-bottom: 1px solid;
 border-right: 1px solid;
 border-color: #333 #888 #888 #555;
 background: #999;
 color: #111;
}


/*@ notifications and errors
============ */



/*@ debug elements
============ */

.debug, #debug-global-message
{
 background: #666;
 color: #EEE;
 padding: 0.5em;
 font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
 margin: 0.5em;
 position: relative;
 border: 1px solid #999;
 clear: both;
}

.debug a.hide-me, #debug-global-message
{
 position: absolute;
 top: 0.25em;
 right: 0.5em;
 z-index: 90;
}

.debug a, #debug-global-message a
{
 color: orange;
}

.debug a:hover, #debug-global-message a:hover
{
 color: yellow;
 font-weight: bold;
}

pre.debug
{
 white-space: pre-wrap;
}

.debug h1
{
 font-weight: bold;
 font-size: 1em;
 border-bottom: 1px dotted;
 margin: 0 0 0.5em 0;
}



/*@ other 
============ */

.sel_all {
	font-size: 9px;
	font-weight: normal;
	color: blue;
	margin: 0 0.5em;
}

/*EndGroup Helper Styles*/












/* ============================================= */

/*Group: Page Structure */
/* Skeleton including page furniture ---
the header, footer, and the generic layout blocks that make
up a basis for your components to fit snugly into. */
/*BeginGroup */

#main_wrapper {
 /* if we want to keep the content from wrapping under the nav:
 min-width: 965px; */
 float: left;
}

 /* if we want to keep the content from wrapping under the nav:
* html #main_wrapper {
 width: 965px;
}
*/
#MainContent {
 width: 820px;
/*
 max-width: 1090px;
 */
}

#contact_info {
 float: left;
/* width: 18em; */
 margin-right: 0.5em;
}

* html #contact_info {
	width: 33.5em;
}


#locations_quote {
 max-width: 100%;
 margin: 1em 0;
 /* margin-left: 19em; */
}

#add_boards {
 float: left;
 clear: left;
 margin: 1em 0;
 width: 100%;
}

#board_list_wrapper {
 width: 54%;
 margin-left: 45%;
 position: relative;
 
}

* html #board_list_wrapper {
 width: 51%!important;
}

#filter_venues {
 float: left;
 width: 44%;
}


/*@ Header Banner on summary page
============ */

#head-banner h1
{
 float: left;
}

#head-banner .contact
{
 text-align: center;
 font: 12px Arial,Helvetic,sans-serif;
 font-weight: bold;
 padding-top: 1.75em;
}


/*EndGroup Page Structure */









/* ============================================= */

/*Group: Page Components */
/* most styles will go in here */
/*BeginGroup */



/*@ Branding
============ */



/*@ Navigation
============ */



/*@ Content
============ */

#quote_wrapper .checkbox_field label,
#quote_wrapper #board_list label,
#quote_wrapper #board_options label {
	font-weight: normal;
}

#quote_wrapper h2
{
 margin-top: 0;
}

#quote_wrapper h2 a
{
 color: black;
 text-decoration: none;
}

#quote_wrapper h2 a:hover {
 color: blue;
}



/*@ Contact Info Form
============ */

#contact_info fieldset fieldset {
	margin: 0; padding: 0;
	border: none;
}

#contact_info .group1, #contact_info .group2 {
	float: left;
	border: none;
	margin: 0 10px;
	width: 155px;
	
}

#contact_info .form_controls {
	float: none;
	text-align: center;
	padding-top: 0.5em;
}



/*@ Add A Board form
============ */

#board_list_wrapper .table_wrapper {
 max-height: 20em;
 overflow: auto;
 overflow-x: hidden;
 margin-top: 2.5em;
 margin-bottom: 1em;
 border-bottom: 1px solid #666;
}

.IEroot #board_list_wrapper .table_wrapper {
    margin-top: 33px;
}

* html #board_list_wrapper .table_wrapper {
 height: 20em;
}


#board_list_wrapper thead
{
 position: absolute;
 height: 2.5em;
 top: -2.5em;
 left: 0;
 background: #999;
 width: 100%;
 border-bottom: 1px solid #666;
 border-top: 1px solid #666;
}

#board_list_wrapper th
{
 background: #999;
}

#board_list_wrapper .checkbox
{
 width: 2em;
}

#board_list_wrapper th.nbr_of_boards {
 position: absolute;
 right: 0;
}

.IEroot #board_list th.nbr_of_boards {
 position: static;
}

.IEroot #board_list thead tr {
 position: absolute;
 top: 0;
}

.IEroot #board_list thead th {
 border-top: 1px solid #666;
 border-bottom: 1px solid #666;
}


* html #board_list_wrapper th.nbr_of_boards {
 position: relative;
 right: -10px;
}

#board_list
{
 width: 100%;
}

#board_list .venue_name
{
 text-align: left;
}

#board_list .nbr_of_boards
{
 text-align: right;
 padding-right: 2em;
}

#board_list td
{
 border-bottom: 1px dotted #999;
}

#board_list tr:hover td
{
 background: #bbb;
 font-weight: bold;
}

#board_options
{
 float: left;
 width: 100%;
 margin-bottom: 1em;
}


#board_options .submit {
 padding-top: 1.25em;
 padding-left: 1em;
 float: left;
}

* html #board_options .submit {
    padding-left: 0; /* was wrapping to next line on IE6 */
}


#board_options .option_group
{
 float: left;
}

#gender
{
 border-left: 1px solid #666;
 padding-left: 1em;
}

/*@ Venue Filter Form
============ */

#filter_venues .checkbox_field:hover {
 background: #ece887;
}

#filter_venues .checkbox_field {
 border-bottom: 1px dotted #999;
}

#filter_venues .checkbox_field label {
 display: block;
}


/*@ Quote Table
============ */

.quote_table table {
 margin: 0 0 1em;
 background: #ddd;
 width: 100%;
 border: 2px solid #000;
 border-width: 2px 0;
}

.quote_table table td,
.quote_table table th {
 border-right: 1px dotted #999;
 border-bottom: 1px dotted #999;
 padding: 2px 1em 2px 0.5em;
}

.quote_table tr:hover td {
 background: #ccc;
}

.quote_table table .venue_name
{
 text-align: left;
 padding-right: 1em;
}

.quote_table table th {
 background: #111;
 color: white;
 border-bottom: 2px solid #fc0;
}

.quote_table .remove {
	width: 1.2em!important;
	padding: 0!important;
}

.quote_table table .nbr_of_boards,
.quote_table table .boards_running {
 text-align: right;
/* width: 4em; */
}


.quote_table span.nbr_of_boards {
	float: right;
}


/* IE6 and 7 are fucking this up for some reason, so: */
.IEroot .quote_table .boards_running {
    width: auto;
    /* that seemed to fix it */
}

.quote_table table .run_type {
	width: 8.5em;
}


.quote_table table .label,
 .subtotal {
	text-align: right;
	font-weight: bold;
}

.quote_table table td.label
{
 border-bottom: none;
 border-top: none;
}

.quote_table .sel_all {
	display: block;
	color: yellow;
	margin-left: 0;
}


tr.spacer td
{
 height: 1em;
 border: none;
 border-bottom: 1px dotted #999;
}


.run_type
{
 text-align: right;
}

.grand_total td {
 color: green;
 font-size: 1.25em;
 padding-top: 0.5em!important;
 padding-bottom: 0.25em!important;
 border-top: 1px dotted #666!important;
 background: #bbb;
}



/*@ Quote Summary View
============ */

body.printable_quote_summary {
    padding-top:  0;
	background-color: #fff;
	background-image: none;
}

body.printable_quote_summary #body_innertube {
	background: #fff url(/images/BG1.gif) 0 -22px repeat-x;
}

body.printable_quote_summary #MainContent
{
 width: 700px;
 margin: 0 auto;
 margin-top: 20px;
 float: none;
}

body.printable_quote_summary #quote_wrapper {
 width: 700px;
}

.printable_quote_summary .quote_table th, 
.printable_quote_summary .quote_table td {
	width: auto!important; 
	/* my explicit widths from the other view no longer make sense here */
}

#quote_summary h1
{
 margin-bottom: 0;
}

.printable_quote_summary #contact_info
{
 width: 100%;
 float: none;
 margin-bottom: 1em;
}

.printable_quote_summary #contact_info .box
{
 float: left;
 width: 49%;
}

.printable_quote_summary #contact_info .box .inner
{
 border: 1px dotted #666;
 background: #fff;
 margin: 0.5em;
 padding: 0.5em;
 padding-top: 0;
}

.printable_quote_summary #contact_info .box dd
{

 margin-left: 0.5em;
 padding: 0.25em;
 border: 1px solid #bbb;
 border-width: 0 0 1px 0;
 color: #444;
}

.printable_quote_summary .quote_table table
{
 background: #fff;
 border-right: 1px solid #666;
 border-left: 1px solid #666;
}

#quote_summary
{
 border-top: 2px solid #666;
 border-bottom: 2px solid #666;
 margin-top: 1em;
 padding: 0.5em 1em;
 background: #ddd;
 clear: left;
}

.IEroot #quote_summary {
    zoom: 1; /* fix IE6 issue with text at top of quote not showing up */
}

dl
{
 margin-left: 0;
}

dt
{
 font-weight: bold;
 margin-top: 0.5em;
}

.footer
{
 text-align: center;
 padding: 1em 0;
 font-family: Arial,Helvetica,sans-serif;
 font-weight: bold;
}

.footer .fine-print
{
    font-weight: normal;
}


/*@ Ads
============ */



/*@ footer
============ */



/*EndGroup Page Components */










/* ============================================= */

/*Group: Overrides */
/* with good overall structure, shouldn't have to use this much */
/*BeginGroup */


/*@ IE
============ */




/*EndGroup Overrides */









