/*
Theme Name: Jesters
Theme URI: http://www.courtjesters.co.nz/
Description: The Court Jesters
Version: 0.1
Author: Matt Powell
Author URI: http://robo.tk/
Tags: red
*/

body {
  background: white;
  color: #333;
}

body, td, input, textarea, select {
  font-family: Helvetica, Arial, sans-serif;
}

a {
  color: #ed1c24;
  text-decoration: none;
  border-bottom: 1px solid #f68e92;
}

a:hover {
  color: #ed1c24;
  border-bottom-color: #ed1c24;
}

p {
  margin: 0px 0px 2ex;
  padding: 0px;
}

h2 {
  margin: 0px 0px 0.5ex;
  padding: 0px;
  font-size: 250%;
  font-weight: bold;
  color: #666;
  text-transform: lowercase;
  letter-spacing: -0.1em;
}

h3 {
  margin: 0px 0px 0.5ex;
  padding: 0px;
  font-size: 200%;
  font-weight: bold;
  color: #666;
  text-transform: lowercase;
  letter-spacing: -0.1em;
}

h2 strong, h3 strong {
  color: black;
}

h4 {
  color: #333;
  font-weight: bold;
  font-size: 100%;
  margin: 0px;
}

.cleaner {
  clear: both;
  height: 0px;
  overflow: hidden;
}

.highlight {
  margin: 0px 0px 2ex -8px;
  padding: 8px;
  background: #ffc;
}

#main ul {
  margin: 0px 0px 2ex;
}

#main ul li {
  display: block;
  list-style: none;
  margin: 0px 0px 1ex;
  padding: 0px 0px 0px 20px;
  background: url(/theme/images/bullet.png) no-repeat 4px 5px;
}

#main cite,
#facebox cite {
  text-transform: uppercase;
}

/*.container { background: url(/theme/blueprint/blueprint.png); }*/

/* Homepage {{{ */

#home #header {
  height: 128px;
  position: relative;
  background: none;
  z-index: 100;
}

#header #logo {
  position: absolute;
  left: 0px;
  top: 16px;
  width: 208px;
  height: 144px;
  background: url(images/home-logo.png) no-repeat 0px 0px;
  text-decoration: none;
  outline: none;
  text-indent: -1000em;
  overflow: hidden;
  border: none;
}

#home #header #logo {
  top: 24px;
  z-index: 100;
}

#home #header blockquote.testimonial {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 640px;
}

#home #navigator {
  background: #ed1c24;
  margin-bottom: 16px;
  line-height: normal;
  position: relative;
  z-index: 50;
}

#home #navigator #splash-photo div {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 312px;
  height: 300px;
  background: url(images/splash-events.png) no-repeat 0px 100%;
  z-index: 50;
}

#home #navigator ul {
  margin: 0px 0px 0px -8px;
  padding: 0px;
  position: relative;
  width: 640px;
}

#home #navigator ul li {
  clear: left;
  display: block;
  list-style: none;
  margin: 0px -8px 0px 0px;
  padding: 0.25em 0px;
  background: white;
  position: relative;
  border-right: 8px solid white;
}

#home #navigator ul li img {
  visibility: hidden;
  position: absolute;
  left: -1000px;
  top: -1000px;
}

#home #navigator ul li li {
  background: none;
  padding: 0px;
  margin: 0px;
  border: none;
}

#home #navigator ul ul {
  margin: 0px;
  padding: 0px;
}

#home #navigator ul li.active {
  background: #ed1c24;
  color: white;
}

#home #navigator a.primary-link,
#home #navigator .secondary-links a,
#home #navigator a.more {
  text-decoration: none;
  border: none;
  text-transform: uppercase;
  letter-spacing: -0.1em;
}

#home #navigator a.primary-link:hover,
#home #navigator .secondary-links a:hover {
  color: white;
}

#home #navigator a.primary-link {
  float: left;
  position: relative;
  line-height: 1em;
  font-size: 300%;
  font-weight: bold;
  color: #999;
  padding: 0px 0px 0px 8px;
  outline: none;
}

#home #navigator a.primary-link:hover {
  color: #ed1c24;
}

#home #navigator .active a.primary-link {
  color: white;
  padding-right: 16px;
}

#home #navigator .secondary-links {
  position: relative;
  float: left;
  width: 20em;
  line-height: 1.0;
  font-size: 85%;
  padding: 0.5ex 0px 0.5ex 6px;
  border-left: 1px solid white;
  border-bottom: none;
  display: none;
}

#home #navigator .active .secondary-links {
  display: block;
}

#home #navigator .secondary-links a {
/*  color: #f68e92;*/
  color: white;
  padding: 0px 6px;
  cursor: pointer;
}

