/* roboto-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/roboto-v30-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-100italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 100;
    src: url('../fonts/roboto-v30-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v30-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/roboto-v30-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v30-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/roboto-v30-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-900 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/roboto-v30-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-900italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 900;
    src: url('../fonts/roboto-v30-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



body.pagebody
{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family:"Roboto";
    font-weight: 300;
    background: #cbe1f6;
    background-image: url(../img/tartan-track-2678544_1920.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-size: 17px;
}

a:hover,
input,
textarea,
a:hover span.imghover,
.shortdesc
{
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

a
{
    color: #0f9354;
    text-decoration: none;
}

strong
{
    font-weight: bold;
}

a:hover
{
    color: #095636;
}


h1, h2, h3
{
    font-family: 'Roboto', sans-serif;
    line-height: 140%;
}

h1
{
    font-style: italic;
    font-weight: 300;
    color: #0f9354;
    font-size: 48px;

    margin-bottom: 30px;
}

h2
{
    font-weight: 400;
    font-size: 21px;
    color:#333;
    margin-bottom: 10px;
}

h3
{
    font-weight: 300;
    font-size: 18px;
    color:#0f9354;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #0f9354;
    margin-top: 5px;
}

p
{
    line-height: 130%;
    margin-bottom: 20px;
}

.wrapper
{
    width: 100%;
    max-width: 1550px;
    margin: 0 auto 10px auto;
    background: #fafbff;
    box-shadow: 0 0 2px #777;
    position: relative;
    z-index: 1;
}

.bgstat
{
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: linear-gradient(to bottom,  rgba(255,255,255,0.25) 0%,rgba(255,255,255,0.75) 100%); /* W3C */
    height: 170px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: 0 0 30px #AAA;
    z-index: 1;

    display: none;

}
.footer
{
    width: 100%;
    max-width: 1550px;
    margin: 10px auto;
    text-align: right;
    font-size: 14px;
    color: #FFF;
    
    font-weight: bold;
}

.footer a
{
    text-decoration: none;
    color: #FFF;
}

.footer a:hover
{
    color: #000;
}

.logo
{
    width: 88px;
    height: 118px;
    float: right;
    margin-top: 23px;
    margin-right: 34px;


}




img {
    max-width: 100%;
    height: auto;
}
div.clearfloats
{
    clear: both;
    float: none;
    height:0;
    overflow: hidden;
}

.main
{

    margin-bottom: 50px;
    max-width: calc(70% - 50px);
    width: 100%;
    margin: auto;
}

.innerfooter
{
    background: #269d65;
    color: #FFF;
    padding: 30px 40px 30px 40px;
    min-height: 180px;
    font-size: 16px;
    line-height: 140%;
}

.innerfooter p
{
    margin-bottom: 3px;
}

.innerfooter h4
{
    margin-bottom: 10px;
}


.innerfooter a
{
    color: #FFF;
}
.innerfooter a:before
{
    content: '\00BB \00a0';
}

.innerfooter a:hover
{
    text-decoration: underline;
}


.startseite .topillu
{

}

.startseite .breadcrumb {
    display: none;
}

hr {
    margin: 60px 0 20px 0;
    border: none;
    height: 2px;
    background: #dddee3;
}
.topillu
{
    background: #EEE;
    overflow: hidden;
    position: relative;
}
.topillu img {
    width: 100%;
}

.content
{
    padding-left: 20px;
    padding-right: 20px;
    font-size: 17px;
    color: #4b4b4b;
    margin-bottom: 40px;
    line-height: 140%;

}

.content ul,
.content ol
{
    margin-bottom: 20px;
    margin-top: 20px;
}


.content ul li
{
    margin-left: 15px;
    margin-bottom: 10px;
    list-style-type: disc;
}

.content ol li
{
    margin-left: 15px;
    margin-bottom: 10px;
    list-style-type: decimal;
}

.breadcrumbpath
{
    overflow: hidden;
    background-size: 97%;
    height: 55px;
    font-size: 14px;
    color: #0f9354;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.breadcrumbpath:before {
    z-index: 1;
    content: '';
    width: 97%;
    background: rgba(0,0,0,.5);
    height: 20px;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    filter: blur(30px);
    top: -30px;
    overflow: hidden;
}

div.yah
{
    float: left;
    margin-right: 10px;
}
.breadcrumbpath li {
    display: inline-block;
    margin: 0 10px 0 0;
}
.breadcrumbpath a.backlink
{
    font-weight: normal;
    float: right;
}

