#testTable{
	width:100%;
	background:black;
}
#testTable td{
	height:10px;
}
html, body{
	height:100%;
	width:100%;
	min-width:1024px;
	position:relative;
	font-family: "Droid Sans", "DroidSansRegular", sans-serif;
	font-size:12px;
	//overflow-y: scroll; /* has to be scroll, not auto */
	//-webkit-overflow-scrolling: touch;
}
#loader{
	position:fixed;
	height:100%;
	width:100%;
	background:rgba(0,0,0,.7);
	z-index:10;
	display:none;
	top:0;
}
button, select{
	outline:none;
}
body.loading #loader{
	display:block;
}
#loadingContent{
	height:300px;
	width:300px;
	top:50%;
	left:50%;
	margin-top:-150px;
	margin-left:-150px;
	color:#fff;
	position:absolute;
	font-size:3em;
	text-align:center;
}
@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
#loadIcon{
	height:200px;
	width:200px;
	margin:0 auto;
	background:url("../img/layout/icoLoading.png") center center no-repeat;
	margin:0 auto 30px;
	-moz-border-radius:50%;
	-webkit-border-radius:50%;
	-o-border-radius:50%;
	-webkit-animation: rotating 2s linear infinite;
	-moz-animation: rotating 2s linear infinite;
	-ms-animation: rotating 2s linear infinite;
	-o-animation: rotating 2s linear infinite;
	animation: rotating 2s linear infinite;
}
div#mainMenu{
	position:fixed;
	overflow:hidden;
	top:0;
	left:0;
	height:60px;
	width:30%;
	background-color:#252525;
	z-index:10;
	min-width:360px;
}
div#mainMenu button{
	height:38px;
	width:38px;
	margin:10px 5%;
	background-color:#fa0;
	border-radius:50%;
	border:1px solid #fff;
	position:absolute;
}
#menuItems{
	z-index: 10;
    position: fixed;
    height: 100%;
    background-color:rgba(37,37,37,0.8);
    width: 100%;
    transition: top .5s;
    -webkit-transition: top .5s;
    -moz-transition: top .5s;
    -o-transition: top .5s;
	overflow:hidden;
	top:0%;
	color:#fff;
}
#menuItems.compressed {
	top:-100%;
}
#menuItems p{
	margin: 10px 5%;
    border-bottom: 1px solid #fff;
    font-size: 1.5em;
    color: #fff;
    text-decoration: none;
	text-align:laft;
	padding:20px 0 20px 60px;
}
#menuItems p:first-child{
	margin-top:60px;
}
#menuItems p:last-child{
	border:none;
}
#menuItems p a{
	color:#fff;
	text-decoration:none;
}
p#generateList{
	background: url("../img/layout/IcoShop.png") center left no-repeat;
	background-size:40px;
	
}
p#showTutorial{
	background: url("../img/layout/IcoManual.png") center left no-repeat;
	background-size:40px;
	
}
p#reset{
	background: url("../img/layout/IcoRefresh.png") center left no-repeat;
	background-size:40px;
	
}
div#mainMenu button#mainNav{
	left:0;
	background:url("../img/layout/btnMainMenu.png") center top transparent;
	background-size:cover;
}
div#mainMenu button#mainNav.active{
	border:1px solid #fa0;
	background-position:center bottom;
}
#toggleOverlay{
	height:38px;
	width:38px;
	margin:10px 5%;
	background-color:#fa0;
	border-radius:50%;
	border:1px solid #fff;
	position:fixed;
	right:0;
	background:url("../img/layout/btnClose.jpg") center center no-repeat;
	background-size:cover;
	z-index:20;
}
.toggleOverlay{
	display:none;
}
div#mainMenu button#togglePalette{
	right:0;
	visibility:hidden;
	padding:0;
	overflow:hidden;
	background:url("../img/layout/btnPalette.jpg") center center no-repeat;
	background-size:cover;
}
div#mainMenu button#togglePalette.openPalette{
	background:url("../img/layout/btnClose.jpg") center center no-repeat;
	background-size:cover;
}
#togglePalette svg g path {
	transition:transform .5s;
	-webkit-transition:transform .5s;
	-moz-transition:transform .5s;
	-o-transition:transform .5s;
	transform-origin:center;
	-webkit-transform-origin:center;
	-moz-transform-origin:center;
	-o-transform-origin:center;
}
.openPalette svg g path {
	transform:rotate(70deg);
	-webkit-transform:rotate(70deg);
	-moz-transform:rotate(70deg);
	-o-transform:rotate(70deg);
}
div#mainMenu #modelSelect{
    position: absolute;
    width: 60%;
    left: 20%;
    top: 16px;
    padding: 6px 0 8px;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    height: 10px;
    color: #fff;
    border: 1px solid #fff;
}
div#mainMenu #modelSelect.active{
	color:#fa0;
	border:1px solid #fa0;
}
#tutorial{
	background:#252525;
	height:100%;
	width:100%;
	position:absolute;
	z-index:10;
	display:none;
	overflow-y:scroll;
}
#tutorial img, #tutorial h1, #tutorial h2, #tutorial p{
	color:#fff;
	font-weight:normal;
	width:90%;
	margin:20px 5%;
}
#tutorial h1{
	text-align:center;
}
#tutorial p{
	border-bottom: 1px solid #fff;
	padding-bottom:20px;
	line-height:1.5em;
}
#tutorial p:last-child{
	border-bottom: none;
}
#imageList{
	position:fixed;
	overflow:scroll;
	height:100%;
	top:60px;
	left:0;
	width:30%;
	background:rgba(0,0,0,.7);
	z-index:10;
	color:#fff;
	padding-bottom:60px;
	transition:height .5s, top .5s;
	-moz-transition:height .5s, top .5s;
	-webkit-transition:height .5s, top .5s;
	-o-transition:height .5s, top .5s;
	-webkit-overflow-scrolling: touch;
	overflow: scroll;
	min-width:320px;
}
#imageList.compressed {
	top:-60px;
	height:0%;
}
button#refresh{
	margin:20px;
}
#imageList h1, #imageList h2{
	font-weight:normal;
	text-align:center;
	padding:10px 0;
}
#imageList ul:last-child{
	padding-bottom:57px;
}
#btnInfoDLC{
	position: absolute;
    right: 5%;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: url("../img/layout/btnInfoDLC.png") center center;
	background-size:cover;
}
#infoDLC{
	border: 1px solid antiquewhite;
    padding: 5%;
    margin: 10px 5%;
    font-size: 1.1em;
    background-color: #252525;
	display:none;
}
.BtnVisitStore{
	color:#fa0;
	position: absolute;
    right: 5%;
    font-size: 0.8em;
}
#imageList li{
	height:90px;
	width:100%;
	background:#fff;
	margin-bottom:2px;
	position:relative;
	padding:30px 0;
	cursor:pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
}
#imageList li.selectedProduct{
	outline:5px solid #fa0;
	outline-offset:-5px;
}
#imageList img{
	height:150px;
	position:absolute;
	top:0;
	left:0;
}
#imageList li div{
	float:right;
	width:50%;
	color:#252525;
	padding:0 20px;
	text-align:center;
}
div.productName{
	font-size:1.5em;
	font-weight:bold;
	margin-bottom:15px;
	height:45px;
}
div.productSize{
	line-height:18px;
}
div.productSize a{
	color:#252525;
}
.colourList div.disabled .toggleLevel {
	background-size:30px 20px;
}
.colourList div.disabled .result {
	opacity:0.5;
}
.toggleLevel {
	background-size:30px 20px;
	right:5px;
	top:0;
	cursor:pointer;
	display:block;
	height:20px;
	width:30px;
}
*{
	margin:0;
	padding:0;
}
div#selectedColours{
	position:relative;
	width:100%;
	color:#fff;
}
.colourList{
	display:none;
}
.colourList div {
	height:20px;
	margin:0 5% 6px;
	display:table;
	width:90%;
}
#selectedColours .visible{
	display:block;
}
div#selectedColours p {
	width: 75px;
	display:table-cell;
    font-size: 12px;
    line-height: 12px;
}
#selectedColours p.result{
	width: auto;
    font-size: 10px;
    border-radius: 20px;
    color:#808080;
	padding:3px 10px 0;
    cursor: pointer;
    height: 10px;
    border: 1px solid #808080;
	display:table-cell;
}
#selectedColours .active p.result, #selectedColours p.colOverride{
	color:#fff;
	border:1px solid #fff;
}

