
#calc-form{
  width:400px;
  display:block;
  overflow:hidden;
  color:#000;
  text-align: center;
}
#calc-next, #calc-prev, #calc-add-wall,#cart-calc, #calcbtn-product, input[type="reset"]{
  display: block;
  position: absolute;
  bottom:5px;
  color: #2F2F2F;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  padding: 0 9px 1px;
  width:120px;
  background:none;
  text-transform:uppercase;
  text-decoration: none;
  border:none;
}
#calc-next:hover, #calc-prev:hover,.calc-add-wall:hover, #cart-calc:hover, #calcbtn-product:hover,input[type="reset"]:hover{
  background:#F36520;
  color:#000;
}
#calcbtn-product{
  position:relative;
  margin-bottom:10px;
  width: 330px;
}
#calc-next,input[type="reset"]{
  right:15px;
}
#calc-prev{
  left:15px;
}
.calc-add-wall{
  top: 120px;
  right: 5px;
  width: 170px;
  text-transform: uppercase;
  bottom: auto;
  font-size:16px;
  cursor:pointer;
}
.calc-page{
  width: calc(100% / 6);
  background:#EDEDED;
  position:relative;
  margin-left:5px;
  padding-bottom: 20px;
}
p.head{
  display:block;
  width:100%;
  font-size:26px;
  font-weight:bold;
  font-family: 'Scada', sans-serif;
  background:#F36520;
  margin: 0;
  color:#FFF;
  line-height: 30px;
}
p.head2{
  margin-top:20px;
}

#calc-pages{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row;
  flex-flow: row;
  -webkit-box-pack: stretch;
  -ms-flex-pack: stretch;
  justify-content: stretch;
  width: calc((100% + 5px) * 6);
  padding-bottom: 30px;
  position:relative;
  left:-5px;
  top:0;
  height: 290px;
  margin-bottom: 20px;
}

#calc-pages p{
  font-size: 18px;
  line-height: 36px;
}

#calc-pages p.calc-small{
  font-size: 15px;
  line-height: 36px;
  color: #ff0000;
}

#page5 p.h1:first-child{
  margin-top:30px;
}
.wall-remove{
  color: #000;
  font-size: 14px;
  padding-left:5px;
  cursor:pointer;
}
.wall-remove span{
  display: inline-block;vertical-align: middle;
  cursor:pointer;
}

#calc-pages input, #calc-pages select{
  font-size: 18px;
  border: 1px solid #aaa;
  padding: 2px;
  background:#fff;
}
#calc-pages input{
  width: 40px;
}
#page1 p.h1,#page2 p.h1{
  margin-top: 50px;
}
#calc-pages input{
  text-align:center;
}

#sortable td{
  vertical-align: middle;
}

#page3{
  overflow-y:auto;
}
#page3 table{
  margin: 0px auto;

}
#page3 p.head{
  text-align:center;
}

#page4 table,#page6 table{
  font-size:15px;
  margin:15px auto;
}

#page4 table td,#page6 table td{
  padding: 5px;
  border: 1px solid;
}

#cart-calc{
  width:135px;

  right:15px;
}
#cart-calc span {
  height:auto;
  line-height:30px;
}
#cart-calc span span{
  padding: 0 0 0 30px;
  height:auto;
  background: url(i_btn_ca.png) 0 -40px no-repeat;
  line-height:30px;
  text-transform:uppercase;
  -webkit-transition:all 256ms cubic-bezier(0.330,0.975,0.245,0.910);-moz-transition:all 256ms cubic-bezier(0.330,0.975,0.245,0.910);-o-transition:all 256ms cubic-bezier(0.330,0.975,0.245,0.910);transition:all 256ms cubic-bezier(0.330,0.975,0.245,0.910)
}
#cart-calc span span:hover{
  background-position:0 -5px;
}

/*spinner*/

.ui-spinner {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0;
  vertical-align: middle;
}
.ui-spinner-input {
  background: none;
  color: inherit;
  padding: 0;
  margin: .0em 0;
  vertical-align: middle;
  margin-left: .4em;
  margin-right: 22px;
  font-size:22px;
  line-height:25px;
  border:1px solid #aaa;  
}
.ui-spinner-button {
  width: 16px;
  height: 15px;
  padding: 0;
  margin: 0;
  text-align: center;
  position: absolute;
  cursor: default;
  display: block;
  overflow: hidden;
  right: 0;
  font-size:15px;
  line-height:15px;
  background: #000;
  color: #fff;
}

.ui-spinner-button:hover {
  color: #000;
  background:#F36520;
}
/* more specificity required here to override default borders */
.ui-spinner a.ui-spinner-button {
  border-top: none;
  border-bottom: none;
  border-right: none;
}
/* vertically center icon */
.ui-spinner .ui-icon {
  position: absolute;
  margin-top: -8px;
  top: 50%;
  left: 0;
  font-size: 10px;
  text-align: center;
  padding: 0px 3px;
}
.ui-spinner-up {
  top: 0;
}
.ui-spinner-down {
  bottom: 0;
}

.ui-spinner-button{
  cursor:pointer;
}

.ajax-message table{

}
.ajax-message table td{
  border: 1px solid #ccc;
  padding: 3px;
}

#addtocart-window{
  min-height: 138px;
  height:auto;
}

.header .top-links{
  top: 10px;
}
label.select-wrap{
  position:relative;
  height:31px;
  display: inline-block;
  margin:0;
  padding:0;
}
label.select-wrap .arrow{
  background: url('https://assets3.insales.ru/assets/1/6561/866721/1582209441/arrow-down.png') no-repeat right;
  right: 1px;
  top:1px;
  position: absolute;
  display: block;
  height: 28px;
  width: 28px;
  pointer-events: none;
}
.selector-wrapper label.select-wrap{
  width:100%;
}
#calc-pages select  {
  padding-right:15px;
  outline:none;
  display: inline-block;
  -webkit-appearance:none; 
  cursor:pointer;
  margin-top: 0;
  width:auto;
  line-height:24px;
  height:30px;
}
.selector-wrapper select{
  border: 1px solid #c4c4c4;
  line-height:24px;
  height:30px;
}

@media screen and (max-width: 480px) {
  #calc-form {
  	width: 100%;
  }
  p.head {
  	font-size: 20px;
  }
  #calc-prev {
  	left: 0;
  }
  #calc-next, input[type="reset"] {
    right: 0;
  }  
  #calc-pages p.calc-small {
  	line-height: 26px;
  }
}





