
/* form */

input,
textarea,
.uneditable-input{margin-left:0;}
button,
input,
select,
textarea{vertical-align:middle;margin:0;}

input[type=file],
input[type=image],
input[type=submit],
input[type=reset],
input[type=button],
input[type=radio],
input[type=checkbox]{width:auto;}
input[type=radio],
input[type=checkbox]{line-height:normal;cursor:pointer;margin:1px 9px 0 0;}

.moduletable {
	    font: 15px / 24px "Open Sans", Arial, sans-serif;
}
.calculator_slide{
    width: 100%;
    margin: 0px auto;
    max-width: 1600px;
}
.calculator .n{
    text-align: center;
    padding: 20px 0 15px;
    font-size: 14px;
    line-height: 18px;
    color: #8F8F8F;
}
.calculator .btn{
    padding: 12px 20px 14px;
    font-size: 16px;
    background: #ffffff;
    width: 160px;
    color: white;
    line-height: 16px;
    margin: 10px auto 30px;
    text-align: center;
    cursor: pointer;
}
.calculator .btn:hover{
    background: #e51d25;
    color: #ffffff;
}
.calculator .title{
    font-size: 18px;
    background: #e51d25;
    color: #fff;
    padding: 16px 12px 16px 55px;
    position: relative;
}
.calculator table{
    margin-top: 15px;
}
.calculator table tr{
    height: 40px;
}
.calculator table tr:first-child td{
    border-top: none;
}
.calculator table td{
    
}
.calculator {
  border:1px solid #e51d25;
  display: inline-block;
  width: 400px;
  font-size: 14px;
  /* margin: 60px 0 0; */
  float: left;
  position: relative;
}
.calculator input[type="text"], .calculator  select {
    margin: 0;
    padding: 5px 7px;
    width: 100px;
    font-size: 12px;
    border: 1px solid #C2C2C2;
}
.calculator input[type="text"]:hover, .calculator  select:hover {
    border: 1px solid #DED09F;
}
.calculator  input[type="checkbox"] {
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}
.calculator  select {
    padding: 5px 5px;
    width: 116px;
    cursor: pointer;
}
.calculator  table { 
  border-collapse: collapse;
  width: 100%;
}
.calculator  td {
  border-top: 1px solid #F2F2F2;
}
.calculator  td:nth-child(1) {
  padding-left: 20px;
  cursor: default;
}
.calculator  td:nth-child(2) {
  text-align: right;
  padding-right: 20px;
  max-width: 200px;
}
.calculator  tr:not(.res):hover td {
  background: #F9F9F9;
}
.calculator  .units {
  position: absolute;
  display: inline-block;
  /* margin: 6px -16px; */
  color: #6A6A6A;
  font-size: 12px;
}
.calculator  .result {
  letter-spacing: 1px;
  margin: 10px 0;
  white-space: nowrap;
}
.calculator  .result span {
    font-size: 24px;
    /* color: #DED09F; */
}
.calculator  .res {
    font-size: 18px;
    color: #363636;
    height: 60px;
}
.calculator  .note {
  color: #6F6F6F;
  x-background: none repeat scroll 0% 0% #EFEFA8;
  x-padding: 8px 11px;
  margin-top: 10px;
  
}
.calculator  input {
  transition: all 0.30s ease-in-out;
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  outline:none;
}
.calculator  input:focus, .calculator  select:focus {
  box-shadow: 0 0 5px #4C98ED;
  -webkit-box-shadow: 0 0 5px #4C98ED;
  -moz-box-shadow: 0 0 5px #4C98ED;
}
.calculator  input.required {
  box-shadow: 0 0 5px red;
  -webkit-box-shadow: 0 0 5px red;
  -moz-box-shadow: 0 0 5px red;
}
.calculator  .send {
  background: #ffffff;
  border: 1px solid #e51d25;
  color: #e51d25;
}

/* render */

