@import url('/css/modules/CallToAction/calltoaction.css');

#inhalt {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#inhalt nav {
    flex: 1;
}

@media (min-width: 768px) {
    #inhalt nav {
        max-width: 195px;
    }
}

/* popup */
div#popup {
    float: left;
    /*width: 650px;*/
    width: 400px;
}

span.reg {
    position: relative;
    top: -7px;
    font-size: 17px;
    padding-left: 4px;
}

#popup span, #popup strong, #popup h3, #popup h4, #popup div, #popup table {
    float: left;
    width: 100%;
}

.loading-button {
    min-width: 95px;
    text-align: center;
    max-height: 34px;
    min-height: 34px;
    cursor: pointer;
}

.loading-button img {
    max-height: 20px;
}


#popup strong.title {
    font-size: 23px;
}

#popup strong, #popup h3, #popup h4 {
    font-size: 17px;
    color: #333;
    margin-bottom: 30px;
    line-height: 23px;
    font-weight: 700;
}

#popup strong {
    display: inline;
    float: none;
    width: auto;
}

#popup p {
    margin: 0 0 20px 0;
}

#popup table {
    margin: 0 0 10px 0;
}

#popup td {
    vertical-align: top;
    padding: 0 10px 20px 0;
}

#popup .button {
    float: left;
    width: auto;
    margin-right: 20px;
}

#popup .button + .button {
    float: right;
    margin-right: 0;
}

#popup h4.vorstellung {
    margin-bottom: 0px;
}

#popup img.move-logo {
    max-width: 77%;
    margin-bottom: 20px;
}

#popup .action-section {
    margin-bottom: 30px;
}

#popup .action-section:last-child {
    margin-bottom: 0;
}


table.unterschriften-table {
    margin-top: 30px;
}

table.unterschriften-table td {
    width: 22%;
    padding-right: 3%;
}

tr.unterschriften td img {
    max-height: 50px;
    max-width: 100%;
    float: left;
}

table.unterschriften-table td.schuetz {
    width: 18%;
}

table.unterschriften-table td.neuweiler {
    padding-right: 0;
    width: 24%;
}

tr.funktion td,
tr.namen td {
    font-size: 12px;
}

span.thema {
    margin-bottom: 20px;
}


body {
    padding-bottom: 30px;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: normal;
    margin-top: 0px;
}

h1,
.h1 {
    font-size: 20px;
}

h2,
.h2 {
    font-size: 18px;
}

.row > h2 {
    padding: 0px 15px;
}

h3,
.h3,
h3 {
    font-size: 16px;
    color: #68a500;
}

h4,
.h4 {
    font-size: 15px;
}

h5,
.h5 {
    font-size: 14px;
    font-weight: bold;
}

h6,
.h6 {
    font-size: 14px;
    font-style: italic;
}

a {
    color: #2A5D8A;
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -ms-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

a:hover, a:focus {
    text-decoration: none;
    color: #68a500;
}

.gruen {
    color: #68a500;
}

.grau {
    color: #6F6F6f
}

img {
    max-width: 100%;
}

body {
    background-image: url("/templates/images/bg.png");
    background-repeat: repeat-y;
}

#wrapper {
    background-color: #FFFFFF;
    box-shadow: 0px 0px 30px #555;
}


header {
    position: relative;
    overflow: hidden;
    padding-top: 51px;
    z-index: 100000;
}

header #kopfbild {
    position: absolute;
    top: 0px;
    width: 100%;
    overflow: hidden;
    height: 100%;
}

header #kopfbild .slide {
    position: absolute;
    height: 100%;
    width: 100%;
}

header #kopfbild img {
    height: 100%;
    max-width: none;
}

header #logo {
    background: #fff;
    background: rgba(255, 255, 255, 0.8);
    padding-top: 10px;
    padding-bottom: 10px;
}

header #logo #keest-logo {
    margin-bottom: 50px;
}

header #logo #thurgau-logo img {
    padding-right: 15px;
}

header #logo img {
    width: 100%;
    max-width: auto;
}

header #claim {
    background: #2A5D8A;
    background: rgba(42, 93, 138, 0.9);
    padding-top: 41px;
    padding-bottom: 10px;
    color: #FFFFFF;
    display: inline-flex;
}

header #metanav {
    background: #2A5D8A;
    background: rgba(42, 93, 138, 0.9);
    padding-top: 10px;
    padding-bottom: 10px;
    position: fixed;
    top: 0px;
}

