/*
Theme Name: e2
Theme URI: http://www.envis-precisely.com
Description: wordpress theme for the king!
Version: 1.0
Author: philipp e sackl
Author URI: http://www.envis-precisely.com/
*/

* {
	padding: 0px;
	margin: 0px;
	border: 0px;
	
	font-family:Helvetica, "Lucida Grande", "Lucida Sans Unicode", Calibri, Verdana, Arial, sans-serif;
}


body {
	background-image:url("img/bg.png");
	background-repeat:no-repeat;
	background-color:#dadbcc;
	background-position:0px -80px;
	float:left;
}

.nopadding {
	padding:0px !important;
	overflow:hidden;
}

div#rule {
	width:100%;
	height:2px;
	background-color:#333032;
}


a#bloglink {
	display:block;
	width:80px;
	font-size:14px;
	color:#fff;
	padding:4px;
	background-color:#968770;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-o-border-radius:3px;
	text-align:center;
	margin-top:25px;
	margin-bottom:25px;
}


.roundcornerstop {
	border-radius:			3px 3px 0px 0px;
	-moz-border-radius:		3px 3px 0px 0px;
	-webkit-border-radius:	3px 3px 0px 0px;
	-o-border-radius:		3px 3px 0px 0px;
}

.roundcorners {
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-o-border-radius:3px;
}



	

/* Menubar Layout ====================================================== */
div#menubar {
	float:left;
	width:200px;
	height:65px;
	position:absolute;
	left:0px;
	top:55px;
	width:100%;
	z-index:100;
}

ul#menuitems {
	display:block;
	float:left;
	height:22px;
	width:599px;
	margin-left:236px;
	margin-right:10px;
	margin-top:10px;
	padding-top:3px;
}

	ul#menuitems li {
		display:block;
		float:left;
	}

	ul#menuitems li a {
		display:block;
		float:left;
		height:15px;
		margin-left:3px;
		margin-right:25px;
		margin-top:2px;
		text-decoration:none;
		background-repeat:no-repeat;
		background-position:left top;
	}
	
	ul#menuitems li.kingtalkheader a {
		width:400px;
	}
	
	ul#menuitems li a:hover {
		background-position: 0px -16px;
	}
	
	ul#menuitems li a.activated, ul#menuitems li a.activated:hover {
	/*	background-position: 0px -32px;*/
	}
		
		#m_portfolio {
			background-image: url("img/m_portfolio.png");
			width:87px;
		}
		
		#m_about_us {
			background-image: url("img/m_about_us.png");
			width:93px;
		}
		
		#m_awards {
			background-image: url("img/m_awards.png");
			width:76px;
		}
		
		#m_clients {
			background-image: url("img/m_clients.png");
			width:76px;
		}
		
		#m_publications {
			background-image: url("img/m_publications.png");
			width:122px;
		}
		
		#m_contact {
			background-image: url("img/m_contact.png");
			width:78px;
			margin-right:0px;
		}
	
	
	span.hidden, div.hidden, img.hidden {
		display:none;
	}
	
		
	div#description {
		margin-top:11px;
		float:left;
		display:block;
		width:160px;
		color:#FFF;
		
		font-size:11px;
	}
	
	div.menubreakprotection {
		float:left;
		width:1005px;
	}



div#logo {
	position:absolute;
	z-index:150;
	top:35px;
	left:8px;
	width:200px;
	height:80px;
}





div.mainbreakprotection {
	float:left;
	width:1005px;
}



/* Box for content ===================================================== */
div.box {
	float:left;
	position:relative;
/*	background-color:#000; */
}

	div.inner_box {
		padding: 4px 5px 1px 4px;
	}



div.bigbox {
	width:100%;
	margin-bottom:0px;
	margin-top:130px !important;
	float:left;
}

div.smallbox {
	width:129px;
	float:left;
	display:block;
}

div.projectcard {
	height:135px;
}



div.contentarea {
	float:left;
	width:573px;
/*	padding:5px; */
	margin-top:15px;
	margin-bottom:4px;
/*	background-color:#FFF;*/
}

	div.contentarea p a {
		text-decoration:underline;
	}

div.notfirstbox {
	padding-top:10px;
}









/* Sidebar Layout ====================================================== */
ul.sidebarul {
	display:block;
	float:left;
	width:160px;
	margin-left:40px;
	margin-top:170px;
	list-style-type:none;
	list-style-position:outside;
}

	ul.sidebarul li {
		display:block;
		clear:both;
		font-size:10px;
		margin-bottom:5px;
		color:#322F32;
	}
	
	ul.sidebarul p {
		font-size:12px;
		margin-bottom:10px;
	}
	
	ul.sidebarul a {
		text-decoration:none !important;
	}


