
/* Block 1: Radio Buttons */

form .form-control{
	margin-bottom: 20px;
	font-size: 0px;
	padding-bottom: 20px;
	border-bottom: 1px solid #afafaf;
}

form .form-control:last-child{
	border-bottom: none;
}

form .form-control .onehalf{
	position: relative;
}

form .form-control .onehalf.first{
	padding-right: 20px;
}

form .form-control .onehalf.second{
	padding-left: 20px;
}

form .form-control label{
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-top: 15px;
}

form .form-control fieldset{
	border: none;
}

form .form-control .radio-control{
	display: block;
	margin-top: 15px;
}
form .form-control .radio-control label{
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	padding: 0;
	font-weight: 500;
	cursor: pointer;
}

form .form-control input.radio {
	position: relative;
	display: inline-block;
	vertical-align: middle;
 	-webkit-appearance: none;
 	appearance: none;
 	margin: 0;
 	width: 20px;
	height: 20px;
	border: 2px solid #111;
	border-radius: 50%;
	background: #fff;
	place-content: center;
	margin-right: 10px;
	position: relative;
	top: -2px;
	cursor: pointer;
}

form .form-control input.radiogrid {
	position: relative;
	display: inline-block;
	vertical-align: middle;
 	-webkit-appearance: none;
 	appearance: none;
 	margin: 0;
 	width: 20px;
	height: 20px;
	border: 2px solid #111;
	border-radius: 50%;
	background: #fff;
	place-content: center;
	/* margin-right: 10px; */
	position: relative;
	top: -2px;
	cursor: pointer;
}

form .form-control input[type="radio"]:before{
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: -3px;
  width: 20px;
  height: 20px;
  margin: auto;
  border-radius: 100%;
  background: #111;
  display: none;  
}

form .form-control input[type="radio"]:checked:before {
	display: inline-block;
	vertical-align: top;
}

form .form-control input[type="radio"]:focus {
/*
  outline: max(2px, 0.15em) solid currentColor;
  outline-offset: max(2px, 0.15em);
  */
  outline: none;
}


/* Block 2: Checkbox */

form .form-control .checkbox-control{
	display: block;
	margin: 15px 0 20px 0;
}

form .form-control input[type="checkbox"] {
  position: relative;
  left: 0px;
  top: 0px;
  z-index: 0;
  -webkit-appearance: none;
}

form .form-control input[type="checkbox"] + label {
	position: relative;
	display: inline-block;
	vertical-align: top;
	margin: 0;
	padding: 0 0 0 25px;
	font-weight: 500;
	cursor: pointer;	
}

form .form-control input[type="checkbox"] + label:before {
	content: "";
	display: inline-block;
	vertical-align: top;
	position: absolute;
	top: -4px;
	left: -5px;
  	width: 20px;
  	height: 20px;
  	border-radius: 5px;
  	border: 2px solid #111;
  	background-color: #fff;
  	margin-right: 5px;
}

form .form-control input[type="checkbox"]:checked+label:before {
	width: 20px;
	height: 20px;
	background-image: url(img/check.png);
	background-size: 12px auto;
	background-position: center center;
	background-repeat: no-repeat;
}






/* Block 2: Ordering */

form .form-control.sortable .onehalf {
	/* height: 150px; */
	height: 250px;
}

form .form-control input[type="text"],
form .form-control input[type="email"],
form .form-control select,
form .form-control.sortable ul{
	border: 2px solid #111;
	border-radius: 5px;
	background: none;
	font-size: 15px;
	color: #111;
	padding: 12px;
	width: 100%;
}

form .form-control.sortable div.ul{
	border: 2px solid #111;
	border-radius: 5px;
	background: none;
	font-size: 15px;
	color: #111;
	padding: 12px;
	width: 100%;
}

/* Block 3: Options */

form .form-control select{
	border: 2px solid #111;
	border-radius: 5px;
	font-size: 15px;
	color: #111;
	padding: 12px;

	-webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
	-webkit-user-select: none;
  -moz-user-select: none;  
  user-select: none;  

  background: url(img/arrow-down.png);
  background-size: 20px auto;
  background-position: center right 15px;
  background-repeat: no-repeat;

}

form .form-control .hint{
	position: relative;
	display: block;
	background: #DF2120;
	font-size: 15px;
	color: #fff;
	padding: 12px 30px 10px 10px;
	border-radius: 5px;
	margin-top: 20px;
}

form .form-control .hint:after{
	content: "";
	position: absolute;
	top: 0px;
	right: 10px;
	bottom: 0px;
	width: 15px;
	height: 15px;
	margin: auto 0;
	background: url(img/energie-white.png);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}



/* Block 5: Sortable */

form .form-control.sortable label{
	margin-bottom: 20px;
}

form .form-control.sortable .onehalf ul{
	margin: 0;
	padding: 0;
	list-style: none;
	/* height: 150px; */
	height: 250px;
	overflow-y: scroll;	
}

