﻿/*
    |-----------------------------------------------------------------
    | Original Layout by:
    |-----------------------------------------------------------------
    | Theme Name:   Kibiz Theme
    | Description:  Hashi Child Theme für Kinder.Bildung.Zukunft 
    | Author:       Ralf & Vanja Dingeldein
    | Author URI:   http://dingeldeindesign.de
    | Template:     hashi
    | Version:      1.0
    | Text Domain:  twenty-fifteen-child
    |-----------------------------------------------------------------
    | Changes/Redesign 2020
    | Author: Stefan Schmidt (Kinder.Bildung.Zukunft e.V.)
    | Version 1.0
    |-----------------------------------------------------------------
*/


/* Basics */


a:hover,
a:active,
li.current_page_item a {
    color: #fcba59;
}

blockquote {
    font-size: 17px;
}

.page-id-21 blockquote,
.page-id-144 blockquote {
    font-size: 12px;
}


body {
    padding: 0 30px 0 30px;
    -webkit-box-shadow: 0px 0px 35px 16px rgba(77,77,79,0.2);
    -moz-box-shadow: 0px 0px 35px 16px rgba(77,77,79,0.2);
    box-shadow: 0px 0px 35px 16px rgba(77,77,79,0.2);
}

@media (min-width: 960px) {

    body {
        padding: 0;
        max-width: 1135px;
        width: 1135px;
    }

    header#header-main {
        padding: 0 30px 0 30px;
        width: 1015px !important;
    }

    nav#lcol {
        padding-left: 30px;
    }
}

body,
header#header-main,
footer {
    background: #fff;
    max-width: 1075px;
    width: 1075px;
}

html, main {
    background: #e5e5e5; /* Hintergrundfarbe, Blau: 66ccff */
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

main {
    background: #fff;
    line-height: 1.5;
}

#blog-title {
    display: none;
}

h1 {
    color: #24ada5;
    font-size: 24px;
    font-weight: lighter;
    line-height: 1.3;
    margin-bottom: 10px;
}

h2 {
    color: #788385;
    font-size: 20px;
    font-weight: lighter;
}

h3 {
    color: #3d9bd8;
    font-size: 16px;
    font-weight: normal;
}

article.page > h1:not(:first-of-type),
article.page > h2,
article.page > h3,
article.page > h4,
article.page > h5,
article.page > h6 {
    margin-top: 0;
}

img.alignleft, img.alignright, img.aligncenter, img.alignnone {
    padding: 0;
    border: 0;
}

p {
    text-align: left;
}

table td {
    border: 0;
    font-size: 14px;
    vertical-align: top;
}

article ul {
    padding: 0 10px 0 0;
}

    article ul li {
        padding: 0.5em 8px 0.6em 20px;
        display: block;
        background-image: url('/img/list_bullet.png');
        background-repeat: no-repeat;
        background-position: 6px 1.05em;
        margin-left: 5px;
    }



/* Klassen
---------------------------------------- */

.rund {
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
}

.bullets {
    background-image: url('/img/bullet-gelb.png');
    background-repeat: repeat-x;
    border: 0;
    clear: both;
    height: 15px;
}



/* Header
--------------------------------------- */

#logo {
    float: right;
}

header#header-main {
    position: relative;
    top: 20px;
    max-width: 100%;
    height: 140px;
    background-color: #fff;
    background-image: none;
    background-position: center center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    margin-bottom: 21px;
    text-align: left;
    overflow: hidden;
}

    header#header-main #titel {
        color: #778284;
        display: inline-block;
        height: 90px;
        margin: 0 0 20px 0;
        position: relative;
        bottom: 0;
        left: 0;
        float: left;
        right: 0;
        white-space: nowrap;
    }

    header#header-main #titel-text {
        color: #778284;
        width: 100%;
        margin: 0;
        position: absolute;
        bottom: 0;
        font-size: 24px;
        line-height: 1.3;
    }


    /* Linie */

    header#header-main .bullets {
        background-image: url('/img/bullet-gelb.png');
        background-repeat: repeat-x;
        clear: both;
    }

/* Navi
------------------------------------------------- */

