/*
Theme Name: Galligani
Theme URI: http://galligani.no/
Description: Galligani's default theme
Version: 1.0
Author: Fredrik Sørlie & Asbjørn Ulsberg
*/

* {
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  background: #f0e9e0 url('images/background.png') top center no-repeat;
}

body {
  font-family: Tahoma, Helvetica, Sans-Serif;
  font-size: .8em;
  width: 900px;
  margin: 0 auto;
}

a img {
  border: none;
}

.ingress {
	font-size: 1.2em;
}

ul {
	list-style-type: none;
}

h2,
#content.login h1 {
	font-size: 1.3em; font-weight: normal; text-transform: uppercase;
	color: #5D5953;
	background-color: transparent;
	clear: both;
	margin-bottom: 10px;
}

h3 {
	font-size: 1.1em; font-weight: normal; text-transform: uppercase;
	color: #5D5953;
	background-color: transparent;
	clear: both;
	margin-bottom: 5px;
}

hr {
  clear: both;
  visibility: hidden;
}

/*
 * Navigation and Header Styles
 */
#header ul li a {
	width: 120px; height: 75px;
	text-decoration: none;
	float: left;
	margin: 0; padding-top: 30px;
}

#header ul li a:link,
#header ul li a:active,
#header ul li a:visited {
  color: #f0e9e0;
	background-color: transparent;
}

#header ul li a:hover,
#header ul li.current_page_item a:link,
#header ul li.current_page_item a:active,
#header ul li.current_page_item a:visited,
#header ul li.current_page_ancestor a:link,
#header ul li.current_page_ancestor a:active,
#header ul li.current_page_ancestor a:visited {
  color: #fff;
  background: transparent url('images/menu-hover-background.png') top center no-repeat;
}

a,
a:focus, 
a:link, 
a:active { 
	outline: none;
}

a, a:visited {
	color: #5f5b55;
	background-color: transparent;
}

a:hover {
	color: #000;
	background-color: transparent;
	text-decoration: none;
}

p.edit,
p.vendor {
  margin-top: 1.5em;
}

p.edit {
  clear: left;
}

/*
 * Layout Styles
 */
#container {
	padding-bottom: 40px;
}

#search {
	width: 900px; height: 45px;
	position: relative;
}
	
#header {
	width: 900px; height: 75px;
	background: transparent url('images/top.png') top center no-repeat;
}

h1#logo {
	width: 100px; height: 35px;
	float: left;
	margin: 20px 0 0 20px;
}
		
#header ul {
	height: 75px;
	float: right;
}
		
#header ul li {
	width: 120px; height: 75px;
	text-transform: uppercase; text-align: center;
	float: left; display: inline;
	margin: 0; padding: 0;
}
		
#main {
  background: #D5D0C9 url('images/bg-subcontent.png') top left repeat-x;
	height: auto !important;
	height: 500px;
	min-height: 500px;
}

#content {
  float: left;
	width: 520px;
	margin: 20px 0 20px 20px;
	overflow: hidden;
	min-height: 220px;
}

#content p {
	margin-bottom: 16px;
}

#content.login form.loginform,
#content.login ul#cycnav,
#content.login form#your-profile #pass-strength-result,
#content.login form#your-profile .indicator-hint {
  display: none;
}

	
/*
 * Sidebar Styles
 */
#sidebar {
  float: right;
	width: 300px;
	text-align: right;
	margin: 20px 20px 20px 0;
}

#sidebar p.description {
  text-align: left;
  margin-bottom: .5em;
}

#sidebar .box {
	color: #D9D2CA;
	background: url('images/bg-profile.png') top no-repeat;
	padding-top: 10px;
}

#sidebar .box .l {
	color: #D9D2CA;
	background: url('images/bg-profile.png') bottom no-repeat;
	padding-bottom: 10px;
}

#sidebar .box .ll {
	background: #5D5953;
	padding: 10px 20px;
	text-align: right;
}

