/*
Theme Name:JSInk
Author:John J Sexton
Author URI:http://johnjsexton.com/
Description:A semantic, HTML5, Wordpress theme developed for _____.
Version:2
*/

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: .9em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body { 
    margin: 0; 
    padding: 0;
    text-align: center; 
    background: #fefefe;
    font-family: Helvetica, Arial, Sans-serif;
}
#container { 
    margin: 0 auto;
    width: 90%;
    text-align: left;
    overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; padding: 0; }
a { color: #222; }
a:hover { color: #E45E9D; }

/*** Header Styles ***/
#branding {
    text-align: center;
    font-size: 14px;
    font-family: Georgia, Times, Serif;
}
#site-title a { 
    width: 100%; 
    height: 75px;
    display: block;
    background: url(images/jsink-mobile.png) center no-repeat;
}

.fb-like {
    margin-top: 20px;
}

/*** Navigation Styles ***/
#access ul {
    margin: 10px 0 0;
    padding: 0;
    font-size: 18px;
    border-bottom: 1px solid #222;
}
#access ul ul {
    display: none;
}
#access li {
    margin: 0;
    padding: 5px 30px;
    border-top: #999 1px solid;
    font-family: 'Elsie', Helvetica, Arial, Sans-serif;
}
#access a {
    display: block;
    text-decoration: none;
}

/*** Homepage  Styles ***/
.gallery li {
    margin: 0;
    padding: 0;
    display: inline-block;
    list-style-type: none;
}
.gallery li img {
    margin: 20px 10px;
    border: 5px solid #222;
}
#recent-posts article {
    margin: 20px;
 }
#recent-posts article .excerpt-title {
    font-size: 20px;
    border-bottom: 1px dotted #222;
    font-family: Georgia, Times, Serif;
}
#recent-posts article .excerpt-title a {
    text-decoration: none;
}
.posted-on {
    text-align: right;
    font-size: 10px;
}
.comments-link {
    width: 100%;
    text-align: right;
    font-size: 12px;
    border-top: 1px dotted #222;
}
.comments-link a {
    padding: 5px 10px;
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px dotted #222;
}
.comments-link a:hover {
    background: #eee;
}
.goto {
    padding: 5px;
    display: block;
    text-align: right;
    background: #eee;
    font-size: 12px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
.goto a {
    padding: 0 5px 15px 30px;
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    background: url(images/read-more.png) bottom right no-repeat;
}
.readmore {
    padding: 5px 0 0;
    display: block;
    font-size: 80%;
    color: #E45E9D;
    text-decoration: none;
}

/*** Archive Styles ***/
.page-header {
    text-align: center;
}
.page-title {
    margin-top: 20px;
    font-family: Georgia, Times, Serif;
    border-bottom: 1px dotted #222;
}
#gallery {
    text-align: center;
}
#gallery ul {
    margin: 0;
    padding: 0;
}
#gallery ul li {
    margin: 20px 8px;
    padding: 0;
    display: inline-block;
    list-style-type: none;
}
#gallery ul li img {
    border: 5px solid #222;
}

/*** Single Page Styles ***/
.entry-title {
    margin-top: 20px;
    font-family: Georgia, Times, Serif;
    border-bottom: 1px dotted #222;
}
}
.print-title {
    text-align: center;
}
.print-content {
    text-align: center;
}
.gallery-content {
    text-align: center;
}
.gallery-content img {
    margin: 40px auto;
    width: 95%;
    height: 95%;
    border: 5px solid #222;
}

.entry-content {
    margin-bottom: 20px;
}

#nosidebar {
    text-align: center;
}

/*** Sidebar Styles ***/
#sidebar {
    background: #eee;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
.widget {
    padding: 0 20px 20px ;
}
.widget-title {
    padding: 0;
    font-size: 20px;
    font-family: Georgia, Times, Serif;
    border-bottom: 1px solid #222;e
}

