div.newselection {margin-bottom:2px;
				  display:none;
				  max-height:171px;
				  overflow-y:auto;
				  overflow-x:hidden;
				  width:100%;
				  position:absolute;
				  z-index:104;
				  text-align:left;
				  margin-left:-1px;clear:both;
				  border:1px solid #888;
				  box-shadow:0 2px 2px #888;
				  border-radius:3px;}
div.newselection:focus {outline:none;}
div.newselection label {display:block;
			width:100%;height:20px;
			border-top:1px solid #aaa;
			background-color:white;
			vertical-align:bottom;
			}

div.newselection label:hover {background-color:#ccc}
div.newselection label > div:first-of-type {
			    white-space:nowrap;
				float:left;
			   max-width:calc(100% - 4px);
			    overflow-x:hidden;
			    padding:2px 2px 0 2px;
				vertical-align:middle;
				text-overflow:ellipsis;
				}
div.newselection label input[type=checkbox] + div.checkbox {position:absolute;
															top:4px;right:2px;
															z-index:8000;}
div.newselection label input[type=radio] {opacity:0;position:absolute;display:inline-block;z-index:-1}
div.newselection label div.pretok:hover {
	min-width:calc(100% - 4px);width:auto;
					float:right;
					text-overflow:clip;
					}
div.newselect {border:1px solid #888;
			   padding:0;border-radius:3px;
			   height:20px;
			   width:calc(100% - 2px);
			   position:relative;
			   display:inline-block;
			   background-color:white}
div.newselect input[type=text] {width:calc(100% - 19px);
								border:0 !important;
								margin-left:1px;
								border-radius:2px 0 0 2px !important;
								}

div.newselect button {border:0;margin:0;padding:0;
					  border-radius:2px 0 0 2px;
					  font-weight:bold;
					  height:100%;width:16px;
					  top:0;left:0;
					  position:absolute;

					  background-color:#bbb}
div.newselect button + input[type=text] { margin-left:16px;
										  width:calc(100% - 34px);
										  border-radius:0 !important}
div.newselect button:last-of-type { left:auto; right:0;
									border-radius:0 2px 2px 0;}
div.newselect button:hover {color:white !important}
div.newselect.disabled {background-color: #ddd;}
div.newselect.disabled input { user-select : none;
background-color: #ddd;
				 -moz-user-select : none;
				 -webkit-user-select : none;
				cursor: default; }

input[type=text].defstat {border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;}
input[type=text].defstat ~ label {margin:0;padding:0 2px 1px 3px;
					  border-radius:0;border:1px solid #888;
					  border-top-right-radius:2px;
					  border-bottom-right-radius:2px;
					  height:19px; border-left:0;vertical-align:top !important;
					  background-color:#bbb }
input[type=text].defstat ~ label div.checkbox {vertical-align:middle}

input[type=text].defstat ~ label div:last-of-type { position:absolute;
								     background-color:#ffb;
								     border:1px solid black;
								     border-radius:2px;
								     z-index:10; min-width:110px;
								     box-shadow:0 0 2px black;
								     text-align:center;
								     padding:2px 4px; display:none }
input[type=text].defstat ~ label div:first-child {font-weight:bold;width:10px;text-align:center;padding-top:1px}
input[type=text].defstat ~ label span {font-weight:bold;width:10px;text-align:center;padding-top:1px;display:inline-block;}
input[type=text].defstat ~ label:hover div:last-of-type {display:block}
input[type=text].defstat ~ label:hover div:first-child {color:white}
input[type=text].defstat ~ label:hover span {color:white}

input[readonly] {cursor:default; background-color:#eee !important; color:#777}