form .form-control.sortable .onehalf div.ul{
	margin: 0;
	padding: 10px;
	list-style: none;
	/* height: 150px; */
	overflow-y: scroll;	
}

form .form-control.sortable .onehalf ul li{
	font-size: 15px;
	padding: 10px;
	margin: 0;
	border-bottom: 1px solid #afafaf;
	cursor: grab;
}

form .form-control.sortable .onehalf div.ul div.li{
	font-size: 15px;
	padding: 10px;
	margin: 0;
	border-bottom: 1px solid #afafaf;
	cursor: grab;
}

form .form-control.sortable .onehalf ul li:last-child{
	border: none;
}

form .form-control.sortable .onehalf div.ul div.li:last-child{
	border: none;
}

form .form-control.sortable .onehalf.first:after{
	content: "";
	position: absolute;
	top: 0px;
	right: -10px;
	bottom: 0px;
	width: 20px;
	height: 20px;
	margin: auto 0;
	background: url(img/arrow-right-black.png);
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}




/* Block 6: Scala */
form .form-control table:not(.multilabel) {
	width: 100%;
	border-collapse: collapse;
}

form .form-control table:not(.multilabel) th,
form .form-control table:not(.multilabel) td{
	font-size: 15px;
	padding: 0;
	text-align: center;
}

form .form-control table:not(.multilabel) tr th:first-child,
form .form-control table:not(.multilabel) tr td:first-child{
	text-align: left;
	width: 60%;
}

form .form-control table:not(.multilabel) th{
	padding-bottom: 10px;
}

form .form-control table:not(.multilabel) th:not(:first-child){
	position: relative;
	left: -5px;
}

form .form-control table:not(.multilabel) td{
	position: relative;
}

form .form-control table:not(.multilabel) td{
	border-bottom: 1px solid #afafaf;
	padding: 10px 0 10px 0;
}

form .form-control table:not(.multilabel) tr:last-child td{
	border: none;
}

form .form-control table:not(.multilabel) col.col-heading{
	width: 50%;
}

form .form-control table:not(.multilabel) col.col-answer{

}

form .form-control table:not(.multilabel) input[type="radio"]{
	position: relative;
	top: 1px;
}

form .form-control table:not(.multilabel) label{
	display: none;
}

/* multilabel handling */
form .form-control table.multilabel {
	width: 100%;
	border-collapse: collapse;
}

form .form-control table.multilabel th,
form .form-control table.multilabel td{
	font-size: 15px;
	padding: 0;
	text-align: center;
}

form .form-control table.multilabel tr th:first-child,
form .form-control table.multilabel tr td:first-child{
	text-align: left;
	width: 30%;
}

/* form .form-control table.multilabel tr th:last-child, */
form .form-control table.multilabel tr td:last-child{
	text-align: right;
	width: 30%;
}

form .form-control table.multilabel th{
	padding-bottom: 10px;
}

form .form-control table.multilabel th:not(:first-child):not(:last-child){
	position: relative;
	left: -5px;
}

form .form-control table.multilabel td{
	position: relative;
}

form .form-control table.multilabel td{
	border-bottom: 1px solid #afafaf;
	padding: 10px 0 10px 0;
}

form .form-control table.multilabel tr:last-child td{
	border: none;
}

form .form-control table.multilabel col.col-heading{
	width: 50%;
}

form .form-control table.multilabel col.col-answer{

}

form .form-control table.multilabel input[type="radio"]{
	position: relative;
	top: 1px;
}

form .form-control table.multilabel label{
	display: none;
}
/* multilabel handling end*/

.widescreen {
	display:block !important;
}

.narrowscreen {
	display:none !important;
}

@media screen and (max-width : 1920px){
	
}

/* radio group option mobile display */
@media (max-width:540px){

	.table {display:block; }
	.row { display:block;}
	.cell {
		display:inline-block;
		padding: 1px; 
		vertical-align: middle;
		align-content: center;
		align-items: center;
	}

	.widescreen {
		display:none !important;
	}

	.narrowscreen {
		display:block !important;
	}

	form .form-control input[type="radio"]{
		margin: 10px;
	}

}


@media (max-width:540px){

  form .form-control .onehalf{
  	display: block;
  	width: auto;
  	padding: 0 !important;
  }

  form .form-control input[type="text"],
  form .form-control .selectric-wrapper{
  	margin-top: 10px;
  }

  form .form-control.sortable .onehalf.first {
	margin-bottom: 40px;
  }

  
  form .form-control.sortable .onehalf.first ul{
  	margin-bottom: 40px;
  }

  form .form-control.sortable .onehalf.first div.ul{
	margin-bottom: 40px;
  }

  form .form-control.sortable .onehalf.first:after{
  	top: auto;
  	right: 0px;
  	bottom: -30px;
  	left: 0px;
  	margin: 0 auto;

  	transform: rotate(90deg);
  	-moz-transform: rotate(90deg);
  	-webkit-transform: rotate(90deg);
  }


}



