.clearfix {
  overflow: auto;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.block-windows-bars {
  clear: both;
  margin: 30px auto 30px;
  width: 100%;
  font-size: 10pt;
  color: #fd4346;
}

.block-windows-bars > div {
  margin-left: 0px;
  margin-bottom: 10px;
}

.block-windows-bars > div > img {
  margin-bottom: -5px;
  margin-right: 10px;
  float: left;
}

.block-windows-bar {
  width: 75%;
  float: right;
  margin-top: 3px;
  background: repeating-linear-gradient(
    45deg,
    rgba(189, 96, 96, 0.33),
    rgba(189, 96, 96, 0.37) 10px,
    rgba(179, 77, 77, 0.34) 10px,
    rgba(153, 70, 70, 0.32) 20px
  );
  height: 10px;
  border-radius: 4px;
}

.block-windows-bar-inner {
  background: repeating-linear-gradient(
    45deg,
    #bd6060,
    #bd6060 10px,
    #b34d4d 10px,
    #994646 20px
  );
  height: 10px;
  border-radius: 4px;
  background-size: 200% 200%;
}

.balkoncalc-17 {
  /*margin-bottom:600px;*/
  float: left;
  width: 100%;
}

.balkoncalc-17 * {
  box-sizing: border-box;
}

.ui-widget-content {
  display: block;
}

.central-content {
  width: auto;
  padding: 20px;
  position: relative;
}

.balkoncalc-type-selector {
  float: left;
  width: 10%;
}

.balkoncalc-type-selector > div {
  float: left;
  margin-right: 10px;
  padding: 10px 10px;
  font-size: 16px;
  padding-top: 15px;
  font-weight: bold;
}

div.balkoncalc-type-selector-one {
  text-align: center;
  font-size: 14px;
  padding-top: 10px;
  border-radius: 0px;
  position: relative;
  cursor: pointer;
  font-weight: normal;
  text-decoration: underline;
  border: 1px solid #d6d6d6;
  margin-bottom: 5px;
}

div.balkoncalc-type-selector-one:hover {
  border-color: #b76668;
}

div.balkoncalc-type-selector-one-selected {
  background: white;
  text-decoration: none;
  border-color: #b63032;
}

div.balkoncalc-type-selector-one-selected:after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  background: white;
  right: -8px;
  top: 47%;
  margin-left: -7px;
  border-right: 1px solid #b63032;
  border-top: 1px solid #b63032;
  -ms-transform: rotate(45deg); /* IE 9 */
  -webkit-transform: rotate(45deg); /* Safari */
  transform: rotate(45deg);
}

.balkoncalc-type-selector-one > img {
  margin: 10px 0px;
  max-width: 80px;
  margin-bottom: 0px;
  margin-top: -3px;
}

.balkoncalc-type-selector-one:nth-child(2) > img {
}

.balkoncalc-main-window {
  float: left;
  width: 48%;
  margin-top: 30px;
}

.balkoncalc-price {
  float: right;
  clear: right;
  width: 30%;
}

.balkoncalc-options {
  float: right;
  width: 40%;
  clear: right;
}

.balkoncalc-vertical-slider {
  float: left;
  position: relative;
}
.balkoncalc-vertical-slider-ui {
  width: 8px;
  margin-right: 30px;
  margin-left: 60px;
  height: 290px;
  position: relative;
  background-image: linear-gradient(
    0deg,
    #989c9e 12.5%,
    #ffffff 12.5%,
    #ffffff 50%,
    #989c9e 50%,
    #989c9e 62.5%,
    #ffffff 62.5%,
    #ffffff 100%
  );
  background-size: 8px 8px;
}

.balkoncalc-horisontal-slider {
  position: relative;
  margin-bottom: 60px;
  margin-left: 90px;
  width: 450px;
}

.balkoncalc-horisontal-slider-ui {
  width: 450px;
  height: 8px;
  margin-top: 40px;
  margin-bottom: 30px;
  /* background-color: #ddd !important; */
  background-image: linear-gradient(
    90deg,
    #989c9e 12.5%,
    #ffffff 12.5%,
    #ffffff 50%,
    #989c9e 50%,
    #989c9e 62.5%,
    #ffffff 62.5%,
    #ffffff 100%
  );
  background-size: 8px 8px;
}

.ui-widget.ui-widget-content {
  border: 0;
}

.ui-slider-handle.ui-state-default {
  background: #b63032;
  width: 15px;
  height: 15px;
  border-radius: 20px;
  border: none;
  margin-left: 1px;
  cursor: pointer;
  margin-top: 1px;
}

