/* form */
.form-block {
  position: relative;
  padding-bottom: 10px;
}
.alert {
  position: absolute;
  height: 20px;
  padding: 0 10px;
  background: red;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  top: 0;
  right: 0;
  font-style: normal;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0;
  z-index: -2;
  white-space: nowrap;
}
.alert:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-top: solid 8px red;
  border-left: solid 5px transparent;
  border-right: solid 5px transparent;
  bottom: -8px;
  right: 20px;
}
.alert.active {
  opacity: 1;
  z-index: 2;
  top: -19px;
}
.send {
  text-align: center;
  -webkit-transform: translateZ(0);
  background: #3e3e3e;
  line-height: 1;
  color: #fff;
}
.send p {
  margin: 10px 0 25px;
  font-weight: 700;
  font-size: 18px;
}
.input {
  display: block;
  width: 100%;
  height: 35px;
  background: #fff;
  padding: 0 10px;
  border: 0;
}
.submit {
  text-transform: uppercase;
  color: #fff;
  width: 100%;
  border: 0;
  background: #2574b6;
  -moz-transition: 0.2s;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  height: 35px;
  display: block;
}
.submit:hover {
  background: #184b76;
}


/*  */
.services-btn-wrapp {
  text-align: center;
  margin-top: 50px;
}
.services-btn {
  display: inline-block;
  width: 100%;
  height: 53px;
  line-height: 50px;
  background: orange;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: solid 3px #cc8400;
  -moz-transition: 0.2s;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.services-btn:hover {
  background: #ffb733;
}
.services-btn:active {
  line-height: 53px;
  border-bottom-width: 0;
}
.wrapper {
  width: 1400px;
  margin: auto;
  margin-left: -100px;
}

/* calc */
.calc {
/*  padding: 70px 0;
  background: #efefef;*/
}


.calc .section-title {
  margin-bottom: 10px;
  
    /*font-size: 30px;*/
    color: #333333;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;  
  
}
.calc .section-title-desc {
  margin-bottom: 50px;
  
	text-align: center;

}


.calc-form {
  width: 1124px;
  margin: auto;
  background: #fff;
  -moz-box-shadow: 0 0 50px rgba(0, 0, 0, 0.07);
  -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.07);
  -o-box-shadow: 0 0 50px rgba(0, 0, 0, 0.07);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.07);
  display: table;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}
