/*
Theme Name: We create photos
Theme URI: http://wecreatephotos.com/
Description: An e-commerce-based site for Linus' and Dennis' photo project.
Version: 0.5
Author: Linus Bohman
*/


/* RESET AND UTILITY ------------------*/
/* meyer 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,
dd, dl, dt, li, ol, ul,
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%;
	line-height: 1;
	font-family: inherit;
	text-align: left;
	vertical-align: baseline;}

a img, :link img, :visited img {
	border: 0;}

table {
	border-collapse: collapse;
	border-spacing: 0;}

ol, ul {
	list-style: none;}

q:before, q:after, blockquote:before, blockquote:after {
	content: "";}

/* clearfix */
.widget_wp_shopping_cart:after,
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;}
.widget_wp_shopping_cart,
.clearfix {
	display: inline-block;}
html[xmlns] .widget_wp_shopping_cart,
html[xmlns] .clearfix {
	display: block;}
* html .widget_wp_shopping_cart,
* html .clearfix {
	height: 1%;}


/* GENERAL LAYOUT -------------------*/
#contentwrap,
#header {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	margin-top: 20px;
	margin-bottom: 40px;
}

#presentation {
  border-bottom: 5px solid #222;
  padding: 20px 20px 0 20px;
  width: 920px;
  position: relative;
}

#maincontent {
	width: 620px;
	float: right;
}

#introduction,
#sidebar {
	width: 300px;
	float: left;
}
#sidebar {
	margin-right: 40px;
}

#sidebar ul#pages,
#sidebar > ul#widgets > li {
	margin-bottom: 30px;
	padding: 15px;
}

#orderform {
	width: 480px;
	float: right;
	padding: 20px 20px 0 20px;
	border-top: 10px solid #222;
  border-left: 10px solid #222;
  border-right: 10px solid #222;
  background-color: #FFF;
}

#product-categories {
	padding: 10px;
}

#footer {
  width: 100%;
  background: #000;
  clear: both;
}

#presentation #introduction {
  height: 400px;
}
#presentation #orderform {
  min-height: 400px;
}


/* GENERAL APPEARANCE -------------------*/
body {
	color: #222;
	background: #FFF url(bilder/stripeback.png) top left repeat;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
}

#introduction {
  position: absolute;
  bottom: 0px;
  padding: 20px 20px 0 20px;
	border-top: 10px solid #222;
  border-left: 10px solid #222;
  border-right: 10px solid #222;
  border-top-right-radius: 20px;
	-moz-border-radius-topright: 20px;
	-webkit-border-top-right-radius: 20px;
  border-top-left-radius: 20px;
	-moz-border-radius-topleft: 20px;
	-webkit-border-top-left-radius: 20px;
	font: bold 35px/1.2em Helvetica, Arial, sans-serif;
	background: #FFF url(bilder/linusanddennis.jpg) bottom center no-repeat;
}

#introduction a {
	text-decoration: none;
	color: #222;
	text-decoration: none;
	border-bottom: 1px dotted #888;
}

#orderform {
  border-top-right-radius: 20px;
	-moz-border-radius-topright: 20px;
	-webkit-border-top-right-radius: 20px;
  border-top-left-radius: 20px;
	-moz-border-radius-topleft: 20px;
	-webkit-border-top-left-radius: 20px;
}

h1 {
  font: bold 35px/1.2em Helvetica, Arial, sans-serif;
}

a {
}

#sidebar ul#pages,
#sidebar > ul#widgets > li {
	border: 10px solid #222;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	background-color: #FFF;
}

#sidebar .widget ul li {
  margin: 5px 0 0 7px;
}
#sidebar .widget ul li a:before {
  content: "»";
  padding-right: 5px;
}
#sidebar .widget ul li a {
  text-decoration: none;
  color: #222;
}
#sidebar .widget ul li a:hover {
  text-decoration: underline;
}


#sidebar h2 {
	font-weight: bold;
	font-size: 20px;
	line-height: 1.2em;
}

.visitshop a,
.emptycart a,
.gocheckout a,
a.free_image_download,
button,
input[type="submit"] {
	border-radius: 15px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
  padding: 4px 10px;
  font: normal 12px/12px Helvetica, Arial, sans-serif;
  background-color: #222;
  color: #FFF;
  border: 2px solid #222;
  text-decoration: none;
}

