* { margin: 0; }
html, body { height: 100%; }

.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -142px; /* the bottom margin is the negative value of the footer's height */
}

.footer, .push {
	padding: 10px 0;
	height: 100px; /* .push must be the same height as .footer */
	clear: both; overflow: visible;
}

body { font: 62.5% Helvetica, Arial, sans-serif; text-align: center; }

#header {
	background: #ececec;
	text-align: center;
	overflow: visible;
	float: left;
	width: 100%;
	border-bottom: 1px solid #bbb;
}
#header #masthead { width: 920px; margin: 0 auto; text-align: left; overflow: visible; }
#header h1 { float: left; }
#header h1 a { 
	background: url('/images/logo_clear.png') left 10px no-repeat;
	display: block;
	width: 220px;
	height: 120px;
	text-indent: -3000px;
	overflow: hidden;
}
#header .tagline { float: left; margin: 80px 0 0 20px; font-size: 1.6em; }

h1, h2, h3, h4 { margin: 0; padding: 0;}
h1 {}
h2 { font-size: 2.2em; }
h3 {}
h4 {}

p { font-size: 1.2em; }
a { color: #000; }
a img { border: 0; }

ol li, ul li { font-size: 1.2em }

#container { margin: 0 auto; padding-top: 20px; text-align: left; width: 920px; clear: both; }

.nav { margin: 0; padding: 0; list-style: none; overflow: visible; }
.nav li { float: left; }
.nav li a { margin:0; display: block; text-decoration: none;
			height: 54px; background-repeat: no-repeat; text-indent: -5000px; outline: none; }
.nav li.active a, 
.nav li a:hover { background-position: 0 -54px; }
#nav_about    { background-image: url('/images/ui/about_viralogy.jpg'); width: 204px; }
#nav_target   { background-image: url('/images/ui/target.jpg'); width: 124px; }
#nav_refine   { background-image: url('/images/ui/refine.jpg'); width: 127px; }
#nav_increase { background-image: url('/images/ui/increase.jpg'); width: 138px; }
#nav_measure  { background-image: url('/images/ui/measure.jpg'); width: 142px; }

#about_viralogy {}

#quotes, #quotes_filler {
  overflow: hidden;
  height: 100px;
  padding: 1em 0;
  margin: 1em 0 1.5em 0;
}
#quotes {
  position: absolute;
  width: 100%;
  background: #eee;
  left: 0;
  border-top:1px solid #bbb;
}
  #quotes_inner {
    width: 920px;
    margin: 0 auto;
  }

#container { font-size: 1.2em;}

#content { margin-bottom:20px;}
#content ul li { margin: .5em 0 .75em; }

#content p { line-height: 1.5}

.footer { background-color: #ececec; }
.footer a, .footer span { padding: .25em 1em; margin: 0 1em; }

.flash_notice { margin: 10px 0 20px; padding: 1em; background: #cedfea; border: 1px #bbb solid; border-width: 1px 0; }

.warning { margin: 1.5em 0; padding: .5em 1em; background: #EFC2B3; border: 2px solid #ddd; border-width: 1px 0; }
.shout { font-size: 2.6em; }
.panel { overflow: hidden; margin: 0 0 1em 0; }


.gray_push, .gray_spacer { height: 15px; margin: 15px 0; }
.gray_spacer { background: #ececec; position: absolute; width: 100%; left: 0; }

.panel_image { float: right; margin-left: 50px; border: 1px solid #ccc; background: #eee; }

.contact_button {display: block; width: 200px; height: 50px; background: url('/images/ui/contact_sprite.jpg') 50% top no-repeat; text-indent: -2000px;}
.contact_button:hover {background-position: 50% -51px;}

.form_actions { clear: both; overflow: hidden; padding: 1em .5em }

.wide_wrapper {
	position: relative;
	width: 100%;
	overflow: visible;
}

.horizontal {
	margin-top: 30px;
	text-align: left;
	overflow: visible;
}

.column_33 {
	padding: 1%;
	float: left;
	width: 30%;
}

#contact_form { }
#contact_form label, #contact_form input[type=text] {
  display: block;
  float: left;
}
#contact_form label {
	width: 30%;
	text-align: right;
	font-size: 1em;
	padding: .25em 0;
	margin-bottom: .5em;
	margin-right: 2%;
	clear: left;
}
#contact_form input[type=text] { width: 40%; height: 1.5em; margin-bottom: .5em;}
#contact_form .form_actions { text-align: right;}
#contact_form .form_actions input { margin-right: 27%;}

.loopedslider .image { width: 380px; height: 260px; margin-left: 15px; float: right; background: #cedfea;}

.bubble_box {margin: 3em auto; width: 600px;
  -moz-border-radius: 6px; border: 1px solid #0066D2;
  -webkit-border-radius: 6px; border: 1px solid #0066D2;
  position: relative; z-index: 100; background: #fff; }
.bubble_tabs { height: 2.5em; position: absolute; top: -2.5em; margin-left: 15px; overflow: hidden; }
.bubble_tabs a {
  display: block;
  float: left;
  margin-right: 10px;
  font-size: 1.2em;
  padding: .4em 1em;
  background: #0066D2;
  color: #fff;
  border: 1px solid #0066D2;
  border-width: 1px 1px 0 1px;
  text-decoration: none;
  -moz-border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  font-weight: bold;
}
.bubble_tabs a.active {
  background: #fff;
  color: #000;
}
.bubble_header { padding: 1em}
.bubble_header h2 { color: #FF5600;}


/* FORMS */
input.valid { border: 2px solid green;}
input.invalid { border: 2px solid red;}

/* SLIDER */
.slides_container {width: 920px; height: 400px; overflow: hidden; position: relative; }
.slides { position: absolute; top: 0; left: 0; }
.slides div { position: absolute; top: 0; left: 0; width: 920px; display: none; }

.slider_controls { overflow: hidden; 
	margin-left: 420px;
}

.previous, .next { 
	text-decoration: none; 
	background: url('/images/ui/arrows_buttons.png') left top no-repeat; 
	overflow: hidden; 
	text-indent: -2000px;
	width: 35px; height: 35px;
	display: block;
	float: left;
}

.previous:hover { background-position: 0 -35px; }

.next { background-position: -35px 0; }
.next:hover { background-position: -35px -35px; }

/* Team */

.panel_tabs {
	background: #eee;
	margin: 1em 0 1.5em 0;
	padding: 1em .5em;
}

.panel_tabs a {
	margin-right: .5em;
	padding: .25em .5em;
	font-size: 1.5em;
	text-decoration: none;
	text-shadow: 1px 1px 1px #ddd;
	outline: none;
}

.panel_tabs a.active {
	background: #fff;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #eee;
	border-right: 1px solid #eee;
	font-weight: bold;
}

.person {
	margin: 0;
	padding: 10px;
	/*
	height: 20em
	*/
}
.person .head { font-size: 2em; font-weight: normal; }
.person .head small { font-size: .5em; font-weight: normal; }
.person .head .social_icons { float: right; }

#the_team {
	overflow: hidden;
}

#the_team .person {
	float: left;
	width: 440px;
}

#advisors .person {
}

#advisors .person .head small {
	display: block;
}

/* FIXES */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