li.current_page_item.menu-item-has-children > ul.sub-menu a {
    color: #41669E;
}

nav#lcol {
    margin-bottom: 0;
}

ul#mainnav a {
    margin: 1em 8px 1em 18px;
    padding: 0 !important;
    display: block;
    background-image: none;
}

    ul#mainnav a:hover {
        background-image: none;
    }

ul#mainnav li {
    border-bottom: 1px solid #bfbfbf;
}

    ul#mainnav li a {
        padding: 0.3em 8px 0.3em 18px;
    }

ul.menu a {
    font-size: 14px;
    line-height: 125%;
}

ul.sub-menu {
    padding: 0 0 0 1em !important;
}

@media (min-width: 960px) {

    ul.sub-menu li {
        display: none;
    }

    /* SubmenÃ¼s einblenden */
    li#menu-item-33.current-menu-item > ul.sub-menu li, /* Konzept */
    li#menu-item-33.current-menu-ancestor > ul.sub-menu li,
    li#menu-item-79.current-menu-item > ul.sub-menu li, /* Krabbelstube */
    li#menu-item-79.current-menu-ancestor > ul.sub-menu li,
    li#menu-item-151.current-menu-item > ul.sub-menu li, /* Kindergarten */
    li#menu-item-151.current-menu-ancestor > ul.sub-menu li,
    li#menu-item-35.current-menu-item > ul.sub-menu li, /* Hort */
    li#menu-item-35.current-menu-ancestor > ul.sub-menu li {
        display: block !important;
    }
}


/* Content 
------------------------------------------------------------ */

article.page > h1:first-of-type {
    display: none;
}

article.page,
article.page > h1:not(:first-of-type) {
    margin-top: 0;
}

main,
article {
    width: 750px;
}

main {
    margin: 0 0 50px 0;
}

@media (min-width: 960px) {

    main {
        padding-left: 50px;
    }
}


/* Footer 
---------------------------------------------------- */

footer {
    background: #fcba59; /* 15px solid */
    border-top: none;
    padding: 16px 0 1px 0;
}

#fmenu {
    padding-left: 30px;
}

    #fmenu ul {
        padding: 0;
    }

    #fmenu li {
        display: inline-block;
        list-style: none;
    }

        #fmenu li a {
            color: #fff;
            font-weight: normal;
        }

            #fmenu li a:hover,
            #fmenu li a:active,
            #fmenu li.current_page_item a {
                color: #fff;
                text-decoration: underline;
            }

        #fmenu li.current_page_item a {
            font-weight: 600;
        }

#copyright {
    color: #fff;
    float: right;
    padding-right: 30px;
}

/* Media Queries 
------------------------------------------------------------------------------- */

@media (max-width: 1105px) {

    body, footer {
        width: 960px;
    }

    header#header-main {
        width: 900px !important;
    }

    html {
        background-size: 1px 156px;
    }

    header#header-main {
        height: 156px;
    }

    main,
    article {
        width: 655px;
    }
}

@media (max-width: 960px) {

    body, header#header-main {
        width: 815px;
    }

    body {
        padding: 0;
        max-width: 875px;
        width: 875px;
    }

    header#header-main {
        padding: 0 30px 0 30px;
        width: 815px !important;
    }

    main, nav#lcol {
        padding: 0 30px 30px 30px;
        width: 815px !important;
    }

    footer {
        width: 875px;
    }

    html {
        background-size: 1px 156px;
    }

    header#header-main {
        height: 133px;
    }

        header#header-main #titel-text {
            font-size: 20px;
            line-height: 1.3;
        }

    /* menu */

    main {
        clear: left;
    }

    nav#lcol {
        width: 100%;
    }

        nav#lcol > * {
            display: none;
        }

        nav#lcol a.menu-toggle {
            font-size: 15px;
            margin-top: 0;
            margin-bottom: 10px;
            padding: 0.25em 0.25em 0.25em 1.35em;
            line-height: 150%;
            background-image: url('/img/close_menu.png');
            background-position: left center;
            background-size: auto 1.15em;
            background-repeat: no-repeat;
            border-bottom: 1px solid #848484;
        }

            nav#lcol a.menu-toggle#menu-toggle-open {
                background-image: url('/img/open_menu.png');
                background-size: auto 1.25em;
                display: block;
            }

        nav#lcol span#m1:target ~ * {
            display: block;
        }

        nav#lcol span#m1:target ~ a#menu-toggle-open {
            display: none;
        }

    main,
    article {
        margin: 0;
        width: 100%;
    }
}

