body { 
	background: url(../img/background.jpg) no-repeat right top fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	color: #000000;
	margin-bottom: 30px !important;
}
body#preview {
	background-image: none;
	background-color: #ebebeb;
}

h1, h2, h3 {
	font-family: "Roboto";
}
img { max-width: 100%; }
.button {
	-webkit-appearance: none;
}
.text-center { text-align: center; }
.right { float: right; }

input, select, textarea {
	-webkit-appearance: none;
}

body#preview header {
-webkit-box-shadow: 0px 5px 22px 0px rgba(143, 143, 143, 0.6);
-moz-box-shadow:    0px 5px 22px 0px rgba(143, 143, 143, 0.6);
box-shadow:         0px 5px 22px 0px rgba(143, 143, 143, 0.6);
}
body#preview footer { display:none; }

header {
	background: #FFFFFF;
	height: 95px;
	position: relative;
	z-index: 100;
}
header ul {
	margin: 0;
}
header ul li {
	padding: 15px 15px 0 15px;
	height: 80px;
	float: left;
	border-right: solid 1px #e8e8e8;
	font-family: "Roboto", Arial, Sans-serif;
	font-size: 12px;
	text-transform: uppercase;
}
header ul li.right {
	float: right;
}
header ul li.logo img {
	margin-top: 20px;
}
header ul li.breadcrumb.short { display: none; }
header ul li.breadcrumb label, header ul li.product label, header ul li.totals label {
	font-weight: 700;
	text-transform: uppercase;
	padding-bottom: 10px;
}
header ul li.breadcrumb span {
	text-decoration: none;
	color: #999999;
	float: left;
}
header ul li.breadcrumb span:first-of-type {
	padding-left: 0;
}
header ul li.breadcrumb span:last-child {
	padding-right: 0;
	background: none;
}
header ul li.breadcrumb span.active, header ul li.breadcrumb span i {
	color: #4b85c5;
	border-bottom: solid 1px #4b85c5;
	font-weight: 700;
}
header ul li.breadcrumb span.arrow {
	padding-right: 5px;
	padding-left: 5px;
	background: url(../img/arrow.png) center center no-repeat;
	width: 27px;
	height: 16px;
}
header ul li.product .current-product, header ul li.totals .total {
	font-size: 20px;
	color: #4c85c5;
	font-weight: 700;
}
header ul li.product label {
	padding-bottom: 10px;
}
header ul li.product a {
	font-size: 12px;
	text-transform: none;
	color: #4b85c5;
	font-weight: 500;
}
header ul li.totals { border-left: solid 1px #e8e8e8; }
header ul li.cart { padding: 15px 25px 0 25px; }
header ul li.cart img { margin-top: 7px; }
header .menu-toggle { width: 20px; height: 20px; background: url(../img/menu-toggle.png) 0 0 no-repeat; position: absolute; top: 15px; left: 12px; display: none; }

#mobile-menu { display: none; }
#mobile-menu, #mobile-menu li {
	margin: 0;
}
#mobile-menu li {
	width: 100%;
	text-align: center;
	background: #4c85c5;
	color: #ffffff;
	padding: 10px 0;
}
#mobile-menu li label {
	padding-bottom: 5px;
}
#mobile-menu li .current-product {
	font-size: 20px;
	text-transform: uppercase;
	line-height: 30px;
}
#mobile-menu li a {
	font-size: 12px;
	color: #ffffff;
}

footer {
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 100%;
	text-align: center;
	color: #ffffff;
}
footer.basic {
	position: relative;
	margin-top: 40px;
	bottom: auto;
}

