/* -------------------------------------------------------------- 
  
   reset.css
   * Resets default browser CSS.
   
-------------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}
html{
	overflow-y: scroll;
}
body { 
  line-height: 1.5; 
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }
/* -------------------------------------------------------------- 

   typography.css
   * Sets up some sensible default typography.
   
-------------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html { font-size:100.01%; }
body { 
  font-size: 75%;
  color: #222; 
  background:#89A4B1 url('/img/bck.gif') top center no-repeat;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}


/* Headings
-------------------------------------------------------------- */
@font-face {
	font-family: 'Diploma';
	src: url('/fonts/Diploma.eot');
	src:local('/fonts/Diploma'), local('Diploma'), url('/fonts/Diploma.ttf') format('truetype');
}

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }

h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; font-family: "Diploma" }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }
p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #000;outline:none; }
a           { color: #456273; text-decoration: underline;outline:none; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre 				{ margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th 		{ background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

.small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }
/* --------------------------------------------------------------
   grid.css - mirror version of src/grid.css
-------------------------------------------------------------- */

/* A container should group all your columns. */
.container {
  width: 600px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-box-shadow: 0px 3px 10px #333;
  -webkit-box-shadow: 0px 3px 10px #333;
  margin: 3em auto auto auto;
  background: #FFF;
}

/* Use this class on any div.span / container to see the grid. */
.showgrid { 
  /*background: url(grid.png);*/
}


/* Columns
-------------------------------------------------------------- */

/* Sets up basic grid floating and margin. */
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5 {
  float: left;
  margin-right: 5px;
}

/* The last column in a row needs this class. */
.last, div.last { margin-right: 0; }

/* Use these classes to set the width of a column. */
.span-1  { width: 116px; }
.span-2  { width: 237px; }
.span-3  { width: 358px; }
.span-4  { width: 479px; }
.span-5  { width: 600px; margin-right: 0; }

/* Use these classes to set the width of an input. */
input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5 {
  border-left-width: 1px!important;
  border-right-width: 1px!important;
  padding-left: 5px!important;
  padding-right: 5px!important;
}

input.span-1, textarea.span-1 { width: 104px!important; }
input.span-2, textarea.span-2 { width: 225px!important; }
input.span-3, textarea.span-3 { width: 346px!important; }
input.span-4, textarea.span-4 { width: 467px!important; }
input.span-5, textarea.span-5 { width: 588px!important; }

/* Add these to a column to append empty cols. */

.append-1  { padding-right: 121px; } 
.append-2  { padding-right: 242px; } 
.append-3  { padding-right: 363px; } 
.append-4  { padding-right: 484px; } 

/* Add these to a column to prepend empty cols. */

.prepend-1  { padding-left: 121px; } 
.prepend-2  { padding-left: 242px; } 
.prepend-3  { padding-left: 363px; } 
.prepend-4  { padding-left: 484px; } 


/* Border on right hand side of a column. */
div.border {
  padding-right: 1px;
  margin-right: 3px;
  border-right: 1px solid #eee;
}

/* Border with more whitespace, spans one column. */
div.colborder {
  padding-right: 62px;
  margin-right: 63px;
  border-right: 1px solid #eee;
}


/* Use these classes on an element to push it into the 
next column, or to pull it into the previous column.  */

.pull-1 { margin-left: -121px; }
.pull-2 { margin-left: -242px; }
.pull-3 { margin-left: -363px; }
.pull-4 { margin-left: -484px; }
.pull-5 { margin-left: -605px; }

.pull-1, .pull-2, .pull-3, .pull-4, .pull-5 {float: left; position:relative;}

.push-1 { margin: 0 -121px 1.5em 121px; }
.push-2 { margin: 0 -242px 1.5em 242px; }
.push-3 { margin: 0 -363px 1.5em 363px; }
.push-4 { margin: 0 -484px 1.5em 484px; }
.push-5 { margin: 0 -605px 1.5em 605px; }

.push-1, .push-2, .push-3, .push-4, .push-5 {float: right; position:relative;}


/* Misc classes and elements
-------------------------------------------------------------- */

/* In case you need to add a gutter above/below an element */
.prepend-top { 
  margin-top:1.5em; 
}
.append-bottom { 
  margin-bottom:1.5em; 
}