.pinch-zoom-parent {
	width:60%;
	position:fixed;
	right:0;
}
.pinch-zoom-container{
	width:100%;
}
.pinch-zoom{
	width:100%;
}
.pinch-zoom-parent, .pinch-zoom-container, .pinch-zoom{
	height:100%;
	margin:0;
	padding:0;
}
#previewWrapper path{
	transition:fill .5s;
	-webkit-transition:fill .5s;
	-moz-transition:fill .5s;
	-o-transition:fill .5s;
}
#selectorWrapper{
	background-color:#252525;
	width:30%;
	min-width:360px;
	position:absolute;
	top:0;
	left:0;
	z-index:10;
	min-height:100%;
    padding-bottom: 120px;
	
}
#sectionSelector{
	position:fixed;
	width:30%;
	left:0;
	padding:10px 0;
	position:fixed;
	bottom:0;
	border-top:1px solid #fff;
	background-color:#252525;
	min-width:360px;
	height:100px;
}
#activeSection{
	float:left;
	height:100px;
	width:83px;
	background-size:83px 100px;
	margin:12px 15px;
}
#sectionSelector:hover ul#sections{
	height:auto;
}
ul#sections li {
	float:left;
	height:100px;
}
#sections li img{
	height:100%;
	opacity:0.5;
}
#sections li.active img, #sections li:hover img{
	opacity:1;
}
#Base path {
	fill:#dbd1b2;
}
#Glaze path {
	opacity:.07;
}
#colPalettes {
	position:fixed;
	width: 18%;
	height: 30px;
	margin: 10px 6%;
	padding: 5px 20px;
	border-radius: 15px;
	top:50px;
	z-index:1;
}
#paletteWrapper{
	padding-top:120px;
}
ul.pickerList{
	width:100%;
	clear:both;
}
ul.pickerList li{
	width:80px;
	height:120px;
	float:left;
	display:block;
	font-size:12px;
	color:#fff;
	padding:0 5px;
}
ul.pickerList li.colType{
	width:100%;
	padding:20px 0;
	font-size:1.5em;
	text-align:center;
	height:40px;
}
li.metallic .colPreview{
	background-image:url("../img/layout/colOverlayMet.png");
	background-position:center center;
	background-repeat:no-repeat;
}
.pickerList li div{
	margin:5px auto;
	text-align:center;
}
div.colPreview, div.patIcon{
	height:50px;
	width:50px;
	border-radius:50%;
	border:1px solid #fff;
	background-position:center center;
	background-repeat:no-repeat;
}
div#previewWrapper{
	position:fixed;
	height:100%;
	top:50px;
	right:0;
	overflow:hidden;
}
#previewWrapper svg{
	//filter:blur(0.2px);
}
#Base{z-index:2;}
#Shade{z-index:3;}
#Layer{z-index:4;}
#Photo{z-index:5;}
#Highlight{z-index:6;}
#imageMapping{z-index:10;}
#previewWrapper svg#imageMapping{
	background:none;
}
#segmentSelector {
	position:absolute;
	z-index:20;
}
body.editMode #selectionMap g.active path{
	stroke: cyan !important;
	fill:rgba(0,255,255,.2) !important;
}
body #selectionMap g path{
	stroke: none;
	fill:rgba(0,0,0,0) !important;
}
#selectionMap g.active path{
	stroke-width:2;
}
#Metallic path{
	fill:#808080;
}
#copyright{
	position:fixed;
	width:70%;
	bottom:0;
	right:0;
	color:#808080;
	text-align:center;
	z-index:999;
	padding:10px 0;
	font-size:0.7em;
	min-width:640px;
}
button{
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    font-size: 1.2em;
	border:none;
	background-color:#fa0;
	padding: 5px 10px;
    margin: 0 4px 4px 4px;
}
#sectionSelector button {
	position: absolute;
    width: 23%;
    padding: 5px 3%;
    font-size: 10px;
    right: 3%;
}
#sectionSelector button.selectionMode,#sectionSelector button.modeButton{
	right:5%;
	height:30px;
	width:30px;
	border:1px solid #fff;
	border-radius:50%;
	padding:0;
	margin:0;
	background-color:transparent;
	background-size:cover;
}
button#selSingle{
	background:url("../img/layout/btnSelSingle.png") transparent center top;
    top: 10px;
}
button#selMultiple{
	background:url("../img/layout/btnSelMultiple.png") transparent center top;
    top: 45px;
}
button#selAll{
	background:url("../img/layout/btnSelAll.png") transparent center top;
    top: 80px;
}
#generateList {
    top: 35px;
}
#sectionSelector button.selectionMode.active{
	background-position:center bottom;
	border:1px solid #fa0;
}
#shoppingList {
	height:100%;
	width:90%;
	position:fixed;
	top:0;
	left:0;
	z-index:998;
	background-color:rgba(37,37,37,.9);
	padding:80px 5%;
	overflow:scroll;
	display:none;
}
#shoppingList table {
	width:100%;
	margin-bottom:150px;
	border-spacing:0;
}
#shoppingList a{
	display:inline-block;
	padding:3px 10px;
	background-color:#fa0;
	color:#252525 !important;
	border-radius:50px;
	text-decoration:none;
	text-align:center;
	min-width:90px;
}
tr.tableHead {
	color:#fff;
	font-size:1.2em;
}
tr.tableHead th {
	padding:4px 10px 10px;
	text-align:left;
}
#shoppingList td{
	padding:7px 10px;
	border-bottom:1px solid #fff;
	text-align:left;
	color:#fff;
}
#shoppingList td:first-child{
	text-align:center;
}
#shoppingList tr:last-child td{
	border-bottom:none;
}
.shoppingListColPreview{
	height:20px;
	width:20px;
	border:1px solid #fff;
	border-radius:50%;
	display:inline-block;
}		
button#hideList{
	height:38px;
	width:38px;
	margin:10px 5%;
	background-color:#fa0;
	border-radius:50%;
	border:1px solid #fff;
	position:fixed;
	right:0;
	top:0;
	background:url("../img/layout/btnClose.jpg") center center no-repeat;
	background-size:cover;
}
.modeNote{
    position: fixed;
    font-size: 1.3em;
    text-align: center;
    width: 100%;
    color: #707070;
	animation-name: modeNote;
	animation-duration: 2s;
}
@keyframes modeNote {
  0%   {opacity:0; bottom: 0px;}
  30%  {opacity:1; bottom:130px;}
  80%  {opacity:1; bottom:130px;}
  100% {opacity:0; bottom:130px;}
}


