/*  
Theme Name: termlove
Theme URI: http://github.com/eskerda/termlove
Version: 1.0
Author: eskerda
Author URI: http://eskerda.com
Description: For the ones that spend too much time on the term
*/

@import url("css/normalize.css");
@import url("css/main.css");
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,300,600);

html {
    color: #CCC;
    background-color: #000;
    font-family: 'Open Sans', sans-serif;
}

/** General shared styling of elements **/

a {
    text-decoration: none;
    color: #00FF00;
}

a:hover {
    text-decoration: underline;
}

a.custom {
    text-decoration: none;
    color: inherit;
}

a.custom:hover {
    text-decoration: none;
}

header {
    background-color: #111;
    border-color: #222;
    border-style: solid;
    color: #CCC;
    font-weight: 300;
}

main {
    height: 100%;
    padding: 20px;
}

pre {
    font-family: monospace;
    font-size: 1em;
    color: #FFF;

    white-space: pre;
    word-wrap: normal;
    overflow-x: auto;
    padding: 1em 1em;

    background-color: #111;
    border-color: #222;
    border-style: solid;
    border-width: 0 0 0 4px;
}

nav ul {
    margin: 0px;
    padding: 0px;
}

nav ul li {
    margin: 0px;
    padding: 0px;
}

blockquote {
    position: relative;
    margin-left: 45px;
}

blockquote cite {
    font-style: normal;
}

blockquote:before{
    position: absolute;
    top: -50px;
    left: -50px;
    height: 0px;
    width: 0px;
    font-family: sans-serif;
    font-style: normal;
    font-size: 8em;
    content: '\201C';
    opacity: 0.4;
}

.alignleft {
    display: inline-block;
    float: left;
    margin-right: 1em;
    margin-bottom: 10px;
}

.alignright {
    display: inline-block;
    float: right;
    margin-left: 1em;
    margin-bottom: 10px;
}

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

div.wp-caption p.wp-caption-text {
    text-align: right;
    font-size: 0.8em;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -1px;
}

/** Main menu styling **/

header#main {
    padding-top: 20px;
}

header#main h2, header#main p {
    text-align: center;
}

header#main nav ul li {
    border-color: transparent;
    border-style: solid;
    font-size: 1.5em;
}

header#main nav ul li a {
    padding: 10px;
    color: inherit;
}

header#main nav ul li:hover, header#main nav ul li.current-menu-item{
    border-color: #00FF00;
}

header#main nav ul li:hover a, header#main nav ul li.current-menu-item a{
    text-decoration: none;
    color: #00FF00;
}

header#main div.description img {
    border-radius: 50%;
    border: solid 4px #222;
}

header#main div#poweredby {
    font-size: 0.6em;
    font-weight: 900;
    color: #444;
    text-align: center;
}

header#main div#poweredby span {

}

header#main div#poweredby ul {
    list-style-type: none;
    padding: 0px; margin: 0px;
    display: inline-block;
    vertical-align: top;
}

header#main div#poweredby ul li {
    padding: 0px; margin: 0px;
    display: inline-block;
    vertical-align: top;
}

header#main div#poweredby ul li:before {
    content: "+";
}
header#main div#poweredby ul li:first-child:before {
    content: " ";
}

header#main div#poweredby ul li a {
    color: inherit;
}

header#main div#poweredby ul li a:hover {
    text-decoration: none;
    text-shadow: 0px 0px 10px #0F0;
    color: #0F0;
}

/** Article Styling **/

article {
    font-weight: 400 !important;
}

article header {
    padding: 5px 20px 20px 20px;
    border-width: 0 0 0 4px;
    position: relative;
    border-color: #00FF00;
}

article header h1{
    font-weight: 300;
}

article header h1 a{
    color: #ABABAB;
}

article header .entry-meta {

}

article header .entry-meta span.comments-link {
    float: right;
}

article header .entry-meta span.comments-link a{
    text-transform: uppercase;
    font-size: 0.9em;
    color: #969696;
    font-weight: 400;
}

article header .entry-meta span.comments-link a:hover {
    color: #0F0;
    text-decoration: none;
}

