/* #calculator */

#calculator_wrapper{
    background: #eeeff0 url(/image/bblue.png) top center no-repeat; background-size: contain;
    position: relative;
    padding-bottom: 35px;
}
#calculator_wrapper::after{
    content: '';
    position: absolute;
    bottom: 0%;
    left: 0;
    right: 0;
    width: 100%;
    background: #eeeff0 url(/image/slidef_top.png) top no-repeat;
    height: 70px;
    background-size: 100% 100%;
}

#calculator{ width: 1170px; max-width: calc(100% - 10px - 10px); padding: 200px 0 50px 0; margin: 0 auto; font-size: 16px; }

#calculator h2{ max-width: 720px; margin: 20px auto 40px auto; text-align: center; font-size: 30px; font-weight: bold; }
#calculator .calculator-hidden{ display: none; }

#calculator .option.disabled{ opacity: 0.3; }

/* checkbox */
#calculator .option.checkbox input[type="checkbox"]{ display: none; }

#calculator .option.checkbox label{ cursor: pointer; padding-left: 30px; color: #676d71; font-weight: normal; position: relative; }
#calculator .option.checkbox label:before{
    content: " ";
	border-radius: 3px; background-color: #efeef0; width: 20px; height: 20px;
	position: absolute; left: 0;
}

#calculator .option.checkbox input[type="checkbox"]:checked + label:before{ background: #fe6913 url(/assets/images/calculator/icons/check.png) center no-repeat; }

/* radio */
#calculator .option.radio input[type="radio"]{ display: none; }

#calculator .option.radio label{ cursor: pointer; padding-left: 30px; color: #676d71; font-weight: normal; position: relative; }
#calculator .option.radio label:before{
    content: " ";
	background: url(/assets/images/calculator/icons/radio.png) top center no-repeat; width: 20px; height: 20px;
	position: absolute; left: 0;
}

#calculator .option.radio input[type="radio"]:checked + label:before{ background-position: bottom center; }

/* button */
#calculator .button{ cursor: pointer; background: #fe6913; border-radius: 20px; padding: 14px 0 12px 0; color: #fff; text-align: center; }

/* выбор типа калькулятора */
#calculator .selector-type{
    margin-bottom: 45px; display: flex; flex-wrap: wrap; justify-content: space-between;
    position: relative; z-index: 1000;
}

#calculator .selector-type .text,
#calculator .selector-type  .el{
    border: 2px solid #FFF; cursor: pointer; width: calc(73% - 10px - 10px); background-color: #fafafa; padding: 10px 10px;
	font-size: 18px;
    display: block; position: relative;
}
#calculator .selector-type .text{ border-radius: 5px 0 0 5px; border-right: none; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }

#calculator .selector-type > .arrow{
    border: 2px solid #FFF; border-radius: 0 5px 5px 0; border-left: none; cursor: pointer;
    background-color: #fe6913; width: 60px; height: 49px; margin-right: auto; display: inline-block; position: relative;
}
#calculator .selector-type > .arrow:after{
    content: ""; border: 7px solid transparent; border-top: 7px solid #FFF; position: absolute; right: 23px; top: calc(50% - 3px);
}

#calculator .selector-type .button{ width: 18%; display: inline-block; }

#calculator .selector-type .els{
    border-radius: 5px; width: calc(73% + 40px);
    display: none; position: absolute; top: 57px;
    box-shadow: rgba(0,0,0,0.2) 0 0 8px;
}
#calculator .selector-type .els .arrow{
    border: 9px solid transparent; border-bottom: 9px solid #FFF;
    position: absolute; right: 23px; top: -18px;
}
#calculator .selector-type .els .el{ width: 100%; }
#calculator .selector-type .els .el:hover{ background: #fe6913; color: #FFF; }
#calculator .selector-type .els .el:nth-child(2){ border-radius: 5px 5px 0 0; }
#calculator .selector-type .els .el:last-child{ border-radius: 0 0 5px 5px; }

/* .body */
#calculator .body{ position: relative; }
#calculator .body > div > div > .title{ margin: 0 0 20px 0; font-size: 30px; font-weight: bold; color: #363b40; text-align: center; }
#calculator .body [class^="type-"],
#calculator .body [class^="step-"]{ display: none; }