header #metanav .meta-item {
    float: left;
    display: block;
    margin-right: -5px;
    color: #FFFFFF;
}


header #metanav .meta-item a {
    color: #FFFFFF;
}

header #metanav .meta-item a:hover,
header #metanav .meta-item a:focus {
    color: #68a500;
}

header #metanav .meta-item span {
    float: left;
    display: block;
}

header #metanav .meta-item i {
    font-size: 21px;
    padding: 5px 12px;
}

header #metanav .meta-item form {
    display: inline-block;
    top: 1px;
    position: relative;
}

header #metanav .meta-item form input {
    color: #333333;
}

header #metanav #suche-meta {
    float: right;
    margin-right: 0px;
}

header #metanav #suche-meta i {
    padding-right: 4px;
}

header #metanav #suche-meta input {
    width: 130px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    color: #68a500;
    outline: none;
}

#inhalt #menu-toggle {
    padding-top: 15px;
    padding-bottom: 10px;
    cursor: pointer;
}

#inhalt #menu-toggle #menu-icon {
    float: right;
    padding-right: 13px;
    padding-top: 3px;
}

#inhalt nav ul {
    list-style: none;
    padding: 0;
    float: left;
    width: 100%;
}

#inhalt nav ul li ul {
    display: none;
}

#inhalt nav ul li[class*="current"] > ul[class*="level"] {
    display: block;
}

#inhalt nav ul li[class*="current"] > a {
    color: #68a500;
}

#inhalt nav li {
    position: relative;
    float: left;
    width: 100%;
}

#inhalt nav li .toggle-sub-lvl {
    position: absolute;
    right: 0px;
    height: 40px;
    width: 40px;
    padding: 13px 11px;
    text-align: center;
    background-color: #e9e9e9;
    color: #2A5D8A;
    cursor: pointer;
}

#inhalt nav ul.level1 {
    display: none;
    margin-bottom: 10px;
}

#inhalt nav ul.level1 li.level1 {
    float: left;
    width: 100%;
    border-bottom: 1px solid #2A5D8A;
}

#inhalt nav ul.level1 li.level1:first-child {
    border-top: 1px solid #2A5D8A;
}

#inhalt nav ul.level1 li.level1 a {
    display: block;
    float: left;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
}

#inhalt nav ul.level1 li.level1 ul.level2 {
    background-color: #e9e9e9;
    padding-left: 30px;
}

#inhalt nav ul.level1 li.level1 ul.level2 li.level2 {
    border-bottom: 1px solid #2A5D8A;
}

#inhalt nav ul.level1 li.level1 ul.level2 li.level2:last-child {
    border-bottom: none;
}

#inhalt nav ul.level1 li.level1 ul.level2 li.level2 .toggle-sub-lvl {
    background-color: #FFFFFF;
}

#inhalt nav ul.level1 li.level1 ul.level2 li.level2 ul.level3 {
    background-color: #fff;
    padding-left: 30px;
}

#inhalt nav ul.level1 li.level1 ul.level2 li.level2 ul.level3 li.level2 {
    border-bottom: 1px solid #2A5D8A;
}

#inhalt nav ul.level1 li.level1 ul.level2 li.level2 ul.level3 li.level2:last-child {
    border-bottom: none;
}

#inhalt nav ul.level1 li.level1 ul.level2 li.level2 ul.level3 li.level2 .toggle-sub-lvl {
    background-color: #FFFFFF;
}

#inhalt nav #partner_wrapper {
    bottom: 0px;
    right: 0px;
    width: 100%;
}

#inhalt nav #partner_wrapper .partner {
    margin-top: 15px;
    display: block;
    padding-left: 4px;
}

#inhalt nav #partner_wrapper .partner:nth-child(2), #inhalt nav #partner_wrapper .partner:nth-child(3) {
    margin-top: 5px;
}

#inhalt nav #partner_wrapper .partner:nth-child(4) {
    margin-top: 7px;
}

#inhalt nav #partner_wrapper .partner:nth-child(5), #inhalt nav #partner_wrapper .partner:nth-child(7), #inhalt nav #partner_wrapper .partner:nth-child(8) {
    margin-top: 20px;
}

#inhalt main {
    background-color: #e9e9e9;
}

#inhalt .content-title {
    background-color: #e9e9e9;
    position: relative;
    padding-bottom: 20px;
}

#inhalt .content-title #title {
    background: #2A5D8A;
    background: rgba(42, 93, 138, 0.9);
}

