/*
Theme Name: Scarlet and Black
Theme URI: http://www.thesandb.com
Description: Custom Wordpress style for the newspaper The Scarlet & Black of Grinnell College in Grinnell, Iowa
Version: 0.2
Tags: custom, newspaper, scarlet, black
*/

@import url('css/reset.css');
@import url('css/front-page.css');
@import url('css/frontpage2.css');
@import url('css/sidebar.css');
@import url('css/nav-bar.css');
@import url('css/archive.css');

span.reenie {
    font-family: 'Reenie Beanie';
}

span.rotate {
    position: relative;
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}


/*  STANDARD ELEMENTS  -----------------------------------------------------  */
body {
    font-size: 12px;
    font-family: 'helvetica neue','helvetica',arial;
    background: url(img/v2/bg-noise.jpg) left top transparent;
}

h1 {
    font-family: 'book antiqua','georgia','times new roman';
    font-size: 22px;
    font-weight: bold;
    line-height: 30px;
    margin: 10px 0 5px 0;
}

h2 {
    font-family: 'book antiqua','georgia','times new roman';
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
    margin: 5px 0 0 0;
}

h3 {
    font-family: 'book antiqua','georgia','times new roman';
    font-size: 16px;
    font-weight: normal;
    font-style: italic;
}

blockquote {
    font-family: 'courier';
    font-size: 13px;
    margin: 10px 15px;
}

p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4em;
    margin: 0.4em 0 1em 0;
}

strong {
    font-weight: bold;
}

p.small {
    font-size: 13px;
    line-height: 16px;
}

hr {
    border: 0;
    height: 1px;
    background: #aaa;
    margin: 15px 25px 15px 25px;
}

a {
    text-decoration: none;
    color: black;
}

a:visited {
    color: black;
}

a:hover {
    color: firebrick;
}

    div.post a[href$='.pdf'] {
        float: left;
        margin: 3px 10px 5px 0;
        padding: 5px 8px 4px 25px;
        border: 1px solid #e8e8e8;
        background: url(img/pdf-icon-small.png) 5px 6px no-repeat #f8f8f8;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
    }
    
    div.post a[href$='.pdf']:hover {
        border: 1px solid #e8e8e8;
    }

ul {
    display: inline;
    float: left;
    margin: 5px 0 0 0; padding: 0;
    list-style-type: none;
}

li {
    display: inline;
    float: left;
    margin: 0 0 5px 0; padding: 0;
    list-style-type: none;
    font-size: 16px;
    font-weight: 300;
}

div.main {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 986px;
}

div.shadow {
    padding: 0 13px;
    width: 960px;
    height: 741px;
    background: url(img/v2/shadow.png) left -30px no-repeat transparent;
}

.main div {
    display: inline;
    float: left;
    position: relative;
}

div.body {
    float: left;
    width: 960px;
    background: white;
    padding: 15px 0; margin: 0;
}


div#thebs {
    float: left;
    width: 635px;
    height: 26px;
    margin-bottom: 10px;
}
    
    div#thebs img#indic {
        position: absolute;
        top: -3px;
        left: -7px;
    }
    
    div#thebs div.collector {
        display: none;
    }
    
    div#thebs a {
        float: left;
        position: relative;
        font-family: 'helvetica neue', helvetica, arial;
        margin: 3px 0 0 88px;
        padding: 0 14px 0 0;
        color: firebrick;
        text-shadow: 1px 1px 2px #999;
    }
    
    div#thebs a:hover {
        border-bottom: 1px dotted firebrick;
        background: url(img/new-window.png) right 2px no-repeat transparent;
    }
    

/*  TOP  -------------------------------------------------------------------  */
div.top {
    position: relative;
    top: 8px; right: 10px;
    height: 0;
    float: right;
    width: 960px;
    z-index: 3;
    font-family: 'helvetica neue', helvetica, arial;
    font-size: 13px;
    font-weight: 300;
    color: #fdd;
}   
    div.top div.left {
        float: left;
    }

    div.top div.right {
        float: right;
    }

    div.top a {
        color: #fdd;
    }
    
    div.top a:hover {
        color: white;
    }