.calc-form-row {
  display: table-row;
}
.calc-form-body {
  display: table-cell;
  vertical-align: middle;
  width: 705px;
  padding: 33px 58px 45px 38px;
}
.calc-block {
  font-size: 0;
  margin-bottom: 30px;
}
.calc-block:last-child {
  margin-bottom: 0;
}
.calc-block .title {
  display: inline-block;
  vertical-align: middle;
  width: 180px;
  font-size: 16px;
  color: #808080;
  padding-right: 5px;
}
.calc-block .title span {
  font-size: 14px;
}
.calc-slider {
  display: inline-block;
  vertical-align: middle;
  width: 320px;
  position: relative;
}
.range-slider,
.range-slider-departure,
.range-slider_asvdc {
  height: 12px;
  background-color: #e6e6e6;
  background-image: -o-linear-gradient(top, #cbcbcb, #e6e6e6);
  background-image: -moz-linear-gradient(top, #cbcbcb, #e6e6e6);
  background-image: -webkit-linear-gradient(top, #cbcbcb, #e6e6e6);
  background-image: -ms-linear-gradient(top, #cbcbcb, #e6e6e6);
  background-image: linear-gradient(top, #cbcbcb, #e6e6e6);
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  position: relative;
  z-index: 2;
}
.ui-slider .ui-slider-handle {
  width: 30px;
  display: inline-block;
  height: 30px;
  border: solid 2px #fff;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  background-color: #3283d3;
  background-image: -o-linear-gradient(top, #42a0fc, #3283d3);
  background-image: -moz-linear-gradient(top, #42a0fc, #3283d3);
  background-image: -webkit-linear-gradient(top, #42a0fc, #3283d3);
  background-image: -ms-linear-gradient(top, #42a0fc, #3283d3);
  background-image: linear-gradient(top, #42a0fc, #3283d3);
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  top: 50%;
  margin-top: -15px;
  outline: none!important;
  margin-left: -15px;
}
.ui-slider .ui-slider-handle:before {
  content: '';
  position: absolute;
  width: 18px;
  height: 12px;
  left: 50%;
  top: 50%;
  margin-top: -6px;
  margin-left: -9px;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAMCAYAAABvEu28AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMu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I7ctrxC2149cat0jNd+Wq46EeAAQD6yT+qsRCmCQAAAABJRU5ErkJggg==');
}
.ui-slider .ui-slider-range {
  background-color: #cb2f95;
  background-image: -o-linear-gradient(left, #3e89d3, #cb2f95);
  background-image: -moz-linear-gradient(left, #3e89d3, #cb2f95);
  background-image: -webkit-linear-gradient(left, #3e89d3, #cb2f95);
  background-image: -ms-linear-gradient(left, #3e89d3, #cb2f95);
  background-image: linear-gradient(left, #3e89d3, #cb2f95);
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}
.calc-input-wrapp {
  display: inline-block;
  vertical-align: middle;
  text-align: right;
  width: 100px;
  position: relative;
}
.calc-input,
.calc-input-asvdc {
  width: 60px;
  height: 33px;
  display: inline-block;
  border: solid 2px #e6e6e6;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  background: #efefef;
  text-align: center;
  padding: 0 5px;
  color: #808080;
  font-size: 17px;
}
.calc-slider-info {
  position: absolute;
  top: 100%;
  margin-top: 15px;
  left: 0;
  right: 0;
  font-size: 12px;
  color: #808080;
}
.calc-slider-info span {
  display: inline-block;
  text-align: center;
  position: absolute;
  -webkit-transform: translateX(-50%);
}
.calc-slider-info span:before {
  content: '';
  position: absolute;
  width: 1px;
  height: 17px;
  left: 50%;
  top: -18px;
  background: #f2f2f2;
  margin-left: -1px;
}
.calc-form-result {
  display: table-cell;
  vertical-align: middle;
  border-left: solid 2px #d6d6d6;
  background-color: #fdfdfd;
  background-image: -o-linear-gradient(left, #f1f1f1, #fdfdfd);
  background-image: -moz-linear-gradient(left, #f1f1f1, #fdfdfd);
  background-image: -webkit-linear-gradient(left, #f1f1f1, #fdfdfd);
  background-image: -ms-linear-gradient(left, #f1f1f1, #fdfdfd);
  background-image: linear-gradient(left, #f1f1f1, #fdfdfd);
  padding: 37px;
}
.result {
  text-align: 19px;
  color: #808080;
  text-align: center;
  padding-bottom: 18px;
  border-bottom: dashed 1px #e3e3e3;
  margin-bottom: 30px;
}
.result span {
  font-size: 39px;
  color: #333;
}
.form-calc-inputs {
  width: 316px;
  margin: 0 auto;
}
.form-calc-inputs-title {
  text-align: center;
  margin-bottom: 18px;
  font-size: 20px;
  color: #333;
}
.input-calc {
  width: 100%;
  height: 55px;
  border: solid 1px #ccc;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  background: #fff;
  padding: 0 20px !important;
  color: #333;
  font-size: 19px;
}
.input-calc::-moz-placeholder {
  font-size: 19px;
  color: #c9c9c9;
}
.input-calc:-ms-input-placeholder {
  font-size: 19px;
  color: #c9c9c9;
}
.input-calc::-webkit-input-placeholder {
  font-size: 19px;
  color: #c9c9c9;
}
.submit-calc {
  height: 55px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  background-color: #3e8ad4;
  background-image: -o-linear-gradient(top, #4ba6ff, #3e8ad4);
  background-image: -moz-linear-gradient(top, #4ba6ff, #3e8ad4);
  background-image: -webkit-linear-gradient(top, #4ba6ff, #3e8ad4);
  background-image: -ms-linear-gradient(top, #4ba6ff, #3e8ad4);
  background-image: linear-gradient(top, #4ba6ff, #3e8ad4);
  font-size: 19px;
  color: #fff;
  text-transform: none;
}
.submit-calc:hover {
  background-color: #3e8ad4;
  background-image: -o-linear-gradient(bottom, #4ba6ff, #3e8ad4);
  background-image: -moz-linear-gradient(bottom, #4ba6ff, #3e8ad4);
  background-image: -webkit-linear-gradient(bottom, #4ba6ff, #3e8ad4);
  background-image: -ms-linear-gradient(bottom, #4ba6ff, #3e8ad4);
  background-image: linear-gradient(bottom, #4ba6ff, #3e8ad4);
}
.result-title {
  font-size: 20px;
  color: #333;
}
.form-block-calc {
  padding-bottom: 12px;
}
.hidden {
  display: none;
}


/* modal */
.modal {
  display: none;
  max-width: 360px;
  min-width: 300px;
  padding: 25px 20px;
  background: #3e3e3e;
}
.modal-wrapp .fancybox-skin {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
}
.modal-wrapp .fancybox-close {
  width: 11px;
  height: 11px;
  background: url(../img/close.png);
  top: 6px;
  right: 6px;
}
.modal-wrapp .fancybox-ok {
  width: 130px;
  height: 35px;
  position: static;
  display: inline-block;
  color: #fff;
  background: #2574b6;
  line-height: 35px;
  font-size: 20px;
  text-transform: uppercase;
  -moz-transition: 0.2s;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.modal-wrapp .fancybox-ok:hover {
  background: #184b76;
}
.modal-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  color: #fff;
  font-size: 20px;
}
