/******************************************************** 
	CSS Reset & Global
*********************************************************/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p, blockquote,th,td { 
	margin:0;
	padding:0;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}

/* HTML 5 Elements */

header, section, aside, footer, article
{
    display: block;
}

/*********************************************************
	Styling the layout
 *********************************************************/

html {
	height: 100%;
}

body {
	height: 100%;
	font-size: 62.5%; /* 1em = 10px */
	font-family: Arial, Helvetica, sans-serif;
}

#outer {
	min-height: 100%;
	position: relative;
	background: #ffcc66;
	font-size: 1em;
}

header.main {
	height: 160px;
	background: #446b9a url('/Content/images/header-bg.jpg') repeat-x;
	border-bottom: 1px #c66528 solid;
}

#wrap {
	padding-bottom: 200px;
	background: #ffcc66 url('/Content/images/wrap-bg.jpg') repeat-x;
	border-top: 1px #ffffff solid;
}

footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 125px;
	background: #de834a url('/Content/images/footer-bg.jpg') repeat-x;
	border-top: 1px #d36111 solid;
}

.container, nav {
	width: 960px;
	margin: 0 auto;
}

section#main {
	float: left;
	width: 630px;
	margin-right: 30px;
	padding: 24px 0;
}

aside {
	float: left;
	width: 300px;
	padding: 32px 0;
}

.clear {
	clear:both;
}

/*********************************************************
	Styling the content
 *********************************************************/

/* Images & boxes */

img.photo {
	padding: 5px;
	background-color: #ffffff;
	border: 1px #d36111 solid;
}

img.right {
	float: right;
	margin-left: 15px;
}

a.post-photo {
	float: left;
	border: 1px #d36111 solid;
	background-color: #ffc757;
	padding: 5px;
	margin-right: 32px;
}

img.border {
	border: 1px #d36111 solid;
	background-color: #ffc757;
	padding: 5px;
}

a.post-photo:hover {
	background-color: #de834a;
}

a.post-photo img {
	display: block;
	border: 1px #d36111 solid;
}

.box {
	padding: 18px;
	border: 1px #d36111 solid;
	margin-bottom: 32px;
	background: #ffffff url('/Content/images/box-bg.jpg') repeat-x;
}

/* Headers */

header.main h1 {
	float:left;
	background: transparent url('/Content/images/logo.png') no-repeat;
	text-indent: -9999px;
	width: 259px;
	height: 56px;
	margin-top: 32px;
}

h1 {
	font: 3em Arial, Helvetica, sans-serif;;
	color: #414141;
	margin-bottom: 10px;
}

h2 {
	font: 2.5em Arial, Helvetica, sans-serif;;
	color: #414141;
	margin-bottom: 10px;
}

section#main h1 a {
	color: #993300;
	text-decoration: none;
}

section#main h1 a:hover {
	color: #d36111;
}

aside h1 a {
	color: #d36111;
	text-decoration: none;
}

aside h1 a:hover {
	color: #2469d1;
}

/* For blog */

.blog {
	margin-top: 31px;
}

footer p {
    margin: 0;
}

.post {
	float: left;
	width: 384px;
}

.post p {
	font-style: italic;
	color: #414141;
	margin-bottom: 15px;
	float: left;
}

.post a {
	font-weight: bold;
	color: #993300;
	text-decoration: none;
}

.post a:hover {
	color: #d36111;
}

.content p {
    font-size: 1.4em;
	line-height: 1.6em;
	margin-bottom: 25px;
}

article.blog p, .post a {
    font-size: 1.4em;
	line-height: 1.6em;
}

article.blog p {
    padding-bottom: 20px;
}

/* Sidebar */

aside p {
	font-size: 1.4em;
	line-height: 1.5em;
	font-style: italic;
	color: #414141;
}

ul.links {
	font-size: 1.4em;
	line-height: 1.8em;
	list-style: inside url('/Content/images/bullet.png');
}

ul.links a {
	font-weight: bold;
	color: #993300;
	text-decoration: none;
}

ul.links a:hover {
	color: #d36111;
}

/* Footer */

footer {
	color: white;
	font-size: 1em;
}

footer .container {
	padding-top: 30px;
}

footer .copyright {
	float: right;
}

footer h2 {
	font-size: 1.8em;
	font-weight: bold;
	color: #FFFFFF;
}

footer p {
	font-size: 1.4em;
	line-height: 2em;
}

footer a {
	font-size: 1.4em;
	font-weight: bold;
	color: #414141;
	text-decoration: none;
}

footer a:hover {
	color: #ffcc66;
}

/*********************************************************
	Social links
 *********************************************************/

#social a {
	display: block;
	color: #414141;
	font-size: 2.2em;
	padding: 5px 0 5px 40px;
	font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
	text-decoration: none;
	margin-bottom: 15px;
}

#social a:hover {
	color: #d36111;
}

#social a.twitter {
	background: url('/Content/images/twitter.png') no-repeat;
}

#social a.facebook {
	background: url('/Content/images/facebook.png') no-repeat;
}

/*********************************************************
	Menu
 *********************************************************/

#menu {
	width: 850px;
	float: left;
	height: 36px;
	margin-top: 15px;
}

#menu li {
	display: inline;
	text-indent: -9999px;
}

#menu li a {
	display: block;
	float: left;
	background: transparent url('/Content/images/menu.png');
	width: 150px;
	height: 35px;
	margin-right: 8px;
}

#menu a.active { height: 37px; }

#menu li.home a { background-position: 0 0; }
#menu li.home a:hover { background-position: 0 -36px; }
#menu li.home a.active { background-position: 0 -73px; }

#menu li.about a { background-position: -151px 0; }
#menu li.about a:hover { background-position: -151px -36px; }
#menu li.about a.active { background-position: -151px -73px; }

#menu li.blog a { background-position: -302px 0; }
#menu li.blog a:hover { background-position: -302px -36px; }
#menu li.blog a.active { background-position: -302px -73px; }

#menu li.contact a { background-position: -604px 0; }
#menu li.contact a:hover { background-position: -604px -36px; }
#menu li.contact a.active { background-position: -604px -73px; }

/*********************************************************
	Contact form
 *********************************************************/

.editor-label { clear: both; } 

legend {
    font-size:1.8em;
    font-weight: 700;
    color: #FFFFFF;
    background-color: #d36111;
    padding: 10px;
    border:1px solid #414141;
}

fieldset {
    margin-top: 25px;
    padding: 35px;
    border: 1px #d36111 solid;
	background: #ffffff url('/Content/images/box-bg.jpg') repeat-x;
}

label {
    font-size: 1.6em;
    width: 100px;
    float: left;
    padding-top: 10px;
    color: #414141;
}

textarea {
    width:400px!important;
    height:200px!important;
}

input, textarea {
    margin-top: 5px;
    background: #ffcc66;
    color: #414141;
    border: 1px solid #414141;
    font-size: 1.4em;
    margin-bottom:10px;
    padding:4px;
    width: 180px;
}

input:hover, textarea:hover {
    border:1px solid #2e2e2e;
    background-color: #fbc04a;
}

input:focus, textarea:focus {
    margin-top: 5px;
    background: #d46110;
    color: #FFFFFF;
    border: 1px solid #181818;
    font-size: 1.4em;
    margin-bottom:10px;
    padding:4px;
}

input[type="submit"] {
    padding: 8px 15px;
    margin-left: 100px;
}

span.field-validation-error {
    display: block;
    color: #cc0000;
    font-size: 1.5em;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 100px;
}