.balkoncalc-vertical-slider-ui > .ui-slider-handle:hover,
.balkoncalc-horisontal-slider-ui > .ui-slider-handle:hover {
  box-shadow: 0px 0px 5px 0px rgba(36, 97, 158, 0.44);
}

.balkoncalc-vertical-slider-ui .ui-slider-handle.ui-state-default {
  margin-left: 2px;
}

.balkoncalc-horisontal-slider-ui .ui-slider-handle.ui-state-default {
  margin-left: -2px;
}

.balkoncalc-vertical-slider-counter,
.balkoncalc-horisontal-slider-counter {
  position: absolute;
  width: 50px;
  border-radius: 0px;
  height: 26px;
  background: #ffffff;
  color: #b63032;
  padding: 5px;
  text-align: center;
  font-size: 11pt;
  border: 1px solid #b63032;
}
.balkoncalc-vertical-slider-counter {
  left: -10px;
  margin-top: -12px;
  padding-top: 4px;
}

.balkoncalc-horisontal-slider-counter {
  top: 20px;
  margin-left: -20px;
}

.balkoncalc-vertical-slider-counter:after,
.balkoncalc-horisontal-slider-counter:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  right: -5px;
  top: 50%;
  margin-top: -4px;
  -ms-transform: rotate(45deg); /* IE 9 */
  -webkit-transform: rotate(45deg); /* Safari */
  transform: rotate(45deg);
}

.balkoncalc-vertical-slider-counter:after {
  border-top: 1px solid #b63032;
  border-right: 1px solid #b63032;
}

.balkoncalc-horisontal-slider-counter:after {
  top: 0px;
  left: 50%;
  margin-top: -5px;
  margin-left: -4px;
  border-top: 1px solid #b63032;
  border-left: 1px solid #b63032;
}

.balkoncalc-constuction {
  height: 320px;
}

.balkoncalc-constuction > img {
  max-height: 350px;
  margin-top: -10px;
}

.balkoncalc-options > label {
  display: block;
  float: left;
  width: 50%;
  font-size: 16px;
  padding: 6px;
  cursor: pointer;
}

.balkoncalc-options input {
  margin-right: 35px;
}

.balkoncalc-type2-selector {
  float: right;
  width: 42%;
  font-weight: bold;
  font-size: 16px;
  padding-right: 20px;
  margin-bottom: 10px;
}

.balkoncalc-type2-selector > div > div {
  margin-top: 10px;
  font-weight: normal;
  font-size: 14px;
  margin-bottom: 20px;
  float: left;
  width: 48%;
  padding: 13px;
  border: 1px solid #ccc;
  margin-right: 1%;
  cursor: pointer;
}

.balkoncalc-type2-selector > div > div:hover,
.balkoncalc-type2-selector > div > div.selected {
  background: #ebf2f6;
  border-color: #2e73c2;
}

.balkoncalc-type2-selector > div > div:last-child:hover,
.balkoncalc-type2-selector > div > div:last-child.selected {
  background: #f5eaea;
  border-color: #c22e2e;
}

.balkoncalc-type2-selector > div > div > input {
  display: none;
}

.balkoncalc-type2-selector > div > div > label {
  display: block;
  float: left;
  font-size: 16px;
  /*padding:6px;
	padding-left:35px;
	background: url(/balkoncalc/images/radio-bg.png) no-repeat 0px 3px;*/
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 10px;
  margin-right: 100px;
}

.balkoncalc-type2-selector > div > div > input:checked + label {
  /*background-image: url(/balkoncalc/images/radio-active.png);*/
}

.balkoncalc-type2-selector > div > div > div {
  margin-top: 13px;
  font-size: 14px;
}

.block-windows-bar {
  width: 60%;
}

.balkoncalc-bar-wrapper {
  width: 70%;
  float: right;
  border-radius: 5px;
  background: #ddd;
  height: 10px;
  margin-top: 3px;
}

.balkoncalc-bar-bar {
  background: #627bab;
  height: 100%;
  border-radius: 5px 0px 0px 5px;
}

.balkoncalc-price {
  font-size: 16px;
  font-weight: bold;
  width: 40%;
  margin-top: 20px;
}

.balkoncalc-button {
  margin-top: 30px;
  margin-left: 30px;
  display: inline-block;
}

.balkoncalc-price-value {
  font-size: 50px;
  font-weight: bold;
  color: #fd4346;
  display: inline-block;
  margin-top: 5px;
}