li.sidebaritem {
	margin-top:30px;
	padding-bottom:5px;
}


li.sidebaritem, li.categories {
	border-bottom:1px solid #888;
}


li.categories ul, li.twitter ul {
	margin-top:5px;
}



	
	div.searchbox {
		background-color:#fff;
		width:160px;
		margin-bottom:40px;
		float:left;
		border:1px solid #333032;
		border-radius:3px;
		-moz-border-radius:3px;
		-webkit-border-radius:3px;
		-o-border-radius:3px;
	}

	div.s_inner_box {
		padding: 0px;
		width:159px;
	}


	
	div.searchbox {
		width:157px;
		float:left;
	}
	
	

	input#s {
		background-color:#fff;
		color:#999;
		border:0px;
		width:130px;
		height:15px;
		font-size:11px;
		margin-top:2px;
		padding-left:2px;
	}
	
		input#s:focus {
			color:#323032;
		}
	
	input#searchbutton {
		background-image:url("img/searchbox/button.gif");
		background-color:#FFF;
		background-repeat:no-repeat;
		background-position: center;
		border:0px;
		width:16px;
		height:15px;
		cursor:pointer;
	}




/* Main Layout ========================================================= */
div#container {
	float:left;
	width:595px;
	margin-left:35px;
	margin-top:40px;
}

div.row {
	width:100%;
	padding:2%;
	margin-bottom:30px;
	float:left;
}

div.whitebox {
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-o-border-radius:3px;
	background-color:#EEEFE9;
}

.focusbox {
}

.focusbox:hover {
	background-color:#fff;
}

div.rowboarder {
	border-bottom:1px solid #CCC;
}

div.rownomargin {
	margin-bottom:0px;
}

div.column {
	float:left;
	width:129px;
	margin-right:26px;
}

	div.lastcolumn {
		margin-right:0px;
	}
	
	div.thirdcolumn {
		margin-right:27px;*/
	}



/* Slideshow =========================================================== */
div.slideshow {
	width:595px;
	height:291px;
	padding:0px;
	overflow:hidden;
	float:left;
}

div.loaderbackground {
	background-image:url("img/loader.gif");
	background-repeat:no-repeat;
	background-position: center center;
}

div#the_slideshow {
	
}

div#slideshow_inner {
	height:270px;
}

div#slideshow_inner img {
	float:left;
}


div.slideshowcontroller {
	float:left;
	display:block;
	position:relative;
	width:595px;
	height:20px;
}

div.slideshowcontroller_inner {
	display:block;
	float:left;
	height:20px;
	width:595px;
	position:absolute;
	left:0px;
	bottom:0px;
}

div.slideshowcontroller_right {
	display:block;
	position:absolute;
	float:left;
	right:5px;
	bottom:0px;
}

div#slideshowcontroller_inner {
	float:left;
	display:block;
	position:absolute;
}

	div.slideshowbutton {
		display:block;
		float:left;
		width:20px;
		height:20px;
		background-image:url("img/slideshow/pager.png");
		background-repeat:no-repeat;
		background-position:0px 0px;
	}
	
	div.slideshowbutton:hover {
		background-position:0px -20px;
		cursor:pointer;
	}
	
	div.slideshowbuttonactive, div.slideshowbuttonactive:hover {
		background-position:0px -40px;
		cursor: default;
	}
	
	
	div.slideshow_fb {
		background-image:url("img/slideshow/fb.png");
	}
	
	div.slideshow_ff {
		background-image:url("img/slideshow/ff.png");
	}
	
	div.slideshow_f {
		background-image:url("img/slideshow/f.png");
	}
	
	div.slideshow_b {
		background-image:url("img/slideshow/b.png");
		margin-right:15px;
	}

.clickable {
	cursor: pointer;
}



/* Overlay-Thingy ====================================================== */
div#sl_overlay {
	position:absolute; 
	top: 0; 
	left: 0; 
	z-index: 190; 
	width: 100%; 
	height: 500px; 
	background-color: #000;
}

div#sl_outer_container {
	position:absolute;
	z-index:200;
	background-color:#FFF;
	width:595px;
	height:245px;
}

div#sl_image_container {
	background-color:#000;
}



