
/* radios and checkboxes require a label in order to work */
input[type=checkbox], input[type=radio] {
  display: none !important; }

input[type=checkbox] + label, input[type=radio] + label {
  min-height: 30px;
  padding-left: 35px;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 16px 16px;
  cursor: pointer;
  background-color: transparent;
  display: block !important;
	line-height:16px;
	}

.polarity_matrix input[type=radio] + label,
.radiobutton_matrix input[type=radio] + label,
.checkbox_matrix input[type=checkbox] + label,
.gauge input[type=checkbox] + label,
.gauge input[type=radio] + label {	
  width: 0;
	padding-left: 16px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 16px;
}
	
input[type=checkbox] + label {
  background-image: url(https://mailing.ospa.de/public/a_4760_VH8SW/webspace/Vorlagen/2018/01_survey/img/form/cb_unchecked.png); }

input[type=radio] + label {
  background-image: url(https://mailing.ospa.de/public/a_4760_VH8SW/webspace/Vorlagen/2018/01_survey/img/form/radio_unchecked.png); }

input[type=checkbox]:hover + label {
  background-image: url(https://mailing.ospa.de/public/a_4760_VH8SW/webspace/Vorlagen/2018/01_survey/img/form/cb_hover.png); }

input[type=radio]:hover + label {
  background-image: url(https://mailing.ospa.de/public/a_4760_VH8SW/webspace/Vorlagen/2018/01_survey/img/form/radio_hover.png); }

input[type=checkbox]:checked + label {
  background-image: url(https://mailing.ospa.de/public/a_4760_VH8SW/webspace/Vorlagen/2018/01_survey/img/form/cb_checked.png); }

input[type=radio]:checked + label {
  background-image: url(https://mailing.ospa.de/public/a_4760_VH8SW/webspace/Vorlagen/2018/01_survey/img/form/radio_checked.png); }

input[type=checkbox]:hover + label, input[type=radio]:hover + label {
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  display: block; }

input[type=checkbox]:checked + label, input[type=radio]:checked + label {
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  display: block; }

	
@media only screen and (max-width: 90%) {

  input[type=checkbox] + label, input[type=radio] + label {
    height: 50px;
    padding-left: 40px;
    background-size: 25px 25px;
    padding-top: 3px; }
}


table {
  width: 100%;
  border-collapse: collapse; }

.pagination {
  font-size: 0.9em;
  margin: 5px 0 0;
  text-align: right; }

.abstand {
  height: 10px; }

.head label {
  display: block;
  padding: 0px 0px;
	margin-bottom: 12px;
	margin-top: 20px;
	}
		
div.question div.html {
  padding: 5px 0; }

.checkbox_group label, .radiobutton_group label {
  text-align: left;
  display: block;
  width: 90%; }

.checkbox_matrix input,
.polarity_matrix input,
.radiobutton_matrix input {
  display: block;
  margin: 0 auto; }

td.answer, td.question, label[for^="a_"] {
  /*font-size: 0.9em;*/ }

td.answer {
  text-align: center; }

.gauge table {
  width: auto; }

.body td {
  padding: 3px 5px; }

.gauge td {
  text-align: center;
  padding: 5px;
  min-width: 50px; }

.body tr:nth-child(even) {
  background-color: #e3e3e3; }

input, select, textarea {
  border: solid 2px #666;
  padding: 5px;
  font-family: inherit;
  font-size: inherit;
	color:#888A8D;
	transition: all 0.2s ease-in;
	}

input.error, select.error, textarea.error {
  border: solid 2px #ee0000;
	}

input[type=text], textarea, select {
  width: 100%; 
	border-radius: 5px;
	box-sizing:border-box;}

input[type="text"].sub_data {
	margin-left: 29px;
	margin-bottom: 8px;
	width: 80%;
	}

.msg_error {font-weight:bold;color:#e00;}
.pflicht {margin-top:10px;}

.mandatory .head label::after {
    content: ' *';
}


/******/

/***************************/

div.date input{
	cursor:pointer;
}

#datepicker{
	position:absolute;
	width:175px;
	padding:5px;
	background-color:#fff;
	border:solid 1px #000;
	z-index:9999;
	font-family:arial;
	font-size:12px;
}

#datepicker p{
	margin:0px;
	padding:0px;
}

#datepicker a{
	color:#999;
	text-decoration:none;
}
#datepicker a:hover, #datepicker a.weekend:hover{
	color:#000;
}

#datepicker a.active{
	color:#e00 !important;
	font-weight:bold;
}

#datepicker a.today{
	color:#e00;
}

#datepicker a.weekend{
	color:#666666;
}

#datepicker ul{
	margin:0px;
	padding:0px;
	list-style-type:none;
}

#datepicker ul li{
	float:left;
	width:21px;
	margin:2px;
	padding:0px;
	list-style-type:none;
	text-align:right;
}

#datepicker ul li a{
	padding:2px;
}

#datepicker p{
	text-align:center;
}

#datepicker_year_month{
	font-weight:bold;
}

#datepicker_weekdays{
	margin-top:3px;
}

/***/


.question.rating .body .rating_label.left {
    padding-right: 6px;
    display: block;
    position: absolute;
    margin-top: 40px;
    width: 120px;
}

.question.rating .body .rating_label.right {
    padding-left: 6px;
    display: block;
    position: absolute;
    margin-top: 40px;
    width: 120px;
    text-align: right;
    margin-left: -140px;
}

.question.rating .body .rating_unit input[type="radio"] {
    display: none;
}

.question.rating .rating_unit {
    font-size: 50px;
    cursor: pointer;
    color:#ee0000;
}

.question.rating .rating_unit:before {
    content: '\02606';
}

.question.rating .rating_unit.active:before {
    content: '\02605';
}
.question.rating table {
    width:auto;
    margin-bottom:30px;
}
.question.rating table td {
  padding: 5px 15px;
}

@media only screen and (max-width:600px) {
	.gauge td {	min-width: 0;	}	
}