body.startseite a.backlink
{
    display: none;
}

body.startseite .main h2
{
    margin-top: 80px;
}


ul.rex-breadcrumb li
{
    display: inline-block;
    margin-right: 10px;
    margin: 0 10px 0 0;
}

div.breadcrumbopener
{
    margin-right: 5px;
}

div.breadcrumbopener,
ul.rex-breadcrumb
{
    float: left;
}

ul.rex-breadcrumb
{
    margin-top: 0;
}

.breadcrumbpath a
{
    font-weight: bold;
    text-decoration: none;

}

.breadcrumbpath li:before
{
    content: "\00bb\00a0";
}

a.backlink:before
{
    content: "\00ab\00a0";
}

/*MENU*/
.nav
{


    text-align: left;
    height: 20px;
    margin-left: 17px;
    margin-bottom: 24px;
    padding-top: 121px;
}

.topnav
{
    position: absolute;
    left: 10px;
    top: 10px;
}

.topnav li
{
    display: inline-block;
    margin-right: 20px;
}

.topnav li a
{
    color: #cdcdcd;
    font-weight: bold;
}

.topnav li a:hover,
.topnav li a.rex-current
{
    color: #095636;
}
/* 2. Ebene ausblenden */
.nav ul ul
{
    display: none;
}
.nav li
{
    display: inline-block;

}


.nav li a
{
    margin-right: 25px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 900;
    color: #0f9354;
    letter-spacing: 2px;
}

.nav li a:hover,
.nav li a.rex-current
{
    color: #095636;
    text-shadow: none;
}

.startseite .content .main,
.abteilungen .content .main
{
    display: inline-block;
    margin-right: 15px;
}

.startseite .content .rightcontainer,
.abteilungen .content .rightcontainer
{
    width: 100%;
    max-width: calc(30% - 40px);
    display: inline-block;

    vertical-align: top;
    float: right;
}

.rightcontainer .veranstaltung
{
    background: #f5f6fa;
    padding: 15px;
}

.rightcontainer .veranstaltung .datum
{
    font-weight: 700;
    border-right: 2px solid #4b4b4b;
    display: inline-block;
    width: 77px;
    vertical-align: top;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    margin-top: 4px;
}

.rightcontainer .veranstaltung .beschreibung
{
    display: inline-block;
    padding-left: 10px;
    width: 161px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 160%;
}

.startseite .content .rightcontainer .txtblock
{
    padding: 40px 20px;
    background: #ebecf1;
    font-family: 'Roboto', sans-serif;
    color: #000;
}

.startseite .content .rightcontainer .txtblock.wetter
{
    padding: 0;
    background: none;
    margin-top: 40px;
}

h2 a
{
    color: #9f9f9f;
    text-decoration: none;
}

.standard .content .rightcontainer
{
    display: none;
}


.standard .main {
    max-width: calc(100% - 60px);
}
.txtblock
{
    clear: both;
}

.startseite .content .rightcontainer .txtblock a
{
    text-decoration: underline;
}

.contactpageap
{
    width: calc(25% - 10px);
    min-height: 200px;
    display: inline-block;
    box-shadow: 0 0 2px #777777;
    margin-right: 10px;
    margin-bottom: 30px;
    vertical-align: top;
    background: rgb(241,241,241); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: linear-gradient(45deg,  rgba(241,241,241,1) 0%,rgba(255,255,255,1) 19%,rgba(241,241,241,1) 64%,rgba(255,255,255,1) 100%); /* W3C */
    line-height: 130%;
}

.contactpageap.geschaeft
{
    width: 450px;
    padding-bottom: 10px;
}

.contactpageap.geschaeft .contactpageaptext
{
    width: 330px;
}

.contactpageap.geschaeft .contactapval
{
    width: 120px;
}

.contactpageap.geschaeft .contactapitem
{
    width: 210px;
}


.contactpageap .contactpageapfkt
{
    color: #0f9354;
    padding: 10px;
    font-size: 110%;
    min-height: 40px;
}

.contactapvaladr
{
    float: left;
    width: 100px;
}

.contactapval
{
    width: 60px;
    float: left;
    margin-right: 10px;
    margin-bottom: 5px;
}
.contactapitem
{
    float: left;
    width: 120px;
    margin-bottom: 5px;
}

