/*
 Theme Name:   Psycho-Kongress-Template
 Description:  A K.I.T. WAVE Child Theme
 Author:       Joscha Schmidt
 Author URI:   http://www.kit-group.org
 Template:     kit-wave
 Version:      1.0.0
 Text Domain:  kit-wave-child
*/

/*
For older themes, and themes that do not use wp_enqueue_style() to enqueue their stylesheet, use the following line where twentyfourteen is the name of the directory where the theme resides:

@import url("../kit-wave/style.css");
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/* CUSTOMIZING STYLES */
body {
    background-color: #bcbdc0;
    font: 400 15px 'myriad-pro', Helvetica, Arial, sans-serif;
}


.less-relevant {
    font-size: .7em;
    line-height: 1.2em;
}

td p:last-child {
    margin: 0;
    padding: 0;
}
header.page-header {
    position: relative;
    margin-bottom: 0;
    border: 0;
}

header .site-logo {
    text-align: right;
}

header .site-logo img {
    max-width: 226px;
    margin: 22px 0;
}

h1,p
h2,
h3,
h4,
.button {
    font-family: 'myriad-pro', Helvetica, Arial, sans-serif;
}

#wrapper {
    background-color: #bcbdc0;
}

header,
.breadcrumbs,
.main-content {
    background-color: #fff;
}

.breadcrumbs.container {
    color: #006442;
    font-size: 12px;
    padding-bottom: 2px;
    padding-top: 2px;
}

@media (min-width: 767px) {
    .breadcrumbs.container,
    .main-content.container {
        padding-left: 54px;
        padding-right: 54px;
    }
}


.breadcrumbs a {
    color: #006442;
}

table tr th {
    border-bottom: 1px solid #006442;
    font-weight: 600;
    padding: 1em .5em;
}

table tr td {
    padding: .5em;
    border-bottom: 1px solid #bcbdc0;
}


.hgroup {
    margin: 0 0 50px;
}

h1 {
    color: #006442;
    font-weight: 600;
    font-size: 36px;
    margin-bottom: 30px;
    margin-top: 0;
}

.hgroup h1 {
    margin-bottom: 5px;
}

h2 {
    color: #006442;
    font-weight: 600;
    font-size: 18px;
}

div.inner h2:first-child {
    margin-top: 0;
}

.hgroup h2 {
    margin-top: 0;
}

h3 {
    font-size: 20px;
}

.attention {
    background-color: #d52728;
    color: #fff;
    line-height: 1.5em;
    padding: 8px;
}

