#content {
border : red solid 0;
display : block;
}
* {margin:0; padding:0;

}

.page-template-tekjaar.footernav ,.page-template-contactpage.footernav ,
.page-id-1194.footernav {display:none}
	  #posttekst p {
    padding: 15px;
	border: 0px solid red;

	  }
	  #posttekst p.worktitle {
		  padding: 0 15px;
		}
	#posttekst p.caption {
		  padding: 10px 15px;
		}
		#posttekst p.end {
		  padding: 0 15px;
		}
h1 {
	
}
h1 a {
    font-size: inherit;


}
span.caption{
	padding-top:10px;
  display: block;
  }
#myscroll{
  position: fixed;
  right: 2%;
  bottom: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #a8a6a6;
  text-indent: -9999px;
  display: none;
  z-index: 99999999;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  border-radius: 30px;
}
#xmyscroll span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -12px;
  height: 0;
  width: 0;
  border: 8px solid transparent;
  border-bottom-color: #fff;
}
@media (max-width:1085px) {
		body.page-id-9, body.page-id-1257 {
		  display: block;
		}

		#wrapper {
	  margin: auto;
		width : 70%;
		max-width : 960px;
		margin: auto;
		background-color : yellow;
		background-color : inherit;
	  display: block;
		position: static;
		  }

		.home #wrapper, #wrapper, .page-id-1257 #wrapper, #wrapper {
		left : 0;
		transform : none;
		display : block;
		position: static;
		}  
		


		.home #content, .page-id-7 #content, .page-id-9 #content, .page-id-1257 #content {
		position : static;
		width : 100%;
		display : block;
		float : none;
		display : block;
		margin-left : auto;
		margin-right : auto;
		margin : 0 auto;
		}

		#sidebar {
		  margin-top: -10px;
		  margin-bottom: 0;
		}
		#post {
		display : block;
		float : none;
		position : static;
		width : 100%;
		}
		.my-ngg-view {
		display : block;
		float : none;
		position : static;
		width : 100%;
		}
		#posttekst {
		display : block;
		width : auto;
		width : 100%;

		padding : 0 0;
		}
		#posttekst p {
		 width : 100%;   
		}
		#posttekst > p > img, #posttekst p img {
		max-width : 100%;
		height : auto;
		display : block;
		}
		h1 {

		}
		p.streepje {
		display : block;
		color : #fff;
		height : auto;
		}
}
@media (max-width:865px) {
	#wrapper {
	width: 95%;
	  margin: auto;
	  }
	  
	  #posttekst p {
  width: 100%;
  box-sizing: border-box;
    padding: 15px;
	  }
#content {
box-sizing: border-box;
width : 100%;
display : block;
}
#post {

width : 100%;
display : block;
}
h1 {
font-size : 18pt;
line-height : 21pt;
}
}

@media (max-width:500px) {
	#wrapper {
  width: 98%;
}
	  #posttekst p {
    padding: 10px;
	  }
	  	  #posttekst p.worktitle {
		  padding: 0 10px;
		}
	#posttekst p.caption {
		  padding: 10px 10px;
		}
		#posttekst p.end {
		  padding: 0 10px;
		  font-size: xx-small;
		}
		h1 {
		font-size : 15pt;
		line-height : 17pt;
		}
		
}
@media (max-width:370px) {
	h1 {
		font-size : 14pt;
		line-height : 16pt;
		}
}
*/