.render {
    margin: 0px 0px 0px 402px;
    height: 573px;
    position: relative;
}
.render * {
    transition: all 0.60s ease-in-out;
  -webkit-transition: all 0.60s ease-in-out;
  -moz-transition: all 0.60s ease-in-out;
}
.render_cont {
    height: 622px; /*height: 340px;*/
    overflow: hidden;
    min-width: 500px;
    position: absolute;
    bottom: -3px;
    width: 100%;
}
.rightstop:before {
    content: '';
    background-image: url(images/grass.png);
    background-repeat: norepeat;
    width: 100%;
    z-index: 100;
    height: 60px;
    position: absolute;
    bottom: 0;
    left: 0;
}
.rightstop {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
}
.rightstop:after {
    content: '';
    z-index: 200;
    height: 100%;
    width: 20px;
    right: 0px;
    bottom: 0px;
    position: absolute;
    background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 );
}
.render .beams{
    position: absolute;
    z-index: 5;
    bottom: 10px;
    margin: 0px 30px 10px 30px;
    padding: 10px 0 0;
    height: 250px;
}
.render .beam{
    display: inline-block;
    margin: 0;
    position: relative;
    height: 100%;
}
.render .beam:first-child{
    margin-left: 2px !important;
}
.render .beam span{
    display: inline-block;
    height: 100%;
    width: 14px;
    position: relative;
    background:  #DED09F;
    top: 0px;
    left: 0px;
    margin-bottom: 30px;
    box-shadow: 1px 2px 2px -1px rgba(0, 0, 0, 0.7);
    -webkit-transition: all 0.3s ease-in 0s;
    -moz-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
    
}
/* .render .beam span::before{
    content: '';
    border-bottom: 10px solid #DED09F;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	height: 0;
	width: 8px;
    position: absolute;
    top: -10px;
} */
.render .beam span::after{
    content: '';
    width: 3px;
	height: 3px;
	background: #C8C8C8;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
     position: absolute;
    top: 34px;
    left: 50%;
    margin-left: -1px;
}
.render .beam::after{
    content: '';
    width: 3px;
	height: 3px;
	background: #C8C8C8;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
     position: absolute;
    bottom: 44px;
    left: 50%;
    margin-left: -1px;
}
/* .render .beam:hover span{
    top: -20px;
    left: -5px;
    width: 30px;
    box-shadow: 2px 10px 10px -3px rgba(0, 0, 0, 0.7)
} */
.render .overlaps {
    z-index: 4;
    top: 382px; /* top: 110px; */
    position: absolute;
    width: 100%;
}
.render .overlap {
    display: inline-block;
    position: absolute;
    background:  #DED09F;/*#D5D5D5;*/
    width: 100%;
    height: 8px;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.7);
    top: 0px;
}
.render .overlaps_up {
    width: 100%;
    left: 0px;
    margin: 0px 0px 0px 14px;
    z-index: 15;
    position: absolute;
    display: none;
    margin: 0px 32px;
}
.render .overlap_up {
    position: absolute;
    background:  #DED09F;
    height: 8px;
    display: inline-block;
    box-shadow: 0px 2px 3px -2px rgba(0, 0, 0, 0.7);
    top: 0px;
}
.render .overlap:nth-child(2) {
    top: 170px;
}
.render .pols{
    z-index: 2;
    position: relative;
    height: 100%;
    margin: 0px 35px 0 20px;
}
.render .pole{
    display: inline-block;
    position: absolute;
    width: 16px;
    background:  #D5D5D5;/*#DED09F;*/
    box-shadow: 1px 1px 3px -1px rgba(0, 0, 0, 0.7);
    left: -10px;
    height: 240px;
    bottom: 10px;
}
.render .pole:nth-child(2) {
    left: 50%;
    display: none;
}
.render .pole:nth-child(3) {
    left: 100%;
}


/*
        ВОРОТА
*/
.render .gate {
    display: inline-block;
    margin: 0px 3px;
    position: relative;
    height: 100%;
    width: 345px;
    top: -30px;
    background: #ffffff;
    display: none;
}