/*  HEADER SECTION  --------------------------------------------------------  */
div.head {
    width: 960px;
    background: url(img/v2/header-bg.jpg) left -30px no-repeat transparent;
    height: 120px;
}

    div.head #logo {
        float: left;
        position: relative;
        width: 340px;
        height: auto;
        top: 25px;
        left: 40px;
    }


/*  ARTICLE SECTION  -------------------------------------------------------  */
div.post {
    float: left;
    display: inline;
    position: relative;
    width: 630px;   
    margin: 0 0 0 15px; 
}

    div.post ul {
        list-style-type: disc;
        margin: 0 0 0 1em;
    }
    
    div.post ul li {
        float: none;
        display: list-item;
        list-style-type: disc;
        margin: 0 0 7px 1em;
    }
    
    div.post ul li a {
        color: firebrick;
    }
    
    div.post ul li a:hover {
        border-bottom: 1px dotted firebrick;
    }

    div.post div.more-links {
        width: 230px; 
        border: 1px solid #ddd; 
        margin: 0 15px 5px 0; 
        font-family: 'helvetica neue',helvetica,arial;
    }
    
        div.post div.more-links span.heading {
            float: left;
            padding: 10px;
            margin: 0;
            width: 210px;
            font-size: 15px;
            background: #eee;
        }
        
        div.post div.more-links ul.link-list {
            padding: 0;
            margin: 10px 10px 10px 1em;
            list-style-type: disc;
            color: black;
        }
        
        div.post div.more-links ul.link-list li {
            display: list-item;
            float: none;
            margin: 0 0 7px 1em;
            padding: 0;
            font-size: 14px;
            line-height: 17px;
            list-style-type: disc;
            color: black;
        }
    
    div.post p a {
        color: firebrick;
    }
    
    div.post p a:hover {
        border-bottom: 1px dotted firebrick;
    }
    
    div.post h1 {
        padding-top: 0;
        font-size: 33px;
        line-height: 37px;
    }
    
    div.post h2 {
        margin-top: 10px;
        margin-bottom: 8px;
        font-size: 18px;
        font-weight: bold;
    }
    
    div.post p.meta {
        color: #222;
    }
    
    
    /*  NEW IMG + CAPTION  */
    div.wp-caption {
        margin: 5px 10px 10px 0;
        background: url(img/stripe.png) left top transparent;
        border: 1px solid #ddd;
    }
    
        div.wp-caption img {
            display: inline;
            float: left;
            margin: 5px;
        }
        
        div.wp-caption p.wp-caption-text {
            margin: 0 5px 5px 5px; 
            padding:0;
            font-family: 'helvetica neue',helvetica,arial;
            font-size: 13px;
            font-weight: 400;
            line-height: 16px;
            color: #black;
        }
    
    
    /*  EVENTS and CALENDAR  */
    div.calendar-img {
        width: 150px;
        margin: 5px 10px 10px 0;
    }
        
        div.calendar-img img.calendar-img {
            width: 150px;
        }
    
    
    /*  SOCIAL MEDIA  */
    div.social-bar {
        float: right;
        width: 186px;
        display: inline;
        margin: 2px 0px 4px 10px;
        padding: 5px 10px 8px 10px;
        border: 1px solid #eee;
        background: transparent;
    }
    
        div.social-bar h2.share-label {
            margin: 0 0 0 0; padding: 0;
            font-size: 15px;
            font-weight: bold;
            font-family: 'helvetica neue', helvetica, arial;
            color: #888;
        }
    
        div.social-bar div.retweet {
            float: right;
            margin: 8px 0 0 0;
        }
        
        div.social-bar div.fbshare {
            float: right;
            margin: 8px 0 0 7px;
        }
        
        div.social-bar div.social-comments {
            float: right;
            width: 57px;
            margin: 8px 0 0 7px;
            font-family: 'helvetica neue';
        }
        
            div.social-comments a.count {
                float: left;
                width: 55px;
                margin: 0 0 7px 0;
                font-size: 18px;
                line-height: 34px;
                text-align: center;
                background: #fafafa;
                border: 1px solid #ccc;
                -moz-border-radius: 2px;
                -webkit-border-radius: 2px;
            }
            
            div.social-comments a.label {
                float: left;
                width: 55px;
                font-size: 10px;
                line-height: 16px;
                text-align: center;
                background: #ddd;
                border: 1px solid #D7CBCB;
                -moz-border-radius: 3px;
                -webkit-border-radius: 3px;
            }


