*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media all and (min-width: 920px) {
	body {
	    padding: 10px 0 10px 0;
	}
	
	#wrapper {
		width: 900px !important;
		transition: 0.8s ease;
	}

	#header {
		text-align: left !important;
		padding-left: 22px;
		width: 280px;
		float: left;
	}
	
	#nav {
		margin: 0 45px 0 250px;
		line-height: 100px;
		float: left;
	}

	#nav li {
		display: inline;
	}
	
	#page {
		padding: 0px 30px 30px 30px !important;
	}
	
	#page #content {
		width: 563px !important;
		border-right: 1px solid #e4e3de;
		padding-right: 30px;
	}
	
	#page #sideColumn {
		width: 250px;
		float: right;
		padding: 0px 10px;
	}
	
	#page #sideColumn .imagesGrid li {
		width: 100%;
		padding-bottom: 105.5%;
		margin: 0px 15px 20px 0px !important;
	}
	
	.pagesItems .pageDeleteButton {
		right: 40px !important;
	}
	
	#slider {
		margin: 10px;
	}
	
	.activiteitenGrid li {
		width: 520px;
		margin: 10px !important;
	}
	
	.servicesGrid li {
		width: 260px;
		margin: 10px !important;
	}
	
	#projecten .imagesGrid li {
		width: 24% !important;
		padding-bottom: 25.2% !important;
		
	}

	#footer span.loginButton {
		display: inline !important;
	}

	#footer span.author {
		display: inline !important;
	}
	
	#login {
		text-align: center;
		padding-bottom: 10px;
	}
	
	#loginForm input[type=text], 
	#loginForm input[type=password] {
		width: 150px;
		padding: 2px;

	}

	#loginForm input[type=submit] {
		width: 80px;
		padding: 2px;
	}
}

body {
	margin: 0;
}

#wrapper {
	position: relative;
	width: 100%;
	margin: 0 auto;
}

#header {
	height: 135px;
	margin-left: auto;
	margin-right: auto;
}

#header img#logo{
	padding-top: 19px;
}

#header {
	text-align: center;
}

#nav {
	margin: auto;
	padding: 0;
	list-style: none;
}

#nav li {
	margin-left: 12px;
	height: 28px;
}

#nav li a{
	color: #271973;
	text-decoration: none;
}

#page {
	clear:both;
	padding: 10px;
}

#page #slider {
    height: 220px;
    max-width: 820px;
    position: relative;
}

#page #content {
	width: 100%;
    float: left;
}

#page #sidecolumn {
    width: 100%;
}

#slider {
    height: 220px;
    max-width: 820px;
    position: relative;
}

#slider ul.bjqs {
	padding:0;
	margin:0;
	overflow:hidden; 
	display:none;
	position:relative; 
}

#slider li.bjqs-slide {
	position:absolute; 
	display:none;
}

#slider .fancybox img {
	width: 100%;
}

#login {
	padding-left: 5px;
	padding-right: 9px;
}

#login input {
	width: 100%;
	margin: 2px;
}

#footer {
	height: 48px;
	line-height: 44px;
	clear: both;
}

#footer #footerColorbar {
	height: 4px;
	padding: 0px;
}

#footer #footerContent {
	padding: 0 15px 0 15px;
}

#footer span.copyright {
	float:left;
	text-overflow: hidden;
	
}

#footer span {
	margin-top: 11px;
	margin-bottom: 11px;
	line-height: 21px;
}

#footer span.author {
	float: right;
	display: none;
	margin-right: 28px;

}

#footer span.loginButton {
	padding-left: 10px;
	right: 15px; 
	padding-top: 2px;
	position: absolute;
	
	margin-top: 8px;
	margin-bottom: 8px;
}

#loginForm input{
	margin: 2px;
}

#login {
		padding-bottom: 10px;
}

#page ul.activiteitenGrid {
	margin: 0px;
	padding: 0px;
}

.activiteitenGrid li {
	float: left;
	position: relative;
	padding: 20px;
	margin: 10px 0px;
	display: block;
}

.activiteitenGrid h1 {
	margin-top: 0px;
}

#page ul.servicesGrid {
	margin: 0px;
	padding: 0px;
}

.servicesGrid li {
	float: left;
	position: relative;
	padding: 20px;
	margin: 10px 0px;
	display: block;
}

