/* GLOBAL STYLES FOR MACOUNO.COM */

body,html{
	margin:0px;
	padding: 0px;
	text-align: center;
	font-family: "Open Sans", sans-serif;
	letter-spacing: 1px;
	font-size: 0.9em;
}

body{
	padding-bottom: 50px;
}

body, body *{
	max-height: 100000px;
}

.claro{
	clear: both;
}

/* HEADER */

#header a{
	display: block;
	height: 50px;
}

@media(min-resolution:192dpi){
	#header a{
		background-color: #FFF;
	}
}

/* MENU */

#menu, #menu ul, #menu li, #menu span, #menu a{
	display: block;
	list-style: none;
	text-align: center;
	margin: 0px auto;
	padding: 0px;
}
	
#menu{
	background: url(../img/macouno-header.jpg) center 6px no-repeat;
	background-size: 4096px 19px;
}

#menu a, #menu span{
	border-bottom: #aaa dotted 1px;
	padding: 3x 0px;
	vertical-align: middle;
	height: 30px;
	line-height: 30px;
	cursor: pointer;
	color: #000;
	}
	

#menu #menu-title{
	border-width: 0px;
	}
	
/* The topmost ul in the menu gets a top border (above the home link) */
#menu>li>ul{
	border-top: #aaa dotted 1px;
	}

#menu span{
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 3px;
}

#menu a{
	text-decoration: none;
	letter-spacing: 1px;
}

#menu a:hover{
	letter-spacing: 2px;
}

#menu span:hover{
	letter-spacing: 4px;
}
	
#menu .active{
		/* active menu item doesn't change yet */
}

#menu .active:before{
	content: "\2933\0020";
}
	
/* Hide sub lists by default */	
#menu ul{
	display: none;
}

/* CONTENT */

#container{
	text-align: left;
	padding: 10px;
	margin: 0px auto;
	max-width: 960px;
}


#content{
	padding: 20px 0px;
	clear: both;
}

	p{
		display: block;
		clear: both;
		margin: 0px;
		padding: 0px 0px 20px 0px;
		text-align: justify;
	}
	
	#banner{
		display: block;
		margin: 20px 0px !important;
		padding: 0px;
		text-align: center;
		width: 100%;
	}
	
		#banner iframe{
			margin: 0px auto;
			padding: 0px;
			width: 100%;
			height: 380px;
		}
	
	h1, h2, h3, h4{
		display: block;
		margin: 0px;
		padding: 32px 0px 24px 0px;
		text-transform: capitalize;
	}
	
	h1,h2{
		float: left;
		padding: 0px;
		margin-right: 16px;
		height: 32px;
		line-height: 32px;
	}
	
	h4{
		padding: 0px 0px 24px 0px;
		margin: 0px;
		height: 32px;
		line-height: 32px;
		vertical-align: bottom;
		font-weight: normal;
	}
	
	em{
		font-style: italic;
		color: #888;
	}
	
	p a, .clean{
		color: #55A;
		text-decoration: none;
		font-weight: 500;
		letter-spacing: 0px;
	}
	
	p strong a{
		font-weight: bold;
	}
	
	#content li{
		padding-bottom: 12px;
	}
	
	#content li em{
		margin-left: 42px;
	}
	
	.rule{
		height: 1px;
		margin: 12px 0px;
		padding: 0px;
		border-bottom: #AAA dotted 1px;
	}
	
/* NEWS */

	#news h1{
		padding-left: 12px;
	}
	
	#news{
		
	}
	
	.item{
		clear: both;
		margin: 0px 0px 42px 0px;
		padding: 12px;
	}
	
	.odd{
		background-color: #FAFAFA;
		border-bottom: #ccc dotted 1px;
	}
	
	#news h2{
		clear: both;
	}
	
	#news h2, #news h4{
		margin-top: 0px;
		margin-bottom: 0px;
	}
	
	#news h4{
		float: right;
	}
	
	#news p{
			margin: 0px 0px 12px 0px;
			padding: 0px;
			clear: none;
	}
	
	#news .item p:first-of-type{
		clear: both;
	}
	
	.alignleft{
		float: left;
		margin: 0px 20px 20px 0px;
	}
	
	.alignright{
		float: right;
		margin: 0px 0px 20px 20px;
	}
	
	#contact td{
		vertical-align: top;
		padding-bottom: 12px;
	}