.balkoncalc-price s {
  color: #999;
  font-weight: normal;
  margin-left: 10px;
}

/*.balkoncalc-button {
	display: block;
	padding:15px 20px;
	background: #59ad07;
	border-radius: 5px;
	width:170px;
	color:white;
	text-transform: uppercase;
	text-align: center;
	margin-top:5px;
	box-shadow: 1px 1px 0px #4f8f3f;
	cursor: pointer;
}

.balkoncalc-button:hover {
	background: #7cb841;
}
*/
.calc_text {
  /*background: white;
	position: absolute;
	top:950px;
	left:0;
	padding:20px;*/
}

@media all and (max-width: 420px) {
  .balkoncalc-17 {
    padding: 10px;
  }
  .balkoncalc-type-selector {
    width: 100%;
  }

  .balkoncalc-type-selector > div {
    width: 100%;
  }

  .balkoncalc-type-selector > div:first-child > br {
    content: " ";
  }

  .balkoncalc-type-selector > div > br:after {
    content: " ";
  }

  .balkoncalc-type2-selector {
    float: left;
    width: 100%;
  }

  .balkoncalc-type-selector-one > img {
    max-height: 30px;
    float: none;
  }

  .balkoncalc-type-selector-one:nth-child(2) > img {
    margin-bottom: 0px;
  }

  div.balkoncalc-type-selector-one-selected:after {
    bottom: -8px;
    left: 50%;
    top: auto;
    right: auto;
    -ms-transform: rotate(135deg); /* IE 9 */
    -webkit-transform: rotate(135deg); /* Safari */
    transform: rotate(135deg);
  }

  div.balkoncalc-type-selector-one {
    margin-bottom: 20px;
    width: 25%;
    margin-right: 0%;
  }

  div.balkoncalc-type-selector-one:nth-child(3n + 1) {
    margin-right: 0;
  }

  .balkoncalc-type-selector > div {
    padding: 7px 2px;
  }

  .balkoncalc-constuction {
    height: auto;
    padding: 0 20px;
    text-align: center;
    width: 70%;
    margin-bottom: 20px;
    float: left;
    position: absolute;
    right: 5px;
  }

  .balkoncalc-main-window {
    width: 100%;
    margin-top: 30px;
  }

  .balkoncalc-vertical-slider-ui {
    height: 150px;
  }

  .balkoncalc-horisontal-slider {
    margin-top: 170px;
    width: 70%;
  }

  .balkoncalc-horisontal-slider-ui {
    width: 100%;
  }

  .balkoncalc-constuction > img {
    max-width: 100%;
    max-height: 200px;
  }

  .balkoncalc-vertical-slider,
  .balkoncalc-horisontal-slider {
    /*display: none;*/
  }

  .balkoncalc-size-selector,
  .balkoncalc-options,
  .balkoncalc-price {
    width: 100%;
    padding-right: 0;
  }

  .balkoncalc-type2-selector,
  .balkoncalc-options,
  .balkoncalc-size-selector {
    margin-right: 0;
    padding-right: 0;
  }

  .block-2-items > .block-items-wrapper > div,
  .block-3-items > .block-items-wrapper > div {
    width: 50%;
  }

  .calc_text {
    top: 1050px;
  }

  .balkoncalc-size-selector input {
    border: 1px solid #ddd;
  }

  .balkoncalc-type2-selector > div > label,
  .balkoncalc-options > div > label {
    margin-bottom: 5px;
  }

  .balkoncalc-type2-selector > div,
  .balkoncalc-options > div {
    padding-top: 5px;
  }
  .balkoncalc-type2-selector {
    width: 100%;
  }

  .balkoncalc-type2-selector > div > div {
    width: 48%;
    padding: 5px;
    margin-top: 15px;
    margin: 1%;
    float: left;
  }

  .balkoncalc-type2-selector > div:first-child {
  }

  .balkoncalc-button {
    margin-right: 0px;
  }

  .balkoncalc-options {
    margin-top: 0px;
  }

  .balkoncalc-options > label {
    width: 50%;
  }

  .balkoncalc-price {
    margin-top: 30px;
  }

  .balkoncalc-button {
    float: right;
    margin-top: 20px;
    margin-left: -50px;
  }

  .balkoncalc-price-value {
    font-size: 35px;
  }

  .balkoncalc-bar-wrapper {
    width: 50%;
    margin-right: 10px;
  }
}
