/* 
Title:		Styles for Ummeljimal.org V4 Pages with Video Galleries
Author: 	Copyright 2015 Umm el-Jimal Project and Open Hand Studios. All rights reserved.
*/

/* Import site-wide CSS reset styles for HTML5 */

@import url("reset.css");

/* Page-wide default styles */

body {
	font-family: "Gill Sans", Geneva, Verdana, Helvetica, Arial, sans-serif;
	background: #343536 url("../img/bg_body.png") repeat top left;
}

a:link {
	text-decoration: underline;
	outline: none;
}

img {
	max-width: 100%;
}

dfn, abbr {
	cursor: help;
	border-bottom: 1px dotted #615b57;
	font-style: normal;
}

dfn:hover, abbr:hover {
	cursor: help;
	border-bottom: 2px dotted #343536;
	color: #343536;
}

/* Page structure */

#wrap {
	max-width: 1000px;
	min-width: 520px;
	margin: 0 auto;
	background: #1b2126 url("../img/bg_wrap.png") repeat top left;
}

.bg-map {
	background: url("../img/bg_map.png") no-repeat top left;
}

#page {
	position: relative;
	max-width: 1000px;
	margin: 0 20px 0 11.25em;
}

div.space  {
	height: 20px;
	max-width: 800px;
	min-width: 320px;
}

div.title {
	position: relative;
	max-width: 700px;
	min-width: 220px;
	padding: .375em 50px 0 50px;
	text-align: center;
	background: #506473 url("../img/bg_blue.png") repeat top left;
}

div.media {
	position: relative;
	max-width: 800px;
	min-width: 320px;
	font-weight: 100;
	color: #fff;
	z-index: 2;
}

#main {
	position: relative;
	max-width: 760px;
	min-width: 280px;
	padding: 20px;
	top: 20px;
	background: #bfbaaa url("../img/bg_text.png") repeat top left;
	z-index: 1;
}

div.prmy {
	float: left;
	width: 57.5%;
	padding-right: 2.375%;
	border-right: 2px dotted #bdb9b2;
}

div.scdy {
	float: right;
	width: 37.125%;
}

#footer {
	max-width: 1000px;
	min-width: 520px;
	margin: -38px auto 0 auto;
	padding: 20px 0 20px 0;
	background: #12161a url("../img/bg_dark.png") repeat top left;
	line-height: 0px;
}

/* Masthead */

div.mast {
	position: absolute;
	min-width: 140px;
	margin: 0 20px 0 -10em;
	line-height: 0px;
	text-align: center;
	background: #506473 url("../img/bg_blue.png") repeat top left;
}

div.mast a {
	text-decoration: none;
}

img.logot {
	width: 140px;
	height: 80px;
	border: 0px;
	padding: 0px;
	position: relative;
	font-size: 1em;
	font-style: normal;
	letter-spacing: 1px;
	line-height: 1em;
	text-decoration: underline;
	color: #fff;
	z-index: 0;
}

img.icon {
	display: block;
	position: relative;
	z-index: 1;
	margin: 0 auto 0 auto;
}

.mast a:hover img, .mast a:focus img, .mast a:active img, .mast a:visited img {
	color: #bfbaaa;
}

ul.mast li {
	display: block;
}

li.mst-fst {
	margin-top: 10px;
}

li.mst-lst {
	margin-bottom: 10px;
} 

.mast a:hover li, .mast a:focus li {
	background-image: url("../img/mast_over.png");
	background-repeat: repeat-y;
	background-position: 50% 0;
}

div.current {
	background-image: url("../img/mast_over.png");
	background-repeat: repeat-y;
	background-position: 50% 0;
}

img.point {
	background: none;
	margin-bottom: -10px;
}

/* Main navigation */

#header {
	max-width: 1000px;
	min-width: 520px;
	margin: 0 auto;
	background: #12161a url("../img/bg_dark.png") repeat top left;
}

