@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:700);

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: raleway;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

footer {
    width: 100%;
    height: 65px;
    padding: 10px 10px 0;
    z-index: 1000;
    bottom: 10%;
}

.footer-bottom {
    float: left;
    height: auto;
    width: 100%;
    display: block;
    padding-top: 15px;
    text-align: center;
}

.footerwrap {
	width: 100%;
	height: 160px;
	display: block;
	position: relative;
	background-color: #ffffff;
}

.footerline {
    margin: 0px 20px;
}

footer .container {
    width: 100%;
	padding-bottom: 1rem;
}

footer p.low-footer.right.mobile-hide {
    float: none !important;
}

h2 {
	color: #333;
    font-size: 3.3rem;
    line-height: 1.8;
    letter-spacing: 0.6rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 100;
    font-family: raleway;
}

.container.select {
    width: 85vw;
    margin: auto;
    margin-top: 1%;
	padding-bottom: 50px;
}

.pmes {
    color: #333333;
    font-size: 1.2rem;
    line-height: 1.4rem;
    font-weight: 100;
    font-family: raleway;
}

.pmes ul {
    list-style-type: circle !important;
	font-weight: 400;
}

.btn-tiny {
    height: 24px;
    line-height: 24px;
    font-size: 13px;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	text-decoration: none;
    color: #fff;
    background-color: #26a69a;
    text-align: center;
    letter-spacing: .5px;
    -webkit-transition: background-color .2s ease-out;
    transition: background-color .2s ease-out;
    cursor: pointer;
	border: none;
    border-radius: 2px;
    display: inline-block;
    padding: 0 5px;
    text-transform: uppercase;
    vertical-align: middle;
	-webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

.cub.vol {
	background-image: url(../../images/cubicles/volante/volante-bg.webp);
}

.cub.mir {
	background-image: url(../../images/cubicles/mirage/mirage-bg.webp);
}

.cub.rain {
	background-image: url(../../images/cubicles/rainbow/rainbow-bg-cloud.webp);
}

#container {
  height: 100%;
  width: 100%;
}

.tcsred {
    background-color: #d9534f !important;
}

.tcsgreen {
    background-color: #009c53 !important;
}

.controls.row {
    margin: auto;
    background-color: #eeeeee;
    height: 60px;
    padding-top: 5px;
    border: 1px solid grey;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

#product-svg {
  position: relative;
  z-index: 2;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: 50%;
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
}

#product-shape {
  fill: #DBED64;
}


#background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: ;
    600px: ;
    z-index: 1;
    background-size: contain;
    transition: background-image 0.6s linear;
    -moz-transition: background-image 0.6s linear;
    -webkit-transition: background-image 0.6s linear;
    -o-transition: background-image 0.6s linear;
	background-repeat: no-repeat;
}

.controls {
	display: block;
    position: fixed;
    width: 40vw;
    margin: auto;
    max-width: 800px;
    text-align: center;
}

.switch {
    width: fit-content;
    display: inline;
}

.volimg {
	  background-image: url(../images/volante-bpc2.png);
}

.rainbowimg {
	  background-image: url(../images/rainbow-mpc.jpg);
}

.mirageimg {
	  background-image: url(../images/mirage-bpc.jpg);
}

.sglimg {
	  background-image: url(../images/sgl-bpc-sq.png);
}

body {
	background-color: #f2f2f2;
}

header {
	width: 100%;
	background-color: #77cdb4;
	text-align: center;
}

h1 {
	font-family: 'Roboto Condensed', sans-serif;
	color: #FFF;
	font-size: 2.3em;
}

em {
	color: #232027;
}

.label {
	z-index: 2;
    display: block;
    position: absolute;
    text-align: center;
	width: 90%;
}

.label.name {	
	background-color: rgba(51, 51, 51, 0.5);
    color: #fff;
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 98%;
	font-size: 12pt;
    font-weight: 600;
    font-family: raleway;
}

.label.code {
	background-color: rgba(51, 51, 51, 0.5);
    color: #fff;
    position: absolute;
    top: 12px;
    right: 0;
    width: 98%;
    font-size: 10pt;
    font-weight: 400;
    font-family: raleway;
}

.label.name.dark {
	color: #ffffff;
}

.color {
	z-index: 1;
    display: block;
    position: relative;
	text-align: center;
	margin-top: 10px;
}

#cub-preview {
	display: block;
    position: fixed;
    top: 160px;
    width: 40vw;
    max-width: 800px;
    height: auto;
	border: 1px solid grey;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

.wrapper {
	width: 100vw;
	margin: 40px auto;
}

div.gallery {
	margin-top: 0;
    width: 100%;
}

#previewbar {
	width: 400px;
    display: block;
    height: 100%;
    background-color: #ffffff55;
    float: right;
    position: fixed;
    right: 50px;
    top: 42px;
    padding-top: 15px;
}

#sample {
	width: 300px;
	height: 300px;
	transition: background-color 0.6s ease-in-out;
    -moz-transition: background-color 0.6s ease-in-out; /* FF 4 */
    -webkit-transition: background-color 0.6s ease-in-out; /* Safari & Chrome */
    -o-transition: background-color 0.6s ease-in-out; /* Opera */
}

 path {
	stroke-width: 0;
	stroke: transparent;
}
 

path:hover { 
	stroke: red;
	stroke-width: 10;
	stroke-linejoin: round;
	stroke-alignment: inner;
	fill: white;
	transition: stroke 0.8s ease;
	transition: fill 0.8s ease;
	/*filter: url(#glow);*/
}

.message {
    bottom: 5px;
    font-size: 12pt;
    font-weight: 400;
    font-family: sans-serif;
	text-align: center;
	margin-left: 250px;
}