/* Footer ============================================================== */
div#footer {
	float:left;
	width:100%;
	height:17px;
	margin-top:70px;
	padding-top:3px;
	margin-bottom:20px;
}
	
	div#footer p {
		font-size:10px;
		color:#333032;
		margin-left:240px;
	}
	
	div#footer a {
		text-decoration:none;		
		margin-left:40px;
	}



/* Text ================================================================ */
div.main_image_overlay {
	float:left;
	width:100%;
}

	div.main_image_overlay p {
		display:block;
		clear:both;
		padding:4px;
		margin:0px;
	}

h1.h1overlay {
	font-size:14px;
	font-weight:normal;
	float:left;
	clear:both;
	display:block;
	padding-left:4px;
	color:#333032;
}
	
	
	
	div.bigbox h1 {
		font-size:20px;
	}


h2.h2overlay {
	font-size:12px;
	font-weight:normal;
	float:left;
	padding-left:4px;
}

h2.h2overlay a {
	color:#333032;
}

	h2.h2overlay span.h2background, h1.h1overlay span.h1background {
	/*	background-color:#000; */
		padding: 2px 5px 2px 2px;
	}



h2 {
	font-size:22px;
	font-weight:bold;
}

h2.h2search {
	font-size:12px;
	clear:both;
	margin-top:20px;
	padding-top:10px;
	border-top:1px solid #CCC;
	width:565px;
}

h2.h2blog {
	margin-bottom:20px;
	position:relative;
	left:-5px;
}

	h2.h2blog a, span.h2blogbackground {
		color:#333032;
		padding: 2px 5px 2px 5px;
	}


h3, h4{
	font-size:16px;
	font-weight:bold;
	position:relative;
	left:-5px;
	padding:0px 5px 2px 5px;
	color:#333032;
	clear:both;
	margin-bottom:15px;
	margin-top:30px;
}

h3 {
	display:inline;
	bottom:20px;
}
	


p {
	font-size:14px;
	line-height:160%;
	color:#333032;
	margin-bottom:10px;
}


	div.contentarea p {
		color:#2F2F2F;
	}

p.smallbox_p {
	display:none;
	/*display:block;*/
	float:left;
	padding-top:5px;
}


p.banner {
	margin-bottom:30px;
	padding-bottom:5px;
	margin-top:30px;
	/*border-bottom:1px solid #CCC;*/
}


p.border_above {
	border-top:1px solid #CCC;
	padding-top:9px;
	margin-bottom:5px;
}


a {
	color:#968770;
	text-decoration:none;
}

p a {
	text-decoration:underline;
}


strong {
	font-weight:bold;
}

small {
	font-size:10px;
	color:#CCC;
}

em {
	font-style:italic;
}

blockquote {
	padding:10px;
}

input, textarea {
	border:1px solid #CCC;
	background-color:#FFFEEB;
	font-size:10px;
}

input {
	height:15px;
}

input:focus, textarea:focus {
	background-color:#FFF;
}

input.button {
	background-color:#2F3439;
	color:#FFF;
	padding:5px;
	height:25px;
}



/* The map ============================================================= */
div#map_canvas {
	width:595px;
	height:300px;
	margin-bottom:3px;
}




/* Blog-specific ======================================================= */
div.blogheader {
	width:595px;
	height:140px;
	background-image:url("img/blog_header.jpg");
	background-repeat:no-repeat;
	margin-bottom:3px;
	float:left;
}

	div.blogheader h1 {
		display:inline;
		float:left;
		position:absolute;
		bottom:3px;
		color:#333032;
		background-color:#000;
		font-size:20px;
		font-weight:normal;
		padding:2px;
	}

div.blogcolumn {
	width:452px;
	float:left;
}

	div.blogcolumn img {
	/*	border:1px solid #CCC; */
	}

div.blogsidecolumn {
	width:110px;
	margin-left:10px;
	float:left;
}

	div.blogsidecolumn p {
		font-size:12px;
		color:#595959;
	}

div.contentarea textarea {
	width:450px;
}

div.navigation {
	float:left;
	margin-top:15px;
	width:587px;
	padding:4px;
	padding-bottom:8px;
}

div.navigation a {
	font-size:12px;
}

a#bloglink:hover {
	background-color:#A58C6F;
}

.alignleft {
	float:left;
}

.alignright {
	float:right;
}

img.noborder {
	border-width:0px;
}

/* Blog-specific ======================================================= */
img.hiddenImage {
	display:none;
}



