/*
-----------------------------------------------
instagoodies.com
author: dan rubin
edited: 2011-05-05
----------------------------------------------- */

/* remember to remove any resets not needed for this design */
@import url("reset.css");

@font-face { 
	font-family: 'Pictos';
	src: url('fonts/pictos-webfont.eot?'),
	     url('fonts/pictos-webfont.woff') format('woff'),
	     url('fonts/pictos-webfont.ttf') format('truetype'),
	     url('fonts/pictos-webfont.svg#webfont') format('svg');
}

/* webfonts.fonts.com */
h1,h2,h3,b,
.home .promo figcaption,
nav li a,
.home .content dt,
.home .promo .price,
.come-again a,
.cart .contents p:first-of-type,
.cart .contents p + p,
.final-warning a,
#simplemodal-container h2,
.special label {
	font-family:"Avenir LT W01 85 Heavy";
	font-weight:normal;
}
.home header h3,
.special label[for="address2"] {
	font-family:"Avenir LT W01 55 Roman";
	font-weight:normal;
}
html.mti-inactive * {
	font-family:"helvetica neue",helvetica,arial,sans-serif !important;
}

html {
	-webkit-font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
	font-family:sans-serif;
}

body {
	min-width:960px;
	color:#444;
	background:url(img/bg-body.png) repeat-x;
}
body.home {
	background:transparent;
}

.wrapper {
	position:relative;
	width:940px;
	margin:0 auto;
}

a,
a:link, a:visited, a:active {
	color:inherit;
}
a:hover {
	color:#67ab9e;
}

img {
	display:block;
}


/* main header */
.wrapper > header {
	position:relative;
	height:3.45em;
}
.home .wrapper > header {
	position:static;
	height:auto;
}
.wrapper > header h1 {
	position:absolute;
	bottom:-12px;
	font-family:"Avenir LT W01 55 Roman";
	font-size:44px;
	text-shadow:0 1px 0 #fff;
}
.wrapper > header h1 a {
	text-decoration:none;
	letter-spacing:-1px;
}

nav {
	position:absolute;
	right:0;
	bottom:1em;
	font-size:13px;
}

nav ul {
	list-style:none;
}
nav li {
	float:left;
	padding:0 .5em;
	border-left:1px solid #ddd;
}
nav li:first-of-type {
	border:none;
}
nav li.account {
	position:relative;
	margin-left:1em;
	border:none;
}
nav li.account:before {
	content:'';
	position:absolute;
	bottom:-1em;
	left:-.5em;
	width:1px;
	height:40px;
	background:#eee;
}
nav li.account .signout {
	font-size:12px;
	opacity:.8;
}

/*nav li a {
	text-decoration:none;
}
nav li.account a {
	text-decoration:underline;
}*/


 /* homepage + thank-you */ 
.home .wrapper {
	padding-top:4em;
}

.home header,
.home .content {
	width:40%;
	margin-bottom:1em;
	background:transparent;
}

.home header h1 {
	position:static;
	font-size:300%;
	letter-spacing:-1px;
	margin-bottom:.5em;
}
.home header h2 {
	font-size:200%;
	line-height:1;
}
.home header h3 {
	margin-top:.15em;
	margin-bottom:.5em;
	font-size:200%;
	line-height:1.1;
	font-weight:normal;
}

div.addthis_toolbox {
	margin-top:20px;
}

.home nav {
	top:2.2em;
	bottom:inherit;
}

.home .content p,
.home .content dl {
	margin-bottom:1em;
	font-size:14px;
	line-height:1.3;
}
.home .content dl {
	border-bottom:2px solid #eee;
}
.home .content dt {
	margin-bottom:.25em;
}
.home .content dd {
	margin-bottom:.5em;
	padding-bottom:.5em;
	border-bottom:1px solid #eee;
}
.home .content dd:last-of-type {
	border:none;
}


/* instagram authentication signin */
.signin h1,
.signin p {
	margin-bottom:.5em;
}
body.error .signin h1 {
	font-size:150%;
}
.signin p {
	font-size:14px;
	line-height:1.3;
	color:#888;
}
.signin p:first-of-type {
	margin:1em 0;
}

a.instagram-signin {
	display:block;
	width:200px;
	height:29px;
	
	background:url(img/btn-instagram-signin.png) no-repeat;
	
	text-indent:-9999em;
}
body.error a.instagram-signin {
	margin:0 auto;
}

a.instagram-signin:hover {
	background-position:0 -29px;
}


