/* ================= MEDIA QUERIES ================= */
/* ABOVE */
@media only screen and (min-width: 1000px) {
	#wrapper {
		margin: 0 auto;
		max-width: 1000px;
		width: 68%;
	}
	
	/* Align the funding logo on the home page to the right. */
	#slider .custom p {
		text-align: right;
	}
}

/* BETWEEN */
@media only screen and (min-width: 600px) {
	#wrapper {
		width: 90%;		
	}
	
	/* Let the image in the slider 'scale' in 'medium' screen dimensions. */
	#slider .random-image-slider img{
		height: 100%;
		width: 100%;
	}
}

/* BELOW */
@media only screen and (max-width: 600px) {
	/* Give the wrapper element all the width it can take, also remove any padding */
	#wrapper {
		width: 98%;
		padding: 1%;
	}
	
	/* Place the logo and the navigation on their own line */
	#header #logo, #header .main-nav/*, #header #login*/ {
		clear: both;
		width: 100%;
	}
	
	/* Hide the desktop version of the navigation menu */
	#header .main-nav #nav { display: none; }
	
	/* Show the mobile version of the navigation menu */
	.js .selectnav { display: block; }
		
	/*#header #login {width: 10%;}
	#header #login{text-align: left;}*/
	
	/* Place the elements of the slider (image, word of welcome and the images of FET) below each other */
	#slider .random-image-slider, #slider #welcome, #slider .custom {
		clear: both;
		width: 100%;
	}
	
	#slider #funding, #slider #parent-page-title {
		width: 50%;
	}
	
	/* Align the text of the welcome element of the slider left instead of right */
	#slider #welcome {
		text-align: left;
	}
	
	/* Align the logo on the home page to the left. */
	#slider .custom {text-align: left;}
	
	/* Remove the float and give the content all the width it can take */
	#component {
		clear: left;
		width: 100%
	}
	
	/* Remove the float (sidebar will be placed below the content) and give the sidebar all the width it can take */
	#sidebar {
		clear: right;
		width: 100%;
	}
}