* {
  margin: 0;
  padding: 0;
  font-family: 'Tahoma', 'sans-serif';
}
.clear:after {
  content: '';
  height: 0;
  float: none;
  clear: both;
  display: block;
}
.wrap .nav-tabs {
  list-style: none;
  margin-bottom: 25px;
}
.wrap .nav-tabs li {
  display: inline-block;
  vertical-align: middle;
  box-sizing: content-box;
  margin-right: -4px;
}
.wrap .nav-tabs li a {
  display: block;
  text-transform: uppercase;
  text-decoration: none;
  height: 50px;
  float: left;
  padding: 0 20px;
  line-height: 50px;
  color: #006ac3;
  border: 1px solid #e4e4e4;
  font-size: 20px;
  font-weight: normal;
  cursor: pointer;
}
.wrap .nav-tabs li.active a {
  background: #40B25D;
  border: 1px solid #40B25D;
  color: #fff;
}
.wrap .tab-content .tab-pane {
  display: none;
  padding: 10px;
}
.wrap .tab-content .tab-pane h3 {
  font-size: 22px;
  color: #006ac3;
  padding: 10px 0;
  font-weight: normal;
}
.wrap .tab-content .tab-pane.active {
  display: block;
}
.wrap .tab-content .tab-pane .step-block.window-type {
  margin-bottom: 20px;
}
.wrap .tab-content .tab-pane .step-block.window-type input {
  position: absolute;
  left: -3500px;
}
.wrap .tab-content .tab-pane .step-block.window-type input:checked + label {
  outline: 1px solid #40B25D;
}
.wrap .tab-content .tab-pane .step-block.window-type label {
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  padding: 10px 15px;
  height: 160px;
  position: relative;
}
.wrap .tab-content .tab-pane .step-block.window-type label:before {
  content: '';
  position: absolute;
  display: block;
  height: 138px;
  left: 15px;
  background: url("../img/bg-calc-top.png") no-repeat;
  top: 10px;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-one {
  width: 45px;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-one:before {
  width: 45px;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-two {
  width: 87px;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-two:before {
  width: 87px;
  background-position: -45px 0;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-three {
  width: 117px;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-three:before {
  width: 117px;
  background-position: -132px 0;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-four {
  width: 45px;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-four:before {
  width: 45px;
  background-position: -249px 0;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-five {
  width: 86px;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-five:before {
  width: 86px;
  background-position: -294px 0;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-six {
  width: 121px;
}
.wrap .tab-content .tab-pane .step-block.window-type label.type-six:before {
  width: 121px;
  background-position: -380px 0;
}
.wrap .tab-content .tab-pane .step-block .scheme-block,
.wrap .tab-content .tab-pane .step-block .inputs-block {
  float: left;
  margin-top: 20px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block {
  width: 395px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item {
  display: none;
  position: relative;
  text-align: center;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.active {
  display: block;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item input[type=text] {
  width: 40px;
  border: 1px solid #DDDDDD;
  height: 17px;
  text-align: center;
  color: #999;
  padding: 2px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .input {
  position: relative;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .input:after {
  content: '';
  display: block;
  position: absolute;
  background: #ddd;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .input input {
  position: relative;
  z-index: 2;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .line-hor {
  margin-bottom: 5px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .line-hor .input {
  display: inline-block;
  vertical-align: middle;
  width: 131px;
  margin-left: -4px;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .line-hor .input:first-child {
  margin-left: 0;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .line-hor .input:after {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
  margin-top: -0.5px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .line-ver .input {
  height: 257px;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .line-ver .input:after {
  width: 1px;
  height: 100%;
  left: 50%;
  margin-left: -0.5px;
  top: 0;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .line-ver .input input {
  top: 46%;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .line-ver,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .scheme-img {
  display: inline-block;
  vertical-align: top;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .scheme-img {
  background: url("../img/bg-calc-windows.png") no-repeat;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item .item-description {
  text-align: center;
  margin: 15px 0;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-one .line-ver,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-two .line-ver,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-four .line-ver,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-five .line-ver {
  margin-left: -50px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-one .scheme-img,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-four .scheme-img {
  width: 135px;
  height: 257px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-two .scheme-img,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-five .scheme-img {
  width: 269px;
  height: 257px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-three .line-hor,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-six .line-hor {
  padding-left: 13px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-three .line-hor .input,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-six .line-hor .input {
  width: 99px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-three .line-ver,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-six .line-ver {
  margin-left: -40px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-three .scheme-img,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-six .scheme-img {
  width: 307px;
  height: 257px;
  background-position: -404px 0;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-four .line-ver .input:first-child,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-five .line-ver .input:first-child,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-six .line-ver .input:first-child {
  height: 253px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-four .line-ver .input:last-child,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-five .line-ver .input:last-child,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-six .line-ver .input:last-child {
  margin-top: 1px;
  height: 118px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-four .line-ver .input:last-child input,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-five .line-ver .input:last-child input,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-six .line-ver .input:last-child input {
  top: 38%;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-four .scheme-img,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-five .scheme-img,
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-six .scheme-img {
  height: 379px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-four .scheme-img {
  background-position: 0 -257px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-five .scheme-img {
  background-position: -135px -257px;
}
.wrap .tab-content .tab-pane .step-block .scheme-block .scheme-item.type-six .scheme-img {
  background-position: -404px -257px;
}
.wrap .tab-content .tab-pane .step-block .inputs-block {
  width: 380px;
}
.wrap .tab-content .tab-pane form ul {
  list-style: none;
}
.wrap .tab-content .tab-pane form ul li {
  margin-bottom: 20px;
}
.wrap .tab-content .tab-pane form ul li.questions h6 {
  color: #555555;
  padding-bottom: 8px;
  font-size: 14px;
}
.wrap .tab-content .tab-pane form ul li.questions input[type=radio],
.wrap .tab-content .tab-pane form ul li.questions input[type=checkbox] {
  position: absolute;
  left: -3500px;
}
.wrap .tab-content .tab-pane form ul li.questions label {
  display: block;
  position: relative;
  padding: 5px 0 5px 25px;
  margin-bottom: 5px;
  cursor: pointer;
  color: #555;
  margin-left: 20px;
}
.wrap .tab-content .tab-pane form ul li.questions label:before {
  content: '';
  display: block;
  position: absolute;
  width: 15px;
  height: 15px;
  left: 0;
  top: 50%;
  margin-top: -7.5px;
  border: 1px solid #E6E6E6;
}
.wrap .tab-content .tab-pane form ul li.questions input:checked + label:before {
  background: #40B25D;
}
.wrap .tab-content .tab-pane form ul li.text-inputs label {
  display: block;
  color: #555555;
  padding-bottom: 8px;
  font-size: 16px;
  font-weight: bold;
}
.wrap .tab-content .tab-pane form ul li.text-inputs input {
  border: 1px solid #DDDDDD;
  width: 260px;
  height: 20px;
  padding: 0 10px;
  text-align: left;
}
.wrap .tab-content .tab-pane form label.error {
  color: #ff674f!important;
  font-size: 12px!important;
  font-weight: normal!important;
  padding: 2px 0 0 0!important;
}
.wrap .tab-content .tab-pane form input.error {
  border-color: #ff674f!important;
}
.wrap .tab-content .tab-pane form .buttons {
  text-align: center;
}
.wrap .tab-content .tab-pane form .buttons button {
  padding: 0 20px;
  height: 34px;
  line-height: 34px;
  border: 0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #fff;
  background: #40B25D;
  font-size: 12px;
  text-transform: uppercase;
  -webkit-box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.59);
  -moz-box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.59);
  box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.59);
  cursor: pointer;
}
.wrap .tab-content .tab-pane form .scheme-block .scheme-item .input label.error {
  position: absolute;
  left: 0;
  top: -26px;
  width: auto;
  min-width: 140px;
  text-align: left;
  box-shadow: 0 0 1px;
  background: #fff;
  padding: 5px!important;
  z-index: 2;
}
.wrap .tab-content .tab-pane form .scheme-block .scheme-item .line-ver .input label.error {
  top: 35.5%;
  left: 0;
}
.jconfirm-box {
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0!important;
}
.jconfirm.white .jconfirm-box .buttons button.btn-default {
  box-shadow: none;
  color: #333;
  cursor: pointer;
  padding: 5px;
}