.render .gate .beam:after{
    bottom: 5px;
}
.render .gate .beam span {
    
}
.render .gate .beam span:after{
    top: 5px
}
.render .gate .beam p:after{
    content: '';
    width: 3px;
	height: 3px;
	background: #C8C8C8;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
     position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -1px;
    margin-top: 3px;
}
.render .gate_overlaps {
    width: 100%;
    position: absolute;
    margin: 0px 2px;
    height: 100%;
}
.render .gate_overlap {
    display: inline-block;
    position: absolute;
    background:  #DED09F;/*#D5D5D5;*/
    width: 100%;
    height: 8px;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.7);
    top: 50%;
    z-index: 10;
}
.render .gate_overlap:nth-child(2) {
    bottom: 0;
    top: auto;
    x-background:  #DED09F;
}
.render .gate_overlap:nth-child(3) {
    top: 0;
}
.render .gate_left, .render .gate_right {
    width: 155px;
    position: absolute;
    display: inline-block;
    height: 100%;
    margin-left: 15px;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0px 3px 3px -2px rgba(0, 0, 0, 0.7);
    z-index: 0;
}
.render .gate_right {
    right: 0;
    margin-right: 16px;
}
.render .gate_right .gate_beams{
    text-align: right;
}
.render .gate_beams {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 16;
    margin: 0px;
}
.render .gate_pols{
    z-index: 2;
    position: relative;
    height: 120%;
    margin: 0px;
}
.render .gate_pole{
    display: inline-block;
    position: absolute;
    width: 16px;
    background:  #D5D5D5;/*#DED09F;*/
    box-shadow: 1px 1px 3px -1px rgba(0, 0, 0, 0.7);
    left: -3px;
    height: 100%;
}
.render .gate_pole:nth-child(2) {
    left: auto;
    right: -3px;
}
.render .gate_pole span:nth-child(1){
    width: 3px;
	height: 20px;
	background: #DED09F;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
     position: absolute;
    bottom: 30%;
    left: 16px;
}
.render .gate_pole span:nth-child(2){
    width: 3px;
	height: 20px;
	background: #DED09F;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
     position: absolute;
    top: 10%;
    left: 16px;
}
.render .gate_pole:nth-child(2) span{
    left: -2px;
}
.render .gate_overlaps_up {
    width: 100%;
    left: 3px;
    margin: 0px 14px;
    z-index: 15;
    position: absolute;
    top: -7px;
}
.render .gate_overlap_up {
    width: 158px;
    position: absolute;
    background:  #DED09F;
    height: 8px;
    display: inpine-block;
    box-shadow: 0px 2px 3px -2px rgba(0, 0, 0, 0.7);
    top: 0px;
    left: 0;
}
.render .gate_overlap_up:nth-child(2) {
    right: 0;
    left: auto;
}
.render .wicket .gate_overlap_up {
    left: 1px;
}

.render .gate .beam.hand p::after {
    height: 18px;
    width: 2px;
    margin-top: -5px;
}
.render .wicket .gate_pole:nth-child(1) span:nth-child(1) {
    display: none;
}
.palette {
    width: 456px;
    background: #ffffff;
    position: absolute;
    top: 15px;
    left: -190px;
    z-index: 550;
    box-shadow: 1px 3px 8px 0px rgba(0, 0, 0, 0.4);
    padding: 10px;
    line-height: 0;
    display: none;
    padding-top: 60px;
}
.palette > .cl {
    width: 20px;
    height: 14px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin: 2px;
    z-index: 0;
    color: transparent;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}