/* адаптивные колонки */
#calculator .body .column{ min-width: 360px; }
#calculator .body .column{ flex: 1 1 48%; }
#calculator .body .column:nth-child(2){ border-left: 1px solid #e2e2e2; margin-left: -1px; flex: 1 1 52%; }
#calculator .body .column .column{ border: none; min-width: 190px; padding: 0 10px; flex: 1 1 50%; margin: 0; }

#calculator .type-1 .step-1 .basic-options{
    padding-top: 15px;
}

/* Общие стили форм калькулятора */
#calculator .body .column > .title{ margin: 30px 0 35px 20px; font-size: 20px; color: #fe6913; }

#calculator .body .basic-options{ padding: 30px 15px;  }
#calculator .body .extra-options{ padding: 15px 15px 35px 15px; display: flex; justify-content: space-around; flex-wrap: wrap;}

#calculator .body .option{ margin: 2px 0 5px 0; display: flex; justify-content: space-between; }
#calculator .body .option .text{ width: calc(100% - 35px - 76px - 10px); margin: 0 auto 0 0; color: #676d71; }
#calculator .body .option .text .caption{ color: #676d71; font-size: 14px; }
#calculator .body .column .column .option .icon{ display: none; }

#calculator .body .option.group-name{ margin-top: 10px; }
#calculator .body .option.group-name .text{ font-size: 18px; font-weight: 700; color: inherit; }

#calculator .body .option.checkbox,
#calculator .body .option.radio{ display: inline-block; }
#calculator .body .option.checkbox .text,
#calculator .body .option.radio .text{ width: initial; }

#calculator .body .option.radio-group{ flex-wrap: wrap; }
#calculator .body .option.radio-group > .text{ width: 100%; margin-bottom: 10px; color: inherit; font-size: 18px; font-weight: bold; }
#calculator .body .option.radio-group .text{ margin-bottom: 5px; color: inherit; }

#calculator .body .option.option-select{ flex-wrap: wrap; }
#calculator .body .option.option-select .text{ width: 100%; margin-bottom: 10px; color: inherit; font-size: 18px; font-weight: bold; }
#calculator .body .option.option-select .select{ width: 100%; }

/*#calculator .body .column .column .option .text{ width: calc(100% - 76px); }*/
#calculator .body .column .column .option .text{ width: initial; }

#calculator .body .select-count{ user-select:none; width: 76px; margin: -3px 0 0 0; white-space: nowrap; }
#calculator .body .option.group-name .select-count{ margin: 0; }
#calculator .body .select-count .plus,
#calculator .body .select-count .minus,
#calculator .body .select-count input{ cursor: pointer; border-radius: 3px; width: 20px; display: inline-block; vertical-align: middle; }
#calculator .body .select-count .plus,
#calculator .body .select-count .minus{ cursor: pointer; height: 20px; }
#calculator .body .select-count .plus{ background: #fe6913 url(/assets/images/calculator/icons/plus-small.png) center no-repeat; }
#calculator .body .select-count input{ border: none; background: #efeef0; width: 26px; padding: 3px 3px 2px 3px; text-align: center; font-size: 14px; }
#calculator .body .select-count .minus{ background: #fe6913 url(/assets/images/calculator/icons/minus-small.png) center no-repeat; }

#calculator form{ max-width: 580px; margin: 0 auto; }
#calculator form .det{ padding-top: 20px; text-align: center; color: #676d71; opacity: initial;  }

#calculator .body .finish{
	box-shadow: rgba(0, 0, 0, 0.3) 0 3px 8px; border-radius: 5px; border: none; background: #FFF; padding: 30px;
	display: flex; overflow: hidden;
}
#calculator .body .finish .column:nth-child(2){ border: none; padding-left: 70px; }
#calculator .body .finish span{ color: #676d71; }
#calculator .body .finish .total-text{ font-size: 20px; }
#calculator .body .finish .total-text span{ color: inherit; }
#calculator .body .finish .icon.notepad{ margin: 0 8px -5px 0; display: inline-block; }
#calculator .body .finish .download-order{ cursor: pointer; color: #fe6913; }
#calculator .body .finish .note{ font-weight: 400; font-size: 14px; }

