/*
FREI.media
2016-03

Notes:

min-width: 1681px
min-width: 1281px
min-width: 981px
min-width: 737px

max-width: 736px
max-width: 480px
*/

/* FONTS */

@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway/Raleway-Light.ttf);
    font-weight: 300;
}

@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway/Raleway-Regular.ttf);
    font-weight: 400;
}

/*@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway/Raleway-Medium.ttf);
    font-weight: 500;
} */
@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway/Raleway-SemiBold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway/Raleway-ExtraBold.ttf);
    font-weight: 800;
}

@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway/Raleway-Black.ttf);
    font-weight: 900;
}

@font-face {
    font-family: "Source Sans Pro";
    src: url(../fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: "Source Sans Pro";
    src: url(../fonts/Source_Sans_Pro/SourceSansPro-Bold.ttf);
    font-weight: 700;
}

/* GENERAL */

body {
    padding: 3em;
}

@media screen and (max-width: 736px) {

    body {
        padding: 1.5em;
    }

}

@media screen and (max-width: 480px) {

    body {
        padding: 0;
    }

}

a:hover,
a:hover:before {
    color: #9c0000 !important;
}

@media screen and (max-width: 1280px) {

    .responsive-hide-background {
        padding: 0;
        margin: 0;
        background: #f4f4f4 !important;
    }

}

#wrapper {
    position: relative;

    -moz-box-shadow: 2px 2px 15px #ccc;
    -webkit-box-shadow: 2px 2px 15px #ccc;
    box-shadow: 2px 2px 15px #ccc;

    margin: 3em auto;
    padding: 0;
}

@media screen and (max-width: 1280px) {
    #wrapper {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

}

@media screen and (max-width: 736px) {

    #wrapper {
        padding-top: 0;
    }

}

@media screen and (max-width: 480px) {

    #wrapper {
        padding: 0;
        margin: 0;
    }

}

.filer_image {
    max-width: 100%;
    height: auto;
    display: block;
}

img.filer_image.left {
    float: left;
    padding: 15px 15px 15px 0;
}

img.filer_image.right {
    float: right;
    padding: 15px 0 15px 15px;
}

.no-padding {
    padding: 0 !important;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: auto;
    height: 2.75em;
    display: inline-block;

    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background: rgba(160, 160, 160, 0.075);
    border: solid 1px rgba(160, 160, 160, 0.3);
    border-radius: 0;
    color: inherit;
    outline: 0;
    padding: 0 1em;
    text-decoration: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #D5EDB3;
    box-shadow: inset 0 0 0 1px #D5EDB3;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
    box-shadow: inset 0 0 0 1px #acd878;
    color: #acd878 !important;
}

form label {
    font-weight: normal;
}

form ul,
form ul li {
    padding: 0;
    margin: 0;
}

form ul .errorlist li,
form ul.errorlist li {
    color: #9c0000;
    padding: 0;
    margin: 0;
    display: block;
}

form .error > input:not(button),
form .error > textarea,
form .error > p input:not(button),
form .error > p textarea {
    border: 1px solid #9c0000 !important;
    box-shadow: inset 0 0 0 1px #9c0000;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd,
q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt,
dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot,
thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby, section, summary, time,
mark, audio, video {
    /* font: normal;   // EDITED IN MAIN.CSS */
}

/* RESPONSIVE VIEW - HEADER */

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

    #header {
        display: none;
    }

}

#header .title {

}

#header .subtitle {
    -moz-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: inherit;
    line-height: inherit;
    margin-left: 1.5em;
    overflow: hidden;
    padding-left: 1.5em;
    font-weight: 100;
    font-size: 80%;
    display: block;
}

@media screen and (max-width: 480px) {

    #header .subtitle {
        display: none;
    }

}

/* MAIN VIEW */

#sidebar {
    margin-right: 0;
    padding: 0 0 0.5em 0;

    /*background: #C0E48F;
    background: linear-gradient( -20deg, #C0E48F 85%, #8ac467 );*/
    background: #D5EDB3;
    background: linear-gradient(-20deg, #D5EDB3 65%, #acd878);
}

#sidebar section {
    border-top: none;
    margin: 1em 0 1em 0;
    padding: 1em 1.5em 1em 1.5em;
}

