@font-face {
    font-family: "League Spartan";
    src: url(LeagueSpartan.otf);
}

@font-face {
    font-family: Aleo;
    src: url(aleo.ttf);
}

@font-face {
    font-family: "League Gothic";
    src: url(LeagueGothic.otf);
}

html {
    background: #1a1a1a url(antonio-ron-225145_tinted.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: 100vh;
}

html.publications.iv {
    background: #000 url(no-iv.png) no-repeat center center fixed;
}

html.publications.axf {
    background: #000 url(iv/axf/axf.png) no-repeat center center fixed;
}

html.publications.zine {
    background: #000 url(docs/Perspectives.jpg) no-repeat center center fixed;
}

html.publications.zine h1, html.publications.zine h2, html.publications.zine h3 {
    font-family: "League Gothic",Helvetica,sans-serif !important;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 1.5;
    line-height: 1;
}

html.publications.zine h1 {
    font-size: 5em;
}

html.publications.zine h2 {
    font-size: 3em;
}

html.publications.zine h3 {
    font-size: 1.5em !important;
    padding-top: 0 !important;
    font-family: "League Spartan",Helvetica,sans-serif !important;
}

.home nav a.home,
.documents nav a.documents,
.publications nav a.publications {
    border-bottom: 7px solid #fff;
}

body {
    color: #fff;
    font-family: Aleo;
    margin: 0;
}

.publications header {
    background: -moz-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}

header {
    padding: 20px 0;
    font-family: "League Spartan";
}

header section, article {
    margin: 0 auto;
}

.columns br, hr {
    clear: both;
}

hr {
    clear: both;
    height: 10px;
    background: #eee;
    border: none;
}

ul a:hover {
    color: #6be;
}

header a {
    color: #fff;
    text-decoration: none;
}

header div {
    display: inline-block;
    background: url(day_logo.png) left center no-repeat;
    background-size: 100px;
    padding: 10px 0 1px 0;
}

header div a {
    display: inline-block;
    padding-left: 87px;
    font-size: 1.5em;
}

nav {
    display: inline-block;
    float: right;
}

nav ul {
    padding: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    display: inline-block;
    line-height: 56px;
    margin: 14px 20px;
    color: #fff;
    text-decoration: none;
}

nav ul li a.current {
    border-bottom: 7px solid #fff;
}

h1 {
    display: inline-block;
    color: #000;
    background: #fff;
    padding: 3% 5% 2% 999px;
    margin: 0 0 0 -999px;
    font-size: 2em;
}

.publications article {
    background: #fff;
    color: #1a1a1a;
    width: 100%;
    box-shadow: 0 0 30px #000;
}

.publications section#content {
    padding: 10vh 0;
    width: 1024px;
    margin: 0 auto;
}

.publications section#content p:first-child:first-letter {
    float: left;
    font-size: 3em;
    line-height: 0.8em;
    padding-right: 0.1em;
    padding-top: 0.05em;
}

.publications section#title {
    height: 25vh;
    width: 1024px;
    margin: 0 auto;
}

.publications article p {
    font-size: 1.2em;
}

.publications article p a {
    color: #7bf;
    text-decoration: none;
    border-bottom: 2px solid #6be;
}

.publications article p a:hover {
    color: #6be;
    border-bottom: 2px solid #fff;
}

.publications header {
    height: 70vh;
}

blockquote.right {
    width: 40%;
    background: #fff;
    padding: 5px 25px;
    color: #1a1a1a;
    float: right;
    margin: 0 0 10px 30px;
    font-family: Helvetica,Arial,sans-serif;
    border-top: 7px solid #000;
    border-bottom: 1px solid #000;
}

blockquote p {
    font-size: 0.9em !important;
}

article #welcome h1 {
    font-size: 1em;
}

h1 p {
    margin: 0;
    font-family: Aleo;
    font-weight: normal;
    line-height: 1.5;
    font-size: 1.2em;
    color: #321;
}

h1 p a {
    color: #654;
    text-decoration: none;
}

h1 p a:hover {
    color: #987;
    text-decoration: underline;
}

h1 p strong {
    margin: 0;
    font-family: "League Spartan";
    text-transform: uppercase;
}

