/* 
Main CSS Majornas Grafiska
Author: johan@intime.se

COLORS

Red: #902020
Text: #414141
Nav: #808080
Border: #a2a2a2
Background: #f6f7f7

*/

/* RESET
--------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td 
{
margin: 0; 
padding: 0; 
border: 0; 
font-weight: inherit; 
font-style: inherit; 
font-size: 100%; 
font-family: inherit; 
vertical-align: baseline; 
}

body { line-height: 1; color: white; background: gray; }
ol, ul { list-style: none; }
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }

/* FIX
--------------------------------------------------------- */

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

* html .clearfix 
{
  	height: 1%;
}
  
.clearfix
{
 	zoom: 1;
}

#ie_message
{
	width: 100%;
	text-align: center;
	background-color: #ccc;
	padding: 10px 0;
	line-height: 1.5em;
}

#ie_message a
{
	color: #414141;
	font-weight: bold;
}

/* GENERAL
--------------------------------------------------------- */

body
{
	padding: 0 0 30px 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 75%;
	text-align: center;
	background: #f6f7f7 url(../img/header.jpg) top center no-repeat;
	color: #414141;
}

h1
{
	font-size: 2.6667em;
	line-height: 1.0833em;
	color: #902020;
	letter-spacing: -0.5px;
	margin: 0 0 20px 0;
}

h2
{
	font-size: 1.3333em;
	font-weight: bold;
	margin: 0 0 12px 0;
	line-height: 1.25em;
}

h3
{
	font-size: 1em;
	font-weight: bold;
	margin: 0 0 10px 0;
}

h4
{
	font-size: 1em;
	margin: 0 0 10px 0;
}

a
{
	text-decoration: none;
	font-weight: bold;
	color: #902020;
}

a:hover
{
	border-bottom: 1px dotted #414141;
}

em
{
	font-style: italic;
}

.link
{
	float: left;
	width: 100%;
}

.link a
{
	float: left;
	margin: 10px 0 20px 0;
	padding: 20px 0 10px 0;
	border-top: 1px solid #a2a2a2;
	font-weight: bold;
	color: #414141;
}

.link a:hover
{
	background-color: #fff7f7;
	border-bottom: none;
}

.cell_4
{
	float: left;
	width: 206px;
	margin: 0 13px 0 0;
}

.cell_2
{
	float: left;
	width: 425px;
	margin: 0 13px 0 0;
	padding: 20px 0;
	border-top: 1px solid #a2a2a2;
}

.cell_2_right
{
	float: right;
	width: 438px;
	margin: 0 12px 0 0;
}

.cell_2_left
{
	float: left;
	width: 438px;
}

.cell_2_large
{
	float: left;
	width: 644px;
	border-top: 1px solid #a2a2a2;
}

.cell_overall
{
	float: left;
	width: 100%;
}

.cell_image
{
	padding: 10px 0 0 0;
}

.text_top
{
	padding: 25px 0 20px 0;
}

.large_font
{
	float: left;
	width: 100%;
	font-size: 1.5833em;
	line-height: 1.1667em;
	color: #808080;
	letter-spacing: -0.5px;
}

.quote
{
	margin: 20px 0 10px 0;
	padding: 0 0 10px 50px;
	background: transparent url(../img/quote.png) top left no-repeat;
}

.number
{
	padding: 0 0 5px 0;
}

.bold, strong
{
	font-weight: bold;
}

p.no_border a:hover
{
	border: 0;
}

img
{
	vertical-align: bottom;
}

.green
{
	color: #902020;
}

/* STRUCTURE
--------------------------------------------------------- */

#wrapper
{
	width: 913px;
	margin: 0 auto;
	text-align: left;
}

#header
{
	width: 100%;
	height: 345px;
}

#content
{
	width: 100%;
	background: transparent url(../img/content_bg.png) top left repeat;
}

#footer
{
	width: 100%;
	border-top: 1px solid #a2a2a2;
	font-size: 0.8462em;
	line-height: 1.4167em;
}

/* NAVIGATION
--------------------------------------------------------- */

#nav
{
	float: left;
	width: 863px;
	margin: 0 0 20px 0;
	font-weight: bold;
}

#switch
{
	text-align: right;
}

#nav ul
{
	float: left;
	margin: 0 0 6px 0;
	width: 100%;
	font-size: 1.1538em;
}

#nav ul li
{
	float: left;
	margin: 0 3px 0 0;
}

#nav ul li a, #switch a
{
	color: #808080;
	margin: 0 5px 0 2px;
	padding: 0 1px;
	text-decoration: none;
}

#switch a
{
	margin: 0;
}

#nav ul li a:hover, #nav ul li a.active, #switch a:hover
{
	color:  #902020;
	border-bottom: 1px dotted #902020;
}