/* Social Widget Styles */
.social-widget {
    margin: 10px 0;
    padding: 5px 20px 0;
    height: 35px;
}
.social-widget ul {
    margin: 0;
    padding: 0;
    text-align: center;
}
.social-widget ul li {
    margin: 0 2px;
    padding: 0;
    display: inline-block;
}
.social-widget ul li a {
    display: block;
    width: 32px;
    height: 32px;
}

.social-widget ul li a.facebook {
    background: url(images/Facebook.png);
}
.social-widget ul li a.twitter {
    background: url(images/Twitter.png);
}
.social-widget ul li a.youtube {
    background: url(images/YouTube.png);
}
.social-widget ul li a.rss {
    background: url(images/RSS.png);
}


/* Recent Entries Widget Styles */
.widget_recent_entries ul {
    margin: 0;
    padding: 0;
}
.widget_recent_entries ul li {
    padding: 5px 0;
    list-style-type: none;
    border-bottom: 1px dotted #222;
}
.widget_recent_entries a {
    text-decoration: none;
}

/* Recent Prints/Paintings Widget Styles */
.widget_recent_prints,
.widget_recent_paintings {
}
.widget_recent_prints ul,
.widget_recent_paintings ul {
    margin: 0;
    padding: 0;
    text-align: center;
}
.widget_recent_prints ul li,
.widget_recent_paintings ul li {
    display: inline;
    list-style-type: none;
    border: none;
}
.widget_recent_prints img,
.widget_recent_paintings img {
    margin: 3px;
    border: 4px solid #222;
}

/* Archive Widget Styles */
.widget_archive ul {
    margin: 0;
    padding: 0;
    font-size: 11px;
}
.widget_archive ul li {
    padding: 3px;
    width: 100px;
    display: inline-block;
    list-style-type: none;
}

/* Content Navigation Styles */
#nav-below {
    padding: 5px;
    display: block;
    text-align: right;
    background: #eee;
    font-size: 12px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
#nav-below .nav-prev,
#nav-below .nav-next {
    padding: 0 30px 15px 75px;
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    background: url(images/read-more.png) bottom right no-repeat;
}
#nav-below .nav-prev {
    float: left;
}
#infscr-loading{
    text-align: center;
}

/*** Comments Styles ***/
#comments {
    margin-bottom: 20px;
    border: 2px solid #ddd;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
#comments-title {
    padding: 20px;
    font-size: 16px;
    border-bottom: 2px solid #ddd;
}
#comments ol {
    margin: 0;
    padding: 0;
}
#comments ol li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    border-bottom: 2px solid #ddd;
}
#comments ol li ul {
    margin: 0;
    padding: 0;
}
#comments ol li ul li {
    margin: 0;
    padding: 0 0 0 20px;
    border-top: 1px dotted #ddd;
    border-bottom: none;
}
#comments ol li .author {
    margin: 20px;
    width: 75px;
    height: 75px;
}
#comments ol li time {
    font-size: 12px;
    font-style: italic;
    float: right; 
}
#comments ol li .comment-author {
    padding: 15px;
}
#comments ol li .comment-author * {
    vertical-align: top;
}
#comments ol li .comment-author .visitor {
    padding-left: 20px;
    font-weight: bold;
    text-transform: capitalize;
}
#comments ol li .comment-content {
    margin: -60px 0 0 100px;
}
#comments ol li .reply {
    padding: 10px;
    text-align: right;
}
#comments ol li .reply a {
    padding: 5px 10px;
    text-decoration: none;
    border-top: 1px dotted #222;
    border-bottom: 1px dotted #222;
}

#respond {
    margin: 20px 40px 10px;
    padding: 20px;
    background: #ddd;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

#reply-title {
    border-bottom: 1px solid #222;
}
#cancel-comment-reply-link {
    float: right;
    text-transform: capitalize;
}
#respond ol li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.comment-form-comment label {
    display: block;
}
#respond input {
    padding: 5px 0;
    width: 98%;
    border: 1px solid #ccc;
}
#respond textarea {
    width: 98%;
    border: 1px solid #ccc;
}

