/*
Theme Name: Gridspace
Theme URI: http://graphpaperpress.com/themes/gridspace/
Author: Graph Paper Press
Author URI: http://graphpaperpress.com
Description: Showcase your images in this clean, responsive portfolio theme packed with color and layout options.
Version: 1.4.2
License: GNU General Public License
License URI: license.txt
Tags: black, white, light, dark, one-column, left-sidebar, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, photoblogging
*/

/* Stylesheet Legend
 *
 * 1.   Resets
 * 2.   Structure
 * 3.   Fonts
 * 4.   Header
 * 5.   Menu
 * 6.   Content
 * 7.   Portfolio Grid/List
 * 8.   Post Formats
 * 9.   Images & Media
 * 10.  Forms
 * 11.  Comments
 * 12.  Tables
 * 13.  Sidebar & Widgets
 * 14.  Footer
 * 15.  Buttons
 * 16.  Messages
 * 17.  Clear Floats
 * 18.  Icons
 * 19.  Responsiveness: Tablets
 * 20.  Responsiveness: Mobile
 *
 * Colors are loaded from one of two styleheets: default.css or dark.css
 * These stylesheets are located in /inc/css/
 *
 */

/* 1. Resets
-------------------------------------------------------------- */
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, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset, img {
    border: 0;
}
caption, cite, dfn, th, var {
    font-style: normal;
    font-weight: normal;
}
address {
    font-weight: bold;
}
caption, th {
    text-align: left;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
    clear: both;
}
q:before, q:after {
    content: '';
}
abbr, acronym {
    border: 0;
}


/* 2. Structure
-------------------------------------------------------------- */
html {
    overflow-y: scroll; /* Force scrollbars 100% of the time */
}
body {
    min-height: 100%;
}
#page {
    display: block;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 25px;
    position: relative;
}
#branding {
    float: left;
    margin: 1em 2% 0 0;
    max-width: 250px;
    width: 18%;
}
#colophon {
    clear: both;
    display: block;
    margin: 0 auto 3em auto;
    width: 100%;
}
#primary, .sell-media {
    float: right;
    width: 80%;
    margin: 0em auto;
    min-height: 500px;
}
#menu-wrap {
    width: 100%;
    margin-bottom: 3em;
}
#secondary  {
    float: left;
    overflow: hidden;
    width: 18%;
    margin-right: 2%;
    clear: left;
}
#secondary .widget-area .widget-title {
    margin: 1.2em 0 0.5em;
}
#secondary .widget {
    margin: 1.8em auto;
    padding-bottom: 1.8em;
}
.widget ul, .widget ol {
    margin:0;
}
/* Increase the size of the content area for templates without sidebars */
.full-width #primary,
.image-attachment #primary {
    margin: 0
}
/* Text meant only for screen readers */
.screen-reader-text, .assistive-text {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}
/* Alignment */
.alignleft {
    display: inline;
    float: left;
}
.alignright {
    display: inline;
    float: right;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* 3. Fonts
-------------------------------------------------------------- */
html, textarea, input {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    text-rendering: optimizelegibility;
}
h1 {
    font-size: 2em; /* 32px */
    margin-bottom: 0.75em; /* 24px */
    line-height: 1.5; /* 48px */
}
h2 {
    font-size: 1.5em; /* 24px */
    margin-bottom: 1em; /* 24px */
    line-height: 1; /* 24px */
}
h3 {
    font-size: 1.25em; /* 20px */
    margin-bottom: 1.2em; /* 24px */
    line-height: 1.2; /* 24px */
    margin-top: 1.5em;
}
h4 {
    font-size: 1.125em; /* 18px */
    margin-bottom: 1.333em; /* 24px */
    line-height: 1.333; /* 24px */
}

h5, h6 {
    font-size: 1em; /* 16px */
    margin-bottom: 1.5em; /* 24px */
    line-height: 1.5; /* 24px */
}
p, address {
    margin-bottom: 1.5em;
}
figure {
    margin-bottom: 1.5em;
    padding: 3.636363636364%; /* 20px / 550px */
    width: 93.220338983051%; /* 550px / 590px */
}
figure img {
    display: block;
    margin-bottom: 0;
}
figcaption {
    font-size: 0.75em;
}
a {
    text-decoration: none;
}
a:visited {
    opacity: 0.8;
}
a:hover {
    text-decoration: none;
}
a:active, a:focus {
    position: relative;
}
q, i, em, cite, .fancy, .says, h1.page-title, h1.entry-title {
    font-style: italic;
    font-weight: inherit;
}
.fancy, .says, cite, h1.page-title, h1.entry-title, blockquote {
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
}
.fancy, h1.page-title, h1.entry-title {
}

b, strong {
    font-weight: bold;
    font-style: inherit;
}
s, del {
    text-decoration: line-through;
}
dt {
    font-weight: bold;
}
dd {
    background:none no-repeat left top;
    padding-left: 50px;
}
.entry-meta {
    letter-spacing: 1px;
    text-transform: uppercase;
}
small, .entry-meta, .wp-caption .wp-caption-text, .gallery-caption {
    font-size: 0.8em;
    margin-bottom: 10px;
}
pre, code {
    font-family: monospace;
    font-size: 1em;
}
pre {
    overflow: auto;
    margin-bottom: 1.5em;
    line-height: 24px; /* Having to define explicit pixel values: ( */;
}
code {
    line-height: 1;
}
ul, ol {
    list-style-type: square;
    margin: 0 0 1.5em 1em;
}
.entry-content ol {
    list-style-type: decimal;
}
ul ul, ol ol, ul ol, ol ul { /* Let’s take care of lists in lists */
    margin: 0 0 0 20px;
}
hr {
    clear: both;
    float: none;
    width: 100%;
    height: 1px;
    margin: 0 0 1.420em;
    border: none;
}
hr.space {
    visibility: hidden;
}

/* 4. Header
-------------------------------------------------------------- */
#site-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    word-wrap: break-word;
}
#site-description {
    font-size: 0.8em;
    font-weight: normal;
    margin: 0 0 1em;
    word-wrap: break-word;
}
#site-intro,
.has-top-menu.has-header-image #site-intro {
    float: left;
    font-size: 2.5em;
    line-height: 1.4;
    margin: 0.8em 0 0;
    padding-bottom: 0.3em;
    width: 79.5%;
}
.has-top-menu #site-intro {
	margin-top: 1.5em;
}

