

a#mob-logo {
	background: transparent url(../www.schlossfreudenberg.de/imgs/logo-mobile.png) center center no-repeat;
	background-size: contain;
	position: absolute;
	left: 10px;
	top: 5px;
	width: 170px;
	height: 35px;
}

#mobnav {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: #511550;
	z-index: 1000;
	min-height: 45px;
}

.mobnav-all {
	display: none;
	position: fixed;
	top: 45px;
	left: 0; right: 0; bottom: 0;
	background-color: #e2c8dd;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	z-index: 10001;
}

#mobnav label {
	position: absolute;
	right: 5px;
	top: 5px;
	width: 0;
	height: 25px;
	padding: 10px 0 0 40px;
	overflow: hidden;
	cursor: pointer;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' x='0px' y='0px' width='40px' height='30px' viewBox='0 0 30 30' enable-background='new 0 0 30 30' xml:space='preserve'><rect y='5' width='25' height='2' fill='white'/><rect y='19' width='25' height='2' fill='white'/><rect y='12' width='25' height='2' fill='white'/></svg>");
	background-position: center center;
}

#mobnav-trigger {
	position: absolute;
	top: -200px;
}

#mobnav-trigger:checked ~ #mobnav .mobnav-all {
	display: block;
}


#mobnav li {
	font: 1.15rem/1.2rem PTSansBold, Trebuchet, "Trebuchet MS", Arial, sans-serif;
	list-style: none;
	position: relative;
}

#mobnav li.lv-0 a {
	padding-left: 30px;	
}

#mobnav li.lv-1 a {
	padding: 10px 15px 5px 50px;
	font-size: 1.1rem;
}

#mobnav li.lv-2 a {
	padding-left: 80px;
}

#mobnav li.lv-2 {
	font-size: 1.05rem;
}

#mobnav li a {
	color: #511550;
	padding: 15px 15px 10px 0;
	display: block;
}

#mobnav li a.cur {
	color: #c21a60;
}

#mobnav .lv-0 ul {
	display: none;
}

#mobnav .lv-0 > li {
	border-bottom: 1px dotted #fff;
}

#mobnav .lv-0 > ul {
	border-top: 1px dotted #fff;	
}

#mobnav .lv-0 li.act > ul,
#mobnav .lv-0 li.open > ul,
#mobnav .lv-0 li.cur > ul {
	display: block;
}

#mobnav .lv-0 li.closed > ul {
	display: none;
}


#mobnav a.w-sub:after {
	content: ' ';
	background: transparent url(../www.schlossfreudenberg.de/imgs/mob-pfeil-down.svg) center center no-repeat;
	background-size: contain;
	position: absolute;
	right: 20px;
	top: 12px;
	width: 15px;
	height: 15px;
}

#mobnav .meta li a {
	font-size: 80%;
	padding-top: 8px;
	padding-bottom: 6px;
}

#mobnav .marginal li a {
	/*font-size: 80%;*//*
	padding-top: 8px;
	padding-bottom: 6px;*/
}

#mobnav .marginal li {
	background-color: #d4afcd; 
}

/*
	"Lageplan" erstmal raus aus mobile
*/
#mobnav li.pid-1901 {
	display: none;
}

@media (max-width: 780px) {

	body {
		font-size: 100.1%;
		background-color: #fff;
	}

	#bg_img_schwarm,
	.dbt-bildfader,
	.dbt-bildfader-hg,
	.cpimg,
	#the_canvas,
	.content-end,
	.nach-oben,
	#bg-interface,
	#bg_img_winter,
	#logo,
	#shortcutbox,
	#menubox {
		display: none !important;
	}

	#content li {
		font-size: 0.8rem;
	}
	
	#mobnav {
		display: block;
	}

	#centerbox {
		min-width: 0;
		padding: 0;
	}
	
	#content {
		padding: 0;
		width: auto;
		background: transparent url();
	}
	
	.content-inner {
		background: transparent url();
		padding: 80px 10px 10px 10px;
	}
	
	.h-11 {
		font-size: 1.5em;
	}
	
	#footer_menu li a {
		font-size: 0.6rem;
		padding: 0 3px 0 3px;
	}
	
	#footer_menu ul {
		padding: 10px 10px 0 10px;
	}
	
	iframe {
		width: 100%;
		height: 200px;
	}
	
	.csc-textpic .csc-textpic-imagewrap {
		float: none !important;
	}

	
	.csc-textpic-imagewrap {
		width: 100% !important;
		display: block;
		margin: 0 0 20px 0;
	}
	
	.dbgallery_single .single_image img,	
	.csc-textpic-imagewrap img {
		width: 100%;
		height: auto !important;
		display: block;
	}
	
	.csc-textpic .csc-textpic-margin {
		margin: 20px 0 0 0 !Important;
	}
	
	.dbg-efb {
		overflow: hidden;
	}
	
	.dbg-efb .back_next {
		width: 100% !important;
	}
	
	.dbg-efb,
	.dbgallery_single {
		width: 100% !Important;
		max-height: 120px !important;
	}
	
	.fce_30_30_30 .col_left,
	.fce_30_30_30 .col_middle,
	.fce_30_30_30 .col_right,
	.fce-50-50 .col {
		width: 100% !important;
		float: none;
		margin: 20px 0 20px 0;
	}
	
	.fce_30_30_30 .inner,
	.fce-50-50 .inner {
		padding: 0 !important;

	}

	
	/*
		3-Spalter mit farbigen Boxen, z.B. Nachtmahl-Termine
	*/

	.fce_30_30_30.des-1 h3 {
		padding: 10px 0 0 0;
	}
/*
	.fce_30_30_30.des-1 .cal-upcoming-dates {
		margin-bottom: 10px;
	}*/

	.fce_30_30_30.des-1 .cal-upcoming-dates .item {
		margin: 0 10px 0 0;
		padding: 8px 0 5px 0;
		border-bottom: dotted 1px #aaa; 
	}

	.fce_30_30_30.des-1 .cal-upcoming-dates .item.last {
		border: none;
		margin-bottom: 5px;
	}

	.fce_30_30_30.des-1 .inner {
		padding: 0 10px 0 10px !important;
		min-height: 0;
	}

	.fce_30_30_30.des-1 .section_frame_default_wrap {
		padding: 0; 
	}


	#bbx-bx {
		left: 8px !important;
		margin-left: 0 !important;
		max-width: 82%;/*
		max-height: 500px;
		overflow: hidden;
		overflow-y: scroll;*/
	}

	#bbx-bx .bbx-corner {
		left: 20px;
		right: auto;
	}

	/*
		************************************************
		Online-Buchung
		************************************************
	*/

	.ef-onlinebuchung .fsection-content {
		width: 110%;
		overflow-x: scroll !important;
	}
	
}

@media (max-width: 550px) {

	/*
		************************************************
		Kalender
		************************************************
	*/

	.zvmcal-daylist .zvmcal-daylist-item {
		margin: 0;
	}

	.zvmcal-daylist h2.zvmcal-daylist-day-title {
		float: none;
		font-size: 15px;
	}

	.zvmcal-daylist .zvmcal-daylist-item .title {
		margin: 0;
		float: none;
	}

	.zvmcal-daylist .zvmcal-daylist-item .time {
		float: none;
		line-height: 19px;
	}

	#ui-datepicker-div {
		max-width: 87%;
	}
}