/* 
    Document   : application
    Created on : Feb 20, 2009, 10:36:40 AM
    Author     : brian
    Description:
        Styles for main layout
*/

body {
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
  font-size: 14px;
  line-height: 1.4em;
  color: #666;
  background: #3f8fef url("../images/fondo2.jpg") repeat-x 0% 100%;
  background-attachment: fixed;
  margin-bottom: 2em;
}

a {
  color: #67a;
}

a img {
  border: none;
}

h1, h2, h3 {
  margin: 0 0 1em;
  color: #333;
}

h2, h3 {
  margin-bottom: 0.5em;
}

h1 a, h2 a, h3 a {
  text-decoration: none;
  color: #333;
}

h1 {
  font-size: 135%;
}

h2 {
  font-size: 125%;
}

h3 {
  font-size: 115%;
}

p {
  margin: 0.50em 0 1em;
}

#container {
  background-color: white;
  width: 911px;
  margin: 0 auto;
}

#header {
  background: none;
  position: relative;
  margin-bottom: 15px;
  width: 911px;
  height: 180px;
}

#logo {
  position: absolute;
  top: 15px;
  left: 20px;
}

#slogan {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-weight: normal;
  font-size: 150%
}

#select_language {
  position: absolute; top: 45px; right: 20px;
  background: url("../images/down_arrow_black.png") no-repeat 100% 50%;
  line-height: 1.4em;
  padding-right: 15px;
  z-index: 20;
  cursor: pointer;
  font-size: 90%;
  font-family: sans-serif;
}

#select_language div.selector {
  font-weight: bold;
  color: #484848;
}

#select_language div.options {
  position: absolute;
  top: 1.4em;
  right: 0;
  text-align: right;
  color: #ddd;
  line-height: 1.4em;
  width: 100%;
  cursor: default;
  background-color: #fafafa;
}

#select_language div.options a {
  text-decoration: none;
  color: #666;
}

#select_language div.options a:hover {
  text-decoration: underline;
}

#select_language div.options ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style-position: outside;
  background: url("../images/menu_rule.png") no-repeat 50% 0%;
}

#select_language div.options ul li {
  padding: 4px 8px;
  text-align: center;
  background: url("../images/menu_rule.png") no-repeat 50% 100%;
}

#quote {
  margin-top: 5px;
  font-size: 90%;
  font-style: italic;
  line-height: 1.3em;
  height: 7em;
  overflow: visible;
}

#quote div.author {
  margin: 3px;
  font-style: normal;
}

#quote div.text {
  margin: 0px;
}


/* Breadcrumbs */
#breadcrumbs {
  font-size: 80%;
  margin-bottom: 1.5em;
}

#breadcrumbs a {
  color: #808080;
  text-decoration: none;
}

#breadcrumbs ul {
  margin: 0 20px;
  padding: 0;
  text-indent: 0;
}

#breadcrumbs li {
  float: left;
  padding: 0 10px 0 12px;
  color: #aaa;
  list-style-type: none;
  background: url("../images/breadcrumb_spacer.png") no-repeat 0% 50%;
}

#breadcrumbs li.first {
  padding-left: 0;
  background: none;
}

/* Faux columns */
#faux_columns {
  position: relative;
  float: left; /* Must be floated or height will be zero for some reason */
  clear: left;
  background-repeat: repeat-y;
  background-position: 0 0;
}

#content_footer_transition {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 911px;
  height: 50px;
  background: url("../images/transparent_to_white_vertical.png") repeat-x;
}

#container div.faux_zero_right_margin {
  background-image: url("../images/faux_margins_225_0.png");
  background-repeat: repeat-y;
}

#container div.faux_small_right_margin {
  background-image: url("../images/faux_margins_225_75.png");
  background-repeat: repeat-y;
}

#container div.faux_medium_right_margin {
  background-image: url("../images/faux_margins_225_150.png");
  background-repeat: repeat-y;
}

#container div.faux_large_right_margin {
  background-image: url("../images/faux_margins_225_250.png");
  background-repeat: repeat-y;
}

/* Left margin */
#left_margin {
  float: left;
  clear: left;
  width: 225px;
}

#faux_columns div.zero_right_margin {
  width: 0px;
}

#faux_columns div.small_right_margin {
  width: 75px;
}

#faux_columns  div.medium_right_margin {
  width: 150px;
}

#faux_columns div.medium_right_margin h3 {
  margin-bottom: 1.5em;
  font-size: 90%;
  text-align: center;
}

#faux_columns div.large_right_margin {
  width: 250px;
}


/* Content */

/* Stuff in margin */
div.margin_container {
  font-size: 95%;
}

div.margin_container h3 {
  font-size: 105%;
}

/* Right margin */
#right_margin {
  float: right;
  clear: right;
  width: auto;
  line-height: 1.2em;
}

#right_margin div.margin_container {
  margin: 0 20px;
}