article section#welcome {
    width: 640px;
    float: left;
    display: inline-block;
}

article section ul {
    margin: 0;
    padding: 0;
}

article section ul li {
    list-style-type: none;
    border-left: 7px solid #fff;
    padding-left: 13px;
    margin: 5% 0 5% -20px;
}

.axf h1 {
    background: #1a1a1a;
}

.axf h1 strong {
    color: #fff;
}

.publications article section#content h2 {
    font-family: "League Spartan";
}

.publications article section#content h3 {
    font-family: "League Spartan";
    font-size: 3em;
    margin: 0.5em 0 0;
    padding-top: 3em;
    line-height: 1.1;
    clear: right;
}

.publications article section#content h3 span {
    border: 1px solid #c44;
    font-size: 0.4em;
    font-family: Helvetica;
    font-weight: normal;
    padding: 0 18px 6px 14px;
    border-radius: 10px;
    display: inline-block;
    margin: 0 0 0 20px;
    position: relative;
    bottom: 18px;
}

.publications article section#content h3 span .red {
    font-family: "League Spartan";
    font-size: 2em;
    position: relative;
    top: 18px;
}

.publications article section#content h4 {
    font-family: "League Spartan";
    font-size: 2.4em;
    margin: 2em 0 0;
    line-height: 1.1;
    clear: right;
    border-top: 10px solid #eee;
    padding-top: 25px;
}

.publications article section#content h4 .red {
    width: 0.5em;
    display: inline-block;
    margin-left: -0.5em;
}

.publications article section#content .red {
    color: #c44;
}

.axf article section#content p {
    margin: 0 0 1em;
    font-family: "League Spartan";
    color: #999;
}

.axf article a.doc {
    border: 10px solid #eee;
    float: right;
    margin: 0 0 20px 10px;
    clear: right;
}

.axf article a.doc:hover {
    border: 10px solid #6be;
}

.publications article section#content ul {
    margin: 0 0 3em;
}

.publications article section#content ul li {
    margin: 1em 0;
    padding: 0;
    max-width: 600px;
    line-height: 1.1;
    color: #666;
    border-left: 0;
}

.publications article section#content ul li em {
    font-weight: normal;
    font-family: Aleo;
}

.publications article section#content ul li strong {
    font-family: Helvetica,Arial,sans-serif;
    display: block;
    font-size: 1.4em;
    color: #1a1a1a;
}

article section ul li a {
    color: #fff;
    text-decoration: none;
}

article section ul li h2 {
    margin: 0;
    font-family: "League Spartan";
    text-transform: uppercase;
    font-size: 2em;
}

article section ul li h3 {
    margin: 0;
    font-family: "League Spartan";
    text-transform: uppercase;
    font-size: 1.2em;
}

article section ul li p {
    margin: 0;
}

article section#documents ul li {
    border: none;
    width: 28%;
    margin: 0;
    padding: 5% 5% 5% 0;
    display: inline-block;
}

article section#publications ul li {
    border: none;
    width: 47%;
    margin: 0;
    padding: 5% 5% 5% 0;
    display: inline-block;
}

article section#publications li.endcap {
    padding-right: 0;
}

article section ul li img {
    width: 100%;
    padding-bottom: 2%;
}

article section#fb {
    float: right;
    display: inline-block;
    border-top: 1px solid #36a;
}

article section#fb p {
    margin: -8px 0 0;
    width: 340px;
}

article section#fb p.shirts a {
    border-top: 1px solid #d44;
    background: #d44;
    line-height: 2.4;
    padding: 0 0 5px;
}

article section#fb p a {
    display: block;
    text-align: center;
    background: #36a;
    color: #fff;
    font-size: 0.7em;
    font-family: "League Spartan";
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 0 10px;
}

article section#fb p a span {
    font-family: Aleo;
    text-transform: lowercase;
}

article section#fb p a:hover {
    text-decoration: underline;
}

article section#pubs li.perspectives {
    background: url(http://daypsi.org/docs/Perspectives.jpg) center no-repeat;
    background-size: cover;
    padding-left: 0;
}

