

/* CSS Document */

	/* remember that padding is the space inside the div box and margin is the space outside the div box */
	
  /* syntax: "padding: t r b l;" - top right bottom left (TRouBLe)*/

/* General tags */

a {
	color: #38b4e7;
	text-decoration: none;
	font-weight: bold;
}

h1 {
	font-size: 24px;
	padding: 0 0 20px 0;
	font-weight: bold;	
}

h2, h3  {
	font-size: 20px;
	padding: 0 0 16px 0;
	font-weight: bold;
}

h4 {
	font-weight: bold;
	padding: 0 0 16px 0;	
}

p {
	padding: 0 0 10px 0;
	line-height: 16px;
	
}

strong {
	font-weight: bold;
}

label {
	color: #647731;
	font-weight: bold;
}

/* Denna klass styr utssendet på sajtens knappar */
.btn {
	background: #92ae48;
	display: inline-block;
	height: 23px;
	width: auto;
	border: 1px solid #647731;
	font-size: 10px;
	padding-bottom: 2px;
	font-weight: bold;
	color: #fff;
	cursor: pointer;
	
}

/* General layout */

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333;
}

/* Behållare som innesluter allt innehåll på sidan */
div#pagewrapper {
	width: 900px;
	background: #FFFFFF;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	position: relative;	
}

/* Behållare för logotypen, här centrerad */
div.logo {
	display: block;
	padding: 45px 0 0 0;
	height: 110px;
	text-align: center;
}

#inloggad {
	position: absolute;
	right: 0;
	top: 10px;
	font-weight: bold;
}
/* Huvudytan, till höger om menyn */
div.main_content {
	width: 730px;
	float: left;
}

/* product menu */

div#menu {
	width: 150px;
	float: left;
	margin: 0 18px 0 0;
	border: 1px solid #647731;
}

/*Rubriker i produktmeny och varukort */
div#menu h3,
#korg h3 {
	display: block;
	background: #92ae48;
	color: #fff;
	text-align: center;
	padding: 5px 5px 4px 5px;
	font-size: 14px;
	font-weight: bold;
	/*text-transform: uppercase;*/
	border-bottom: 1px solid #647731;
}

ul.menu_list {
	padding: 10px 0 10px 0;
}

ul.menu_list a {
	color: #333;
	display: block;
	padding: 0 10px 3px 10px;
	font-weight: normal;
}

li.sel a {
	font-weight: bold;
	
}

/* product listing */

/* påverkar även andra tabeller på sajten, om man bara vill komma åt en tabell får man ge den en speciell klass och hänvisa till den i css:en */
th {
	font-weight: bold;
	color: #647731;
}

td, th {
	padding: 5px 2px 5px 2px;
}

td.name {
	width: 195px;
}

tr.even {
	background: #f7f7f7;
}

td.actions {
	text-align: right;
}

td.artnr {
	width: 85px;
}

/*skriver ut artikelnumret ovanpå thumbsen för att listan ska se snyggare ut och allt ska få plats*/
a.artnr {
	position: absolute;
	left: 173px;
}

/* still för köp/lägg till-knappen */
.btn_kop {
	background: #92ae48;
	display: inline-block;
	height: 23px;
	width: 60px;
	border: 1px solid #647731;
	font-size: 10px;
	padding-bottom: 2px;
	font-weight: bold;
	color: #fff;
	cursor: pointer;	
	
}

/* Single product */

/* bredd på tabell med info + produktbild - tar upp hela mainytan */
table.product {
	width: 730px;
}
/* tabell med info */
table.product .product_table {
	width: 415px;
}
/* produktbilden - till höger */
table.product .product_image {
	width: 315px;
	text-align: right;
}

/* product images */

/*styr produktthumbsen*/

.artbild_thumb {
	/* width: 75px; */
	margin: 0 0 2px 0;
}

/* puffs */

/* En rad innehåller max fyra puffar, radens höjde styrs av den högsta puffen */
.puff_row {
	position: relative; /* är satt för att puff_priset ska vara positionerat i förhållande till denna container */
	margin-left: -43px; /* minus marginal för att puffraden ska hamna rätt när varje enskild puff har en vänstermarginal på 43px */
	margin-bottom: 20px;
}

.puff_row p{
	padding-top: 10px;
}
.puff {
	width: 150px; /* matcha mot phpThumbs bildstorlek */
	margin-left: 43px;
	display: block;
	float: left; /*radas upp til vänster efter varandra */
	padding: 0 0 20px 0;
}

.puff img {
	/* storlek sätts i config.php, mha phpThumb */
	/* height: 99px; width: 150px; */
	margin: 0 0 2px 0;
}

.puff_pris {
	position: absolute; /* sätts i bottnenkant av puffraden, för att alla priser ska hamna på samma nivå, i detta fall 10px från botten*/
	bottom: 10px;
}

/* Shopping cart */

#korg {
	display: block;
	position: absolute;
	right: 0;
	top: 45px;
	border: 1px solid #647731;
	width: 230px;
	min-height: 75px;
}


/* search field */
#search {
	float:right;
}
/* style of field if serarching */
.search_active {
	background-color:#FF9;
}


/* text som skrivs ut i varukorgen */
#korg span {
	display: block;
	padding: 10px;
	width: 140px;	
}
/* text som skrivs ut i varukorgen */
#korg .korg_info {
	padding: 0 0 10px 10px;
	width: 140px;
}
/* felmeddelande som skrivs ut i varukorgen */
#korg .korg_err{
	padding: 10px 0 10px 10px;
	width: 140px;
	font-weight: bold;
	color: red;
}

/* varukorgsikonen */
#korg a.cart {
	display: block;
	position: absolute;
	right: 6px;
	top: 28px;
	width: 35px;
	height: 30px;
	background: url(../img/bg_cart.gif) left top no-repeat;
}
/* länken "till varukorgen" */
#korg a.link {
	font-size: 10px;
	position: absolute;
	right: 6px;
	top: 60px;
	
}

.err {
	color: #C00;
	font-weight: bold;
	border: thin solid #C00;
	padding: 4px;
	position: static;
	width: 400px;
	background-color: #F0F0F0;
}

/* Misc */

/* rest från Magnus tidigare css, osäker när det skrivs ut och vågar därför inte ta bort det */
.box {
	color: #000;
	border: thin solid #000;
	padding: 4px;
	position: static;
	width: 400px;
	background-color: #F0F0F0;
}
.msg {
	color: #000;
	border: thin solid #000;
	padding: 4px;
	position: static;
	width: 400px;
	background-color: #F0F0F0;
}



