* {
	box-sizing: border-box;
}
body {
	background-image: url("../images/background1.jpg");
	background-size: 400px;
	background-repeat: repeat;
	font-family: 'Raleway', sans-serif;
	margin: 0px;
}

#wrapper {
	width: 80%;
	margin: 0 auto;
	background-color: white;
}

header {
	height: 100px;
}


/*Just for the nav */
	nav ul li:hover ul, nav ul li ul li {
		display: block;
	}

	nav ul li a{
		display: block;
		padding: 8px 60px;
		background-color: #FFF;

	}
	nav ul {
		list-style-type: none;
		background-color: #fff;
		padding: 0;
		text-align: center;
	}

	nav ul li {
		display: inline-block;
		position: relative;
		margin: auto;
	}

	nav ul li ul {
		min-width: 100%;
		display: none;
		position: absolute;
		z-index: 1100;

	}

	nav ul li ul li a {
		text-align: center;
		padding: 8px;
		
	}

	nav a{
		text-decoration: none;
		font-weight: bold;
		color: #000;
	}

	nav a:link {
		color: #000;
	}

	nav a:hover {
		color: #E993AE;
	}

	nav ul li a:before {
		content: "";
		position: absolute;
		width: 100%;
		height: 2px;
		bottom: 0;
		left: 0;
		background-color: #000;
		visibility: hidden;
		-webkit-transform: scaleX(0);
		transform: scaleX(0);
		-webkit-transition: all 0.3s ease-in-out 0s;
		transition: all 0.3s ease-in-out;
	}

	nav ul li a:hover:before {
		visibility: visible;
		transform: scaleX(1);
	}

/*End Nav */

/* Body */

	img {
		width: 100%;
		border: 3px black solid;
	}

	h1 {
		font-family: 'Sacramento', cursive;
		font-size: 350%;
		text-align: center;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	h2 {
		font-family: 'Sacramento', cursive;
		font-size: 35px;
		padding: 10px;
		text-align: center;
	}
	ul {
		list-style-type: circle;
	}
	a:link {
		color: #000;
		text-decoration: none;
		
	}
	
	a:visited {
		color: #000;
		text-decoration: none;
		
	}
	
	a:hover {
		font-weight: bold;
		color: #E993AE;
	}
	
	.content {
		width: 85%;
		margin: auto;
		padding: 10px;
	}
	
	.sideleft {
		width: 70%;
		float: left;
		position: relative;
		text-align: justify;
		padding-right: 60px;
		border-right: 1px black solid;
	}
	
	.sideright {
		width: 30%;
		padding-left: 10px;
		float: right;
		position: relative;
		
	}
	
	.clear{
		clear: both;
	}
	

/* End Body */

/*--- Slider (about page) ---*/

	.banner {
		width: 100%;
		position: relative;
	}
	
	#slider {
		width: 100%;
		height: 700px;
		position: relative;
		overflow: hidden;
		z-index: 998
	}
	
	#next {
		text-align: center;
		line-height: 50px;
		color: #ffffff;
		width: 50px;
		height: 50px;
		background-color: #C0C0C0;
		position: absolute;
		top: 205px;
		right: 0;
		z-index: 999;
		cursor: pointer;
		opacity: .4;
	}
	
	#pre {
		text-align: center;
		line-height: 50px;
		color: #ffffff;
		width: 50px;
		height: 50px;
		background-color: #C0C0C0;
		position: absolute;
		top: 205px;
		left: 0;
		z-index: 999;
		cursor: pointer;
		opacity: .4;
	}
	
	.banner:hover #next {
		opacity: 1;
		transition: all .5s ease-out;
		-webkit-transition: all .5s ease-out;
		-ms-transition: all .5s ease-out;

	}
	
	.banner:hover #pre {
		opacity: 1;
		transition: all .5s ease-out;
		-webkit-transition: all .5s ease-out;
		-ms-transition: all .5s ease-out;
		
	}

/* --- Image Slider --*/
	nav ul ul {
		position: absolute;
		padding: 0;
		opacity: 1;
		z-index: 999;
	}
	
	#curtain {
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		position: fixed;
		background-color: rgba(0,0,0,0.4);
	}
	
	#light {
		max-width: 80%;
		max-height: 80%;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		position: absolute;
		margin: auto;
	}
	
	#close{
		height: 50px;
		width: 50px;
		top: 0;
		right: 0;
		position: absolute;
		z-index: 990;
	}
	

	
/*-- End Slider --*/


/* Lightbox */

#light {
	width: 50%;
	z-index: 1000;
}

/*End Lightbox */

/* Form */

	label {
		font-weight: bold;
	}
	
	form {
		width: 85%;
		position: relative;
		overflow: scroll;
	}


/* End Form */
footer {
	width: 85%;
	font-size: 10px;
	text-align: left;
	padding: 10px;
	margin: auto;
 }
 
 /* Media Queries */
 
 @media only screen and (max-width: 1024px) {
	body {
		margin: 0;
	}
	
	nav, section, main, .sideleft, .sideright {
		width: 100%;
		float: none;
	}
	
	#wrapper {
		width: auto;
		min-width: 0;
		margin: 0;
		padding: 0;
	}
	
	h1 {
		font-size: 300%;
		text-align: center;
	}
	nav {
		width: auto;
		float: none;
	}
	
	nav li {
		display: inline-block;
		padding: 0.5em;
		width: 100%;
		
	}
	
	nav ul {
		text-align: center;
		position: relative;
	}
	
	nav ul li {
		position: relative;
	}
	
	nav ul li ul {
		position: absolute;
		z-index: 1;
	}
	
	nav a {
		border-style: none;
	}
	
	h2, h3 {
		text-align: center;
	}
	
	p {
		font-size: 90%;
	}
	
	.sideleft {
		width: 100%;
		border-right: none;
		margin-left: 0px;
	}
	
	.sideright {
		display:none;
	}
	
	footer {
		height: 150px;
	}
}