/* FILE UPLOAD */
.file-upload {
	background: #FFFFFF;
	border-radius: 10px;
	position: absolute;
	width: 284px;
	height: 400px;
	top: 50%;
	left: 50%;
	margin-top: -150px;
	margin-left: -142px;
	font-family: "Roboto";
	font-size: 14px;
} 
.file-upload .icon {
	height: 170px;
	border-bottom: solid 1px #e8e8e8;
	background-position: center center;
	background-repeat: no-repeat;
	width: 100%;
}
.file-upload .icon.upload {
	background-image: url(../img/icon-upload.png);
}
.file-upload .icon.error {
	background-image: url(../img/icon-error.png);
}
.file-upload .icon.spinner {
	background-image: url(../img/loader2.gif);
}
.file-upload .instructions {
	padding: 30px 20px;
	color: #999999;
	line-height: 22px;
	border-bottom: solid 1px #e8e8e8;
}
.file-upload .cta {
	padding: 20px 20px 0 20px;
}
.file-upload .cta a.button, .product-selection .button, .crop-tool .button, #preview .button, .certificate .button {
	display: block;
	font-weight: 500;
	font-size: 15px;
	color: #FFFFFF;
	text-align: center;
	padding: 10px 0;
	background: #23ad11;
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 5px;
}

/* Product Family Selection */
.product-selection {
	padding: 30px 0;
	color: #FFFFFF;
}
.product-selection h1 {
	text-transform: uppercase;
	color: #FFFFFF;
	font-size: 28px;
	font-weight: 700;
}
.product-selection img {
	max-width: 100%;
}
.product-selection h2 {
	text-transform: uppercase;
	color: #FFFFFF;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
}
.product-selection .button, .crop-tool .button {
	border: none;
	padding: 10px 25px;
	cursor: pointer;
}

/* Cropping */
div#avpw_controls {
	margin-top: 50px;
}
#aviary-editor {
	width: 100%;
	height: 600px !important;
}
#aviary-editor.spinner, .crop-tool {
	background: url(../img/loader2a.gif) center center no-repeat;
}

.crop-tool {
	min-height: 300px;
	margin-top: 50px;
	text-align: center;
}
.crop-tool .crop-presets {
	margin-bottom: 15px;
}
.crop-tool .crop-presets a {
	font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	border-radius: 5px;
	background: #FFFFFF;
	border: 2px solid #fff;
	margin: 5px auto 0px auto;
	color: #4b85c5;
	text-transform: uppercase;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 8px 10px;
	transition: background-color 0.25s ease;
	text-shadow: none;
	text-decoration: none;
	margin-left: 5px;
}
.crop-tool .crop-presets a.selected {
	color: #FFFFFF;
	background: #4b85c5;
}

.crop-tool img {
	max-width: 100%;
	max-height: 400px;
}
.crop-tool .button {
	margin-top: 20px;
}
.crop-tool .invertPreset {
	color: #FFFFFF;
	font-weight: 700;
}
.crop-tool .restore {
	margin: 30px 0;
}
.crop-tool .restore a {
	padding: 10px 20px;
	border: solid 1px #FFFFFF;
	color: #FFFFFF;
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: none;
}

