/**
 * Created by Burak Ayyildiz on 13.08.2016.
 */

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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

/**Kontur 8px #a93dbf/
main, header, article, section, aside {
    display: block;
}

/* ------------------- CLASSES ------------------- */

.full {
    width: 100%
}

.eighty {
    width: 78%
}

.threequad {
    width: 72%
}

.twothirds {
    width: 64%
}

.realhalf {
    width: 50%
}

.half {
    width: 48%
}

.third {
    width: 32%
}

.quad {
    width: 24%
}

.fifth {
    width: 19%
}

.left {
    float: left
}

.right {
    float: right
}

.tright {
    text-align: right
}

.clear {
    clear: both;
    float: none;
}

.hidden {
    display: none !important;
}

.nomarg {
    margin: 0 !important;
}

.block {
    display: block;
}

.iblock {
    display: inline-block;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

img.full {
    height: auto;
}

strong {
    font-weight: bold;
}

.center {
    text-align: center;
}

.left-align {
    text-align: left;
}

hr {
    border-top: solid 1px #ccc;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    height: 0;
    margin: 20px 0;
}

.vtop {
    vertical-align: top;
}

/* ------------------- TEXT ------------------- */

p {
    font-size: 1.125em;
    line-height: 1.4;
    margin-bottom: 1.3em
}

p span {
    font-weight: 400;
}

span.desktop, span.mobile {
    font-weight: 300;
}

h1 {
    font-weight: 700;
    text-transform: uppercase;
}

h2 {
    font-size: 1.875em;
    color: #a93dbf;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 1px solid #ccc;
    padding: 4% 0;
}

h3, .ui-tabs-anchor {
    font-size: 1.5em;
}

h4 {
    font-size: 1.125em;
}

h3, h4 {
    color: #a93dbf;
    margin: 1.3em 0;
}

small {
    font-size: 0.8em;
}

a {
    color: #a93dbf;
    text-decoration: none;
}

a:hover {
    color: #222;
}

/* ------------------- SCROLLER ------------------- */

.scrollToTop {
    width: 60px;
    height: 40px;
    position: fixed;
    bottom: 10%;
    right: 0;
    display: none;
    background: url(../data/scroll-up.png) no-repeat;
    z-index: 999;
}

.scrollToTop:hover {
    background: url(../data/scroll-up_hover.png) no-repeat;
}

/* ------------------- RESPONSIVE ------------------- */

@media only screen and (min-width: 980px) {
    body {
        font-size: 1em;
    }

    .inner {
        width: 900px;
        margin: 0 auto;
    }

    #frontpage #teaser {
        padding: 15% 0;
    }

    #subpage #teaser {
        padding: 5% 0;
        background-size: 100% !important;
    }

    #logo {
        float: left;
    }

    #topnav {
        display: inline-block;
    }

    .slicknav_menu {
        display: none;
    }

    .columns-3 li {
        padding: 0 4%;
    }

    .columns-3 li {
        display: inline;
        float: left;
        width: 25%;
    }

    #regform .checkbox-525 .wpcf7-list-item {
        margin: 0 0 5px 0;
        width: 50%;
        float: left;
    }

    .desktop {
        display: block;
    }

    .tablet {
        display: none;
    }

    .mobile {
        display: none;
    }

    span.desktop {
        display: inline-block !important
    }

    #regform input[type="text"], #regform input[type="email"], #regform input[type="submit"], #regform textarea, .wpcf7-submit {
        -webkit-appearance: none;
        border-radius: 0;
    }

    .active .js-list-element-head:after {
        content: '';
        display: block;
        border-left: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        transform: rotate(135deg);
        height: 16px;
        width: 16px;
        left: 45%;
        bottom: -8px;
        position: relative;
        margin-top: 10%;
    }

    #aussteller img {
        max-height: 80px;
        width: auto;
    }

    #teaser .onlyfew-img {
        display: inline-block;
    }

    #teaser .onlyfew-text {
        display: none;
    }
}