/* Use a .box to create a padded box inside a column.  */ 
.box { 
  padding: 1.5em; 
  margin-bottom: 1.5em; 
  background: #E5ECF9; 
}

/* Use this to create a horizontal ruler across a column. */
hr {
  background: #ddd; 
  color: #ddd;
  clear: both; 
  float: none; 
  width: 100%; 
  height: .1em;
  margin: 0 0 1.45em;
  border: none; 
}
hr.space {
  background: #fff;
  color: #fff;
}


/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clearfix:after, .container:after {
  content: "\0020"; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
  overflow:hidden; 
}
.clearfix, .container {display: block;}

/* Regular clearing
   apply to column that should drop below previous ones. */

.clear { clear:both; }
/* -------------------------------------------------------------- 

   forms.css
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   
   Usage:
   * For text fields, use class .title or .text
   * For inline forms, use .inline (even when using columns)
   
-------------------------------------------------------------- */

label       { font-weight: bold; }
fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }


/* Form fields
-------------------------------------------------------------- */

input[type=text], input[type=password],
input.text, input.title, 
textarea, select { 
  background-color:#fff; 
  border:1px solid #bbb; 
}
input[type=text]:focus, input[type=password]:focus, 
input.text:focus, input.title:focus, 
textarea:focus, select:focus { 
  border-color:#666; 
}

input[type=text], input[type=password],
input.text, input.title,
textarea, select {
  margin:0.5em 0;
}

input.text, 
input.title   { width: 300px; padding:5px; }
input.title   { font-size:1.5em; }
textarea      { width: 390px; height: 250px; padding:5px; }

input[type=checkbox], input[type=radio], 
input.checkbox, input.radio { 
  position:relative; top:.25em; 
}

form.inline { line-height:3; }
form.inline p { margin-bottom:0; }


/* Success, notice and error boxes
-------------------------------------------------------------- */

.error,
.notice, 
.success    { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }

.error      { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.notice     { background: #FFF6BF; color: #514721; border-color: #FFD324; }
.success    { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.error a    { color: #8a1f11; }
.notice a   { color: #514721; }
.success a  { color: #264409; }

#title{
	margin: 1.5em 0 0 0;
	text-indent: 1.5em;
	background: #FFF;
}
#menu{
	background: #89A4B1;
}
#menu ul{
	margin: 1em 1.5em;
}
#menu li{
	display:inline;
}
#menu li a{
	color: #FFF;
	background: #89A4B1;
	padding: 0.8em;
	text-decoration: none;
	font-weight: bold;
}
#menu li a:hover{
	color: #000;
	background: #FFF;
	padding: 0.8em;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#menu li .active, #menu li .active:hover{
	color: #000;
	background: #FFF;
	padding: 0.8em 0.8em 2em 0.8em;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#submenu{
	margin-bottom: 1.5em;
	min-height: 300px;
}
#submenu ul{
	margin: 1em 1.5em;
}
#submenu>ul li{
	display: inline;
}
#submenu>ul li a{
	color: #FFF;
	background: #89A4B1;
	padding: 0.5em 0.8em;
	text-decoration: none;
	-moz-border-radius: 5px;
  	-webkit-border-radius: 5px;
}
#submenu>ul li a:hover{
	color: #FFF;
	background: #89A4B1;
	opacity:.5;
}
#submenu>ul li .selected, #submenu li .selected:hover{
	color: #000;
	background: #FFF;
	opacity:1;
}
#content div p{
	margin: 1em 1.5em;
}
#content div h2{
	color: #456273;
	font-weight:bold;
	font-size:1.5em;
	margin-left:1.3em;
}
#content div p a{
	padding: 0.5em 0.5em;
}
#content div p a:hover{
	color:#456273;
	background: #C4D1D8;
	text-decoration:none;
	-moz-border-radius: 5px;
  	-webkit-border-radius: 5px;
}
#content div p a:visited{
	color: #000;
}
#tab{
	background: #FFF;
	margin-bottom: 1.5em;
}
h1 span{
	font-size: 0.5em;
	line-height: 1;
	margin-bottom: 1em;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}
#footer{
	text-align: center;
	margin-bottom: 1.5em;
	font-size: 0.8em;
}
#content{
	margin:0;
}
#social li{
	display:inline;
}
#social li a{
	opacity:.5;
}
#social li a:hover{
	opacity:1;
}