@media screen and (max-width:1200px){
	#colPalettes{
		width:216px;
		left:72px;
		margin: 10px 0%;
	}
}

@media screen and (max-width:1030px) and (orientation:portrait){
	html, body{
		min-width:0;
	}
	
	/* MAIN MENU */
	div#mainMenu{
		width:100%;
	}
	div#mainMenu button#togglePalette{
	visibility:visible;
	}
	#imageList{
		width:100%;
	}
	.pinch-zoom-parent {
		width:100%;
	}
	div#previewWrapper{
		width:100%;
		position: fixed;
		top: 60px;
	}
	#previewWrapper svg {
		height: auto;
		max-height:80%;
		width: 100%;
	}
	div#selectorWrapper{
		min-width:0;
		min-height:0;
		width:100%;
	}
	div#sectionSelector{
		width:100%;
		min-width:320px;
		bottom:0;
		left:0;
		border-bottom:none;
	}
	div#sectionSelector button{
		font-size:80%;
	}
	#copyright{
		display:none;
	}
	#paletteWrapper{
		height:100%;
		transition:height .5s, top .5s;
		-moz-transition:height .5s, top .5s;
		-webkit-transition:height .5s, top .5s;
		-o-transition:height .5s, top .5s;
		overflow: scroll;
		overflow-x:hidden;
		position: fixed;
		top:0px;
		background-color:rgba(37,37,37,0.8);
		-webkit-overflow-scrolling: touch;
	}
	#colPalettes {
		position:fixed;
		width: 90%;
		height: 30px;
		margin: 20px 5%;
		left:0;
	}
	#selectorWrapper div.compressed, #imageList.compressed {
		top:-60px;
		height:0%;
	}
	#selectorWrapper{
		top:-60px;
	}
	.hiddenM{
		display:none;
	}
	ul.pickerList li{
		width:16%;
		padding:2%;
	}
	#paletteWrapper ul:last-child li:last-child{
		padding-bottom:120px;
	}
}
@media screen and (max-width:760px) and (orientation:portrait){
	div#previewWrapper{
		position:fixed;
	}
	div#preview, #segmentSelector {
	}
}

@media screen and (orientation:landscape){
	svg{
		max-height: 100%;
		width: 65%;
		margin-left: 35%;
	}
}


h1{
	position: absolute;
    font-size: 24px;
    top: 14px;
    left: 5%;
    color: #fff;
    font-weight: normal;
    line-height: 16px;
}
g.cls-6{
	mix-blend-mode:multiply;
}