/* Size Selector */
.size-selector {
	position: absolute;
	height: 280px;
	width: 730px;
	top: 50%;
	margin-top: -140px;
	left: 50%;
	margin-left: -365px;
	background-color: #FFFFFF;
	border-radius: 5px;
	overflow: hidden;
}
.size-selector h1 {
	color: #000000;
	font-size: 15px;
	text-transform: uppercase;
	text-align: center;
	border-bottom: solid 1px #ccc;
	line-height: 15px;
	padding: 15px 0 10px 0;
	font-weight: 700;
}
.size-selector .slider-wrapper {
	padding: 10px 50px;
	position: relative;
}
.size-selector .slider-wrapper .prev-slide {
	position: absolute;
	left: 20px;
	top: 50%;
	margin-top: -9px;
	width: 11px;
	height: 19px;
	background: url(../img/slider-left.png) 0 0 no-repeat;
}
.size-selector .slider-wrapper .next-slide {
	position: absolute;
	right: 20px;
	top: 50%;
	margin-top: -9px;
	width: 11px;
	height: 19px;
	background: url(../img/slider-right.png) 0 0 no-repeat;
}
.size-selector .slider li { padding: 10px; font-size: 12px; font-family: "Roboto"; color: #999999; text-align: center; cursor: pointer; }

.size-selector .slider li.unavailable { opacity: 0.5; }
.size-selector .slider li img { padding-bottom: 5px; }
.size-selector .slider li p { margin-bottom: 0; line-height: 15px; }

.size-image i { display:none; position: absolute; bottom: 10px; right: 0px; width:27px; height: 27px; z-index: 100; background: url(../img/icon-selected.png) 0 0 no-repeat; }
.size-image { position: relative; }
.size-selector .slider li.selected { background: #f3f3f3; }
.size-selector .slider li.selected .size-image i { display: block; }

/* Size Slider */
.slider    { overflow:hidden; position:relative; }
.slider ul { margin:0; padding:0; }
.slider li { float:left; margin:0 0px 0 0; list-style:none; }
.slider ul { width:100%; }

/* Product Finishing */
body#preview .container {
	position: static;
}
.finishing-panel {
	position: absolute;
	top: 120px;
	left: -130px;
	width: 170px;
	height: 75%;
	z-index: 1000;
	background: #4b85c5;
	color: #FFFFFF;
	border-radius: 0 5px 5px 0;
	border: solid 1px #FFFFFF;
	border-left: none;
	-webkit-box-shadow: 2px 0px 15px 0px rgba(143, 143, 143, 0.75);
	-moz-box-shadow:    2px 0px 15px 0px rgba(143, 143, 143, 0.75);
	box-shadow:         2px 0px 15px 0px rgba(143, 143, 143, 0.75);
	padding: 50px 10px;
	box-sizing: border-box;
	font-size: 12px;
	font-family: "Roboto";
}
.finishing-panel .handle {
	position: absolute;
	top: 50%;
	right: 5px;
	margin-top: -8px;
	background: url(../img/panel-open-out.png) 0 0 no-repeat;
	width: 15px;
	height: 17px;
	cursor: pointer;
}
.finishing-panel .up, .finishing-panel .down {
	position: absolute;
	left: 50%;
	margin-left: -10px;
	width: 20px;
	height: 12px;
}
.finishing-panel .up {
	top: 15px;
	background: url(../img/slider-up.png) 0 0 no-repeat;	
}
.finishing-panel .down {
	bottom: 15px;
	background: url(../img/slider-down.png) 0 0 no-repeat;	
}

#preview .hint, #preview .hint1 {
	width: 110px;
	position: absolute;
	font-family: "Roboto";
	font-weight: 500;
	font-size: 11px;
	text-transform: uppercase;
	color: #666666;
	line-height: 15px;
	text-align: left;
}

.finishing-panel .hint1 {
	top: 20%;
	left: 180px;
	padding-left: 60px;
	background: url(../img/hint-arrow-nw2.png) left top no-repeat;
}
.finishing-panel ul {
	height: 100%;
	overflow: hidden;
	width: 127px;
}
.finishing-panel li {
	cursor: pointer;
	position: relative;
}
.finishing-panel li img {
	padding: 5px;
	background: #FFFFFF;
	border: solid 1px #000000;
	max-width: 100%;
	width: 115px;
}
.finishing-panel li.selected i {
	position: absolute;
	right: 4px;
	top: 64px;
	width:27px;
	height: 27px;
	z-index: 100;
	background: url(../img/icon-selected.png) 0 0 no-repeat;
}
.finishing-panel li.shadowbox-color.disabled {
	opacity: 0.3;
}

