/*Global*/
* {
	margin:0;
	padding:0;
	box-sizing: border-box;
	-webkit-appearance:none;
}
body {
	font-family: 'Raleway', sans-serif;
	font-weight:400;
	color:#363940;
}
img {
	display:block;
}
h1, h2, h3 {
	font-weight:400;
}
p {
	font-size:0.8rem;
	margin-bottom:1em;
	font-weight:400;
}
ul {
	font-size:0.9rem;
	list-style:none;
	font-weight:400;
}
a {
	color:#777;
	text-decoration:none;
}

	.mobile-txt {
		display:none!important;
	}

.inner {
	width:100%;
	padding:0;
	margin:0 auto;
}
.flex {
	display:flex;
	justify-content: space-between;
  align-items: center;
}
.align-start {
	align-items: flex-start;
}
.end {
	justify-content: flex-end;
}

#body {
	position:relative;
	display:block;
	width:100%;
	padding-bottom:30px;
}

/*Scrollbar*/
/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #ddd;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #FF8F23;
  border-radius:15px;
}

#output {
	position:fixed;
	top:0;
	left:0;
	bottom:0;
	right:0;
	z-index:100;
	background:rgba(255, 255, 255, 0.75);
}
#output img {
	position:absolute;
	top:50%;
	left:50%;
	-webkit-transform:translate(-50%,-50%);
	transform:translate(-50%,-50%);
	width: 90%;
	height:auto;
	display:block;
}
#output p {
	position:absolute;
	top:40px;
	left:50%;
	-webkit-transform:translate(-50%,-50%);
	transform:translate(-50%,-50%);
	display:inline-block;
	background:#222;
	color:#fff;
	padding:5px 10px;
	text-align:center;
	z-index:120;
}
#output span {
	position:absolute;
	bottom:10px;
	left:50%;
	-webkit-transform:translate(-50%,-50%);
	transform:translate(-50%,-50%);
	display:inline-block;
	background:#FF8F23;
	color:#fff;
	padding:5px 10px;
	text-align:center;
	z-index:120;
	cursor:pointer;
}

/*Header*/
.header {
	width:100%;
	border-bottom:6px solid #FF8F23;
	padding:1em 2em 0 2em;
}
.header .brand_logo {
	width:148px;
	height:auto;
}
.header .visualiser_logo {
	width:250px;
	height:auto;
}
.header .european_logo {
	width:140px;
	height:auto;
}


/*Intro*/
.intro {
	background:url('img/intro-bg.jpg') center center no-repeat;
	background-size:cover;
	text-align:center;
	padding:2.5em 2em 0;
	min-height:84vh;
}
.intro h1 {
	color:#000;
	font-size:2rem;
	margin:0 0 0.8em;
}
.intro h1 span {
	font-weight:500;
	display:block;
	width:100%;
	font-size:0.9rem;
}
.rooms {
	width:100%;
	max-width:1200px;
	margin:0 auto 3em auto;
}
.room {
	flex: 1 0;
	border:4px solid #FF8F23;
	margin:0 1em;
	box-shadow:1px 1px 5px 1px rgba(0, 0, 0, 0.5);
}
.room img {
	width:100%;
	height:auto;
}
.room span {
	display:block;
	width:100%;
	padding:4px;
	background: #FF8F23;
	color:#fff;
}
.room:hover {
	transition:0.2s;
	border:4px solid #222;
}
.room:hover span {
	transition:0.2s;
	background:#222;
}

.intro .visualiser_logo {
	width:100%;
	height:auto;
	max-width:450px;
	margin:0.7em auto 2em auto;
}
.european {
	position:absolute;
	left:50%;
	bottom:10px;
	-webkit-transform:translateX(-50%);
	transform:translateX(-50%);
	
	margin:0 auto;
	width:100%;
	max-width:1200px;
	padding:4rem 1em 1em;
	text-align:left;
	color:#000;
}


/*Footer*/
.footer {
	position:fixed;
	z-index:30;
	bottom:0;
	width:100%;
	background:#939d9e;
	padding:0.5em 1em;
	overflow:auto;
}
.footer a {
	font-size:0.8rem;
	color:#fff;
	text-decoration:none;
	margin-left:3%;
}
.footer a:hover {
	color:#eee;
	text-decoration:underline;
}

#disclaimer {
	display:none;
	position:absolute;
	top:50%;
	left:50%;
	-webkit-transform:translateX(-50%);
	transform:translateX(-50%);
	background:#222;
	color:#fff;
	padding:2em;
	text-align:center;
	z-index:100;
}
#disclaimer span {
	display:table;
	background:#FF8F23;
	color:#fff;
	margin:1.5em auto 0 auto;
	padding:0.8em;
	cursor:pointer;
}

