/*
Theme Name:	Workheart 2011
Theme URI: http://www.Redsandro.com/
Author: Wieger & Sander
Author URI: http://www.Redsandro.com/
Version: 1.1.0
Desription: Workheart 2011 theme. Last update: 2011-08-22
*/

/* global tags */

html {
	height: 100%;
	background: #000 url('images/background.jpg') no-repeat center 120px;
}

body {
	margin: 0;
	padding: 0;
	text-align: center; /* IE */
	
	font-family: Verdana;
	font-size: 14px;
	color: #000;
}

a,
a:link {
	color: #6e381c;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #431f0d;
}
a:active,
a:visited {
	color: #431f0d;
}

img {
	border: 0;
	margin: 0;
	padding: 0;
}

p {
	margin: 0;
	padding: 0 0 1em;
}

table {
	border: 0;
}

dl {
	margin: 0 0 3ex 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 18px;
}



/* Header */

#header {
	width: 1036px;
	margin: 0 auto;
	background: url('images/bg_shade_tile.png') repeat-y left top scroll;
	position: relative;
}
#logo {
	position: absolute;
	top: 65px; /* 20 + head_menu */
	left: 69px; /* 20 + dead space */
	z-index: 9999;
}

#head_meta {
	width: 884px;
	height: 80px;
	margin: 0 auto;
	text-align: right;
	font-size: 10px;
	color: #6b6b6b;
}
#head_meta a {
	color: #4f4d44;
}
#head_meta a:hover {
	color: #8a8779;
}
#head_meta ul.qtrans_language_chooser {
	float: right;
	list-style-type: none;	
}
.qtrans_language_chooser li { 
	float:left; margin: 3px; 
}


#head_vid {
	width: 940px;
	height: 290px;
	margin: 0 auto;
	
	background: #000;
	border-bottom: 5px solid #7e7c72;
}

/* Header Menu */

#head_menu {
	width: 940px;
	height: 40px;
	margin: 0 auto;

	background: #000;
	border-bottom: 5px solid #7e7c72;
}

#head_menu ul {
	width: 950px;
	height: 140px;
	margin: 0 auto;
	padding: 0;
	display: block;
}
/* Menu Items */
#head_menu ul li {
	width: 180px;
	height: 40px;
	margin: 0;
	padding: 0;
	margin-right: 10px;
	/* overflow: hidden; */
	float: left;
	display: list-item;

	line-height: 40px;
	font-weight: normal;
	font-size: 14px;
	font-family: Verdana;

	list-style-type: none;
	list-style-position: outside;
	background: url('images/tab_bg.png') repeat-x left top scroll;
	color: #fffcec;
}
#head_menu ul li a {
	display: block;

	color: #fffcec;
	text-decoration: none;
	
	text-shadow: 0px -1px 0px #333, 1px 2px 2px #000;
	filter: dropshadow(color=#333333,offX=0,offY=-1); /* IE ..9 :/ */
}
#head_menu ul li:hover > a {
	color: #fff;
	text-decoration: none;
	background: url('images/tab_select.png') repeat-x left top scroll;
}
#head_menu ul li > a:hover {
	color: #fff;
}
/* Sub items (menu items) */
#head_menu ul li:hover > ul {
	display: block;
}
/* IE 9 only :/ */

/* END IE 9 only :/ */

#head_menu ul ul {
	width: auto;
	margin: 0; padding: 0;
	display: none; /*******/
	position: absolute;
	z-index: 99990;
}
#head_menu ul ul ul { /* dropdown submenu only */
	position: absolute;
	left: 100%;
	top: 0;
}
#head_menu ul li li { /* every item except main items */
	margin: 0;
	min-width: 180px;
	line-break: none;
	white-space: nowrap;
	width: auto;
	
	display: list-item;
	overflow: visible;
	z-index: 99991;
	float: none;

	/* background-color: #7e7c72;
	opacity: 0.82; // Opacity will be inherited unconditionally :/
	filter: alpha(opacity=82); *//* IE ofcourse */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#527e7c72, endColorstr=#527e7c72)"; /* IE ..9 ofcourse :/ */
	background: rgba(126, 124, 114, 0.5);

	text-align: left;
	line-height: auto;
}
#head_menu ul li li a {
	padding-left: 1ex;
	font-family: Verdana;
	font-size: 14px;
	text-align: left;
	text-decoration: none;
	color: #fffcec;
}
#head_menu ul ul li a:hover {
	/* color: #ba9fcb;*/
	color: #fff;
	text-decoration: none;
	background: url('images/tab_select.png') repeat-x left top scroll;
}




/* Body */

div#main {
	width: 100%;
}
div#main > #container {
	width: 1036px;
	margin: 0 auto;
	background: url('images/bg_shade_tile.png') repeat-y left top scroll;
}
div#main > #container > #content {
	width: 940px;
	margin: 0 auto;
	padding-bottom: 20px;
	text-align: left; /* IE */
	
	font-family: Verdana;
	font-size: 11px;
	color: #5a5a5a;
	background-color: #fffcec;
}