/* Иконки */
#calculator .workshift .icon,
#calculator .finish .icon{ background: no-repeat center; width: 25px; min-width: 25px; height: 25px; margin: -3px 10px 0 0; display: inline-block; }
#calculator .body .icon.auto{ background-image: url(/assets/images/calculator/icons/auto.png); }
#calculator .body .icon.calendar{ background-image: url(/assets/images/calculator/icons/calendar.png); }
#calculator .body .icon.man{ background-image: url(/assets/images/calculator/icons/man.png); }
#calculator .body .icon.hand{ background-image: url(/assets/images/calculator/icons/hand.png); }
#calculator .body .icon.notepad{ background-image: url(/assets/images/calculator/icons/notepad.png); }

/* Таблица выбора опций */
#calculator .workshift{
    box-shadow: rgba(0, 0, 0, 0.3) 0 3px 8px; border-radius: 5px; background: #FFF; margin: 40px 0 0 0;
	position: relative; overflow: hidden; display: flex; flex-wrap: wrap;
}
#calculator .title + .workshift{ margin-top: 0; }

#calculator .workshift .workshift-header{ background-color: #fe6913; width: 100%; padding: 10px 15px 8px 20px; color: #FFF; font-size: 15px; position: relative; }
#calculator .workshift .workshift-header > *{ margin: 10px 0; }
#calculator .workshift .workshift-header .name{ margin-right: 15px; font-size: 30px; color: #FFF; vertical-align: middle; display: inline-block; }
#calculator .workshift .workshift-header .calendar-settings{ white-space: nowrap; vertical-align: middle; display: inline-block; }
#calculator .workshift .workshift-header .calendar-settings .time-picker,
#calculator .workshift .workshift-header .calendar-settings .day-picker{ display: inline-block; }
#calculator .workshift .workshift-header .calendar-settings .day-picker{ margin-right: 3%; }
#calculator .workshift .workshift-header .calendar-settings .text{ cursor: pointer; border-bottom: 1px dashed #FFF; display: inline-block; }
#calculator .workshift .workshift-header .calendar-settings .icon{
    background: top center no-repeat; width: 25px; height: 25px; margin-right: 1px;
    display: inline-block; vertical-align: bottom;
    filter: grayscale(100%) brightness(200%);
}
#calculator .workshift .workshift-header .calendar-settings .day-picker input{ width: 0; height: 0; opacity: 0; }
#calculator .workshift .workshift-header .calendar-settings .time-picker .icon{ background-image: url(/assets/images/calculator/icons/time.png); }
#calculator .workshift .workshift-header .calendar-settings .day-picker .icon{ background-image: url(/assets/images/calculator/icons/calendar.png); }

#calculator .workshift-header .option{ width: 320px; margin: 20px 0 0 0; float: right; }
#calculator .workshift-header .option .text{ color: #FFF; }
#calculator .workshift-header .select-count input{ background: #FFF; margin: 0 3px; color: #FE6913; }
#calculator .workshift-header .select-count .plus,
#calculator .workshift-header .select-count .minus{ background: #FFF center no-repeat; }
#calculator .workshift-header .select-count .plus{ background-image: url(/assets/images/calculator/icons/plus-small-orange.png); }
#calculator .workshift-header .select-count .minus{ background-image: url(/assets/images/calculator/icons/minus-small-orange.png); }

/* добавление/удаление смены */
#calculator .workshift-add-del{ width: 80px; position: absolute; right: 0; top: 60px; }
#calculator .workshift-add-del > div{ cursor: pointer; margin-bottom: 10px; display: inline-block; }
#calculator .workshift-add-del > div.disabled{ opacity: 0.5; }
#calculator .workshift-add-del .icon{
	background: #fe6913 center no-repeat; border-radius: 3px; width: 40px; height: 40px; margin: 0 auto;
	display: block;
}
#calculator .workshift-add-del .add .icon{ background-image: url(/assets/images/calculator/icons/plus.png); }
#calculator .workshift-add-del .del .icon{ background-image: url(/assets/images/calculator/icons/minus.png); }
#calculator .workshift-add-del .text{ margin-top: 5px; font-size: 15px; text-align: center; }