/*Visualiser*/
.tabs input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tabs {
  overflow: hidden;
}
.tab {
  width: 100%;
  overflow: hidden;
  border-top:1px solid #ccc;
}
.tab:first-of-type {
	border-top:none;
}
.tab-label {
  display: flex;
  justify-content: space-between;
  padding: 0.8em 0;
  cursor: pointer;
  font-size:1.1rem;
  /* Icon */
}
.tab-label::after {
  content: "+";
  color:#FF8F23;
  width: auto;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
  font-size:1.5rem;
}
.tab-content {
  max-height: 0;
  color: #2c3e50;
  background: white;
  transition: all 0.35s;
}
.tab-content > * {
	direction:ltr;
}
.tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #2c3e50;
  cursor: pointer;
}

input:checked + .tab-label {
  
}
input:checked + .tab-label::after {
  content: "-";
}
input:checked ~ .tab-content {
  max-height:100%;
  padding-bottom:1em;
}



.sidebar {
	background:#fff;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	width:350px;
	padding:1em 2em;
	z-index:20;
}
.extended {
	width: 800px!important;
}
img.extend {
	position:absolute;
	top:50%;
	right:10px;
	-webkit-transform:translateY(-50%);
	transform:translateY(-50%);
	width:20px;
	height:20px;
	cursor:pointer;
}
.rotate {
	-webkit-transform:translateY(-50%) rotate(180deg)!important;
	transform:translateY(-50%) rotate(180deg)!important;
}
a.return {
	display:block;
	margin-bottom:2.3em;
	font-size:0.9rem;
}
a.return span {
	display:inline-block;
	color:#FF8F23;
	font-size:1rem;
	margin-right:0.75em;
}

ul.categories {
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
	justify-content: flex-start;
}
ul.categories li {
	cursor:pointer;
	flex: 1;
	max-width:120px;
	text-align:center;
	background:#fff;
	border:1px solid #777;
	margin:0 0.2em 1.5em 0.2em;
	padding:0.6em 1em;
}
ul.categories li:first-of-type {
	margin-left:0;
}
ul.categories li:last-of-type {
	margin-right:0;
}
ul.categories li.selected {
	background:#FF8F23;
	color:#fff;
	border:1px solid #FF8F23;
}

#doorList,
#wallList {
	direction: rtl;
	overflow:auto;
	padding-left:10px;
	max-height:40vh;
}
.short {
	max-height:25vh!important;
}
#doorList > div,
#wallList > div {
	display:flex;
	flex-wrap:wrap;
	direction:ltr;
}
#doorList .button {
	cursor:pointer;
	width:90px;
	text-align:center;
}
#doorList .button img {
	width:100%;
	max-width:40px;
	height:auto;
	margin:0 auto 0.3em auto;
}
#doorList .button p {
	font-size:0.6rem;
	font-weight:600;
	margin:0 0 2em 0;
	padding:0;
	line-height:1;
}
#doorList .button span {
	display:block;
	font-size:0.55rem;
	margin-bottom:1.5em;
}

.list-block {
	position:relative;
	padding-top:2em;
}
.list-block::before {
	position:absolute;
	top:0;
	left:0;
	font-size:0.8rem;
	font-weight:600;
}

#oakVeneer::before {
	content: "Oak";
}
#walnutVeneer::before {
	content: "Walnut";
}
#black::before {
	content: "Black";
}
#grey::before {
	content: "Grey";
}
#white::before {
	content: "White";
}

#wallList button {
	border:0;
	width:75px;
	height:75px;
	margin:1%;
	border:1px solid #eee;
}

#floorList {
	display:flex;
	flex-wrap: wrap;
}
.floor_thumb {
	width:75px;
	height:75px;
	margin:1%;
}
.floor_thumb img {
	width:100%;
	height:auto;
	display:block;
}




#room {
	position:relative;
	margin-left:350px;
}
#roomImg {
	width:100%;
	height:auto;
}
#door,
#floorImg,
#wallImg {
	width:100%;
	height:auto;
	position:absolute;
	top:0;
	left:0;
}
.selections {
	display:block;
	width:100%;
	height:auto;
}
.selections p {
	font-size:1.2rem;
	padding-bottom:0.2em;
}