@media only screen and (min-width: 760px) and (max-width: 979px) {
    body {
        font-size: 0.9em;
    }

    .inner {
        width: 90%;
        padding-right: 5%;
        padding-left: 5%;
    }

    footer .inner {
        width: 96%;
        padding-right: 2%;
        padding-left: 2%;
    }

    #footlogos {
        margin-top: 2%;
    }

    #footlogos img {
        width: 110%;
        height: auto;
    }

    #frontpage #teaser {
        padding: 10% 0;
    }

    #subpage #teaser {
        padding: 5% 0;
        background-size: 100% !important;
    }

    header {
        text-align: center;
    }

    #logo {
        display: inline-block;
    }

    #aussteller .img-cont img {
        width: 100%;
        height: auto;
    }

    .columns-3 li {
        padding: 0 4%;
    }

    .columns-3 li {
        display: inline;
        float: left;
        width: 25%;
    }

    #topnav {
        display: none;
    }

    #regform input[type="text"], #regform input[type="email"], #regform input[type="submit"], #regform textarea, .wpcf7-submit {
        -webkit-appearance: none;
        border-radius: 0;
    }

    #regform .checkbox-525 .wpcf7-list-item {
        margin: 0 0 5px 0;
        width: 50%;
        float: left;
    }

    #teaser {
        //background-size: 120% !important;
        background-size: cover;
    }

    .desktop {
        display: none;
    }

    .tablet {
        display: block;
    }

    .mobile {
        display: none;
    }

    span.tablet {
        display: inline-block !important
    }

    #teaser .onlyfew-img {
        display: none;
    }

    #teaser .onlyfew-text {
        display: inline-block;
    }
}

@media only screen and (min-width: 320px) and (max-width: 759px) {
    body {
        font-size: 0.8em;
    }

    .inner {
        width: 90%;
        padding-right: 5%;
        padding-left: 5%;
    }

    footer .inner {
        width: 96%;
        padding-right: 2%;
        padding-left: 2%;
    }

    #footlogos {
        margin-top: 2%;
    }

    #footlogos img {
        width: 90%;
        height: auto;
    }

    #footlogos li {
        padding: 0 10px !important;
    }

    #aussteller .img-cont img {
        width: 100%;
        height: auto;
    }

    .resp-full {
        width: 100%;
        float: none;
    }

    .resp-center {
        text-align: center !important;
    }

    .columns-3 li {
        width: 100%;
        float: none;
        display: block;
        margin-bottom: 10%;
    }

    .columns-3 li img {
        display: inline-block;
    }

    header {
        text-align: center;
    }

    #logo {
        display: inline-block;
    }

    #topnav {
        display: none;
    }

    .active .js-list-element-head:after {
        display: none !important;
    }

    #regform input[type="text"], #regform input[type="email"], #regform input[type="submit"], #regform textarea {
        -webkit-appearance: none;
        border-radius: 0;
    }

    .columns-3 h3 {
        margin: 0.65em 0 !important;
    }

    .columns-3 li {
        border-bottom: 1px dotted #ccc;
        padding-bottom: 2% !important;
    }

    .columns-3 li:last-child {
        border: 0;
    }

    #regform .checkbox-525 .wpcf7-list-item {
        margin: 0 0 5px 0;
        width: 100%;
        float: left;
    }

    #teaser {
        padding: 2% 0;
        //background-size: 250% !important;
	background-size: cover;
    }

    .desktop {
        display: none;
    }

    .tablet {
        display: none;
    }

    .mobile {
        display: block;
    }

    span.mobile {
        display: inline-block !important
    }

    #teaser .onlyfew-img {
        display: none;
    }

    #teaser .onlyfew-text {
        display: inline-block;
    }

    #gallery li {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .fileicon {
        display: none !important;
    }

    .resp-hide {
        display: none !important;
    }
}

/* ------------------- BODY ------------------- */

body, input {
    color: #6b6b6b;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}

/* ------------------- HEADER ------------------- */

header {
    padding: 20px 0;
}

#logo {
    background: url(../data/mef.png) no-repeat;
    background-size: 100%;
    width: 206px;
    height: 88px;
    padding-bottom: 15px
}

#topnav {
    width: 690px;
    float: right;
    text-align: right;
    margin-top: 20px;
}

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

#topnav a {
    color: #6b6b6b;
    text-decoration: none;
    padding: 10px 20px 10px 15px;
    display: inline-block;
    border-right: 1px solid #ccc;
}

#topnav li:last-child a {
    border: 0;
}

#topnav .current a, #topnav a:hover {
    color: #a93dbf;
}

/* ------------------- TEASER ------------------- */

#teaser {
    background: #91948e url(../data/coverKlein.jpg) no-repeat center;
    color: #fff;
    background-size: contain;
    background-size: cover;
    border-top: 3px solid #a93dbf;
}

#teaser .group {
    padding: 30px 20px;
    border-left: 5px solid #a93dbf;
    position: relative;
}

#teaser h1 {
    font-size: 4em;
}

#teaser .date {
    font-size: 3.125em;
}

#teaser .onlyfew-img {
    background: url(img/stempel-ausgebucht-2.png) no-repeat;
    width: 175px;
    height: 109px;
    position: absolute;
    right: 23%;
    bottom: -20%;
}

#teaser .onlyfew-text {
    background: #a93dbf;
    padding: 0.5em;
    font-size: 1.5em;
    margin-top: 0.5em;
}

/* ------------------- JS LIST ------------------- */

.js-list {
    position: relative;
    list-style: none;
    margin-bottom: 5%;
}

.js-list-element-head {
    position: relative;
    cursor: pointer;
}

.js-list-element-head p {
    display: block;
    margin: 0 !important;
}

/* ------------------- JS LIST - THREE ------------------- */

.js-list.three-elements li {
    float: left;
    width: 28.3%;
    margin-right: 5%;
}

.three-elements .item-3, .three-elements .item-6, .three-elements .item-9 {
    margin: 0 !important;
}

.three-elements .js-list-element-body {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    left: 0;
    width: 304%;
    padding: 10% 15% 5% 15%;
}

.three-elements .item-2 .js-list-element-body, .three-elements .item-5 .js-list-element-body, .three-elements .item-8 .js-list-element-body {
    margin-left: -116.6%;
}

.three-elements .item-3 .js-list-element-body, .three-elements .item-6 .js-list-element-body, .three-elements .item-9 .js-list-element-body {
    margin-left: -233.4%;
}

/* ------------------- JS LIST - TWO ------------------- */

.js-list.two-elements li {
    float: left;
    width: 47%;
    margin-right: 5%;
}

.two-elements .item-2, .two-elements .item-4, .two-elements .item-6, .two-elements .item-8, .two-elements .item-10, .two-elements .item-12, .two-elements .item-14 {
    margin: 0 !important;
}

.two-elements .js-list-element-body {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    left: 0;
    width: 180%;
    padding: 10% 15% 5% 15%;
    margin-top: 10%;
}

.two-elements .item-2 .js-list-element-body, .two-elements .item-4 .js-list-element-body, .two-elements .item-6 .js-list-element-body, .two-elements .item-8 .js-list-element-body, .two-elements .item-10 .js-list-element-body, .two-elements .item-12 .js-list-element-body, .two-elements .item-14 .js-list-element-body {
    margin-left: -110.6%;
}

/* ------------------- JS LIST - ONE ------------------- */

.js-list.one-element li {
    margin-bottom: 5%;
}

/* ------------------- CONTENT - AGENDA ------------------- */

#agenda {
    background: #f3f3f3;
}

#agenda .head, #agenda .tabnav-cont {
    background: #a93dbf;
}

#agenda .head h2 {
    color: #fff;
    border: 0;
}

#agenda .js-list-element-head img {
    display: block;
}

#agenda .js-list-element-head p {
    padding: 10%;
    background: #414141;
    color: #fff;
}

#agenda .active .js-list-element-head p,
#agenda .js-list .js-list-element-head:hover p {
    background: #a93dbf;
}

#agenda .active .js-list-element-head:after {
    background: #f3f3f3;
}

#agenda .ui-tabs .ui-tabs-panel {
    padding: 4% 0 2.5% 0;
}

#agenda .expand {
    float: right;
    margin: 4px 0 0 5px;
}

/* ------------------- CONTENT - AUSSTELLER ------------------- */

.expand {
    background: url(img/icons/plus.png);
    background-size: 100%;
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-left: 5px;
}

.active .expand {
    background: url(img/icons/minus.png);
    background-size: 100%;
}

#aussteller h2 {
    margin-bottom: 8%;
}

#aussteller .js-list-element-head {
    text-align: center;
}

#aussteller .js-list-element-head p {
    padding: 5% 10%;
    background: #ccc;
    color: #fff;
}

#aussteller .active .js-list-element-head p {
    background: #a93dbf;
}

#aussteller .active .js-list-element-head:after {
    background: #fff;
}

#aussteller .img-cont {
    border: 1px solid #ccc;
    border-bottom: 0;
    height: 120px;
    display: block;
    text-align: center;
    overflow: hidden;
}

#aussteller .img-cont .middle {
    display: table-cell;
    vertical-align: middle;
    height: 120px;
}

#aussteller .js-list .js-list-element-head:hover p {
    background: #414141;
}

/* ------------------- COLUMNS ------------------- */

.space {
    padding: 6% 0;
}

.space-bottom {
    padding-bottom: 6%;
}

.columns-3 li {
    text-align: center;
}

.columns-3 li img {
    max-height: 88px;
    width: auto;
}

/* ------------------- CONTENT - FORM ------------------- */

/* #anmeldung {background: #f3f3f3;} */
#anmeldung {
    background: #929292;
}

#anmeldung h2 {
    color: #fff;
    border: 0;
}

#regform {
    font-size: 1.125em;
}

#regform .smaller p {
    font-size: 1em !important;
}

#regform td {
    padding: 8px 0;
}

#regform label {
    cursor: pointer;
}

#regform input[type="text"], #regform input[type="email"], #regform textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 1em;
}

#regform input[type="submit"] {
    color: #fff;
    font-size: 1em;
    text-align: center;
    padding: 10px 40px 12px 40px;
    background: #a93dbf;
    cursor: pointer;
    border: 0;
}

#regform input[type="submit"]:hover {
    background: #414141;
}

#regform span {
    font-weight: 300;
}

#regform span.wpcf7-list-item {
    margin-left: 0;
}

#regform span.wpcf7-not-valid-tip {
    font-size: 0.8em;
    padding: 5px 0;
    color: #a93dbf;
}

#anmeldung div.wpcf7-validation-errors {
    border: 1px solid #a93dbf;
    background: #fff;
    padding: 20px;
}

#anmeldung div.wpcf7-mail-sent-ok {
    border: 1px solid #2acc0a;
    background: #fff;
    padding: 20px;
}

#regform span.wpcf7-list-item {
    width: 100%;
    display: block;
    margin: 10px 0 0 0;
}

/* ------------------- CONTENT - FOTOS ------------------- */

#fotos h2 {
    margin-bottom: 5%;
}

#gallery li {
    list-style: none;
    margin-bottom: 5% !important;
}

#gallery li a {
    display: block;
}

#gallery li a:hover {
    opacity: .6;
}

/* ------------------- CONTENT - DOWNLOADS ------------------- */

#downloads h2 {
    margin-bottom: 5%;
}

#database {
    width: 100%;
    border-spacing: 0;
    margin-bottom: 5%;
}

#database th {
    padding: 1em;
    border-bottom: 2px solid #ccc;
    text-align: left;
    font-weight: bold;
}

#database td {
    padding: 1em;
    border-bottom: 1px solid #ddd;
}

#database tr:last-child td {
    border: 0;
}

.fileicon {
    background: url(img/icons/fileicon.png) no-repeat left center;
    background-size: 100%;
    width: 1em;
    height: 1em;
    display: inline-block;
    float: left;
    margin-right: .5em;
}

/* ------------------- CONTENT - ANREISE ------------------- */

#anreise p {
    font-size: 1em;
}

/* ------------------- CONTENT - MAP ------------------- */

