@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    --header-height: 7rem;
    --header-padding-top: 1.3rem;
    --bg-height: 0px;
    font-family: 'open_sansregular', sans-serif;
    font-size: 1.em;
    line-height: 1.6em;
    color: #3A4145;
    background-color: #fff;
}

.heading-small {
    font-size: 2rem;
}

.header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding-top: var(--header-padding-top);
    height: var(--header-height);
    z-index: 2;
}

.header a {
    color: #222;
}

.header a:hover {
    text-decoration: none;
}

.logo {
    background: url("../img/pluxml-logo-black.png") top left no-repeat;
    height: calc(var(--header-height) + var(--bg-height) - var(--header-padding-top));
    height: calc(var(--header-height) + var(--bg-height) - var(--header-padding-top));
    background-size: 6rem;
    background-position: 5rem 0;
    padding-left: 12rem;
    margin-left: -5rem;
}

.bg {
    background: url(../img/bg.jpg) no-repeat top left;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: var(--bg-height);
}

.nav {
    text-align: right;
    padding-top: 0;
}

ul.menu {}

.menu > li {
    font-size: 1.5rem;
    margin-left: .5rem;
}

.menu a {
    border-bottom: 3px solid transparent;
}

.menu a:hover {
    border-bottom: 3px solid #222;
}

.menu > li > span {
    cursor: default;
}

.menu > li ul {
    position: absolute;
    padding: 0;
    line-height: 2.8rem;
    z-index: 10;
}

.menu > li:last-of-type ul {
    right: 0;
}

.menu > li:not(:hover) ul {
    display: none;
}

.menu ul li {
    display: block;
    margin: 0;
    padding: 0 1rem;
    background-color: #fff;
    text-align: left;
}

.menu .sub-menu {
    overflow-y: auto;
}

.menu .sub-menu li {
    padding: 0 .35rem;
}

.menu .sub-menu li:last-of-type {
    padding-bottom: .35rem;
}

.menu > li span::before {
    content: '25bc';
    padding-right: .5rem;
}

ul.menu .noactive:hover,
ul.menu .active span,
ul.menu span.active,
ul.menu li.active a,
ul.menu a.active,
ul.menu li span:hover,
ul.menu li a:hover {
    color: #222 !important;
    text-decoration: none;
}

ul.menu li span,
ul.menu li a {
    display: inline-block;
    padding-left: .35rem;
    padding-right: .35rem;
    width: 100%;
    background-color: rgba(255,255,255,.55);
    border-radius: 1px;
    color: #222;
    white-space: nowrap;
}

ul.menu li span a,
ul.menu li a span {
    white-space: nowrap;
    display: inline;
    margin-right: -.35rem;
    padding-left: 0;
}

ul.menu li.noactive a,
ul.menu a.noactive {
    border-radius: 1px;
    color: #222;
}

.cat-list .active,
.classified-in .active {
    background-color: #222;
    color: #fff;
}

.main {
    background-color: #fff;
    padding-top: 2rem;
}

.repertory {
    margin-top: 4rem;
}

.pagination {
    margin: 3rem 0 3rem 0;
}

.pagination a {
    background-color: #222;
    border-radius: .3rem;
    color: #fff;
    padding: .3rem .5rem;
    transition-duration: .2s;
}

.pagination a:hover {
    background-color: #111;
    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:after {
    display: block;
    content: "";
    clear: both;
}

.article header {
    margin-top: 2rem;
}

.article header div {
    margin: 0;
}

.article header h2,
.article header h2 a {
    color: #E21B23;
    font-size: 2.2rem;
    line-height: 1.2em;
    letter-spacing: -1px;
    font-weight: bold;
    margin: 0;
}

.article header h2 a:hover {
    color: #222;
    text-decoration: none;
}

.article header small,
.comment small {
    color: #9EABB3;
}

.article header span:before,
.article header time:before,
.article footer span:before {
    padding-left: 1.5rem;
    padding-right: .3rem;
}

.article .art-date {
    font-size: 1.5rem;
    font-weight: bold;
    color: #9EABB3;
}

.article .written-by {
    font-weight: bold;
}

.article .written-by:after {
    content: '';
    padding-left: 0;
}

.article .classified-in:after {
    content: '|';
    padding-left: 0;
}

.article img.art_thumbnail {
    padding: 30px 15px 15px 0;
    float: left;
}

.page.mode-article .article footer {
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

#form {
    border-top: 130px solid transparent;
    margin: -130px 0 0;
}

.comment {
    background-image: url('../img/user.png');
    background-repeat: no-repeat;
    margin-bottom: 2.5rem;
    padding-left: 6rem;
    border-top: 100px solid transparent;
    margin-top: -100px;
}

.comment blockquote {
    margin: 0;
    font-size: 1.3rem;
}

.type-admin {
    background-color: #F0F8FF;
    padding: .2rem .5rem;
}

.nbcom {
    background-color: #222;
    border-radius: .3rem;
    color: #fff;
    padding: .4rem .6rem;
}

.nbcom:hover {
    background-color: #111;
    color: #fff;
    text-decoration: none;
}

.level-0 { margin-left: 0; }
.level-1 { margin-left: 5rem; }
.level-2 { margin-left: 10rem; }
.level-3 { margin-left: 15rem; }
.level-4 { margin-left: 20rem; }
.level-5,
.level-max { margin-left: 25rem; }

#id_answer {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #eee;
    width: 100%;
    background: #fafafa;
    display: none;
}

