@charset "utf-8";
/* CSS Document */

/*** general styles ***/
#debug {
	display:none;
	position:fixed;
	bottom:10px;
	left:10px;
	z-index:1001;
	background:#FF0;
	color:#111;
	padding:10px;
}

.comment {
	color:#f00;
}

body{
	background: #fff;;
	margin:0;
	padding:0;
	font-family: 'Roboto', sans-serif;
	font-size:16px;
	color:#000000;
}

a {
	color:#e40033;
	text-decoration:none;
}

a:hover {
	color:#e40033;
	text-decoration:underline;
}

h1 {
	font-size:195%;
	margin:0px 0px 5px 0px;
	padding: 0px;
}


h2 {
	font-size:150%;
	margin:10px 0px 0px 0px;
	padding: 0px;
}

h3 {
	font-size:100%;
	font-weight:bold;
}

img {
	border:none;
}

p {
	padding:0px;
	margin:0px 0px 19px 0px;
	line-height:1.2em;
	
	overflow-wrap: break-word
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
/*** end general styles ***/

/*** layout ***/
#bgimage {
	position:fixed;
	width: 100%;
	height:100%;
	/* BG image is defined by JS */
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;

}
#pagecontainer {
	position:absolute;
	width: 100%;
	height:100%;
}
#page {
	position: relative;
	width:1000px;
	margin: 0 auto;
	padding:100px 0px 0px 0px;
	height:750px;
}


#navcontainer {
	position:relative;
	width:250px;
	height:100%;
	float:left;

}

div.logo a {
	display:block;
	background-image: url(../grafik/schreinerei_blatter_logo.png);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	text-decoration:none;
	height:88px;
	width:250px;
}

div.logo a:hover {
	background-position: -250px 0px;
	
}

div.video {
	margin-top:15px;
}
div.video a {
	display:block;
	background-image: url(../grafik/sb_video.png);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	text-decoration:none;
	height:141px;
	width:250px;
}

#menu {
	position: absolute;
	width:100%;
	text-align: left;
	bottom:24px;
}

#menu a {
	text-decoration:none;
	font-size:24px;
	margin:0px 0px 0px 0px;
	padding:14px 0px 4px 0px;
	border:none;
	display:block;
	color:#000;
}

#menu a.sub {
	font-size:18px;
	padding:2px 0px 2px 20px;
	border:none;
	display:block;
	color:#000;
}

#menu a.act {
	color:#000;
	font-weight:bold;
}

#menu a:hover, #menu a.sub:hover {
	color:#e40033; 
}

#menu a.act:hover {
	color:#000;
}



#mobilemenu {
	display: none;
	position: absolute;
	bottom:15px;
	right: 0px;
	cursor: pointer;
	height:18px;
	width:18px;
	background-image:url(../grafik/menu_button.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0px 0px;
}
#content{
	position:relative;
	width:750px;
	height:100%;
	float:left;
	padding-top:0px;
	padding-left:40px;

}

#footer {
	position: relative;
	width:1000px;
	margin: 0 auto;
	padding:5px 0px 10px 0px;
	border-top:#e40033 5px solid;
	font-size:80%;
	bottom:0px;
}

#footer a {
  color:#000;
	text-decoration:underline;
}

#footer p {
	width:70%;
	float:left;
}
#footer div.derschreiner {
	width:30%;
	float:right;
	text-align:right;
}

#footer div.derschreiner img {
	height:auto;
	width:80px;
}

div.clear {
	clear:both;
	height:0px;
}
/*** end layout ***/

/*** content stuff ***/

div.sp1 {
	float:left;
	width:50%;
	padding: 0px 20px 20px 0px;
}

div.sp2 {
	float:left;
	width:50%;
	padding: 0px 0px 20px 20px;
}

p.link_pdf {
	background:url('../grafik/pdf.png');
	padding:14px 0px 8px 43px;
	background-repeat: no-repeat;
	margin:0px;
}

div.item {
	border: 1px dashed #e40033;
	padding:20px 20px;
	border-radius: 10px 10px;
  margin:0px 0px 20px 0px;
}

div.item img {
	float:right;
	margin-left:10px;
	margin-top:5px;
}
div.item_strong {
	background-image:url('../grafik/bg_item_strong.png');
	background-repeat: no-repeat;
	background-size: cover;
	border: 1px solid #fff;
	padding:1px 20px;
	border-radius: 10px 10px;
	margin:0px 0px 20px 0px;
}
ul {
	margin:0px 0px 10px 0px;
}

li {
	margin:5px 0px 0px 10px;
	padding:0px 0px 0px 10px;
	/*list-style-image:url(../grafik/list_style_img.png);*/
	list-style:'-';
}

/*forms */
input[type="text"], textarea, select {
	border:1px solid #999;
	background: #f9f9f9;
	font-family: HelveticaNeue, Arial, sans-serif;
	padding:5px;
	color:#999;
	font-size:12px;
	resize: none;
	box-sizing: border-box;
}

input[type="text"], select {
	width:100%;
	margin:0px 0px 5px 0px;
}

input[type="text"].must, textarea.must {
	border:1px solid #999;
	background: #008099;
	font-family: HelveticaNeue, Arial, sans-serif;
	padding:5px;
	color:#999;
	font-size:12px;
	resize: none;
}

input[type="radio"] {
	display:none;
}
label {
	display: inline-block;
	cursor: pointer;
	position: relative;
	padding-left: 16px;
  margin-right: 20px;
	padding-bottom:14px;
}

label:before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    position: absolute;
    left: 0;
    bottom: 0px;
    background:url(../grafik/radio.png) no-repeat;
	  padding-bottom:14px;
}

input[type=radio]:checked + label:before {
    content: "";
    background:url(../grafik/radio-act.png) no-repeat;
}