#site-header {
    display: block;
    margin: 0 -25px;
}
#branding hgroup {
    padding: 10px 0;
}

/* 5. Menu
-------------------------------------------------------------- */
#access {
    display: block;
    float: left;
    padding: 1.8em 0;
    width: 100%;
}
#access .menu,
.widget .menu  {
    list-style: none;
    margin: 0;
    display: block;
}
#access .menu li,
.widget .menu li {
    position: relative;
}
#access .menu a,
.widget .menu a {
    display: block;
    line-height: 2em;
    text-decoration: none;
    word-wrap: break-word;
    padding-right: 20px;
}
#access .menu .parent span,
.widget .menu .parent span {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    width: 10px;
    height: 6px;
    padding: 10px;
}
#access .menu .parent span:hover,
.widget .menu .parent span:hover {
    cursor: pointer;
}
#access .menu .parent span:hover .caret,
.widget .menu .parent span:hover .caret {
    opacity: 1;
    filter: alpha(opacity=100);
}
#access ul ul, #access ul ul ul,
.widget .menu ul, .widget .menu ul ul {
    padding: 4px 0 4px 10px;
    margin: 0;
    list-style-type: none;
    font-style: italic;
    font-size: 11px;
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
}
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: top;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
  opacity: 0.3;
  filter: alpha(opacity=30);
}
.open .caret {
  opacity: 1;
  filter: alpha(opacity=100);
}

