@charset "UTF-8";

/* CSS Document */

html,
body {
	margin: 0;
	padding: 0;
	font-family: 'Roboto Condensed', sans-serif;
	color: #4c5156;
	font-size: 1em;
	font-weight: 300;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.horizOverlay {
	display: none;
}

.legoPrevContainer {
	width: 100%;
	height: 50%;
	box-sizing: border-box;
}

#bottomRow {
	width: 100%;
	height: 27%;
	background: #fff;
	box-shadow: 0 0 5px #ccc;
	/*
	padding-top: 3%;
*/
}

.imageBtns {
	width: 44%;
	max-width: 280px;
	height: 8%;
	margin: 0 auto;
}

.imageBtn {
	position: relative;
	margin-top: 10%;
	display: inline-block;
	height: 40%;
	width: 34px;
}

.btnContainer {
	margin: 0 auto;
	position: relative;
	height: 100%;
	max-width: 768px;
}

.btnsLeft {
	width: 100%;
	height: 48%;
	position: relative;
	/*max-width: 590px;*/
}



.btnsRight {
	position: relative;
	width: 100%;
	height: 36%;
	/*max-width: 367px;*/
}

div.divider {
	border-top: 2px solid #eee;
	position: absolute;
	top: 55%;
	left: 5%;
	width: 90%;
	margin: 0 auto;
	line-height: 0;
	padding: 0;
}
	#drop-target h2.desktop {
		visibility: hidden;
	}
	#drop-target h2.mobile {
		visibility: visible;
	}
@media screen and (max-width: 768px) and (orientation: landscape) {
	.horizOverlay {
		background: #fff;
		width: 100%;
		height: 100%;
		color: #333;
		display: block;
	}
	.legoPrevContainer {
		width: 100%;
		height: 60%;
		box-sizing: border-box;
	}

}

@media screen and (min-width: 768px) {
	.legoPrevContainer {
		width: 100%;
		height: 60%;
		box-sizing: border-box;
	}
	#drop-target h2.desktop {
		visibility: visible;
	}
	#drop-target h2.mobile {
		visibility: hidden;
	}
	#bottomRow {
		position: relative;
		width: 100%;
		height: 17%;
	}
	.imageBtn {
		margin-top: 7%;
	}
	.btnsLeft {
		width: 60%;
		height: 50%;
		float: left;
	}
	.btnsRight {
		width: 38%;
		height: 50%;
		float: right;
	}
	div.divider {
		border-left: 1px solid #eee;
		border-top: none;
		width: 1px;
		top: 8%;
		left: 61%;
		height: 40%;
		line-height: 0;
		margin-top: 1%;
		z-index: 2000;
	}
}

#headerBar {
	position: relative;
	text-align: center;
	width: 100%;
	max-width: 768px;
	margin: 0 auto;
	height: 15%;
	margin-top: 1%;
	z-index: 1;
	background: url(/legofiles/header_title_2.png) no-repeat center center / contain;
}

@media screen and (min-width: 512px) {}

#mainContainer {
	background: #f7f7f7;
	margin: 0 auto;
	text-align: center;
	width: 100%;
	height: 100%;
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
}

h1 {
	color: #3f89c9;
	font-size: 42px;
	font-weight: lighter;
	line-height: 45px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
}

h1 sup {
	font-size: 20px;
}

h2 {
	color: #3f89c9;
	font-size: 32px;
	margin-top: 0;
	font-weight: lighter;
	line-height: 32px;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 10px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
}

h3 {
	color: #3f89c9;
	font-size: 24px;
	margin-top: 0;
	font-weight: lighter;
	line-height: 22px;
	text-align: centers;
	margin-bottom: 10px;
	text-transform: uppercase;
}

img,
div {
	margin: 0;
	padding: 0;
}

span,
p,
ul,
li {
	text-align: left;
}

p {
	margin-bottom: 10px;
}

ul {
	list-style: none;
	list-style-position: outside;
}

a {
	text-decoration: underline;
}

a:hover {
	cursor: pointer;
	text-decoration: none;
}

.strong {
	font-weight: 400;
}

#fullCanvas {
	background: blue;
	display: none
}

.drop-target {
	background: auto;
	border-radius: 6px;
	width: 90%;
	height: 90%;
	max-width: 768px;
	max-height: 768px;
	margin: 0 auto;
	position: relative;
	cursor: pointer;
	z-index: 1;
	vertical-align: middle;
	position: absolute;
	left: 0;
	right: 0;
}

.thumbCanvas {
	background: auto;
	border-radius: 6px;
	width: 100%;
	height: 100%;
	position: relative;
	cursor: pointer;
	z-index: 1;
}

