/*!
Theme Name: Agent Palmer 2014
Author: Chris Koelle

====== Colors ======
red:        #ed1c24;
yellow:     #fff799;

====== Fonts ======
sans:   'Proxima Nova W15', Helvetica, Arial, sans-serif;
serif:  'Schmutz W01', "Courier New", "Lucida Typewriter", monospace;
icon:   'fontello';

*/

@import url(reset.css);
@import url(fonts/fontello.css);

/* == G L O B A L S ======================================= */

body {
    background: #000 url(images/bg.jpg) top center no-repeat;
    font: 15px/20px 'Proxima Nova W15', Helvetica, Arial, sans-serif;
}
body.bg {
    background-image: url(images/footer.png),
                      url(images/bg.jpg);
    background-position: center bottom,
                         center top;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1.15;
    margin-bottom: 10px;
}
h1 {
    font: bold 26px/28px 'Schmutz W01', "Courier New", "Lucida Typewriter", monospace;
}
h2 {
    color: #ed1c24;
    font-size: 26px;
}
h3 {
    font: bold 24px/28px 'Schmutz W01', "Courier New", "Lucida Typewriter", monospace;
    color: #ed1c24;
}
h4 {
    font: bold 22px/26px 'Schmutz W01', "Courier New", "Lucida Typewriter", monospace;
}
h5 {
    font: bold 20px/24px 'Proxima Nova W15', Helvetica, Arial, sans-serif;
}
h6 {
    font: bold 18px/22px 'Proxima Nova W15', Helvetica, Arial, sans-serif;
    color: #ed1c24;
}

a {
    color: #ed1c24;
    text-decoration: none;
}
a:hover {
    color: #be3035;
}
img {
    max-width: 100%;
    height: auto;
}
p,
ul,
ol {
    margin-bottom: 20px;
}
ul {
    list-style-type: square;
}
blockquote {
    font: bold 20px/1.2 'Proxima Nova W15', Helvetica, Arial, sans-serif;
    color: #ed1c24;
    border-left: 5px rgba(237, 28, 36, 0.6) solid;
    padding: 20px 20px 10px 30px;
    margin-bottom: 12px;
    background: #f7e9e9;
}
blockquote p {
    margin-bottom: 8px;
}
blockquote p[style*=right] {
    font-weight: normal;
    font-size: .75em;
}
.quote p {
    display: inline;
}
.quote:before {
    color: rgba(237, 28, 36, 0.6);
    content: "\201C";
    font-family: arial;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.1em;
    vertical-align: -0.4em;
}
cite {
    float: right;
    color: #444;
}
cite:before {
    content: "\2012";
    color: #777;
    font-size: 1.2em;
    position: relative;
    left: -5px;
    top: 0px;
}
.pull-right {
    width: 40%;
    float: right;
    margin: 12px 0 12px 16px;
}
.pull-left {
    width: 40%;
    float: left;
    margin: 12px 16px 12px 0;
}
.wp-caption-text {
    margin: 0;
    font-size: .8em;
    font-style: italic;
    line-height: 1.2;
    text-align: center;
    color: #777;
}

/* == L A Y O U T ========================================= */

.wrapper {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    width: 1000px;
    max-width: 100%;
    min-width: 980px;
}

.content-area {
    background: #d3bea9 url(images/folder-texture.png);
    box-shadow: 0 1px 5px rgba(0,0,0,.75);
    border-radius: 5px 5px 15px 15px;
}
.main-column {
    width: 68%;
    float: left;
    margin: 2% 0 2% 2%;
    position: relative;
    z-index: 1;
}
aside {
    float: right;
    width: 27%;
    margin-right: 1.5%;
}

/* == H E A D E R ========================================= */