/* Body Content */

div.post,
div.page,
div.attachment {
	margin-bottom: 1em;
	clear: both;
}
div.post > h1, div.post > h2,
div.page > h1, div.page > h2,
div.attachment > h1, div.attachment > h2,
.entry-meta > h1, .entry-meta > h2 {
	margin: 0 28px 0;
	padding: 0;
	width: 100%;
}
div.page > h2.page {
	margin-bottom: 1em;
}
div.post h2 a,
div.page h2 a,
.entry-meta h2 {
	font-size: 24px;
	color: #5a5a5a;
	text-decoration: none;
	display: inline;
	position: absolute; left: 0; bottom: 0;
	line-height: 30px;
}
div.post > h2 a:hover,
div.page > h2 a:hover {
	color: #2a2924;
	text-decoration: underline;
}
div.entry-meta {
	position: relative;
	height: 50px;
	margin-bottom: 20px;

	font-size: 10px;
}
.entry-meta > div { /* parent link */
	margin: 0;
	width: 100%;
	padding-top: 1ex;
}
.entry-meta > div > p { /* image direct link */
	display: inline;
	padding: 0 28px;
}
.entry-meta > div > span { /* image direct link */
	float: right;
	padding: 0 28px;
}
div.entry-meta > span { /* date */
	position: absolute; 
	right: 0px; bottom: 0;
	margin: 0 28px 0;

	line-height: 20px;
}
div.entry-content,
div.entry-summary {
	margin: 0 28px .5ex;
}
div.entry-utility {
	padding: 0 1ex;
	background-color: #ccc;
	font-size: 11px;
	clear: both;
	text-align: right;
}
div.edit-link {
	text-align: right;
}
div#nav-above,
div#nav-below {
	height: 1em;
	margin-bottom: 1em;
	clear: both;
}
div#nav-above a,
div#nav-below a {
	font-weight: bold;
	color: #311d13;
}
div#nav-above a:active,
div#nav-below a:active, 
div#nav-above a:visited,
div#nav-below a:visited {
	color: #786c60;
}
div#nav-above a:hover,
div#nav-below a:hover {
	color: #632e13;
}
div.nav-previous { float: left; }
div.nav-next { float: right; }
div.nav-previous > a,
div.nav-next > a {
	margin: 0;
}



/* Body general */

.small {
	font-size: 1.7ex;
}



/* Body Gallery */

#content .gallery {
	margin: 0 auto 1em;
}
#content .gallery dl.gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 220px;
}
#content .gallery dt.gallery-icon {
	/* ... */
}

.category-gallery .size-thumbnail img {
	border: 10px solid #f1f1f1;
	border: 10px solid #f00;
	margin-bottom: 0;
}
.category-gallery .gallery-thumb {
	float: left;
	margin-right: 8px;
	margin-top: -4px;
}
#content .wp-smiley {
	margin: 0;
}
#content .gallery .gallery-caption {
	margin: 0 0 12px;
	font-size: 12px;
	color: #888;
}
#content .gallery img {
	border: 6px solid #eee;
	position: relative;
	
	box-shadow: 2px 2px 2px #999;
	-moz-box-shadow: 2px 2px 2px #999;
	-webkit-box-shadow: 2px 2px 2px #999;
}
#content .gallery img:hover {
	box-shadow: 2px 2px 2px #000;
	-moz-box-shadow: 2px 2px 2px #000;
	-webkit-box-shadow: 2px 2px 2px #000;
}

#content .gallery br+br {
	display: none;
}
#content .attachment img { /* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}
div.spacer {
	float: left;
	width: 75px;
}

/* Search */

form {
	padding: 1ex 2ex;
}



/* Footer */

#footer {
	width: 1036px;
	height: 72px;
	margin: 0 auto;
	padding-bottom: 3ex;
	text-align: left; /* IE */
	display: block;
	clear: both;
	position: relative;
	
	background: url('images/bg_shade_btm.png') no-repeat center top scroll;
}

#footer > div {
	width: 884px;
	margin: 0 auto;
	padding: 1em 0;
	font-size: 8px;
	color: #6b6b6b;
}
#footer a {
	color: #6e381c;
}
#footer a:hover {
	color: #f4bea3;
}
#footer span.tag {
	margin-right: 5ex;
}
#foot_login {
	margin: 0;
	padding: 0;
	text-align: left;
	float: right;
	font-size: 8px;
	color: #6b6b6b;
}



/* Tweaks */

#kpg-albums table,
#kpg-albums tr td,
#kpg-albums tr th {
	border: 0;
	background-color: transparent;
}

div#wut, div.wut {
	height: 1px;
	overflow: hidden;
	clear: both;
}

/* Social plugin tweaks */
.fbFooterBorder {
	height: 0 !important;
	overflow: hidden !important;
	margin: 1px !important;
	padding: 0 !important;
}
.fb_iframe_widget {overflow: hidden;}
.fb_ltr {margin-bottom: -20px !important;}