#sidebar .box h2 {
	color: #D9D2CA;
	font-size: 1.2em;
	font-weight: normal;
	text-transform: uppercase;
	margin-bottom: 10px;
}

#sidebar .box a {
	color: #f0e9e0;
	background-color: transparent;
}

#sidebar input.text {
	width: 252px !important; height: 25px; line-height: 25px;
	color: #615D58;
	font-size: 14px;
	border: 0;
	background: transparent url('images/bg-input-login.png') left top;
	margin-bottom: 10px; padding: 0 4px;
}

#sidebar input.submit {
	width: 100px !important;
	float: left;
}

#login h2 a {
  display: block;
  text-align: center !important;
}

#login form {
	width: 100%;
	display: block;
	clear: both;
	margin-bottom: 10px;
}

#login .check label {
  display: inline;				  
}

#login label .f {
  color: #a0a090;
}

#login .options a {
	display: block;
	clear: both;
}

#register-new-user {
  margin-bottom: 1em;
}

#register-new-user.box h2 {
  margin-bottom: 0;
  text-align: center;
}

#register-new-user-description {
  text-align: left;
}

#register-new-user-description p {
  margin-bottom: 1em;
}

#wish-list-meta {
  margin-top: 1em;
}

#wish-list-meta p {
  text-align: left;
}

#wish-list-meta input.text {
  font-size: .9em;
}

/*
 * Footer Styles
 */
#footer {
	height: 35px; line-height: 35px;
	color: #D9D2CA;
	background: url('images/footer-background.png') no-repeat;
	border-top: 1px solid #f0e9e0;
	padding: 0 10px;
	text-align: center;
}

/*
 * Form Styles
 */
input.text {
	width: 392px; height: 25px; line-height: 25px;
	color: #615D58;
	font-size: 14px;
	border: 0;
	display: block;
	clear: both;
	background: transparent url('images/bg-input-profile.png') left top;
	margin-bottom: 10px; padding: 0 4px;
}

input.submit {
	height: 25px; line-height: 25px;
	color: #f0e9e0;
	font-size: 14px;
	text-align: center;
	border: 0;
	background: transparent url('images/bg-input-submit.png') right top;
	display: block;
	cursor: hand;
	cursor: pointer;
	width: 100px;
	margin-bottom: 20px;
}

label {
	display: block;
	clear: both;
	margin-bottom: 5px;
}

input.submit:hover {
	background-position: right bottom;
}

#search input.text {
	width: 239px !important; height: 25px; line-height: 25px;
	color: #615D58; font-size: 14px;
	border: 0;
	background: transparent url('images/bg-input-search.png') left top;
	position: absolute; top: 10px; right: 61px;
	padding: 0 4px;
}
		
#search input.submit {
	width: 60px !important;
	position: absolute; top: 10px; right: 0;
}

.search .post {
  margin-bottom: 1em;
}


/*
 * Table Styles
 */
table {
	border-collapse: separate;
	width: 100%;
}

table th {
	border: 0;
	padding: 4px;
}

table td {
	background: #E6E1DA;
	padding: 4px 8px;
}

table.products thead,
table.products caption {
  display: none;
}

table.public tr.sale td,
table.products tr.sale td {
  background: #ffd502 url('images/bg-sale-gradient.png') top left repeat-x;
  font-weight: bold;
}

table.public td.price,
table.products td.price {
  text-align: right;
  width: 10em;
}

table.public td.price span.ordinary,
table.products td.price span.ordinary {
  float: left;
  font-weight: normal;
}

table.products td.list {
  width: 1em;
}

table.products td.list button {
  display: block;
  text-indent: -1000em;
  background: transparent none 0 0 no-repeat;
  border: none;
  width: 16px;
  height: 16px;
  cursor: hand;
  cursor: pointer;
}

table.products td.list button.add {
  background-image: url('images/icon-add.png');
}

table.products td.list button.remove {
  background-image: url('images/icon-remove.png');
}

table.products td.list button:hover {
  background-position: 0 -24px;
}