.menu-top-menu {
    float: right;
    font-size: 0.8em;
    list-style: none outside none;
    margin: 0.2em 0 0;
    padding: 10px 0;
    position: absolute;
    top: 5px;
    right: 25px;
    text-transform: uppercase;
    z-index: 1;
}
.has-welcome-msg .menu-top-menu {
    padding-right: 0;
}
.has-header-image .menu-top-menu {
    position: absolute;
    z-index: 1;
    right: 10px;
    top: 0;
}
.menu-top-menu li {
    float: left;
    margin: 0 0.5em 0em 0;
}
/* social icons */
.menu-top-menu li.facebook a,
.menu-top-menu li.twitter a,
.menu-top-menu li.rss a,
.menu-top-menu li.vimeo a {
    text-indent: -9999em;
    float: left;
    padding: 3px;
    height: 16px;
}
.menu-top-menu .facebook a {
    width: 14px;
    background-position: -24px 0;
}
.menu-top-menu .facebook a:hover {
    background-position: -24px -25px;
}
.menu-top-menu .twitter a {
    width: 16px;
    background-position: -45px 0;
}
.menu-top-menu .twitter a:hover {
    background-position: -45px -25px;
}
.menu-top-menu .rss a {
    width: 16px;
    background-position: 0px 0;
}
.menu-top-menu .rss a:hover {
    background-position: 0 -25px;
}
.menu-top-menu .vimeo a {
    width: 16px;
    background-position: -68px 0;
}
.menu-top-menu .vimeo a:hover {
    background-position: -68px -25px;
}


/* 6. Content
-------------------------------------------------------------- */
article {
    margin: 0 0 4em;
}
header.entry-header,
header.page-header,
.has-top-menu.has-header-image header.page-header,
.has-top-menu.has-header-image header.entry-header {
	margin-top: 2.7em;
}
.has-top-menu header.entry-header,
.has-top-menu header.page-header {
    margin: 4.2em 0 0;
}
.entry-content header.entry-header {
	margin: 0.5em 0 0 !important;
}
article h1.entry-title {
    font-size: 2em;
    word-wrap: break-word;
}
article h1.entry-title a,
article h2.entry-title a {
    text-decoration: none;
}
article h1.entry-title a:hover,
article h2.entry-title a:hover {
    text-decoration: none;
}
h1.widget-title, h3.widget-title {
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
}
article .entry-content img {
    max-width: 100%;
    height: auto;
}
img.no-image {
    overflow: hidden;
    display: block;
    float: left;
    margin-bottom: -3px;
}
article .entry-content iframe,
article .entry-content embed {
    max-width: 100%;
}
article .entry-meta {
    font-size: 0.8em;
    letter-spacing: normal;
    line-height: 1.4;
    padding: 1em 0%;
    text-transform: none;
}
#content-inner {
    position: relative;
    clear: both;
}
h1.page-title,
h1.entry-title {
    line-height: 1.5;
    margin: 0em 0 0;
    padding-bottom: 0.3em;
}
.error404 h1.entry-title,
.single h1.entry-title,
.page h1.entry-title {
    margin: 0.4em 0 1em;
    padding: 0 0 0.3em;
}
.format-image .post-format-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
}
.post-format-content .quote p.quote-author {
    font-size: 1em;
    margin-bottom: 0;
    font-style: normal;
}
.post-format-content {
    margin-bottom: 1.4em;
    overflow: hidden;
}
.sticky {
    position: relative;
    padding: 2em;
}
.sticky:before {
    content:"";
    position:absolute;
    top:0;
    right:0;
    border-width:0 24px 24px 0;
    border-style:solid;
    display:block;
    width:0;
}
.has-top-menu.no-welcome-msg.home #controls {
	margin-top: 4.2em;
}
.has-top-menu.has-header-image.no-welcome-msg.home #controls,
.has-top-menu.no-welcome-msg.page #controls {
	margin-top: 1em;
}
.portfolios {
	clear: right;
}
.portfolios #controls {
	margin-bottom: 1em;
}
.portfolios .sticky {
    background-color: transparent;
    padding: 0;
}
.portfolios .sticky:before {
    content:"";
    position:relative;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.hide {
    display: none;
}
.entry-header .entry-meta {
    margin: 0 0 2.5em 0;
}
.single-author .entry-meta .byline {
    display: none;
}
#primary nav {
    display: block;
    overflow: hidden;
}
#primary nav .nav-previous {
    float: left;
    max-width: 50%;
}
#primary nav .nav-next {
    float: right;
    text-align: right;
    max-width: 50%;
}
#primary #nav-above {
    display: none;
}
.paged #primary #nav-above,
.single #primary #nav-above {
    display: block;
    margin-bottom: 3em;
}
#nav-below {
    margin: 3em 0em;
}
.page-link {
    clear: both;
    margin: 0 0 1em;
}
.page .edit-link {
    clear: both;
    display: block;
}
.subpage {
    clear: both;
    display: block;
}
.subpage li {
    display: inline;
    margin: 0 20px;
}
.subpage li:first-child {
	margin-left: 0;
}
article .entry-meta {
	padding: 1em 0% 0;
}