.palette > .cl > span {
    position: absolute;
    top: 31px;
    left: 0px;
    color: black;
    line-height: 8px;
    font-size: 10px;
    display: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* .palette > .cl:hover > span {
    display: inline-block;
}

.palette > .cl:hover {
    width: 60px;
    height: 30px;
    margin: 2px -42px -36px 2px;
    border: 2px solid #ffffff;
    border-bottom: 20px solid #ffffff;
    z-index: 1;
} */
.palette .close_btn {
    position: absolute;
    width: 64px;
    right: 25px;
    font-size: 12px;
    text-transform: uppercase;
    color: #999999;
    top: 14px;
    line-height: 16px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}
.palette .close_btn:hover {
    color: #DED09F;
}
.palette .icon.closec::after {
    background-position: -87px -4px;
    width: 16px;
    height: 16px;
    margin-right: -10px;
    position: absolute;
    right: 0;
    top: 0;
}

.palette p {
    line-height: 150%;
    margin: 0 0 10px 0;
    padding: 14px 10px 0px;
    color: #666666;
    font-size: 12px;
}
.palette h4 {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 16px;
    padding: 0;
    margin: 18px;
}
.modal_request{
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10000;
    top: 0px;
    left: 0px;
}
.modal_back{
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    position: absolute;
}
.modal_form{
    left: 0px;
    width: 100%;
    height: 100%;
    top: 0px;
    position: absolute;
}
.modal_content{
    margin: 5% auto;
    border: 1px solid #e51d25;
    width: 400px;
    background: #fff;
    position: relative;
    box-shadow: 2px 2px 7px 0px rgba(0, 0, 0, 0.7);
    min-height: 172px;
}
.modal_fields {
    padding: 20px;
}
.modal_fields input[type="text"]{
    border: 1px solid #C2C2C2;
    padding: 8px 14px;
    font-size: 16px;
    color: rgb(51, 51, 51);
    width: 100%;
}
.modal_fields p{
    margin-right: 32px;
    color: rgb(51, 51, 51);
}
.modal_fields .label{
    font-size: 14px;
}
.modal_fields .submit{
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid #e51d25;
    color: #e51d25;
}
.modal_content .success{
    display: none;
    text-align: center;
    font-size: 18px;
    padding: 40px;
}

.modal_content .modal_close {
    position: absolute;
    top: 16px;
    right: 15px;
    cursor: pointer;
}
.modal_content .modal_close::after {
    background-position: -94px -24px;
    width: 21px;
    height: 23px;
}

.conditions_bottom {
    clear: both;
}
.icon::after {
    display: inline-block;
    background: transparent url("../mod_calculator/images/images_sprite.png") no-repeat scroll 0% 0%;
    content: "";
}
.icon.calc::after {
    background-position: -50px -24px;
    width: 21px;
    height: 26px;
    margin-right: 10px;
    position: absolute;
    top: 15px;
    left: 20px;
}
.checkbox + label {
  cursor: pointer;
  margin-right: 116px;
  display: inline-block;
  line-height: 18px;
}
.checkbox {
  vertical-align: top;
  margin: 0 3px 0 0;
  width: 17px;
  height: 17px;
}
.checkbox:not(checked) {
  position: absolute;
  opacity: 0;
}
.checkbox:not(checked) + label {
  position: relative; 
}
.checkbox:not(checked) + label:before {
  content: '';
  position: absolute;
  top: -21px;
  left: 0;
  width: 114px;
  height: 30px;
  border: 1px solid #C2C2C2;
}

.checkbox:not(checked) + label:after {
  content: 'Нет';
  text-align: center;
  position: absolute;
  color: #fff;
  top: -19px;
    left: 2px;
    width: 45px;
    height: 18px;
  background: #e51d25;
  padding: 5px;
      -webkit-transition: left 0.3s ease-out 0s;
     -moz-transition: left 0.3s ease-out 0s;
     -o-transition: left 0.3s ease-out 0s;
     transition: left 0.3s ease-out 0s
}

.checkbox:checked + label:after {
  left: 59px;
  content: 'Да';
}

.render .calc_info{
    position: absolute;
    background: transparent url("../mod_calculator/images/images_sprite.png") no-repeat scroll 0% 0%;
    width: 150px;
    height: 150px;
    z-index: 250;
    font-size: 10px;
    display: none;
}
.render .calc_info.rolled_edges{
    background-position: 0px -240px;
    right: 0px;
    line-height: 185px;
    text-indent: -6px;
    text-align: center;
}
.render .calc_info.picket_thickness{
    background-position: -150px -240px;
    display: inline-block;
    line-height: 105px;
    text-indent: -10px;
    text-align: center;
}
.render .calc_info.picket_color{
    background-position: -300px -240px;
    text-align: center;
}
.render .calc_info.picket_color.show{
    display: inline-block;
}
.render .calc_info.picket_type{
    display: none;
}
.render .calc_info.picket_type.neo{
    background-position: -450px -240px;
    display: inline-block;
}
.render .calc_info.picket_type.classic{
    background-position: -600px -240px;
    display: inline-block;
}
.render .calc_info.picket_color span{
    width: 90px;
    position: relative;
    margin: 90px 0 0 -8px;
    display: inline-block;
    line-height: 10px;
}
.render .calc_info.picket_color div{
    width: 24px;
    height: 24px;
    line-height: 0;
    position: absolute;
    top: 62px;
    left: 59px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
}
.icon.color::after {
    background-position: -119px -4px;
    width: 43px;
    height: 28px;
}
.icon.infox::after {
    background-position: -160px -4px;
    width: 43px;
    height: 28px;
}
.icon.profile::after {
    background-position: -167px -4px;
    width: 43px;
    height: 28px;
}
.button_x {
  color: #666;
  font-size: 16px;
  padding: 12px 18px 14px 70px;
  box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.7);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  position: relative;
  margin: 0 5px;
  -webkit-transition: all 0.3s ease-out 0s;
     -moz-transition: all 0.3s ease-out 0s;
     -o-transition: all 0.3s ease-out 0s;
     transition: all 0.3s ease-out 0s;
     -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.button_x:hover {
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.4);
  color: #0F75BD;
}
.button_x span.icon{
    position: absolute;
    left: 15px;
    top: 8px;
}
.button_x.show_more{
    float: right;
    margin-right: 80px;
}
.calc_ext {
    position: absolute;
    left: 30px;
    top: -5px;
    z-index: 30;
    width: 80%;
    /* height: 100%; */
    padding: 6px;
}
/* .calc_ext .select{
    display: none;
    position: absolute;
    top: 55px;
    left: 11px;
    width: 181px;
    font-size: 10px;
    color: #666666;
    text-align: right;
}
.calc_ext.select span{
    position: relative;
}
.calc_ext .select .cr{
    width: 7px;
    height: 7px;
    display: inline-block;
}
 */
