/*
Theme Name: Matt's theme
Theme URI: http://fredsherbet.com
Description: Matt built a custom theme for fredsherbet.com and mattandcaz.com based on the Kubrick theme that once shipped with Wordpress. This theme presents the website differently at different domains.
Version: 2.0
Author: Matthew Russell
Author URI: http://fredsherbet.com
*/

/* Begin Overall Structure */
body {
  margin: 0 0 20px 0;
  padding: 0;
}
#page {
}

#header {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  height: 200px;
  font-family: 'Century Gothic', sans-serif;
}

#main {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

#pre-footer,
#footer {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

#content {
  float: left;
  margin: 0 0 0 20px;
  padding: 0;
}
.narrowcolumn {
  width: 68%;
}
#content.widecolumn,
#content-live.widecolumn {
  float: none;
  width: 94%;
  margin: 0 auto;
}

#sidebar
{
  padding: 0;
  width: 24%;
  float: right;
  margin: 0 20px 0 0;
}

#noteworthy {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.clear {
  clear: both;
}
.alignright {
  float: right;
}
.alignleft {
  float: left;
}
.center {
  text-align: center;
}
.hidden {
  display: none;
}

/* Begin Header Structure */
#headerimg   {
  margin: 0 auto;
  max-width: 497px;
  padding: 17px;
}
#headerimg img {
  width: 100%;
  max-width: 497px;
  height: auto;
}
#headertabs {
  height: 38px;
  text-align: center;
}
#headertabs .tab {
  display: inline-block;
  font-size: 15px;
  margin: 0;
  padding: 0;
  height: 38px;
}
#headertabs .tab:hover,
#headertabs .tab:hover a,
#headertabs .tab:hover a:visited,
#headertabs .tab:hover a:hover {
  text-decoration: none;
}
#headertabs a,
#headertabs a:visited {
  display: block;
  padding: 10px;
}

/* Begin Content structure */
#content,
#content-live {
  font-size: 1.2em;
}

.entry {
  position: relative;
}
.widecolumn .entry p {
  font-size: 1.05em;
}
.narrowcolumn .entry, .widecolumn .entry {
  line-height: 1.4em;
}
.widecolumn {
  line-height: 1.6em;
}

/* Begin General Typography */
body {
  font-size: 62.5%; /* Resets 1em to 10px */
  font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

.permalink {
  font-weight: bold;
}

small {
  font-family: Arial, Helvetica, Sans-Serif;
  font-size: 0.9em;
  line-height: 1.5em;
}

h1, h2, h3 {
  font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
  font-weight: bold;
}
h1 {
  font-size: 4em;
  text-align: center;
}
h2 {
  font-size: 1.6em;
}
h2.pagetitle {
  font-size: 1.6em;
}
h3 {
  font-size: 1.3em;
}
h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
  text-decoration: none;
}
h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
  text-decoration: none;
}

code,
pre {
  font: 13px 'Consolas', 'Monaco', 'Courier New', Courier, Fixed;
}
pre {
  border: 3px solid black;
  display: block;
  padding: 3px 10px;
  margin: 3px 0;
  max-height: 221px;
  overflow: auto;
  font-weight: bold;
}

acronym, abbr, span.caps
{
  font-size: 0.9em;
  letter-spacing: .07em;
}

a, h2 a:hover, h3 a:hover {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Begin header */
#header h1 {
  font-family: 'Century Gothic', sans-serif;
  font-weight: normal;
  font-size: 47px;
}
#headerimg .description {
  font-size: 1.2em;
  text-align: center;
  font-family: 'Futura';
  font-weight: medium;
}

/* Begin footer */
#footer p {
  margin: 0;
  padding: 20px 0;
  text-align: center;
}
#noteworthy ul {
  padding: 0;
  margin: 0;
  text-align: center;
}
#noteworthy li {
  display: inline-block;
  width: 124px;
  height: 62px;
  margin: 5px;
}
#noteworthy img {
  width: 124px;
  height: 62px;
}

/* Begin sidebar */
#sidebar {
  font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
#sidebar h1 {
  font-size: 23px;
  padding: 0 0 2px;
  margin: 17px 0;
}
#sidebar h2 {
  margin: 5px 0 0;
  padding: 0;
}
#sidebar .post {
  margin: 0 0 13px;
  padding: 0;
}
#sidebar .entry {
  font-size: 9px;
  overflow: hidden;
}
#sidebar .entry img {
  width: 100%;
  height: auto;
}
#sidebar.photos .post {
  margin: 0 auto;
  padding: 5px 0;
  overflow: hidden;
}
#sidebar.photos h1 {
  margin: 17px 0 6px;
}
#sidebar h2 {
  font-family: 'Lucida Grande', Verdana, Sans-Serif;
  font-size: 1.2em;
}
#sidebar form {
  margin: 0;
}