#inhalt .content-title #title h1 {
    margin-top: 34px;
    margin-bottom: 10px;
    color: #FFFFFF;
}

#inhalt .content-title .entry.box {
    margin-top: 25px;
}

#inhalt .content-title .entry.box .box-inner {
    box-shadow: 0px 0px 10px #555;
    background-color: #FFFFFF;
    height: 100%;
    width: 100%;
    float: left;
}

#inhalt .content-title .entry.box .box-inner h2 {
    background-color: #68a500;
    color: #FFFFFF;
    padding: 10px;
    margin: 0px;
}

#inhalt .content-title .entry.box .box-inner .bilder {
    padding: 10px 10px 0 10px;

}

#inhalt .content-title .entry.box .box-inner .bilder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


#inhalt .content-title .entry.box .box-inner .bilder .bild {
    padding-bottom: 10px;
}

#inhalt .content-title .entry.box .box-inner .bilder .bild:last-child {
    padding-bottom: 0px;
}

#inhalt .content-title .entry.box .box-inner .text {
    padding: 10px;
}

#inhalt .content-title .entry.single {
    padding-top: 20px;
}

#inhalt .content-title .entry.single .bilder[class*="col-"] {
    padding-top: 4px;
}

#inhalt .content-title .entry.single .text {
    padding-top: 0px;
}

#kmuchecklogo {
    float: left;
    display: block;
    position: relative;
    clear: both;
    margin-top: 35px;
    margin-bottom: 35px;
    color: #68a500;
    width: 100%;


}

.ui-tooltip {
    width: 500px;
    padding: 5px;
    color: #333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857;
    z-index: 9999;
    border-color: #68A500;
}


#kmuchecklogo a, a.button, a.button:visited {
    color: #ffffff;
    background-color: #68a500;
    border-radius: 3px;
    padding: 7px 10px;

    -webkit-transition: background-color 0.3s ease-in-out;
    -moz-transition: background-color 0.3s ease-in-out;
    -ms-transition: background-color 0.3s ease-in-out;
    -o-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;

    width: 100%;
    display: block;
}

a.button {
    font-size: 14px;
    line-height: 20px;
}

a.button.small {
    width: auto;
    clear: both;
    float: left;
}

a.button.mb {
    float: left;
    margin-bottom: 20px;
}

a.button.mbgreat {
    float: left;
    margin-bottom: 40px;
}

a.button.mt {
    float: left;
    margin-top: 20px;
}

a.button.mtgreat {
    float: left;
    margin-top: 40px;
}

a.button i {
    font-size: 20px;
    position: relative;
    top: 1px;
    padding-right: 2px;
}

#kmuchecklogo a:hover, a.button:hover, a.button:focus {
    color: #ffffff;
    background-color: #2A5D8A;
}

#kmuchecklogo.nologo {
    margin-top: 0px;
}

#inhalt .control {
    width: 100%;
    float: left;
    text-align: center;
    font-size: 22px;
    padding: 5px 0;
    cursor: pointer;
}

#inhalt .control i {
    color: #68A500;
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -ms-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;

    font-size: 36px;
    line-height: 17px;

}

#inhalt .control.up i {
    padding-bottom: 10px;
}

#inhalt .control.down i {
    padding-top: 10px;
    padding-bottom: 5px;
}

#inhalt .control:hover i, #inhalt .control:focus i {
    color: #2A5D8A;
}

#inhalt #dynamiccontent {
    padding-bottom: 25px;
}

#inhalt #dynamiccontent iframe {
    width: 100%;
    height: 244px;
}

#inhalt #dynamiccontent .videos {
    position: relative;
}

#inhalt #dynamiccontent .early-box .videos .video {
    margin-top: 25px;
    position: relative;
    padding-bottom: 56.25%;
}

#inhalt #dynamiccontent .early-box .videos .video iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

#inhalt #dynamiccontent .bild {
    margin: 0 0 20px 0;

}

#inhalt #dynamiccontent .pveconcept .box-inner .bilder {
    max-height: 180px;
}

#inhalt #dynamiccontent .pveconcept .box-inner .bilder .bild {
    height: 180px;
}

#inhalt #dynamiccontent .pveconcept .box-inner .bilder .bild img {
    padding-top: 21px;
    padding-bottom: 12px;
}

#inhalt #dynamiccontent .testimonials .box-inner .text {
    margin-top: 33px;
}

#inhalt #dynamiccontent .mtop .box-inner .text {
    margin-top: 33px;
}

