.config-nav {
  /* border-top: 1px solid #e8e8e8; 
  border-bottom: 1px solid #e8e8e8;  */
  line-height: 80px;
}
.config-nav > span {
  display: inline-block;
  padding-left: 40px;
  margin-right: 120px;
  line-height: 80px;
  vertical-align: middle;
  position: relative;
}
.config-nav > span:before {
  content: url("../assets/images/general/cursor.png");
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
}
.config-nav .nav {
  display: inline-block;
  margin-bottom: -1px;
  line-height: 80px;
  vertical-align: middle;
  list-style: none;
  padding-left: 0;
}
.config-nav .nav > li {
  float: left;
  line-height: 77px;
}
.config-nav .nav > li + li {
  margin-left: 40px;
}
.config-nav .nav > li a {
  padding: 0 10px;
  border-bottom: 1px solid transparent;
  font-family: "Quicksand", sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #153473;
  transition: all 0.3s;
  text-decoration: none;
}
.config-nav .nav > li a.active,
.config-nav .nav > li a:hover,
.config-nav .nav > li a:focus {
  color: #0f77ff;
  border-bottom-color: #0f77ff;
}

.tab-content.configurators-tabs > .tab-pane {
  display: block;
  height: 0;
  overflow: hidden;
}
.tab-content.configurators-tabs > .tab-pane.active {
  display: block;
  height: auto;
  overflow: visible;
}

.house-preview {
  padding-bottom: 100px;
  position: relative;
}
.house-preview:before {
  content: "";
  display: block;
  width: 1164px;
  height: 600px;
  border: 1px solid #fff;
  opacity: 0.4;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translate(-50%, 0);
}
.house-preview-description {
  margin-bottom: 60px;
}

.hp-container {
  box-sizing: border-box;
  margin: 0;
  user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 1;
}

.hp-container:before {
  content: "";
  display: block;
  background: url("../../images/bg/bg-configurator.png") no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}