/*
 * Vendor and Product Styles
 */
div.vendors ul,
div.products ul {
	width: 540px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style-type: none !important;
}

div.vendors ul li,
div.products ul li {
	display: inline;
}

div.vendors ul li a,
div.products ul li a {
	width: 250px;
	height: 60px;
	background: url('images/bg-product-list-item.png') no-repeat left top;
	float: left;
	display: block;
	overflow: hidden;
	position: relative;
	margin: 0 20px 20px 0;
	cursor: pointer;
}

div.vendors ul li a:link,
div.vendors ul li a:visited,
div.products ul li a:link,
div.products ul li a:visited {
	color: #f0e9e0;
	background-color: transparent;
	text-decoration: none;
}

div.vendors ul li a:hover,
div.products ul li a:hover {
	color: #f0e9e0;
	background-color: transparent;
	text-decoration: none;
	background-position: 0 -70px;
}

div.vendors ul li a span.thumb,
div.products ul li a span.thumb {
	width: 60px;
	height: 60px;
	display: block;
	position: absolute;
	left: 10px;
	top: 0;
	border: 1px solid #D5D0C9;
	border-width: 0 1px;
	background-color: #f0e9e0;
	background: #f0e9e0 none no-repeat left top;
}

div.vendors ul li a span.title,
div.products ul li a span.title {
	height: 60px;
	display: block;
	font-size: 1.3em;
	font-weight: normal;
	text-transform: uppercase;
	margin-bottom: 10px;
	position: absolute;
	left: 70px;
	top: 0;
	padding: 15px 0 0 10px;
	width: 150px;
}

div.product {
  margin-bottom: 2em;
}

div.product-info {
  clear: both;
  margin-top: 1em;
}


/*
 * Product Set Styles
 */
div.product-set h2 {
  clear: none;
  margin-bottom: 1.1em;
}

div.product-set .picture {
  float: left;
  margin-right: 10px;
}


/*
 * Wish List dialog Styles
 */
#wish-list-dialog p {
  margin-bottom: 1em;
}

#wish-list-dialog h2, 
#wish-list-dialog h3, 
#wish-list-dialog h4, 
#wish-list-dialog h5, 
#wish-list-dialog h6 {
  color: #F0E9E0;
	background-color: transparent;
}

#wish-list-dialog h3 {
  margin-bottom: .5em;
}

#wish-list-dialog .actions {
  position: absolute;
  bottom: 0;
  text-align: right;
}

#wish-list-dialog form div {
  margin-bottom: .5em;
}

#wish-list-dialog .wish-lists {
  height: 180px;
  overflow: auto;
}

#wish-list-dialog .wish-lists label {
  display: inline;
  clear: none;
}

#create-new-list {
  display: none;
}


/*
 * Wish List view Styles
 */
#content.wish-list p {
  margin-top: 1em;
}

#content.wish-list .action {
  margin-top: .5em;
}

#content.wish-list .action input {
  float: right;
}

#content.wish-list .complete label {
  display: inline;
}

#content.wish-list .complete .explanation {
  clear: both;
}

#content.wish-list table {
  margin-top: 1em;
}

#content.wish-list table th.title,
#content.wish-list table td.title {
  text-align: left;
}

#content.wish-list table th.quantity,
#content.wish-list table td.quantity {
  width: 4em;
  text-align: right;
}

#content.wish-list table td.quantity {
  background-color: #fff;
  padding: 0;
}

#content.wish-list table.public td.quantity {
  background-color: #E6E1DA;
  padding: 2px 4px;
}

#content.wish-list table td.quantity input {
  width: 4em;
  height: 2em;
  border: none;
  padding: 2px 4px;
  text-align: right;
}

#content.wish-list table tr.new td.title {
  background-color: #fff;
  padding: 0;
}

#content.wish-list table tr.new td.title input {
  height: 2em;
  border: none;
  padding: 2px 4px;
  width: 98%;
}

/*
 * Favorite styles
 */