.button {
    background: #006442;
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #006442),
        color-stop(1, #0c885e)
    );
    background-image: -o-linear-gradient(bottom, #006442 0%, #0c885e 100%);
    background-image: -moz-linear-gradient(bottom, #006442 0%, #0c885e 100%);
    background-image: -webkit-linear-gradient(bottom, #006442 0%, #0c885e 100%);
    background-image: -ms-linear-gradient(bottom, #006442 0%, #0c885e 100%);
    background-image: linear-gradient(to bottom, #006442 0%, #0c885e 100%);

    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
}

.button:hover {
    background: #0c885e;
    border-color: #cbe8f6;
}

.button:active {
    background: #0c885e;
    border-color: transparent;
}


.person h2 {
    margin: 0 0 .3em;
    padding: 0;
}

.person h3 {
    color: #0c885e;
    margin: 0;
    padding: 0;
}

li h3 {
    color: #0c885e;
    font-size: 1.3em;
    margin: 0;
}

.content li {
    padding: 0 0 10px;
}

b {
    font-weight: 700;
}

@media (min-width: 767px) {
    .container {
        padding-left: 29px;
        padding-right: 29px;
    }
}

/* Submenu */

aside.submenu {
    padding-left: 0;
}

aside.submenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

aside.submenu ul li {
    list-style: none;
    padding: 0;
}

aside.submenu ul li a {
    border-top: 1px solid #bcbdc0;
    color: #016646;
    display: block;
    font-weight: 600;
    padding: 5px 15px;
}

aside.submenu ul li:first-child a {
    border-top: 0;
}

aside.submenu .current-menu-item > a,
aside.submenu .current-page-parent > a,
aside.submenu .current_page_item > a,
aside.submenu .current-menu-ancestor > a {
    background-color: #c53421;
    color: #fff;
}

aside.submenu .sub-menu a {
    font-size: .8em;
    line-height: 1.2em;
}


aside.submenu .sub-menu .current-menu-item > a,
aside.submenu .sub-menu .current-page-parent > a,
aside.submenu .sub-menu .current_page_item > a,
aside.submenu .sub-menu .current-menu-ancestor > a {
    background-color: #de7567;
    color: #fff;
}

@media (max-width: 991px) {
    .submenu {
        display: none;
    }
}

/* Next Menu */
@media (min-width: 992px) {
    .more-menu-wrapper {
        margin: 22px 0 0;
    }

    .more-menu-wrapper {
        position: absolute;
        top: 0px;
    }
    .more-menu-wrapper li {
        display: inline-block;
    }

    .more-menu-wrapper li a {
        color: #919193;
        font-size: 16px;
        padding: 5px 12px;
    }

    .more-menu-wrapper li a:hover {
        background: transparent;
        text-decoration: underline;
    }

    .menu-next-menu-container {
        display: inline-block;
    }
}

.header-top-widget-box {
    display: inline-block;
}


.header-top-widget-box ul {
    padding: 0;
}

/* Main Menu */
@media (min-width: 992px) {
    .menu-wrapper {
        background-color: #006442;
    }
    .main-menu-wrapper .nav > li > a,
    .main-menu-wrapper .nav > li a {
        border-right: 2px solid #fff;
        color: #fff;
        font-size: 18px;
        padding: 8px 12px 9px;
    }


    .main-menu-wrapper .current-menu-item > a,
    .main-menu-wrapper .current-page-parent > a,
    .main-menu-wrapper .current_page_item > a,
    .main-menu-wrapper .current-menu-ancestor > a {
        background-color: #c53421;
        color: #fff;
        font-weight: 700;
    }

    .main-menu-wrapper .menu-main-menu-container > ul > li:not(.menu-item-has-children):hover > a,
    .main-menu-wrapper ul > li:hover > a,
    .main-menu-wrapper ul > li.menu-item-has-children:hover > a,
    .main-menu-wrapper .nav > li ul {
        background-color: #0c885e;
    }

    .main-menu-wrapper .nav > li ul li a:hover {
        background-color: #c53421;
    }
}


    /* .....................................
    /  PROGRAM DAYS MENU
    */
        .tabbed-menu > div {
            margin: 0 auto 30px;
            position: relative;
            text-align: center;
            z-index: 3;
        }

        .tabbed-menu > div ul {
            display: inline-block;
        }

        .tabbed-menu > div li {
            float: left;
            list-style: none;
            margin: 0;
        }

        .tabbed-menu > div li.current-menu-item a {
            background-color: #ed1c24;
        }

        .tabbed-menu > div li.current-menu-item a:hover {
            background-color: #ed1c24;
        }

        .tabbed-menu > div li a {
            background-color: #bec0c2;
            color: #fff;
            display: inline-block;
            font-size: 30px;
            font-weight: 600;
            line-height: .85em;
            padding: 8px 25px 8px;
            text-align: center;
        }

        @media (min-width: 767px) {
            .tabbed-menu > div li a {
                padding: 8px 28px 8px;
            }
        }

        .tabbed-menu > div li:first-child a {
            border-bottom-left-radius: 3px;
            border-top-left-radius: 3px;
        }

        .tabbed-menu > div li:last-child a {
            border-bottom-right-radius: 3px;
            border-top-right-radius: 3px;
        }

        .tabbed-menu > div li a:hover {
            -webkit-transition: background-color 500ms ease-out;
            -moz-transition: background-color 500ms ease-out;
            -o-transition: background-color 500ms ease-out;
            transition: background-color 500ms ease-out;
            background-color: #d1d2d3;
        }

        .tabbed-menu > div li a.active {
            -webkit-transition: background-color 700ms ease-out;
            -moz-transition: background-color 700ms ease-out;
            -o-transition: background-color 700ms ease-out;
            transition: background-color 700ms ease-out;
            background-color: #0c885e;
            outline: 0;
        }

        .tabbed-menu > div li a span {
            display: block;
            font-size: 24px;
            font-weight: 300;
        }


    /* .....................................
    /  PROGRAM DAYS MENU
    */
        .tabbed-menu > div li a {
            font-size: 14px;
            font-weight: 600;
            padding: .8em 1.3em 1em;
        }

        .tabbed-menu > div li:first-child a {
            border-bottom-left-radius: 13px;
            border-top-left-radius: 13px;
        }

        .tabbed-menu > div li:last-child a {
            border-bottom-right-radius: 13px;
            border-top-right-radius: 13px;
        }

        .tabbed-menu > div li a:hover {
            background-color: #d1d2d3;
        }

        .tabbed-menu > div li a.active {
            background-color: #006442;
        }

        .tabbed-menu > div li a span {
            display: block;
            font-size: 24px;
            font-weight: 300;
            margin: 10px 0 0;
        }

        .tabbed-menu.date-only > div li a span {
            font-size: 20px;
            margin: 3px 0 0;
        }


    /* .....................................
    /  PROGRAM
    */
        .agenda-calendar {
            font-size: 1.1em;
            overflow: visible;
        }

        .agenda-items {
            position: static;
        }

        .agenda-item {
            border-bottom: 1px solid #ccc;
            min-height: 65px;
            padding: 8px 0 10px;
            width: 100%;
        }

        .agenda-item:last-of-type {
            border-bottom: 0;
        }

        .agenda-item .time {
            border-color: #ed1c24;
            min-height: 65px;
            white-space: nowrap;
        }

        @media (max-width: 767px) {
            .agenda-item .time {
                font-size: .7em !important;
            }
        }

        .agenda-item.details-visible .time {
            border-color: #db0031;
        }

        .agenda-item.has-details:not(.break):hover .time span {
            color: #db0031;
        }

        .agenda-item.details-visible .time span {
            color: #db0031;
        }

        .agenda-item.break .topic {
            min-height: 65px;
        }

        .agenda-item.push-right {
            border-color: #0c885e;
        }

        .agenda-item.has-details:not(.break) {
            font-weight: 400;
        }

        .agenda-item.has-details:not(.break) .topic b {
            font-weight: 400;
        }

        .agenda-item-details {
            left: 0;
            right: -30px;
            width: auto !important;
        }

        @media (max-width: 767px) {
            .agenda-item-details {
                margin-left: -30px !important;
                top: 50px !important;
            }

            .agenda-item-details .inner {
                margin: 0;
                padding-left: 0;
                padding-right: 0;
            }

        }


        .agenda-item .time-from,
        .agenda-item .time-to {
            display: block;
        }

        .agenda-item .time-to {
            color: #ccc;
        }

        .time-seperator {
            display: none;
        }


        @media (min-width: 767px) {
            .agenda-item .time-from,
            .agenda-item .time-to {
                display: inline;
            }

            .agenda-item .time-to {
                color: inherit;
            }

            .time-seperator {
                display: inline;
            }

            .agenda-item-details {
                right: -200px;
            }
        }

.agenda-item .time {
    border-color: #006442;
    font-size: 1em !important;
}

.agenda-item-details p,
.agenda-item-details ul {
    font-size: .9em;
}

.agenda-item-details .inner .person .image {
    border-radius: 5px;
}

/* AGENDA STOP */



.main-content,
.breadcrumbs {
/*   padding: 0 40px; */
}

.main-content {
    position: relative;
    padding-bottom: 60px;
    font-weight: 400;
}

.content {
    color: #08222d;
    line-height: 1.4em;
}

.content p {
    padding-bottom: .9em;
}

/* Child link box */

.child-link-box {
    border-top: 1px solid #0c885e;
    padding: 0 0 15px;
}

.content .inner .row:first-child .child-link-box {
    border-top: 0;
}

.child-link-box .preview .image-box {
    max-height: 100px;
    overflow: hidden;
}

.child-link-box .preview .image-box img {
    max-width: 100%;
    vertical-align: middle;
    width: 100%;
}

.child-link-box .read-more {
    padding: 10px 0 0;
}

footer {
    background-color: #bcbdc0;
    color: #898b8e;
    font-size: 14px;
    padding: 25px 0 50px;
}

footer .nav ul,
footer ul.nav {
    display: inline-block;
}

footer .nav li {
    border-left: 1px solid #898b8e;
    display: block;
    padding: 3px 0 3px 15px;
    text-align: left;
}

footer .nav li:first-child {
    padding-top: 0;
}

footer .nav li:last-child {
    padding-bottom: 0;
}

footer .nav li a {
    color: #53565a;
    font-size: 1.15em;
    padding: 0;
}


footer .nav li a:hover {
    background: transparent;
    text-decoration: underline;
}

.child-link-box {
    padding-top: 15px;
}



/* Homepage */


    .homepage .hgroup {
        background: #006442;
        background-image: -webkit-gradient(
            linear,
            left bottom,
            right bottom,
            color-stop(0, #0c885e),
            color-stop(0.9, #006442)
        );
        background-image: -o-linear-gradient(right, #0c885e 0%, #006442 90%);
        background-image: -moz-linear-gradient(right, #0c885e 0%, #006442 90%);
        background-image: -webkit-linear-gradient(right, #0c885e 0%, #006442 90%);
        background-image: -ms-linear-gradient(right, #0c885e 0%, #006442 90%);
        background-image: linear-gradient(to right, #0c885e 0%, #006442 90%);

        box-shadow: 4px 4px 8px rgba(0, 0, 0, .2);
        padding: 10px 0 19px 25px;
        position: relative;
        z-index: 1;
    }


    @media (min-width: 992px) {
        .homepage .hgroup {
            display: inline-block;
            margin-bottom: 50px;
            padding-bottom: 29px;
            padding-right: 40px;
            padding-top: 25px;
        }
    }

    @media (min-width: 1200px) {
        .homepage .hgroup {
            padding-right: 75px;
        }
    }

    .homepage .hgroup h1,
    .homepage .hgroup h2,
    .homepage .hgroup h3 {
        color: #fff;
    }

    .homepage .hgroup h1 {
        font-size: 26px;
        margin: 0 0 5px;
    }

    .homepage .hgroup h2 {
        font-size: 20px;
        margin: 0 0 10px;
    }

    .homepage .hgroup h3 {
        font-size: 15px;
        margin: 0;
    }

    @media (min-width: 992px) {
        .homepage .hgroup h1 {
            font-size: 36px;
        }

        .homepage .hgroup h2 {
            font-size: 32px;
            margin: 0 0 20px;
        }

        .homepage .hgroup h3 {
            font-size: 20px;
            margin: 0;
        }
    }


    .homepage .background-image {
        margin-top: -55px;

        image-rendering:-moz-crisp-edges;
        image-rendering: -o-crisp-edges;
        image-rendering:-webkit-optimize-contrast;
        -ms-interpolation-mode:nearest-neighbor;
    }

    .homepage .background-image .button.eye-catcher {
        color: #fff;
        margin: -45px 0 0 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

    .homepage .background-image .home-hero-content {
        margin: -125px 0 0 0;
        top: 0;
        width: 100%;
    }

    @media (min-width: 992px) {
        .homepage .background-image {
            margin-top: -195px;
        }

        .homepage .background-image .button.eye-catcher {
            color: #fff;
            left: 0;
            margin: 180px 0 0 25px;
            position: absolute;
            top: 0;
            width: auto;
        }

        .homepage .background-image .home-hero-content {
            color: #fff;
            left: 0;
            margin: 180px 0 0 25px;
            position: absolute;
            top: 0;
            width: auto;
        }

    }

    .homepage .background-image .text {
        color: #006442;
        font-size: 19px;
        position: static;
    }

    .homepage .promoted .promobox:last-child {
        margin-bottom: 0;
    }

    @media (min-width: 992px) {
        .homepage .promoted .promobox {
            margin-bottom: 0;
        }
    }


    @media (min-width: 767px) {
        .homepage.main-content.container {
            padding-left: 29px;
            padding-right: 29px;
        }
    }

    .homepage .entry > section h2 {
        margin: 0 0 1em;
    }

    .entry > section {
        border-bottom: 1px solid #bcbdc0;
        margin: 30px 0 0;
        padding: 0 0 25px;
    }

    .entry > section:last-child {
        border-bottom: 0;
    }

    .entry > section:first-child {
        margin: 0;
    }

    .homepage .entry > section.content {
        border: 0;
        padding: 0;
    }

    .homepage .person {
        display: inline-block;
        padding: 3px 2px;
    }

    .homepage .person.name {
        padding: 1px 0;
    }

    .homepage .person img {
        height: 35px;
        width: 35px;
    }

    .homepage img.programme {
        height: 165px;
    }

    .promoted {
        font-size: 14px;
    }

    .homepage .entry > section.promoted {
        margin: 0;
        position: relative;
        margin-top: 0;
    }

    @media (min-width: 992px) {
        .homepage .entry > section.promoted {
            margin-top: -30px;
        }
    }

    @media (min-width: 1200px) {
        .homepage .entry > section.promoted {
            margin-top: -110px;
        }
    }

    .homepage .entry > section.promoted .row {
        margin-left: 0;
        margin-right: -1px
    }

    .homepage .entry > section.promoted .promobox {
        background-color: #006442;
        color: #fff;
        padding: 25px;
        min-height: 187px;
    }

    @media (min-width: 992px) {
        .homepage .entry > section.promoted .promobox {
            min-height: 220px;
        }
    }

    @media (min-width: 1200px) {
        .homepage .entry > section.promoted .promobox {
            min-height: 195px;
        }
    }

    .homepage .entry > section.promoted .promobox h2 {
        color: #fff;
        margin-bottom: 10px;
    }

    .homepage .entry > section.promoted .promobox a {
        color: #fff;
        text-decoration: underline;
    }

    .homepage .entry > section.promoted .promobox > .row {
        margin-left: 0;
        margin-right: 0;
    }

    .homepage .entry > section.promoted .promobox:first-of-type {
        background-color: #fff;
        background-color: rgba(255, 255, 255, .75);
        color: inherit;
        padding: 25px 10px;
    }

    .homepage .entry > section.promoted .promobox:first-of-type h2,
    .homepage .entry > section.promoted .promobox:first-of-type a {
        color: #006442;
    }

    .homepage .text-content {
        color: #006442;
        font-size: 19px;
        padding-left: 25px;
        padding-right: 25px;
    }

    .homepage .organiser {
        margin: 0 0 20px;
    }

    .homepage .organiser img {
        display: block;
        height: auto;
        width: auto;
        max-width: 100%;
    }


    .eyecatcher-content {
        background: #db0031;
        color: #fff;
        font-weight: bold;
        padding: 1em;
        position: relative;
        z-index: 10;
        top: -48px;
        left: 0;
        right: 0;
    }

    .eyecatcher-content .attention {
        display: block;
    }

    .eyecatcher-content p {
        margin: 0;
    }

    @media (min-width: 992px) {
        .eyecatcher-content {
            border-radius: 4px;
            border-bottom-right-radius: 0;
            box-shadow: -1px -1px 5px rgba(0, 0, 0, .5);
            position: absolute;
            right: 29px;
            top: 20px;
            z-index: 100;
            left: auto;
        }
    }

    @media (max-width: 766px) {
        .homepage .organiser {
            border-bottom: 1px solid #ccc;
            padding-bottom: 30px;
            padding-top: 0;
        }
    }


    @media (min-width: 992px) {
        .homepage .organiser img {
            max-width: 50%;
        }
    }

    .homepage .organiser a.website {
        background-color: #006442;
        color: #fff;
        display: inline-block;
        font-size: 14px;
        margin: 5px 0 0;
        padding: 0 1px;
    }


.person img,
img.people {
    border-radius: 5px;
}

.speakers .person {
    border-bottom: 0;
}

.speakers .speaker-row {
    border-bottom: 1px solid #0c885e;
}

.speaker h3 {
    font-size: 16px;
    margin: .2em 0 0 !important;
}


/* Aside */
aside h2 {
    color: #006442;
    font-size: 18px;
}

aside h2:first-child {
    margin-top: 0;
}

aside img {
    height: auto;
    max-width: 100%;
}

/* Signees */

.signees {
    margin-top: 1em;
}

.signees img.people {
    display: inline;
    height: auto;
    margin-bottom: 1em;
    max-width: 130px;
}

.signees img.silhouette {
    display: inline;
    width: 130px;
}

.signees img.signature {
    height: auto;
    margin-bottom: .5em;
    max-height: 50px;
    max-width: 200px;
    width: auto;
}

.signees p {
    margin-bottom: .2em;
}


/* Program */


/*
.agenda-calendar {
    overflow: visible;
}

.agenda-items {
    position: static;
}

.agenda-item {
    border-bottom: 1px solid #ccc;
    min-height: 65px;
    padding: 8px 0 10px;
    width: 100%;
}

.agenda-item .time {
    border-color: #0c885e;
    min-height: 65px;
    white-space: nowrap;
}

.agenda-item.details-visible .time {
    border-color: #e77378;
}

.agenda-item.has-details:not(.break):hover .time span {
    color: #e77378;
}

.agenda-item.details-visible .time span {
    color: #e77378;
}

.agenda-item.break .topic {
    min-height: 65px;
}

.agenda-item.push-right {
    border-color: #0c885e;
}

.agenda-item.has-details:not(.break) {
    font-weight: 400;
}

.agenda-item.has-details:not(.break) .topic b {
    font-weight: 700;
}


.agenda-item-details {
    left: 0;
    right: 0;
    width: auto !important;
}

.agenda-item .time-from,
.agenda-item .time-to {
    display: block;
}

.agenda-item .time-to {
    color: #ccc;
}

.time-seperator {
    display: none;
}


@media (min-width: 767px) {
    .agenda-item .time-from,
    .agenda-item .time-to {
        display: inline;
    }

    .agenda-item .time-to {
        color: inherit;
    }

    .time-seperator {
        display: inline;
    }

    .agenda-item-details {
        right: 100px;
    }
}
*/

/* Next Menu */

header #more-menu.menu-wrapper a {
    padding: 1em 2em;
    display: block;
}

@media (min-width: 992px) {
    header #more-menu.menu-wrapper a {
        padding: 0 1em 0 0;
    }
}

.cmn-toggle-switch__htx {
    background-color: #006442;
}

.cmn-toggle-switch__htx.active {
    background-color: #0c885e;
}

.cmn-toggle-switch:not(.cmn-toggle-switch__htx) {
    background-color: transparent;
}

.cmn-toggle-switch.active:not(.cmn-toggle-switch__htx) {
    background-color: #ccc;
}

.cmn-toggle-switch:not(.cmn-toggle-switch__htx) span,
.cmn-toggle-switch:not(.cmn-toggle-switch__htx) span:before,
.cmn-toggle-switch:not(.cmn-toggle-switch__htx) span:after {
    background-color: #999;
}

@media (min-width: 992px) {
    /* Menus */
    .menu-box {
        border: 0;
    }

    /* Main Menu */


    /* More Menu */
    header #more-menu.menu-wrapper li {
        border: 0;
    }

}

@media (min-width: 1200px) {
    header #main-menu.menu-wrapper a {
        font-size: 1.1em;
    }
}

.mobile-bar {
    background: transparent;
}
