/*

	GENERAL STYLES

*/

/*
	
	TODO
	
*/

/* Remove browser styles */

* {
	margin: 0;
	padding: 0;
}

/* Control font size, color and page background */

body {
	background: #FFF url(../img/web-wallp.jpg) top center no-repeat;
	font: 71% "Lucida Grande", "Lucida Sans Unicode", Lucida, Arial;
	color: #3B3B3B; /* 70% svart */
}

h1, h2, h3, h4 {
	font-size: 1em;
}

input, textarea, button {
	font-size: 1em;
}

select option {
	padding-right: 5px;
}

/* Hide elements */

hr, .hide {
	display: none;
}

/* Link Colors */

:link { color: #2A92B0; }
:visited  { color: #3B3B3B; }
:link:hover, :link:focus, :visited:focus, :link:active, :visited:active { text-decoration: none; }

/* Clearfix, good for clearing floats - http://www.positioniseverything.net/easyclearing.html */

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/

* html .clearfix {height: 1%;}
.clearfix {display: block;}

/*

	PAGE
	
*/

#page {
	width: 780px;
	margin: 0 auto;
}

/*

	HEADER

*/

#head {
	height: 121px;
	background: url(../img/web-head-bg.jpg);
}

#head .logo {
	width: 200px;
	height: 60px;
	margin: 20px 0 0 20px;
	float: left;
	display: inline;
}

#head .logo a {
	width: 200px;
	height: 60px;
	display: block;
	position: relative;	
}

#head .logo span {
	width: 200px;
	height: 60px;
	display: block;
	position: absolute;
	top:  0; left: 0;
	z-index: 1;
	background: url(../img/web-logo.gif);	
	cursor: pointer;
}

#head .menu {	width: 324px;
	height: 30px;
	float: right;
	background: #FFF;
	padding: 0 5px;
	margin-top: 50px;
}
#head .menu ul {	list-style:none;
}
#head .menu li {	float:left;}    
#head .menu a {	float:left;	display:block;
	position: relative;
	height: 30px;
	overflow: hidden;
	cursor: pointer;
}

#head .menu a span {
	position: absolute;
	top: 0; left: 0;
	height: 30px;
	z-index: 1;
}

#head #n-home, #head #n-home span, #head #n-home a { width: 52px; }
#head #n-home span { background: url(../img/web-m-home-off.gif); }

#head #n-about, #head #n-about span, #head #n-about a { width: 59px; }
#head #n-about span { background: url(../img/web-m-about-off.gif); }

#head #n-prod, #head #n-prod span, #head #n-prod a { width: 83px; }
#head #n-prod span { background: url(../img/web-m-products-off.gif); }

#head #n-contact, #head #n-contact span, #head #n-contact a { width: 75px; }
#head #n-contact span { background: url(../img/web-m-contact-off.gif); }

#head #n-calc, #head #n-calc span, #head #n-calc a { width: 45px; }
#head #n-calc span { background: url(../img/web-m-calc-off.gif); }

/*

	BODY
	
*/

#body {
	width: 780px;
	background: #FFF;
	background: url(../img/web-sidebar-bg.gif);
	border-bottom: 5px solid #ECECEC;
	margin-bottom: 5px;
}

/* CONTENT */

#content {
	width: 520px;
	float: left;
	position: relative;
	top: -20px
}

#content p {
	margin-bottom: 1em;
	line-height: 150%;
}

#content h1 {
	font-size: 1.6em;
	color: #2A92B0;
	text-transform: uppercase;
	background: url(../img/web-title-bg.jpg) bottom no-repeat;
	padding: 20px;
}

#content .wrap {
	padding: 20px;
}

#p-home #content ul {
	list-style: none;
}


#p-home #content li {
	width: 519px;
	height: 186px;
	float:left;
	margin-left: 1px;
	display: inline;
}

#p-home #content li a {
	width: 519px;
	height: 186px;
	display: block;
	position: relative;
}

#p-home #content li span {
	width: 519px;
	height: 186px;
	position: absolute;
	top: 0; left: 0;
	z-index: 1;
	cursor: pointer;
}

#p-home #content li.soft span {
	background: url(../img/web-prod-software.jpg);
}

#p-home #content li.hard span {
	background: url(../img/web-prod-hardware.jpg);
}

#p-home #content li.tracrac span {
	background: url(../img/web-prod-tracrac.jpg);
}


#p-home #content h1 {
	height: 130px;
	width: 520px;
	padding: 0;
}

#p-home #content h1 a {
	position: relative;
	width: 520px;
	height: 130px;
}

#p-home #content h1 span {
	width: 520px;
	height: 130px;
	position: absolute;
	background: url(../img/web-banner-keeptrack.jpg);
	top: 0; left: 0;
	z-index: 1;
	cursor: pointer;
}

#p-home #content h2 {
	padding: 20px 0 10px 20px;
	text-transform: uppercase;
	font-size: 1.1em;
	border-left: 1px solid #ECECEC;
}

/* Contact form */

#content form fieldset {
	padding: 20px;
	border: 1px solid #2A92B0;
}

#content form label {
	width: 150px;
	float: left;
}

#content form input, #content form textarea {
	border: 2px solid #2A92B0;
	padding: 1px;
}

#content form textarea {
	padding: 10px;
	width: 264px;
	font-size: 1.0em;
}

#content .controls {
	margin-top: 20px;
}

#content .controls .buttons {
	float: right;
}

#content input.bt {
	height: 30px;
	border: none;
	line-height: 30px;
	text-align: center;
	color: #FFF;
	text-decoration: none;
	text-transform: uppercase;
	margin-left: 10px;
	font-weight: bold;
}



/* SIDEBAR */

#sidebar {
	width: 260px;
	float: left;
}

#sidebar .item {
	margin-bottom: 1px;
	padding: 20px;
}

#sidebar .item h4 {
	font-size: 1.1em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

#sidebar .login {
	background: #2A92B0;
	position: relative;
	border-left: 5px solid #2D8AA5;
	padding-left: 15px;
}

#sidebar .login h4 {
	color: #FFF;
	margin-bottom: 0;
}

#sidebar .login fieldset {
	border: none;
}

#sidebar .login p.col {
	width: 100px;
	float: left;
}

#sidebar .login .text {
	width: 85px;
	border: none;
	background: #FFF;
	height: 15px;
	border: 1px solid #277C95;
	border-width: 1px 0 0 1px;
	padding: 2px;
}

#sidebar .login label {
	color: #FFF;
	display: block;
	margin: 5px 0;
}

#sidebar .login .controls {
	float: left;
	width: 21px;
	height: 21px;
	position: absolute;
	bottom: 19px;
	right: 19px;
}

#sidebar .login .controls input {
	margin: 0;
	padding: 0;
	display: block;
	height: 21px;
}

#sidebar .calc p, #sidebar .contact p {
	margin-bottom: 10px;
	line-height: 150%;
}

#sidebar .calc {
	background: #CAE4EB url(../img/web-calc-bg.jpg) bottom no-repeat;
}

#sidebar p.more {
	text-align: right;
	margin: 0;
}

#sidebar p.more a {
	text-decoration: none;
	text-transform: uppercase;
	font-size: 1.1em;
	color: #2A92B0;
	font-weight: bold;
}

/*

	FOOTER

*/

#footer {
	width: 740px;
	border-top: 5px solid #CAE4EB;
	padding: 20px;
	color: #979797;
}
