* {
	margin: 0;
	padding: 0;
}
header, nav, section, article, aside, footer {
	display: block;
}
body {
	font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
    background: url(../img/bg.jpg);
    color: #501C1C;
}
a {
	color: blue;
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
p {
	margin: 0 0 18px
}
img {
	border: none;
}
input {
	vertical-align: middle;
}
#wrapper {
	min-width: 200px;
	max-width: 1200px;
	margin: 0 auto;
}
.content h1{
 font-size: 2em;
 margin-left: 0;
 padding-left: 0;
}
.content p, .content h1{
  text-indent: 20px;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 132px;
	background: #FFF;
}


/* Middle
-----------------------------------------------------------------------------*/
#content {

}
.content {
 background: white;
margin: 10px auto;
border-radius: 5px;
box-shadow: 0px 0px 3px #FFCE0B;
padding: 2%;
width: 92%;

}



/* Footer
-----------------------------------------------------------------------------*/
#footer {
	height: 100px;
	background: #FFF500;
    border-top: 2px solid red ;
}


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

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


/* =Layout
-----------------------------------------------------------------------------*/


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


/* Nav
-----------------------------------------------------------------------------*/
/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

nav {
 
width: 100%;
background-color: #FFF500;
position: relative;
border-bottom: 2px solid red;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 850px;
	height: 40px;
}
nav li {
	display: inline;
	float: left;
    position: relative;
}
nav a {
 position: relative;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  font-weight: normal;
  background-color: #FFF0DB;
  border-right: 1px solid red;
  border-bottom-color: #a9a9a9;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 1px 1px 0 rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 0px #ffffff;
	color: red;
	display: inline-block;
  padding: 0 8px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
    font-weight: bolder
 /*	text-shadow: 1px 1px 0px #283744;   */
}

nav li a {

	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

nav li:first-child a {
	border-left: 1px solid red;
}
nav a:hover {
/*  box-shadow: 0 2px 4px #882500 inset;  */
  color: #fff;
  background: none;
  filter: none;
  background-color: red;
  text-shadow: 0 1px 0px  #885913;
}

 nav li.active {
/*  box-shadow: 0 2px 4px #882500 inset;  */
  color: #fff;

  background: none;
  filter: none;
  background-color: red;
  text-shadow: 0 1px 0px  #885913;
}
 nav li.active a{
 background: none;
color: white;
text-shadow: none;
}

 nav li.active div{
position: absolute;
            border: 10px solid #FF5F22;
            width: 0;
            height: 0;
            top: 42px;
            border-left-color: transparent;
            border-right-color: transparent;
            border-bottom-color: transparent;
            border-bottom-width: 0;
            left: 50%;
            margin-left: -10px;
}




nav a#pull {
	display: none;
}

/*Styles for screen 600px and lower*/
@media screen and (max-width: 600px) {
	nav {
  		height: auto;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	nav li {
  		width: 50%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 1px solid #576979;
		border-right: 1px solid #576979;
	}
  	nav a {
  	  padding: 0;
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
}

/*Styles for screen 515px and lower*/
@media only screen and (max-width : 480px) {
	nav {
		border-bottom: 0;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url('nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
      	nav a {
  	  padding: 0;
  	}
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #576979;  padding: 0;
	}
}

.gallery li {
  display: inline-block;
margin: 10px 10px 10px 0;

}

.gallery {

   text-align: center;
}

/* =Misc
-----------------------------------------------------------------------------*/


/* =Footer
-----------------------------------------------------------------------------*/
.left-menu li {
list-style-type: none; 
}

.left-menu a{
text-decoration: none;
    width: 100%;
    display: inline-block;
    padding: 10px;
    background-color: #FFF7EC;
    text-shadow: 0 1px 0px #ffffff;
    color: #F72B2B;
    font-weight: bold;
    border-bottom: 1px solid #F72B2B;
}
.left-menu a:hover {
    color: #fff;
    background: none;
    filter: none;
    background-color: red;
    text-shadow: 0 1px 0px #885913;
}
.left-menu ul li:last-child  a {
border: none; 
}
.left-menu ul {
margin: 0;
padding: 0;
}
.left-menu {
margin-left: 8px;
    width: 95%;
    border: 1px solid red;
    overflow: hidden;
    margin-top: 10px;
    background-color: #FFF7EC;
}

#header p {
    padding: 10px 0 0;
    font-size: 15px;
    margin: 0;
}