/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 100%; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

h2, h1, h3, p {	font-family:Arial, Helvetica, sans-serif; margin:0;}

/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }

/* =============================================================================
   Lists
   ========================================================================== */

dd { margin: 0 0 0 40px; }

/*
 * Correct overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}

/* =============================================================================
   Page Styles
   ========================================================================== */

body {
	margin:0px 0px; padding:0px;
	text-align:center;
	background-image:url(../images/gradient.gif);
	background-repeat:repeat-x;
}

#container{
	padding:5px;
	text-align:left;
	position: relative;
	width: 1020px;
	height: 100%;  /*--forIE--*/
	margin: 0 auto;
}

#leftContainer {
	float:left;
	width:455px;
}

#form{
	width:400px;
	height:355px;
	padding-left:20px;
}

#form label{
	font-family:Verdana, Geneva, sans-serif;
	font-size:.7em;
	font-weight:600;
	margin:0;
}

.labelRow{
	width:400px; 
	height:15px;
}

.inputRow{
	width:400px; 
	height:30px;
	margin-bottom: 5px;	
}

#city, .city {
	width:188px;	
}

#stateSelector, .stateSelector{
	width:65px;	
}

.halfInput{
	width:164px;	
}

.wideInput{
	width:335px;	
}

input,
select {
	height: 24px;
}

#zip , .zip{
	width:70px;	
}

.formHeader {
	float:left;	
	display:inline-block;
	padding-right:8px;
	margin-bottom:6px;
}

#logoText{
	style=float:left; 
	color:#4390e4; 
	font-family:Arial, Helvetica, sans-serif; 
	font-size:2em; 
	padding-top:15px; 
}

#leftContainer h2{
	font-size:1.5em; 
	font-weight:bold;
}

#tagLine, #phoneNumber{
	width: 390px;
	text-align: center;
}

#phoneNumber {
	color:#2b6e98;
}

#tagLine {
	padding-top:10px;	
	font-style:italic;
}

#requestLine {
	font-size:1em; 
	text-align:center; 
	font-weight:500;
	padding-top:10px;
}

#bookTitle {
	float:left; 
	font-size:1.1em; 
	font-weight:lighter; 
	width:300px; 
	text-align:center; 
	padding-left:5px;
	padding-top:10px;
	padding-bottom:10px;
}

#formContainer{
	width: 390px;
	height: 500px;
	background-color:#d9d9d9;
	border: 1px solid #b7b7b7;   /* if needed */
    -webkit-border-radius: 10px;    /* for Safari */
    -moz-border-radius: 10px;       /* for Firefox */
	-moz-box-shadow: 5px 5px 5px #888;
	-webkit-box-shadow: 5px 5px 5px #888;
	box-shadow: 5px 5px 5px #888;
}

#legal {
	padding-top:70px;
	font-size:.6em; 
	color:#4390e4;		
}

#rightContainer {
	float:right;
	width:555px;
	padding-top:40px;
}

#rightContainer h2{
	font-size:1.2em;
	text-align:center;
	font-weight:500;
}

#rightContainer h3 {
	font-size:.9em; 
	text-align:center; 
	font-weight:500;
}

#topHeadline {
	font-size:4em;
	text-align:center; 
	font-weight:500;	
}

#bottomHeadline {
	font-size:2.5em; 
	text-align:center;
	font-weight:500;
	margin-bottom:20px;
}

.slideshow-wrapper {
	display: block;
	margin: auto;
	width: 450px;
	height: 30px;
	padding: 10px 0;
}

#slideshow,
#slideshow0,
#slideshow1,
#slideshow2,
#slideshow3,
#slideshow4 
{
	float: left;
}

#slideshow div,
#slideshow0 div,
#slideshow1 div,
#slideshow2 div,
#slideshow3 div,
#slideshow4 div
{
	width: 150px;
	height: 30px;
}

#slideshow div img,
#slideshow0 div img,
#slideshow1 div img,
#slideshow2 div img,
#slideshow3 div img,
#slideshow4 div img
 {
	display: block;
	margin: auto;
}

/* =============================================================================
   Non-semantic helper classes
   Please define your styles before this section.
   ========================================================================== */

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

label.error{
	display: none !important;
}

input.error{
	border: 2px solid red;
}