/* homepage promo */
.home .promo {
	position:absolute;
	top:110px;
	right:0;
}

.home .promo h1 {
	font-size:14px;
}
.home .promo h1 + p {
	margin-bottom:.5em;
	font-size:12px;
	color:#888;
}
.home .promo .price {
	position:absolute;
	z-index:1;
	top:5.5em;
	left:-1.5em;
	width:3.75em;
	height:3em;
	
	padding-top:.75em;
	
	-webkit-border-radius:50px;
	-moz-border-radius:50px;
	border-radius:50px;
	background-color:rgba(0,0,0,.7);
	
	color:#fff;
	font-size:18px;
	text-shadow:0 1px 0 rgba(0,0,0,.6);
	text-align:center;
}

.home .promo figure {
	display:block;
	position:relative;
	width:400px;
	height:200px;
	overflow:hidden;
}
.home .promo figure:after {
	content:'';
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);
	-moz-box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);
	box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);
	z-index:1;
}
.home .promo figcaption {
	position:absolute;
	left:0;
	bottom:0;
	width:100%;
	padding:1em;
	
	font-size:12px;
	color:#fff;
	text-shadow:1px 1px 0 rgba(0,0,0,.4);
	background-color:rgba(0,0,0,.6);
}


/* thank-you */
.come-again p {
	font-size:14px;
	line-height:1.3;
}
.come-again a {
	
}


/* photo chooser */
.chooser {
	float:left;
	margin-top:20px;
	width:640px;
}
.chooser h1 {
	font-size:30px;
}
.chooser h2 {
	margin:.75em 0;
	font-size:16px;
}
.chooser p {
	font-size:14px;
	line-height:1.3;
}
.chooser p em {
	margin:0 .25em;
	font-size:12px;
	font-style:normal;
	color:rgba(0,0,0,.4);
}
.chooser ul.photos {
	list-style:none;
	margin-top:18px;
}
.chooser ul.photos:after {
	content:'³';
	font-family:'Pictos';
	color:#fff;
	font-size:1px;
}
.chooser .photos li {
	float:left;
	margin-right:15px;
	margin-bottom:15px;
}
.chooser .photos li.last-photo {
	height:145px;
	width:145px;
	
	font-size:90%;
	line-height:148px;
	text-align:center;
	
	color:#aaa;
	background-color:#f4f4f4;
}
.chooser .photos li:nth-of-type(4n) {
	margin-right:0;
}
.chooser .cart .photos li:nth-of-type(4n) {
	margin-right:4px;
}
.chooser .photos li a,
.chooser .photos li img {
	display:block;
	position:relative;
	
	width:145px;
	height:auto;
	
	text-decoration:none;
}

.chooser .photos a.selected {
	-webkit-box-shadow:
		0 0 0 1px white,
		0 0 0 5px #eee
		;
	-moz-box-shadow:
		0 0 0 1px white,
		0 0 0 5px #eee
		;
	box-shadow:
		0 0 0 1px white,
		0 0 0 5px #eee
		;
}
.chooser .photos a:hover {
	-webkit-box-shadow:
		0 0 0 1px white,
		0 0 0 5px #ddd
		;
	-moz-box-shadow:
		0 0 0 1px white,
		0 0 0 5px #ddd
		;
	box-shadow:
		0 0 0 1px white,
		0 0 0 5px #ddd
		;
}
.chooser .photos a.selected:before {
	content:'';
	position:absolute;
	width:100%;
	height:100%;
	
	background-color:rgba(0,0,0,.5);
	
	z-index:1;
}
.chooser .photos a.selected:after {
	content:'³';
	position:absolute;
	top:10px;
	right:10px;
	width:17px;
	height:20px;
	
	padding-left:3px;
	
	font-family:'Pictos';
	font-weight:normal;
	font-size:15px;
	line-height:14px;
	
	color:#fff;
	background-color:#12c70d;
	
	-webkit-border-radius:50px;
	-moz-border-radius:50px;
	border-radius:50px;
	border:2px solid rgba(255,255,255,.95);
	
	-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);
	-moz-box-shadow:0 1px 2px rgba(0,0,0,.3);
	box-shadow:0 1px 2px rgba(0,0,0,.3);
	
	z-index:1;
}

.chooser footer {
	clear:both;
}
.chooser footer button {
	width:305px;
	height:30px;
	margin-left:160px;
	font-size:14px;
}


/* cart wrapper */
.cart-wrapper {
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	width:260px;
}

