/* branding */
.branding a img{
  width: 280px;
}
.classic-header .branding .mini-widgets:last-child{
  position: absolute;
  bottom: 96px;
  right: 0px;
}
.mobile-header-bar .mobile-branding img{
  max-width: 30%;
}
/* mobile menu*/
.mini-nav:nth-child(2) #header_microwidget2-menu li, #top-menu li{
  height: 36px;
}
#mobile-menu{
  order: 2;
}
.home-page .dt-mobile-header .mini-nav #header_microwidget2-menu{
  display: block;
}
.mini-nav:nth-child(2) #header_microwidget2-menu, .mini-nav:nth-child(2) #top-menu{
display: table;
    left: 45px !important;
  top: 0px !important;
  position: relative;
}
.mini-nav:nth-child(2) #header_microwidget2-menu li:first-child::before, .mini-nav:nth-child(2) #header_microwidget2-menu li:nth-child(2)::before, .mini-nav:nth-child(2) #header_microwidget2-menu li:nth-child(3)::before, .mini-nav:nth-child(2) #header_microwidget2-menu li:nth-child(4)::before, .mini-nav:nth-child(2) #header_microwidget2-menu li:last-child::before, .mini-nav:nth-child(2) #top-menu li::before{
  top: auto !important;
}
.mini-nav:nth-child(2) #header_microwidget2-menu li span, #top-menu li span{
  display: table-cell;
  height: 36px;
  vertical-align: middle;
}
#top-menu li:first-child::before{
	content: url("https://foerderung.kultur-schleswig-flensburg.de/wp-content/uploads/sites/6/2018/05/fav32x32.png");
}
#top-menu li::before{
display: inline-block;
 position: absolute;
  left: -45px;
}
.mobile-mini-widgets-in-menu .text-area{
    position: absolute;
    bottom: 0;
}
/* mobile menu */
/* institution-menu */
.branding .mini-widgets:first-child{
  width: 100%;
}
#header_microwidget2-menu{
  position: relative;
  top: -20px;
}
#header_microwidget2-menu li{
  margin-left: 3vw;
}
#header_microwidget2-menu li:first-child{
  left: 60px;
}
#header_microwidget2-menu li:nth-child(2), #header_microwidget2-menu li:nth-child(4){
  top: 50px;
  
}
#header_microwidget2-menu li:nth-child(2){
  left: -90px;
}
#header_microwidget2-menu li:nth-child(3){
  left: -60px;
}
#header_microwidget2-menu li:nth-child(4){
  left: -210px;
}
#header_microwidget2-menu li:first-child::before, #header_microwidget2-menu li:nth-child(2)::before, #header_microwidget2-menu li:nth-child(3)::before, #header_microwidget2-menu li:nth-child(4)::before, #header_microwidget2-menu li:last-child::before{
 content: url(/wp-content/uploads/2018/01/blue_drop.jpg);
 display: inline-block;
 position: absolute;
  left: -45px;
 top: -10px;
}
#header_microwidget2-menu li:first-child::before, #top-menu li:nth-child(2)::before{
 content: url(/wp-content/uploads/2018/01/mint_drop.jpg);
}
#header_microwidget2-menu li:nth-child(2)::before, #top-menu li:nth-child(4)::before{
 content: url(/wp-content/uploads/2018/01/green_drop.jpg);
}
#header_microwidget2-menu li:nth-child(3)::before, #top-menu li:nth-child(3)::before{
 content: url(/wp-content/uploads/2018/01/yellow_drop.jpg);
  
}
#header_microwidget2-menu li:nth-child(4)::before, #top-menu li:nth-child(5)::before{
 content: url(/wp-content/uploads/2018/01/orange_drop.jpg);
}
/* main-menu */
.classic-header.bg-behind-menu .navigation:before{
  height: 51px;
	background-image: linear-gradient(#00a0e3, #01c8f0);
}
.ph-wrap{
  margin: 0;
}
/* 5 tiles */
.tile-title.kms{
  background: #f29100;
}
.tile-title.kufoe{
  background: #00a0e3;
}
.tile-title.d-dk{
  background: #00afa7;
}
.tile-title.museum{
  background: #a3cc33;
}
.tile-title.archiv{
  background: #fdcb06;
}
.vc-hoverbox-front{
  justify-content: flex-end;
}
.vc-hoverbox-front>div{
  padding: 0;
}
.content td, .content th {
    border: 1px solid rgba(170,170,170,0.25);
}
/* Standorte-Template */
.heading-places-template>div{
  background-color: #ffffffd6;
}
.heading-places-template>div h2{
  margin-left: 20px;
padding: 10px 0px;
}
/* FONTSIZE ACCESSIBILITY */
.fontsize .menu-text{
  font-size: 150%;
}
.fontsize .mini-nav{
  top: -70px;
}
.fontsize #header_microwidget2-menu li:first-child{
  left: 200px;
}
.fontsize #header_microwidget2-menu li:nth-child(2){
  left: 0px;
}
.fontsize #header_microwidget2-menu li:nth-child(3){
  left: 0px;
}
.fontsize #header_microwidget2-menu li:nth-child(4){
  left: -190px;
}
.fontsize #header_microwidget2-menu li:nth-child(5){
  left: 800px;
  top: -20px;
}
.fontsize .navigation li .menu-text, .fontsize #phantom #primary-menu li .menu-text{
  font-size: 100% !important;
}
.fontsize .navigation li ul li .menu-text, .fontsize #phantom #primary-menu li ul li .menu-text{
  font-size: 60% !important;
}
.fontsize .navigation li ul li ul li .menu-text, .fontsize #phantom #primary-menu li ul li ul li .menu-text{
  font-size: 40% !important;
}
.fontsize #bottom-bar .mini-nav{
  top: 0;
}
.fontsize .wf-float-left{
  font-size: 180%;
}
.fontsize .events-table{
  font-size: 150%;
}
.fontsize .css-events-list table.events-table th.event-time{
  width: initial;
}
.fontsize .ult-new-ib h2{
  font-size: 200% !important;
}
/* FONTSIZE ACCESSIBILITY */
/* Formular events*/ 
.em.em-event-booking-form .em-booking-form
{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
p:has(+ .event-categories), 
.event-categories, 
.em-event-single > h3,
.em.em-event-booking-form section:not(:nth-of-type(1)) h3.em-booking-section-title,
.ticket-desc
{
  display:none;
}
.em.em-event-booking-form .em-booking-form > section
{
  margin-bottom: 15px;
  width: 51%;
  display: flex;
  flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.em.em-event-booking-form .em-booking-form > section:has(+ section)
{
  //border: 1px solid  var(--main-h3-color);
}
.em.em-event-booking-form h3.em-booking-section-title
{
  background-color: transparent;
  border: 0;
}
.em.pixelbones .input input[type=submit]
{
  background-color: var(--the7-btn-bg, #00a0e3) !important;
  color: var(--the7-btn-color) !important;
  border: 0 !important;
}
.em.pixelbones .input input[type=submit]:hover{
    color: #eee !important;
}
.em.em-event-booking-form .em-booking-section.em-booking-form-buttons
{
  z-index: 2;
}

.event-template-default .em.em-event-booking-form .em-booking-section,
.event-template-default .em.em-event-booking-form .em-booking-section .em-tickets 
{
  margin: 0;
  padding: 0;
}
.em.em-event-booking-form section:nth-of-type(1) h3.em-booking-section-title
{
  font-size: 35px !important;
  background-color: rgba(170,170,170,0.1);
  font-weight: 600 !important;
  color: var(--text-color-normal);
}

.em.em-event-booking-form .em-tickets-spaces
{
  min-width: 50px;
  margin: 0 !important;
}
.em.em-event-booking-form .em-booking-form-section-tickets label,
.em.em-event-booking-form.input .em-booking-form-section-details p:not(.input-group) label
{
  font-size: 24px;
  font-weight: 300 !important;
}
/* /Formular events*/
/* footer */
#footer.solid-bg.footer {
    background-image: linear-gradient(to bottom, #fff 0px, #fff 299px, #005596  300px);
}
#footer::before {
    content: "";
    background-color: transparent;
    background-image: url("/wp-content/uploads/2019/08/footer_triangle_1920x470.png");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 0% 100%;
    display: inline-block;
    width: 100%;
    height: 328px !important;
}
#footer > div:first-child > div > div.wf-container > section {
    margin-top: -180px;
}
footer #text-2 input[type="checkbox"] {
    float: left;
    margin-top: 6px;
    margin-right: 6px;
    width: auto;
}
.datenschutz span.wpcf7-list-item{
    margin: 0;
    display: inline;
}
/* footer */
@media all and (max-width: 1149px) and (min-width: 768px ) {
	#footer section:nth-of-type(2) form > div{
	width: 100% !important;
	margin: 0 !important;
	}
}
@media all and (max-width: 767px){
	#footer section{
		display: block;
		width: 100%;
	}
	#footer section:nth-of-type(1), #footer section:nth-of-type(3){
		text-align: center;
	}
	#footer section:nth-of-type(2) form > div{
	    width: 100% !important;
	    margin: 0 !important;
	}
	#footer > div:first-child > div > div.wf-container > section{
	    margin-top: 0px;
    }
    #footer.solid-bg.footer {
	background-image: linear-gradient(to bottom, white 0px, white 99px, #005596 100px);
}
#footer::before{
	height: 188px !important;
}
    #footer > div:first-child > div > div.wf-container > section:first-child{
	    margin-top: -100px;
    }
	.tile-title{
	    background-color: transparent !important;
	}
	.tile-link{
	    margin-left: calc(50% - 127px);
    }
    .tile-title > h2{
    	left: calc(50% - 127px) !important;
    }
       .tile-title.aktuelles h2, .tile-title.kms h2, .tile-link, .tile-title.kufoe h2, .tile-title.d-dk h2, .tile-title.museum h2, .tile-title.archiv h2{
    	width: 255px;
    }

    .tile-title.aktuelles:hover ~ .tile-link, .tile-title.kms:hover ~ .tile-link, .tile-title.kufoe:hover ~ .tile-link, .tile-link:hover, .tile-link:hover a, .tile-title.d-dk:hover a, .tile-title.museum:hover a, .tile-title.archiv:hover a, .tile-title.d-dk:hover ~ .tile-link, .tile-title.museum:hover ~ .tile-link, .tile-title.archiv:hover ~ .tile-link{
    	width: 255px;
    }
}
@media all and (max-width: 460px){
    #footer::before{
	height: 158px !important;
}
}
@media screen and (max-width: 1050px){
  #phantom.boxed{
  left: 0;
}
}
@media screen and (max-width: 1200px){
  .near-logo-first-switch{
    display: none !important;
  }
}
@media screen and (max-width: 1072px) and (min-width: 991px){
  #header_microwidget2-menu{
    top: -60px;
    left: 35vw;
  }
}