.format-panel {
	position: fixed;
	bottom: -190px;
	width: 50%;
	left: 50%;
	margin-left: -25%;
	min-height: 150px;
	background: #4b85c5;
	color: #FFFFFF;
	border-radius: 5px 5px 0 0;
	border: solid 1px #FFFFFF;
	border-bottom: none;
	-webkit-box-shadow: 2px 0px 15px 0px rgba(143, 143, 143, 0.75);
	-moz-box-shadow:    2px 0px 15px 0px rgba(143, 143, 143, 0.75);
	box-shadow:         2px 0px 15px 0px rgba(143, 143, 143, 0.75);
}
.format-panel .handle {
	position: absolute;
	left: 50%;
	top: 5px;
	margin-left: -8px;
	background: url(../img/panel-open-up.png) 0 0 no-repeat;
	width: 15px;
	height: 17px;
	cursor: pointer;
	z-index: 1000;
}
.format-panel .hint {
	right: -165px;
	bottom: 230px;
	width: 110px;
	padding-left: 55px;
	background: url(../img/hint-arrow-sw.png) left bottom no-repeat;
}
.format-panel {
	padding: 20px 20px 10px 20px;
}
.format-panel ul {
	margin-bottom: 0;
}
.format-panel ul li {
	float: left;
	margin-right: 20px;
	margin-bottom: 0;
	font-size: 12px;
	font-family: "Roboto";
	color: #FFFFFF;
	text-align: center;
	cursor: pointer;
}
.format-panel ul li.selected i {
	display: block;
}

.preview-image {
	text-align: center;
	margin-top: 30px;
	box-sizing: border-box;
}
.preview-image img {
	max-width: 100%;
	max-height: 500px;
	box-sizing: border-box;
	-webkit-box-shadow: 3px 9px 15px 0px rgba(143, 143, 143, 0.75);
	-moz-box-shadow:    3px 9px 15px 0px rgba(143, 143, 143, 0.75);
	box-shadow:         3px 9px 15px 0px rgba(143, 143, 143, 0.75);
}
.preview-image.spinner img {
	background: none !important;
	box-shadow: none;
}
.preview-image.framed img {
	padding: 50px;
	background: #FFFFFF;
}
.preview-image.aluminium-mount img {
	padding: 0px;
	background: #FFFFFF;
}
.preview-image.black img {
	border: solid 10px #000000;
}
.preview-image.aluminium-mount.black img {
	background: #252527;
}

/* FRAME STYLES */
.preview-image.aluminium-mount.shadowbox-black img, .preview-image.aluminium-mount.shadowbox-black .cert {
	background: #252527;
	border: solid 10px #000000;
	padding: 10px;
}
.preview-image.aluminium-mount.shadowbox-white img, .preview-image.aluminium-mount.shadowbox-white .cert {
	background: #f3f3f3;
	border: solid 10px #FFFFFF;
	padding: 10px;
}
.preview-image.aluminium-mount.shadowbox-black-wood img, .preview-image.aluminium-mount.shadowbox-black-wood .cert {
	background: #252527;
	border: solid 10px #000000;
	padding: 10px;
}
.preview-image.framed.framed-blackaluminium img, .preview-image.framed.framed-blackaluminium .cert {
	border: solid 10px #000000;
}
.preview-image.framed.framed-white-wood img, .preview-image.framed.framed-white-wood .cert {
	background: #f3f3f3;
	border: solid 10px #FFFFFF;
}
.preview-image.framed.framed-matt-mahogany img, .preview-image.framed.framed-matt-mahogany .cert {
	border: solid 10px #6d2411;
}
.preview-image.framed.framed-light-wood img, .preview-image.framed.framed-light-wood .cert {
	border: solid 10px #e5cdb5;
}


#preview .actions {
	font-family: "Roboto";
	font-size: 15px;
	color: #999999;
}
#preview .actions .button {
 	display: inline;
 	border: none;
 	padding: 10px 25px;
 	width: 250px;
 	margin: 30px 0 15px 0;
 	cursor: pointer;
}
#preview .actions a {
	color: #4c85c5;
	font-weight: 500;
}
#preview .actions a:hover {
	text-decoration: none;
}

