/* hide navigation on scroll down, show on scroll up */
#header {
   height:150px;
   position: fixed;
   top:0;
   right:0;
   left:0;
   transition: transform .25s .1s ease-in-out;
}

.down #header {
   transform: translate3d(0, -150px, 0); // um 150px nach oben verschieben
}


img.kulturkieker-frame {
    border: 4px solid var(--color-brand2);
    height: auto;
   transform: perspective(300px) rotate3D(0, -12, 0, 12deg);
   margin: 4em 0em;
   padding: 1em;
   transition: ease-in-out 250ms;
}

img.kulturkieker-frame:hover {
    border: 4px solid var(--color-brand2);
    height: auto;
   transform: none;
   margin: 4em 0em;
   padding: 1em;
   transform: scale(1);
   
}

@media screen and (max-width: 830px) {
	img.kulturkieker-frame {
    border: 4px solid var(--color-brand2);
    height: auto;
    transform: perspective(300px) rotate3D(0, -12, 0, 12deg);
    margin: 4em 4em 4em 0em;
	}
	
/*.wrapper-flex__inner {
    flex-basis: calc(100% / 2 - 2em);
    min-width: 300px;
    width: 100% !important;
    justify-content: center !important;
    display: flex !important;
}*/
}

.track {
	max-width: 300px;
}
.ml-2 {
	margin-left: 2em;
}

/* to be integrated in standard css */
html {
    --button-border-radius: 5px;
    --input-border-radius: 5px
}

/* ---------- to be integrated in standard css ---------- */
html {
    --button-border-radius: 5px !important;
    --input-border-radius: 5px;
    --toggler-background: var(--color-brand) !important;
}

#main {
    min-height: 75vh;
    /*top: 100px;*/
}

.height-100vh {
	min-height: calc(100vh - 165px);
}

.page-newsletter #footer .mod_subscribe .error {
  display: none;
}

/* for image with caption */
.image_container {
    flex-direction: column;
}

/* button mobile menu rounded */
.mod_mobile_menu button {
    border-radius: 60px;
    font-size: 1.5em;
    width: 2em;
    height: 2em;
    padding: 0;
}

h1, .heading-h1 {
    line-height: 1.15;
    margin-bottom: 0 !important;
	margin-top: 0 !important;
}

@media screen and (min-width: 68.75em) {
h1, .heading-h1 {
    font-size: 2.5rem;
}
}

@media screen and (min-width: 58.75em) {
h1, .heading-h1 {
    font-size: 2.5rem;
}
}

@media screen and (min-width: 48em) {
h1, .heading-h1 {
    font-size: 2.5rem;
}
}

h2, .heading-h2 {
    line-height: 1.1em !important;
    font-size: 2rem;
}

.heading-h1 h2 {
    font-size: 2.5rem;
}

h3, .heading-h3 {
    line-height: 1em;
    font-size: 1.75rem;
}

h4, .heading-h4 {
    font-size: 1.55rem;
}

.headline-fancy__wrapper .fancy-headline {
    margin-top: 0em;
}

/* ---------- Links und Button ---------- */
.back a {
	border-color: var(--color-brand2);
    color: var(--color-brand2);
}

a.btn.btn--primary.btn__outline:hover {
	color: #fff;
}


a.btn--highlight, span.btn--highlight, button.btn--highlight, input.btn--highlight.submit, .ce_comments .btn--highlight.submit {
    background: var(--button-highlight-bgcolor);
    color: var(--color-text);
}

button.btn--light {
	background: var(--color-brand);
}

button.btn--light:hover {
	background: var(--color-brand2);
}

/* ---------- texts ---------- */
.ce_text h1+h2 {
    margin-top: 0;
}

.text--right {
    text-align: right;
}

.text--left {
    text-align: left;
}

.text--standard,
.text--standard h1,
.text--standard h2,
.text--standard h3,
.text--standard h4 {
   color: var(--color-brand) !important;
}

.text--white p,
.text--white h1,
.text--white h2,
.text--white h3,
.ce_text.text--white.iconized a {
	color: #fff;
}

.text--white h2 a,
.text--white p a {
    color: #fff !important;
}

.text--uppercase h1, .text--uppercase .heading-h1,
.text--uppercase h2, .text--uppercase .heading-h2,
.text--uppercase h3, .text--uppercase .heading-h3 {
	text-transform: uppercase;
}

/* ---------- mainnav ---------- */
.mainnav__list a.submenu.hide-navitem-on-desktop,
.mainnav__list a.hide-navitem-on-desktop {
    display: none !important;
}


/* Initiale */
.intro p:first-of-type:first-letter {
  font-size: 300%;
  line-height: 1;
  float: left;
  padding-right: .125em;
 font-family: var(--headings__font-family);
}

figure {
    display: flex;
    color: var(--color-text);
    font-size: 0.85em;
}

.bg--highlight {
    background: var(--color-highlight);
}

.bg--grey {
    background: #cccccc;
}