#nav {
     margin: 0 auto 0 auto;
     height: 120px;
     max-width: 960px;
     min-width: 480px;
     text-align: center;
}
    
#nav-icn1 li, #nav-icn2 li {
     display: inline;
     float: left;
	 width: 8.333333333333%;
	 margin: 20px 1.388888888889% 0px 1.388888888889%;
}
    
#nav #nav-icn1 a, #nav #nav-icn2 a {
     border: none;
     text-decoration: none;
}
         
#nav #nav-icn1 a img, #nav #nav-icn2 a img, #nav #nav-icn1 img, #nav #nav-icn2 img {
     border: none;
     padding: 0px;
     opacity: .5;
     min-width: 80px !important;
     height: 80px;
     text-decoration: underline;
     color: #fff;
     -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 #nav-icn1 a:hover img, 
#nav #nav-icn2 a:hover img,
#nav #nav-icn1 a:focus img,
#nav #nav-icn2 a:focus img,
#nav #nav-icn1 li.current img,
#nav #nav-icn2 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 */
}

#nav-ln {
	margin: 0 20px 0 20px;
	line-height: 0px;
}

img.nav-ln {
	height: 1px;
}

/* Section title */

img.howto {
	position: absolute;
	right: 0px;
	top: 18px;
	margin: 0 18px 0 15px;
	font-size: .875em;
	font-style: normal;
	text-decoration: underline;
	letter-spacing: 1px;
	color: #fff;
}

img.howto:hover {
	-webkit-box-shadow: 0 0 15px rgba(238,235,226,.6);
	-moz-box-shadow: 0 0 15px rgba(238,235,226,.6);
	box-shadow: 0 0 15px rgba(238,235,226,.6);
}

div.title a:hover img.howto, div.title a:focus img.howto, div.title a:active img, div.title a:visited img.howto {
	color: #bfbaaa;
}

img.ttl-lnt {
	vertical-align: top;
	height: 3px;
	margin: -.375em 0 0 0;
}

img.ttl-lnb {
	vertical-align: bottom;
	height: 3px;
	margin: 0px;
}

/* Media section resizing for fixed-width multimedia objects*/

#mdactnr {
	width:100%;
}

.mdawrap {
	position:relative;
	height: 0;
}

* html .mdawrap {
	margin-bottom: 45px;
	margin-bottom: 0;
}

.mdawrap div,
.mdawrap iframe,
.mdawrap embed, 
.mdawrap object {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	font-weight: 100;
	color: #fff;
}

.fmt_2dot4x1 {padding-bottom: 41.6666666666667%;}
.fmt_16x9 {padding-bottom: 56.25%;}
.fmt_3x2 {padding-bottom: }
.fmt_4x3 {padding-bottom: 75%;}
.fmt_1x1 {padding-bottom: 100%;}

.chrome_25 {padding-top: 25px;}
.chrome_35 {padding-top: 35px;}

/* Main section */

div.break {
	margin: 0px auto 20px auto;
	text-align: center;
}

div.hlt {
	padding: 20px 20px 5px 20px;
	background: #615b57 url("../img/bg_hlt.png") repeat top left;
}

div.hlt-img {
	margin: 0px auto 20px auto;
	font-size: .875em;
	font-style: normal;
	text-decoration: underline;
	letter-spacing: 1px;
	text-align: center;
	color: #fff;
}

img.hlt {
	border: 1px solid #343536;
}

/* Footer */

div.links {
	max-width: 140px;
	height: 0px;
	padding: 20px 0 20px 0;
	margin: 0 20px 0 20px;
	text-align: center;
}

img.lnk-ln {
	vertical-align: top;
	height: 1px;
	margin: 0px 0 0 0;
	line-height: 0px;
}

div.notes {
	max-width: 800px;
	min-width: 320px;
	margin: 38px 20px 0 180px;
	text-align: center;
}

img.nts-lnt {
	vertical-align: top;
	height: 1px;
	margin: 0 0 0 0;
}