#home #navigator .secondary-links a:hover {
  background: white;
  color: #ed1c24;
}

#home #navigator .details {
  clear: left;
  padding: 0px;
}

#home #navigator .details p {
  margin: 0px 8px;
  color: white;
  position: relative;
  width: 616px;
  line-height: 1.5;
}

#home #navigator .details a {
  color: white;
  border: none;
}

#home #navigator .active .details a {
  border-bottom: 1px solid #f68e92;
}

#home #navigator .active .details a:hover {
  color: white;
  border-bottom: 1px solid white;
}

#home #navigator .more {
  color: white;
}

#home #navigator .active .details a.more {
  color: #f68e92;
  border: none;
}

#home #navigator .active .details a.more:hover {
  color: white;
}

/* What's On {{{ */

#home #whats-on {
  background: #333 url(images/whats-on.png) no-repeat 0px 0px;
  color: white;
  position: relative;
}

#home #whats-on h2 {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 300%;
  line-height: 0.6;
  text-indent: 8px;
  letter-spacing: -0.1em;
}

#home #whats-on h2,
#home #whats-on h3 {
  clear: left;
}

#whats-on .posts {
  margin: 0px;
  padding: 8px 0px;
}

#whats-on .posts li {
  display: block;
  list-style: none;
  margin: 0px;
  padding: 0px;
}

#whats-on .posts .player {
  float: left;
  margin: 0px 8px 8px 0px;
  width: 76px;
  position: relative;
}

#whats-on .posts .player a {
  border: none;
}

#whats-on .posts .player img {
  width: 76px;
  height: 96px;
  display: block;
}

#whats-on .posts .player .name {
  display: block;
  color: white;
  text-align: center;
}

#whats-on .posts .player .name .role {
  color: #ed1c24;
  font-weight: normal;
  font-size: 75%;
  background: black;
  position: absolute;
  left: 0px;
  top: 96px;
  width: 76px;
  opacity: 0.85;
  line-height: 1.5em;
  height: 1.5em;
  margin-top: -1.5em;
}

#whats-on .posts h3 {
  font-size: 150%;
}

/*}}}*/

/* }}} */

/* Section pages {{{ */

#header {
  position: relative;
  background: #ed1c24 url(images/section-header.png) no-repeat 100% 0px;
}

#main-inner {
  padding: 8px 0px 0px 0px;
}

/* Navigation {{{ */

.navigation {
  font-size: 90%;
}

.primary {
  font-size: 100%;
  height: 120px;
  margin-left: 312px;
  position: relative;
}

.secondary {
  height: 1.2em;
  margin-top: 0.5em;
  margin-left: 312px;
}

.navigation ul {
  height: 2em;
  margin: 0px;
  padding: 0px;
}

.primary ul {
  position: absolute;
  left: 0px;
  bottom: 0px;
}

.navigation li {
  display: inline;
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.navigation li a {
  float: left;
  line-height: 2em;
  height: 2em;
  vertical-align: middle;
  color: #999;
  border: none;
  padding: 0px 8px;
  text-transform: uppercase;
  letter-spacing: -0.1em;
}

.navigation li a:hover { color: #ed1c24; }
                    
.navigation li.current_page_item a,
.navigation li.current_page_ancestor a {
  background: #ed1c24;
  color: white;
  font-weight: bold;
}

.secondary li a,
.secondary li.current_page_ancestor a {
  color: #f68e92;
  border-left: 1px solid #f68e92;
  height: 1.3em;
  line-height: 1.3em;
  font-size: 90%;
}

.secondary li.first a { border: none; }
.secondary li a:hover { color: white; }
.secondary li.current_page_item a,
.secondary li.current_page_parent a { color: white; background: none; }

.tertiary {
  height: 2.5em;
  margin-top: 0.5em;
}

#main .tertiary li {
  padding: 0px;
}

.tertiary li a {
  height: 1.3em;
  line-height: 1.3em;
  border-left: 1px solid #999;
}

.tertiary li.first a { border: none; padding-left: 0px; }
.tertiary li.current_page_item a,
.tertiary li.current_page_parent a { color: #ed1c24; background: none; }

/* }}} */

/* Header {{{ */

#header h1 {
  clear: left;
  margin: 0px 0px 8px 320px;
  padding: 0px;
  font-size: 300%;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -0.1em;
}

#sub-header {
  background: #ccc;
}

#sub-header #testimonial {
  margin: 8px 0px;
  border-right: 1px solid #999;
}

#sub-header blockquote.testimonial {
  padding: 0px 16px;
}

#sub-header #intro p {
  line-height: 2.0;
  padding: 0.5em 8px;
  margin: 0px;
}
/* }}} */

/* Sidebar {{{ */

.page {
  background: url(images/sidebar-border.png) repeat-y 0px 0px;
}

