.dt-length-simple
{
	position:relative;
	display:inline-block;
	min-width:60px;
	height:20px;
	font-size:11px;
	line-height:17px;
	cursor:pointer;
	user-select:none;
	color:#333333;
	margin: 0 5px;
	vertical-align:middle;
}

.dt-length-current
{
	position:relative;
	height:20px;
	padding:0 20px 0 10px;
	background-color:#e4e5e6;
	border:1px solid #dddddd;
	transition:background-color .15s ease;
}

.dt-length-simple:hover .dt-length-current,
.dt-length-simple.open .dt-length-current
{
	background-color:#d5d5d5;
	border:1px solid #cccccc;
}

.dt-length-current::after
{
	content:"";
	position:absolute;
	width:6px;
	height:6px;
	border-right:2px solid #555555;
	border-top:2px solid #555555;
	top:50%;
	right:8px;
	transform:translateY(-50%) rotate(45deg);
	transition:transform .18s ease;
}

.dt-length-simple.open .dt-length-current::after
{
	transform:translateY(-50%) rotate(135deg);
}

.dt-length-options
{
	position:absolute;
	visibility:hidden;
	display:flex;
	flex-direction:column;
	margin:0;
	padding:0;
	list-style:none;
	background:#ffffff;
	border:1px solid #dddddd;
	left:0;
	top:calc(100% + 4px);
	opacity:0;
	z-index:99999;
	overflow:hidden;
	min-width:100%;
	transform:translateY(-4px);
	transition:opacity .18s ease, transform .18s ease;
}

.dt-length-simple.open .dt-length-options
{
	visibility:visible;
	opacity:1;
	transform:translateY(0);
}

.dt-length-options li
{
	height:25px;
	font-size:11px;
	line-height:25px;
	padding:0 8px;
	white-space:nowrap;
	transition:background-color .12s ease;
	border-bottom: 1px dashed #ddd;
}

.dt-length-options li:last-child{border-bottom:none;}

.dt-length-options li:hover
{
	background:#e4e5e6;
}

.dt-native-hidden
{
	position:absolute !important;
	opacity:0 !important;
	pointer-events:none !important;
	width:0 !important;
	height:0 !important;
	clip:rect(0,0,0,0)!important;
}

html[data-theme="dark"] .dt-length-current{
	background-color:#222222;
	border-color:#444444;
	color:#e5e5e5;
}
html[data-theme="dark"] .dt-length-simple:hover .dt-length-current,
html[data-theme="dark"] .dt-length-simple.open .dt-length-current{
	background-color:#2a2a2a;
}
html[data-theme="dark"] .dt-length-options{
	background:#1e1e1e;
	border-color:#444;
}
html[data-theme="dark"] .dt-length-options li:hover{
	background:#2a2a2a;
}