#inhalt #dynamiccontent .ls-keest .bilder {
    max-height: none;
}

#inhalt #dynamiccontent .ls-keest .bild {
    height: 100%;
}

#inhalt #dynamiccontent .videos .play {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -30px;
    margin-top: -30px;
}


#inhalt #dynamiccontent + .content-title {
    margin-top: -25px;
}

#inhalt #archiv-link {
    z-index: 1;
    position: absolute;
    top: 33px;
    right: 15px;
    font-size: 20px;
}

#inhalt #archiv-link a {
    color: #68a500;
}

#inhalt #archiv-link a:hover, #inhalt #archiv-link a:focus {
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -ms-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
    color: #ffffff;
}

#inhalt #news-rss,
#inhalt #news,
#inhalt #archiv {
    position: relative;
}

#inhalt #news-rss [class*="_single"],
#inhalt #news [class*="_single"],
#inhalt #archiv [class*="single"],
#dynamiccontent.news-und-medienlive-reports [class*="single"] {
    border-bottom: 1px dashed #68a500;
    padding-bottom: 20px;
}

#inhalt #news-rss [class*="_single"]:last-child,
#inhalt #news [class*="_single"]:last-child,
#inhalt #archiv [class*="single"]:last-child,
#dynamiccontent.news-und-medienlive-reports [class*="single"]:last-child {
    border-bottom: none;
}

#inhalt #news-rss[class*="backlink"] a,
#inhalt #news-rss a,
#inhalt #news[class*="backlink"] a,
#inhalt #news a,
#inhalt #archiv[class*="backlink"] a,
#inhalt #archiv a {
    color: inherit;
}

#inhalt #news p a {
    color: #68a500;
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -ms-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

#inhalt #news p a:hover,
#inhalt #news p a:focus {
    color: #2A5D8A;

}

#inhalt #news-rss[class*="backlink"] a[class*="detaillink"], #inhalt #news-rss[class*="backlink"] a[class*="backlink"],
#inhalt #news-rss a[class*="detaillink"],
#inhalt #news-rss a[class*="backlink"],
#inhalt #news[class*="backlink"] a[class*="detaillink"],
#inhalt #news[class*="backlink"] a[class*="backlink"],
#inhalt #news a[class*="detaillink"],
#inhalt #news a[class*="backlink"],
#inhalt #archiv[class*="backlink"] a[class*="detaillink"],
#inhalt #archiv[class*="backlink"] a[class*="backlink"],
#inhalt #archiv a[class*="detaillink"],
#inhalt #archiv a[class*="backlink"] {
    color: #2A5D8A;
}

#inhalt #news-rss[class*="backlink"] a[class*="detaillink"]:hover, #inhalt #news-rss[class*="backlink"] a[class*="detaillink"]:focus, #inhalt #news-rss[class*="backlink"] a[class*="backlink"]:hover, #inhalt #news-rss[class*="backlink"] a[class*="backlink"]:focus,
#inhalt #news-rss a[class*="detaillink"]:hover,
#inhalt #news-rss a[class*="detaillink"]:focus,
#inhalt #news-rss a[class*="backlink"]:hover,
#inhalt #news-rss a[class*="backlink"]:focus,
#inhalt #news[class*="backlink"] a[class*="detaillink"]:hover,
#inhalt #news[class*="backlink"] a[class*="detaillink"]:focus,
#inhalt #news[class*="backlink"] a[class*="backlink"]:hover,
#inhalt #news[class*="backlink"] a[class*="backlink"]:focus,
#inhalt #news a[class*="detaillink"]:hover,
#inhalt #news a[class*="detaillink"]:focus,
#inhalt #news a[class*="backlink"]:hover,
#inhalt #news a[class*="backlink"]:focus,
#inhalt #archiv[class*="backlink"] a[class*="detaillink"]:hover,
#inhalt #archiv[class*="backlink"] a[class*="detaillink"]:focus,
#inhalt #archiv[class*="backlink"] a[class*="backlink"]:hover,
#inhalt #archiv[class*="backlink"] a[class*="backlink"]:focus,
#inhalt #archiv a[class*="detaillink"]:hover,
#inhalt #archiv a[class*="detaillink"]:focus,
#inhalt #archiv a[class*="backlink"]:hover,
#inhalt #archiv a[class*="backlink"]:focus {
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -ms-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
    color: #68a500;
}