#right_margin p {
  margin: 0.5em 85px 0 0;
}

#right_margin div.rounded_box_t {
  margin-bottom: 30px;
}

#right_margin div.rounded_box {
  position: relative;
  line-height: 1.4em;
}

#right_margin div.rounded_box h3 {
  font-size: 105%;
  margin-bottom: 0;
  text-align: left;
}

#right_margin div.rounded_box div.image {
  position: absolute;
  bottom: -6px;
  right: -6px;
}

#right_margin div.rounded_box a {
  text-decoration: none;
}

#right_margin div.rounded_box h3 a {
  color: #593;
}

#right_margin div.rounded_box p a {
  color: #333;
}

#right_margin div.link_to_document {
  text-align: center;
}

#right_margin div.link_to_document img {
  margin-bottom: 0.5em;
  border: 1px solid #999;
}

#right_margin div.link_to_document div.caption {
  font-size: 90%;
}

#right_margin div.link_to_document div.caption a {
  color: #444;
}

#content {
  float: left;
  width: 686px;
  xmargin-top: -0.8em;
  margin-bottom: 3em;
}

#main_content {
  margin-left: 20px;
}

#content div.content_with_zero_right_margin {
  background-image: none;
  margin-right: 20px;
}

#content div.content_with_small_right_margin {
  background-image: none;
  margin-right: 95px;
}

#content  div.content_with_medium_right_margin {
  background-image: none;
  margin-right: 170px;
}

#content div.content_with_large_right_margin {
  background-image: none;
  margin-right: 270px;
}

/* Section navigation */
#section_navigation {
  font-size: 90%;
  /*
  border: 2px solid #fcfcfc;
  margin: 0 -22px 20px;
  */
  margin: 0 0 2em;
  width: 100%
}
#section_navigation a {
  color: #666;
  font-size: 95%;
  font-weight: bold;
  text-decoration: none;
}
#section_navigation h2 {
  color: #404040;
  font-size: 100%;
  font-weight: bold;
  margin: 0;
}
#section_navigation a, #section_navigation h2 {
}

#section_navigation ul {
  margin: 0;
  padding: 0;
  text-indent: 0;
  width: 100%;
  /*background-color: #e6e6e6;*/
  height: 40px;
}

#section_navigation li {
  float: left;
  list-style-type: none;
  color: #aaa;
  background: url("../images/vertical_spacer.png") no-repeat 0% 50%;
  text-align: center;
  line-height: 1.3em;
}

#section_navigation li.first {
  margin-left: 0;
  background: none;
}

#section_navigation li div {
  padding: 3px 7px;
  margin: 0 5px 0 7px;
  height: 34px;
}

#section_navigation li.first div {
}

#section_navigation li.active div {
  background-color: #ddd;
}

/* Set left and right margins the same for all elements in left margin */
#site_navigation, #links {
  margin-right: 20px;
  margin-left: 20px;
}

/* Site navigation */
#site_navigation {
  position: relative;
  margin-top: 0em;
  margin-bottom: 36px;
  padding: 0;
  font-size: 100%;
  border: 2px solid #ddd;
}

#site_navigation div.top_shade {
  position: absolute;
  top: -13px;
  left: -2px;
  width: 100%;
  height: 11px;
  background: #fff url("../images/menu_shade.png") no-repeat 0% 0%;
}

#site_navigation div.bottom_shade {
  position: absolute;
  bottom: -13px;
  right: -2px;
  width: 100%;
  height: 11px;
  background: #fff url("../images/menu_shade.png") no-repeat 100% 100%;
}

#site_navigation a {
  color: #666;
  text-decoration: none;
}

#site_navigation ul {
  margin: 20px 0;
  padding: 1px 0; /* needed to correct spacing for top horizontal rule (value
                      should be equal to width of horizontal rule image) */
  background: #fff url("../images/menu_rule.png") no-repeat 50% 0%;
  z-index: 100;
}

#site_navigation li {
  position: relative;
  list-style-type: none;
  text-align: center;
  background: url("../images/menu_rule.png") no-repeat 50% 100%;
}

#site_navigation li div {
  padding: 5px 0 6px;
}

#site_navigation li div div {
  padding: 0;
}

#site_navigation li li {
}

#site_navigation li li div {
  padding: 4px 0 5px;
}

#site_navigation li li div div {
  padding: 0;
}

#site_navigation li.active div div {
  background: url("../images/menu_highlight.png") no-repeat 50% 50%;
}

#site_navigation li.active li {
  background: url("../images/menu_rule.png") no-repeat 50% 100%;
}

#site_navigation li.active li div div {
  background: none;
}

#site_navigation li.active li.active div div {
  background: url("../images/menu_highlight.png") no-repeat 50% 50%;
}

