.mobile .mobile-wrapper {
    display: block;
}

.mobile  .header-mobile {
    background: #0094DA;
    height: 64px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 150;
    -webkit-box-shadow: 0 1px 5px #111;
    -moz-box-shadow: 0 1px 5px #111; 
    box-shadow: 0 1px 5px #111;
}

.mobile  .header-mobile .logo img{
    height: 60px;
    width: 180px;
}

.mobile .site-name-mobile {
    background: #005089;
    padding-top: 62px;
    font-size: 10px; /* mit @media weiter definiert */
    /* height: 74px; */
    position: absolute;
    width: 100%;
    z-index: 10;
    text-align: center; 
    -webkit-box-shadow: 0 1px 5px #111;
    -moz-box-shadow: 0 1px 5px #111; 
    box-shadow: 0 1px 5px #111; 
}

.mobile .site-name-mobile a,
.mobile .site-name-mobile a:hover,
.mobile .site-name-mobile a:active,
.mobile .site-name-mobile a:visited {
    color: #fff;
    font-weight: bold;
    height: 100%;
    display: block;
    line-height: 32px;
    padding: 0.5em 0;
    white-space: normal;
}

.mobile  .header,
.mobile .site-name,
.mobile .logo-ref-container  {
    display: none;
}

.mobile .mobile-toggle-menu,
.mobile .mobile-toggle-search{
    position: absolute;
    z-index: 200;
    width: 40px;
    height: 40px;
    top: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.mobile .mobile-toggle-menu{
    background:url('../img/button_menu-2x.png');
    background-size: 40px 40px;
    left: 10px;
}

.mobile .mobile-toggle-search{
    background:url('../img/button_search-yellow-2x.png');
    background-size: 40px 40px;
    right: 10px;
}

.mobile .mobile-nav-elements {
    padding-top: 110px;
}

.mobile .mobile-nav-elements .mobile-categories > div{
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #fff;
    font-size: 20px;
    position: relative;
}

.mobile .mobile-nav-elements .mobile-categories > div a ,
.mobile .mobile-nav-elements .mobile-categories > div a:hover ,
.mobile .mobile-nav-elements .mobile-categories > div a:active,
.mobile .mobile-nav-elements .mobile-categories > div a:visited {
    color: #fff;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding-left: 76px;
    vertical-align: middle;
    line-height: 50px;
}

.mobile .mobile-nav-elements .mobile-cat-ferienpass{
    background: #E6421E url('../img/schmetterling44x42.png') 16px 5px no-repeat;
}

.mobile .mobile-nav-elements .mobile-cat-familienpass{
    background: #FFCB08 url('../img/blume44x42.png') 16px 5px no-repeat;
}

.mobile .mobile-nav-elements .mobile-cat-kombiangebot{
    background: #166D37 url('../img/sonne44x42.png') 16px 5px no-repeat;
}
.mobile .em.em-modal .em-modal-popup header .em-modal-title {
    padding: 0px 0px 0px 15px !important;
}
.mobile .em.em-modal .em-modal-popup header .em-modal-title,.mobile .em.em-modal .em-modal-popup header {
    max-width: calc(100% - 32px);
}
.mobile .em.em-modal .em-modal-popup header a.em-close-modal {
	right: 35px !important;
}
.mobile .em-search-geo .search-place {
	width: 94.8%;
}
.mobile .em.em-search .em-search-main.em-search-main-bar, .em.em-search-advanced .em-search-main.em-search-main-bar,.mobile .em .em-search-advanced .em-search-main.em-search-main-bar {
    width: 22%;
}
.mobile .mobile-nav-elements .mobile-search-box {
	background: #FFCB08 url(../img/search-icon-42.png) 8px 16px no-repeat;
    height: 60px;
    display: none; 
    background-size: 24px;
}

.mobile .mobile-nav-elements .mobile-search-box form{
    padding-left: 42px;
    padding-top: 6px;
    white-space: nowrap;
}

.mobile .mobile-nav-elements .mobile-search-box form input.search-field {
    font-size: 16px;
    width: 75%;
}

.mobile .mac .mobile-nav-elements .mobile-search-box form input.search-field {
    font-size: 15px;
    -webkit-appearance: none;
    -webkit-border-radius: 3px;
}

.mobile .mobile-nav-elements .mobile-search-box form input.search-submit {
    padding: 16px;
    vertical-align: top;
}

.mobile .mac .mobile-nav-elements .mobile-search-box form input.search-submit {
    font-size: 14px;
    padding: 17px 12px 16px;
}
.mobile .search-form input[type="text"] {
    width: 65%;
}
.mobile .search-form input[type="submit"] {
    width: 76px;
}
.mobile .mac .mobile-nav-elements .mobile-search-box form input.search-submit:hover {
background: linear-gradient(to top, #FFEA00 0%, #ffce00 100%) !important;
}
.mobile #primary {
    width: 100%;
    display: block; 
}

.mobile #content {
    padding-left: 2%;
    padding-right: 2%;
}