/*** Footer Styles ***/
#colophon {
    margin: 20px 0;
    padding: 40px 0; 
    border-top: 1px solid #222;
    text-align: center;
}

/*** Contact Form Styles ***/
#popupback { 
    background:#ddd; 
    opacity:.8; 
    z-index:200; 
    position:fixed; 
    left:0; 
    top:0; 
    right:0; 
    bottom:0; 
}
#popup { 
    z-index:300; 
    position:fixed; 
}
#contactform { 
    margin:1em 0; 
    color:#222; 
    width:340px; 
    border:10px solid #222; 
    background: #fefefe; 
}
#contactform legend { 
    margin:0; 
    padding:5px 10px; 
    font-family: 'Elsie', Helvetica, Arial, Sans-serif;
    font-size:20px; 
    background: #E45E9D;
    border-bottom: 5px solid #222; 
    width:320px; 
}              
#contactform fieldset { 
    margin:0; 
    padding-bottom:1em; 
    border:none; 
    border-top:3px solid #000;  
}     
#contactform p { 
    margin:.5em 20px; 
} 
#contactform label { 
    display:block; 
}   
#contactform input, #contactform textarea { 
    width:290px; 
    border:1px solid #111; 
    padding:5px 3px; 
    color:#222; 
} 
#contactform select { 
    width:300px; 
}    
#contactform textarea{ 
    height:125px; 
    overflow:auto; 
}                   
#contactform p.submit { 
    text-align:right; 
}  
#contactform button { 
    margin-left:20px; 
    padding:0 20px; 
    line-height:32px; 
    background:#E45E9D; 
    color:#222; 
    cursor:pointer; 
    text-align:center; 
}

#contactform label.error { 
    color:#9a252b; 
}

/***** Search Styles *****/
#search {
    margin: 10px;
}
#search label {
    display: none;
}
#search input {
    padding: 5px;
    border: 1px solid #222;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
#search input[type=submit] {
    display: none;
}

/* ==========================================================================
   Wordpress Core
   ========================================================================== */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
    
    body {
        text-align: center;
    }

    #container {
        margin: 0 auto;
        width: 960px;
        text-align: left;
    }

    #site-title a { 
        width: 100%; 
        height: 125px;
        display: block;
        background: url(images/jsink.png) center no-repeat;
}

    #access ul {
        text-align: center;
        border-top: 1px solid #222;
        border-bottom: 1px solid #222;
    }
    #access ul li {
        display: inline-block;
        border: none;
    }

    #recent-posts article {
        width: 275px;
        height: 375px;
        position: relative;
        display: inline-block;
        vertical-align: top;
    }

    .comments-link {
        position: absolute; 
        right: 0; 
        bottom: 10px;
    }

    #content {
        width: 640px;
        float: left;
    }

    #sidebar {
        margin-top: 20px;
        width: 300px;
        float: right;
    }

    .gallery-content img {
        border: 10px solid #222;
    }

}

/* ==========================================================================
   IE8 Styles
   ========================================================================== */
.lt-ie9 body {
    text-align: center;
}

.lt-ie9 #container {
    margin: 0 auto;
    width: 960px;
    text-align: left;
}

.lt-ie9 #site-title a { 
    width: 100%; 
    height: 125px;
    display: block;
    background: url(images/jsink.png) center no-repeat;
}

.lt-ie9 #access ul, {
    text-align: center;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}
.lt-ie9 #access ul li {
    display: inline-block;
    border: none;
}

.lt-ie9 #recent-posts article {
    width: 275px;
    height: 350px;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.lt-ie9 .comments-link {
    position: absolute; 
    right: 0; 
    bottom: 10px;
}

.lt-ie9 #content {
    width: 640px;
    float: left;
}

.lt-ie9 #sidebar {
    margin-top: 20px;
    width: 300px;
    float: right;
}

.lt-ie9 .gallery-content img {
    border: 10px solid #222;
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
                 