/* CERTIFICATE */
.certificate {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -215px;
	margin-top: -300px;
	width: 430px;
	height: 600px;
	background: #FFFFFF;
	border-radius: 5px;
	-webkit-box-shadow: 3px 9px 15px 0px rgba(143, 143, 143, 0.75);
	-moz-box-shadow:    3px 9px 15px 0px rgba(143, 143, 143, 0.75);
	box-shadow:         3px 9px 15px 0px rgba(143, 143, 143, 0.75);
	font-family: "Roboto";
}
.certificate h2 {
	font-size: 15px;
	color: #000000;
	font-weight: 500;
	text-align: center;
	padding: 25px 0 5px 0;
	text-transform: uppercase;
	line-height: 18px;
	margin-bottom: 0;
}
.certificate a {
	font-size: 12px;
	color: #5189c7;
	text-align: center;
	display: block;
}
.certificate .block {
	border-top: solid 1px #dddddd;
	padding: 10px 20px;
}
.certificate form {
	margin-top: 20px;
	font-family: "Roboto";
	font-size: 14px;
	color: #999999;
}
.certificate form p {
	margin-bottom: 10px;
}
.certificate form p label {
	line-height: 22px;
}
.certificate form p label span {
	float: right;
	font-size: 12px;
	color: #cccccc;
}
.certificate form p input, .certificate form p textarea {
	width: 100%;
	padding: 10px;
	border: solid 1px #dddddd;
	border-radius: 5px;
	box-sizing: border-box;
	margin-bottom: 0px;
	resize: none;
}
.certificate form p.comment {
	border-top: solid 1px #dddddd;
}
.certificate .button {
	margin-top: 10px;
}
.needsfilled {
	border: solid 1px #ff0000 !important;
	background: #fbeeee !important;
}

#preview-image {
	position: relative;
	cursor: pointer;
}
#preview-image .hint {
	position: absolute;
	right: -185px;
	top: 20%;
	padding-left: 55px;
	background: url(../img/hint-arrow-nw.png) left top no-repeat;
}
#preview-image .cert { 
	position: relative;
	top: 0;
	margin: 0 auto;
	z-index: 1000;
	display: none;
	-webkit-box-shadow: 3px 9px 15px 0px rgba(143, 143, 143, 0.75);
-moz-box-shadow:    3px 9px 15px 0px rgba(143, 143, 143, 0.75);
box-shadow:         3px 9px 15px 0px rgba(143, 143, 143, 0.75);
}
#preview-image .cert .inner {
	background: #FFFFFF url(../img/certificate.jpg) 0 0 no-repeat;
	padding: 10px;
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -100px;
	margin-left: -75px;
	z-index: 1000;
	height: 200px;
	width: 150px;
	font-family: "Roboto";
	color: #231f20;
}
#preview-image .cert .inner h3 {
	font-size: 9px;
	text-align: center;
	line-height: 9px;
	width: 95%;
	margin-top: 40px;
	text-transform: uppercase;
	margin-bottom: 0;
}
#preview-image .cert .inner em {
	font-size: 6px;
	margin-top: 0px;
	line-height: 8px;
	display: inline-block;
	float: left;
	width: 100%;
	margin-bottom: 20px;
	text-transform: uppercase;
}
#preview-image .cert .inner p {
	font-size: 3px;
	line-height: 3px;
	text-align: left;
}
#cartForm .button {
	border: none;
	display: block;
	margin: 20px auto;
	padding: 10px 20px;
	width: 250px;
	cursor: pointer;
}
.certificate.cart {
	height: 250px;
	margin-top: -125px;
}
.certificate.cart h2 {
	font-size: 22px;
	margin-bottom: 15px;
}
.certificate.cart .button.blue {
	background-color: #4c85c5 !important;
}