.contactpageap .contactpageaptext
{
    float: left;
    width: calc(100% - 110px);
    padding: 0 10px 0 0;
}
.contactpageap .contactpageappic
{
    float: left;
    width: 80px;
    vertical-align: top;
    padding: 0 10px 10px 10px;
}

.contactpageap .contactpageappic img
{
    width: 100%;
}

.shortteaser
{
    width: calc(25% - 10px);
    height: 157px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 2px #777777;
    margin-right: 10px;
    margin-bottom: 30px;
}

.shortteaser .shortdesc
{
    background: #cd2500;
    position: absolute;
    top: 117px;
    width: 100%;
    height: 100%;
    padding-top: 30px;
}

.shortteaser_pic img {
    width: 100%;
}
.shortteaser .shortteaserlogo
{
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: #FFF;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: linear-gradient(135deg,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.02) 59%,rgba(255,255,255,0) 60%,rgba(255,255,255,0) 100%); /* W3C */
    position: absolute;
    padding: 0 0 20px 0;
    top: 0;
    height: 100%;
    width: 100%;
}
.shortteaser .shortteaserlogo img
{
    width: 110px;
    height: auto;
}
.shortteaser .shortdesc img
{
    margin-top: 3px;
    margin-left: 3px;

    position: absolute;
    top: -30px;
}

.shortteaser .shortdesc h2 a
{
    color: #FFF;
    font-style: italic;
    font-family: 'Roboto',sans-serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 500;
    display: block;
    padding: 5px 0 0 10px;
    text-shadow: 1px 1px 1px #000;
}


.shortteaser .shortteaser_morelink
{
    position: absolute;
    right: 10px;
    bottom: 8px;
}
.shortteaser .shortteaser_morelink a.morelink
{
    color: #FFF;
    text-decoration: underline;
    text-shadow: 1px 1px 1px #000;

}

.shortteaser .shortdesc a.morelink:hover
{
    color: #000;

}

.shortteaser:hover .shortdesc
{
    top: 0;
    background: #0F9354;
    padding-top: 0;
}

.shortteaser .shortdesc .apcontent
{
    color: #FFF;
    text-shadow: 1px 1px 1px #000;
    padding: 10px;
}

.apcol,.apct
{
    width: 40%;
    float: left;
    margin-bottom: 5px;
}

.apct
{
    width: 60%;
}

.apct:after
{
    clear: both;
    display: block;
    width: 100%;
    height: 1px;
    overflow: hidden;
}

.ftblock1
{
    float: left;
    width: 28%;
}

.ftblock1 .ftrow
{
    width: 50%;
}


.ftblock2
{
    float: left;
    width: 50%;
}

.ftblock3
{
    float: left;
    width: 22%;
}

.ftblock3 .ftrow
{
    width: 100%;
}

.ftrow
{
    float: left;
    width: 33%;

}

.innerfooter h4
{
    font-weight: bold;
}

.ftrow p
{
    line-height: 150%;
}

.innerfooter:after,
.apbox:after
{
    content: "";
    display: table;
    clear: both;
}

table.kurzportrait
{
    width: 100%;
}

table.kurzportrait td
{
    padding-bottom: 10px;
}

table.kurzportrait .leftcolumn
{
    width: 13%;
}

table.abteilungen,
.links table
{
    width: 100%;
    color: #000;
}


table.abteilungen tr:nth-child(even)
{
    background: #edeef2;
}


.links table
{
    text-align: center;
    font-weight: bold;
    font-size: 110%;
}
.links table tr
{
    background: #edeef2;
}

.links table tr td
{
    border: 1px solid #DDD;
    line-height: 120%;
    vertical-align: middle;
}

.links table tr td
{
    height: 100%;
}
.links table tr td a
{
    display: block;
    height: auto !important;
    min-height: unset;
    height: 100%;
    padding: 10px;
}

.links table tr td a span
{
    color: #333;
    font-size: 90%;
}
.links table tr td a:hover
{
    background: rgb(8,76,43); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: linear-gradient(45deg,  rgba(8,76,43,1) 0%,rgba(15,147,84,1) 100%); /* W3C */


    color: #FFF;
}

.links table tr td a:hover span
{
    color: #CCC;
}


table.abteilungen tr:nth-child(odd)
{
    background: #fafbff;
}