article p{
    line-height: 1.8em;
}

article div.content div.thumbnail {
    display: inline-block;
    float: right;
    margin: 1em 0 0 1em;
}

article div.content div.thumbnail img {

}

article ul {
    list-style: disc inside;
}

article div.content h1,
article div.content h2,
article div.content h3,
article div.content h4,
article div.content h5,
article div.content h6 {
    font-weight: 400;
}

article div.content img {
    max-width: 100%;
}

article div.content a {
    word-wrap: break-word;
}

/** Blog pagination **/

nav#pagination {
    display: table;
    width: 100%;
}

nav#pagination ul {

}

nav#pagination ul li {
    display: inline-block;
}

nav#pagination ul li.future {
    float: left;
}

nav#pagination ul li.future a:before{
    content: '\00AB\0020';
}

nav#pagination ul li.past {
    float: right;
}

nav#pagination ul li.past a:after{
    content: '\0020\00BB';
}

/** Article Comment List **/

section#comments {
    width: 95%;
    margin: 0 auto;
}

section#comments h2 {
    font-size: 18px;
    display: block;
    font-weight: 400;
    text-transform: uppercase;
}

section#comments ol.comment-list,
section#comments ol.children {
    list-style-type: none;
}

section#comments ol.comment-list {
    padding: 0;
    margin: 0;
}

section#comments ol.children {
    padding: 0 0 0 20px;
    margin: 0;
    border-left: dashed 1px #111;
}

section#comments li.comment {
    margin: 2px 0 0 0;
    padding: 8px 0 0 0;
}

section#comments li.comment ol li.comment {

}

li.comment article.comment-body {

}

li.comment article.comment-body footer {

}

li.comment article.comment-body footer div.vcard {
    position: relative;
}

li.comment article.comment-body footer div.vcard img {
    position: absolute;
    top: 0px;
    width: 34px;
    height: 34px;

    padding: 2px;
    border: solid 1px #111;
}

li.comment article.comment-body footer div.vcard b {
    padding-left: 48px;
    font-size: 0.9em;
    vertical-align: top;
}

li.comment article.comment-body footer div.vcard b a {
    color: #FFF;
    vertical-align: top;
}

li.comment article.comment-body footer div.vcard span.says {
    display:none;
}

li.comment article.comment-body footer div.comment-metadata {
    padding-left: 48px;
    font-size: 0.8em;
    text-transform: uppercase;
}

li.comment article.comment-body footer div.comment-metadata a {
    color: #969696;
}

li.comment article.comment-body footer div.comment-metadata span a {
    color: #0F0;
}

li.comment article.comment-body div.comment-content {

}

li.comment article.comment-body div.comment-content p{
    margin: 4px 0 0 0;
    font-size: 0.95em;
    font-weight: 300;
    padding: 0 4px 0 4px;
}

section#comments li.comment article.comment-body div.reply {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: -1px;
}

section#comments li.comment article.comment-body div.reply a{
    color: #969696;
}

section#comments li.comment article.comment-body div.reply a:hover {
    color: #0F0;
    text-decoration: none;
}

section#comments li.comment article.comment-body div.reply a:before {
    content: "\21B3";
}

section#comments p.nocomments {
    text-transform: uppercase;
    font-size: 0.9em;
    color: #969696;
}

/** Article Comment Form **/

section#comments div#respond,
section#comments div#respond *,
section#comments div#respond *:before,
section#comments div#respond *:after {
    box-sizing: border-box;
}

section#comments div#respond {
    width: 100%;
}

section#comments ol.comment-list div#respond {
    border-left: dashed 1px #111;
    padding-left: 20px;
}

section#comments div#respond h3#reply-title {
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
}

section#comments div#respond h3#reply-title a#cancel-comment-reply-link {
    color: #969696;
    margin-left: 10px;
}

section#comments div#respond h3#reply-title a#cancel-comment-reply-link:hover {
    text-decoration: none;
    color: #0F0;
}

section#comments div#respond form p label {
    font-weight: 300;
}

section#comments div#respond form p input[type=text],
section#comments div#respond form p textarea {
    width: 100%;
    padding: 8px 10px 7px;
    color: #FFF;
    background-color: #111;

    border-color: #222;
    border-style: solid;
    border-width: 0px;
    border-radius: 2px;

    transition: .15s background, .15s border-width, .15s border-radius;
}

section#comments div#respond form p input[type=text]:focus,
section#comments div#respond form p textarea:focus {
    outline: 0;
    border-color: #00FF00;
    background-color: #222;
    border-width: 0px 0px 0px 4px;
    border-radius: 0px;
}

section#comments div#respond form p.logged-in-as,
section#comments div#respond form p.comment-notes,
section#comments div#respond form p.form-allowed-tags {
    font-size: 0.9em;
    color: #A6A6A6;
}

section#comments div#respond form p.form-submit input {
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'Open Sans';
    padding: 10px 30px 11px;
    font-size: 14px;
    letter-spacing: -1px;

    color: #FFF;
    background-color: #111;
    border-style: solid;
    border-width: 0;
    border-radius: 2px;
    outline: 0;
    text-shadow: 0 .1rem rgba(0,0,0,.2);
    transition: .15s background, .15s box-shadow;
}

section#comments div#respond form p.form-submit input:hover,
section#comments div#respond form p.form-submit input:focus {
    background-color: #222;
}

section#comments div#respond form p.form-submit input:active {
    color: #111;
    box-shadow: 0px 0px 10px #0F0;
    background-color: #0F0;
}

/* Footer */
footer.main {
    padding-top: 20px;
}

/* Media Queries */

/* MOBILE FIRST */

html {
    height: 100%;
}

body {
    padding: 0px;
    margin: 0px;
}

header {
    border-width: 0 0 4px 0;
}

div.header-container {

}

header#main {
    border-width: 0 0 4px 0;
}

header#main nav ul {
    margin-bottom: -4px;
    text-align: center;
}

header#main nav ul li {
    border-width: 0 0 4px 0;
    display: inline-block;
}

header#main nav ul li a {
    display: block;
}

header#main h2, header#main p {
    margin: 0px;
    padding: 0px;
}

header#main div.description img {
    display: none;
}

header#main div#poweredby {
    display: none;
}


article .content{
    margin: 0 auto;
    width: 95%;
}

/* MEDIUM (tablets) */
@media only screen and (min-width: 480px) {

    div.header-container {

    }

    div.main-container {

    }

    header#main {
        position: relative;
    }

    header#main div.description {
        display: block;
        margin-right: 280px;
    }

    header#main nav {
        position: absolute;
        right: 0px;
        bottom: 0px;
    }

    header#main nav ul {

    }

    header#main nav ul li {

    }

    header#main nav ul li a {

    }
}

/* WIDE */
@media only screen and (min-width: 768px) {

    div.header-container {
        position: fixed;
        width: 25.46%;
        height: 100%;
        margin-left: 74.54%;
    }

    div.main-container {
        height: 100%;
        width: 74.54%;
        margin: 0 0;
    }

    header#main {
        height: 100%;
        border-width: 0 0 0 4px;
    }

    header#main div.description {
        display: block;
        margin: 0 auto;
    }

    header#main nav {
        position: relative;
    }

    header#main nav ul {
        margin-left: -4px;
    }

    header#main nav ul li {
        text-align: left;
        display: block;
        border-width: 0 0 0 4px;
    }

    header#main nav ul li a {
        display: block;
    }

    header#main div.description {
        text-align: center;
    }

    header#main h2, header#main p {
        margin: 5px;
    }

    header#main div.description img {
        display: inline-block;
    }

    header#main div#poweredby {
        display: block;
        position: absolute;
        bottom: 24px;
        right: 6px;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    div.header-container {
        position: fixed;
        width: 280px;
        right: 0px;
    }

    div.main-container {
        width: 860px;
        margin: 0 auto;
        padding-right: 280px;
    }
}

pre.nostyle {
	background-color: transparent;
	border: 0 transparent;
}

pre.center {
	width: 300px;
	margin: 0 auto;
}