/* footer */
#calculator .footer{ margin-top: 30px; text-align: center; display: none; }

#calculator .footer .sum-text,
#calculator .footer .sum-value,
#calculator .footer .deposite-text,
#calculator .footer .deposite-value{ display: inline-block; }
#calculator .footer .sum-text,
#calculator .footer .deposite-text{ color: #676d71; }
#calculator .footer .sum-value,
#calculator .footer .deposite-value{ margin-left: 5px; font-size: 24px; font-weight: 600; }
#calculator .footer .sum-value:after,
#calculator .footer .deposite-value:after{ content: ' руб'; }

#calculator:not(.with-deposite) .footer .deposite-text,
#calculator:not(.with-deposite) .footer .deposite-value{ display: none; }

#calculator.is-last-step .footer .button .next-text{ display: none; }
#calculator.is-last-step .footer .button .order-text{ display: block; }
#calculator.is-finish-step .footer{ display: none !important; }

#calculator .footer .deposite-sum-text,
#calculator .footer .deposite-sum-value{ display: none; }
#calculator .footer .deposite-sum-value{ padding-left: 5px; font-weight: 600; }

#calculator .footer .error-text{ margin: 20px 0; color: #ce0c0c; }

#calculator .footer .button{ width: 230px; max-width: calc(100% - 10px - 10px); margin: 15px auto 0 auto; }
#calculator .footer .button .order-text{ display: none; }

#calculator.is-last-step .footer .button .next-text{ display: none; }
#calculator.is-last-step .footer .button .order-text{ display: block; }

/* calculatorTimeSelector */
#calculatorTimeSelector{
    box-shadow: rgba(0, 0, 0, 0.3) 0 3px 8px; overflow: hidden;
    border-radius: 5px; background-color: #FFF; width: 300px; position: absolute; z-index: 1000; display: none;
    color: #000;
}
#calculatorTimeSelector .header{ background-color: #fe6913; padding: 13px 15px; color: #FFF;  }
#calculatorTimeSelector .header .title{ width: calc(80% - 15px); display: inline-block; }
#calculatorTimeSelector .header .confirm{ cursor: pointer; width: 20%; display: inline-block; text-align: right; }

#calculatorTimeSelector .content{ background: #FFF; padding: 13px 0; color: initial; display: flex; justify-content: center; align-items: center; }

#calculatorTimeSelector .content .arrow_up,
#calculatorTimeSelector .content .arrow_down{ cursor: pointer; width: 30px; height: 20px; }
#calculatorTimeSelector .content .arrow_up{ background: url(/assets/images/calculator/icons/arrow_up.png) center no-repeat; }
#calculatorTimeSelector .content .arrow_down{ background: url(/assets/images/calculator/icons/arrow_down.png) center no-repeat; }
#calculatorTimeSelector .content input{ cursor: pointer; border: none; width: 30px; padding: 5px 0 3px; text-align: center; }
#calculatorTimeSelector .content .delimiter{ width: 30px; text-align: center; }

/* Стили разных калькуляторов */
#calculator .type-1 .workshift{ margin-right: 100px; }
#calculator .type-1 .workshift .row-shift{ width: 100%; }
#calculator .type-1 .workshift .row-shift .basic-options{ display: flex; flex-wrap: wrap; justify-content: space-between; }
#calculator .type-1 .workshift .row-shift .option{ width: calc(50% - 15px); }
#calculator .type-1 .workshift .row-shift .option.group-name{ width: 100%; }
#calculator .type-1 .workshift .title{
	width: 100%; font-size: 20px; padding: 10px 0; text-align: center;
}
#calculator .type-1 .header .title{ width: calc(80% - 15px); font-size: inherit; text-align: initial; display: inline-block; }

#calculator .type-2{ display: none !important; }
#calculator .type-3 .workshift .icon{ display: none; }
#calculator .type-3 .workshift .basic-options .option:nth-child(1) .icon{ display:inline-block; }
#calculator .type-3 .option.group-name .text{ width: initial; }
#calculator .type-3 .option .text{ color: inherit; }
#calculator .type-3 .extra-options .column{ width: 100%; }
#calculator .type-3 .extra-options .column .option .text{ width: 260px; margin-right: 0; }
#calculator .type-3 .extra-options .column .option .select-count{ margin-right: auto; }