/* 404 page */
.error404 {
    overflow: hidden;
    border: none;
}
.error404 #primary .widget {
    float: left;
    width: 47%;
    margin-left: 3%;
    margin-top: 3em;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
    margin-right: 1em;
    list-style: none;
}

/* Search */
.search .portfolio {
    width:100%;
    margin: 0 0 4em;
}
.search .portfolio .entry-header {
    position:relative;
    padding: 15px 0;
}
.search .portfolio footer.entry-meta {
    position: relative;
    padding: 1em 0;
}

/* Notices */
.post .notice, .error404 #searchform {
    background: transparent;
    display: block;
    padding: 0;
}

/* Image Attachments */
.image-attachment div.entry-meta {
    float: left;
}
.image-attachment nav {
    float: right;
    margin: 0 0 1em 0;
}
.image-attachment .entry-content {
    clear: both;
}
.image-attachment .entry-content .entry-attachment {
    margin: 0 0 1em;
    padding: 1em;
    text-align: center;
}
.image-attachment .entry-content .attachment {
    display: block;
    margin: 0 auto;
    text-align: center;
}

/* Entry Meta */
.left {
    float: left;
}
.right {
    float: right;
}
.entry-meta .left {
    width: auto;
}
.entry-meta .right {
    text-align: right;
}
.page-template-page-blog-php .entry-meta {
    display: block !important;
}
.comments-link {
    margin-right: 1em;
}

/* 7. Portfolio Grid & List
-------------------------------------------------------------- */
.vertical a.thumb {
    max-width: 248px;
}
.horizontal a.thumb,
body.thumbnail a.thumb {
    max-width: 384px;
}
a.thumb {
    display: block;
    overflow: hidden;
}
.portfolios article {
    border: none;
}
.portfolios h2.entry-title {
    font-size: 1.5em;
    font-weight: bold;
}
.portfolios article .entry-meta {
    border:none;
    margin-bottom: 1.5em;
    padding: 0;
}
.portfolios.list article .entry-meta {
    font-size: .8em;
}
.vertical .portfolios article.portfolio:nth-child(3n) {
    margin-right:0;
}
.portfolio .entry-content {
    overflow: hidden;
    position: relative;
}
.portfolio .not-found .entry-content, .single-portfolio .portfolio .entry-content {
    background: none;
}
.portfolio  {
    width: 48%;
    margin: 0 1.6% 2em;
    float: left;
}
.vertical .portfolio {
    width: 31%;
    margin: 0 1.6% 2em;
    float: left;
}
.single-portfolio .portfolio {
    width: 100% !important;
}
body.horizontal .portfolio:nth-child(2n+2),
body.thumbnail .portfolio:nth-child(2n+2) {
    margin-right: 0;
}
body.horizontal .portfolio:nth-child(2n+1),
body.thumbnail .portfolio:nth-child(2n+1) {
   clear: both;
   margin-left: 0;
}
.vertical .portfolio:nth-child(3n+3) {
    margin-right: 0;
}
.vertical .portfolio:nth-child(3n+1) {
   clear: both;
   margin-left: 0;
}
.list .portfolio {
    width: 100%;
    float: none;
    margin: 1em 0 3em;
    padding-bottom: 1em;
}
.list .portfolio .entry-text {
    padding: 0;
    font-size: 1em;
}
.list .portfolio .entry-text h2 {
    clear: none;
}
.grid .portfolio .entry-text header.entry-header {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1em 5%;
    width: 90%;
}
.grid .portfolio .entry-text footer.entry-meta {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1em 5%;
    margin-bottom: 0;
    width: 90%;
}
.grid .entry-title {
    margin-bottom: 0.3em;
    color: #666;
}
.list .portfolio .thumb {
    float: left;
    margin: 0 1.5em 2em 0;
}
.portfolio footer.entry-meta {
    clear: both;
    display: block;
    width: 100%;
}
.list .portfolio footer.entry-meta {
    position: relative;
    padding: 0;
    width: 100%;
}
.grid .portfolio footer.entry-meta {
    position: absolute;
    bottom: 20px;
    right: 15px;
}

