+.prescription label.presctype,
+.prescription input[name=presctype] + label {
+ font-size: medium;
+ width: 22%;
+ margin: 0; margin-right: -.75ex;
+ vertical-align: bottom;
+ padding: .125em .5ex .25em 3ex;
+}
+.prescription label.presctype {
+ text-align: right;
+ font-weight: bold;
+ padding-right: 1ex;
+ padding-left: 0;
+}
+
+input[name=presctype][value\$=private]:checked ~ fieldset,
+ input[name=presctype][value\$=private] + label,
+ .prescription.private { background-color: #CFC;}
+input[name=presctype][value\$=selfpaid]:checked ~ fieldset,
+ input[name=presctype][value\$=selfpaid] + label,
+ .prescription.selfpaid { background-color: #FFC;}
+input[name=presctype][value=doctor_compulsory]:checked ~ fieldset,
+ input[name=presctype][value=doctor_compulsory] + label,
+ .prescription.doctor.compulsory { background-color: #CFF;}
+input[name=presctype][value=dentist_compulsory]:checked ~ fieldset,
+ input[name=presctype][value=dentist_compulsory] + label,
+ .prescription.dentist.compulsory { background-color: #FCC;}
+input[name=presctype][value^=altpractition]:checked ~ fieldset,
+ input[name=presctype][value^=altpractition] + label,
+ .prescription.altpractition { background-color: #FCF;}
+