/* cart */
.cart {
	position:absolute;
	top:76px;
	right:0;
	width:260px;
	padding-top:20px;
}
section.fixed {
	position:fixed;
	top:0;
}
.confirm .cart {
	/* for the confirmation screen */
	position:static;
	width:auto;
	margin-top:27px;
	padding:0;
}
.cart h1 {
	margin-bottom:.5em;
}
.confirm .cart h1 {
	font-size:18px;
	margin-bottom:.25em;
}
.cart .product {
	float:left;
	line-height:24px;
}
.cart .discount {
	float:right;
	height:25px;
	color:#666;
}
.cart .discount p {
	font-size:12px;
	line-height:24px;
}
#discount-code {
	border:1px solid #ddd;
	margin-top:0;
	padding:3px;
	font-family:inherit;
	color:#888;
}
#discount-code:focus {
	color:#666;
}
.discount-fail {
	background-color:rgba(250,21,18,0.15);
}
.cart .contents {
	clear:both;
	margin-bottom:10px;
	padding:11px;
	font-size:12px;
	background-color:#eee;
}
.cart .contents p:first-of-type {
	float:left;
}
.cart .contents p:only-of-type {
	float:none;
	font-weight:normal;
}
.cart .contents p + p {
	float:right;
	font-size:11px;
	color:rgba(0,0,0,.4);
}
.cart .contents ul + p {
	font-size:10px;
	color:rgba(0,0,0,.4);
}
.cart .contents .alert {
	background-color:#67ab9e;
	margin-bottom:.5em;
	padding:.5em .5em .4em;
	color:#fff;
}

.cart ul.photos {
	clear:both;
	list-style:none;
	overflow:auto;
	padding:8px 0 7px;
}
.cart .photos li {
	float:left;
	margin-right:4px;
	margin-bottom:4px;
}
.cart .photos li:nth-of-type(5n) {
	margin-right:0;
}
.confirm .cart .photos li:nth-of-type(5n) {
	margin-right:4px;
}
.cart .photos img {
	width:44px;
	height:auto;
}
.confirm .cart .photos img {
	width:37px;/* fits nicely when all 90 images are displayed. 43px works almost as well. */
}


/* shipping options */
.shipping-options {
	position:absolute;
	right:0;
	top:120px;
	width:240px;
	padding:10px;
	background-color: red;
}


p.final-warning {
	margin:0 -.5em .5em;
	padding:.35em .5em .3em;
	font-size:18px;
	background-color:rgba(250,21,18,0.15);
}
.cart .final-warning {
	font-size:12px;
	margin:0;
}
.final-warning a {
	
}

.confirm .payment-note {
	margin-top:1.25em;
	margin-bottom:1em;
	padding-top:.5em;
	border-top:2px solid #f5f5f5;
}
.confirm .payment-note p {
	margin-bottom:.5em;
}

.cart button {
	width:100%;
	font-size:14px;
}
.confirm .cart button {
	width:60%;
	height:40px;
	font-size:14px;
	color:#555;
}
.confirm .cart .discount button {
	width:auto;
	height:auto;
	font-size:11px;
	color:inherit;
}


/* main footer */
.wrapper > footer {
	clear:both;
	text-align:right;
	padding:1em 0;
	font-size:12px;
	line-height:1.4;
	color:rgba(0,0,0,.45);
}
.wrapper > footer p:first-of-type {
	color:rgba(0,0,0,.6);
}


/* error screen */
body.error {
	background:transparent;
	text-align:center;
	margin:2em 1em 1em;
	min-width:inherit;
}
body.error h1 {
	font-size:200%;
}
body.error h2 {
	font-size:150%;
	margin-bottom:1em;
}
body.error .error-message {
	background-color:rgba(234,74,74,0.5);
	margin:1em;
	padding:.5em;
}
body.error > p:last-of-type {
	border-top:1px solid #eee;
	margin-top:1em;
	padding-top:.5em;
}


/* customize mailchimp's subscription form */
#mc_embed_signup {
	color:inherit;
}
#mc_embed_signup legend {
	margin-left:.5em;
}


/* simple modal styles */
#basic-modal-content, #basic-modal-details, #modal-error {display:none;}

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

/* Container */
#simplemodal-container {
	height:150px;
	width:400px;
	padding:12px;
	color:rgba(255,255,255,.8);
	background-color:rgba(0,0,0,.8);
	
	-webkit-box-shadow:0 0 3px rgba(0,0,0,.1);
	
	-webkit-border-radius:9px;
	-moz-border-radius:9px;
	border-radius:9px;
	}
