/*
Theme Name: mortz.tjokk.net
Theme URI: http://mortz.tjokk.net
Description: Versjon 4 av mortz.tjokk.net
Version: 4.0
Author: Morten Daniel Fornes
Author URI: http://mortz.tjokk.net
*/

html, body
{
	height: 100%;
}

body
{
	background: #fda200 url(gfx/pattern.jpg) top left;
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #333;
}


/*** LAYOUT ***/

#layout
{
	background: url(gfx/layout.png) top left repeat-y;
	width: 100%;
	position: relative;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

#gradient
{
	background: url(gfx/gradient.jpg) top left repeat-x;
	width: 100%;
}

#container
{
	width: 1005px;
	padding-bottom: 50px;
}

#sidebar
{
	background: url(gfx/logo.jpg) top right no-repeat;
	width: 280px;
	float: left;
	min-height: 600px;
	padding-top: 312px;
}

#border
{
	background: url(gfx/border.jpg) top left no-repeat;
	float: left;
	height: 600px;
	width: 16px;
}

#content
{
	background: #fff url(gfx/header.jpg) no-repeat;
	float: left;
	min-height: 600px;
	width: 677px;
	padding: 15px;
	padding-top: 235px;
	padding-bottom: 30px;
	overflow: hidden;
	line-height: 1.5;
}


/*** MENY ***/

#sidebar input
{
	width: 100px;
	border-color: #000;
	background-color: transparent;
}

#menu li
{
	list-style-type: none;
	margin: 0;
	font-size: 0;
	text-align: right;
	text-transform: lowercase;
}

#menu li div
{
	padding: 15px 20px;
	font-size: 11px;
}

#menu li a
{
	font-family: Tahoma, Verdana;
	font-weight: bold;
	font-size: 24px;
	color: #000;
	display: block;
	text-decoration: none;
	padding: 5px 20px;
	margin: 0;
}

#menu li a:hover,
#menu li a.on
{
	background: url(gfx/mouseover.png) right repeat-y;
}
#menu li.sub
{
	background: url(gfx/mouseover.png) right repeat-y;
	padding: 5px 20px;
	font-size: 12px;
}

#menu li.sub a
{
	font-size: 12px;
	padding: 0;
}
#menu li.sub a:hover
{
	background: none;
	color: #d23e00;
}
#menu li.sub a:after
{
	content: " »";
	color: #d23e00;
}

#menu li a span
{
	font-size: 12px;
	color: #d23e00;
	font-weight: bold;
}


/*** TYPOGRAFI O.L. ***/

h1
{
	color: #d23e00;
	font-family: Tahoma, Verdana;
	font-size: 36px;
	text-transform: lowercase;
	margin: 5px 0 30px -10px;
	line-height: normal;
}
h2
{
	color: #d23e00;
	font-family: Tahoma, Verdana;
	font-size: 24px;
	text-transform: lowercase;
	margin: 30px 0 15px -5px;
	line-height: normal;
}
#content h2 a
{
	color: #d23e00;
}

p, td
{
	font-size: 11px;
}
img
{
	border: 1px solid #000;
}
#content a
{
	color: #e68a00; 
	font-family: Tahoma, Verdana;
	text-decoration: none;
	font-weight: bold;
}
#content a:hover
{
	border-bottom: 1px solid #000;
}
#content .postavatar a:hover
{
	border-bottom: 0;
}
ul, ol
{
	padding: 0;
	margin: 0;
}
li ul
{
	margin-left: 12px;
}
ul li
{
	list-style: square;
	list-style-position: inside;
	color: #d23e00;
}
ol
{
	margin-left: 24px;
}
ol li
{
	color: #d23e00;
	font-weight: bold;
	padding-bottom: 4px;
}
li span
{
	color: #333;
	font-weight: normal;
}


/*** INPUT TAGGER ***/

span.req
{
	color: #d23e00;
	font-weight: bold;
}
input, textarea, select
{
	background: #fff;
	border:1px solid #ccc;
	font: inherit;
	margin-bottom:2px;
	width: 200px;
}
select, input[type=file]
{
	width: 203px;
}
div.subcontent input, div.subcontent textarea, div.subcontent select
{
	width: 100px;
}
input:hover, textarea:hover, select:hover
{
	background: #f8f8f8;
}
input[type=checkbox], input[type=radio], #sidebar input[type=checkbox], #sidebar input[type=radio]
{
	border: 0;
	width: auto;
}
input[type=submit], input[type=button], #sidebar input[type=submit], #sidebar input[type=button]
{
	border: 0;
	background: #d23e00;
	color: #fff;
	font-weight: bold;
	width: auto;
}
input[type=submit]:hover, input[type=button]:hover
{
	background: #000;
}
textarea
{
	width: 100%;
}


/*** WORDPRESS ***/

.vertical-box
{
	margin: -10px -5px 15px 15px;
	padding: 10px;
	background: #f8f8f8;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	float: right;
	font-family: Tahoma, Verdana;
}

.post_time
{
	font-size: 9px;
	text-transform: uppercase;
	font-weight: normal;
	display: block;
	color: #808080;
}

.postavatar
{
	border: 8px solid #fbd58e;
	float: right;
	margin: 10px -5px 5px 15px;
}

.postavatar img
{
	max-width: 200px;
	max-height: 150px;
}

small
{
	font-size: 9px;
	color: #666;
}

.post_meta, .box, #gallery .headnav
{
	background: #f8f8f8;
	display: block;
	padding: 4px 5px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;

	font-family: Tahoma;
	font-size: 10px;
	color: #333;
	margin: 20px -5px 20px -5px;
	clear: both;
}

.box
{
	//padding: 8px 5px;
	margin-top: 30px;
	margin-bottom: 30px;
}

.box p
{
	font-size: inherit;
}

.box#info, #gallery .headnav
{
	background: #f8f8f8 url(icons/big_info.png) no-repeat top right;
	padding-right: 80px;
}

.alignleft
{
	float: left;
}

.alignright
{
	float: right;
}

ul.single_post_meta li
{
	color: #333;
	font-weight: bold;
	padding-left: 20px;
	list-style: none;
}

ul.post_meta li
{
	color: #333;
	font-weight: bold;
	padding: 2px 15px 3px 20px;
	list-style: none;
	display: inline;
}
#content ul.post_meta li a, #content ul.single_post_meta li a
{
	color: #333;
}

li.comments
{
	background: url(icons/comments.png) no-repeat left;
}
li.category
{
	background: url(icons/category.png) no-repeat left;
}
li.edit
{
	background: url(icons/edit.png) no-repeat left;
}
li.author
{
	background: url(icons/author.png) no-repeat left;
}
li.time
{
	background: url(icons/time.png) no-repeat left;
}
li.download
{
	background: url(icons/download.png) no-repeat left;
}
li.exec
{
	background: url(icons/exec.png) no-repeat left;
}
li.link
{
	background: url(icons/link.png) no-repeat left;
}
li.more
{
	background: url(icons/more.png) no-repeat left;
}
li.demo
{
	background: url(icons/demo.png) no-repeat left;
}
li.info
{
	background: url(icons/info.png) no-repeat left;
}

#content ol.comments
{
	font-size: 15px;
}

#content ol.comments .post_meta
{
	margin-top: 0;
}


.ch_code_container
{
	background-color: #fff;
	border: 1px solid #ccc;
	padding-left: 8px;
	width: 100%;
	text-align: left;
	font-size: 12px;
	overflow: auto;
	height: 300px;
}
.ch_code_container .head
{
	color: #808080;
	font-weight: bold;
	background-color: #f0f0ff;
	border-bottom: 1px solid #d0d0d0;
	padding: 2px;
}

/*** FOOTER ***/

* html #layout
{
	height: 100%;
}

#footer
{
	position: relative;
	margin-top: -50px;
	height: 50px;
	width: 697px;
	margin-left: 285px;
	font-size: 10px;
}

#stats, #stats a
{
	text-align: right;
	color: #999;
	height: 15px;
	text-decoration: none;
}
#stats a:hover
{
	color: #333;
}

#copyright
{
	background: #000 url(gfx/footer.png) top left no-repeat;
	width: 697px;
	height: 21px;
	padding-top: 9px;
	text-align: center;
	color: #fbd58e; 
	font-family: Tahoma, Verdana;
}

#copyright a
{
	color: #fbd58e;
	text-decoration: none;
}

#copyright a:hover
{
	text-decoration: underline;
}


/*** GALLERY ***/

#gallery img
{
	background: transparent;
	border: 0;
	float: none;
	margin: 0;
}

#gallery td.album, 
#gallery td.photo,
#gallery td.empty
{
	vertical-align: middle;
	text-align: center;
	background: #fbd58e;
	padding: 10px;
	border: 0;
	border-right: 4px solid #fff;
	border-bottom: 4px solid #fff;
	width: 147px;
}
#gallery td.album:hover,
#gallery td.photo:hover
{
	background: #fbd58e url(gfx/albumgradient.jpg) top repeat-x;
}
#gallery td.album a,
#gallery td.photo a
{
	color: #000;
}
#gallery td.album a:hover,
#gallery td.photo a:hover
{
	border: 0;
}
#gallery td.empty
{
	background: #f8f8f8;
}
#gallery img.thumb
{
	border: 1px solid #000;
}
#gallery img.albumthumb
{
	margin-left: -50px;
}
#gallery span.filename
{
	text-transform: uppercase;
}
#gallery span.filedesc
{
	font-size: 9px;
	font-weight: normal;
	color: #d23e00;
}
/*#gallery td.headnav
{
	font-size: 13px;
	font-family: Tahoma, Verdana;
	font-weight: bold;
	padding-bottom: 10px;
	text-transform: lowercase;
}*/
#gallery td.footnav
{
	padding-top: 10px;
	text-align: center;
	font-weight: bold;
}
#gallery div.info
{
	padding-top: 20px;
}
#gallery div.footer
{
	/*font-size: 10px;
	padding-top: 20px;*/
	font-size: 0;
	visibility: hidden;
}
#gallery span.cputime
{
	visibility: hidden;
}


/*** LIGHTBOX ***/

#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

	#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(gfx/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(gfx/forrige.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(gfx/neste.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: normal;	}
#imageData #numberDisplay{ font-style: italic; display: block; clear: left; padding-bottom: 1.0em; padding-top: 12px; }			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}