.visitshop a:hover,
.emptycart a:hover,
.gocheckout a:hover,
a.free_image_download:hover,
button:hover,
input[type="submit"]:hover {
  background-color: #444;
  cursor: pointer;
}

input.make_purchase,
#shopping-cart .gocheckout a {
  background-color: #cc1515;
}

input.make_purchase:hover,
#shopping-cart .gocheckout a:hover {
  background-color: #ff2323;
}

/* FOOTER -------------------*/
#footer-inner {
	background: #000 url(bilder/behindbars.jpg) top left no-repeat;
	height: 515px;
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#footer p {
  position: absolute;
  top: 440px;
}
#footer .linus {
  left: 245px;
}
#footer .dennis {
  right: 238px;
}

#footer a.web,
#footer a.twitter {
  display: block;
  height: 48px;
  width: 48px;
  float: left;
  text-indent: -9999em;
	filter: alpha(opacity=0.3);
	-moz-opacity: 0.3;
	opacity: 0.3;
}

#footer a.web:hover,
#footer a.twitter:hover {
  filter: alpha(opacity=1);
	-moz-opacity: 1;
	opacity: 1;
}

#footer a.twitter {
  background-image: url(bilder/icon-twitterbird.png);
  margin-right: 10px;
}
#footer a.web {
  background-image: url(bilder/icon-home.png);
}


/* WYSIWYG -------------------*/
.postcontent {
  line-height: 1.3em;
  font-size: 1.2em;
  border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border: 5px solid #123600;
	background: transparent url(bilder/transgreen.png);
	padding: 15px;
}
.postcontent p {
  line-height: 1.3em;
  margin-bottom: 1em;
}

.postcontent strong {
  font-weight: bold;
}

.postcontent em {
  font-style: italic;
}
.postcontent h2 {
  font-weight: bold;
  font-size: 1.6em;
  line-height: 1.1;
  margin-top: 1em;
}

.postcontent h2:first-child {
  margin-top: 0;
}

.post-head a,
.postcontent a {
  color: #C9C202;
  font-weight: bold;
  text-decoration: none;
}

.post-head a:hover,
.postcontent a:hover {
  text-decoration: underline;
}


/* PRODUCT LISTING -------------------*/

/* I didn't like the old CSS - it was full of bogus and hard to style. The rewritten version is in the theme styles.
	 First, stripping styles that are already there. */
#products_page_container div.textcol div.imagecol,
#products_page_container div.textcol {
	margin-left: 0 !important;
	min-height: auto !important;
	position: static;
}

#products_page_container div.textcol form {
	min-width: 0;
}
/* End style strip */

.productdisplay {
	max-width: 250px;
	float: left;
	border: 5px solid #1f4b0a;
	background: transparent url(bilder/transgreen.png);
	padding: 15px;
	margin: 0 10px 20px;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
}

.prodtitles {
	font-weight: bold;
	font-size: 20px;
	line-height: 1.2em;
	margin: 7px 0;
}

.prodtitles a {
	color: #222;
	border: 0;
	text-decoration: none;
}

.prodtitles a:hover {
  text-decoration: underline;
}

.wpsc_loading_animation {
	display: inline;
}

.wpsc_buy_button {
  margin-bottom: 13px;
}

.textcol .wpsc_description {
	position: absolute;
	background-color: #000;
	color: #FFF;
	padding: 10px;
	max-width: 226px;
	display: none;
	filter: alpha(opacity=0.7);
	-moz-opacity: 0.7;
	opacity: 0.7;
}
.textcol:hover .wpsc_description {
	display: block;
}

.wpsc_product_price {
  font-weight: bold;
  font-size: 1.4em;
  margin-bottom: 5px;
  margin-top: -2px;
}


/* CHECKOUT -------------------*/
body.page-id-4 .postcontent > table.productcart {
  width: 100%;
}

body.page-id-4 table.wpsc_checkout_table {
  margin-top: 2em;
}