.mobile #secondary {
    width: 96%;
    margin: 0 2% 0 2%;
    padding-top: 20px;
}

.mobile #tertiary {
    display: block;
}

.mobile .event-map {
    width: 100%;
    display: block;
    height: 300px;
}

.mobile .event-map iframe {
    width: 98.7%;
}

.mobile .event-body p {
    padding-left: 0px;
}

.mobile .wrapper-content .fixed{
    position: relative;
}

.mobile .em-osm-map {
	min-width: calc(97vw);
	width: calc(97vw - 8px) !important;
    height: 300px;
    position: relative;
    max-width: 100%;
}

.mobile nav.main-navigation > div > ul.nav-menu {
    display: none;
    margin: 0;
    padding-top: 114px;
}

.mobile nav.main-navigation > div > ul.nav-menu li {
    display: block;
    width: auto;
}

.mobile nav.main-navigation ul.nav-menu ul.sub-menu  li,
.mobile nav.main-navigation > div > ul.nav-menu  li {
    border: none;
    border-top: 1px solid #fff;
}

.mobile nav.main-navigation > div > ul.nav-menu > li:first-child {
    border-top: none;
}

.mobile nav.main-navigation > div > ul.nav-menu {
    border-left: none;
}

.mobile nav.main-navigation > div > ul.nav-menu li a{
    color: #fff;
    display: block;
    text-decoration: none;
    font-size: 16px;
    padding: 9px 0 9px 16px;
    width: 80%;
}

.mobile nav.main-navigation > div > ul.nav-menu > li > a { border: none; }

.mobile nav.main-navigation ul.nav-menu ul.sub-menu {
    display: block;
    position: relative;
}

.mobile nav.main-navigation ul.nav-menu ul.sub-menu li a {
    padding: 9px 0 9px 48px;
    width: 75%;
}

.mobile nav.main-navigation  > div > ul.nav-menu  li:hover{
    background: #1D4C9B;
}

.mobile nav.main-navigation  > div > ul.nav-menu  li:hover a{
    color: #fff;
}

.mobile nav.main-navigation  > div ul.nav-menu  li a:hover,
.mobile nav.main-navigation  > div ul.nav-menu ul.sub-menu  li a:hover{
    background: #0d2040;
    color: #fff;
}
.mobile nav.main-navigation ul.nav-menu ul.sub-menu li:hover, .mobile nav.main-navigation > div > ul.nav-menu li:hover {
    background-color: #0d2040;
}

.

.mobile nav.main-navigation  > div ul.nav-menu > li > a:hover,
.mobile nav.main-navigation  > div ul.nav-menu > li > a:active {
    text-decoration: underline;
}

.mobile #tertiary .widget_ferfamp_widget {
width: 100%;
margin: 0px;
}

.mobile #secondary .widget_ferfamp_widget {
    display: none;
}

.mobile .kachel-widgets > a {
    width: 100px;
}