img.nts-lnb {
	vertical-align: top;
	height: 1px;
	margin: 0 0 20px 0;
}

span.ftr-l {
	float: left;
}

span.ftr-r {
	float: right;
}

/* Universal text styles */

h1.title {
	font-family: "Warnock Pro","Hoefler Text",serif;
	font-size: 1.75em;
	font-style: normal;
	font-weight: normal;
	text-align: center;
	letter-spacing: 7px;
	color: #fff;
	line-height: 1em;
}

h2.mast {
	padding: .5em 0px .25em 0px;
	font-family: "Warnock Pro","Hoefler Text",Baskerville,serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 100;
	letter-spacing: 2px;
	color: #fff;
	line-height: 18px;
}

h3.mast {
	padding: .625em 0px .625em 0px;
	font-size: 14px;
	font-style: normal;
	font-weight: 100;
	letter-spacing: 1px;
	color: #fff;
	line-height: 14px;
}

h2.main {
	padding-bottom: .375em;
	font-size: 1.75em;
	font-style: normal;
	font-weight: 100;
	text-align: left;
	vertical-align: top;
	letter-spacing: 0px;
	color: #ae4633;
	line-height: 1.75em;
}

h3.main {
	padding-bottom: .375em;
	font-size: 1.125em;
	font-style: normal;
	font-weight: normal;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0px;
	color: #ae4633;
	line-height: 1.125em;
}

h4.main, h4.hlt {
	padding-bottom: .375em;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	letter-spacing: 0px;
	color: #ae4633;
	line-height: 1.125em;
}

h4.hlt {
	color: #fff;
}

h5.main {
	padding-bottom: .3755em;
	font-size: .875em;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	color: #343536;
	line-height: 1.125em;
}

p.prmy, p.prmy a {
	padding-bottom: 1em;
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	text-align: left;
	color: #615b57;
	line-height: 1.25em;
	text-decoration: none;
}

p.scdy, p.scdy a, p.hlt, p.hlt a {
	padding-bottom: 1em;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	text-align: left;
	color: #615b57;
	line-height: 1.25em;
	text-decoration: none;
}

p.hlt, p.hlt a {
	font-size: 14px;
	color: #fff;
}

p.hlt a {
	text-decoration: underline;
}

p.hlt a:hover, p.hlt a:active, p.hlt a:visited {
	color: #eeebe2;
}

p.prmy a, p.scdy a {
	text-decoration: underline;
}

p.prmy a:hover, p.prmy a:active, p.prmy a:visited, p.scdy a:hover, p.scdy a:active, p.scdy a:visited {
	color: #ae4633;
}

p.ftr {
	font-size: .75em;
	font-style: normal;
	font-weight: 100;
	letter-spacing: 1px;
	color: #fff;
	line-height: 28px;
}

p.ftr a {
	color: #fff;
}

p.ftr a:hover, p.ftr a:active, p.ftr a:visited {
	color: #bfbbaa;
}

/* Style changes for smaller screens and mobile devices */

@media (max-width: 760px) {
    
    #nav {
    	height: 220px;
    	padding-left: 0px;
	}
    
	#nav-icn1 li, #nav-icn2 {
	    display: inline-block;
	    width: 20%;
	    margin: 20px 0 0 0;
	}
	
}

@media (max-width: 760px) {

	div.prmy {
		position: relative;
		clear: both;
		width: 100%;
		padding-right: 0px;
		padding-bottom: 4px;
		margin-bottom: 20px;
		border-right: none;
		border-bottom: 2px dotted #bdb9b2;
	}	

	div.scdy {
		position: relative;
		clear: both;
		width: 100%;
		padding-left: 0px;
	}	

}

/* Self-clear all floats */

.group:after {
	content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
    vertical-align: bottom;
}

/* Import site-wide Internet Explorer 5-6 hacks */

@import url("ie.css");