#inhalt #news-rss-wrapper .nt_date,
#inhalt .nt_single:not(.list) .nt_date {
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

#inhalt #news_rss {
    float: left;
    width: 100%;
    padding: 0px;
}

.nrn_shorttext + .nt_text {
    margin-top: 10px;
}

#inhalt #anmeldung {
    float: left;
    border: 2px solid #68a500;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #fff;
    margin-bottom: 20px;
}

#inhalt #anmeldung form {
    float: left;
    width: 100%;
}

#inhalt #anmeldung label {
    float: left;
    clear: both;
}

#inhalt #anmeldung input {
    float: left;
}

#inhalt #news-rss-content {
    padding-top: 20px;
    padding-bottom: 30px;
}

#inhalt #news-rss-content .nt_videos {
    width: 100%;
}

#inhalt #news-rss-content .nt_video {
    padding-bottom: 56.25%;
    width: 100%;
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
}

#inhalt #news-rss-content .nt_video iframe {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}


#inhalt #google_maps {
    width: 100%;
    height: 300px;
}

#inhalt #sitemap {
    padding-top: 20px;
}

#inhalt #sitemap ul {
    padding-left: 2px;
}

#inhalt #sitemap ul li {
    margin-bottom: 0px;
}

#inhalt #sitemap ul li a {
    display: block;
    margin-bottom: 10px;
}

#inhalt #sitemap #sitemap1 > li {
    font-weight: bold;
}

#inhalt #sitemap #sitemap1 > li ul li {
    font-weight: normal;
}

#inhalt #g-maps {
    padding-top: 20px;
}

#inhalt #team .box .bild {
    margin-top: 10px;
    margin-bottom: 10px;
}

#inhalt #suche form {
    margin-top: 20px;
    margin-bottom: 20px;
}

#inhalt #suche form label {
    padding-right: 20px;
}

#inhalt #suche .pagination .zurueck,
#inhalt #suche .pagination .weiter {
    height: 21px;
}

#inhalt #suche .pagination .zurueck i,
#inhalt #suche .pagination .weiter i {
    padding-top: 2px;
}

#inhalt #suche .pagination .zurueck.inaktiv,
#inhalt #suche .pagination .weiter.inaktiv {
    background-color: #CCCCCC;
}

#inhalt #suche .pagination li {
    padding: 3px 6px;
    border: none;
    background-color: #2A5D8A;
    -webkit-transition: background-color 0.3s ease-in-out;
    -moz-transition: background-color 0.3s ease-in-out;
    -ms-transition: background-color 0.3s ease-in-out;
    -o-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}

#inhalt #suche .pagination li.aktiv, #inhalt #suche .pagination li:hover, #inhalt #suche .pagination li:focus {
    background-color: #68a500;
    color: #FFFFFF;
}

#inhalt #suche p {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px dashed #68a500;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

#inhalt #events .single_event {
    padding-top: 20px;
    border-bottom: 1px dashed #68a500;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

#inhalt #events .single_event:last-child {
    border-bottom: none;
    padding-bottom: 0px;
}

#testimonial .testimonial .inner .text {
    margin-top: 33px;
}

aside {
    background-color: #e9e9e9;
}

footer {
    margin-top: 10px;
    margin-bottom: 10px;
}

footer address {
    margin-bottom: 0px;
}

span.fncb_fancy_title {
    font-size: 12px;
    font-weight: bold;
}

span.fncb_fancy_displaycounter {
    font-size: 11px;
}

.chrisign {
    margin-top: 10px;
    font-size: 13px;
}

#fancybox-title {
    line-height: 16px;
    text-align: left;
}

#fncb_bottomNavClose {
    cursor: pointer;
    display: block;
}

#fancybox-wrap,
#fancybox-wrap * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

@media (max-width: 479px) {

    header #logo,
    header #claim {
        width: 100%;
        padding-top: 20px;
    }

    header #logo #keest-logo,
    header #logo #thurgau-logo,
    header #claim #keest-logo,
    header #claim #thurgau-logo {
        width: 50%;
        float: left;
        margin-bottom: 20px;
    }

    header #logo #thurgau-logo,
    header #claim #thurgau-logo {
        margin-left: 15px;
    }

    #inhalt nav ul.level1 li.level1 a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .text p.empty {
        display: none;
    }

}

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Sass Bootstrap */
@media (min-width: 480px) and (max-width: 767px) {

    header #logo,
    header #claim {
        width: 50%;
    }

    #inhalt .content-title .entry.box {
        width: 50%;
    }

    #inhalt #dynamiccontent iframe {
        height: 350px;
    }

    .text p.empty {
        display: none;
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 480px) {

    header #logo #keest-logo {
        margin-bottom: 146px;
    }
}