#controls {
    float: right;
    margin: 1.2em 1% 1em;
}
.home #controls {
    margin-bottom: 1em;
}
.has-header-image #controls {
    margin: 1em 0.5% 1em;
}
.control {
    border: none;
    float: left;
    margin-right: 0.5em;
    padding: 0;
    display: block;
    width: 14px;
    height: 14px;

    text-indent: -999em;
}
#show_grid {
    background-position: 0 100%;
}
#show_grid.active {
    background-position: 0 0 !important;
}
#show_list {
    background-position: 100% 0;
    margin-right: 0;
}
#show_list.active {
    background-position: 100% 100% !important;
}
#content ul.children {
    list-style: square
}
.commentlist .pingback {
    padding-top: 15px;
}
#comments-title {
    margin-bottom: 0;
}


/* =Portfolio Post Types */
.portfolios article {
    border: none;
}
.single-portfolio article .entry-content {
    background:none;
}
.single-portfolio article .entry-meta {
    border: none;
    font-size: 1em;
    letter-spacing: 0;
}
.portfolios article .entry-meta {
    border:none;
}
/*
.portfolios article.portfolio:nth-of-type(3n) {
    margin-right:0;
}
*/
.portfolio .entry-content {
    overflow: hidden;
    position: relative;
}
.portfolio .not-found .entry-content {
    background: none;
}
.portfolio {
    width: 31%;
    margin: 0 1.6% 2em;
    float: left;
}
.single-portfolio .portfolio {
    width:100%;
    float:none;
}
.single-portfolio .portfolio .entry-header {
    color:#333;
    position:relative;
    padding:0;
}
/*
.portfolio:nth-of-type(3n+3) {
    margin-right: 0;
}
.portfolio:nth-of-type(3n+1) {
   margin-left: 0;
}
*/
.grid .portfolio .entry-header {
    position: absolute;
    top: 0;
    left: 0;
    padding: 15px 20px;
}
.grid .portfolio footer.entry-meta {
    clear: both;
    display: block;
    position: absolute;
    bottom:0;
    right:0;
    padding: 10px;
}
.single-portfolio .portfolio footer.entry-meta {
    position: relative;
    padding:0;
}





/* 8. Post Formats
-------------------------------------------------------------- */

/* Aside */
.format-aside .entry-header {
    display: none;
}
.single .format-aside .entry-header {
    display: block;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
    padding-top: 0;
}

/* Gallery */
.format-gallery .gallery-thumb {
    float: left;
    margin: 0 1em 0 0;
}
/* Image */
.format-image .entry-header {
    display: block;
}
.single .format-image .entry-header {
    display: block;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
    padding-top: 0;
}
/* Quote */
.single-format-quote .entry-content, blockquote {
    padding: 2em 2em 0.05em;
    margin: 1.5em 0;
}
.single-format-quote .entry-content {
    padding-top: 1.5em;
}
.single-format-quote .entry-content, blockquote p {
    font-size: 1.5em;
    font-family: Georgia, Times, serif;
    font-style: italic;
    line-height: 2em;
}
.single-format-quote .quote-author {
    text-align: right;
}
.comment-content blockquote {
    padding: 1em;
}
.comment-content blockquote p {
    font-size: 1em;
    line-height: 1.25em;
}

/* Chat */
.single-format-chat .entry-content {
    padding-left: 1em;
    border-left: 5px solid #ccc;
}

/* 9. Images & Media
-------------------------------------------------------------- */
a img {
    border: none;
}
p img {
    margin-bottom: 2em; /* a small bottom margin prevents content floating under images */ }
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption,
img.sitetitle,
#site-header img {
    max-width: 100%; /* When images are too wide for containing element, force them to fit. */
    height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.wp-post-image {
    float: left;
    max-width: 100%;
    height: auto;
}
img.alignleft,
.wp-caption.alignleft {
    margin-right: 2em;
}
img.alignright,
.wp-caption.alignright {
    margin-left: 2em;
}
img.alignnone {
    margin: 0;
}
.wp-caption {
   background-repeat:repeat-x;
   margin: 1em auto;
   max-width: 97.28813559322%;
   padding: .8em 1.393728222997%;
   text-align: center;
}
.wp-caption .wp-caption-text {
    margin: .5em;
}
.gallery-caption, .wp-caption {

}
.wp-smiley {
    margin: 0;
}