.box-shadow {
    box-shadow: 0 2px 18px 0 rgba(0,0,0,.3);
}

img.img--round {
    border-radius: 100%;
    border: 5px solid var(--color-brand2);
}

ul.list-style--fa li:before {
    color: var(--color-brand);
}

#footer-pre .ce_headline {
    margin-bottom: 0.5rem;
}

#footer-pre .contact__outer > div {
	margin-bottom: 0;
}


.page-newsletter #footer .mod_subscribe .error {
  display: none;
}

#tns1 > .tns-item {
    padding-right: 0 !important;
}

@media screen and (max-width: 820px) {
.slider-full .headerslide__wrapper {
    height: 33vh !important;
}
}

@media screen and (max-width: 830px) {
	.wrapper-flex__inner {
    flex-direction: column !important;
	}
}


@media screen and (max-width: 350px) {
	.wrapper-simple.ce_rsce_wrapper_simple_start {
    padding: 0.5em !important;
}
dl.definitionlist__list {
    font-size: 0.9em;
}
}


/* custom kulturkieker */
#header {
    height: 150px;
    border-bottom: unset;
  /*  position: relative; */
}

.mt-header {
	margin-top: 125px;
}

.topbar-nav--new .mod_navigation ul.level_1 ul li {
    border-bottom: none;
}

.topbar-nav--new .mod_navigation ul li.mainnav__list-item span {
    color: #fff;
}

.topbar-nav--new .mod_navigation ul li.mainnav__list-item span:hover {
    color: var(--color-brand2);
}

.quicknav {
	top: 360px !important;
}

.btn.hero-quickbutton__button {
    background: var(--color-highlight) !important;
}

.hero-quickbutton__content-wrapper__inner {
    max-height: 100%;
    overflow-y: auto;
    color: var(--color-text--inverted);
}

/*@media screen and (min-width: 900px) {
.level_1 mainnav__list li.hide-nav {
    display: none;
}
}*/
/*
#main {
    top: -100px;
}*/

.smaller h1 {
    font-size: 1.75em;
    margin-top: 1em !important;
}

h2.teaserkachel__nobtn__headline {
    font-size: 1.75em;
}

figure img {
    border-radius: var(--base-border-radius);
   /* float: left; */
}

figcaption.caption {
    text-align: center;
    max-width: 350px;
}

.sidenav {
    background: #fff;
    text-align: right;
    padding: 0.5em 0.5em 0.5em 0em;
    position: fixed;
    position: fixed;
    top: 250px;
    right: 0;
    z-index: 9;
    border-left: 10px solid yellow;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.sidenav h3 {
	font-size: 1.25rem;
	margin: 0;
}

.sidenav ul {
    margin: 0;
}

/* solgan */
.ce_text.slogan {
    background: var(--color-brand3);
    max-width: fit-content;
    padding: 0.25em 0.5em;
    color: #fff;
    border: 1px solid var(--color-brand3);
}

.ce_text.slogan.apen {
	border-left: 10px solid orange;
}

.ce_text.slogan.bad-zwischenahn {
	border-left: 10px solid aquamarine;
}

.ce_text.slogan.edewecht {
	border-left: 10px solid yellow;
}

.ce_text.slogan.rastede {
	border-left: 10px solid cornflowerblue;
}

.ce_text.slogan.westerstede {
	border-left: 10px solid darkviolet;
}

.ce_text.slogan.wiefelstede {
	border-left: 10px solid violet;
}

.ce_text.slogan.kulturkieker {
	border-left: 10px solid var(--color-highlight);
}

/* introtext */
.intro {
    font-size: 1.15em;
    line-height: 1.7em;
    /*max-width: 55%;*/
    padding: 0 0 1em 1em;
    border-bottom: 3px solid var(--color-brand3);
}

.mod_article.small {
    background: #fff;
    top: -100px;
    max-width: 40em;
}

.mt-5-neg {
	margin-top: -5em !important;
}

/* drawings */

img.drawing {
	transition: ease-in-out 250ms;
}

img.drawing:hover {
    transform: scale(1.1);
    z-index: 1;
}

/* download */

.download-element--link > a {
    font-weight: 400;
}

a.btn.btn--primary.btn--download {
    color: #fff;
}

/* timeline */
.ce_timeline_element.text-gray {
    color: var(--color-gray-light);
}

/* ---------- Copyright Modul Bilder ---------- */
.copyright__text {
    display: none;
}

/* ---------- Glossary ---------- */
.g_hovercard_default {
	background: #fff;
}

.g_hovercard-text {
	color: var(--color-brand);
}
.grouplist {
	margin-bottom: 1em;
	display: flex;
}

.mod_glossary .grouplist ul {
	display: contents;
}

.mod_glossary .grouplist li {
    list-style-type: none;
    border: solid;
    padding: 0.25em 0.75em;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-right: none;
    text-align: center;
    width: max-content;
}

.mod_glossary .grouplist li:last-of-type {
	border-right: 1px solid #fff;
}

.mod_glossary ul {
    display: flex;
    grid-gap: 1em;
    margin-left: 0;
    padding-left: 0;
}

.mod_glossary li {
    list-style-type: none;
    border: 1px solid #fff;
    padding: 0.25em 0.75em;
    text-align: center;
    width: max-content;
}

.glossary .letter {
    font-family: var(--headings__font-family);
    font-size: 2.5em;
    color: var(--color-brand2);
    font-weight: var(--headings__font-weight);
}

.glossary_1 {
    margin-bottom: 3em;
}

.g_hovercard-keyword {
	color: var(--color-brand);
	font-size: 1.1em;
}

h5, .heading-h5 {
    font-size: 1.5rem;
}

#footer {
    margin-top: 10em;
}