@media (min-width: 768px) {
    header #metanav #kmucheckrespmeta.meta-item {
        display: none;
    }


    header {
        z-index: 0;
        padding-top: 0;
    }

    header #logo {
        margin-bottom: 66px;
    }

    header #logo #keest-logo {
        margin-bottom: 80px;
    }

    header #claim {
        padding-top: 50px;
    }

    header #metanav {
        padding-top: 79px;
        position: relative;
    }

    #inhalt nav ul li .toggle-sub-lvl {
        display: none;
    }

    #inhalt nav ul.level1 {
        display: block !important;
        margin-top: 15px;
    }

    #inhalt nav ul.level1 li.level1 {
        border-bottom: none;
    }

    #inhalt nav ul.level1 li.level1:first-child {
        border-top: none;
    }

    #inhalt nav ul.level1 li.level1 ul.level2 {
        background-color: transparent;
        padding-left: 15px;
    }

    #inhalt nav ul.level1 li.level1 ul.level2 li.level2 {
        border-bottom: none;
    }

    #inhalt nav ul.level1 li.level1 ul.level2 li.level2 ul.level3 {
        padding-left: 15px;
    }

    #inhalt #archiv-link {
        top: -35px;
    }

    #inhalt .content-title #title {
        position: absolute;
        top: -66px;
    }

    #inhalt #google_maps {
        height: 400px;
    }

    #inhalt #dynamiccontent iframe {
        height: 392px;
    }

    footer address[class*="col-"] {
        font-size: 12px;
        padding-left: 0px;
        padding-right: 0px;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    header #metanav #kmucheckrespmeta.meta-item {
        display: none;
    }


    header #logo #keest-logo {
        margin-bottom: 159px;
    }

    header #logo img {
        width: 100%;
    }

    header #metanav {
        padding-top: 70px;
        padding-bottom: 5px;
        text-align: right;
    }

    header #metanav .meta-item {
        float: none;
        display: inline-block;
        margin-left: 10px;
    }

    header #metanav .meta-item:first-child {
        margin-left: 0px;
    }

    header #metanav #suche-meta {
        float: none;
        top: 3px;
        position: relative;
    }

    header #metanav #suche-meta i {
        cursor: pointer;
    }

    header #claim {
        padding-top: 41px;
    }

    footer address[class*="col-"] {
        font-size: 14px;
        padding-left: 0px;
        padding-right: 0px;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    header #metanav {
        padding-top: 50px;
    }

    header #metanav #kmucheckrespmeta.meta-item {
        display: none;
    }


    header #logo #keest-logo {
        margin-top: 9px;
        margin-bottom: 250px;
    }

    header #metanav .meta-item {
        margin-left: 20px;
    }

    header #metanav #suche-text {
        padding-top: 8px;
        padding-right: 8px;
    }

    header #claim {
        padding-top: 41px;
    }
}

@media print {
    a[href]:after {
        content: "";
    }

    #kopfbild {
        display: none;
    }

    nav,
    #menu-toggle,
    #thurgau-logo,
    #metanav,
    aside {
        display: none;
    }

    header #logo #keest-logo {
        margin-bottom: 0px;
    }

    header #logo #keest-logo img {
        width: 200px;
    }

    footer {
        border-top: 1px solid #000;
        clear: both;
        font-size: 12px;
        padding-top: 10px;
    }

    #archiv-link {
        display: none;
    }

    main {
        height: auto !important;
    }

    img {
        max-width: 100%;
    }

    #team .entry {
        float: left;
    }

    #team .entry.box {
        height: auto !important;
    }

    #team .entry .bild img {
        width: 100px;
    }
}


.partner.col-sm-12 {
    margin: 0;
    padding-right: 4px;
    width: 100%;
}

/*#inhalt .content-title .entry.box .box-inner-special .bilder img{*/
/*	padding: 24px;*/
/*}*/

/*#inhalt .content-title .entry.box .box-inner-special .text{*/
/*	margin-top: auto;*/
/*}*/
#inhalt .content-title .entry.box .box-inner-special {
    display: flex;
    flex-flow: nowrap column;
}

#inhalt .content-title .entry.box .box-inner-special .bilder {
    padding: 90px 10px 20px 10px;
}