body.page-id-4 form.adjustform input[type="text"],
body.page-id-4 table.wpsc_checkout_table input#wpsc_checkout_form_18 {
  padding: 4px;
  border: solid #222 1px;
}
body.page-id-4 table.wpsc_checkout_table input#wpsc_checkout_form_18 {
  width: 245px;
  margin-left: 10px;
}
body.page-id-4 form.adjustform input[type="text"] {
  width: 10px;
}

body.page-id-4 div#wpsc_shopping_cart_container {
  margin-top: 1em;
}

body.page-id-4 table.wpsc_checkout_table p {
  margin-top: 1em;
}

body.page-id-4 div.postcontent p:first-child {
  border-bottom: 2px solid #123600;
  margin-bottom: 1em;
}

body.page-id-4 form.wpsc_checkout_forms {
  border-top: 2px solid #123600;
}

body.page-id-4 div.postcontent p:first-child {
  padding-bottom: 2em;
}
body.page-id-4 table.productcart #checkout_total {
  margin-bottom: 1em;
  display: block;
  margin-left: 7px;
}
body.page-id-4 table.productcart tr.total_price {
  font-weight: bold;
}

body.page-id-4 div#wpsc_shopping_cart_container tr.total_tax,
body.page-id-4 table.productcart tr.firstrow {
  display: none;
}

body.page-id-4 .productcart tr.product_row td:first-child {
  width: 55px;
}

input.make_purchase {
  font-weight: bold;
  font-size: 25px;
  line-height: 25px;
  padding: 10px 15px;
  border-width: 5px;
	border-radius: 30px;
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
}


/* CART STYLING -------------------*/
/* Widget */
#shopping-cart table {
	width: 100%;
	margin: 1em 0;
}
#shopping-cart table th {
	font-weight: bold;
}

/* "You just added"-message */
#sliding_cart p:first-child {
	padding: 10px;
	font-style: italic;
	background-color: #eee;
	margin: 0.5em 0;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

/* Checkout/empty cart buttons */
#shopping-cart span.total {
  display: block;
}

#shopping-cart .visitshop {
  margin: 15px 0 10px;
}

#shopping-cart .gocheckout,
#shopping-cart form.wpsc_empty_the_cart {
  display: block;
  margin: 2em 0 10px;
}
#shopping-cart .gocheckout {
  float: right;
}
#shopping-cart form.wpsc_empty_the_cart {
  float: left;
}

#shopping-cart .totalhead {
  font-weight: bold;
}


/* PHOTO REQUEST FORM -------------------*/
#orderform input[type="text"] {
  font-size: 1.3em;
  color: #222;
  font-weight: bold;
  padding: 2px;
  border: 0;
  border-bottom: 1px solid #DDD;
  width: 98%;
}

#orderform label {
  color: #555;
}

#orderform .explanation {
  color: #888;
}

.tdomf_form fieldset {
  padding: 0 0 5px 0 !important;
}

.tdomf_form fieldset.text {
  padding: 0 0 20px 0 !important;
}

.tdomf_form .required {
  font-weight: normal !important;
}

.tdomf_form #tdomf_form1_send {
  margin: 1em 0;
}

.tdomf_form_message {
  line-height: 1.3em;
  font-size: 1.2em;
  border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border: 5px solid #123600;
	background: transparent url(bilder/transgreen.png);
	padding: 15px !important;
}

.tdomf_form_message font {
  color: #000;
  font-weight: bold;
  margin-top: 1em;
  display: block;
}
.tdomf_form_message br {
  display: none;
}
.tdomf_form_message font br {
  display: block;
  margin-top: 4px;
}

/* LIGHTBOX -------------------*/
#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#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;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(http://www.linusbohman.se/lightbox/images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://www.linusbohman.se/lightbox/images/nextlabel.gif) right 15% no-repeat; }


#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;	}	

#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}
	
	
/* Bug fixes that are not my fault */
#widgetshoppingcart h3 {
	display: none;					/* After pressing "empty cart" this h3 shows up. Not sure why. */
}

.tdomf_shadow {
  top: auto !important;
  left: auto !important;
  width: 454px !important;
}
#ajaxProgress1 {
  left: 536px !important;
  width: 330px !important;
}