table.abteilungen tr:first-child
{
    background: #d4d5d9;
    border-bottom: 1px solid #FFF;
}

table.abteilungen td
{
    padding: 10px;
}

table.abteilungen tr td:first-child
{
    font-weight: bold;
}

table.abteilungen th,
table.abteilungen thead td
{
    font-family: Roboto;
    font-size: 15px;
    text-align: left;
    padding: 10px;
}




.rightcontainer h4
{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
    margin-top: 20px;
}

.apbox
{
    background: #dddee3;
    padding: 15px;
}

.apbox:nth-child(2n)
{
    background: #f0f1f5;
}

.apbox a
{
    color: #4b4b4b;
    text-decoration: underline;
}

.apperson
{
    margin-bottom: 20px;
}

.apbox .apboxcall
{
    padding-left: 10px;
    float: left;
}

.apbox .apfullsize
{
    padding-left: 10px;
}

.apbox .appic
{
    float: left;
}


.newsteaser
{
    background: #ebecf1;
    clear: both;
    padding: 10px;
}


.newsteaser:nth-child(even)
{
    background: #fafbff;
}

.newscontainpic
{
    width: 150px;
    float: left;
    margin-right: 10px;
    text-align: center;
}

.newscontaintext
{
    float: left;
    width: 470px;
}

.newscontaintext h4
{

    font-weight: bold;
    padding-bottom: 10px;

}

.newsteaser:after
{
    content: ' ';
    clear: both;
    display: block;
    overflow: hidden;
    height: 1px;
}

.magnific-popup-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
}
div.magnific-popup-gallery a
{
    position: relative;
    width: calc(20% - 20px);
    margin: 0 20px 20px 0;
    overflow: hidden;
    text-align: center;
    box-shadow: 0  0 5px #777;
    background-size: cover;
    padding-top: calc(20% - 20px);
}


div.magnific-popup-gallery a span.galtitel
{
    position: absolute;
    color: #FFF;
    left: 8px;
    bottom: 11px;
}

a.magnific-popup-image img,
div.magnific-popup-gallery img
{
    border: none !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.magnific-popup-gallery:last-of-type
{
    clear: both;
}

.rechtsoben,
.linksoben,
.rechtsunten,
.linksunten
{
    position: absolute;
}

.rechtsunten
{

    bottom: 10px;
    right: 10px;
}

.rechtsoben
{
    top: 10px;
    right: 10px;
}

.linksoben
{
    top: 10px;
    left: 10px;
}

.linksunten
{
    bottom: 10px;
    left: 10px;
}

.txtblock td{
    vertical-align: top;
    padding-bottom: 10px;
}

.txtblock td:nth-child(odd) {
    padding-right: 10px;
}
h1.alignc {
    text-align: center;
}

.yform,
.rex-xform {
    background: #f1f1f1;
    padding: 20px;
    margin: auto;
    border: 1px solid #DDD;
}

.yform.nwsltrlg .rex-yform {
    width: calc(100% - 40px);
}
.yform.nwsltrlg .rex-yform {

}
.yform.nwsltrlg .rex-yform label {
    display: block;
}

.xform.nwsltrlg .rex-xform p:nth-child(7) {
    font-size: 11px;
    font-style: italic;
}
.xform.nwsltrlg .rex-xform p:nth-child(10) {
    font-size: 11px;
}

span.smlw {
    font-size: 10px;
}

span.smlw,
.rex-xform label {
    display: block;
}

#rex-yform.algnct {
    margin: auto;
    width: 25%;
}

.rex-yform input {
    padding: 10px;
    max-width: 240px;
    width: 100%;
    margin-top: 3px;
}

input[type='checkbox'] {
    max-width: 240px;
    width: auto;
}

.rex-yform label {
    display: block;
}

.rex-yform button,
.rex-yform input.btn
{
    background: #269d65;
    color: #FFF;
    cursor: pointer;
    border: none;
    font-weight: 300;
    padding: 10px 20px;
    font-size: 100%;
    width: auto;
}

.formcheckbox,
.form-group {
    margin-bottom: 20px;
}

.rex-yform input.btn:hover
{
    background: #095636;
}

.logoutbtn {
    padding: 15px;
    text-align: right;
    font-weight: bold;


}
.logoutbtn a {
    background: #0f9354;
    color: #FFF;
    padding: 5px 10px;

    border-radius: 3px;

}
.logoutbtn a:hover {
    background: #095636;
}
