﻿/*-----------------------------------------------------------------------------
Road User Study Stylesheet

version:   2.0
author:    Cole Grolmus
email:     cole-grolmus@uiowa.edu
website:   http://www.roaduserstudy.org
-----------------------------------------------------------------------------*/

/* =General
-----------------------------------------------------------------------------*/


/* Remove padding and margin */
* {
  margin: 0;
	padding: 0;
}

/* Put it back on certain elements */
h2, h3, h4, h5, h6, p, pre, blockquote, form, fieldset, table, ul {
  margin: 1em 0;
}

/* Class for clearing floats */
.clear {
	clear:both;
}

/* Remove border around linked images */
img {
	border: 0;
}

/* =Page Structure
-----------------------------------------------------------------------------*/

/* Dimensions */

body {
  text-align: center; 
  min-width: 800px;
}

#wrapper {
  width: 760px; 
  background-color: #fff;
  margin: 0 auto;
  text-align: left; 
}

#branding {
  height: 86px;
  padding: 0px;
}

#contentWrapper {
  width: 758px;
  margin: 0 auto; 
  text-align: left; 
  border-left: 1px solid lightgrey;
  border-right: 1px solid lightgrey;
  clear: both;
}

.warning { 
  width: 533px; 
  float: right; 
} 

#mainNav { 
  width: 180px; 
  float: left; 
} 

#content { 
  width: 560px;
  float: right; 
}

#footer { 
  clear: both; 
} 

.clear { 
  clear: both; 
} 

/* Padding */

.warning { 
  margin-top: 10px;
  margin-right: 10px;
} 

#mainNav {
  padding-top: 10px;
  padding-bottom: 20px;
}

#mainNav * {
  padding-left: 20px;
  padding-right: 20px;
}

#mainNav * * {
  padding-left: 0;
  padding-right: 0;
}

#content {
  padding-top: 10px;
  padding-bottom: 10px;
}

#content * {
  padding-right: 10px;
}

#content * * {
  padding-right: 0;
}

/* =Typography
-----------------------------------------------------------------------------*/

body 
{
    font-family: Arial, Helvetica, sans-serif;
    color: black;
	font-size: 10pt;
    background-color: #ffffff;
}

.warning { 
    text-align: center;
} 

/* =Headings
-----------------------------------------------------------------------------*/

h1 {
    font-weight: bold;
    font-size: 14pt;
    color: #84b745;
}

h2 {
    font-weight: bold;
    font-size: 14pt;
    text-decoration: underline;
    color: #000000;
}

ul {
    text-indent: 0px;
    list-style-type: square;
    list-style-position: outside;
    padding-left: 20px;
    margin: 2px;
}

p, li {
  margin-bottom: 12px;
}

h1, h2, p {
  margin: 0px 0px 10px 0px;
}


/* =Links
-----------------------------------------------------------------------------*/

a:link
{
    color: #84b745;
    text-decoration: underline;
}

a:active
{
    color: #84b745;
    text-decoration: underline;
}

a:hover
{
    color: #84b745;
    text-decoration: underline;
}

a:visited
{
	color: #84b745;
    text-decoration: underline;
}


/* =Branding
-----------------------------------------------------------------------------*/
#branding h1 {
  margin: 0;
}

#branding {
  background: #231f20 url(images/logo.jpg) no-repeat;
}


/* =Main Nav
-----------------------------------------------------------------------------*/
#mainNav {
  list-style: none;
  background-color: #ffffff;
}

#mainNav ul {
  margin: 0px 0px 0px 0px;
  padding: 0px;
  list-style-type: none;
}

#mainNav ul a {
  display: block;
  width: 180px;
  height: 20px;
  line-height: 20px;
  color: #000000;
  text-decoration: none;
  text-indent: 10px;
  background: #ffffff;
  border-bottom: lightgrey 1px dotted;
}

#mainNav a:hover, .selected a {
  background: #84b745;
}

#mainNav li {
  display: inline: /* :KLUDGE: Removes large gaps in IE/Win */
}

p, li {
  margin: 0px;
}


/* =Sub Nav
-----------------------------------------------------------------------------*/




/* =Main Content
-----------------------------------------------------------------------------*/

#content { 
  border-right: #lightgrey 1px solid; 
}


/* =Secondary Content
-----------------------------------------------------------------------------*/



/* =Footer
-----------------------------------------------------------------------------*/
#footer {
  border-top: #84b745 1px solid;
  padding: 1px 0px;
  text-align: center;
  font-size: 8pt;
}


/* =Forms
-----------------------------------------------------------------------------*/

/* Removes fieldset borders. even on Opea 7 */
fieldset {
  border: 1px solid transparent;
}


/* =Tables
-----------------------------------------------------------------------------*/

table { 
  border-spacing: 0;
	border-collapse: collapse;
}

td {
  text-align: left;
	font-weight: normal;
}


/* =Misc 
-----------------------------------------------------------------------------*/

/* Notifications - "Take the Participant Recruitment Survey" text  */

.notifications
{
    font-weight: bold;
    font-size: 14pt;
    color: #84b745;
    font-family: Arial;
    text-decoration: none;
}

a.notifications:link
{
    color: #84b745;
    text-decoration: none;
}

a.notifications:hover
{
    color: #84b745;
    text-decoration: none;
}

a.notifications:active
{
    color: #84b745;
    text-decoration: none;
}

a.notifications:visited
{
    color: #84b745;
    text-decoration: none;
}

/* Warning Box */

.warning
{
    border: solid 3px red;
    padding: 5px;
    font-weight: bold;
    font-size: 13pt;
    color: red;
    font-family: Arial;
}

/* banner Box */

.banner
{
	text-align:center;
    border: solid 3px #84b745;
    padding: 5px;
    font-weight: bold;
    font-size: 13pt;
    color: #00802B;
    font-family: Arial;
}
