/* --- Base Stylesheet
   Contains CSS reset, basic text styles, etc.
  --- */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, 
ul li.leaf, ul.menu, ul.menu li, .item-list ul, .item-list li, .item-list ul li,
tr.odd, tr.even,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
  outline: none;
  background: none;
	list-style: none;
  list-style-image: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

#content .clearfix:after {
  display: inline;
 }
/* --- Basic text styles --- */

body {
  font-family: Helvetica, arial, "Liberation Sans", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #464646;
}

strong, b { font-weight: bold;}
em, i {font-style: italic;}

a:link, a:visited, li a.active  {
  color: #148bac;
  text-decoration: none;
}

a:hover, a:active, a:focus {
  color: #464646;
  text-decoration: none;
}

#content h1, #content h2, #content h3, #content h4, #content h5, 
#content p, #content ul, #content ol, #content table {
  margin-bottom: 12px;
}

h2, h3, h4, h5 {
  font-weight: bold;
}

#content-container h1, #content-container h2 {
  color: #148bac;
}

#content-container h1,
.page-contact #content-container #content h2 {
  font-size: 24px;
  line-height: 1.1;
  font-weight: normal;
}

#content-container h2 {
  font-size: 16px;
}

#content ul {
  list-style: disc;
  margin-left: 40px;
}

#content .view ul {
  margin: 0;
  list-style: none;
  overflow: auto;
}

#content ol {
  list-style: decimal;
  margin-left: 40px;
}

#content blockquote {
  font-style: italic;
  margin: 0 20px;
}

/* Tables */

#content-container th, td {
  vertical-align: top;
  padding: 4px 6px;
}

#content-container th {
  border-top: 1px solid #148bac;
  border-bottom: 2px solid #148bac;
  color: #148bac;
  font-weight: bold;
}

#content-container td {
  padding: 4px 6px;
  border-bottom: 1px solid #148bac;
}

/* ---- Forms ---- */

.form-required {
  color: #c00;
}

.description {
  clear: left;
}

fieldset {
  margin-bottom: 40px;
}

legend {
  font-size: 20px;
  text-transform: lowercase;
  margin-bottom: 10px;
}

label {
  font-weight: bold;
  width: 150px;
  display: inline-block;
  font-size: 14px;
}

input, select, textarea {
  border: 1px solid #999;
  outline: none;
  padding: 2px 4px;
  display: inline-block;
  background: #fff;
  max-width: 400px;
  margin-bottom: 10px;
}

select {
  padding: 0;
}

.form-type-checkbox {
  margin-left: 150px;
}

.form-type-textarea {
  display: table-row;
}

.form-type-textarea label,
.form-type-textarea .form-textarea-wrapper {
  display: table-cell;
  vertical-align: top;
}
 
.form-textarea-wrapper {
  max-width: 400px;
  display: inline-block;
}

input.form-submit,
input#edit-checkout {
  background: #148bac;
  color: #fff;
  padding: 2px 5px;
  border: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 11px;
  cursor: pointer;
  width: auto;
}

input#edit-checkout {
  background: #bf7828;
  margin-left: 8px;
}

.checkout-buttons
.edit-actions {
  margin-left: 150px;
}

fieldset.checkout-buttons {
  margin-bottom: 0;
}

/* ---- Drupal stuff --- */

.item-list .pager {
  clear: none;
}

div.contextual-links-wrapper {
  z-index: 99;
}

.page-taxonomy .block-views > .contextual-links-wrapper {
  z-index: 102; 
}