.doorContent {
	display:flex;
	margin-bottom:1.5rem;
	max-width:386px;
}
.doorContent img {
	display:block;
	align-self: center;
	width:70px;
	margin-right:20px;
	height:auto;
}
.doorContent .desc {

}
.doorContent h4 {
	color:#FF8F23;
	margin-bottom:0.4em;
}
.doorContent p {
	font-size:0.7rem;
	margin-bottom:0.3em;
}
.doorContent #sku {
	color:#777;
	margin-bottom:0.8rem;
}
.doorContent a {
	display:block;
	clear:both;
	width:100%;
	max-width:150px;
	background-image: url('img/search.svg');
	background-position:10px 50%;
	background-size:20px auto;
	background-repeat:no-repeat;
	background-color:#777;
	color:#fff;
	font-size:0.8rem;
	padding:0.8rem 0.8rem 0.8rem 2.4rem;
	margin-bottom:0.5rem;
}
.doorContent a.supplier {
	background-image: url('img/basket.svg');
	background-position:10px 50%;
	background-size:20px auto;
	background-repeat:no-repeat;
	background-color:#FF8F23;
}

.change_room {
	display:block;
	position:absolute;
	bottom:20px;
	right:20px;
	width:200px;
	height:auto;
	background:#363940;
	color:#FF8F23;
	padding:6px 3px 3px;
	text-align:center;
}
.change_room p {
	margin:0 0 6px 0;
	font-size:1rem;
}
.change_room img {
	width:100%;
	height:auto;
}

#save {
	position:absolute;
	bottom:20px;
	left:20px;
	color:#fff;
	padding:10px 30px 10px 12px;
	z-index:10;
	font-size:0.9rem;
	background:url('img/download.png') no-repeat #FF8F23;
	background-position: 95% 50%;
	background-size:15px auto;
	cursor:pointer;
}

.suppliers {
	position:absolute;
	top:50%;
	left:50%;
	-webkit-transform:translate(-50%,-50%);
	transform:translate(-50%,-50%);
	background:rgba(255, 255, 255, 0.9);
	width:75%;
	height:auto;
	padding:1.5rem 2.5rem;
	text-align:center;
}
.suppliers h5 {
	font-size:0.9rem;
}
.suppliers button {
	background:#FF8F23;
	color:#fff;
	padding:0.6rem 1rem;
	border:none;
}
.supplierContain {
	display:flex;
	justify-content:center;
	align-content:center;
}
.supplierCard {
	flex:1;
	margin:1.5em;
}
.supplierCard img {
	width:100%;
	height:auto;
	margin-bottom:0.3rem;
}

@media (min-width:1200px) {
	.sidebar {
		width:450px;
	}
	#doorList .button {
		min-width:120px;
	}
	#room {
		margin-left:450px;
	}
}

@media (min-height:769px) {
	.intro .visualiser_logo {
		max-width: 500px;
    margin: 1.2em auto 2.8em auto;
  }
	#doorList {
		max-height:45vh;
	}
	.short {
		max-height:22vh!important;
	}
}
@media (min-height:900px) {
	#doorList {
		max-height:52vh;
	}
	.short {
		max-height:31vh!important;
	}
}

@media (min-width:1900px) and (min-height:900px) {
	.header {
		padding: 1em 4.6em 0 4.6em;
	}
	.sidebar {
		width:650px;
		padding:1em 4.6em;
	}
	#doorList .button {
		min-width:120px;
	}
	#room {
		margin-left:650px;
	}
}

@media (max-width:1100px) {
	.sidebar {
		width:300px;
		padding:1em 1.5em;
	}
	#doorList .button {
		width:75px;
	}
	#doorList .button p {
		font-size:0.6rem;
	}
	#doorList .button span {
		font-size:0.4rem;
	}
	#room {
		margin-left:300px;
	}
}

@media (max-width:800px) {
	.desktop-txt {
		display:none!important;
	}
	.mobile-txt {
		display:block!important;
	}
	.header {
		padding:1em 1em 0 1em;
	}
	.header .brand_logo {
		width:80px;
	}
	.header .visualiser_logo {
		width:160px;
	}
	.header .european_logo {
		width:100px;
	}
	.intro::before {
		content:"";
		display:block;
		position:absolute;
		top:0;
		left:0;
		bottom:0;
		right:0;
		background:rgba(255, 255, 255, 0.5);
	}
	.intro > * {
		position:relative;
	}
	.intro .visualiser_logo {
		max-width:320px;
		margin:0em auto 1.8em auto;
	}
	.rooms {
		display:block!important;
	}
	.room {
		margin-bottom:1em;
	}
	.sidebar {
		position:relative;
		top:auto;
		left:auto;
		bottom:0;
		width:100%;
	}
	a.return {
		margin-bottom:0.8em;
	}
	#doorList .button {
		width:100px;
	}
	#doorList .button p {
		font-size:0.7rem;
	}
	#doorList .button span {
		font-size:0.5rem;
	}
	img.extend {
		display:none;
	}
	#room {
		margin:0;
	}
	.change_room {
		display:none;
	}
	.suppliers {
		width:90%;
		padding:1em;
	}
	.footer {
	position:relative;
	bottom:auto;
	}
}