/*
CSS-file for John Savio
Developed by Eivind Savio
*/
* /*Set's border, padding and margin to 0 for all values*/
{
padding: 0;
margin: 0;
border: 0;
}
body, html {
background: url(/john/layout/images/body_background.gif)  repeat-x #D3D0BF;
color:#000;
font-family:Verdana, Arial, Helvetica, sans-serif;
text-align: center;
height:100%;
}
body {
font-size:  75%;
}
div, td { 
text-align: left;
}
td {
vertical-align: top;
border-collapse: collapse;
padding: 2px;
}
p {
margin: 4px 0 10px 0;
}
a {
color: #000099;
}
a:hover{
color: #0000FF;
text-decoration: none;
}
h1, h2, h3, h4 {
font-family: Trebuchet MS, Arial, Verdana, Helvetica, sans-serif;
font-weight: bold;
padding-bottom: 3px;
}
h1 {
font-size: 1.7em;
}
h2 {
font-size: 1.7em;
}
h3 {
font-size: 1.3em;
}
h4 {
font-size: 1.2em;
}
h2 a, h3 a, h4 a {
text-decoration: none;
color: #000 !important;
}
h2 a:hover, h3 a:hover, h4 a:hover{
color: #999 !important;
}
/*Behandling av FORM og INPUT */
input {
margin: 2px 0 2px 0;
}
input,textarea,select {
background: #D3D0BF;
}
input,textarea,select,option {
border: 1px solid #8F8671;
font-size: 11px;
padding: 2px;
}
.postButton {
padding: 1px;
background-color: #D3D0BF;
color: #8F8671;
font-weight: bold;
cursor:pointer;
}
.postButton:hover {
background:#8F8671;
color: #D3D0BF;
}
legend {
display: none;
}
/*Generell linkdefinering */		
a:link, a:visited {
color: #CB8F0E;
}
a:hover {
color: #8F8671;
}
.clear { clear: both; }
.msg {
color: red;
}
#mainContainer {
margin: 0 auto; /*** Centers the design ***/
width: 775px;
min-height:100%;
background: url(/john/layout/images/maincontainer-background.gif) repeat-y; /*** This is our faux columns ***/
text-align: left; /*** Because we centered the text in body we have to move the text back to left aligning ***/
}
* html #mainContainer {
height: 100%;  /*** IE doesn't support min-height, but instead it handles height as min-height so we need to hack the height ***/
}
/**************************
HEADER
**************************/
#header {
height: 134px;
}
#logo {
width: 364px; 
height: 166px;
float: left;
background:url(/john/layout/images/header/logo-bakgrunn.gif) no-repeat;			
}
#logo h1 {
overflow: hidden;
height: 150px;
width: 194px;
margin-left: 160px;
}
#logo h1 a {
display: block;
overflow: hidden;
padding: 160px 0 0 0;
background:url(/john/layout/images/header/logo.gif) no-repeat;
}
#logo h1 a:hover {
background-position: 0 0;
}
#headerRight {
float: right;
height: 166px;
width: 411px;
background:url(/john/layout/images/header/top_design.gif) no-repeat;					
}
.skip {
position: absolute;
top: -3000px;
}
#headerBottom {
float: left;
padding-left: 170px;
width: 470px;
}
#headerBottom ul {
padding: 10px 0 5px 5px;
}
#headerBottom li {
float: left;
display: inline;
}
#headerTrack {
float: left;
padding: 5px 0 5px 10px;
color: #8F8671;
background-color: #fff;
font-size: 11px;
}
#headerTrack li {
float: left;
display: inline;
margin: 0 5px 0 2px;
}
#headerTrack a {
color: #514F4C;
background:url(/john/layout/images/header/header-track-list.gif) top right no-repeat;
padding: 0 15px 0 0;
text-decoration: none;
}
#headerTrack a:hover {
color: #8F8671;
background:url(/john/layout/images/header/header-track-list.gif) bottom right no-repeat;
}
/**************************
CONTENT AND COLUMNS
**************************/
.outer {
padding-left: 160px;  
}
* html .outer {
padding-right: 120px; /* Normally this shouldn't be in this hack, it should be in .outer, but because of IE7 I had to */
}
.inner {
width: 615px; /*** This width is for non-IE browsers. Mozilla makes this necessary. Be sure to check your layout in different browsers if you changes this value. Especially IE7 seems to create a horisontal scroll if this value is set too large ***/
padding-bottom: 30px;
}
* html .inner {
width: 100%;
}
/*** div.inner is wider than its container, div.outer, and so overlaps to the right, pushing
div.right into the proper position. IE expands div.outer instead, requiring a Tan hack to avoid 
blowing the layout apart. IE gets the original 100% width as in the Livingstone layout.
***/
.float-wrap {
float: left;
width: 640px;
margin-left: -160px; /*** Same length as .outer padding-left but with negative value ***/
}
* html .float-wrap {
width: 640px;
}
#content {
float: right;
width: 480px;
background: #fff;
margin-bottom: 15px;
}
* html #content {
position: relative;  /*** IE needs this  ***/
}
#content ul, #content ol {
margin: 6px 0 10px 30px;
}
#content li {
margin: 3px 0 3px 10px;
}
.ingress {
font-weight: bold;
}
.contentWrap{
padding: 5px 7px 5px 7px;
}
.contentWrap ol, .contentWrap ul {
margin: 3px 0 5px 35px;
}
.contentWrap li {
padding-bottom: 2px;
}
.wrapLeft {
float: left;
padding: 0 5px 10px 5px;
}
.wrapRight {
float: right;
padding: 0 5px 10px 5px;
}
.wrapLeft, .wrapRight {
width: 220px;
word-wrap: break-word;
}
.wrapLeft h3, .wrapRight h3 {
border-top: 1px dotted #C9C9C9;
padding-top: 5px;
}
.imgCls {
margin: 0 0 4px 4px;
float:right;
}
ul.readMore {
font-family: Arial, Tahoma, Verdana, sans-serif;
font-weight: bold;
font-size: 1.1em;

margin:0 !important;
}
ul.readMore li {
display: inline;
margin:0 !important;
}
ul.readMore a {
padding: 3px 0 3px 0;
text-decoration: none;
}
ul.readMore a:hover {
text-decoration: underline;
} 
.tblColor {
background: #f5f5f5;
}
/**************************
LEFT COLUMN
**************************/
/*** div.left is in div.float-wrap, and when div.float-wrap is neg margined to the left, 
div.left is carried over into the proper position. 
***/
#left {
float: left;
width: 150px;
margin-top: -22px;
font-size: 11px;
position: relative;  /*** IE needs this  ***/
}
#left ul {
list-style: none;
margin: 0;
padding: 0;
}
#left li {
padding-bottom: 3px;
font-weight: bold;
}
#left li li {
margin-left: 15px;
padding-top: 2px;
font-weight: normal;
}
#left a, #right a, #footer a {
color: #514F4C;
text-decoration: none;
}
#left a:hover, #left a.navSel, #right a:hover, #footer a:hover {
color: #8F8671;
text-decoration: underline;
}
#left h4, #right h4 {
color: #514F4C;
text-transform: uppercase;
font-family: Arial, Verdana, Helvetica, sans-serif;
}
.leftCol, .rightCol {
padding: 5px;
}
/*************************
RIGHT COLUMN
**************************/
#right {
float: right; 
width: 130px;
margin-top: -90px;
font-size: 11px;
}
* html #right {
margin-right: -120px; /*** IE gets this margin. ***/
position: relative;  /*** IE needs this  ***/
}
#right ul {
list-style: none;
padding-bottom: 4px;
}
#right li {
padding-bottom: 3px;
}
#search {
margin: 7px 0 -5px 2px;
}
#topMenu {
list-style: none;
margin: 0 0 0 2px;
padding: 0;
}
#topMenu li {
width: 30px;
margin: 0;
padding: 0;
}
#topMenu li a {
display: block;
overflow: hidden !important;
padding: 25px 0 0 0;
height: 0 !important;
height /**/ : 25px;
width: 30px !important;
}
#siteMap a { background: url(/john/layout/images/icons/menu-sitemap.gif);}
#contact a { background: url(/john/layout/images/icons/menu-contact.gif);}
#siteMap a:hover, #contact a:hover, #siteMap a.navSel, #contact a.navSel {
background-position: -30px 0;
}
/**************************
FOOTER
**************************/
#footer {
width: 775px;
height: 45px; /*** The drawback with this solution is that the height of the footer can't be flexible. If you add so much content to the footer that it extends 30px, you will get a vertical scrollbar and the content will overflow the footer if you don't set overflow to hidden ***/
margin: 0 auto;
margin-top: -45px; /*** By using a negative margin-top we now moves the footer up the same amount as the footer height to avoid vertical scrolling. Remember, if you use borders and padding on your footer you will have to calculate this in your negative margin-top value also. ***/
background: url(/john/layout/images/strek.gif) no-repeat top center;
}
#footerText {
font-size: 10px;
text-align: center;
padding: 10px 140px 0 180px;
}