.conditions {
    position: absolute;
    /* padding: 10px 18px; */
    font-size: 14px;
    color: #666666;
    /* height: 50px;
    max-height: 50px;
    min-height: 50px;
    box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 0.7); */
    display: inline-block;
    top: 60px;
    left: 10px;
    border-bottom: 1px solid #e51d25;
    padding: 8px;
    margin-right: 100px;
    min-width: 390px;
    background: #ffffff;
}
.conditions .arrow {
    width: 0px;
    height: 0px;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    position: absolute;
    top: 6px;
    left: -28px;
    display: none;
    border-right: 20px solid #0F75BD;
}
.conditions_bottom {
    padding: 5px 10px;
    font-size: 14px;
    margin: 5px 0px 50px;
    border-top: 1px solid rgb(0, 111, 255);
    position: relative;
    /* background: #F5FBFF none repeat scroll 0% 0%; */
    color: #4D4D4D;
    text-align: center;
}
.copyright_calculator {
    display: inline-block;
    position: absolute;
    bottom: 32px;
    right: 55px;
    z-index: 1000;
    padding: 8px;
    box-shadow: 1px 1px 3px -2px rgba(0, 0, 0, 0.7);
}
.copyright_calculator div{
    width: 122px;
    height: 26px;
    background: transparent url("../mod_calculator/images/images_sprite.png") no-repeat scroll 0px -54px;
}