/* create */
.section-calc {
    padding: 80px 0 0 0;
}
.calc-title {
    color: #2A2A2A;
    position: relative;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
}
.calc-sub-title {
    color: #6A6A6A;
    position: relative;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}
.create-step
{
  padding-top: 20px;
}
.create-step.__step2
{
  padding-top: 30px;
}
.create-step.__step3
{
  padding-top: 48px;
}
.create-step_ttl
{
  text-align: center;
  padding-top: 1px;
  padding-left: 3px;
}
.create-step_ttl h4
{
  margin: 0;
  display: inline-block;
  font-size: 26px;
  color: #D54326;
  font-weight: 700;
}
.create-step_ttl span
{
  display: block;
  font-size: 14px;
  font-weight: 300;
  padding-top: 3px;
  font-weight: 700;
}

.models
{
  text-align: center;
  padding-top: 20px;
}
.model-item
{
  display: inline-block;
  vertical-align: top;
  font-weight: 600;
  margin: 15px 8px 0 9px;
  cursor: pointer;
}
.model-item_img
{
  position: relative;
  height: 146px;
}
.model-item.__small .model-item_img
{
  padding-top: 15px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.model-item_img:before,
.model-item_img img
{
  display: inline-block;
  vertical-align: middle;
}
.model-item_img:before
{
  content: '';
  height: 100%;
}
.model-item:hover .model-item_img:after,
.model-item.__selected .model-item_img:after
{
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: url(../img/calc/icon-select.png) no-repeat;
    right: 10px;
    z-index: 1;
}
.model-item.__small-o:hover .model-item_img:after,
.model-item.__small-o.__selected .model-item_img:after
{
    top: 5px;
    right: 10px;
}
.model-item.__small:hover .model-item_img:after,
.model-item.__small.__selected .model-item_img:after
{
    top: 15px;
    right: 5px;
}
.model-item.__sq:hover .model-item_img:after,
.model-item.__sq.__selected .model-item_img:after
{
    top: -5px;
    right: -5px;
}
.model-item:not(.__selected):hover .model-item_img:after
{
    opacity: 0.5;
}
.model-item-content
{
  padding-top: 3px;
  padding-left: 9px;
}
.model-item_price
{
  background: #D64121;
  display: inline-block;
  padding: 1px 5px;
  color: #FFF;
}
.design
{
  padding-top: 24px;
  margin-right: -20px;
}
.design-item
{
  width: 130px;
  height: 130px;
  display: inline-block;
  background: #F9F9F9;
  border-radius: 6px;
  margin-right: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  position: relative;
  text-align: center;
}

.design-item img
{
  display: inline-block;
  vertical-align: middle;
}
/*.design-item:before
{
  content: '';
  height: 100%;
}*/
.design-item img
{
  max-width: 127px;
  max-height: 100%;
  border-radius: 6px;
}
.design-item:hover:after,
.design-item.__selected:after
{
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: url(../img/calc/icon-select.png) no-repeat;
    right: 0px;
    top: 0px;
    z-index: 1;
}
.design-item:not(.__selected):hover:after
{
    opacity: .5;
}
.limiter
{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}



/* form */
.form
{
  overflow: hidden;
  font-family: Open Sans;
  padding-top: 20px;
}
.form-block
{
  float: left;
  border-right: 2px solid #fff; 
}
.form-block:last-child
{
  border-right: 0;
}
.form-block.__data
{
  padding-top: 20px;
  padding-bottom: 14px;
}
.field
{
  font-size: 14px;
  margin-bottom: 8px;
}
.field label
{
  display: block;
  margin-bottom: 4px;
}
.field input,
.field textarea
{  
  font-family: Open Sans;
  font-size: 14px;
  border: 1px solid #CCC;
  border-radius: 3px;
  width: 100%;
  padding: 0 6px;
  background: #F1F1F1;
  outline: none;
  height: 36px;
}
.field input::-webkit-input-placeholder {color:#a3a3a3;}
.field input::-moz-placeholder          {color:#a3a3a3;}
.field input:-moz-placeholder           {color:#a3a3a3;}
.field input:-ms-input-placeholder      {color:#a3a3a3;}

.field.__two input
{
  width: 49%;
  margin-right: 1px;
}

.ps
{
  font-family: Roboto;
  color: #b84c4c;
  font-size: 12px;
  font-weight: 300;
}

.second-data
{
  padding-top: 34px;
}
.second-data .ps
{
  margin-bottom: 2px;
}

.form-block.__images
{
	position: relative;
  overflow: hidden;
  padding-top: 20px;
  padding-right: 90px;
}
.images-load
{
  height: 320px;
  background: #F9F9F9;
  border-radius: 4px;
  float: left;
  margin-right: 10px;
  text-align: center;
  overflow: hidden;
}
.images-load_desc
{
  padding: 89px 10px 10px;
  font-size: 13px;
  color: #1c1c1c;
  line-height: 21px;
}
.images-previews
{
  position: absolute;
  right: 0;
  top: 20px;
  overflow: hidden;
  width: 90px;
}
.images-preview
{
  height: 100px;
  width: 90px;
  border-radius: 4px;
  margin-bottom: 9px;
  background: #F9F9F9;
  text-align: center;
  overflow: hidden;
}
.images-preview:before,
.images-preview img
{
  display: inline-block;
  vertical-align: middle;
}
.images-preview:before
{
  content: '';
  height: 100%;
}
.images-preview img
{
    max-width: 90%;
    max-height: 100%;
}
.images-load .button
{
  padding: 10px 13px
}

.form-block.__services
{
  padding-top: 20px;
}
.services_ttl
{
  font-size: 14px;
}
.checks
{
  padding-top: 20px;
}
label.check
{
  display: block;
  margin-bottom: 5px;
}
.checks label:last-child
{
/*  padding-top: 3px;*/
}
.check input
{
  display: none;
}
.check span
{
  display: inline-block;
  font-weight: bold;
  font-size: 13px;
  line-height: 18px;
  height: 18px;
  padding-left: 29px;
  background: url(../img/calc/icon-checks.png) no-repeat top left;
  letter-spacing: 0.1px;
}
.check input:checked + span
{
  background-position: bottom left;
}
.checks + .ps
{
  padding-top: 2px;
  padding-left: 2px;
}
.__services .field
{
  margin-left: -2px;
  padding-top: 15px;
}
.__services .field label
{
  margin-bottom: 3px;
}
.__services textarea
{
  height: 83px;
  resize: none;
}

.total
{
  font-family: Roboto;
  padding-top: 5px;
}
.total_ttl
{
	display: inline-block;
  font-weight: 300;
}
.total_price
{
display: inline-block;
margin-left: 15px;
  font-weight: bold;
  font-size: 32px;
  line-height: 32px;
}

.create-step.__step4
{
  padding-top: 0px;
  margin-top: 20px;
}
.contact-data
{  
  padding-top: 20px;
}
.contact-data .field
{
  display: inline-block;
  width: 100%;
  vertical-align: top;
}
.contact-data .field:last-child
{
  margin-right: 0;
}
.contact-desc
{
  font-size: 14px;
  padding-top: 20px;
  letter-spacing: .16px;
}
.contact-desc .ps
{
  padding-top: 6px;
  font-size: 13px;
  letter-spacing: .4px;
}

.contact-button
{
  text-align: right;
  padding-bottom: 61px;
  padding-top: 16px;
}
.check.__agree
{
  color: #D64121;
  font-size: 13px;
}
.check.__agree span
{
  letter-spacing: 0;
  padding-left: 25px;
}
.contact-button .button
{
  margin-top: 12px;
  letter-spacing: 1.9px;
  padding: 11px 21px;
}

.field input.invalid 
{
    border: 2px solid #E74032;
}



/* processing */
.processing
{
  position: relative;
}
.processing:after
{
  content: ' ';
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .4) url(../img/calc/loading.gif) no-repeat center center;
  background-size: 64px;
}

#create.processing:after
{
    background-color: transparent;
}

/* scroll from design */
.__step2 .create-step-wrapper
{
    overflow: hidden;
    background-color: #F9F9F9;
    padding: 0 15px;
}

.__step2 .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar
{
    background: #D64121;
    border-radius: 20px;
}
.__step2  .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar
{
    height: 20px;
    margin-top: -1px;
    position: relative;
    min-width: 20px !important;
}
.__step2  .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar:after,
.__step2  .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar:before
{
    position: absolute;
    top: 0;
    color: #fff;
    font-size: 14px;
}
.__step2  .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar:after
{
    content: '';
    right: 5px;
}
.__step2  .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar:before
{
    content: '';
    left: 5px;
}
.__step2 .mCSB_scrollTools .mCSB_draggerRail
{
    background: #f7ddd7;
}
.__step2 .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_draggerRail
{
    height: 5px;
}

/* button */
.button
{
	display: inline-block;
    background: #D64221;
    background: linear-gradient(135deg,#D64221,#FB876E);
    border: 0;
    box-shadow: 0 0 0 3px rgba(245,124,98,.3);
    border-radius: 25px;
    padding: 8px 25px;
    text-transform: uppercase;
    min-width: 200px;
    color: #ffe1da;
    font-size: 16px;
    font-weight: 600;
    transition: 0.6s;
    margin: 20px 0;
    cursor: pointer;
}

.button:hover
{
	transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -moz-transform: scale(1.1);
    box-shadow: none;
    color: #ffe1da;
}