@media (max-width: 914px) {

    body, header#header-main, footer {
        width: 715px;
    }

    body {
        padding: 0;
        max-width: 775px;
        width: 775px;
    }

    header#header-main {
        padding: 0 30px 0 30px;
        width: 715px !important;
    }

    main, nav#lcol {
        padding: 0 30px 30px 30px;
        width: 715px !important;
    }

    footer {
        width: 775px;
    }

    html {
        background-size: 1px 156px;
    }

    header#header-main {
        height: 133px;
    }

    nav#lcol > * {
        margin: 0;
    }

    aside#rcol {
        border: 0;
    }

    main.with-sidebar, main.with-sidebar > article {
        width: 505px;
    }
}

@media (min-width: 915px) {

    main.with-sidebar, main.with-sidebar > article {
        width: 555px;
    }
}

@media (min-width: 1105px) {

    main.with-sidebar, main.with-sidebar > article {
        width: 655px;
    }
}


@media (max-width: 714px) {

    body {
        margin: 0 auto;
    }

    body, header#header-main, footer {
        width: 591px;
    }

    body {
        padding: 0;
        max-width: 651px;
        width: 651px;
    }

    header#header-main {
        padding: 0 30px 0 30px;
        width: 591px !important;
    }

    nav#lcol {
        padding: 0 30px 30px 30px;
        width: 591px !important;
    }

    main {
        padding: 0 30px 30px 30px;
        width: 651px !important;
    }

    footer {
        width: 651px;
    }

    header#header-main {
        height: 115px;
    }

    #logo {
        width: 60%;
    }

    header#header-main #titel {
        height: 65px;
    }

    header#header-main #titel-text {
        font-size: 16px;
        line-height: 1.3;
    }

    main.with-sidebar, main.with-sidebar > article {
        width: 100%;
    }

    aside#rcol {
        float: left;
        margin-bottom: 25px;
    }
}


@media (max-width: 645px) {

    body, header#header-main, nav#lcol {
        padding: 0;
    }

    body, header#header-main, main, nav#lcol, footer {
        width: 100% !important;
    }

    nav#lcol {
        padding-bottom: 20px;
    }

    #logo {
        padding-right: 16px;
    }

    #titel {
        padding-left: 16px;
    }

    .bullets {
        margin: 0;
    }

    header#header-main .bullets {
        margin: 0 16px 0 16px;
    }

    header#header-main #titel-text {
        font-size: 16px;
        line-height: 1.3;
    }

    nav#lcol > * {
        margin-left: 16px;
        margin-right: 16px;
    }


    div.menu-1-bis-6-container {
        margin-left: 16px;
        width: 100%;
    }

    ul#mainnav li a {
        padding: 0.6em 8px 0.6em 18px;
    }

    main {
        padding-left: 16px;
        padding-right: 16px;
    }

    p img {
        margin-bottom: -12px;
    }
}


@media (max-width: 598px) {

    header#header-main {
        height: auto;
    }

        header#header-main #titel {
            clear: both;
            height: 45px;
        }

        header#header-main #logo {
            width: 70%;
        }

    nav#lcol a.menu-toggle {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {

    header#header-main #logo {
        width: 80%;
    }
}


/* Plugins 
-------------------------------------------------- */

/* Liquidizer - responsive Tables */


.ml-responsive-table .ml-grid {
    border-bottom: 0;
    border-top: 0;
    margin-bottom: 9px;
}

.ml-responsive-table dt {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Collapse O Matic */

.collapseomatic {
    background-image: none;
    padding: 0 0 20px 0;
    cursor: pointer;
    color: #fcba59;
    display: block;
}

.collapseomatic_content {
    margin-bottom: 20px;
}
