.single-location #mobile-menu{
    display: none;
}
h3, h3 a{
    font-size: 24px !important;
    margin-bottom:25px !important;
    color: #f29100;
}
/*WooCommerceInjects*/
.woocommerce-message,
.em-wc-booking-message,
.woocommerce-error,
.woocommerce-info
{
  background-color: #f29100 !important;
}
/* 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/blue_drop.jpg);
}
#header_microwidget2-menu li:nth-child(2)::before, #top-menu li:nth-child(3)::before{
 content: url(/wp-content/uploads/2018/01/mint_drop.jpg);
}
#header_microwidget2-menu li:nth-child(3)::before, #top-menu li:nth-child(4)::before{
 content: url(/wp-content/uploads/2018/01/green_drop.jpg);
  
}
#header_microwidget2-menu li:nth-child(4)::before, #top-menu li:nth-child(5)::before{
 content: url(/wp-content/uploads/2018/01/yellow_drop.jpg);
  
}
#header_microwidget2-menu li:nth-child(5)::before, #top-menu li:nth-child(6)::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(#ea6905, #f49800);
}
.ph-wrap{
  margin: 0;
}
/* startseite */
.img-front-kms{
  display: inline-block;
  width: initial;
}
.home #main{
	padding: 0;
	background-color: #fef4e5;
}
.home #main .main-content>div>p:first-child{
  text-align: center;
}
.home #main .main-content>div>p:first-child a img{
  float: none;
}
.link-wrapper {
		display: inline-block;
    height: 240px;
    vertical-align: top;
    margin-bottom: 25px;
}
.link-wrapper a:nth-of-type(2){
	display: block;
}
/* Event Archiv */
.event_archive{
  width: 30%;
  display: inline-block;
  border-bottom: 1px solid #999;
  margin-right:10px;
}
/* Standorte-Template */
.heading-places-template>div{
  background-color: #ffffffd6;
}
.heading-places-template>div h2{
  margin-left: 20px;
padding: 10px 0px;
}
/* Event Kalender */
.page-id-126 table.fullcalendar td{
  vertical-align: top;
}
/* Events Liste */
.css-events-list table.events-table td{
padding: 5px 10px;
vertical-align: top;
}
.event_list_image img{
  height: 100px;
  float: right;
}
/* Single Event */
.single-event #sidebar{
  display: none;
}
.single-event .wf-container-main{
  display: block !important;
}
.event_teacher, .event_location, .event_time{
  vertical-align: top;
  display: inline-block;
  width: 30%;
}
.event_content{
  margin: 30px auto;
}
.event_content .event_image{
  width: 33%;
  display: inline-block;
}
.event_content .event_image img{
  width: 100%;
}
.event_text{
  width: 60%;
  display: inline-block;
  vertical-align: top;
  margin-left: 10px;
}
.event_map, .em-location-map-container{
  width: 100% !important;
}
.page-id-110 .vc_row-has-fill > .vc_column_container > .vc_column-inner, .page-id-120 .vc_row-has-fill > .vc_column_container > .vc_column-inner{
  padding-top: 0;
}
.page-id-110 .vc_toggle, .page-id-120 .vc_toggle, .page-id-2837 .vc_toggle{
  margin-bottom: 0;
}
.page-id-110 .vc_toggle .vc_toggle_title h4, .page-id-120 .vc_toggle .vc_toggle_title h4{
  font-size: 18px;
}
.page-id-120 .team-author-name{
	font-weight: bold;
}
/* 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, #f29100) !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*/
/* Anmeldung */
#iframe-anmeldung iframe{
	width: 100%;
	height: 100vh;
} 
/* Anmeldung */
/* footer */
#footer.solid-bg.footer {
    background-image: linear-gradient(to bottom, #fff 0px, #fff 299px, #005596  300px);
}
.home #footer.solid-bg.footer {
    background-image: linear-gradient(to bottom, #fef4e5 0px, #fef4e5 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 */
/* courses */
.wf-container-main{
    display: block !important;
}
.tutor-courses > div{
    width: 30%;
}
/* courses */
/* posts */
.single-post .post-thumbnail
{
	display: none;
}
/* /posts */
@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);
}

   .home #footer.solid-bg.footer {
	background-image: linear-gradient(to bottom, #fef4e5 0px, #fef4e5 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-menu{
    top: -60px;
    left: 35vw;
  }
}
@media screen and (max-width: 990px){
	.link-wrapper{
		width: 50%;
}
}
@media screen and (min-width: 991px){
	.link-wrapper {
		width: 25%;
}
}
/*TEST*/
#home-flex-wrapper{
    display: flex;
    flex-wrap: wrap;
    color: #85868c;
}
#home-flex-wrapper a{
    color: #85868c;
}

