/* ----- Resets og globale regler ----- */

* {
margin : 0;
padding : 0;
}
fieldset {
border : none;
}
img {
border : none;
}
li {
list-style : none;
}
legend {
display : none;
}
h1, h2, h3, h4 {
font-family : "trebuchet ms", tahoma, sans-serif;
font-size: 100%;
margin: 0;
padding: 0;
}
h2 {
font-size: 140%;
margin-bottom: 8px;
}

h3 {
font-size: 130%;
line-height: 100%;
}
.hidden {
display: none;
}
a {
text-decoration : none;
color: #ff9800;
}
a:hover {
text-decoration: underline;
color: #fffae9;
}
div.hr {
height : 1px;
background : url(/elm/bg_hr.gif) repeat-x 0 0;
}
div.hr hr {
display : none;
}
p.bg {
background : transparent url(/elm/krim_toppmeny_gradring_30x1px.gif) repeat-x bottom left;
}
p.banner {
margin: 0 auto 20px 0;
}
#main .item p.price {
font-weight: bold;
margin-top: 2px;
}

#main .article {
margin: 0 20px;
}
.clear {
clear: both;
padding-top: 1px;
margin-bottom: 16px;
background : url(/elm/bg_hr.gif) repeat-x bottom center;
}

#min_side #main p {
margin: 10px 0;
}

#handlekurv #main p {
margin: 10px 0;
}

/* ----- Felles struktur på sida ----- */

body {
margin : 0 auto;
text-align : center;
font-family : tahoma, "trebuchet ms", sans-serif;
font-size : small;
color: #fff4d1;
background : #343434;
}
#framework {
width : 960px;
margin : 0 auto;
text-align : left;
}
#header {
overflow : hidden;
margin : 0 auto;
padding : 0;
width : 960px;
height : 140px;
}
#content {
overflow: hidden;
clear : both;
width : 960px;
margin : 0 auto;
padding: 20px 0 0 0;
color : #fff4d1;
background: #21211c;
border-top : 1px solid #b0a984;
}
#startside #content, #kategoriside #content {
background : #21211c url(/elm/bg_three_columns.gif) repeat-y 0 0;
}

#min_side #content, #hovedbok #content, #medlemsservice #content {
background: #21211c url(/elm/bg_two_columns.gif) repeat-y 0 0;
}

#footer {
clear : both;
overflow: hidden;
margin: 0;
padding: 0;
width: 960px;
background : #21211c;
border-top : 1px solid #b0a984;
}



/* ----- Menyen ----- */

#menu {
height :30px;
font-family : "trebuchet ms", tahoma, sans-serif;
font-weight : bold;
border-top : 1px solid #000000;
border-bottom : 1px solid #000000;
background : #000 url(/elm/krim_toppmeny_gradring_30x1px.gif) repeat-x bottom left;
}

#menu ul {
border-top : 1px solid #b0a984;
}
#menu li {
float : left;
display : block;
margin : 0;
padding : 0;
width : 159px;
height : 30px;
border : 1px solid #b0a984;
border-width : 0 1px 0 0;
}
#menu li a.active {
color : #ff9800;
}
#menu li a {
display : block;
width : 147px;
padding : 0 0 0 10px;
color : #e4e3d3;
line-height: 29px;
border-right : 1px solid #000;
}
#menu li#last a {
width : 149px;
border-right : 1px solid #21211c;
}
#menu li#last {
width : 160px;
margin-right : 0;
border-right : none;
}




#hovedbok #menu li.mainrun a {
color: #ffcc80;
}


#min_side #menu li.my_site a {
color: #ffcc80;
}

#medlemsservice #menu li.service a {
color: #ffcc80;
}

#handlekurv #menu li.pay a {
color: #ffcc80;
}





/* ----- Søkefelt ----- */

#search {
clear: left;
width : 960px;
height : 32px;
margin : 0 auto;
padding : 0;
background : #21211c;
color : #cfcab0;
border-bottom : 1px solid #000;
}
#search fieldset {
float : right;
width : 300px;
height : 22px;
margin : 5px 0;
padding : 0;
border: 0;
background: transparent;
}
#search fieldset .button {
float : right;
display: inline;
width : 48px;
height : 22px;
margin-right : 20px;
padding : 0;
border : none;
}
#search input {
float : left;
width : 220px;
height : 17px;
margin: 0;
padding : 3px 0 2px 2px;
background : #fff url(/elm/soekefelt_bakgrunn_22x1px.gif) repeat-x 0 0;
}



/* ----- Stien ----- */