header {
    position: relative;
    background: url(images/header-bg.png) top center no-repeat;
    margin: 0 0 -15px -7px;
    height: 200px;
}
.logo,
.logo a {
    background: url(images/logo.png) no-repeat;
    width: 300px;
    height: 130px;
}
.logo {
    float: left;
    margin: 0 0 0 30px;
    background-position: 0 0;
    position: relative;
    top: 10px;
}
.logo a {
    text-indent: -9999px;
    display: block;
    background-position: 0 -130px;
    opacity: 0;
    -ms-filter: "alpha(opacity=50)";
    -webkit-transition: opacity 300ms ease;
    transition: opacity 300ms ease;
}
.logo a:hover {
    opacity: 1;
    -ms-filter: "alpha(opacity=100)";
}
.tagline {
    position: absolute;
    top: 80px;
    left: 330px;
    text-indent: -9999px;
    margin: 0;
    width: 275px;
    height: 60px;
    background: url(images/of-all-things.png) center center no-repeat;
}
.secondary {
    vertical-align: middle;
    float: right;
}
.secondary .menu {
    margin: 0;
    padding: 15px 15px 0 0;
    list-style: none;
}
.secondary li {
    padding: 8px 0;
    float: left;
    margin: 0;
}
.secondary li + li a {
    border-left: 2px solid #000;
}
.secondary .social {
    margin: 0;
    padding: 0;
}
.secondary a {
    color: #000;
    font-size: 16px;
    line-height: 1;
    display: inline-block;
    padding: 0 15px;
}
.secondary a:hover,
.secondary .current a {
    color: #ed1c24;
}
.secondary .social a,
.share-links a {
    font: 18px/32px 'fontello';
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}
.secondary .facebook a,
.share-links .facebook a {
    color: #3b5998;
}
.secondary .twitter a,
.share-links .twitter a {
    color: #00aced;
}
.secondary .gplus a ,
.share-links .gplus a {
    color: #dd4b39;
}
.secondary .tumblr a ,
.share-links .tumblr a {
    color: #32506d;
}
.secondary .stumble a ,
.share-links .stumble a {
    color: #eb4823;
}
.secondary .pinterest a {
    color: #cb2027;
}
.secondary .social a:hover,
.share-links a:hover {
    text-shadow: 1px 1px rgba(0,0,0,.3);
}

/* == T A B B E D   N A V ================================= */

.tabbed-menu {
    position: relative;
    z-index: 10;
    height: 42px;
    margin-top: -41px;
    padding-left: 5px;
}
.tabbed-menu .menu {
    padding: 0;
    margin: 0;
    list-style: none;
}
.tabbed-menu li {
    position: relative;
    z-index: 5;
    float: left;
    margin-right: -20px;
    width: 276px;
    height: 41px;
}
.tabbed-menu li:nth-child(3) {
    z-index: 4;
}
.tabbed-menu li.current,
.tabbed-menu li.top {
    z-index: 10;
}
.tabbed-menu a {
    display: block;
    background: url(images/tabs.png) center top no-repeat;
    height: 100%;
    width: 100%;
    text-align: center;
    color: #000;
    font: 20px/38px 'Schmutz W01', "Courier New", "Lucida Typewriter", monospace;
    letter-spacing: 1px;
}
.tabbed-menu .current a {
    background-position: center -42px;
}
.tabbed-menu .top a {
    background-position: center -84px;
}
.tabbed-menu a:hover {
    color: #ed1c24;
    text-shadow: 1px 1px rgba(255,255,255,.3);
}

/*  == M A I N   C O L U M N ============================== */

article {
    padding: 20px;
    position: relative;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.5);
}
article + article {
    margin-top: 30px;
}
article:after,
article:before {
    max-height: 540px;
    content: '';
    position: absolute;
    left: 5px;
    right: -5px;
    top: 0;
    bottom: 0;
    background: #fff;
    z-index: -1;
    box-shadow: 0 1px 3px rgba(0,0,0,.5);
}
article:before {
    -webkit-transform-origin: top left;
        -ms-transform-origin: top left;
            transform-origin: top left;
    -webkit-transform: rotate(-.7deg);
        -ms-transform: rotate(-.7deg);
            transform: rotate(-.7deg);
}
article:nth-child(2n):before {
    bottom: -2px;
    top: 2px;
    -webkit-transform-origin: bottom right;
        -ms-transform-origin: bottom right;
            transform-origin: bottom right;
}
article:after {
    -webkit-transform-origin: top center 0%;
        -ms-transform-origin: bottom right 0%;
            transform-origin: bottom right 0%;
    -webkit-transform: rotate(1.2deg);
        -ms-transform: rotate(1.2deg);
            transform: rotate(1.2deg);
}
article:nth-child(3n):after {
    -webkit-transform: rotate(1deg);
        -ms-transform: rotate(1deg);
            transform: rotate(1deg);
}
.single article:before,
.page article:before {
    right: 5px;
}
.single article:after,
.page article:after {
    right: -3px;
}
.read-more {
    float: right;
    font: 1.4em 'Schmutz W01', "Courier New", "Lucida Typewriter", monospace;
}
.post-date {
    font-weight: bold;
}
.cats {
    font-size: .85em;
    font-weight: bold;
}
.post-meta,
.post-footer {
    margin: 10px 0;
}
.feature-heading {
    position: absolute;
    top: -10px;
    left: -15px;
    color: #fff;
    font: normal 24px/64px 'Schmutz W01', "Courier New", "Lucida Typewriter", monospace;
    background: url(images/feat-heading-bg.png) left top no-repeat;
    float: left;
    padding: 0 30px;
    box-shadow: 3px 0 5px -4px #000;
    border-radius: 0 5px 0 0;
    text-shadow: 1px 1px #88272c;
    letter-spacing: 1px;
    -webkit-backface-visibility: hidden;
    -webkit-transform: rotate(-1.4deg);
        -ms-transform: rotate(-1.4deg);
            transform: rotate(-1.4deg);
}
.attachment-large-featured,
.attachment-feature-list {
    margin: 0 0 10px;
}
.feature .read-more {
    float: right;
    font: 1.4em 'Schmutz W01', "Courier New", "Lucida Typewriter", monospace;
    position: relative;
    top: 26px;
}
.feature-grid {
    background: #fff;
    width: 310px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}
