/*
# ------------------ BEGIN LICENSE BLOCK ------------------
#
# This file is part of PluXml : http://www.pluxml.org
#
# Package:      theme.css
# Copyright (c) 2016 PluXml
# Authors       Jos
# Licensed under the GPL license.
# See http://www.gnu.org/licenses/gpl.html
#
# ------------------- END LICENSE BLOCK -------------------
*/
@import "plucss.css";

/*-------------------------------------------------------------------------------------------*/
/* 1. SETUP */
/*-------------------------------------------------------------------------------------------*/

/* 1.1 Defaults */

body {
    color: #444;
    font-family: helvetica, arial, sans-serif;
    background-color: #F1F1F1;
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: #333;
}

h1 {
    font-size: 2.2em
}
h2 {
    font-size: 1.8em;
}
h3 {
    font-size: 1.6em;
}
h4 {
    font-size: 1.2em;
}
h5 {
    font-size: 1em;
}
h6 {
    font-size: 0.8em;
}

hr {
    background-color: #e6e6e6;
    border:0;
    height: 1px;
    margin-bottom: 20px;
}

input, textarea {
    padding: 7px 0 7px 7px;
    border-color: #ccc #efefef #efefef #ccc;
    border-width:1px;
    border-style:solid;
}

/* 1.2 Hyperlinks */
a {
    color: #258fd6;
    text-decoration:none;
    border-bottom: 1px solid transparent;
    transition: color        ease-in-out 0.2s,
                border-color ease-in-out 0.5s;
}

a:hover {
    color: #444;
    border-color: #444;
}

h1 a:link, h1 a:visited, h2 a:link, h2 a:visited, h3 a:link, h3 a:visited,
h4 a:link, h4 a:visited, h5 a:link, h5 a:visited, h6 a:link, h6 a:visited {
    text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    border-color: transparent;
}

/*-------------------------------------------------------------------------------------------*/
/* 2. SITE STRUCTURE & APPEARANCE */
/*-------------------------------------------------------------------------------------------*/

/* 2.1 Containers & Columns */
#wrapper {
}

#page-main {
    margin-bottom: 2rem;
    max-width: 1400px;
    margin: 20px auto;
    padding: 10px;
    display: flex;
}

#blog {
    flex: 1 1 auto;
    min-width: 300px;
}

#sidebar {
    flex: 0 0 350px;
    min-width: 0;
    position: relative;
}
@media (max-width: 1280px) {
    #sidebar {
        flex: 0 0 300px;
    }
}
@media (max-width: 800px) {
    #page-main {
        display: block;
        margin: 10px auto 20px;
    }
    #sidebar {
        max-width: 500px;
        margin: auto;
    }
}

/* 2.2 Header */

#site-header {
    margin: 0 0 20px;
    padding-top: 2rem;
    /*background-color: #15138d;*/
    text-align: center;
}

#site-header h1 * {
    /*color: white;*/
    color: #444;
    text-decoration: none;
}

#site-header h2 {
    color: gray;
}

/* 2.2.1 Navigation */

#page-menu {
    background: #222;
    color: white;
    font-weight: bold;
    margin-top: 2em;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, .9);
    position: relative;
    text-align: left;
}

#page-menu > ul {
    padding: 0;
    list-style-type: none;
    max-width: 1400px;
}

#page-menu li {
    display: inline-block;
}

#page-menu li > a {
    display: inline-block;
    padding: 10px 20px;
}

#page-menu a:hover {
    background: rgba(255, 255, 255, .1);
}

.nav .menu.expanded li:hover {
    background-color: #555;
}
.nav a {
    color: #eee;
}
@media (max-width: 767px) {
    .nav {
        background-color: #fff;
        border-bottom: 1px solid #bbb;
        height: auto;
        left: 0;
        max-height: 200px;
        overflow-y: auto;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 9999;
    }
    .nav .menu.expanded li:hover {
        background-color: #ddd;
    }
    .nav a {
        color: #258fd6;
    }
    .nav a:hover {
        color: #444;
    }
    .responsive-menu label {
        background-color: #222;
    }
    .header {
        margin-top: 2rem;
    }
}



/* ---------- Main ---------- */
img {
    border: 0;
    height: auto;
    max-width: 100%;
}