ul#breadcrumb  {
float: left;
display: inline;
width : 630px;
margin-left: 10px;
padding: 0;
font-family : "trebuchet ms", tahoma, sans-serif;
}
ul#breadcrumb li {
float: left;
display : inline;
margin: 0 5px 0 0;
padding : 0;
color : #fffae9;
font-size: 85%;
line-height: 32px;
}
ul#breadcrumb li a {
/*background: transparent url(/elm/pilh.gif) right center no-repeat;*/
padding : 0 12px 0 0;
}
ul#breadcrumb li a#active {
color : #ffcc80;
}



/* ----- Venstre sidenavigasjon ----- */

#submenu {
display: inline;
float : left;
margin : 0;
width : 172px;
font-family : "trebuchet ms", tahoma, sans-serif;
border : 0 solid yellow;
}
#submenu ul {
width : 160px;
padding-right : 12px;
}
#submenu ul li {
display : block;
width : 152px;
margin-bottom : 3px;
margin-left : 8px;
padding : 5px 0 5px 0;
color : #cfcab0;
font-weight : bold;
background : url(/elm/bg_hr.gif) repeat-x bottom left;
}
#submenu ul li a {
display : block;
color : #cfcab0;
}
#submenu ul li a.active {
color : #ffcc80;
}
#submenu ul li#current a {
width : 137px;
color : #8f2f2f;
background : url(/elm/arrow_submenu.gif) no-repeat 0 center;
padding-left : 18px;
}
#submenu ul li.leveltwo {
background : #fff;
}



/* ----- Høyre kolonne med handlekurv ----- */

#promotion {
float : right;
margin : 0;
width : 320px;
}




/* ----- Handleprosessen ----- */

#handlekurv {
}
#handlekurv .clear {
background: transparent;
}
#handlekurv ul#shop {
float: left;
width: 780px;
}
#handlekurv ul#shop li {
float: left;
display: block;
width: 120px;
height: 30px;
line-height: 30px;
color: #b4b099;
background: #33332b;
text-align: center;
border-right: 1px solid #fffae9;
}
#handlekurv ul#shop li a {
}
#handlekurv a.remove {
margin-left: 8px;
padding: 0 5px 0 15px;
background: url(/elm/arrow_shop.gif) left center no-repeat;
}
#handlekurv ul#shop li#active {
background: #ff9800;
color: #33332b;
font-weight: bold;
}
#handlekurv ul#shop li.complete {
background: #b4b099;				/*ffb84d*/
color: #33332b;
}
#handlekurv ul#check {
float: left;
width: 780px;
margin: 16px 0;
padding-bottom: 16px;
}
#handlekurv ul#check li {
float: left;
display: block;
margin: 0 10px 0 0;
padding: 0 5px;
height: 30px;
line-height: 30px;
background: transparent url(/elm/krim_toppmeny_gradring_30x1px.gif) repeat-x center left; 
text-align: center;
}
#handlekurv ul#check li a {
padding: 0 5px 0 15px;
background: url(/elm/arrow_shop.gif) left center no-repeat;
}
#handlekurv ul#check li.forward a {
padding: 0 15px 0 5px;
background: url(/elm/arrow_forward.gif) right center no-repeat;
}
#handlekurv ul#check li.upward a {
padding: 0 5px 0 15px;
background: url(/elm/arrow_upward.gif) left center no-repeat;
}





/* ----- To kolonner - Smal venstre, bred høyre ----- */

#submenu {
display: inline;
float : left;
margin : 0;
padding-bottom: 20px;
width : 172px;
font-family : "trebuchet ms", tahoma, sans-serif;
border : 0 solid yellow;
}

#min_side #main, #medlemsservice #main, #hovedbok #main {
float : left;
margin : 0;
padding-bottom: 20px;
width : 788px;
background : transparent; 
}



/* ----- Tre kolonner ----- */

#submenu {
display: inline;
float : left;
margin : 0;
width : 172px;
font-family : "trebuchet ms", tahoma, sans-serif;
border : 0 solid yellow;
}

#startside #main, #kategoriside #main {
float : left;
margin : 0;
width : 468px;
background : transparent;
}

#promotion {
float : right;
margin : 0;
width : 320px;
}



/* ----- Boklistinger - felles ----- */