/* Gallery */
.entry-content .gallery {
    margin:0 auto 1.625em;
}
.entry-content .gallery a img {
    border:none;
}
.entry-content .gallery .gallery-icon {
    margin: 2px 8px;
}
.entry-content #gallery-1 .gallery-item {
    margin-top: 0;
}
#image-navigation {
    width: 90%;
    margin: 0 5% 5% 5%;
    float:left;
}
#image-navigation .previous-image {
    float:left;
}
#image-navigation .next-image {
    float:right;
}
.gallery img {
    border: none !important;
}

/* Video */
object, embed, video {
    max-width: 100%;
    height: auto;
}

/* Audio */
audio { width: 100%; }

/* 10. Forms
-------------------------------------------------------------- */
#searchform label {
    display: none;
}
#searchform input#s {
    width: 80%;
    max-width: 150px;
    font-size: 1em;
    padding: 4px 20px 4px 4px;
    margin: 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
#searchform input[type="submit"] {
    display: none;
}
input[type=text],
input#s {
    margin: 0 1em 0 0;
    width: 60%;
    padding: 5px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    line-height: 1;
}
textarea {
    width: 80%;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
}
.error404 article .entry-content, .search article .entry-content {
    margin: 2em 0;
}


/* 11. Comments
-------------------------------------------------------------- */
#comments-title {
    padding: 8px 4px;
    text-transform: uppercase;
    font-size: .9em;
}
article.comment {
    display:block;
}
#respond input[type=text] {
    display:block;
    width:40%;
}
#respond textarea {
    display:block;
    margin:0 0 1em;
    width:60%;
}
#respond .form-allowed-tags {
    clear:both;
    width:60%;
}
#respond .form-allowed-tags {
    display:none;
}
.commentlist {
    margin: 0;
    list-style-type:none;
}
.commentlist li {
    position: relative;
}
.comment {
    max-width: 100%;
    overflow: hidden;
    display: block;
}
article.comment {
    margin:20px 0 0;
    padding-bottom: 20px;
}
.comment header {
    font-size: 1.2em;
}
.comment footer {
    float:left;
    width: 75%;
    font-size: .7em;
}
.comment .reply {
    float: right;
    font-size: .9em;
    width: 25%;
    text-align: right;
}
.comment-content {
	clear: both;
	padding-top: 2em;
}
.commentmetadata {
    text-transform: uppercase;
}
.pinglist {
    margin:20px 0 40px 52px;
    list-style-type:decimal;
}
#commentform {
    margin-top:20px;
}
.children {
    list-style-type:none;
    margin-left:55px;
}
#primary .commentlist ul {
    margin-bottom: 0;
}
.comment .avatar {
    float:left;
    margin:0 1em .5em 0;
}
.comment-author {
    display:inline;
    margin-right:5px;
}
.comment-author cite {
    font-weight: bold;
}
.comment-meta {
    display: block;
    font-size: 11px;
}
.comment-body {
    margin:0 0 30px 55px;
}
.comment-reply-link {
    font-size: .8em;
    padding: 3px;
    text-transform: uppercase;
}
#cancel-comment-reply-link {
    color: red !important;
}
#respond {
    padding-bottom:35px;
}
#respond h3 {
    font-size:14px;
    font-weight:bold;
}
.nocomments {
    text-align:center;
    padding:20px;
}
.comment-body ul {
    list-style-type:disc;
}
.comment-body ol {
    list-style-type:decimal;
}
#commentform label small {
    font-size:12px;
}
.comment-author-admin article {
    padding: 1em;
}
.comment-author-admin footer {
    left: 1em;
}