#site_navigation li ul {
  display: none;
  position: absolute;
  left: 150px;
  top: -21px;
  top: -15px;
  font-size: 85%;
  width: 165px;
  background: url("../images/menu_rule.png") no-repeat 50% 0%;
  background-color: #fff;
  border-right: 2px solid #f0f0f0;
  border-left: 2px solid #f0f0f0;
  border-top: 0;
  border-bottom: 0;
  padding: 0;
  z-index: 200;
}

#site_navigation li:hover ul {
  display: block;
}


/* Links */
#links {
  border: 2px solid #ddd;
  padding: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
}

#links a {
  color: #666;
  text-decoration: none;
}

#links ul {
  margin: 0;
  padding: 0;
  list-style-position: inside;
  z-index: 100;
}

#links li {
  list-style-type: none;
  text-align: left;
  line-height: 1.3em;
  margin-bottom: 0.6em;
}


/* Inquiries */
#contact_form {
  border: 2px solid #d0d0d0;
  background-color: #e0e0e0;
}

#contact_form h2, #contact_form div {
  margin: 1.5em;
}


#factoids {
  clear: both;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  color: #666;
  margin-top: 15px;
  font-size: 90%;
}

#factoids table {
}

#factoids td {
  border: 0;
  padding: 4px 12px;
}

#factoids td.title {
  background-color: #e0e0e0;
  font-weight: bold;
  white-space: nowrap;
}

#footer {
  float: left;
  clear: left;
  position: relative;
  height: 82px;
  background: none;
  color: #fff;
  width: 911px;
  font-size: 90%;
  line-height: 1.4em;
}

#footer div.innerds {
  margin: 0 1.5em;
  padding: 15px 0px;
  text-align: center;
}

#footer div.copyright {
}

#footer div.company_info {
}

#footer div.login {
  position: absolute;
  bottom: 1em;
  right: 15px;
}

#footer div.login a {
  color: #4444bb;
}

/* General content */
div.left, div.top_left {
  float: left;
}

div.left {
  margin: 1em 1.5em 1em 0;
}

div.top_left {
  margin: 0 1.5em 1em 0;
}

div.right, div.top_right {
  float: right;
}

div.right {
  margin: 1em 0 1em 1.5em;
}

div.top_right {
  margin: 0 0 1em 1.5em;
}


/* Forms */
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	font-size: 100%;
	width: 99%;
}
div.fieldset {
  background-color: #ddd;
  margin-bottom: 1.5em;
  padding: 17px 25px;
}
div.row {
  position: relative;
	clear: both;
	margin-bottom: 0.5em;
	padding: 0.5em 0;
	vertical-align: text-top;
}
div.required:before {
/* This seems to cause a line break in FireFox (Windows only)
  content: '*';
  color: red;
  float: left;
  clear: none;
  padding-right: 5px;
*/
  content: '*';
  position: absolute;
  top: 5px;
  left: -9px;
  color: red;
}
label {
	display: block;
	/* white-space: nowrap; */ /* fixes radio buttons' labels from wrapping */
	color: #444;
}
input, textarea {
	clear: both;
	display: block;
	font-size: 130%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
	width: 98%;
}
input[type=hidden] {
  display: none;
}
select {
	clear: both;
	font-size: 130%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 130%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=submit] {
	display: block;
	font-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
	margin: 0 auto 30px;
}
input[type=radio] {
  display: block;
	clear: left;
	float: left;
	width: 13px;
	margin-right: 5px;
}
div.inline_form_element {
  float: left;
  clear: none;
  margin: 0 20px 0 0;
}
div.radio_buttons {
  /* Is this necessary?
  width: 100%;
  */
}
div.radio_buttons div {
  float: left;
  clear: none;
  margin: 0 30px 0 2px;
  /* Is this necessary?
  width: auto;
  */
}
div.radio_buttons label {
	white-space: nowrap; /* fixes radio buttons' labels from wrapping */
	padding-top: 2px;
}
/* Side-by-side fields */
form .inline_field {
  float: none;
  width: auto;
  display: inline;
}
div.explanation {
  font-size: 90%;
}

/* Flash messages */
#flash_notice, #flash_error {
  padding: 5px 8px;
  margin: 10px 0;
}

#flash_notice {
  background-color: #CFC;
  border: solid 1px #6C6;
}

#flash_error {
  background-color: #FCC;
  border: solid 1px #C66;
}

.fieldWithErrors {
  display: inline;
}

#errorExplanation {
  width: 400px;
  border: 2px solid #CF0000;
  padding: 0px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 90%;
  margin: 0;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 8px;
}

#errorExplanation ul {
  margin: 2px 24px;
}

#errorExplanation ul li {
  font-size: 90%;
  list-style: disc;
}


/* Hacks */

/* Fix for clearing elements */
/* NOTE: Use this if you need child elements to float on top of subsequent elements on page
 * Automatically sticks an invisible '.' after the element so that floats
 * don't protrude below their containing elements
 */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