article section#pubs li.iv {
    background: url(http://daypsi.org/no-iv.png) center no-repeat;
    background-size: cover;
    padding-left: 0;
}

article section#pubs li.axf {
    background: url(http://daypsi.org/iv/axf/axf.png) center no-repeat;
    background-size: cover;
    padding-left: 0;
}

article section#pubs li a {
    background: rgba(0, 0, 0, 0.5);
    display: block;
    padding: 4% 30% 4% 4%;
}

article section#pubs li a:hover {
    background: rgba(0, 0, 0, 0.75);
}

article section {
    margin-bottom: 80px;
}

article section#pubs {
    margin-bottom: 100px;
}

article section#pubs > p {
    font-size: 1.4em;
}

footer {
    position: fixed;
    bottom: 0;
    background: #1e1e1e;
    border-top: 1px solid #2a2a2a;
    width: 100%;
    text-align: center;
    color: #555;
    font-size: 0.7em;
    cursor: default;
    font-family: Helvetica,Arial,sans-serif;
    box-shadow: 0 0 30px #000;
}

.publications footer {
    position: relative;
}

footer p {
    margin: 0 auto;
    width: 1024px;
    background: #1a1a1a;
    height: 20px;
    padding: 12px 0 8px;
}

footer a {
    color: #777;
    text-decoration: none;
}

footer a:hover {
    color: #aaa;
    text-decoration: underline;
}

footer a.facebook:hover {
    color: #36a;
}

footer a.instagram:hover {
    color: #a36;
}

footer a.soundcloud:hover {
    color: #a63;
}

footer span a {
    cursor: default;
    color: #555;
}

footer span a:hover {
    text-decoration: none;
    color: #912;
}

@media all and (min-width: 1080px) {
    body {
        font-size: 1.25em;
    }
    article {
        line-height: 1.5;
    }
    header section, article {
        width: 1024px;
    }
}

@media all and (max-width: 1079px) {
    body {
        font-size: 1.2em;
    }
    header section {
        width: 90%;
        margin: 2.5% 5%;
        position: relative;
    }
    footer {
        margin: 5% auto 0;
        padding: 0 5%;
    }
    footer, footer p {
        width: 90%;
        position: relative;
    }
    footer p {
        padding: 5%;
        font-size: 1.2em;
        line-height: 3;
    }
    h1 {
        width: 90%;
        padding: 4% 5% 3%;
        margin: 0;
        font-size: 1.2em;
    }
    article section {
        float: none;
        display: block;
        background: none;
        width: 90% !important;
        margin: 0 5%;
    }
    article section ul li {
        border-left: none;
        padding-left: 2.5%;
        margin: 7.5% 0;
    }
    article section#fb p a {
        font-size: 1em;
    }
    header nav ul {
        margin: 7.5% 0;
    }
    header nav ul li:first-child,
    article section#fb iframe,
    article section#fb p img,
    .trim {
        display: none;
    }
    article section#fb {
        border-top: 0;
    }
    article section#fb p {
        width: 100%;
    }
    article section#fb p.shirts a {
        padding: 2.8vh 2vh 2.4vh;
    }
    article section#fb p a {
        padding: 4vh 2vh;
    }
    article section#documents ul li {
        width: 100%;
        margin: 0;
        padding: 5% 5% 5% 0;
        display: block;
    }
    .publications section#content {
        width: 90%;
        padding: 5%;
        line-height: 1.5;
    }
    .publications section#title {
        width: 90%;
        margin: 0;
    }
    .publications article p {
        font-size: 1em !important;
    }
    .publications blockquote {
        float: none;
        width: 85%;
        padding: 5% 7.5%;
        margin: 0;
    }
    html.publications.axf {
        background: #000 url(iv/axf/axf.png) no-repeat center left fixed;
    }
    .axf article a.doc {
        float: none;
        display: inline-block;
        margin: 0 20px 10px 0;
    }
    footer p {
        height: auto;
        line-height: 2;
    }
}

@media all and (max-width: 929px) {
    header {
        text-align: center;
    }
    header div a {
        text-align: left;
    }
    header nav {
        float: none;
        display: block;
        margin: 0;
    }
    header nav ul {
        margin: 0;
        text-align: center;
    }
}
