1/*
Theme Name: CodeGravity Theme 1
Theme URI: http://lab.codegravity.se/
Description: bla bla
Version: 0.1
Author: Tdude
Author URI: http://
Tags: multi-column, slider

	CG 1
	

	This theme was designed and built by Tdude with a little help from the Internet...he he

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* reset browser bajs */
p, ul, form, ol, h1, h2, h3, h4, img, body, html {
	margin: 0; 
	padding: 0;
	border: 0; 
}

body {
	background: #ff9 url(images/bg-body.png) center top repeat;
}

body, th, td{
	color: #666;
	font-family: Trebuchet, "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 0.7em;
	line-height: 20px;
}




a:link, a:active, a:visited{
	color: #666;
	text-decoration:none;
}

a:hover{
	color: #1020aa;
	text-decoration:underline;
}

a img{
	border: none;
}



h1{
	text-align: left;
	color: #eb0;
}

h2{
	text-align:left;
	color:#ccc;
	font-size: 1.8em;
	font-weight:bold;
	line-height: 35px;
}

h3{
	text-align:left;	
	color: #ea0;
	background:#666;
	font-size: 1.5em;
	font-weight:bold;
	display:block;
}

h4{
	text-align:left;	
	color: #eb0;
	font-size: 1.2em;
	font-weight:bold;
	display:block;
}

hr{
	height: 0; 
	border: 0; 
	border-top: 1px solid #999; 
}

/* kontaktform */
#wpcf{
	float:left;
	width:420px;
}
 #wpcf label{
	display:block;
	margin:0.5em 0 0 0;
}
#wpcf_msg{
	margin:0;
}

/* bilder caption */
p.wp-caption-text{
	font-style:italic;
	font-size:0.9em;
}


.alignright{
	float:right;
	padding-left: 10px;
	padding-bottom: 10px;
	margin-right: 0px;
	margin-left: auto;
}

.alignleft{
	float:left;
	padding-right: 10px;
	padding-bottom: 10px;
}

#print{
	float:right;
	margin:-15px 0px 0px 0px;
}

#container{
	margin:0px auto;
	width: 960px;
	padding:30px 0 30px 0;
}

#header{
	margin: 0 auto;
	height: 130px;
	width: 960px;
	background: #fff url(images/bg-header1.png) center top no-repeat;
	display:block;
	overflow:hidden;
}

#header h1{
	text-indent: -999em; 
	float:left;
}



a.logo{
	width:330px;
	height:100px;
	display: block;
	/*background: url(images/logo.png) no-repeat 0 0;*/
	overflow:hidden;
}


.description{
	text-indent: -9999px;
	display:block;
	overflow:hidden;
}



#mid{
	text-align:left;
	/*background:#fff url(images/bg-body.png) center top repeat-x;*/
	width:960px;
	margin:0 auto;
	padding:0;
	overflow: hidden;
	

}

#mid .content, .caption{
	color:#666;
	font-size: 0.8em;
	line-height: 1.35em;
	font-weight: normal;
	width: 940px;
	padding: 0 18px 0 36px;
	overflow: hidden;
	min-height:390px;
}


.content ul li li{
margin-left:2em;
font-size:0.8em;
}

.content p, .col p, .caption p{
	margin: 0.5em 0;
}

#footer{
	text-align:left;
	background:url(images/bg-footer.png) center bottom no-repeat;
	width:960px;
	margin:0px auto;
	height:100px;
	clear:both;
}

#footer p{
	float:left;
	margin: 30px 40px;
	display:block;
	color:#999;
	font-size: 0.7em;
	line-height: 1.4em;
	text-decoration:none;
}

#footer a{
	color:#888;
}

#footer a.rssicon{
	background: #ccc url(images/bg-rss.png) left top no-repeat;
	display:block;
	overflow: hidden;
	width:46px;
	height:50px;
}
#footer a.rssicon:hover{
	background: #ccc url(images/bg-rss.png) right top no-repeat;
}

#footer .rssicon span{
	display:block;
	text-indent: -999em; 
	overflow: hidden;
}





/* Menu */

#nav{
	float:right;
	margin:40px 15px 0px 0px;
	max-width:550px;
	height:20px;
	vertical-align:middle;
	text-align:right;
}

#nav ul{
	float:left;
	text-align:center;
	margin:0 auto;
}

#nav li{
	float:left;
	list-style-position: inside;
	list-style-type: none;
	padding-left:15px;
	position:relative;
}

#nav li a,
#nav li li a{
	text-decoration:none;
	color:#666;
	font-weight:normal;
	font-size:10pt;
	font-family:arial,helvetica,sans-serif;
	padding:30px 8px;
}

#nav li a:hover{
	text-decoration:underline;
	color:#036;
	font-weight:normal;
	font-size:10pt;
	font-family:arial,helvetica,sans-serif;
}

#nav ul ul{
	position: absolute;
	z-index: 100;
	top:20px;
	left:10px;
	width:150px;
}

#nav ul ul li{
	width:150px;
	text-align:left;
}


#nav ul ul li a{
	font-size:10px !important;
	clear:right;
	width:150px;
	display:block;
	padding: 0px 5px;
}

#nav ul ul li a:hover{
	
}

#nav ul ul ul{
	top: 0;
	left: 100%;
}

div#nav ul ul,
div#nav ul li:hover ul ul,
div#nav ul ul li:hover ul ul{
	display: none;
}

div#nav ul li:hover ul,
div#nav ul ul li:hover ul,
div#nav ul ul ul li:hover ul{
	display: block;
	width: 150px;
}

/* wps inbyggda gallery */

.gallery-item,
.gallery-icon,
.gallery-caption{
	width:185px;
	}