/* 12. Tables
-------------------------------------------------------------- */
table {
    margin-bottom: 1.5em;
    width: 100%;
    max-width: 100%;
}
thead tr:last-of-type th {
    /* Thicker border on the table-headers of the last row in the table head */
    border-bottom-width: 2px;
}
th:empty {
    /* Hide the borders on any empty table-headers */
    border: none;
}
th, td {
    vertical-align: top;
    padding: 0.75em;
}
th {
    font-weight: bold;
    text-align: center;
}
table [colspan] {
    /* This looks lovely, trust me... */
    text-align: center;
}
table [rowspan] {
    /* ...as does this. */
    vertical-align: middle;
}
[colspan="1"] {
    text-align: left;
}
[rowspan="1"] {
    vertical-align: top;
}
tfoot {
    text-align: center;
}
tfoot td {
    border-top-width: 2px;
}
#wp-calendar {
    font-size: .8em;
}
#wp-calendar th, #wp-calendar td {
    text-align: center;
    padding: .25em;
}
#wp-calendar th {
    border-bottom: none;
}
#wp-calendar tfoot td {
    border-top: none;
}


/* 13. Sidebar & Widgets
-------------------------------------------------------------- */
#sidebar-logo {
    padding-left: 06.451612903226%;
}
#primary ol,
#primary ul {
    margin-bottom: 1.5em;
}
.widget {
    display: block;
    word-wrap: break-word;
}
.widget img {
    max-width: 100%;
    height: auto;
}
#colophon aside {
	padding: 2em 0;
}
#colophon h3 {
	margin-top: 0;
}
.widget-area .widget_search {
    overflow: hidden;
}
.widget-area .widget_search input {
    float: left;
}
.widget ul,
.widget ol {
    list-style: none;
}


/* 14. Footer
-------------------------------------------------------------- */
#colophon {
    padding: 2em 0 1em;
    margin-bottom: 0;
}
.one div.widget {
    width: 100%;
    float: left;
}
.two div.widget {
    width: 49%;
    float: left;
    margin-right: 2%;
}

.three div.widget {
    width: 32%;
    float: left;
    margin-right: 2%;
}
.two div#widget-2, .three div#widget-3 {
	margin-right: 0;
}
#site-generator {
    clear: both;
    padding-top: 2em;
    font-size: .9em;
    margin-bottom: 2em;
    text-align: center;
}
#site-generator .sep {
    font-size: .7em;
}
/* Footer Widgets */
#footer-widgets {
    margin-bottom: 2em;
    overflow: hidden;
}
#footer-widgets ul {
    list-style: none;
}

/* 15. Buttons
-------------------------------------------------------------- */
#primary nav {
    clear: both;
}
#comment-nav-above {
    margin-top: 15px;
}
#primary nav .nav-previous a,
#primary nav .nav-next a,
input[type="button"],
input[type="submit"],
.button,
.previous-image a,
.next-image a {
    position: relative;
    overflow: visible;
    display: inline-block;
    padding: 0.5em 1em;
    margin: 0;
    text-decoration: none;
    text-align: center;
    font-size: 11px;
    line-height: normal;
    cursor: pointer;
    outline: none;
    -moz-background-clip: padding; /* for Firefox 3.6 */
    background-clip: padding-box;
    border-radius: 0.2em;
    /* IE hacks */
    zoom: 1;
    *display: inline;
    width: auto;
}
.button:hover,
#primary nav .nav-previous:hover,
#primary nav .nav-next:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.button:focus,
#primary nav .nav-previous:focus,
#primary nav .nav-next:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
.button:active,
#primary nav .nav-previous:active,
#primary nav .nav-next:active,
input[type="button"]:active,
input[type="submit"]:active,
.button.active {
    text-decoration: none;
}
#primary nav .nav-previous a:hover,
#primary nav .nav-next a:hover,
.previous-image a:hover,
.next-image a:hover,
input[type="submit"]:hover {
    text-decoration: none;
}