/* GALLERY */
	.gallery{
		margin: 0px -2px 42px -13px;
		text-align: center;
		clear: both;
	}
	
	#skulls .gallery{
		margin: 0px 0px 42px 0px;
	}
	
		.gallery a{
			margin: 0px 0px 16px 11px;
			position: relative;
			color :#000;
			height: 320px;
			width: 80px;
			vertical-align: center;
			display: inline-block;
		}
		
		#skulls .gallery a{
			margin: 0px -2px -4px -2px;
			padding: 0px;
			width: 160px;
			height: 160px;
			border: none;
		}
		
		.gallery a, #banner, p img{
			overflow: hidden;
			border: #FFF solid 1px;
			-moz-border-radius: 6px;
			-khtml-border-radius: 6px;
			-webkit-border-radius: 6px;
			border-radius: 6px;
		}
		
		#skulls .gallery a, #skulls p img{
			border-width: 0px;
		}
		
		.gallery a img{
			display: block;
		}
		
		.gallery .desc{
			position: absolute;
			top: 0px;
			left: 0px;
			width: 24px;
			height: 310px;
			padding: 10px 3px 0px 1px;
			text-align: center;
			text-transform: uppercase;
			font-size: 11px;
			font-weight: bold;
			
			background-color: #FFF;
			border-right: dotted 1px #000;

			filter:alpha(opacity=60);
			-moz-opacity:0.8;
			-khtml-opacity: 0.8;
			opacity: 0.8;
		}
		
		#skulls .gallery .desc{
			display: none;
		}
		
		.gallery .desc div{
			margin: 0px auto;
			height: 13px;
			padding: 0px 0px 0px 4px;
			line-height: 13px;
			text-align: center;
			vertical-align: center;
		}
		
		#skulls .desc div{
			padding: 0px;
		}
		
/* GALLERY VIEWER */

#viewer{
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: #DFDFDF;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 2;
	display: none;
	text-align: center;
}

#viewer.skulls{
	background-color: #FFF;
}

		#frame{
			position: relative;
			top: 50%;
			left: 50%;
		}
		
		#frame img{
			position: relative;
			display: block;
		}
		
		#close{
			background: url(../img/close.svg) center center no-repeat;
			background-size: 22px 22px;
			position: fixed;
			right: 0px;
			top: 0px;
			z-index: 100;
			width: 92px;
			height: 92px;
		}
		
		#loading{
			background: url(../img/wave.gif) center center no-repeat;
			display: block;
			width: 22px;
			height: 22px;
			position: relative;
			margin-left: -11px;
			margin-top: -11px;
			z-index: 100;
		}
		
		#nextimage, #previmage{
				background: url(../img/arrow-forward.svg) center center no-repeat;
				background-size: 22px 22px;
				display: block;
				position: fixed;
				right: 0px;
				top: 0px;
				z-index: 50;
				width: 92px;
				height: 100%;
		}
		
		#previmage{
			background-image: url(../img/arrow-back.svg);
			left: 0px;
		}
		
/* Monospace font for code */
/*
@font-face{
    font-family: 'FirabaraMono-Regular.eot');
    src: local('Fira Mono'),
         url('fonts/FiraMono-Regular.eot') format('embedded-opentype'),
         url('fonts/FiraMono-Regular.woff') format('woff'),
         url('fonts/FiraMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face{
    font-family: 'Fira Mono';
    src: url('fonts/FiraMono-Bold.eot');
    src: local('Fira Mono Bold'),
         url('fonts/FiraMono-Bold.eot') format('embedded-opentype'),
         url('fonts/FiraMono-Bold.woff') format('woff'),
         url('fonts/FiraMono-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
*/

pre{
	font-family: "Courier New", Courier, Geneva, Helvetica, sans-serif !important;
	display: block;
	clear: both;
	background-color: #F5F5F5;
	padding: 10px;
	border: #F5F5F5 solid 1px;
	text-align: left;
}

.prev, .next{
	margin-top: 42px;
}

.prev{
	float: left;
}

.next{
	float: right;
}
		

/* FOOTER */

#footer{
	clear: both;
	padding: 50px;
	text-align: center;
	font-size: 0.65em;
	opacity: 0.0;
}

/* MOBILE CORRECTIONS */

@media(min-resolution:192dpi){
	#container{
		max-width: none;
		overflow: hidden;
		padding: 30px;
	}
	
	#container, #menu{
		font-size: 2em;
	}
	
	#menu{
		background-size: 8192px 38px;
	}
	
	#menu a, #menu span{	
		height: 60px;
		line-height: 60px;
	}
	
	h1,h2,h4{
		height: 64px;
		line-height: 64px;
	}
}