.calc {
	padding: 40px 5%;
	margin-bottom: 30px;
	background: #f7f7f7;
	border-radius: 4px;
	border: 5px solid #ccc;
}

.calc h3 {
	width: 200px;
	font-size: 1em;
	font-weight: 600;
	text-align: center;
	padding: 10px;
	background: #777;
	color: #fff;
	text-transform: uppercase;
	border-radius: 0 7px 0 7px;
	margin-bottom: 20px;
}

.calc ul {
	list-style-type: none;
	margin: 0;
}

.calc hr {
	border: 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #fff;
	margin: 25px 0;
}

.calc p {
	font-weight: 600;
	width: 140px;
	margin: 0;
}

.calc ul li {
	margin: 0 0 0 40px;
	display: inline-block;
}

.calc ul li:first-child{
	margin-left: 0;
}

.calc input[type="number"] {
	padding: 10px;
	width: 100px;
	font-size: 1.5em;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.calc select {
	padding: 7px;
	width: 350px;
	font-size: 1em;
	border: 2px solid #fdb418;
	border-radius: 4px;
	background: #fff;
}

.calc .razdelitel {
	margin-left: 20px;
}

.calc ul li.otstup_abh {
	margin-left: 16px;
}

.calc .calc_rezultat {
	margin: 70px 0 0 0;
	padding: 20px;
	background: #eaeaea;
	border-radius: 4px;
}

.calc .calc_rezultat p {
	width: 100%;
	padding: 10px 0;
	margin: 0;
	font-size: 1em;
	color: #717171;
	text-transform: uppercase;
	border-bottom: 1px dashed #ccc;
}

.calc_rez,
.calc .rub {
	font-size: 1.5em;
	color: #5aba2b;
}

.calc .rub {
	margin-left: 5px;
	text-transform: lowercase;
}

.calc input[type=checkbox] {
	vertical-align: top;
	margin: 0 3px 0 0;
	width: 17px;
	height: 17px;
}

.calc input[type=checkbox] ~ label {
	cursor: pointer;
}

.calc input[type=checkbox]:not(checked) {
	position: absolute;
	opacity: 0;
}

.calc input[type=checkbox]:not(checked) ~ label {
	position: relative;
	padding: 0 0 0 60px;
}

.calc input[type=checkbox]:not(checked) ~ label:before {
	content: '';
	position: absolute;
	top: -4px;
	left: 0;
	width: 50px;
	height: 26px;
	border-radius: 13px;
	background: #CDD1DA;
	box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
}

.calc input[type=checkbox]:not(checked) ~ label:after {
	content: '';
	position: absolute;
	top: -2px;
	left: 2px;
	width: 22px;
	height: 22px;
	border-radius: 10px;
	background: #FFF;
	box-shadow: 0 2px 5px rgba(0,0,0,.3);
	transition: all .2s; /* Р В Р’В Р вЂ™Р’В°Р В Р’В Р В РІР‚В¦Р В Р’В Р РЋРІР‚?Р В Р’В Р РЋ?Р В Р’В Р вЂ™Р’В°Р В Р Р‹Р Р†Р вЂљР’В Р В Р’В Р РЋРІР‚?Р В Р Р‹Р В Р РЏ, Р В Р Р‹Р Р†Р вЂљР Р‹Р В Р Р‹Р Р†Р вЂљРЎв„ўР В Р’В Р РЋРІР‚СћР В Р’В Р вЂ™Р’В±Р В Р Р‹Р Р†Р вЂљРІвЂћвЂ“ Р В Р Р‹Р Р†Р вЂљР Р‹Р В Р’В Р вЂ™Р’ВµР В Р’В Р РЋРІР‚СњР В Р’В Р вЂ™Р’В±Р В Р’В Р РЋРІР‚СћР В Р’В Р РЋРІР‚СњР В Р Р‹Р В РЎвЂњ Р В Р’В Р РЋРІР‚вЂќР В Р’В Р вЂ™Р’ВµР В Р Р‹Р В РІР‚С™Р В Р’В Р вЂ™Р’ВµР В Р’В Р РЋРІР‚СњР В Р’В Р вЂ™Р’В»Р В Р Р‹Р В РІР‚в„–Р В Р Р‹Р Р†Р вЂљР Р‹Р В Р’В Р вЂ™Р’В°Р В Р’В Р вЂ™Р’В»Р В Р Р‹Р В РЎвЂњР В Р Р‹Р В Р РЏ Р В Р’В Р РЋРІР‚вЂќР В Р’В Р вЂ™Р’В»Р В Р’В Р вЂ™Р’В°Р В Р’В Р В РІР‚В Р В Р’В Р В РІР‚В¦Р В Р’В Р РЋРІР‚Сћ */
}

.calc input [type=radio]{
	vertical-align: top;
	width: 17px;
	height: 17px;
	margin: 0 3px 0 0;
}
.calc input [type=radio]+ label {
	cursor: pointer;
}
.calc input[type=radio]:not(checked) {
	position: absolute;
	opacity: 0;
}
.calc input[type=radio]:not(checked) ~ label {
	position: relative;
	padding: 0 0 0 35px;
}
.calc input[type=radio]:not(checked) ~ label:before {
	content: '';
	position: absolute;
	top: -3px;
	left: 0;
	width: 22px;
	height: 22px;
	border: 1px solid #CDD1DA;
	border-radius: 50%;
	background: #FFF;
}
.calc input[type=radio]:not(checked) ~ label:after {
	content: '';
	position: absolute;
	top: 1px;
	left: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fdb418;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
	opacity: 0;
	transition: all .2s;
}
.calc input[type=radio]:checked ~ label:after {
	opacity: 1;
}
.calc input[type=radio]:focus ~ label:before {
	box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}

.calc input[type=checkbox]:checked ~ label:before {
	background: #9FD468;
}

.calc input[type=checkbox]:checked ~ label:after {
	left: 26px;
}

.calc input[type=checkbox]:focus ~ label:before {
	box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}

@media (max-width: 767px) {
	.content-box .calc input[type="number"],
	.content-box .calc select,
	.content-box .calc input[type=checkbox],
	.content-box .calc input [type=radio],
	.content-box .calc label,
	.content-box .calc ul li
	{
		float: none;
		display: block;
	}
	
	.content-box .calc {
		padding: 20px 5%;
		box-shadow: none;
	}
	.content-box .calc select {
		width: 100%;
		max-width: 350px;
	}
	
	.content-box .calc .calc_rezultat {
		margin: 30px 0 0 0;
		padding: 0;
		background: #f7f7f7;
		border-radius: 4px;
		font-family: Courier;	
	}
	
	.content-box .calc .razdelitel {
		margin-left: 0;
	}
	
	.content-box .calc ul li.otstup_abh {
		margin-left: 0;
	}
	
	.content-box .calc ul li {
		margin: 0 0 10px 0;
	}
}
