
body { 
	font-size: 1.05em;
	line-height: 1.25em;
	font-family: Helvetica Neue, Helvetica, Arial;
	background: #1c1d26;
	color: #555;
}

a {

	color: #2D6769;
	text-decoration: none;
	font-weight: bold;

}

a:hover {

	color: #A3D6D7;

}

img {

	width: 100%;

}

header {

	background: #1c1d26;
	width: 100%;
	height: 120px;
	top: 0;
	left: 0;
	border-bottom: 4px solid #2D6769;
	z-index: 100;

}

#logo{

	margin: 20px;
	float: left;
	width: 309px;
	height: 85px;
	background: url(../img/uptayurtlogo2.png) no-repeat center;
	display: block;

}

nav {

	float: right;
	padding: 20px;	
	
}

#menu-icon {

	display: hidden;
	width: 40px;
	height: 40px;
	background: #1c1d26 url(../img/menu-icon.png) center;

}

a:hover#menu-icon {

	background-color: #444;
	border-radius: 4px 4px 0 0;

}

ul {

	list-style: none;

}

li {

	display: inline-block;
	float: left;
	padding: 10px

}

.current {

	color: #A3D6D7;

}

#sidebar {
	float: left; 					/* This causes the sidebar to move to the left */
	width: 160px; 					/* We need to set the width whenever we float an element */
	padding-right: 15px;
}

section {

	margin: 10px auto 40px;
	max-width: 980px;
	position: relative;
	padding: 20px

}

h1 {

	font-size: 2em;
	color: #A49289;
	line-height: 1.15em;
	margin: 20px 0 ;

}

p {

	line-height: 1.45em;
	margin-bottom: 20px;

}

footer {
    padding: 20px 30px;
    background-color: #1c1d26;
    text-align: center;
	color: #8B8B8B;
}

	@media only screen and (max-width : 980px) {

	header {

		position: absolute;
		height: 75px;

	}
		
		#logo{

	float: left;
	margin: 5px;
	width: 200px;
	background: url(../img/uptayurtlogo2.png) no-repeat center;
	background-size: 200px 47px;

}

	#menu-icon {

		display:inline-block;

	}

	nav ul, nav:active ul { 

		display: none;
		position: absolute;
		padding: 20px;
		background: #fff;
		border: 5px solid #444;
		right: 20px;
		top: 60px;
		width: 50%;
		border-radius: 4px 0 4px 4px;

	}

	nav li {

		text-align: center;
		width: 100%;
		padding: 10px 0;
		margin: 0;

	}

	nav:hover ul {

		display: block;

	}
	
		section {
		margin: 50px auto 40px;
		}
}