.feature-grid.left {
    float: left;
    clear: both;
}
.feature-grid.right {
    float: right;
}

.share-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.share-links li {
    display: inline-block;
}
.share-links li + li {
    margin-left: 7px;
}
.share-links a {
    font-size: 16px;
}
.share-this {
    margin-top: 10px;
}
.share-this h5 {
    float: left;
    line-height: 36px;
    margin: 0 12px 0 0;
}
.share-this a {
    font-size: 18px;
}
.posts-nav {
    width: 410px;
    height: 50px;
    margin: 10px auto;
}
.posts-nav > div {
    width: 200px;
    height: 50px;
    line-height: 50px;
}
.posts-nav a {
    font: 19px/46px 'Schmutz W01', "Courier New", "Lucida Typewriter", monospace;
    display: block;
    width: 180px;
    background: url(images/next-prev.png);
    text-align: center;
    height: 50px;
}
.posts-nav .older {
    float: left;
}
.posts-nav .newer {
    float: right;
}
.posts-nav .older a {
    padding-left: 20px;
    background-position: 0 0;
}
.posts-nav .newer a {
    padding-right: 20px;
    background-position: -200px 0;
}
.posts-nav a:hover {
    color: #ed1c24;
}
.posts-nav .older a:hover {
    background-position:  0 -50px;
}
.posts-nav .newer a:hover {
    background-position: -200px -50px;
}
.top-secret article {
    background: #fff url(images/top-secret.jpg) 140px 40px no-repeat;
}
.classified article {
    background: #fff url(images/classified.jpg) 370px 10px no-repeat;
}
.classified .post-content > p:first-of-type {
    width: 350px;
}

/* == S E C R E T   F I L E S ============================= */

.masonry {
    width: 705px;
    margin: 0 -15px 0 0;
}
article.sfile {
    width: 200px;
    float: left;
    padding: 8px;
    margin: 0 15px 15px 0;
}
article.sfile:nth-child(3n+1) {
    clear: both;
}
article.sfile:nth-child(odd) {
}
article.sfile::before,
article.sfile::after {
    content: none;
}
.posts-nav {
    clear: both;
}
article.sfile h3 {
    font-size: 22px;
    margin: 8px 0 0;
}
/* == P R O X Y C A S T   P A G E ======================== */

.proxy-item {
    padding: 20px 0 0;
}
.proxy-item + .proxy-item {
    border-top: 1px solid #e5e5e5;
}
.proxy-thumb {
    float: left;
    margin-right: 20px;
}
.proxy-content {
    overflow: auto;
}

/* == D O S S I E R   P A G E ============================= */

.cat-list {
    padding: 0;
    margin: 0;
}
.cat-list > li {
    font: 24px 'Schmutz W01', "Courier New", "Lucida Typewriter", monospace;
    list-style-type: none;
    width: 25%;
    float: left;
}
.cat-list .children {
    margin-top: 5px;
    padding-left: 20px;
}
.cat-list .children li {
    font-size: 16px;
    line-height: 24px;
}

.tag-cloud {
    padding: 0 0 25px 0;
    text-align: justify;
    line-height: 28px;
}
.tag-cloud a {
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
    background: #000;
    color: #fff;
    padding: 2px 7px;
    margin: 0 2px 7px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    -webkit-transform-origin: 60% 100%;
    -ms-transform-origin: 60% 100%;
    transform-origin: 60% 100%;
}
.tag-cloud a:nth-child(3n+0) {
    -webkit-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    transform: rotate(-4deg);
}
.tag-cloud a:nth-child(3n+1) {
    -webkit-transform: rotate(4deg);
    -ms-transform: rotate(4deg);
    transform: rotate(4deg);
}
.tag-cloud a:nth-child(4n+1) {
    -webkit-transform: rotate(-2deg);
    -ms-transform: rotate(-2deg);
    transform: rotate(-2deg);
}


/* == G A L L E R Y ======================================= */