#tempCanvas {
	display: none;
}

#legoPreview {
	background-image: url('/legofiles/baseplate_white_16.png'), url('/legofiles/baseplate_white_32.png'), url('/legofiles/baseplate_white_48.png');
	background-size: 0, contain, 0;
	background-repeat: no-repeat;
	box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
	border-radius: 1%;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	max-width: 768px;
	max-height: 768px;
	margin: 0 auto;
	padding: 0;
}

.previewCanvas {
	box-shadow: 10% 2% 3% 0px rgba(10, 10, 10, 0.25);
	display: none;
}

.loader {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	width: 160px;
	height: 160px;
	background: url(/images/legoloader.gif) no-repeat;
	margin: auto;
	display: none;
}

#rotateLeft {
	background: url(/legofiles/btn_Rotate_Left.svg)no-repeat center / contain;
	float: left;
	transition: 0.3s;
	position: relative;
	transform-origin: center;
}

#rotateRight {
	background: url(/legofiles/btn_Rotate_Right.svg)no-repeat center / contain;
	float: right;
	transition: 0.3s;
}

#rotateLeft:hover {
	transform: rotate(-50deg);
}

#rotateRight:hover {
	transform: rotate(50deg);
}

#viewOrig {
	background-image: url(/legofiles/btn_Original.svg), url(/legofiles/btn_Original_On.svg);
	background-repeat: no-repeat;
	background-size: contain, 0;
	background-position: center;
}

.form input[type="file"] {
	z-index: 999;
	line-height: 0;
	font-size: 50px;
	position: absolute;
	opacity: 0;
	filter: alpha(opacity=0);
	-ms-filter: "alpha(opacity=0)";
	cursor: pointer;
	margin: 0;
	padding: 0;
	left: 0;
}

form.ajax {
	display: none;
}

select#colour {
	width: 44%;
	position: absolute;
	/*top: 50%;
	transform: translateY(-50%);*/
	bottom: 0px;
	left: 0;
	margin-left: 5%;
	padding-left: 5%;
/*	margin-bottom: 5%;*/
	-webkit-appearance: none;
	-moz-appearance: none;
	background: url(/legofiles/dd_arrow.svg) no-repeat #D0021B 90% 50% / 10%;
	font: inherit;
	font-weight: bolder;
	color: #fff;
	height: 70%;
	border-radius: 3px;
	border: none;
	text-transform: uppercase;
}

select#colour:hover {
	background-color: #EB0823;
}

input[type=submit]:hover,
.btn:hover {
	background: #f6b300;
	cursor: pointer;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
	transform: scale(0.98, 0.98);
	transition: 0.3s;
	cursor: pointer;
}

.btnalt {
	background: #83beed;
	position: relative;
	margin-bottom: 20px;
}

.btnalt:hover {
	background: #6d9fc6;
}

.btn input {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	opacity: 0;
	filter: alpha(opacity=0);
}

.btn span {
	position: relative;
	top: 12px;
	font-weight: 400;
}

.checkbox {
	position: relative;
	width: 192px;
	margin-bottom: 10px;
}

input[type=checkbox] {
	display: none;
}

input[type=checkbox] + label {
	display: inline-block;
	width: 14px;
	height: 14px;
	position: absolute;
	top: 4px;
	left: 0;
	color: #ccc;
	vertical-align: middle;
	background-image: url('/images/checkbox.png');
	background-repeat: no-repeat;
	background-position: 0 -14px;
	cursor: pointer;
}

input[type=checkbox]:checked + label {
	background-image: url('/images/checkbox.png');
	background-position: 0 0;
}

#plateBtns {
	position: absolute;
	right: 0;
	bottom: 0;
/*
	top: 50%;
	transform: translateY(-50%);
*/
	width: 45%;
	height: 70%;
	padding: 0;
	margin-right: 5%;
/*	margin-bottom: 5%;*/
}

input[type="radio"] {
	display: none;
}

.radioButton1 input[type=radio] + label {
	position: absolute;
	bottom: 0;
	right: 72%;
	display: inline-block;
	height: 50%;
	line-height: 25px;
	border-radius: 2px;
	background: #ddd;
	color: #999;
	margin-left: 10px;
	cursor: pointer;
}

.radioButton2 input[type=radio] + label {
	position: absolute;
	bottom: 0;
	right: 42%;
	display: inline-block;
	height: 70%;
	line-height: 35px;
	border-radius: 2px;
	background: #ddd;
	color: #999;
	margin-left: 10px;
	cursor: pointer;
}