#main .product_list {
overflow: hidden;
margin : 0 20px 16px 20px;
width : 600px;
}
#main .product_list .item {
float: left;
display: inline;
overflow: hidden;
margin: 0 20px 0 0;
padding: 0 0 16px 0;
width: 280px;
}
#main img.cover {
float : left;
margin-right : 10px;
width : 96px;
}
#main .item h3 {
float: right;
margin-bottom : 4px;
padding : 0;
width: 174px;
color : #fffae9;
}
#main .item p {
margin-left : 106px;
margin-top: 5px;
}
#main .item p.author {
margin: 0 0 10px 106px;
}
#main .item p.order {
margin-top: 10px;
}




/* ----- Boklistinger - høyre kolonne ----- */


#promotion .product_list {
padding: 0 0 0 20px;
}
#promotion .product_list .item {
float: left;
margin: 0 auto 16px 0;
padding: 0 0 16px 0;
width: 280px;
background : url(/elm/bg_hr.gif) repeat-x bottom center;
}
#promotion img.cover {
float : left;
margin-right : 10px;
width : 60px;
}
#promotion .item h3 {
float: right;
margin : 0 0 4px 0;
padding : 0;
width: 210px;
font-family : "trebuchet ms", tahoma, sans-serif;
color : #fffae9;
}
#promotion .item p {
margin-left : 70px;
line-height : 120%;
}
#promotion .item p.author {
margin: 0 0 10px 70px;
}
#promotion .item p span.price{
color: #000;
}
#promotion .item p.order {
margin-top: 10px;
}
#promotion .banner {
float: none;
margin : 0 20px 16px 20px;
width: 280px;
}
#promotion img.banner {
float: none;
margin : 0 20px 16px 20px;
width: 280px;
}



/* ----- Boklistinger - tilpasset midtfeltet ----- */



#startside #main .product_list, #kategoriside #main .product_list {
width: 428px;
}

#startside #main .product_list img.banner, #kategoriside #main .product_list img.banner {
margin: 0 20px 16px 20px;
}

#startside #main .product_list .item, #kategoriside #main .product_list .item {
width: 428px;
margin-bottom: 16px;
padding: 0 0 16px 0;
background : url(/elm/bg_hr.gif) repeat-x bottom center;
}

#startside #main .item h3, #kategoriside #main .item h3 {
width: 322px;
}


/* ----- Boklistinger - 2 titler i bredden, midtfeltet ----- */

#startside #main .two_products, #kategoriside #main .two_products {
float: left;
width: 468px;
}
#startside #main .product_list .two_products .item, #kategoriside #main .product_list .two_products .item {
margin-right: 10px;
width: 217px;
background : transparent;
border: 0px solid white;
}
#startside #main .product_list .two_products img.cover, #kategoriside #main .product_list .two_products img.cover {
float : none;
margin-right: 0;
margin-bottom: 10px;
width : 80px;
}
#startside #main .product_list .two_products .item h3, #kategoriside #main .product_list .two_products .item h3 {
float: none;
width: 217px;
font-size: 120%;
}
#startside #main .product_list .two_products .item p, #kategoriside #main .product_list .two_products .item p {
margin-left : 0;
}




/* ----- Detaljside bok ----- */

#kategoriside #main .product_detail .item {
float: left;
display: inline;
width: 428px;
margin: 0 20px;
padding: 0 0 16px 0;
background : url(/elm/bg_hr.gif) repeat-x bottom center;
}
#kategoriside #main .product_detail .item img.cover {
float : left;
margin-right : 15px;
width : 125px;
}
#kategoriside #main .product_detail .item h3 {
float: right;
margin : 0 0 8px 0;
padding : 0;
width: 288px;
font-size: 150%;
color : #fffae9;
}
#kategoriside #main .product_detail .item p {
margin-left : 140px;
line-height : 120%;
}
#kategoriside #main .product_detail .item p.author {
margin: 0 0 15px 140px;
}
#kategoriside #main .product_detail .item p span.price{
font-weight: bold;
}
#kategoriside #main .product_detail .item p.order {
font-size: 110%;
letter-spacing: 1px;
margin-top: 10px;
margin-bottom: 8px;
}
#kategoriside #main .product_detail .article {
clear: both;
margin: 0 40px 0 20px;
padding: 20px 0;
}
#kategoriside #main .product_detail .article p {
margin-bottom: 8px;
line-height: 140%;
}
#kategoriside #main .product_detail .article div {
margin-bottom: 8px;
line-height: 140%;
}

#kategoriside #main .product_detail .article div p
{
	margin-left:0;
	margin-right:0;
	padding-left:0;
	padding-right:0;
}

#hovedbok #main .product_list {
/*width: 428px;*/
}

#hovedbok #main .product_list .banner {
margin: 0 20px 16px 20px;
}