.mobile .search-form {
    right: 0;
    top: 0; 
    position: relative;
}

.mobile #main,
.mobile .wrapper-content {
    padding: 0;
}

.mobile #search-container {
    display: none;
}

.mobile .em.em-search .em-search-main.em-search-main-bar > .em-search-field:first-child input {
	width: 36px;
}

.mobile .em-booking-form-details > p {
    white-space: nowrap;
}

.mobile .wp-caption.alignright { float: none; }
.mobile .event-body .em-booking-form-details p label{
    width: 100%;
    white-space: normal;
}
.mobile .em-tickets, .em-ticket {
	width: 100% !important;
}
.mobile .em.em-event-booking-form .em-booking-form .input-select select,.mobile .em.em-event-booking-form .em-booking-form .em-ticket-select {
    max-width: 56px !important;
    min-width: 56px !important;
    width: 56px !important;
}
.mobile .em.em-event-booking-form .em-booking-form .em-booking-form-tickets .em-ticket-booking p:not([class*="em-tickets-spaces"]) select {
	max-width: 88vw !important;
    min-width: 88vw !important;
    width: 88vw !important;
}
.mobile .em.em-event-booking-form .em-booking-form p:not([class*="em-tickets-spaces"]) select {
	max-width: 100% !important;
    min-width: 100% !important;
    width: 100% !important;
}
.mobile p[class*="input-field-"]:not([class*="attendee"]) input:not([id*="pflichtfeld-datenschutz"]):not([type='checkbox']):not([type="radio"])
{
    min-width: 95%;
}
.mobile p[class*="input-field-"] textarea
{
    min-width: 97%;
}
.mobile .em.em-event-booking-form .em-booking-form .input-user-field input {
	min-width: 95%;
}
.mobile p[class*="attendee"] input:not([id*="pflichtfeld-datenschutz"]):not([type='checkbox']):not([type="radio"]) {
    min-width: 95%;
}
.mobile .input-radio span.input-group {
    margin-left: 128px !important;
}
.mobile p.input-multiselect label,.mobile  p.input-textarea label{
    MARGIN-LEFT: 3px;
}
.mobile .em-booking-form .em-booking-form-details textarea {
    width: 99.5%;
    min-height: 100px;
}
.mobile p[class*="input-field-"] input[type="checkbox"]:not([id*="pflichtfeld-datenschutz"]) {
    display: flex;
    margin-left: 0px;
    margin-bottom: -40px;
    margin-top: 28px;
}
.mobile p[class*="input-checkboxes"] input[type="checkbox"]:not([id*="pflichtfeld-datenschutz"]) {
	display: flex;
    margin: 0px 0px 0px -2px !important;
    width: 4% !important;
    padding: 0 !important;
}
.mobile p[class*="input-checkboxes"] label {
	padding-top: 12px;
}
.mobile .css-my-bookings .table-wrap tr > *:nth-child(5),.mobile .css-my-bookings .table-wrap tr > *:nth-child(4) {
    width: 21%;
    padding-right: 5px;
}
.mobile .input-checkboxes span.input-group {
    margin-left: 2px !important;
}
.mobile .event-body .em-booking-form-details  [class*="input-field-datenschutz"] input {
    margin-left: -3.5em;
    width: auto;
}

.mobile .em.em-event-booking-form .em-tickets tr td:first-child {
    width: 75%;
	min-width: 75%;
    max-width: 75%;
    display: block;
}

.mobile .em.em-event-booking-form .em-tickets .em-bookings-ticket-table-spaces {
    width: 100%;
    display: block;
} 
.mobile .event-body .em-booking-form-details  [class*="input-field-datenschutz"] {
    padding-top: 20px;
    display: block;
}

.mobile .event-body .em-booking-form-details  [class*="input-field-datenschutz"]:before { 
    margin-left: 0.1em;
}

.mobile .event-body .em-booking-form-details  [class*="input-field-datenschutz"]:after {
  line-height: 1.4em;
  margin-top: 1.5em;
  white-space: normal;
}