/*  COMMENTS SECTION  ------------------------------------------------------  */
div.body div.comments {
    width: 625px;
    padding: 0 0 10px 0;
    margin: 10px 0 0 0;
    background: #fff;
    min-height: 150px;
}
    
    div.comments h2 {
        margin: 0.3em 0 0 0;
        padding: 0;
        font-family: 'helvetica neue',helvetica,arial;
        font-size: 28px;
        font-weight: bold;
        line-height: 34px;
        color: #444;
    }

    div.comments div.comment-list, div.comments div.comment-form {
        width: 100%;
    }
    
    div.comments h4 {
        position: static; top: 0; left: 0;
        margin: 5px 0 0 0;
        padding: 0 0 20px 0;
        font-size: 16px;
        font-weight: 400;
        font-style: normal;
        letter-spacing: 0;
        color: black;
        text-transform: none;
        border-bottom: 1px solid #ccc;
    }
    
    div.commentlist div.comment {
        width: 615px;
        margin: 10px 0 15px 0;
    }
    
        div.comment p {
            display: inline;
            float: left;
            clear: both;    
            font-size: 14px;
        }
        
        div.comment em {
            float: left;
            padding: 2px 0 0 0;
            font-size: 13px;
            font-style: normal;
            font-weight: normal;
            color: darkred;
        }
    
        div.comment div.comment-author {
            float: left;
            width: 603px;
            height: 32px;
            padding: 5px;
            background: #eaeaea;
            border: 1px solid #ddd;
        }
            
            div.comment-author img {
                display: inline;
                float: left;
                padding: 0 8px 0 0;
            }
    
            div.comment-author cite.fn {
                display: inline;
                float: left;
                width: 75%;
                font-family: 'helvetica neue',helvetica,arial;
                font-size: 17px;
                font-weight: 400;
                font-style: normal;
                line-height: 32px;
            }
            
            div.comment-author span.says {
                display: none;
            }
        
        div.comment div.comment-meta {
            float: right;
            height: 0px;
            margin: 0 0 10px 0;
            clear: both;
            position: relative;
            top: -30px; left: -25px;
        }
        
            div.comment-meta a {
                line-height: 1px;
                font-family: 'helvetica neue',helvetica,arial;
                font-size: 12px;
                font-weight: normal;
                color: #666;
            }
            
            div.comment-meta a:hover {
                color: firebrick;
            }
            
            div.comment-meta a.comment-edit-link {
                float: none;
            }
        
        div.comment div.reply {
            display: none;
        }
        
    /*  COMMENT FORM  */
    div.comment-form {
        float: left;
        margin: 0 0 15px 0;
    }
    
        div.comment-form p.small.note {
            float: left;
            width: 100%;
            margin: 6px 0 0 0;
            font-family: 'helvetica neue', helvetica, arial;
            font-size: 12px;
            line-height: 15px;
            color: #777;
        }
    
    div#respond {
        padding: 5px 0 0 0;
    }
    
        div#respond label {
            display: inline;
            float: left;
            clear: both;
            font-size: 13px;
            color: #666;
        }
        
        div#respond span.required {
            float: left;
            font-size: 14px;
            margin-left: 2px;
            color: #333;
        }
        
        div#respond p.comment-notes {
            font-size: 13px;
        }
        
            div#respond p.comment-notes span {
                float: none;
            }
        
        div#respond p.form-allowed-tags {
            float: left;
            font-size: 12px;
            line-height: 15px;
            color: #666;
        }
        
            div#respond p.form-allowed-tags code {
                font-family: 'helvetica neue', 'helvetica';
                font-size: 12px;
            }
    
    div.comments input[type="text"] {
        float: left;
        width: 33%;
        clear: both;
        padding: 2px 3px;
        margin: 1px 0 5px 0;
        font-family: 'helvetica neue',helvetica,arial;
        font-size: 14px;
        color: #333;
        border: 1px solid #aaa;
    }
    
    div.comments input[value="name"] {
        margin: 10px 0 5px 0;
    }
    
    div.comments textarea {
        float: left;
        clear: both;
        width: 598px;
        height: 140px;
        padding: 2px 3px;
        margin: 1px 0 5px 0;
        font-family: 'helvetica neue',helvetica,arial;
        font-size: 14px;
        color: #333;
        border: 1px solid #aaa;
    }
    
    div.comments input[type="submit"] {
        float: left;
        clear: both;
        margin: 5px 0;
    }