.radioButton3 input[type=radio] + label {
	position: absolute;
	bottom: 0;
	right: 0;
	height: 100%;
	line-height: 100%;
	border-radius: 2px;
	background: #ddd;
	color: #999;
	margin-left: 10px;
	cursor: pointer;
}
.radioButton1 input[type=radio] + label:hover,
.radioButton2 input[type=radio] + label:hover,
.radioButton3 input[type=radio] + label:hover {
	background: #eee;
}
.radioButton1 input[type=radio]:checked + label,
.radioButton2 input[type=radio]:checked + label,
.radioButton3 input[type=radio]:checked + label {
	background: #cc0000;
	color: #fff;
}

#filedrag {
	display: none;
	font-weight: bold;
	text-align: center;
	padding: 1em 0;
	margin: 1em 0;
	color: #555;
	border: 2px dashed #555;
	border-radius: 7px;
	cursor: default;
}

#filedrag.hover {
	color: #f00;
	border-color: #f00;
	border-style: solid;
	box-shadow: inset 0 3px 4px #888;
}

canvas#legoImage {
	width: 768px;
	height: 768px;
	position: absolute;
	top: 0;
	left: 0;
	/*
	border: 1px solid red;
*/
}


/* Build PDF style */

#hiddenContainer {
	visibility: hidden;
	position: absolute;
	top: 0px;
	right: 0px;
}

#buildBody {
	margin: 0 auto;
	width: 900px;
	height: 1273px;
	text-align: center;
	background: #fff;
	position: relative;
	z-index: 100;
}

#buildTitleImage {
	margin: 10px 0;
}

#buildBar {
	position: relative;
	width: 100%;
	min-width: 1020px;
	height: 215px;
	z-index: 1;
}

#buildImage {
	position: relative;
	width: 832px;
	height: 832px;
	margin: 0px auto 20px auto;
}

/*
#buildCanvas {
	width: 646px;
	height: 646px;
	position: absolute;
	top: 21px;
	left: 21px;
	background: #ccc;
}

#buildOverlay {
	background: url(/images/build_overlay_32.png) no-repeat;
	width: 688px;
	height: 688px;
	position: absolute;
}
*/

.partList {
	width: 720px;
	margin: 0 auto;
}

ul {
	width: 230px;
	float: left !important;
	list-style: none;
	font-size: 13px;
	line-height: 13px;
	margin: 0 0 0 7px;
	padding: 0px;
}

li {
	margin: 2px 0;
	background: #fff;
	display: block;
}

li span img {
	position: relative;
	top: 8px;
}

.numHead {
	width: 63px;
	display: inline-block;
	height: 20px;
}

.legoThumb {
	width: 32px;
	height: 24px;
	margin: 0px;
	display: inline-block;
}

.num {
	width: 30px;
	display: inline-block;
}

.name {
	width: 130px;
	display: inline-block;
}

.clear {
	clear: both;
	width: 100%;
	height: 0;
	line-height: 0;
}

.ctaBtn {
	position: absolute;
	bottom: 0;
	width: 22%;
	height: 70%;
	border-radius: 2px;
	transition: 0.2s;
}


.ctaBtn span {
	display: none;
}

#share {
	background: url(/legofiles/icon_Share.svg) no-repeat center bottom/ contain, #fff;
	left: 0;
	margin-left: 5%;
}
#share:hover {
	background: url(/legofiles/icon_Share.svg) no-repeat center bottom/ contain, #eee;
}
#download {
	background: url(/legofiles/icon_Image.svg) no-repeat center bottom/ contain, #fff;
	left: 50%;
	transform: translateX(-50%);
}
#download:hover {
	background: url(/legofiles/icon_Image.svg) no-repeat center bottom/ contain, #eee;
}
#build {
	background: url(/legofiles/icon_Build.svg) no-repeat center bottom/ contain, #fff;
	right: 0;
	margin-right: 5%;
}
#build:hover {
	background: url(/legofiles/icon_Build.svg) no-repeat center bottom/ contain, #eee;
}

#hiliteContainer {
	width: 774px;
	height: 774px;
	position: absolute;
	/*top: 21px;
	left: 21px;*/
	z-index: 20;
	font-size: 12px;
	line-height: 11px;
	box-shadow: 2px 5px 10px #efefef;
}
#hiliteContainer div {
	/*border: 1px solid #ccc;*/
	box-shadow: 0 0 1px #666;
	border-radius: 1px;
	margin: 1px;
	float: left;
	color: rgba(0,0,0,0);
	cursor: pointer;
}