#content .calc {
	padding: 40px 5%;
	margin-bottom: 30px;
	background: #f7f7f7;
    border-radius: 4px;
	border: 5px solid #ccc;
}

#content .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;
}

#content .calc ul {
	list-style-type: none;
	margin: 0;
}

#content .calc hr {
	border: 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #fff;
	margin: 25px 0;
}

#content .calc p {
	font-weight: 600;
	width: 140px;
	margin: 0;
}

#content .calc ul li {
	margin: 0 0 10px 20px;
}

#content .calc ul li:first-child{
	margin-left: 0;
}

#content .calc ul li:first-child {
	font-size: 1.1em;
}

#content .calc input[type="number"] {
	padding: 10px;
	width: 100px;
	font-size: 1.5em;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
}

#content .calc select {
	padding: 7px;
	width: 350px;
	font-size: 1em;
	border: 2px solid #fdb418;
	border-radius: 4px;
	background: #fff;
}

#content .calc .razdelitel {
	margin-left: 20px;
}

#content .calc ul li.otstup_abh {
	margin-left: 16px;
}

#content .calc .calc_rezultat {
	padding: 20px;
	border-radius: 4px;
	text-align: center;
}

#content .calc .calc_rezultat p {
	width: 100%;
	padding: 10px 0;
	margin: 0;
	font-size: 1em;
	color: #717171;
	text-transform: uppercase;
	border-bottom: 1px dashed #ccc;
}

#content .calc_rez,
#content .calc .rub,
#content .calc .ot {
	font-size: 1.7em;
	color: #5aba2b;
}

#content .calc .rub {
	margin-left: 5px;
	text-transform: lowercase;
	font-size: 1.2em;
}

#content .calc .ot {
	margin-right: 5px;
	text-transform: lowercase;
	font-size: 1.2em;
}

#content .calc input[type=checkbox] {
	vertical-align: top;
	margin: 0 3px 0 0;
	width: 17px;
	height: 17px;
}

#content .calc input[type=checkbox] ~ label {
	cursor: pointer;
}

#content .calc input[type=checkbox]:not(checked) {
	position: absolute;
	opacity: 0;
}

#content .calc input[type=checkbox]:not(checked) ~ label {
	position: relative;
	padding: 0 0 0 60px;
}

#content .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);
}

#content .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; /* Р В°Р Р…Р С‘Р С�Р В°РЎвЂ Р С‘РЎРЏ, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ РЎвЂЎР ВµР С”Р В±Р С•Р С”РЎРѓ Р С—Р ВµРЎР‚Р ВµР С”Р В»РЎР‹РЎвЂЎР В°Р В»РЎРѓРЎРЏ Р С—Р В»Р В°Р Р†Р Р…Р С• */
}

#content .calc input [type=radio]{
    vertical-align: top;
    width: 17px;
    height: 17px;
    margin: 0 3px 0 0;
}
#content .calc input [type=radio]+ label {
    cursor: pointer;
}
#content .calc input[type=radio]:not(checked) {
    position: absolute;
    opacity: 0;
}
#content .calc input[type=radio]:not(checked) ~ label {
    position: relative;
    padding: 0 0 0 35px;
}
#content .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;
}
#content .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;
}
#content .calc input[type=radio]:checked ~ label:after {
    opacity: 1;
}
#content .calc input[type=radio]:focus ~ label:before {
    box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}

#content .calc input[type=checkbox]:checked ~ label:before {
	background: #9FD468;
}

#content .calc input[type=checkbox]:checked ~ label:after {
	left: 26px;
}

#content .calc input[type=checkbox]:focus ~ label:before {
	box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}