/*  CATEGORY PAGE  ---------------------------------------------------------  */
div.category {
    float: left;
    display: inline;
    position: relative;
    width: 645px;
    padding-top: 5px;
}
    div.cat-group {
        padding: 0 0 15px 0;
        margin: 0 0 10px 15px;
        border-bottom: 1px dotted #ddd;
    }

    div.category p.meta {
        float: left;
        width: 100%;
        padding-bottom: 5px;
    }
    
        div.category img.cat-img {
            float: left;
            width: 100px;
            height: 100px;
            padding: 5px;
            margin: 0 10px 0 0;
            border: 1px solid #ddd;
        }
        
        div.category img.cat-img.top {
            float: left;
            width: 150px;
            height: 150px;
            padding: 5px;
            margin: 0 10px 0 0;
            border: 1px solid #ddd;
        }
    
    div.category h1 {
        display: inline;
        float: left;
        width: 100%;
        padding: 0 0 5px 0;
    }
    
    div.category hr, div.post hr {
        display: inline;
        float: left;
        width: 100%;
        margin: 2px 0 10px 0;
        background: #e6e6e6;
    }
    
    div.category div.social-bar div.retweet, div.category div.social-bar div.fbshare {
        clear: none;
    }
    
    div.category div.social {
        float: right;
    }
    
    
    /*  CATEGORY TOP STORY  */
    div.cat-top-story {
        top: -5px;
        width: 614px;
        padding: 0px 15px 15px 0;
        margin: 0 0 0 15px;
        border-bottom: 1px dotted #ccc;
        /* margin: 0 0 10px 0;
        border: 1px solid #c9c9e9;
        border-left: 0;
        background: #f5f5f5;
        -moz-border-radius-topright: 10px;
        -moz-border-radius-bottomright: 10px;
        -webkit-border-top-right-radius: 10px;
        -webkit-border-bottom-right-radius: 10px; */
    }
    
        div.cat-top-story h1 {
            font-size: 28px;
            line-height: 37px;
            margin: 8px 0 5px 0; padding: 0;
        }
        
        div.cat-top-story img.cat-img {
            float: left;
            width: 40%;
            margin: 8px 10px 5px 0;
        }
    
    
    /* PAGINATION NAVIGATION */
    div.pag-nav {
        width: 630px;
        padding: 0 0 10px 15px;
        text-align: right;
    }
        
        div.pag-nav a {
            display: inline;
            float: left;
            margin: 0 0.5em;
            padding: 2px 3px;
        }
        
        div.pag-nav a.cur {
            border-bottom: 2px solid black;
        }


/*  FOOTER  ----------------------------------------------------------------  */
div.foot {
    float: left;
    width: 930px;
    border-top: 2px solid #222;
    padding: 5px 15px 0 15px;
    background: white;
}
    
    div.foot p.back-to-top {
        float: right;
    }
    
    div.foot div.foot-cat {
        margin: 0 30px 0 0;
    }


/*  SUB FOOTER  ------------------------------------------------------------  */
div.bottom {
    float: left;
    width: 930px;
    padding: 0 15px;
    text-align: right;
    background: white;
}