.canvas-loader {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
  opacity: 0;
  animation: loader 2s linear infinite;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  z-index: 1;
}
.canvas-loader:after {
  content: "\f29c";
  display: block;
  width: 80px;
  height: 80px;
  font-family: "ionicons";
  font-size: 60px;
  font-weight: normal;
  color: #009fe2;
  line-height: 80px;
  text-align: center;
}
.hp-container.loading .canvas-loader {
  opacity: 1;
  visibility: visible;
}
@keyframes loader {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.hp-container .hp-canvas {
  position: relative;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.hp-container.loading .hp-canvas {
  opacity: 0;
  visibility: hidden;
}
.hp-container.scene-transition .hp-canvas {
  opacity: 0;
  visibility: hidden;
}
.hp-container canvas {
  display: block;
}

.hp-container .hp-back {
  display: none;
  padding: 17px 40px 17px 60px;
  background: #a5abad;
  color: #fff;
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 1;
  border-radius: 30px;
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  font-weight: bold;
  position: absolute;
  cursor: pointer;
  transition: background-color 0.3s;
}
.hp-container .hp-back:before {
  content: "\f108";
  display: block;
  font-family: "ionicons";
  font-weight: normal;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translate(0, -50%);
}
.hp-container .hp-back:hover,
.hp-container .hp-back:focus {
  background: #009fe2;
}
.hp-container .hp-back.active {
  display: block;
}

.hp-container .hp-card-container {
  padding: 60px 10px 30px;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  overflow: auto;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.hp-container .hp-card-container.active {
  opacity: 1;
  visibility: visible;
}
.hp-container .hp-card {
  display: inline-block;
  max-width: 100vw;
  box-sizing: border-box;
}
.hp-container .hp-card-header {
}
.hp-container .hp-card-header:after {
  content: "";
  display: table;
  clear: both;
}
.hp-container .hp-card-close {
  display: block;
  width: 30px;
  height: 30px;
  float: right;
  background: #ff0000;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s;
}
.hp-container .hp-card-close:hover,
.hp-container .hp-card-close:focus {
  background: #c00000;
}
.hp-container .hp-card-download {
  display: none;
  float: right;
  padding: 0 10px;
  background: #ff0000;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s;
}
.hp-container .hp-card-download.active {
  display: block;
}
.hp-container .hp-card-download:hover,
.hp-container .hp-card-close:focus {
  background: #c00000;
}
.hp-container .hp-card-image {
  display: block;
  max-width: 100vw;
  max-width: calc(100vw - 20px);
}

.hp-container .hp-tooltip {
  padding: 20px 25px;
  border-radius: 20px;
  background: #3cb600;
  box-shadow: rgba(19, 61, 24, 0.27) 0 6px 11px 11px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  position: absolute;
  transform: translate(-25px, -120%);
  transform: translate(-25px, calc(-100% - 20px));
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.hp-container .hp-tooltip:before {
  content: "";
  display: block;
  border: 8px solid transparent;
  border-top-color: #3cb600;
  border-left-color: #3cb600;
  border-bottom-left-radius: 5px;
  position: absolute;
  top: 100%;
  left: 25px;
  transform: translate(0, -1px);
}
.hp-container .hp-tooltip.active {
  opacity: 1;
  visibility: visible;
}
.hp-container .hp-tooltip-name {
  display: block;
  font-size: 18px;
  white-space: nowrap;
}
.hp-container .hp-tooltip-desc {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
.hp-container .hp-tooltip-desc span {
  color: #fff;
}
.hp-container .hp-tooltip-price {
  display: block;
  font-size: 24px;
  white-space: nowrap;
}

.hp-download {
  display: none;
  padding-left: 60px;
  background: #009fe2;
  color: #fff;
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 1;
}
.hp-download.active {
  display: block;
}
.hp-download:before {
  content: "\f105";
  display: block;
  width: 35px;
  height: 35px;
  border: 2px solid #fff;
  border-radius: 50%;
  font-family: "ionicons";
  font-weight: normal;
  line-height: 30px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translate(-50%, -50%);
}
.hp-download:hover,
.hp-download:focus {
  background: #0072a0;
}

.hp-title {
  display: none;
  background: #009fe2 !important;
  color: #fff;
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 1;
  cursor: default !important;
}
.hp-title.active {
  display: block;
}

.bg-grey-expanded-big {
  padding-bottom: 80px;
}


@media only screen and (max-width: 1280px) {
  .config-nav > span {margin-right: 30px;}
  .config-nav .nav > li + li {margin-left: 30px;}
}
@media only screen and (max-width: 1180px) {
  .config-nav > span {margin-right: 15px;}
}
@media only screen and (max-width: 930px) {
  .config-nav > span {margin-right: 0;}
  .config-nav > ul {display: block;}
}
@media only screen and (max-width: 767px) {
  .hp-container .hp-tooltip {padding: 10px 15px;}

  .hp-container .hp-back {width: 46px; height: 46px; padding: 0; left: 15px;}
  .hp-container .hp-back:before {left: 50%; transform: translate(-50%,-50%);}
  .hp-container .hp-back span {display: none;}

  .hp-download {width: 46px; height: 46px; padding: 0; right: 15px;}
  .hp-download:before {left: 50%;}
  .hp-download span {display: none;}

  .hp-title {padding: 10px 15px; right: 15px;}

  .bg-grey-expanded-big {
    padding-bottom: 30px;
  }
}
@media only screen and (max-width: 700px) {
  .config-nav .nav > li + li {margin-left: 20px;}
}
@media only screen and (max-width: 620px) {
  .config-nav .nav {display: block; margin-bottom: 5px; line-height: 60px;}
  .config-nav .nav > li {float: none; line-height: 57px;}
  .config-nav .nav > li + li {margin-left: 0;}
}
@media only screen and (max-width: 480px) {
  .hp-container .hp-back {top: 15px;}

  .hp-download {top: 15px;}

  .hp-title {top: auto; bottom: 100%; left: 0; right: 0; transform: translate(0, -15px);}
  .configurators-tabs {padding-top: 40px; }
}