#sidebar-inner {
  padding: 8px 16px 8px 8px;
}

.pull-out {
  text-align: right;
}

.pull-out img {
  display: block;
  margin: 0px 16px 0px auto;
}

#sidebar img.size-full {
  display: block;
  text-align: right;
  margin: 0px 0px 8px auto;
}

/* }}} */

/* }}} */

/* Testimonials {{{ */

blockquote.testimonial {
  text-align: right;
  color: #666;
  margin: 0px;
  padding: 0px;
}

blockquote.testimonial p {
  font: 125% Baskerville, Georgia, serif;
  font-style: italic;
  margin: 0px 0px 0.5ex;
}

q { font: 125% Baskerville, Georgia, serif; }

blockquote.testimonial strong {
  color: #333;
  font-size: 125%;
}

blockquote.testimonial cite,
blockquote.testimonial a {
  display: block;
  font-size: 85%;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -0.1em;
  color: #999;
}

blockquote.testimonial a {
  border: none;
  color: #ed1c24;
  text-decoration: underline;
}

#testimonials ul {
  margin: 0px;
  padding: 1ex 0px 0px;
}

#testimonials ul li {
  display: block;
  list-style: none;
  margin: 0px 0px 2ex;
  padding: 0px;
  background: none;
}

#testimonials blockquote.testimonial {
  text-align: left;
}

#testimonials blockquote.testimonial a.more { display: none; }

/* }}} */

/* About Us {{{ */

#headshots {
  
}

#headshots .user {
  margin-bottom: 8px;
}

#headshots .user img {
  display: block;
}

#headshots .user a {
  border: none;
}

#headshots .user .name,
#headshots .user .kind {
  font-weight: bold;
  color: white;
  background: black;
  display: block;
  text-align: center;
  border-top: 1px solid white;
  line-height: normal;
  padding: 0.5ex 0px 0px;
}

#headshots .user .kind {
  font-weight: normal;
  font-size: 90%;
  border-top: none;
  padding: 0px 0px 0.5ex;
}

.bio {
  width: 512px;
}

.bio .description {
  padding: 0px 8px;
}

.bio img.full-length {
  float: right;
  margin-left: 16px;
}

.bio h1 {
  background: #999;
  vertical-align: bottom;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  letter-spacing: -0.1em;
  padding-left: 8px;
  margin-bottom: 8px;
}

.bio p {
  margin-right: 216px;
}

/* }}} */

/* Footer {{{ */

#footer {
  background: white;
  color: #999;
  padding-top: 4ex;
  padding-bottom: 6ex;
  font-family: Baskerville, Georgia, serif;
  font-style: italic;
  line-height: normal;
}

#footer a.robotk {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  color: #8cc63f;
  letter-spacing: -0.1em;
  font-style: normal;
  border: none;
}

#footer-right {
  position: relative;
}

/* }}} */

/* Contact Form {{{ */

.form {
  background: #ccc;
  padding: 16px 0px;
  margin: -16px 0px 0px;
}

.form .field {
  padding: 0px 0px 1ex;
}

.form .buttons {
  padding-bottom: 0px;
}

.form label {
  margin-left: 16px;
  text-transform: uppercase;
  letter-spacing: -0.1em;
  color: #999;
}

.form input.text,
.form textarea {
  margin-left: 16px;
  font-size: 125%;
  border: none;
  background: #f2f2f2;
  display: block;
}

.form .required input,
.form .required textarea {
  margin-left: 12px;
  border-left: 4px solid #ed1c24;
}

.form input.text:focus,
.form textarea:focus {
  background: white;
}

.form .span-16 .text,
.form .span-16 textarea {
  width: 600px;
}

.form .span-8 .text {
  width: 280px;
}

.form .button {
  font-size: 200%;
  color: white;
  background: #ed1c24;
  border: none;
  height: 1.8em;
  line-height: 1.8em;
  vertical-align: middle;
  text-transform: lowercase;
  letter-spacing: -0.1em;
  font-weight: bold;
  padding: 0px 1em;
  display: block;
  margin-left: 16px;
}

.form .field,
.form .buttons {
  position: relative;
}

.form .field br {
  display: none;
}

.form .buttons img {
  position: absolute;
  right: 16px;
  bottom: 0px;
}

#main .wpcf7-form-control-wrap {
  position: static !important;
}

#main .wpcf7-not-valid-tip {
  background: #ffffcc !important;
  border: none !important;
  position: absolute !important;
  right: 16px !important;
  left: auto !important;
  top: -4px !important;
  padding-left: 16px;
}

#main .wpcf7-validation-errors,
#main .wpcf7-mail-sent-ok {
  border: 16px solid #ccc;
  background: #ffc;
  margin: 0px;
}

/* }}} */