#sidebar #navigation {
    padding-left: 0;
    padding-right: 0;
}

#sidebar #navigation ul {
    padding: 0;
    margin: 0;
}

#sidebar #navigation ul li {
    margin: 0 0 0 0;
    padding: 0.75em 3em 0.5em 3em;
    list-style: none;

    font-family: "Raleway", Helvetica, sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    letter-spacing: 0.13em;
    line-height: 1.5;
    text-transform: none;
}

#sidebar #navigation ul li a {
    border-bottom: none;
}

#sidebar #navigation ul li:not(.active) a:hover {
    /*color: #477d2f !important;*/
    color: #444444 !important;
}

#sidebar #navigation ul li.active a:hover {
    color: inherit !important;
}

#sidebar #navigation ul li.active,
#sidebar #navigation ul li.sibling {
    /*background: #8ac467;*/
    margin-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
}

#sidebar #navigation ul li .sibling-menu {
    background: #acd878;
    margin: 0 -50px 0 0;
    padding-bottom: 0;

    -webkit-box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.3);
    box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.3);

}

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

    #sidebar #navigation ul li .sibling-menu {
        margin: 0 -56px 0 0;
    }

}

#sidebar #navigation ul li .sibling-menu li {
    margin: 0;
    padding: 0.25em 0 0.25em 10px;
    font-size: 90%;
    text-transform: none;
    letter-spacing: 0.2em;
}

#sidebar #navigation ul li .sibling-menu li.active {
    background: #8ac467;
    font-weight: normal;
}

#sidebar #navigation ul.navigation_admin {
    margin: 3em 0;
    padding: 1em 0 0.5em 0;
    background: #acd878;
}

#sidebar #navigation ul.navigation_admin li {
    text-transform: none;
    font-family: 'Microsoft Sans Serif', Arial, Helvetica, Verdana, sans-serif;
    letter-spacing: 0.2em;
}

#sidebar #navigation ul.navigation_admin .logout {
    /*color: #9c0000;*/
    margin: 1em 0 0 0;
    padding-top: 0.5em;

    font-weight: bold;
    border-top: 1px dotted #f4f4f4;
}

#sidebar .mini-posts .mini-post header p {
    letter-spacing: normal;
    text-transform: none;
    padding-top: 0.2em;
    line-height: 1.5;
}

#sidebar .mini-posts .mini-post header .author {
    border-radius: 100%;
    background-color: #686868;
    width: 5em;
    height: 5em;
    text-align: center;
    justify-content: center;
    letter-spacing: normal;
}

#sidebar .mini-posts .mini-post header .author i {
    font-size: 4em;
    color: #ffffff;
}

#sidebar #footer {
    padding-bottom: 0;
    margin: 0;
    text-align: center;
}

#sidebar #footer .icons {
    color: #fff;
    margin: 0;
    padding: 0;

    text-shadow: 1px 1px #dddddd;
}

#sidebar #footer .copyright {
    color: #fff;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin: 20px 0 0 0;
}

#sidebar #footer .copyright p {
    margin: 0;
    padding: 0;
}

#sidebar #footer .copyright ul {
    margin-bottom: 1em;
    font-size: 0.75em;
}

#sidebar #footer .copyright .links li {
    display: inline-block;
}

#sidebar #footer .copyright .links a {
    text-decoration: none;
    border-bottom: none;
}

.qrcode-tooltip {
    /*padding: 0 180em;*/
    width: 22.4em;
    margin: 0 0 0 -10.8em;
    text-align: center;
    vertical-align: middle;
    color: #303030;
    background: #acd878;

    -webkit-box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.3);
    box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.3);
}

.qrcode-tooltip img {
    width: 18em;
}

#main-top {
    position: relative;
    text-align: center;
}

#main-top a {
    border-bottom: none;
}

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

    #main-top {
        position: absolute;
        top: -3.8em;
        right: 0;
        z-index: 99999;
    }

}

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

    #main-top {
        position: absolute;
        top: -3.8em;
        right: 0;
        z-index: 99999;
    }

}

#main-top .logo-name {
    width: 40em;
}

@media screen and (max-width: 736px) {
    #main-top .logo-name {
        width: 25em;
    }
}