/* ----- Detaljside hovedbok - NB: denne er uferdig ----- */

#hovedbok #main .product_list .product_detail .item {
float: left;
display: inline;
width: 428px;
margin: 0 20px;
padding: 0 0 16px 0;
background : url(/elm/bg_hr.gif) repeat-x bottom center;
}
#hovedbok #main .product_list .product_detail .item img.cover {
float : left;
margin-right : 15px;
width : 125px;
}
#hovedbok #main .product_list .product_detail .item h3 {
float: right;
margin : 0 0 8px 0;
padding : 0;
width: 288px;
font-size: 150%;
color : #fffae9;
}
#hovedbok #main .product_list .product_detail .item p {
margin-left : 140px;
line-height : 120%;
}
#hovedbok #main .product_list .product_detail .item p.author {
margin: 0 0 15px 140px;
}
#hovedbok #main .product_list .product_detail .item p span.price{
font-weight: bold;
}
#hovedbok #main .product_list .product_detail .item p.order {
font-size: 110%;
letter-spacing: 1px;
margin-top: 10px;
margin-bottom: 8px;
}
#hovedbok #main .product_list .product_detail .article {
clear: both;
margin: 0 40px 0 20px;
padding: 20px 0;
}
#hovedbok #main .product_list .product_detail .article p {
margin-bottom: 8px;
line-height: 140%;
}
#hovedbok #main .product_list .product_detail .article div {
margin-bottom: 8px;
line-height: 140%;
}

/*#hovedbok #main .product_list .product_detail .article div p
{
	margin-left:0;
	margin-right:0;
	padding-left:0;
	padding-right:0;
}*/


/* ----- Detaljside bok - om forfatter og utdrag høyre kolonne ----- */

#promotion .about {
margin: 0 20px 10px 20px;
padding-bottom: 8px;
background : url(/elm/bg_hr.gif) repeat-x bottom center;
}
#promotion .about p {
margin-bottom: 8px;
}
#promotion h3 {
margin: 0 20px 8px 20px;
}
#promotion .article {
margin: 0 20px;
}






/* ----- Definisjonsliste medlemsinfo ----- */

dl {
width: 450px;
padding: 10px 0;
overflow: hidden;
}

dt {
float: left;
width: 180px;
padding: 2px 0;
font-weight: bold;
}
dd {
float: right;
width: 270px;
padding: 2px 0;
}



/* ----- Skjemaer ----- */

form {
margin: 16px 0;
}
fieldset {
background : url(/elm/bg_hr.gif) repeat-x bottom center;
padding: 4px 0;
width: 385px;
}
#content #main fieldset p {
padding: 0;
margin: 4px 0;
}
label {
float: left;
width: 180px;
}
label#emne,label#melding {
margin-bottom: 8px;
}
input {
width: 200px;
height: 18px;
border: 0;
padding : 3px 0 2px 2px;
margin: 0;
background : #fffae9 url(/elm/soekefelt_bakgrunn_22x1px.gif) repeat-x 0 0;
}
input.checkbox {
float: left;
width: auto;
margin: 4px 8px 0 0;
background: #cfcab0;
padding: 0;
}
input.button {
width: auto;
height: 20px;
border: 0;
padding : 1px 3px 3px 3px;
margin: 5px 0 0 0;

background :#fffae9;
}

select {
display: block;
clear: left;
margin-bottom: 16px;
width: 200px;
background: #fffae9;
}
textarea {
clear: left;
display: block;
width: 480px;
height: 200px;
padding: 5px;
background: #fffae9;
}



/* ----- Tabeller ----- */

table {
border-collapse: collapse;
width:  auto;
margin-bottom: 8px;
}
caption {
margin: 8px 0;
padding: 3px 0 3px 10px;
font-weight: bold;
text-align: left;
background: #33332b;
text-transform: uppercase;
}
th, td {
padding: 3px 10px 3px 10px;
}
col {
}
tr.odd {
background: #33332b;
}




/* ----- Footer i detalj - hentet fra Historieklubben ----- */


#footer .section 
{
float: left;
margin: 8px 0 0 0;
padding: 0 0 16px 0;
width: 160px;
}


#footer .section ul li
{
display: block;
margin-bottom: 0px;
margin-left: 20px;
padding: 2px 0 2px 0;
width: 140px;
color: #fffae9;
font-weight: bold;
}

#footer .section ul li a
{
color: #cfcab0;
font-weight: normal;
}

p.displayinline 
{
	display:inline;
}

p.displayblock
{
	display:block;
}

p.nodisplay
{
	display:none;
}