/* CONTENT
--------------------------------------------------------- */

#content .inside
{
	padding: 25px 0 0 25px;
	margin: 0 0 25px 0;
}

#content p
{
	margin: 0 0 10px 0;
	line-height: 1.5em;
}

.banner
{
	padding-bottom: 10px;
}

/* --- Headers --- */

#start h1, #kunder h1, 
#om-oss h1, #vad-vi-gor h1
{
	width: 370px;
}

#jobb h1
{
	width: 340px;
}

#folk h1
{
	width: 330px;
}

#jobba-hos-oss h1
{
	width: 300px;
}

/* --- Cells --- */

.work_thumb, .work_title, .people_thumb, 
.client, .contact, .product_thumb
{
	border-top: 1px solid #a2a2a2;
}

.people, .work_title, .contact
{
	padding: 20px 0;
}

.work_thumb a, .client a, .people_thumb a,
.product_thumb a
{
	display: block;
	padding: 20px 0;
	color: #414141;
	font-weight: normal;
}

.client a, .client span
{
	color: #902020;
	padding: 10px 0;
}

.client span
{
	float: left;
	color: #414141;
}

.work_thumb a:hover, .client a:hover, .client a.active, 
.people_thumb a:hover, .product_thumb a:hover
{
	background-color: #fff7f7; 
	border-bottom: none;
}

.work_thumb a span, .people_thumb a span
{
	float: left;
	width: 100%;
	margin: 7px 0 5px 0;
	font-weight: bold;
}

.product_thumb a span
{
	font-weight: bold;
}

.cell_2 ul
{
	list-style: disc;
	padding: 0 0 0 20px;
	line-height: 1.5em;
}

.cell_2 ul li
{
	margin: 0 0 5px 0;
}

/* --- Work --- */

.tags
{
	padding: 20px 0 20px 0;
}

.tags li
{
	margin: 0 0 5px 0;
}

.tags li.url
{
	margin: 20px 0 0 0;
}

/* --- Thumbnails --- */

.image_viewer
{
	width: 100%;
	margin: 0 0 15px 0;
}

.image_viewer a:hover
{
	border: none;
}

/* --- Dropdown --- */

#dropdown
{
	float: left;
}

#dropdown, #dropdown ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	width: 206px;
}

#dropdown a {
	display: block;
	width: 206px;
	border: 0;
	color: #414141;
}

#dropdown a:hover {
	color: #902020;
}

#dropdown li { /* all list items */
	float: left;
	width: 206px;
}

#dropdown_top
{
	width: 206px;
	height: 25px;
	color: #fff;
	background: #902020 url(../img/dropdown_arrow.png) center left no-repeat;
}

a#dropdown_top
{
	color: #fff;
}

a:hover#dropdown_top
{
	color: #fff;
}

#dropdown span
{
	float: left;
	padding: 8px 12px 8px 28px;
}

#dropdown li ul { /* second-level lists */
	position: absolute;
	background: #ccc;
	width: 206px;
	margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	padding: 8px 0 8px 0;
}

#dropdown li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 -1000em;
}

#dropdown li ul li
{
	padding: 3px 12px 0 12px;
}

#dropdown li:hover ul ul, #dropdown li.sfhover ul ul {
	margin-left: -1000em;
}

#dropdown li:hover ul, #dropdown li.sfhover ul { /* lists nested under hovered list items */
	margin-left: 0;
}
#dropdown li li:hover ul, #dropdown li li.sfhover ul {
	margin-left: 10em;
}

/*#content {
	clear: left;
	color: #ccc;
}*/

/* extra positioning rules for limited noscript keyboard accessibility */
#dropdown li a:focus + ul { margin-left: 0; }
#dropdown li li a:focus + ul { margin-left: 1010em; }
#dropdown li li a:focus { margin-left:1000em; width:10em; }
#dropdown li li li a:focus {margin-left: 2010em; width: 10em; }
#dropdown li:hover a:focus, #dropdown li.sfhover a.sffocus { margin-left: 0; }
#dropdown li li:hover a:focus + ul, #dropdown li li.sfhover a.sffocus + ul { margin-left: 10em; }

/* FOOTER
--------------------------------------------------------- */

#footer .inside
{
	padding: 25px 25px 0 25px;
}

#footer .cell_4
{
	margin-bottom: 25px;
	border-right: 1px solid #a2a2a2;
}

/* LIGHTBOX
--------------------------------------------------------- */

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#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; border: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:img/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../img/prevlabel.gif) left 15% no-repeat; border: none;}
#nextLink:hover, #nextLink:visited:hover { background: url(../img/nextlabel.gif) right 15% no-repeat; border: none;}

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none; border: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