@media screen and (max-width: 480px) {
    #main-top .logo-name {
        width: 18em;
    }
}

#main {
    background: #fff;
}

#sidebar #intro {
    padding-bottom: 0;
    margin-bottom: 0;
}

#intro {
    width: 100%;
    margin: 0;
    padding: 0 0 2.5em 0;
}

@media screen and (max-width: 1280px) {
    #intro {
        padding: 0;
    }
}

#intro .logo {
    width: 285px;
    height: auto;
    margin: 1.8em 0 0 1.8em;
    background: #fff;

    -webkit-box-shadow: 0px 3px 8px #718e4f;
    -moz-box-shadow: 0px 3px 8px #718e4f;
    box-shadow: 0px 3px 8px #718e4f;
}

@media screen and (max-width: 1680px) {
    #intro .logo {
        margin-left: 0.5em;
    }
}

@media screen and (max-width: 1280px) {
    #intro .logo {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
}

#intro .logo a {
    text-decoration: none;
    border: none;
}

#intro .logo img {
    width: 100%;
    padding: 10px 10px 0 10px;
    margin: 0;
}

@media screen and (max-width: 1280px) {

    #intro .logo .logo-normal {
        display: none;
    }

}

#intro .logo .logo-circle {
    display: none;

    background: #D5EDB3;
    background-repeat: no-repeat;
    background-position: 70% 100%;
    background-size: 120%;
    border-radius: 50%;
    width: 10em;
    height: 10em;
    margin: 0.6em 0.6em 0.6em 4em;
    border: 10px solid #D5EDB3;

    -webkit-box-shadow: 0px 3px 8px #718e4f;
    -moz-box-shadow: 0px 3px 8px #718e4f;
    box-shadow: 0px 3px 8px #718e4f;
}

@media screen and (max-width: 1280px) {

    #intro .logo .logo-circle {
        display: block;
    }

}

#intro header {
    padding: 0 1em 0.1em 1em;
    height: 2em;
    overflow: visible;
    display: inline-block;
    width: 100%;
}

@media screen and (max-width: 1280px) {

    #intro header {
        display: none;
    }

}

#intro header h3 {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 65%;
}

#intro header p {
    font-family: "Raleway", Helvetica, sans-serif;
    font-size: 0.7em;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    margin: 1em 0 0 0;
    float: right;
    display: inline-block;
}

#intro .logo:before {
    background-image: none;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    content: '';
    display: block;
    height: 100%;
    left: auto;
    position: relative;
    top: auto;
    width: 100%;
}

/* MAIN: CONTENT */

#main .js-disabled {
    width: 100%;
    min-height: 50px;
    text-align: center;
    padding: 12px 15px;
    background: #9c0000;
    color: #fff;

    font-family: "Raleway", Helvetica, sans-serif;
    font-size: 0.7em;
    font-weight: 400;
    letter-spacing: 0.25em;
    line-height: 2.5;
}

#main .content {
    padding: 3em 3em 1em 3em;
    position: relative;
    border: none;
    font-size: 12pt;
    overflow: auto;
}

@media screen and (max-width: 480px) {

    #main .content {
        padding: 2em 1em 1em 1em;
    }

}

#main .content h1 {
    font-weight: 900;
    font-size: 1.5em;
}

#main .content h2,
#main .content fieldset legend {
    font-size: 1.2em;
    color: #3c3b3b;
    font-family: "Raleway", Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: 0.25em;
    line-height: 1.65;
    margin: 0 0 1em 0;
    width: 100%;
    text-transform: uppercase;
}

#main .content .text-info {
    background: #f4f4f4;
    margin: 10px;
    padding: 10px;

    font-family: "Raleway", Helvetica, sans-serif;
    font-size: 0.7em;
    font-weight: 400;
    letter-spacing: 0.25em;
    line-height: 2.5;
    margin-top: -1em;
}

#main .content .message-success {
    background: #D5EDB3;
    margin: 30px 0;
    padding: 10px 20px;

    font-family: "Raleway", Helvetica, sans-serif;
    font-size: 0.7em;
    font-weight: 400;
    letter-spacing: 0.25em;
    line-height: 2.5;
    margin-top: -1em;
}