/* Begin sidebar lists */
#sidebar ul, #sidebar ul ol {
  margin: 0;
  padding: 0;
}
#sidebar ul li {
  list-style-type: none;
  list-style-image: none;
  margin-bottom: 15px;
}
#sidebar ul p, #sidebar ul select {
  margin: 5px 0 8px;
}
#sidebar ul ul, #sidebar ul ol {
  margin: 5px 0 0 10px;
}
#sidebar ul ul ul, #sidebar ul ol {
  margin: 0 0 0 10px;
}
#sidebar ul ol li {
  list-style: decimal outside;
}
#sidebar ul ul li, #sidebar ul ol li {
  margin: 3px 0 0;
  padding: 0;
}

/* Begin comments */
.commentlist li, #commentform input, #commentform textarea {
  font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
  border: hidden;
}
#commentform label {
  float: left;
  width: 200px;
}
.commentlist li ul li {
  font-size: 1em;
}
.commentlist li {
  font-weight: bold;
}
.commentlist li .avatar { 
  float: right;
  border: 1px solid #eee;
  padding: 2px;
}
.commentlist cite, .commentlist cite a {
  font-weight: bold;
  font-style: normal;
  font-size: 1.1em;
}
.commentlist p {
  font-weight: normal;
  line-height: 1.5em;
  text-transform: none;
}
#commentform p {
  font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
.commentmetadata {
  font-weight: normal;
}

/* Begin posts */
.page,
.post {
  text-align: justify;
}
.post {
  margin: 0 0 24px;
  padding: 0 0 5px;
  border-bottom: thin solid #282828;
}
.post ul {
  text-align: left;
}

/* Wide posts */
.widecolumn .post {
  margin: 0;
}
.widecolumn .smallattachment {
  text-align: center;
  float: left;
  width: 128px;
  margin: 5px 5px 5px 0px;
}
.widecolumn .attachment {
  text-align: center;
  margin: 5px 0px;
}

/* Image lists */
.imagelist {
  text-align: top;
}
.imagelist li {
  overflow: hidden;
  max-width: 288px;
}
.imagelist img {
  width: 75px;
  height: auto;
  float: right;
  margin-left: 4px;
}

/* Begin post metadata */
.postmetadata {
  padding-top: 5px;
  font-size: 80%;
  opacity: 0.6;
  clear: both;
  text-align: center;
}
.postmetadata:hover {
  opacity: 1;
}
.widecolumn .postmetadata {
  margin: 30px 0;
}
.category-links .postmetadata {
  display: none;
}

/* Headers */
h1 {
  padding-top: 70px;
  margin: 0;
}
h2 {
  margin: 17px 0;
}
h2.pagetitle {
  margin-top: 30px;
  text-align: center;
}
h3 {
  padding: 0;
  margin: 30px 0 0;
}
h3.comments {
  padding: 0;
  margin: 40px auto 20px ;
}

/* Begin Images */
p img {
  padding: 0;
  max-width: 100%;
  height: auto;
}
a img {
  border: none;
}
img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
}
img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
}

/* Begin Lists
   Special stylized non-IE bullets
   Do not work in Internet Explorer, which merely default to normal bullets. */
html>body .entry ul {
  margin-left: 0px;
  padding: 0 0 0 30px;
  list-style: none;
  padding-left: 10px;
  text-indent: -10px;
}
html>body .entry li {
  margin: 7px 0 8px 0px;
  padding: 0 0 0 10px;
}
.entry ul li:before, #sidebar ul ul li:before {
  content: "\00BB \0020";
}
.entry ol {
  padding: 0 0 0 35px;
  margin: 0;
}
.entry ol li {
  margin: 0;
  padding: 0;
}
.postmetadata ul, .postmetadata li {
  display: inline;
  list-style-type: none;
  list-style-image: none;
}
ol li {
  list-style: decimal outside;
}

/* Begin Form Elements */
#searchform {
  margin: 10px auto;
  padding: 5px 3px;
  text-align: center;
}
#sidebar #searchform #s {
  width: 108px;
  padding: 2px;
}
#sidebar #searchsubmit {
  padding: 1px;
}
.entry form { /* This is mainly for password protected posts, makes them look better. */
  text-align:center;
}
select {
  width: 130px;
}

/* Comment form */
#commentform input {
  width: 231px;
  padding: 2px;
  margin: 5px 5px 1px 0;
}
#commentform input#submit {
        width: auto;
        padding-right: 5px;
        padding-left: 5px;
}
#commentform {
  margin: 5px 10px 0 0;
}
#commentform textarea {
  width: 432px;
  padding: 2px;
}
#respond:after {
    content: "."; 
      display: block; 
      height: 0; 
      clear: both; 
      visibility: hidden;
}
#commentform #submit {
  margin: 0 0 5px auto;
  float: right;
}