/* 16. Messages
-------------------------------------------------------------- */
.message {
    font-weight: normal;
    display: block;
    padding: 10px 10px 10px 36px;
    margin: 0 0 1.5em 0;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
/* With multiple errors it’s nice to group them. */
ul.message {
    list-style: decimal outside;
    padding: 10px 10px 10px 56px;
}

/* 17. Clear Floats
-------------------------------------------------------------- */
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
* html .clearfix {
    zoom: 1;
} /* IE6 */
*:first-child+html .clearfix {
    zoom: 1;
} /* IE7 */

/* 18. Icons
-------------------------------------------------------------- */
.icon {
    float: left;
    margin: 0 0 0 12px;
}
.icon:before {
    float: left;
    padding: 0 10px;
    margin: 0 5px 0 0;
    content: "";
    background: url(images/icons.png) 0 0 ;
    height: 16px;
    display: inline-block;
}
.comment-bubble:before {
    background-position: 74% 4px;
}
.comment-bubble:hover:before, .comment-bubble.active:before {
    background-position: 74% 41px;
}
.like-count:before {
    background-position: 20px 4px;
}
.like-count:hover:before {
    background-position: 20px 41px;
}


/* 19. Responsiveness: Tablets held in portrait orientation
-------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    body {
        background: none;
    }
    #branding {
        width: 100%;
        float: none;
        text-align: center;
        max-width: 100%;
        padding-top: 4em;
        margin: 0;
    }
    .has-header-image #branding {
        padding-top: 2em;
    }
    hgroup {
        margin-left: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }
    #branding hgroup, #access {
        border: none !important;
    }
    #site-title a,
    #site-title a img {
        max-width: 250px;
        margin: 0 auto 1em;
    }
    #site-description {
        margin: 0 auto 1em;
    }
    #site-intro {
        width: 100%;
        text-align: center;
        font-size: 2em;
        display: block;
    }
    #controls {
        margin: 1em 0;
    }
    #primary,
    #secondary,
    .sell-media {
        clear: both;
        display: block;
        float: none;
        width: 100%;
        background: transparent;
    }
    #colophon {
        padding-top: 0em;
    }
    #primary-wrap {
        width: 98%;
    }
    #colophon {
        border-top: 0 !important;
    }
    #secondary .widget:last-child {
        border-bottom: 0 !important;
    }
    #secondary .widget-area,
    #colophon .widget-area {
        margin-top: 2em;
    }
    #secondary .widget,
    #colophon .widget {
        padding-bottom: 1em;
        text-align: center;
    }
    #colophon .widget .textwidget {
        text-align: left;
    }
    #secondary .widget {
        width: 100%;
        clear: both;
        margin: 1em auto;
    }
    #secondary #searchform {
        margin: 0 auto;
        width: 50%;
    }
    #access li {
        clear: left;
        float: none;
        text-align: center;
        width: 100%;
        border: 0;
    }
    #access li a {
        padding: .5em 0;
    }
    #access ul ul {
        float: none;
        left: 37%;
        top: 3.1em;
    }
    #access ul ul li a {
        border: none !important;
    }
    .entry-meta .left { width: 50%; }
    aside.widget-1,
    aside.widget-2,
    aside.widget-3 {
        width: 100%;
        float: none;
        margin: 1em auto 0;
    }
    .list .vertical .portfolio, .list .horizontal .portfolio, .list .square .portfolio { width: 100%; }
    .list .portfolio .entry-text, .vertical .list .portfolio .entry-text  {
        float: none;
        width: 100% !important;
    }
    .list .portfolio .thumb {
        margin: 0 1.5em 1em 0;
    }
}


/* 20. Responsiveness: Mobile
-------------------------------------------------------------- */
@media screen and (max-width: 520px) {
    body {
        font-size: 0.9em;
    }
    small,
    .entry-meta,
    .wp-caption .wp-caption-text,
    .gallery-caption {
        font-size: 0.85em;
    }
    .horizontal .portfolio, .thumbnail .portfolio, .portfolio {
        width: 100% !important;
        max-width: 384px;
        float: none;
        margin: 0 auto 2em !important;
    }
    .vertical .portfolio {
        width: 100% !important;
        max-width: 248px;
        float: none;
        margin: 0 auto 2em !important;
    }
    .portfolio .entry-header,
    .portfolio footer.entry-meta {
        margin: 0 auto;
        text-align: center;
        float: none;
        font-size: 1em;
    }
    .portfolio .entry-header {
        text-align: center;
    }
    .list .portfolio .thumb, .list .portfolio .thumb img.wp-post-image {
        clear: both;
        display: block;
        float: none;
        margin: 0 auto 2em;
    }
    .entry-meta .left,
    .entry-meta .right {
        float: none;
        width: 100%;
    }
}