@charset "UTF-8";
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@-webkit-keyframes draw {
  0% {
    fill-opacity: 0;
    stroke-dashoffset: 2500;
  }
  20% {
    stroke-dashoffset: 2500;
  }
  40% {
    fill-opacity: 0;
  }
  60% {
    stroke-dashoffset: 0;
  }
  100% {
    fill-opacity: 1;
    stroke-opacity: 0;
    -webkit-transition: fill, 0.5s;
  }
}
@-moz-keyframes draw {
  0% {
    fill-opacity: 0;
    stroke-dashoffset: 2500;
  }
  20% {
    stroke-dashoffset: 2500;
  }
  40% {
    fill-opacity: 0;
  }
  60% {
    stroke-dashoffset: 0;
  }
  100% {
    fill-opacity: 1;
    stroke-opacity: 0;
    -moz-transition: fill, 0.5s;
  }
}
@keyframes draw {
  0% {
    fill-opacity: 0;
    stroke-dashoffset: 2500;
  }
  20% {
    stroke-dashoffset: 2500;
  }
  40% {
    fill-opacity: 0;
  }
  60% {
    stroke-dashoffset: 0;
  }
  100% {
    fill-opacity: 1;
    stroke-opacity: 0;
    -webkit-transition: fill, 0.5s;
    -moz-transition: fill, 0.5s;
    transition: fill, 0.5s;
  }
}
body {
  font-family: "Kanit", sans-serif;
  background-color: #374d72;
}

.colour-tool {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 200px;
  /* -------------------------------- House section */
  /* -------------------------------- Swatch section */
}
@media screen and (min-width: 63em) {
  .colour-tool {
    min-height: 700px;
  }
}
.colour-tool + .enquiry-section {
  margin-top: 50%;
}
@media screen and (min-width: 63em) {
  .colour-tool + .enquiry-section {
    margin-top: 0;
  }
}
.colour-tool .house {
  position: relative;
  width: 1000px;
  max-width: 100%;
  overflow: hidden;
  box-shadow: 0 0 0 5px #dadada;
  margin: auto auto 40px auto;
  font-size: 0;
  line-height: 0;
  max-height: 331px;
  background-color: white;
}
@media screen and (min-width: 63em) {
  .colour-tool .house {
    height: 331px;
  }
}
.colour-tool .house .house-overlay,
.colour-tool .house .windows-overlay,
.colour-tool .house .environment {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 331px;
  width: 1000px;
  max-width: 100%;
  -webkit-animation: fadeIn 1s 2s backwards;
  -moz-animation: fadeIn 1s 2s backwards;
  animation: fadeIn 1s 2s backwards;
}
.colour-tool .house .windows-overlay {
  z-index: 3;
}
.colour-tool .house .environment {
  z-index: 1;
}
.colour-tool .house .segments {
  position: relative;
  z-index: 1;
  width: 100%;
  top: 0;
  max-height: 331px;
  height: auto !important;
}
@media screen and (min-width: 63em) {
  .colour-tool .house .segments {
    height: 331px;
  }
}
.colour-tool .house .segments g {
  -webkit-animation-fill-mode: backwards;
  -moz-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}