#simplemodal-container .simplemodal-data {padding:8px;}
#simplemodal-container code {background:#141414; border-left:3px solid #65B43D; color:#bbb; display:block; font-size:12px; margin-bottom:12px; padding:4px 6px 6px;}
#simplemodal-container a {
	float:right;
	margin-top:.5em;
	padding:.2em .4em;
	
	font-size:90%;
	text-decoration:none;
	
	color:#000;
	background-color:rgba(255,255,255,.6);
	
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	border-radius:6px;
}
#simplemodal-container a.modalCloseImg {background:url(../img/basic/x.png) no-repeat; width:25px; height:29px; display:inline; z-index:3200; position:absolute; top:-15px; right:-16px; cursor:pointer;}
#simplemodal-container h2 {font-size:1.5em;color:#84b8d9;}
#simplemodal-container p {
	margin:10px 0;
	line-height:1.2;
}

#basic-modal-details.simplemodal-data h3{
	font-weight: bold;
	border-bottom: 2px solid;
}
#basic-modal-details.simplemodal-data h4{
	margin-left: 15px;
	border-bottom: 2px solid;
}
#basic-modal-details.simplemodal-data p, #basic-modal-details.simplemodal-data blockquote{
	margin-left: 15px;
}
#basic-modal-details a.download-images{
	float:left;
}

/* default close button positioned on upper right corner */
.close {
	background-image:url(../img/close.png);
	position:absolute; right:-25px; top:-25px;
	cursor:pointer;
	height:35px;
	width:35px;
}

div#home_modal{
	background:#fff;
	border:1px solid #606060;
	display:none;
	height:400px;
	margin-left:-200px;
	padding:0 10px;
	width:400px;
	-moz-border-radius:12px;
	-webkit-border-radius:12px
}

div#home_modal>iframe{background:#fff;border:0;height:400px;width:400px}

#home_loading{
	color:#b9b9b9;
	font-family:"Museo 300",Arial,sans-serif;
	font-size:30px;
	height:40px;
	margin:-20px auto 0 auto;position:absolute;top:50%;left:35%;width:100%
}

#home_loading>img{height:32px;vertical-align:text-bottom;margin-left:30px;width:32px}

/* address form for contest winners */
.confirm .special {
	position:absolute;
	top:12.75em;
	right:-9px;
	width:260px;
	
	padding:0 2px 5px 10px;
	
	font-size:12px;
	
	background-color:#e2ffea;
}
.special h2 {
	margin-bottom:.25em;
}
.special header p {
	float:none;
	width:auto;
	margin-bottom:.75em;
	margin-right:10px;
	font-size:14px;
}
.special p {
	float:left;
	width:50%;
	font-size:11px;
	margin-bottom:.5em;
}
.special p.email,
.special p.address,
.special p.address2 {
	width:100%;
}
.special label {
	display:block;
}

.special label.error {
	color:red;
}

.special input {
	width:110px;
	border:1px solid #ddd;
	margin-top:0;
	padding:5px;
	color:#444;
	font-size:13px;
}
.special input[name='email'],
.special input[name='address'],
.special input[name='address2'] {
	width:240px;
}


@media only screen and (max-device-width: 480px) {
* {
	-webkit-text-size-adjust:none;
}
/*body {
	min-width:480px;
}
.wrapper {
	width:460px;
}
.chooser .photos li {
	margin-right:5px;
	margin-bottom:5px;
}
.chooser .photos li a,
.chooser .photos li img {
	width:70px;
}
.chooser footer button {
	width:305px;
	height:30px;
	margin-left:0;
}*/
}

/*** ADMIN ***/

#orders tr:hover{
	color:#fff;
	background-color:#505050;
}

.add-code{
	font-weight:bold;
}

.create-discount{
	display:none;
	width:920px;
	margin:25px 0;
}

.create-discount label[for="amount"], .create-discount input[name="amount"]{
	display:none;
}

.error-notice{
	margin-top:5px;
	color:#C1131E;
}

.required{
	color:#C1131E;
	font-weight:bold;
}

/* css for timepicker */
.ui-timepicker-div .ui-widget-header{ margin-bottom: 8px; }
.ui-timepicker-div dl{ text-align: left; }
.ui-timepicker-div dl dt{ height: 25px; }
.ui-timepicker-div dl dd{ margin: -25px 0 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }