/**
 * http://github.com/eliasson/liquorice/
 *
 * Copyright © 2014. Markus Eliasson <markus.eliasson.gmail.com>
 * Modified by Dhole <dhole at riseup dot net>
 *
 * Liquorice is released under the MIT license.
 *
 * The CSS grid used by liquorice is based on the Skeleton grid:
 *
 *   Skeleton V1.2
 *   Copyright 2011, Dave Gamache
 *   www.getskeleton.com
 *   Free to use under the MIT license.
 */

/** States **/
.li-right {
    float: right;
}

.li-left {
    float: left;
}

/** Base **/
body {
    font-family: sans-serif;
    color: #e0e0e0;
    background-color: #1a1a1a;
    margin: 0;
    line-height: 1.5;
}

a,
a:active,
a:hover,
a:visited {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h1,h2,h3,h4,h5,h6 {
    color: #ffffff;
    font-weight: normal;
}

img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

figcaption {
    display: block;
    text-align: center;
}

embed {
    text-align: center;
}

code {
    font-family: monospace;
    color: #f8f8f2;
    background-color: #272822;
}

table, th, td {
    border: 0.1em solid;
    border-collapse: collapse;
}
th, td{
    padding: 0.5em;
}
table figure {
  margin: 0em;
}

/** Screen furniture **/
.li-page-header {
    background-color: #000;
    color: #fff;
    padding: 8px 0px;
}

.li-page-header ul {
    list-style: none;
    margin: 0px;
    line-height: 30px;
}

.li-page-header ul li {
    float: left;
    list-style: none;
    line-height: 30px;
    margin-left: 30px;
}

.li-page-header ul li a,
.li-page-header ul li a:active,
.li-page-header ul li a:hover,
.li-page-header ul li a:visited {
    color: #ccc;
    font-weight: normal;
    text-decoration: none;
}

.li-page-header ul li a:active,
.li-page-header ul li a:hover {
    color: #fff;
}

.li-page-header .li-brand a,
.li-page-header .li-brand a:active,
.li-page-header .li-brand a:hover,
.li-page-header .li-brand a:visited {
    color: #fff;
    font-weight: bold;
    font-size: 2em;
    text-decoration: none;
}

.li-page-header .li-menu-icon,
.li-page-header .li-menu-mobile {
    display: none;
}

/** Article **/
.li-article {
    margin-bottom: 32px;
}

.li-article pre {
    background-color: #282828;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
}

ul.li-article-list {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.li-article-title {
    font-weight: bold;
    padding: 24px 0px;
}

.li-article-categories {
    font-size: normal;
    float: right;
    margin-bottom: 16px;
}

.li-article-list time {
    float: right;
}

.li-article-section {
    padding: 8px 0px;
    clear: both;
}

.li-article-date {
    color: #999;
    font-size: smaller;
    float: left;
    margin-bottom: 10px;
}

.li-article-header {
    clear: both;
}

.li-article-footer {
    border-top: 1px solid #ccc;
}

.li-article-body {
    clear: both;
}

.li-pagination {
    border-top: 1px solid #ccc;
    margin-top: 32px;
    padding-top: 16px;
}

.li-pagination-previous {
    float: left;
}

.li-pagination-next {
    float: right;
}

.li-page-footer {
    font-size: smaller;
    padding: 48px 0px 32px 0px;
}

.li-page-footer-legal {
    float: left;
}

.li-page-footer-theme {
    float: right;
}

.li-main-article-list {
    margin-top: 64px;
}

.video-player {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.video-player iframe,
.video-player object,
.video-player embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/** Mobile Portrait **/
@media only screen and (max-width: 767px) {
    .li-page-header {
        padding: 16px 0px;
    }

    .li-main-article-list {
        margin-top: 64px;
    }

    .li-page-header .li-menu-icon {
        cursor: pointer;
        display: block;
        float: right;
        line-height: 30px;
    }

    .li-page-header .li-menu-items {
        clear: both;
        display: none;
    }

    .li-page-header ul.li-menu-items {
        list-style-type: none;
        margin: 0px;
        padding: 0px;
    }

    .li-page-header .li-menu-items li {
        margin-left: 0px;
        padding: 12px 0px;
        text-align: center;
        width: 100%;
    }

    .li-page-header .li-menu-items li {
        border-top: 1px solid #ccc;
    }

    .li-page-header .li-menu-items li:first-of-type  {
        border-top: none;
    }

    .li-pagination-previous,
    .li-pagination-next,
    .li-page-footer-legal,
    .li-page-footer-theme {
        float: none;
        text-align: center;
        padding: 8px 0px;
    }
}

/*
 * Skelton grid (www.getskeleton.com)
 */

/** Desktop **/
.container                                  { position: relative; width: 960px; margin: 0 auto; padding: 0; }
.container .column,
.container .columns                         { display: inline; margin-left: 10px; margin-right: 10px; }
.row                                        { margin: auto; }

/* Nested Column Classes */
.column.alpha, .columns.alpha               { margin-left: 0; }
.column.omega, .columns.omega               { margin-right: 0; }

/* Base Grid */
.container .eight.columns                   { width: 460px; }
.container .sixteen.columns                 { width: 940px; }

.container .one-third.column                { width: 300px; }
.container .two-thirds.column               { width: 620px; }

/** Tablet Portrait **/
@media only screen and (min-width: 768px) and (max-width: 959px) {
    .container                                  { width: 768px; }
    .container .column,
    .container .columns                         { margin-left: 10px; margin-right: 10px;  }
    .column.alpha, .columns.alpha               { margin-left: 0; margin-right: 10px; }
    .column.omega, .columns.omega               { margin-right: 0; margin-left: 10px; }
    .alpha.omega                                { margin-left: 0; margin-right: 0; }

    .container .eight.columns                   { width: 364px; }
    .container .sixteen.columns                 { width: 748px; }

    .container .one-third.column                { width: 236px; }
    .container .two-thirds.column               { width: 492px; }
}

/** Mobile Portrait **/
@media only screen and (max-width: 767px) {
    .container { width: auto; margin-left: 10px; margin-right: 10px; }
    .container .columns,
    .container .columns { margin-left: 0; margin-right: 0; }

    .container .eight.columns,
    .container .sixteen.columns,
    .container .two-thirds.column  { width: inherit; }

}

/** Clearing **/
/* Self Clearing Goodness */
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

/* Use clearfix class on parent to clear nested columns,
or wrap each row of columns in a <div class="row"> */
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.row:after,
.clearfix:after {
    clear: both;
}

.row,
.clearfix {
    zoom: 1;
}

/* You can also use a <br class="clear" /> to clear columns */
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
