/* =Reset
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, select {
	border: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

/* Tags */

body {
	color: #333333;
	font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	line-height: 1.625;
	background: url('../images/square_bg.png') rgb(230, 230, 230);
}
p {
	margin-bottom: .5em;
}

/* Common IDs */

#wrapper {
	margin: 20px auto;
	max-width: 1000px;
	background: #fff;
}
#navigation {
	background: #fff;
	border-bottom: 1px solid #575757;
}
#navigation div {
	margin: 0;
}
#content {
	padding: 0 20px;
	margin-bottom: 20px;
}
#header, #footer {
	display: block;
	background-color: #e8f1f8;
}
#footer {
	padding: 11px 10px;
}
#header {
	padding: 33px 0;
}
#site-name {
	padding: 15px 20px 8px;
	float: left;
}

/* clearfix hack */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
/* start commented backslash hack \*/
* html .clearfix {
	height:1%;
}
.clearfix {
	display: block;
}
.clear {
	clear: both;
}
/* close commented backslash hack */

/* Menu IDs and Classes */

#main-menu > ul.menu {
	float: right;
	margin: 0;
	border: none;
	list-style: none;
	text-align: left;
}
#main-menu > ul.menu li {
	float: left;
	position: relative;
	list-style: none outside none;
}
#main-menu > ul.menu a {
	display: block;
	font-size: 25px;
	padding: 55px 20px;
	text-decoration: none;
	color: #1b75bb;
}
#main-menu > ul.menu a:hover {
	color: #f7931d;
}
#main-menu > ul.menu li.last {
	margin-right: 20px;
}
.logo {
	height: 120px;
}

#mobile-header { 
	display: none;
}

/* Heading Tags */

h1, h2 {
	font-weight: bold;
	margin: 10px 0;
	color: #19345f;
}

h1 {
	font-size: 22px;
}

h2 {
	font-size: 16px;
	text-decoration: underline;
}

/* Classes */

img.brick {
	padding-bottom: 20px;
	display: block;
	margin: 0 auto;
	max-width: 100%;
}

.copyright {
	margin: 0;
	color: #999999;
	font-size: 12px;
}

#content ul {
	margin-left: 16px;
}

/* Responsive Structure */

/* Smaller than standard 1060 (devices and browsers) */
@media screen and (max-width: 1060px) {
	#wrapper {
		max-width: 900px;
	}
}

/*  iPad and other tablets */
@media screen and (max-width: 960px) {
	#wrapper {
		max-width: 708px;
	}
	#main-menu > ul.menu a {
		font-size: 22px;
	}
}
	
/*  Small tablet */
@media screen and (max-width: 767px) {
	#wrapper {
		max-width: 480px;
	}
	#mobile-header {
		display: block;
		position: absolute;
		margin: 54px 0 0 420px !important;
	}


	/* Reduce font-sizes for better readability on smaller devices */
	body {
		font-size: 13px;
	}

	/* Menu */
	#main-menu > ul.menu {
		display: none;
	}
	#main-menu > ul.menu li {
		border: none;
			float: none;
			text-align: center;
	}
	#bottom .copyright, #bottom .credit {
		display: block;
		margin-left: 0;
		float: none;
		text-align: center;
		width: 97%;
	}
}

/*  iPhone */
@media screen and (max-width: 479px) {
	#wrapper {
		max-width: 320px;
	}
	#mobile-header {
		margin: 54px 0 0 260px !important;
	}
}

/* Small phone */
@media screen and (max-width: 319px) {
	#wrapper {
		max-width: 100%;
		margin-top: 0;
	}
}