#favorite {
  float: right;
}

#favorite .description {
  margin-right: .5em;
  display: inline-block;
  background: transparent url('images/bubble-arrow.png') 100% 50% no-repeat;
  padding-right: 9px;
}

#favorite .description span {
  display: inline-block;
  background-color: #ffffdf;
  border: 1px solid #ff0;
  border-right-width: 0;
  padding: 2px .5em;
}

#favorite a {
  text-indent: -1000em;
  background: transparent url('images/star.png') 0 0 no-repeat;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  float: right;
}

#favorite a:hover,
#favorite a.on:hover {
  background-position: 0 -18px;
}

#favorite a.on {
  background-position: 0 -34px;
}


/*
 * Supplier Styles
 */
div.supplier .picture {
  float: left;
  margin-right: 10px;
  background-color: #f0e9e0;
  width: 170px;
  height: 170px;
  text-align: center;
  border: 1px solid #5D5953;
}

div.supplier .picture img {
  margin-top: 10px;
  max-width: 170px;
}


/*
 * Bread Crumb Styles
 */
div#bread-crumbs {
  font-size: .8em;
  padding: .5em 0 .5em 20px;
  background-color: #D5D0C9;
  border: 1px solid #f0e9e0;
  border-width: 1px 0;
  color: #5D5953;
}

/*
 * Help Page Styles
 */
div#help-pages {
  background: transparent url('images/separator.png') top center no-repeat;
  margin-top: 1em;
  padding-top: 3em;
} 

div.help-page {
  margin: 1em 0 2em;
  padding-top: 1em;
  border-top: 1px solid #918c86;
}

div.help-page.first {
  padding-top: 0;
  border-top: none;
}

div.help-page h2 {
  font-size: 1em;
}

/*
 * Favorite Page Styles
 */
div.favorites .products {
  margin-top: 1em;
}


/*
 * Contact Page Styles
 */
div.contact div.vcard {
  padding-bottom: 1em;
  margin-bottom: 1em;
}

div.contact div.vcard span.label {
  display: inline-block;
  width: 4em;
}

div.contact div.opening-hours {
  margin-bottom: 2em;
}

div.contact div.opening-hours span.days {
  display: inline-block;
  width: 9em;
}

div.contact div#map {
  margin-top: 1em;
  width: 520px;
  height: 400px;
}

/*
 * Disclaimer Styles
 */
div#disclaimer {
  clear: left;
}


/*
 * Navigation Styles
 */
div.navigation {
  clear: left;
}

div.navigation .next {
  float: right;
}

div.navigation .previous {
  float: left;
}


/*
 * SimpleModal Basic Modal Dialog
 * http://www.ericmmartin.com/projects/simplemodal/
 * http://code.google.com/p/simplemodal/
 *
 * Copyright (c) 2009 Eric Martin - http://ericmmartin.com
 *
 * Licensed under the MIT license:
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * Revision: $Id: basic.css 212 2009-09-03 05:33:44Z emartin24 $
 *
 */

#basic-modal-content {
  display: none;
}

/* Overlay */
#simplemodal-overlay {
  background-color: #000;
  cursor: wait;
}

/* Container */
#simplemodal-container {
  top: 45px !important;
  height: 500px;
  width: 700px;
  color: #bbb;
  background: #5D5953 url('images/loading.gif') 50% 50% no-repeat;
  color: #F0E9E0;
  border: 4px solid #444;
  padding: 12px;
  text-align: center;
}

#simplemodal-container h2 {
  color: #F0E9E0;
	background-color: transparent;
}

#simplemodal-container a {
  color: #ddd; 
	background-color: transparent;
}

#simplemodal-container a.modalCloseImg {
  background: url('images/x.png') no-repeat;
  width: 25px;
  height: 29px;
  display: inline;
  z-index: 3200;
  position: absolute;
  top: -15px;
  right: -16px;
  cursor:pointer;
}

#simplemodal-container #basic-modal-content {
  padding: 8px;
}