/*!
 * Slidebars - A jQuery Framework for Off-Canvas Menus and Sidebars
 * Version: 2.0.2
 * Url: http://www.adchsm.com/slidebars/
 * Author: Adam Charles Smith
 * Author url: http://www.adchsm.com/
 * License: MIT
 * License url: http://www.adchsm.com/slidebars/license/
 */

/**
 * Box Model, Html & Body
 */
@media only screen and  (max-width: 1023px) {
	html, body, [canvas=container], [off-canvas] {
		margin: 0;
		padding: 0;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
	}

/*	html, body {
		width: 100%;
		height: 100%;
		overflow: hidden;
	}*/

	/**
	 * Canvas
	 */

	[canvas] {
		z-index: 1;
	}

	[canvas=container] {
		width: 100%;
		height: 100%;
		overflow-y: auto;
		position: relative;
		background-color: white; /* Basic background color, overwrite this in your own css. */
		-webkit-overflow-scrolling: touch; /* Enables momentum scrolling on iOS devices, may be removed by setting to 'auto' in your own CSS. */
	}

	[canvas=container]:before, [canvas=container]:after {
		clear: both;
		content: '';
		display: table;
	}

	/**
	 * Off-Canavs
	 */

	[off-canvas] {
		display: none;
		position: fixed;
		overflow: hidden;
		overflow-y: auto;
		background-color: black; /* Basic background color, overwrite this in your own css. */
		color: white; /* Basic colors, overwrite this in your own css. */
		-webkit-overflow-scrolling: touch; /* Enables momentum scrolling on iOS devices, may be removed by setting to 'auto' in your own CSS. */
	}

	[off-canvas*=top] {
		width: 100%;
		height: 255px;
		top: 0;
	}

	[off-canvas*=right] {
		width: 275px;
		height: 100%;
		top: 0;
		right: 0;
	}

	[off-canvas*=bottom] {
		width: 100%;
		height: 255px;
		bottom: 0;
	}

	[off-canvas*=left] {
		width: 255px;
		height: 100%;
		top: 0;
		left: 0;
	}

	[off-canvas*=reveal] {
		z-index: 0;
	}

	[off-canvas*=push] {
		z-index: 1;
	}

	[off-canvas*=overlay] {
		z-index: 9999;
	}

	[off-canvas*=shift] {
		z-index: 0;
	}

	/**
	 * Animation
	 */

	[canvas], [off-canvas] {
		-webkit-transform: translate( 0px, 0px );
			-ms-transform: translate( 0px, 0px );
				transform: translate( 0px, 0px );
		-webkit-transition: -webkit-transform 300ms;
				transition:         transform 300ms;
		-webkit-backface-visibility: hidden; /* Prevents flickering, may be removed if experiencing problems with fixed background images in Chrome. */
	}

	[off-canvas*=shift][off-canvas*=top] {
		-webkit-transform: translate( 0px, 50% );
				transform: translate( 0px, 50% );
	}

	[off-canvas*=shift][off-canvas*=right] {
		-webkit-transform: translate( -50%, 0px );
				transform: translate( -50%, 0px );
	}

	[off-canvas*=shift][off-canvas*=bottom] {
		-webkit-transform: translate( 0px, -50% );
				transform: translate( 0px, -50% );
	}

	[off-canvas*=shift][off-canvas*=left] {
		-webkit-transform: translate( 50%, 0px );
				transform: translate( 50%, 0px );
	}

	/**
	 * Print
	 */

	@media print {
		[canvas] {
			-webkit-transform: translate( 0px, 0px ) !important;
				-ms-transform: translate( 0px, 0px ) !important;
					transform: translate( 0px, 0px ) !important;
		}

		[off-canvas] {
			display: none !important;
		}
	}

	/* EIGENES CSS */

	[off-canvas] {
		background:#1f8ca5;
		border-left:2px solid #fff;
	}
	[off-canvas] .font-size{
		position: static;
		float: left;
	}
	[off-canvas] .schnellfinder{
		position: static;
		float: right;
		width: 160px;
	}
	[off-canvas] .schnellfinder img{
		width: 31px;
	}
	[off-canvas] .schnellfinder .slideOut {
	    width: 273px;
	    position: relative;
	    left: -113px;
	}
	[off-canvas] .kontakt-box{
		padding: 10px 15px;
		font-size: 85%;
	}
	[off-canvas] .kontakt-box a[href^="tel"]:first-child{
		padding-left: 0;
	}
	[off-canvas] .kontakt-box div a[href^="tel"]:before{
		content:'';
		background-image: url(../../Images/icon_phone_weiss.png) !important;
		background-repeat: no-repeat;
		background-size: 18px 18px;
		width: 18px;
		height: 18px;
		top:2px;
	    display: inline-block;
	    position: relative;
	    top: 3px;
	    padding-right: 8px;
	}
	[off-canvas] .kontakt-box a[href^="tel"]{
		white-space: nowrap;
	}
	[off-canvas] .kontakt-box p{
		display: inline;
		padding-bottom: 0;
	}
	[off-canvas] .kontakt-box a{
		color:#fff;
	}
	[off-canvas] a{
		color:#fff;
		text-decoration: none;
	}
	[off-canvas] .navi-mobile li{
		display:block;
		position:relative;
		border-bottom: 1px solid #fff;
		margin-left: 0;
	}
	[off-canvas] .navi-mobile li .sb-caret{
		position:absolute;
		right:15px;
		top:5px;
		display:block;
		padding:10px;
	}
	[off-canvas] .navi-mobile li .sb-caret img{
		display:block;
	}
	[off-canvas] .level-1{
		padding-bottom: 20px;
	}
	[off-canvas] .level-1 > li a{
		color:#fff;
		display:block;
		padding:10px 55px 10px 15px;
	}
	[off-canvas] .level-1 > li.is-current a,
	[off-canvas] .level-2 > li.is-current a,
	[off-canvas] .level-1 > li.is-active > a{
    	font-weight: bold;
	}
	[off-canvas] .level-2{
		display:none;
	}
	[off-canvas] .level-2 li{
		padding-left: 10px;
		border-color:#1f8ca5;
		border-width: 1px;
		background: #b7dae1;
	}
	[off-canvas] .level-2 li:last-child{
		border-bottom: 0;
	}
	[off-canvas] .level-2 li a{
		font-size: 90%;
		padding: 5px 10px;
		color:#000;
	}
	[off-canvas] .level-2 li a:before{
		content:"\0203A";
		color:#000;
		padding-right: 5px;
		font-size: 1.25em;
	}
	[off-canvas] .sb-toggle-submenu{
	    position: absolute;
	    right: 0;
	    top: 0px;
	    padding: 10px 17px;
	    background: #b7dae1;
	    color:#000;
	    font-weight: bold;
	    font-size: 1.25em;
	}
	[off-canvas] .sb-toggle-submenu span{
		display: inline-block;
	}
	[off-canvas] #search-form-wrapper{
		display:block;
		position:static;
		padding:0 15px;
		border:0;
		background: transparent;
	}
	[off-canvas] #search-form-wrapper .sword{
		width:206px;
		border-color:#fff;
		color:#fff;
	}
	[off-canvas] #search-form-wrapper input[type=image]{
		margin-top: 2px;
	}
	[off-canvas] ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	  color: #fff;
	}
	[off-canvas] ::-moz-placeholder { /* Firefox 19+ */
	  color: #fff;
	}
	[off-canvas] :-ms-input-placeholder { /* IE 10+ */
	  color: #fff;
	}
	[off-canvas] :-moz-placeholder { /* Firefox 18- */
	  color: #fff;
	}
	[off-canvas] .navi-topbar{
		text-align: center;
	}
	[off-canvas] .navi-topbar a{
		padding: 20px 15px;
		display: inline-block;
	}
}