/*
Theme Name:     Collier 2012
Theme URI:      http://bencollier.net/
Description:    Child theme for the Twenty Eleven theme 
Author:         Ben Collier
Author URI:     http://example.com/about/
Template:       twentyeleven
Version:        0.1.0
*/


@import url("../twentyeleven/style.css");
@import url(https://fonts.googleapis.com/css?family=Capriola|Quattrocento:400,700);

/* Layout */
#page {
    margin-top: 0;
}
.one-column #page {
    max-width: 1080px;
}

.one-column #branding #searchform {
    right: 7.6%;
}

.one-column article.feature-image.small .entry-summary {
    height: auto;
}

#colophon {
    margin: 7.6%;
}

#site-generator {
    display: none;
}

embed, iframe, object, .youtube5container {
    margin: 0 auto;
    display: block;
    max-width: 100%;
}

/* Restore titles */
.format-link .entry-title {
    display: block;
}

/* Prettiness */
html {
    border-top: 4px solid #ED0000;
    border-bottom: 4px solid #ED0000;
    min-height: 97.2%;
}

html, body {
    font-family: 'Capriola', cursive;
    background: #FFFFFF;
    font-size: 19px;
}

p, .entry-content {
    font-family: 'Quattrocento', serif;
}

#site-title a {
    color: #ED0000;
}

img.no-border {
    border: none;
}

#branding {
    border-top: none;
}

#branding  hgroup{
    border-bottom: 1px solid #ED0000;
}

#site-description {
    margin-bottom: 1em;
}

#access {
    background: none;
    box-shadow: none;
    width: 100%;
}

#access ul {
    margin: 0;
    text-align: center;
}

#access li {
    display: inline-block;
    float: none;

}

#access a {
    color: #ED0000;
    padding: 0 1em;
}

#access .current-menu-item > a, #access .current-menu-ancestor > a, #access .current_page_item > a, #access .current_page_ancestor > a {
    font-weight: normal;
}

#access li:hover > a, #access ul ul :hover > a, #access a:focus {
    background: none;
}

#access li:hover > a, #access a:focus {
    color: #CC0000;
}
.singular .hentry {
    padding: 2.875em 0 0;
}

.singular.page .hentry {
    padding: 0;
    
}

.one-column.singular .entry-meta .edit-link a {
    top: 60px;
}

.entry-content h3, .comment-content h3 {
    font-size: 14px;
}

.featured-posts {
    margin: 1.625em 0 20px;
}

.featured-posts .showcase-heading {
    padding: 0;
}

article.intro {
    margin: 0;
}

#main {
	overflow: hidden;
}

#main .twitter-tweet-rendered {
    margin: 0 auto !important;
}

pre ol {
    list-style: none;
    margin-bottom: auto;
}

sup {
    font-size: 14px;
}

.twitter-tweet-rendered blockquote:before {
    content: '';
}

blockquote:before {
/*     content:"\201C"; */
    font-size:3em;
    padding: 0;
    margin-top: -5px;
    line-height: 1em;
    position:absolute;
    color:#CCCCCC;
    left: 0;
    top: 0;
}

blockquote, q {
    padding-left:1.8em;
    position: relative;
    border-left: 2px solid #ED0000;
}

.simple-footnotes {
    border: 1px solid #eeeeee;
    padding: 1em;
    margin: 1em;
}

.widget_twitter li {
    list-style: square;
}

.widget_twitter .time-meta {
    display: block;
}

.widget_twitter .time-meta a {
    color: #CCC;
    font-weight: normal;
}


img#wpstats{width:0px;height:0px;overflow:hidden}


@media only screen and (max-width: 650px) {

    body {
        padding: 0;
    }

    #access {
        padding-top: 1em;
    }

    #access li:first-child a{
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;    }

    #access li:last-child a{
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    #access li {
        display: block;
    }
    #access a {
        display: block;
        margin:  auto;
        text-align: center;
        padding: 0.1em;
        border: 1px solid rgba(225,225,225,0.9);
        border-bottom: none;
        background: #fff;
        background: -moz-linear-gradient(top,
        rgba(255,255,255,0.85) 0,
        rgba(240,240,240,0.85) 100%);
        background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(255,255,255,0.85)),color-stop(100%, rgba(240,240,240,0.85)));
        background: -webkit-linear-gradient(top, rgba(255,255,255,0.85) 0, rgba(240,240,240,0.85) 100%);
        background: -o-linear-gradient(top, rgba(255,255,255,0.85) 0, rgba(240,240,240,0.85) 100%);
        background: -ms-linear-gradient(top, rgba(255,255,255,0.85) 0, rgba(240,240,240,0.85) 100%);
        background: linear-gradient(top, rgba(255,255,255,0.85) 0, rgba(240,240,240,0.85) 100%);
    }
    
    #branding hgroup, #main #content, #access div {
        margin: 0 2.6%;
    }
    
    .page-template-showcase-php .featured-posts {
        height: auto;
        min-height: 200px;
    }
    
}



/* prevent IAD capitalisation on book page */
#post-27099 h1,#post-27099 h2,#post-27099 h3,#post-27099 h4 {
    text-transform: none;
}

/* Spinning class  used on Android post */
.spin{-webkit-animation: spin 5s linear infinite; display: block}
@-webkit-keyframes spin{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)} }