/*end forms */

#loading_indicator {
	position:absolute;
	top:50%;
	left:50%;
	border:none;
	padding:0px;
	margin:0px;
	margin-left:-16px;
	margin-top:-16px;
	width:32px;
	height:32px;
	display:none;
	z-index:900;
}

/*shadow*/
#shadow_overlay {
	position:fixed;
	top:0px;
	left:0px;
	background:url(../grafik/fff_50.png) top left repeat;
	/*background:#fff;*/
	height;100%;
	width:100%;
	filter: alpha(opacity=0);
	opacity: 0;
	display:none;
	z-index:700;
}
/*shadow end*/

/*overlay*/
#page_overlay {
	position:absolute;
	width:850px;
	height:400px;
	padding:35px;
	margin:0;
	margin-left:-425px;
	/*margin-top:-256px;
	top:50%;*/
	left:50%;
	border:none;
	display:none;
	z-index:900;
	overflow:hidden;
	/*background: url(../grafik/overlayBG_850.png) no-repeat;*/
	box-sizing: border-box;
}

/*end overlay*/

/*admin stuff*/
#loginScreen {
	position:absolute;
	top:-300px;
	margin-top:-300px;
	left:50%;
	margin-left:-200px;
	background:#fff;
	border:#e40033 solid 5px;
	border-radius: 10px;
	padding:10px 20px;
	height:auto;
	width:400px;
	z-index:700;
	display:block;
}
#member_header {
	font-size: 120%;
	display:none;
	position:absolute;
	top:0px;
	left:0px;
	height:30px;
	width:100%;
	/*background:url(../grafik/000_40.png) top left repeat;*/
	background-color:#e40033;
	color:#FFFFFF;
	border-bottom:#fff 2px solid;
}

#member_header .welcome, #member_header .message {
	color:#fff;
	margin:6px 8px 0px 8px;
	font-size:80%;
}

#member_header .welcome {
	float:right;
}

#member_header .message {
	float:left;
}

#member_header .welcome a, #member_header .message a {
	color:#FFFFFF;
	text-decoration:none;
}

#member_header .welcome a:hover, #member_header .message a:hover {
	color:#e40033;
	text-decoration:none;
	background-color:#FFF;
}
/***admin end***/



/*responsiveness*/
/*still size XL (normal size)*/
@media screen and (max-height:820px) {
	#page {
		height:649px;
	  padding:5px 0px 0px 0px;
  }
}

/* size L */
@media screen and (max-width:1024px) { 
	body {
		font-size:14px;
	}
  #page {
	 width:840px;
	 height:650px;
  }
  #navcontainer {
	 width:200px;
  }

  div.logo a {
	 height:70px;
	 width:200px;
		background-image: url(../grafik/schreinerei_blatter_logo_M.png);
  }
	
	 div.video a {
	 height:112px;
	 width:200px;
		 background-size: cover;
  }
	
	div.logo a:hover {
	 background-position: -200px 0px;
	}
	
	#menu {
	 bottom:20px;
  }

  #menu a {
	 font-size:22px;
	 padding:10px 0px 4px 0px;
  }

  #menu a.sub {
	 font-size:16px;
	 padding:1px 0px 2px 20px;
  }
	
	#content{
	 width:640px;
	 padding-left:30px;
  }

  #footer {
	 width:840px;
  }
}

@media screen and (max-height:820px) and (max-width:1024px) {
	#page {
		height:580px;
	  padding:20px 0px 0px 0px;
  }
}

/* size M */
@media screen and (max-width:860px) { 
	#page {
	 width:640px;
	 padding:20px 0px 0px 0px;
	 height:auto;
  }
  #navcontainer {
	  width:640px;
		height:auto;
  }
	div.logo {
		float:left;
	}
	
	div.video {
		float:left;
		margin-left:30px;
		margin-top:0px;
	}
	
	div.video a {
		height:70px;
	 width:124px;
	}
	
	
	#mobilemenu{
		display:block;
	}
	#menu {
		height:0px;
		overflow:hidden;
		text-align:right;
		bottom:40px;
	}
	#menu a.sub {
	 display: none;
  }
	#content {
		padding-top: 20px;
   padding-left: 0px;
	}
	#footer {
	 width:640px;
  }
}


/* size S */
@media screen and (max-width:680px) { 
  #page {
	 width:490px;
  }
  #navcontainer {
	 width:490px;
  }
	#content {
		width:490px;
	}
	#footer {
	 width:490px;
  }
	
	#footer p {
	  width:220px;
  }
  #footer div.derschreiner {
	 width:30%;
  }
	#footer div.derschreiner img {
	 width:50px;
  }
	
	div.sp1, div.sp2 {
		float:none;
		width:100%;
		padding:0px 0px 0px 0px;
	}
	
	div.item {
	 padding:15px 15px;
	 border-radius: 10px 10px;
   margin:0px 0px 15px 0px;
  }

  div.item_strong {
	 padding:1px 15px;
	 border-radius: 10px 10px;
	 margin:0px 0px 15px 0px;
  }
}

/* size XS */
@media screen and (max-width:530px) { 
	#page {
	 padding:30px 0px 0px 0px;
  }
  #page, #navcontainer, #content, #footer {
	 width:280px;
  }	
	
	
	#footer p {
	  width:170px;
  }
	#footer div.derschreiner img {
	 width:50px;
  }
	div.logo a {
	  height:46px;
	  width:130px;
		background-image: url(../grafik/schreinerei_blatter_logo_XS.png);
  }
	div.logo a:hover {
	 background-position: -130px 0px;
	}
	
	div.video {
		float:left;
		margin-left:10px;
		margin-top:0px;
	}
	
	div.video a {
		height:46px;
	  width:82px;
	}
}


