/*
Title:		Styles for Ummeljimal.org V5 Main Pages
Author:		PRC
Copyright:	Copyright 2015 Umm el-Jimal Project and Open Hand Studios. All rights reserved.
Version:	1.0 
*/

/* CSS Reset for HTML5 in part devloped from http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */

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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* Page Structure */

body {
	background: #506473 url(../img/bg_fade_stripe.jpg) repeat-x left top;
	font-family: 'Gill Sans', Lato, sans-serif;
	font-weight: 100;
}

.wrap {
	margin: 0 auto 0 auto;
	min-width: 320px;
}

header {
	padding: 40px 4.296875% 40px 4.296875%;
	text-align: center;

}

main {
	margin: 0px 6.25%;
	padding-bottom: 40px;
	background-color: #FFFEFA;
	text-align: center;
}

section {
	padding: 0 40px 0 200px;
	max-width: 640px;
	text-align: left;
}

aside {
	
}

footer {
	position: relative;
	padding: 40px 6.25% 80px 6.25%;
	text-align: center;
}


/* Float Fixes */

.clearfix:before, .clearfix:after {
	content: "";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	clear: both;
	*zoom: 1;
}

/* Navigation: Main Menu */

.nav-m1 li, .nav-m2 li {
	display: inline;
	float: left;
	width: 6.837606837607%;
	margin: 0 2.136752136752% 0 2.136752136752%;
}

.nav-m1 a, .nav-m2 a {
	border: none;
	text-decoration: none;
}

.nav-m1 img, .nav-m2 img, .nav-m1 img a, .nav-m2 img a {
	border: 0;
	min-width: 80px !important;
	height: 80px !important;
	text-decoration: underline;
	color: #fff;
	opacity: .5;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 hack */
	filter: alpha(opacity = 50); /* IE 5-7 hack */
	-webkit-transition: opacity .5s ease-in-out;
	-moz-transition: opacity .5s ease-in-out;
	-o-transition: opacity .5s ease-in-out;
	transition: opacity .5s ease-in-out;
}

.nav-m1 a:hover img,
.nav-m2 a:hover img,
.nav-m1 a:focus img,
.nav-m2 a:focus img,
.nav-m1 li.current img,
.nav-m2 li.current img {
	opacity: 1.0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; /* IE 8 hack */
	filter: alpha(opacity = 100); /* IE 5-7 hack */
}


/* Text Styles */

b, strong {
	font-weight: bold;
}

i, em {
	font-style: italic;
}

h1 {
	font-family: 'Rock Salt', 'Gill Sans', Lato, sans-serif;
	font-size: 28px;
	padding: 44px 40px 30px 40px;
	color: rgba(52,53,54,.5);
}

h2 {
	font-size: 32px;
	padding: 40px 0 16px 0;
	color: #ae4633;
}

h3 {
	font-size: 20px;
	font-weight: 400;
	padding: 24px 0 16px 0;
	color: #ae4633;
}

p {
	font-family: 'Sorts Mill Goudy', serif;
	font-size: 16px;
	line-height: 1.5em;
	padding-bottom: 16px;
	color: #595450;
}

p.qtc {
	font-family: Quattrocento, serif;
}

p.cardo {
	font-family: Cardo, serif;
}

.copyright, .copyright a, .ftrlnk, .ftrlnk a  {
	font-family: 'Gill Sans', Lato, sans-serif;
	font-weight: 100;
	font-size: 14px;
	line-height: 22px;
	padding-bottom: 0;
	color: #ffffff;
}

.copyright a:hover, .ftrlnk a:hover {
	color: #eeebe2;
}

.ftrlnk {
	padding-top: 1.25em;
}


/* Image Styles */

img {
	max-width: 100%;
}

img.pg {
	min-width: 280px;
	color: #343536;
}

img.ln-ttl {
	height: 2px;
	opacity: .5;
}

img.ohs {
	position: absolute;
	right: 30px;
	bottom: 30px;
	width: 20px;
	height: 20px;
}
