@media only screen  and (min-width: 1130px) and (max-width: 1400px) {
	.container {
		width: 100%;
	}
	
	nav {
		width: 100%;
	}
	
	#intro {
		width: 94.1%;
		margin: 20px 1.5%;
	}
	
	#buttons {
		width: 31.2%;
	}
	
	#databank {
		width: 100%;
	}
	
	#theme-1,
	#theme-2,
	#theme-3,
	#theme-4,
	#theme-5,
	#theme-6,
	#theme-7,
	#theme-8 {
		width: 31.4%;
	}
	
	#theme-9 {
		width: 64.2%;
	}
	
	#theme-1,
	#theme-2,
	#theme-4,
	#theme-5,
	#theme-6,
	#theme-7,
	#theme-8 {
		margin-left: 1.5% !important;
	}
	
	#theme-3 {
		margin-right: 1.3% !important;
	}
}

@media only screen and (max-width: 1200px) {
	#intro {
		width: 93.8%;
	}
}

@media only screen and (max-width: 1130px) {

.container {
		width: 100%;
	}
	
	nav {
		width: 100%;
	}
	
	h1, #intro p {
		margin: 20px;
	}
	
	#intro {
		width: 95.2%;
		height: 220px;
		margin: 20px;
		padding: 0;
	}
	
	#buttons {
		width: 26.1%;
		margin-top: 20px;
	}
	
	#buttons span {
		margin-top: 180px;
	}
	
	#databank {
		width: 100%;
		height: 220px;
		background-position: center 50px;
	}
	
	#themes {
		padding: 0 20px;
	}
	
	#theme-1,
	#theme-2,
	#theme-3,
	#theme-4,
	#theme-5,
	#theme-6,
	#theme-7,
	#theme-8 {
		width: 48.5%;
		text-decoration: none;
	}
	
	#theme-1, #theme-4, #theme-5, #theme-6, #theme-9 {
		margin-left: 0;
	}
	
	#theme-3 {
		float: left;
	}
	
	#theme-9 {
		width: 99.3%;
		margin-right: 20px;
	}
}

@media only screen and (max-width: 900px) {
	#intro {
		width: 94.8%;
	}
}

@media only screen and (max-width: 800px) {

	.title {
		padding-left: 50px;
	}

	#menu {
		display: block;
	}
	
	header {
		width: 100%;
	}

	nav {
		width: 100%;
	}
	
	nav ul {
		display: none;
	}
	
	#main {
		margin-bottom: 30px !important;
	}
	
	#main a {
		color: #0099d0;
		height: 30px;
		margin: 10px;
	}
	
	#main a:hover {
		color: #a70b27;
	}
	
	#intro {
		width: 100%;
		height: auto;
		margin: 20px 0;
		padding: 0;
	}
	
	h1, #intro p {
		margin: 10px;
	}
	
	#buttons {
		width: 100%;
		margin-top: 0;
		margin-bottom: 10px;
	}
	
		
	#databank {
		width: 100%;
		height: 52px;
		padding: 0;
		margin: 5px 0;
		background-image: url("../images/buttons/handleidingen_small.png");
		background-size: 25px auto;
		background-position:  10px center !important;
	}	
	
	#buttons span {
		margin-top: 16px;
		margin-left: 70px;
		text-align: left;
	}
	
	.subject {
		text-align: left;
	}
	
	.title {
		padding-left: 0;
	}
	
	#themes {
		padding: 0;
		text-align: center;
	}
	
	#themes li {
		padding: 7px 0;
	}

	#theme-1,
	#theme-2,
	#theme-3,
	#theme-4,
	#theme-5,
	#theme-6,
	#theme-7,
	#theme-8,
	#theme-9 {
		width: 100%;
		margin: 10px 0;
		height: auto;
		text-decoration: none;
	}
	
	footer {
		height: 50px;
		margin-top: 10px;
	}
}

@media only screen and (max-width: 400px) {
	
	#logo {
		background: url(het_logo_van_de_provincie_overijssel.png) no-repeat;
		width: 100%;
		height: 108px;
		margin: 45px 10px 10px 10px;
		background-size: 94%;
	}
	
}