#calculator .type-4 .workshift .icon{ display: none; }
#calculator .type-4 .workshift-header{ padding-right: 35px; padding-left: 35px; }
#calculator .type-4 .workshift-header .name{ width: 370px; }
#calculator .type-4 .workshift-header .option .select-count{ margin-right: auto; }

#calculator .type-4 .workshift [class^="col-"]{ padding: 20px 20px 20px 35px; }
#calculator .type-4 .workshift [class^="col-"] > .option{ flex-wrap: wrap; }
#calculator .type-4 .workshift [class^="col-"] > .option > .text{ width: 100%; margin-bottom: 10px; color: inherit; font-size: 18px; font-weight: bold; }
#calculator .type-4 .option.power .option{ width: 100px; }

#calculator .type-5 .workshift .icon{ display: none; }
#calculator .type-5 .workshift-header{ padding-right: 35px; padding-left: 35px; }
#calculator .type-5 .workshift-header .name{ width: 370px; }
#calculator .type-5 .workshift-header .option .select-count{ margin-right: auto; }

#calculator .type-5 .workshift [class^="col-"]{ padding: 20px 20px 20px 35px; }
#calculator .type-5 .option.compressor-type{ margin-bottom: 40px; }
#calculator .type-5 .option.compressor-type .option{ width: 100%; }
#calculator .type-5 .option.compressor-equipment .option{ width: 100%; }
#calculator .type-5 .option.compressor-manufacturer .option{ width: 100%; }
#calculator .type-5 .option.compressor-power .option{ width: 200px; }

#calculator .type-5 .step-2 .option.group-name > .text{ width: 100%; font-size: 20px; }
#calculator .type-5 .step-2 [class^="col-"]{ padding-right: 120px; padding-left: 80px; }

#calculator .type-6 .noStaff-diameter .option.radio{ width: 25%; }
#calculator .type-6 .noStaff-capacity{ display: block; }
#calculator .type-6 .noStaff-capacity .option.radio{ display: block; }


#calculator .type-6 .workshift .col{ padding: 15px; }
#calculator .type-6 .body .option.group-name{ margin-top: 0; }
#calculator .type-6 .option.capacity{ display: block; }

#calculator .type-6 .workshift .col .option .icon{ display: none; }
#calculator .type-6 .workshift .col .option .icon.notepad{ display: block; }

#calculator .type-6 .workshift .col:nth-child(2) .option.radio{ min-width: 25%; }
#calculator .type-6 .workshift .col:nth-child(3) .group-name .text{ width: 100%; }
#calculator .type-6 .workshift .col:nth-child(3) .option.radio{ display: block; }
#calculator .type-6 .workshift .col:nth-child(4){ border-right: 1px solid #eeeff0; }
#calculator .type-6 .workshift .col:nth-child(5) .option.checkbox{ display: block; }

@media (max-width: 1070px){
	#calculator .type-1 .workshift{ margin-right: 0; }
	#calculator .type-1 .workshift .row-shift .option{ width: auto; }
	#calculator .workshift{ margin-right: 0; }
    #calculator .workshift-add-del{ width: auto; margin: 20px 10px 10px; text-align: center; position: initial; }
    #calculator .workshift-add-del .add{ margin: 20px; }
}

@media (max-width: 480px){
    #calculator .selector-type .text,
	#calculator .selector-type .el{ width: calc(100% - 10px - 10px - 40px); }
    #calculator .selector-type .button{ width: 100%; margin-top: 10px; }
    #calculator .selector-type .el{ width: calc(100% + 57px); }

	#calculator .body > div > div > .title{ font-size: 20px; }

	#calculator .workshift .workshift-header,
	#calculator .type-4 .workshift [class^="col-"]{ padding-right: 15px !important; padding-left: 15px !important; }
	#calculator .workshift .workshift-header .name{ width: 100%; text-align: center; font-size: 24px; }

	#calculator .body .option.checkbox,
	#calculator .body .option.radio{ width: 100%; }
	#calculator .body .option .text{ width: initial; }
}