/* Begin Comments */
.alt {
  margin: 0;
  padding: 10px;
}
.commentlist {
  padding: 0;
  text-align: justify;
}
.commentlist li {
  margin: 15px 0 10px;
  padding: 5px 5px 10px 10px;
  list-style: none;
}
.commentlist li ul li { 
  margin-right: -5px;
  margin-left: 10px;
}
.commentlist p {
  margin: 10px 5px 10px 0;
}
.children { padding: 0;}
#commentform p {
  margin: 5px 0;
}
.nocomments {
  display: none;
  text-align: center;
  margin: 0;
  padding: 0;
}
.commentmetadata {
  margin: 0;
  display: block;
}

/* Block quotes */
blockquote {
  margin: 15px 30px 0 10px;
  padding-left: 20px;
  border-left: 3px solid #889099;
}
blockquote blockquote {
  border-left: 1px solid #888;
  padding-left: 10px;
}
blockquote cite {
  margin: 5px 0 0;
  display: block;
}
#sidebar blockquote {
  border-left: 5px solid #222025;
  margin-left: 5px;
  padding-left: 10px;
}

/* Misc */
.screen-reader-text {
  position: absolute;
  left: -1000em;
}
.navigation {
  display: block;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 60px;
}
.pano {
  width: 100%;
  height: 400px;
}

/* Captions */
.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}

/* YAPB */
div.thumb {
  float: left;
  margin-right: 10px;
  width: 200px;
}
div.thumb img {
  width: 200px;
  height: auto;
}
div.yapbthumb,
div.blugzthumb {
  float: left;
}
#sidebar.photos div.yapbthumb,
#sidebar.photos div.blugzthumb {
  float: none;
}
div.yapbreflection {
  height: 37px;
  overflow: hidden;
  float: left;
}
div.yapbreflection div {
  -moz-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  opacity: 0.26;
}
div.yapb-postpic {
  margin: 10px 0 0 0;
}
div.yapb-postpic img {
  width: 100%;
  height: auto;
}

/* Smugmug gallery styles (Photographer Connections plugin) */
.entry ul.smugmug-gallery-outer-wrapper {
  padding: 0;
}
.entry ul.smugmug-gallery-outer-wrapper li {
  list-style: none;
}
.entry ul.smugmug-gallery-outer-wrapper li:before {
  content: "";
}

/* Hoverable links */
a.hoverable {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  display: block;
  width: 124px;
  height: 62px;
}
a.hoverable div,
a.hoverable p {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 5px;
  width: 114px;
  height: 52px;
}
a.hoverable div {
  display: none;
  opacity: 0.7;
}
a.hoverable:hover div {
  display: block;
}

/* live feed pages */
#content-live .post {
  border: none;
}
#content-live .time {
  font-family: 'Consolas','Monaco',courier,monospace;
  font-size: 11px;
  border-top: dashed thin #282828;
  padding-top: 4px;
}
#content-live .title {
  font-weight: bold;
}
div.live-content {
  padding-left: 8px;
}
#content-live .thumb {
  float: right;
  margin: 0 0 0 10px;
}
#content-live .hide-in-live {
  display: none;
}
.live-content {
  position: relative;
  margin-bottom: 20px;
}
#content-live div.comments {
  position: absolute;
  bottom: -22px;
  font-size: 85%;
}

/* Normal post galleries */
.gallery.normal {
  width: 712px;
  margin: 0 auto;
}
.gallery.normal .gallery-item {
  float: left;
  margin: 14px;
}
.gallery.normal .gallery-caption {
  display: none;
}
.gallery.normal img {
  width: 150px;
  height: 150px;
}

/* Gallery pages */

/* Hide uninteresting stuff in the gallery */
#content.gallery .post h2,
#content.gallery .post .postmetadata,
#content.gallery .post small {
  display: none;
}

.scrubber, .scrubber img {
  width: 150px;
  height: 150px;
}

/* Make galleries wider */
#content.gallery {
  width: 612px;
  margin: 5px auto 0;
}

#content.gallery .post {
  width: 200px;
  float: left;
  height: 200px;
  overflow: hidden;
  padding: 2px;
}
#content.gallery .post .gallery,
#content.gallery .post .gallery img {
  max-width: 100%;
  height: auto;
}

/* Embeds */
iframe {
  margin: 12px 0;
}
.video {
  width: 100%;
}
.narrowcolumn .video {
  height: 344px;
}
.widecolumn .video {
  height: 476px;
}