#gmaps {
    border: 0;
    width: 100%;
    height: 500px;
    display: block;
}

/* ------------------- CONTENT - youtube ------------------- */

#youtube {
    border: 0;
    width: 100%;
    height: 500px;
    display: block;
}

/* ------------------- SUBPAGE ------------------- */

#subpage {
    margin-bottom: 8%;
}

/* ------------------- FOOTER ------------------- */

footer {
    background: #f7f7f7;
    padding: 4% 0;
}

footer ul li {
    display: inline;
    list-style: none;
}

#footnav {
    margin-top: 5px;
}

#footnav a {
    color: #6b6b6b;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    border-left: 1px solid #ccc;
}

#footnav li:first-child a {
    border: 0;
}

#footnav a:hover, #footnav .current-menu-item a {
    color: #a93dbf;
}

#footlogos li {
    display: table-cell;
    vertical-align: middle;
    padding-left: 30px;
}

/*!
 * SlickNav Responsive Mobile Menu v1.0.3
 * (c) 2015 Josh Cope
 * licensed under MIT
 */
.slicknav_menu:after, .slicknav_menu:before {
    display: table;
    content: " "
}

.slicknav_btn, .slicknav_nav .slicknav_item {
    cursor: pointer
}

.slicknav_menu, .slicknav_menu * {
    box-sizing: border-box
}

.slicknav_nav, .slicknav_nav ul {
    padding: 0;
    list-style: none;
    overflow: hidden
}

.slicknav_btn {
    position: relative;
    display: block;
    vertical-align: middle;
    float: right;
    padding: .438em .625em;
    line-height: 1.125em
}

.slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar {
    margin-top: .188em
}

.slicknav_menu .slicknav_menutxt {
    display: block;
    line-height: 1.188em;
    float: left;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 3px #000
}

.slicknav_menu .slicknav_icon {
    float: left;
    margin: .188em 0 0 .438em
}

.slicknav_menu .slicknav_no-text {
    margin: 0
}

.slicknav_menu .slicknav_icon-bar {
    display: block;
    width: 1.125em;
    height: .125em;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
    -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .25)
}

.slicknav_menu:after {
    clear: both
}

.slicknav_nav li, .slicknav_nav ul {
    display: block
}

.slicknav_nav .slicknav_arrow {
    font-size: .8em;
    margin: 0 0 0 .4em
}

.slicknav_nav .slicknav_item a {
    display: inline
}

.slicknav_nav .slicknav_row, .slicknav_nav a {
    display: block
}

.slicknav_nav .slicknav_parent-link a {
    display: inline
}

.slicknav_menu {
    *zoom: 1;
    font-size: 16px;
    background: #a93dbf;
   
    padding: 5px
}

.slicknav_menu .slicknav_icon-bar {
    background-color: #fff
}

.slicknav_btn {
    margin: 5px 5px 6px;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(255, 255, 255, .75);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #222
}

.slicknav_nav {
    clear: both;
    color: #fff;
    margin: 0;
}

.slicknav_nav ul {
    margin: 0 0 0 20px
}

.slicknav_nav .slicknav_row, .slicknav_nav a {
    padding: 8px 10px;
    margin: 5px
}

.slicknav_nav .slicknav_row:hover {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background: #ccc;
    color: #fff
}

.slicknav_nav a {
    text-decoration: none;
    color: #fff
}

.slicknav_nav a:hover {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background: #fff;
    color: #222
}

.slicknav_nav .slicknav_txtnode {
    margin-left: 15px
}

.slicknav_nav .slicknav_item a, .slicknav_nav .slicknav_parent-link a {
    padding: 0;
    margin: 0
}

.slicknav_brand {
    float: left;
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    padding: 7px 12px;
    height: 44px
}

#tabnav > div.tabnav-cont > div > ul > li {
    background: #a93dbf !important;
}

/* google maps fix*/
@media (min-width: 320px) and (max-width: 759px) {
#karte {
padding-left:40px;
padding-right: 40px;
}

#teaser > div > div > h1 {

word-break: break-all;

}