.colour-tool .house .segments g:nth-child(1) {
  -webkit-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.colour-tool .house .segments g:nth-child(2) {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
.colour-tool .house .segments g:nth-child(3) {
  -webkit-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
.colour-tool .house .segments g:nth-child(4) {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.colour-tool .house .segments g:nth-child(5) {
  -webkit-animation-delay: 0.7s;
  -moz-animation-delay: 0.7s;
  animation-delay: 0.7s;
}
.colour-tool .house .segments g:nth-child(6) {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}
.colour-tool .house .segments g:nth-child(7) {
  -webkit-animation-delay: 0.9s;
  -moz-animation-delay: 0.9s;
  animation-delay: 0.9s;
}
.colour-tool .house .segments g * {
  stroke-weight: 4;
  stroke-dashoffset: 2500;
  stroke-dasharray: 2500;
  stroke: rgba(0, 0, 0, 0.5);
  -webkit-animation: draw 5s backwards;
  -moz-animation: draw 5s backwards;
  animation: draw 5s backwards;
}
.colour-tool .house .segments g *:nth-child(1) {
  -webkit-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.colour-tool .house .segments g *:nth-child(2) {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
.colour-tool .house .segments g *:nth-child(3) {
  -webkit-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
.colour-tool .house .segments g *:nth-child(4) {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.colour-tool .house .segments g *:nth-child(5) {
  -webkit-animation-delay: 0.7s;
  -moz-animation-delay: 0.7s;
  animation-delay: 0.7s;
}
.colour-tool .house .segments g *:nth-child(6) {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}
.colour-tool .house .segments g *:nth-child(7) {
  -webkit-animation-delay: 0.9s;
  -moz-animation-delay: 0.9s;
  animation-delay: 0.9s;
}
.colour-tool .sections {
  padding: 0 20px;
}
@media screen and (min-width: 63em) {
  .colour-tool .sections {
    padding: 0;
    border: solid 1px silver;
    position: relative;
    margin-bottom: 40px;
    font-size: 0;
  }
}
.colour-tool .sections > li {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  background: #efefef;
  text-align: center;
  line-height: 60px;
  cursor: pointer;
  position: relative;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}
.colour-tool .sections > li:after {
  content: "▼";
  display: inline-block;
  position: absolute;
  right: 20px;
  top: 20px;
  color: #747474;
  margin-left: 20px;
  line-height: 20px;
  font-size: 20px;
  vertical-align: middle;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
@media screen and (min-width: 63em) {
  .colour-tool .sections > li {
    height: 300px;
    box-shadow: inset 1px -1px 0 0 silver;
    display: inline-block;
    width: 20%;
    margin-bottom: 0;
    position: static;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .colour-tool .sections > li:after {
    display: none;
  }
}
.colour-tool .sections > li.open {
  background: white;
  box-shadow: inset 0 0 0 1px silver;
}
@media screen and (min-width: 63em) {
  .colour-tool .sections > li.open {
    box-shadow: inset 1px 0 0 0 silver;
  }
}
@media screen and (min-width: 63em) {
  .colour-tool .sections > li.open:first-child {
    box-shadow: inset 0 0 0 0 silver;
  }
}
.colour-tool .sections > li.open .swatches {
  z-index: 4;
}
.colour-tool .sections > li.open:after {
  color: #8099c2;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
.colour-tool .sections > li .swatches {
  text-align: left;
  line-height: 1;
  display: none;
  cursor: default;
}
@media screen and (min-width: 63em) {
  .colour-tool .sections > li .swatches {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    padding: 2em;
    background-color: inherit;
    box-shadow: 0 0 0 1px silver;
  }
}
.colour-tool .sections > li .swatches li {
  display: inline-block;
  vertical-align: top;
  width: 25%;
  margin: 1.6666666667%;
  padding: 1.1111111111% 1.1111111111% 10px 1.1111111111%;
  outline: none;
  background-color: #efefef;
  border-radius: 3px;
  font-size: 10px;
}
@media screen and (min-width: 63em) {
  .colour-tool .sections > li .swatches li {
    width: 9.0909090909%;
    margin: 0.9090909091%;
    padding: 0.625% 0.625% 10px 0.625%;
  }
}
.colour-tool .sections > li .swatches li .swatch {
  display: block;
  height: 40px;
  border-radius: 2px;
  margin-bottom: 10px;
  cursor: pointer;
  border: none;
  width: 100%;
  overflow: hidden;
  text-indent: 101%;
  white-space: nowrap;
}
@media screen and (min-width: 63em) {
  .colour-tool .sections > li .swatches li .swatch {
    height: 60px;
  }
}
.colour-tool .sections > li .swatches li:hover, .colour-tool .sections > li .swatches li:active, .colour-tool .sections > li .swatches li:focus {
  box-shadow: 0 0 0 2px rgba(39, 39, 39, 0.5);
}
.colour-tool .sections > li .swatches li.in-use {
  box-shadow: 0 0 0 2px #8099c2;
}
.colour-tool .sections > li .swatches li.in-use button:hover, .colour-tool .sections > li .swatches li.in-use button:active, .colour-tool .sections > li .swatches li.in-use button:focus {
  outline: none;
}