.mobile .wrapper.ff .event-body .em-booking-form-details [class*="input-field-pflichtfeld-datenschutz"] input {
  float: none;
  display: block;
  margin-left: -19px;
             
}
.mobile #em-booking-submit {
    margin: 40px 20px 12px 0px !important;
}
.mobile [class*="text-datenschutz"] {
	width: 60%;
    font-size: 0.9em;
    height: 100%;
    margin: -24px 0px 12px 18%;
    line-height: 18px;
}
.mobile .em-waitlist-form p input {
    margin: 0; 
    min-width: 94.5%;
}
.mobile .em-waitlist-form p select {
    margin: 0;
	min-width: 100%;
}
.mobile .event-body .em-booking-form-details  p[class*="input-field-checkbox-"] input {
    margin-left: -3.5em;
    width: auto;
}

.mobile .event-body .em-booking-form-details p[class*="input-field-checkbox-"]:before { 
    margin-left: 1em;
}

.mobile .event-body .em-booking-form-details p[class*="input-field-checkbox-"]:after {
  line-height: 1.4em;
  margin-top: 1.5em;
  white-space: normal;
}

.mobile .event-meta{
    width: 90%;
}

.mobile .event-map.no-event-map{ display: none; }
.mobile .em-booking-form label { 
    width: 100%; 
    display:block;
    float: none; 
}
.mobile .em.em-event-booking-form .em-booking-form .input-user-field label {
    min-width: 4em;
    display: block;
}

/*.mobile .em-booking-form [class*="input-field-pflichtfeld-datenschutz"] label { display: none;}
 * .mobile .em-booking-form [class*="input-field-datenschutz"] label { display: none;}*/

.mobile div.css-search .search-place {
    width: 74%;
}
.low div.css-search .search-place {
    width: 36%;
}

.mobile div.css-search select {
    max-width: 100%;
}

.mobile div.css-search div.em-search-main div {
    display: grid;
}

.mobile .css-my-bookings .table-wrap th:first-child,
.mobile .css-my-bookings .table-wrap td:first-child,
.mobile .css-events-list table th:first-child,
.mobile .css-events-list table td:first-child {
    width: 5em; /* TODO -> fpfamp, 150px inline style rausnehmen */
}

.mobile .event-body .em-booking-form-details span.input-group, .mobile .event-body .em-booking-form span.input-group input {
    width: 100%;
}

.mobile .em-booking-form-details [class*="input-field-pflichtfeld-datenschutz"] input {
    width: 4%;
}

/* *** min-width *** */
@media (min-width: 332px) { 
    .mobile .mobile-toggle-menu{ left: 16px; }
    .mobile .mobile-toggle-search{ right: 16px; }
    .mobile .site-name-mobile { font-size: 12px; }
    /* .mobile .site-name-mobile a{ padding: 0 4.8em; } */
}

@media (min-width: 360px) {
    .mobile .site-name-mobile { font-size: 12px; }.em-search-geo {
    max-width: 46%;
}
    /* .mobile .site-name-mobile a{ padding: 0 4.8em; } */
}

@media (min-width: 410px) {
    .mobile .site-name-mobile { font-size: 16px; }
    /* .mobile .site-name-mobile a{ padding: 0 3.9em; } */
}

@media (min-width: 484px) {
    .mobile .header-mobile { background: #0094DA url('../img/logo-mobile-bg.png') no-repeat center; }
    .mobile .site-name-mobile { font-size: 18px; }
    /* .mobile .site-name-mobile a{ padding: 0 3.6em; } */
}

@media (min-width: 560px) {
    .mobile .site-name-mobile { font-size: 22px; }
    /* .mobile .site-name-mobile a{ padding: 0 3.4em; } */
}

/* *** max-width *** */
@media (max-width: 410px) { 
    .mobile .mobile-nav-elements .mobile-search-box form input.search-field { width: 60%; }
}