.range-select {
	width: 100%;
    margin: auto;
    display: block;
    position: relative;
}

div.gallery ul {
	width: 100%;
}


div.range-select ul {
	list-style-type: none;
	margin: auto;
}

div.range-select li {
    float: left;
    padding: 10px;
    text-align: center;
}

/* animation */
div.gallery ul li, div.gallery li img {
	-webkit-transition: all 0.1s ease-in-out;
  	-moz-transition: all 0.1s ease-in-out;
  	-o-transition: all 0.1s ease-in-out;
  	transition: all 0.1s ease-in-out;
}

div.gallery ul li {
	position: relative;
	float: left;
	width: 130px;
	height: 130px;
	margin: 5px;
	padding: 5px;
	z-index: 1;
}

/* Make sure z-index is higher on hover */
/* Ensure that hover image overlapped the others */
div.gallery ul li:hover {
	z-index: 5;
}

/* Image is position nicely under li */

li.colHeader h3 {
	text-align: center;
}

div.gallery ul li img {
    position: absolute;
    left: 1px;
    top: 0;
    border: 2px solid #dddddd;
    width: 132px;
    height: 132px;
    background: #f0f0f0;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
}
/*
div.gallery ul li img {
	position: absolute;
	left: 0;
	top: 0;
	border: 1px solid #dddddd;
	padding: 5px;
	width: 130px;
	height: 130px;
	background: #f0f0f0;
	border-radius: 18px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
}
*/

@media only screen and (min-width: 416px) {

	div.gallery ul li img:hover {
		width: 200px;
		height: 200px;
		margin-top: -130px;
		margin-left: -130px;
		top: 65%;
		left: 65%;
		z-index: 3;
	}
	
	.mobile-hide {
    display: block;
}
	
	.cub {
		background-size: cover;
		background-repeat: no-repeat;
		height: 400px;
	}

}

div.gallery ul li.colHeader {
	width: 100%;
    height: fit-content;
}

/*::::: switch colours :::::*/

/* SAA */

.switch label input[type=checkbox]:checked+.lever {
    background-color: #b8baca;
}

.switch label input[type=checkbox]:checked+.lever:after {
    background-color: #ddd;
}


/* BPC */ 

.switch label .lever:after {
    background-color: #3c3e43;
}

@media only screen and (max-width: 490px) {
	.wrapper {
		width: 300px;
	}

	div.gallery ul {
		list-style-type: none;
		margin: 0;
	}

	#cub-preview {
		display: block;
		position: relative;
		width: 90vw;
		height: auto;
	}
	
	div.gallery {
		width: 100%;
		display: block;
		position: relative;
	}
	
	div.gallery ul {
		list-style-type: none;
		margin-left: 0;
		width: 100%;
	}
	
	div.gallery ul li img {
		position: absolute;
		left: 0;
		top: 0;
		border: 1px solid #dddddd;
		padding: 5px;
		width: 90px;
		height: 90px;
		background: #f0f0f0;
		border-radius: 18px;
		box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
	}

	div.gallery ul li {
		position: relative;
		float: left;
		width: 90px;
		height: 90px;
		margin: 5px;
		padding: 5px;
		z-index: 1;
	}

}

#colour-frame {
	padding-top: 0;
	margin-bottom: 0px !important;
	background-color: transparent;
}

#colourlist {
	padding-left: 50px;
	background-color: #eeeeee;
}

#varymes {
	color: #333333;
    font-size: 1.4rem;
    line-height: 1.2;
    width: 80%;
    display: block;
    margin: auto;
    font-weight: 500;
    font-family: raleway;
    text-align: center;
}

@media only screen and (max-width: 415px) {
	
	.mobilehide {
		display: none !important;
	}
	
	header h1 {
    display: none;
}

.cub {
	background-size: cover;
    background-repeat: no-repeat;
	height: 200px;
}

#logo {
	height: 25px !important;
    margin-top: 5px !important;
    margin-left: 5px !important;
}

#submen {
    display: block;
    width: 70%;
    height: 40px;
    right: 0px;
    position: absolute;
}

#submen li a {
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}

nav ul li {
    width: 80px;
}
	
	#colour-frame {
		padding-top: 0px;
		background-color: transparent;
	}

	.controls.row {
    margin: auto;
    background-color: #eeeeee;
    height: 100px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 95%;
    position: fixed;
    top: 38px;
}
	
	#cub-preview {
    display: block;
    position: fixed;
    width: 90vw;
    height: auto;
    z-index: 10;
    top: 130px;
    padding: 0;
    margin: 0;
    left: 5vw;
	background-color: #333;
}

	#colourlist {
		position: fixed;
		top: 48%;
		padding: 0;
		margin: 0;
		height: 52vh;
		overflow: scroll;
	}
	
	div.gallery ul li {
		position: relative;
		float: left;
		width: 100%;
		height: 100px;
		margin: 5px;
		padding: 5px;
		z-index: 1;
		line-height: 80px;
	}
	
	button#setpil {
    margin-top: 0px;
    height: 26px;
    line-height: 28px;
}

button#setpan {
    margin-top: 5px;
    height: 26px;
    line-height: 28px;
    margin-bottom: 10px;
}
	
div.gallery {
    width: 96%;
}
	
div.gallery ul li img {
	    left: 15px;
		width: 90%;
}

	.label.name {
	    width: 50%;
		left: 35%;
		bottom: 0;
		margin: 10px;
		display: block;
		height: 19%;
		line-height: 20px;
	}
	
#sharebtn {
    display: block;
    position: fixed;
    right: 20px;
    top: 95px !important;
    height: 26px;
    line-height: 28px;
}

.label.code {
	display: none;
}

}