.servicesGrid h1 {
	margin-top: 0px;
}

.imagesGrid  {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  clear: both;
}
.imagesGrid li {
  width: 19%;
  height: auto;
  position: relative;
  float: left;
  margin: 0 0.5%;
  padding: 0 0 20% 0;
  transition: 0.8s ease;
}
.imagesGrid li:hover span {
  height: 40%;
}

@media screen and (max-width: 1280px) {
  .imagesGrid li {
    width: 24%;
    padding-bottom: 25.2%;
  }
}

@media screen and (max-width: 1024px) {
  .imagesGrid li {
    width: 32.33%;
    padding-bottom: 34%;
  }
}

@media screen and (max-width: 600px) {
  .imagesGrid li {
    width: 49%;
    padding-bottom: 51.7%;
  }
}

@media screen and (max-width: 360px) {
  .imagesGrid li {
    width: 100%;
    padding-bottom: 105.5%;
  }
}

.imagesGrid li img {
  max-width: none;
  width: 100%;
  position: absolute;
  top: 5%;
  left: 0;
}
.imagesGrid li span {
  width: 100%;
  height: 3rem;
  line-height: 3rem;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 1rem;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.8s ease;
}

form header {
  margin: 0 0 20px 0; 
}
form header div {
  font-size: 90%;
  color: #999;
}
form header h2 {
  margin: 0 0 5px 0;
}
form > div {
  clear: both;
  overflow: hidden;
  padding: 1px;
  margin: 0 0 10px 0;
}
form > div > fieldset > div > div {
  margin: 0 0 5px 0;
}
form > div > label,
legend {
	width: 25%;
  float: left;
  padding-right: 10px;
}
form > div > div,
form > div > fieldset > div {
  width: 75%;
  float: right;
}
form > div > fieldset label {
	font-size: 90%;
}
fieldset {
	border: 0;
  padding: 0;
}

@media (max-width: 600px) {
  form > div {
    margin: 0 0 15px 0; 
  }
  form > div > label,
  legend {
	  width: 100%;
    float: none;
    margin: 0 0 5px 0;
  }
  form > div > div,
  form > div > fieldset > div {
    width: 100%;
    float: none;
  }
  input[type=text],
  input[type=email],
  input[type=url],
  input[type=password],
  textarea,
  select {
    width: 100%; 
  }
}
@media (min-width: 1200px) {
  form > div > label,
	legend {
  	text-align: right;
  }
}

.pagesItems .sortButtons {
	float: left;
	padding-left: 3px;
	padding-right: 3px;
}

.pagesItems .visibleSwitch {
	float: left;
	padding-left: 3px;
	padding-right: 3px;
}

.pagesItems .descriptionBox {
	height: 17px;
}

.pagesItems .description {
	padding-left: 3px;
	padding-right: 3px;
	line-height: 19px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
}

.pagesItems .pageDeleteButton {
	position: absolute;
	right: 10px;
	margin-top: -18px;
}

.pagesItems img {
	width: 18px;
}

.visibleButton {
	width: 16px;
}

.newsTitle {
    line-height: 14px;
    width: 155px;
    padding: 0px 4px;
    position: absolute;
}

.pagesItems {
	height: 30px;
}

#imageUpload {
	position: absolute;
	padding: 15px;
	padding-top: 10px;
	height: 95%;
	width: 100%;
	border: 1px solid #e4e3de;
	margin-top: 10px;
	z-index: 1;
}

#imageUpload::after {
	  content: " ";
	  width: 100%;
	  height: 100%;
	  right: 5px;
	  bottom: 5px;
	opacity: 0.1;
    background: url("../images/icons/plus.png") no-repeat right bottom;
	position: absolute;
	z-index:-1;
}

#imageUpload label {
    width: 100%;
    float: none;
    margin: 0 0 5px 0;
}

#imageUpload input, #imageUpload div {
	width: 100%;
}

.clear {
    clear: both;
}

#photalbumEditor {
	margin-top: 25px;
}

input#newProjectButton {
    width:190px;
    height:190px;
	position:absolute;
}

#newPageButton {
	margin-bottom: 15px;
	padding-bottom: 15px;
}

_:-ms-lang(x), .ie10up { 
    background-color:green !important;
}