.capcha-letter,
.capcha-word {
    font-weight: bold;
}

.capcha-word {
    background-color: #ddd;
    border-radius: .3rem;
    letter-spacing: .5rem;
    padding: .9rem .7rem;
    transition-duration: .2s;
}

.capcha-word:hover {
    background-color: #666;
    color: #fff;
    transition-duration: .2s;
}

/* ------- Sidebar ------- */
.aside {
    padding: 0 2rem 0 2rem;
}
.aside h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 5rem;
    text-transform: uppercase;
}
.aside ul {
    margin: 0;
}



/* Latest Articles - truncate long titles with ellipsis */
.lastart-list {
    list-style: none;
    padding: 0;
}
.lastart-list li {
    margin-bottom: 0.5rem;
}
.lastart-list li a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 125px;
    color: #222;
    text-decoration: none;
}
.lastart-list li a:hover {
    text-decoration: underline;
}

/* --------- tags ---------- */
.aside ul.tag-list {
    list-style-type: none;
    padding: 0;
}
.aside ul.tag-list li {
    display: inline-block;
}
.aside ul.tag-list li a {
    padding: 0 .5rem 0 0;
}
.aside ul.tag-list li a.active {
    font-weight: bold;
    background-color: #222;
    color: #fff;
    padding: 0 .5rem 0 .5rem;
}

/* Unified tag cloud color #222 */
.tag-size-1 a,
.tag-size-2 a,
.tag-size-3 a,
.tag-size-4 a,
.tag-size-5 a,
.tag-size-6 a,
.tag-size-7 a,
.tag-size-8 a,
.tag-size-9 a,
.tag-size-10 a,
.tag-size-11 a {
    color: #222;
}

.footer {
    background: #fff;
    color: #666;
    padding: 6rem 0;
    text-align: center;
    font-size: 1.2rem;
}

.footer p {
    margin: 0;
}

.footer a:hover {
    text-decoration: none;
}

/* Media Queries */

@media (min-width: 128rem) {
    .container {
        padding-left: 15rem;
        padding-right: 15rem;
    }

    .logo {
    background: url("../img/pluxml-logo-black.png") top left no-repeat;
    height: 12rem;
    background-size: 12rem;
    background-position: 6rem 0;
    padding-left: 18rem;
    margin-left: -12rem;
    }

    .heading-small {
        font-size: 3rem;
    }
}

@media (min-width: 64rem) {
    .container {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .heading-small {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .header {
        position: sticky;
        top: 0;
    }

    .header:hover .grid {
        overflow: unset;
    }

    .header div.grid {
        overflow: unset;
    }

    .logo {
        background-size: 5rem;
        background-position: 2.5rem 0;
        padding-left: 8rem;
        margin-left: -1rem;
    }

    .heading-small {
        line-height: .5;
        margin-bottom: .5rem;
    }

    .header a:hover {
        color: #eee;
    }

    .header h1 * {
        font-size: 1.61rem;
    }

    .header h2 {
        font-size: 1.23rem;
    }

    .header,
    .footer {
        padding: 1rem 0;
    }

    .aside {
        padding-left: 1.5rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 4;
        height: auto;
        max-height: 80%;
        overflow-y: auto;
        text-align: left;
        margin-top: 0;
        z-index: 10;
        border-radius: 1rem;
        background-color: #fff;
    }

    .nav > .container {
        padding: 0;
    }

    ul.menu {
        padding: 0 .5rem .5rem 2rem;
    }

    .menu li {
        background: #efefef;
    }

    .menu > li span::before {
        margin-left: -1.5rem;
    }

    .menu > li ul {
        position: relative !important;
        border-bottom: 0px solid transparent;
    }

    .menu > li ul li:hover {
        background-color: #fff;
    }

    ul.menu li.active a,
    ul.menu li.active:hover,
    ul.menu li,
    ul.menu li:hover {
        background-color: #fff;
    }

    .comment {
        background-image: none;
        padding-left: 0;
    }

    .level-1 { margin-left: 1rem; }
    .level-2 { margin-left: 2rem; }
    .level-3 { margin-left: 3rem; }
    .level-4 { margin-left: 4rem; }
    .level-5,
    .level-max { margin-left: 5rem; }
}

@media (max-width: 463px) {
    .header {
        height: 7rem;
    }

    .logo {
        background-position: 1rem 0;
        padding-left: 2rem;
        background-size: 4rem;
        padding-left: 6rem;
        margin-left: -1rem;
        height: 5rem;
    }

    .heading-small {
        font-size: 3rem;
    }

    .nav {
        padding-top: 0rem;
    }

    ul.menu {
        margin: 0 .75rem .25rem .25rem;
        border-radius: 1rem;
        border: #222 solid 1px;
    }

    .header h1 * {
        font-size: 1.61rem;
    }

    .header h2 {
        font-size: 1rem;
    }

    .bg {
        display: none;
    }

    .static.group,
    .static.menu a {
        padding: 0;
    }
}