i.fas::before{
    font-family: "Font Awesome 5 Free" !important;
}
.home-flex-item{
    margin: 0 5px 10px 5px;
    border: 1px solid ;
    padding: 15px 10px;
    width: calc(25% - 32px);
}
.home-link-content{
    position: relative;
}
.home-icon-before, .home-icon-after{
    position: absolute;
    transition: all 0.5s;
}
.home-link-wrapper:hover .home-icon-before{
    color: #f29100;
    z-index: 50;
    transition: all 0.5s;
    font-size: 60px;
}
.home-link-wrapper:hover .home-icon-after{
    color: #F2B861;
    transition: all 0.5s;
    font-size: 50px;
}
.home-icon-before{
    left: calc(50% - 45px);
    top: 0;
    color: #F2B861;
    font-size: 50px;
}
.home-icon-after{
    left: calc(50% - 15px);
    top: 15px;
    color: #f29100;
    font-size: 60px;
}
.home-link-content p{
    padding-top: 75px;
    text-align: center;
}
@media all and (max-width: 1199px){
    .home-flex-item{
        width: calc(33% - 32px);
    }
}
@media all and (max-width: 990px){
    .home-flex-item{
        width: calc(50% - 32px);
    }
}
@media all and (max-width: 767px){
    .home-flex-item{
        width: calc(33% - 32px);
    }
}
@media all and (max-width: 600px){
    .home-flex-item{
        width: calc(50% - 32px);
    }
}
@media all and (max-width: 450px){
    .home-flex-item{
        width: calc(100% - 32px);
    }
}
/* instrumente */
.page-id-4543 #instrumenten-liste .wpb_wrapper > p:first-child{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.page-id-4543 .link-wrapper{
    flex-basis: 30%;
    padding: 25px 10px;
    line-height: 1;
    text-align: center;
    position: relative;
    max-width: 256px;
    min-width: 128px;
}
.page-id-4543 .link-wrapper img{
    width: 100%;
    height: auto;
    object-fit: contain;
}
.page-id-4543 .link-wrapper:hover img {
    transform: scale(1.2);
    transition: all 1.5s;
}
.page-id-4543 .link-wrapper a:first-child::before {
    content: "";
    background-color:rgba(242,145,0,0.2);
    transition: all 1.5s;
    position: absolute;
    top: 25px;
    right: 10px;
    left: 10px;
    bottom: 0;
    margin: 0 auto;
    z-index: 100;
    opacity: 0;
}
.page-id-4543 .link-wrapper:hover a:first-child::before{
    transition: all 1s;
    opacity: 1;
}
.page-id-4543 .link-wrapper a:first-child{
    overflow: hidden;
    display: block;
    margin: 0 auto;
}
.page-id-4543 .link-wrapper a:nth-of-type(2){
    background-color: rgba(170,170,170,0.1);
    width: 100%;
    max-width: 256px;
    min-width: 128px;
    padding: 10px 0px;
    margin: 0 auto;
}
.page-id-4543 .link-wrapper img, .page-id-4543 .link-wrapper a:first-child::before, .page-id-4543 .link-wrapper a:first-child{
    max-height: 256px;
    max-width: 256px;
    min-width: 128px;
    min-height: 128px;
}