#footer-pre {
    line-height: 2em;
}

#footer-pre a {
    text-decoration: none;
}

#footer-pre a:hover {
    color: var(--footer-pre__link-color);
    text-decoration-color: var(--color-highlight) !important;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* customized styles */
.social_feed_element .icon img{
	right:20px;
}

.red {
	color: red;
}

.player .video_container {
	height: 85vh !important;
}

.mod_newslist.news-short {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 2em;
    grid-column-gap: 2em;
}

.layout_short {
    border: 1px solid;
    padding: 1em;
}

.layout_short .info {
    background: var(--color-brand);
    color: white;
    text-align: center;
}

/*Element-Filter teaserbox*/

.filters{
	margin-top:1rem;
	margin-bottom:2rem;
}
.filters li{
	    background-image: none;
    white-space: nowrap;
    text-decoration: none;
        display: inline-block;
}
.filters a.active{
	color: #fff;
	text-decoration: none;
	background-color: var(--color-highlight);
}
.filters a:hover{
	color: #fff;
	text-decoration: none;
	background-color: var(--color-highlight);
}
.filters a{
	background: var(--button-bg);
    border-color: var(--button-bg);
    border-radius: var(--button-border-radius);
    padding: var(--button-spacing);
    border: var(--button-border-width) solid transparent;
    font-family: var(--button-font-family);
    font-weight: var(--button-font-weight);
    line-height: var(--button-line-height);

}
.filters a{
	color: #fff;
	text-decoration: none;
}
/*filter flex*/
.elements-filter-wrapper{
	display:flex;
	flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 2em;
    column-gap: 1em;
}
.teaserkachel__outer.ce_rsce_teaserkachel.elements-filter{
	flex-basis: calc(100% / 3 - 1em);
    min-width: 250px;
}


/* NEW */
/* ---------- zoom magnifier glass ---------- */

.container2{
  /*max-width:500px;*/
  position:relative;
  /*border:solid;
  font-size:0;*/
  overflow:hidden;
  
}
.origin{
  width:100%;
}

.zoom{
  width:120px;
  height:120px;
  border-radius:50%;
  position:absolute;
 /* top:0;
  z-index:2; */
  border:solid 4px #ccc;
  background:url(https://kulturkieker.kuestenschmiede.net/files/layout/4.jpg);
  visibility:hidden
  
}

.container2:hover .zoom{
  visibility:visible
}
/*
p{
  float:right
}
*/


.font--larger p {
	font-size: 1.15em;
    line-height: 1.7em;
    }
    
.text--special {
    color: var(--color-brand2);
    font-style: italic;
    font-size: 1.15em;
}

.text--special p {
    margin-top: 0.25em;
}

.text--brand2 p,
.text--brand2 h1,
.text--brand2 h2,
.text--brand2 h3,
.ce_text.text--brand2.iconized a {
	color: var(--color-brand2) !important;
}

ul.list-style--fa li:before {
    color: var(--color-brand2);
}

/* ---------- slider ---------- */
.ce_rsce_tiny_slider_horizontal_content_start.controls--center .tns-controls > button {
    
    margin-top: 1em;
    font-size: 2em;
}

/* ---------- map ---------- */
/* popup mouseover */
.c4g-popup-close.c4g-icon {
  display: none;
}

.ol-overlay-container.ol-selectable {
    max-width: 225px !important;
}

.c4g-popup-wrapper {
  border-radius: 0 !important;
}

.c4g-popup-content p {
  margin-bottom: 0;
  text-align: center;
}

.ol-selectable div.c4g-active.c4g-popup-wrapper {
	padding: 0;
}

/* map basiskarten */
li.with-image {
    max-width: 350px;
}

/* ---------- Headerbild Infotext ---------- */
.ce_rsce_tiny_headerslider .headerslide__textwrapper {
    top: unset;
    bottom: 0em;
    left: unset;
    right: 1em;
    align-items: end;
    justify-content: center;
}


@media screen and (max-width: 821px) {
.heading-h1 h2 {
    font-size: 2rem;
}
}

/* ---------- Literaturverwaltung ---------- */
thead {
    text-align: left;
    background-color: transparent;
}

table tr.even {
    background-color: transparent;
}