.gallery-item {
    float: left;
    text-align: center;
    width: 22.5%;
    margin-bottom: 3.33%;
}
.gallery-item + .gallery-item {
    margin-left: 3.33%;
}
.gallery img {
    box-shadow: 0px 0px 4px rgba(0,0,0,.4);
    padding: 5px;
    background: #f2f2f2;
    width: 100%;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* == S I D E B A R ======================================= */

.notepad {
    height: 420px;
    width: 270px;
    padding: 40px 10px 30px;
    margin: 0 0 20px;
    background: url(images/notepad.png);
}
.fortunes-widget {
    padding-bottom: 30px;
}
.fortune {
    display: table;
    height: 70px;
    width: 100%;
    vertical-align: middle;
    background: url("images/fortune1.png") no-repeat;
    font-size: 12px;
    margin: 0 0 0 5px;
    -webkit-backface-visibility: hidden;
}
.fortune:nth-child(even) {
    background-image: url("images/fortune2.png");
}
.fortune a {
    letter-spacing: normal;
    padding: 15px;
    line-height: 14px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.fortune:nth-child(even) a {
    padding: 10px 15px 20px;
}
.more-fortunes {
    display: block;
    height: 65px;
    font: bold 20px/64px 'Schmutz W01', "Courier New", "Lucida Typewriter", monospace;
    background: url(images/more-fortunes.png);
    color: #000;
    text-align: center;
}
.gads {
    text-align: center;
}

/* == F O O T E R ========================================= */

footer {
    color: #fefefe;
    position: relative;
    z-index: 1;
    padding: 10px 0 150px;
}
.footer-container {
    width: 980px;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
    font-size: 13px;
}
.footer-left {
    float: left;
    margin-left: 10px;
}
.footer-right {
    float: right;
    text-align: right;
    margin-right: 10px;
}
footer a {
    color: #fff799;
}
footer a:hover {
    color: #ed1c24;
}


/* == C O L O R B O X ===================================== */

#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
}
#cboxWrapper {
    max-width: none;
}
#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}
#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left;
}
#cboxContent {
    position: relative;
}
#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
#cboxTitle {
    margin: 0;
}
#cboxLoadingOverlay,
#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer;
}
.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
    -ms-interpolation-mode: bicubic;
}
.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}
#colorbox,
#cboxContent,
#cboxLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

/*
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/

#cboxOverlay {
    background: #000;
}
#cboxContent {
    background: #fff;
}

#colorbox {
    padding: 10px;
    outline: 0;
}
#cboxWrapper {
    overflow: visible;
    margin: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.5);
}
#cboxWrapper > div {
    z-index: 100;
    position: relative;
}
#cboxWrapper > div:nth-child(2) {
    z-index: 200;
}
#cboxWrapper:after,
#cboxWrapper:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(0,0,0,.5);
}
#cboxWrapper:before {
    -webkit-transform-origin: top left;
        -ms-transform-origin: top left;
            transform-origin: top left;
    -webkit-transform: rotate(-.7deg);
        -ms-transform: rotate(-.7deg);
            transform: rotate(-.7deg);
}
#cboxWrapper:after {
    -webkit-transform-origin: top center 0%;
        -ms-transform-origin: bottom right 0%;
            transform-origin: bottom right 0%;
    -webkit-transform: rotate(1.2deg);
        -ms-transform: rotate(1.2deg);
            transform: rotate(1.2deg);
}
#cboxTopLeft,
#cboxTopCenter,
#cboxTopRight {
    height: 8px;
    background: #fff;
}
#cboxTopLeft,
#cboxTopRight,
#cboxMiddleLeft,
#cboxMiddleRight,
#cboxBottomLeft,
#cboxBottomRight {
    width: 8px;
    background: #fff;
}
#cboxBottomLeft,
#cboxBottomCenter ,
#cboxBottomRight {
    height: 43px;
    background: #fff;
}
#cboxContent {
    background: #fff;
    overflow: visible;
}
.cboxIframe {
    background: #fff;
}
#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}
#cboxLoadedContent {
    margin-bottom: 5px;
}
#cboxLoadingOverlay {
}
#cboxLoadingGraphic {
    background: url(images/loading.gif) no-repeat center center;
}
#cboxTitle {
    position: absolute;
    bottom: -25px;
    left: 0;
    text-align: center;
    width: 100%;
    font-weight: bold;
    color: #7C7C7C;
}
#cboxCurrent {
    position: absolute;
    bottom: -31px;
    left: 58px;
    font-weight: bold;
    color: #7C7C7C;
}
#cboxPrevious,
#cboxNext,
#cboxClose {
    font-size: 18px;
    background: #fff;
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    position: absolute;
    bottom: -29px;
    width: 23px;
    height: 23px;
    font-family: fontello;
    -webkit-font-smoothing: antialiased;
    color: #ed1c24
}
#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
    outline: 0;
}
#cboxPrevious {
    left: 0px;
}

#cboxNext {
    left: 27px;
}
#cboxClose {
    right: 0;
}