
/* 
 *	Name: Responsive layout;
 *	Author: Andor Nagy;
 *	Website : andornagy.com;
 *	
------------------------------------------
 * 
 *	Responsive Layout is lightweight css and html layout 
 *	that can help you kickstart your website development.
 *
 *	You are free to use this framework for you own projects
 *	and for client works. Credit is always welcome.
 *
 *	DO NOT sell it as your own work.
 *  
--------------------------------------------- */



/* General Styles
--------------------------------------------- */

body {
	margin: 0;
	padding: 0;
}



/* Imports
--------------------------------------------- */

@import url(http://fonts.googleapis.com/css?family=Roboto+Slab);
@import url(http://fonts.googleapis.com/css?family=Open+Sans);



/* Helper Classes
--------------------------------------------- */

.clearfix {
	display: block;
	clear: both;
}


/* Typography
--------------------------------------------- */

body {
	font-size:18px;
	line-height: 32px;
	color: #333;
	word-wrap:break-word !important;
	font-family: 'Open Sans', sans-serif;
}

p {
	margin: 0 0 24px;
	margin: 0 0 2.4rem;
	padding: 0;
}


/* Links
--------------------------------------------- */

a {
	text-decoration: none;
	color: blue;
}

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



/* Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #333;
	font-family: "Roboto Slab", sans-serif;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 16px;
}

h1 {
	font-size: 40px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}



/* Sections
--------------------------------------------- */

#container{
	margin: 0 auto;
	max-width: 1200px;
}



/* Header
--------------------------------------------- */

header {
	width: 94%;
	padding: 3%;
	background-color: #99ccff;
}

header #title {
	font-size: 50px;
	color: #333333;
}



/* Navigation
--------------------------------------------- */

nav {
	width: 97%;
	background-color: #cccccc;
	padding: 0 1.5% 0 1.5%;
	border-color: #99ccff;
	border-width: 5px solid;
}

nav#menu{
	display: block;
}

nav ul li {
	display: inline-block;
	padding: 15px 1.5% 15px 1.5% ;
}

nav ul li a {
	text-decoration: none;
	color: #333333;
	font-size: 1.2em;
}

nav ul li a:hover {
	color: #ffffff;
	text-decoration: none;
}



/* Content
--------------------------------------------- */

#content {
	float: left;
	padding: 3%;
	width: 64%;
}



/* Sidebar
--------------------------------------------- */

aside {
	float: right;
	padding: 3%;
	width: 24%;
	background-color: #cccccc;
}



/* Footer
--------------------------------------------- */

footer{
	width: 94%;
	padding: 3%;
	background-color: #99ccff;
	border-top: 5px solid #cccccc;
	color: #333333;
	text-align: center;
}

/*
ADDED BY NIALL
*/
#menu-button{
	width: 44px;
	height: 44px;
	position:absolute;
	background-color: #10274c;
	top:0;
	right:0;
	display: none;
	background-image: url(../images/button.png);
	background-repeat: no-repeat;
}



/* Media Queries
--------------------------------------------- */

@media all and (max-width : 768px) {

	header {
		text-align: center;
		height:44px;
		padding:0;
	}
	header #title{
		font-size:22px;
		line-height: 44px;
	}

	nav {
		text-align: center;
	}

	#content {
		width: 94%;
		padding: 3%;	
	}

	#sidebar {
		width: 94%;
		padding: 3%;
		border-top: 3px solid #cccccc;
	}

	/*
	ADDED BY NIALL
	*/
	#menu-button{
		display: block;
	}
	nav#menu{
		display: none;
	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}

#image{
	width:40%;
	height:40%;
}

.validation{
	display: none;
	color: red;
}

input[type=button]{
    border:2px solid gray;
    background-color: #cccccc;
    border-radius: 4px;
    padding:10px;
    color:#333333;
    font-weight: bold;
}

#btnPrev{
	visibility: hidden;
}

#captionDiv{
    color:#333333;
    font-weight: bold;
}

pre{
	overflow: auto;
}