.repertory {
    margin-top: 2rem;
}
.pagination a {
    background-color: #258fd6;
    color: #fff;
    padding: .525rem .7rem;
}
.pagination a:hover {
    background-color: #3a6c96;
    color: #fff;
    text-decoration: none;
}
.pagination span:first-letter,
.pagination a:first-letter {
    text-transform: uppercase;
}
.p_first,
.p_prev,
.p_current,
.p_next,
.p_last {
    display: inline-block;
}

/* ---------- Article ---------- */
.article {
  border-radius: 3px;
  box-shadow: 0px 0px 0.2rem #888;
  transition: box-shadow ease-in-out 0.5s;
}
.article:hover {
        box-shadow: 0px 0px 0.6rem #555;
}

.article header {
  padding: 1em;
}

.article section {
  padding: 1rem;
  background-color: white;
}

.article footer {
  padding: 1rem;
}

.article header h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
}
.article header h1 a {
    color: #444;
}
.article header h1 a:hover {
    color: #258fd6;
    text-decoration: none;
}
.article img.art_thumbnail {
    padding: 15px 0 10px 0;
}
.article,
.pagination {
    margin-bottom: 2rem;
        margin-top: 2rem;
}
.article.static {
    margin-bottom: 0;
}

.article section h1, .article section h2, .article section h3, .article section h4 {
    margin: 2rem 0 1rem 0;
}

/* ---------- Comment ---------- */

.comment {
    background-image: url('../img/user.png');
    background-repeat: no-repeat;
    margin-bottom: 2rem;
    padding-left: 4rem;
}
.comment blockquote {
    margin: 0;
}
.type-admin {
    background-color: #F0F8FF;
    padding: 2px 5px;
}
.nbcom {
    background-color: #258fd6;
    color: #fff;
    padding: .2rem .3rem;
}
.nbcom:hover {
    background-color: #3a6c96;
    color: #fff;
    text-decoration: none;
}
.level-0 {
    margin-left: 0;
}
.level-1 {
    margin-left: 50px;
}
.level-2 {
    margin-left: 100px;
}
.level-3 {
    margin-left: 150px;
}
.level-4 {
    margin-left: 200px;
}
.level-5,
.level-max {
    margin-left: 250px;
}
#id_answer {
    margin-bottom: 10px;
    padding:15px;
    border:1px solid #eee;
    width:100%;
    background:#fafafa;
    display:none;
}
.capcha-letter,
.capcha-word {
    font-weight: bold;
}
.capcha-word {
    background-color: #ccc;
    letter-spacing: 0.3em;
    padding: .525rem .7rem;
}

/* ---------- Aside ---------- */

.aside {
  flex: 0 0 350px;
    padding-left: 3rem;
}
@media (max-width: 768px) {
    .aside {
        margin-top: 2rem;
        padding-left: 1rem;
    }
}
.aside h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 2rem;
    text-transform: uppercase;
}
.aside ul {
    margin: 0;
}
.aside li:first-letter {
    text-transform: uppercase;
}
.aside ul.tag-list {
    list-style-type: none;
    padding-left: 0;
}
.aside ul.tag-list li {
    display: inline-block;
    margin-right: 1rem;
}
.aside ul.tag-list li.tag-size-1 {
    font-size: 1rem;
}
.aside ul.tag-list li.tag-size-2 {
    font-size: 1.1rem;
}
.aside ul.tag-list li.tag-size-3 {
    font-size: 1.2rem;
}
.aside ul.tag-list li.tag-size-4 {
    font-size: 1.3rem;
}
.aside ul.tag-list li.tag-size-5 {
    font-size: 1.4rem;
}
.aside ul.tag-list li.tag-size-6 {
    font-size: 1.5rem;
}
.aside ul.tag-list li.tag-size-7 {
    font-size: 1.6rem;
}
.aside ul.tag-list li.tag-size-8 {
    font-size: 1.7rem;
}
.aside ul.tag-list li.tag-size-9 {
    font-size: 1.8rem
}
.aside ul.tag-list li.tag-size-10 {
    font-size: 1.9rem;
}
.aside ul.tag-list li.tag-size-max {
    font-size: 2rem;
}

/* ---------- Footer ---------- */

.footer {
    border-top: 3px solid #444;
    padding: 2rem 0;
    text-align: center;
}
.footer p {
    margin: 0;
}

.video-container {
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:0;
    overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}