#main .content .message-error {
    background: #9c0000;
    color: #fff;
    margin: 30px 0;
    padding: 10px 20px;

    font-family: "Raleway", Helvetica, sans-serif;
    font-size: 0.7em;
    font-weight: 400;
    letter-spacing: 0.25em;
    line-height: 2.5;
    margin-top: -1em;
}

#main .content p {
    margin: 1em 0 1em 0;
}

#main .content p + h1,
#main .content p + h2,
#main .content p + h3,
#main .content p + h4,
#main .content .cms-plugin > h1,
#main .content .cms-plugin > h2,
#main .content .cms-plugin > h3,
#main .content .cms-plugin > h4 {
    margin: 2em 0 0 0;
}

#main .content blockquote p {
    margin: 0.5em 0 0.5em 0;
}

#main .content table tr td {
    vertical-align: middle;
}

/* POST */

.post {
    border: none;
    padding: 0;
}

.post > header {
    border: none;
    margin: 0 0 1em 0;
    padding-bottom: 0;
}

.post > header .title {
    padding-bottom: 0;
}

.post > section {
    overflow: auto;
    margin: 15px 0;
    padding: 0;
}

.post > section img {
    padding: 1em;
}

.post > section .img-article {
    padding: 0 0 1em 1em;
    float: right;
}

.post > footer {
    overflow: auto;
    margin: 15px 0;
}

/* Blockquote */

blockquote.cite {
    display: block;
    background: #fff;
    padding: 15px 20px 15px 45px;
    margin: 0 0 20px;
    position: relative;

    /*Font*/
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1.2;
    color: #666;
    text-align: justify;

    /*Borders - (Optional)*/
    border-left: 15px solid #162633;
    border-right: 2px solid #162633;

    /*Box Shadow - (Optional)*/
    -moz-box-shadow: 2px 2px 15px #ccc;
    -webkit-box-shadow: 2px 2px 15px #ccc;
    box-shadow: 2px 2px 15px #ccc;
}

blockquote.cite::before {
    content: "\201C"; /*Unicode for Left Double Quote*/

    /*Font*/
    font-family: Georgia, serif;
    font-size: 60px;
    font-weight: bold;
    color: #999;

    /*Positioning*/
    position: absolute;
    left: 10px;
    top: 5px;
}

blockquote.cite::after {
    /*Reset to make sure*/
    content: "";
}

blockquote.cite a {
    text-decoration: none;
    background: #eee;
    cursor: pointer;
    padding: 0 3px;
    color: #162633;
}

blockquote.cite a:hover {
    color: #666;
}

blockquote.cite em {
    font-style: italic;
}

/* Cookie Overlay Box */

#cookie-info > * {
    font-size: 70%;
}

#cookie-info .popup h2 {
    margin: 3px 0 10px 0;
    color: #fff;
}

#cookie-info .popup .close {
    position: absolute;
    top: 0;
    right: 20px;
    transition: all 0.2s;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    border-bottom: none;
    color: #fff;
}

#cookie-info .popup .close:hover {
    color: #06D85F;
}

#cookie-info .popup .content {
    max-height: 30%;
    overflow: auto;
}

/*Let's make it appear when the page loads*/
#cookie-info.overlay:target:before {
    display: none;
}

#cookie-info.overlay .popup {
    background: rgba(172, 216, 120, 0.9);
    color: #fff;
    border-radius: 0;
    max-width: 100%;
    min-width: 100%;
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 10px 15px;
    margin: 0;
    z-index: 10;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

#cookie-info.overlay:target .popup {
    bottom: -100%;
    right: -100%;
}

@media screen and (max-width: 768px) {
    #cookie-info.overlay .popup {
        width: 70%;
    }
}

@media screen and (min-width: 1681px) {
    #cookie-info > * {
        font-size: 60%;
    }
}

@media screen and (min-width: 737px) {
    #cookie-info > * {
        font-size: 60%;
    }

    #cookie-info .popup h2,
    #cookie-info .popup .close {
        color: #333;
    }

    #cookie-info.overlay .popup {
        background: rgba(0, 0, 0, 0.07);
        color: inherit;
        border-radius: 0;
        max-width: 350px;
        min-width: inherit;
        bottom: 0;
        right: 2%;
        padding: 10px 15px;
        margin: 35px auto;
    }
}
