*{
	position: relative;
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	text-decoration: none;
	box-sizing: border-box;
	caret-color: #eee;
}

html, body{
	background: #333;
	display: block;
	width: 100%;
	height: 100%;
	color: #eee;
	font-family: Roboto Condensed;
	font-size: 14px;
}

html{ overflow: hidden; }
body{ overflow: auto; }

input, button, textarea, select{
	background: transparent;
	color: inherit;
	font: inherit;
}





.cm-task-box{
	display: flex;
	flex-flow: column;
	width: 100%;
	height: 100%;
	overflow: auto;
}

.cm-task-box,
.cm-task-box *{
	white-space: nowrap;
}

.cm-task-box > *{
	padding: 8px;
}

.cm-task-box > .top{
	background: #222;
}

.cm-task-box > .top > *{
	width: 100%;
	overflow: hidden;
}

.cm-task-box > .top > .url{
	background: #444;
	display: flex;
	margin-bottom: 8px;
	border: 2px solid transparent;
	border-radius: 8px;
	transition: 300ms ease;
}

.cm-task-box > .top > .url.atv{ border-color: #888; }

.cm-task-box input::placeholder{
	color: #888;
}

.cm-task-box > .top > .url > input{
	flex: 1 1 auto;
	padding: 8px;
}

.cm-task-box > .top > .url > button{
	padding: 0 8px;
	line-height: 0;
	font-family: monospace;
	font-weight: bold;
	font-size: 22px;
	color: #888;
	transition: 200ms ease;
}

.cm-task-box > .top > .url > button.wait{ animation: aniadd 500ms ease infinite; }
.cm-task-box > .top > .url > button.atv{ color: #2bf; }
.cm-task-box > .top > .url > button.atv:hover{ transform: scale(1.4); }

@keyframes aniadd{
	0%   {color: #2d9; transform: scale(1.4);}
	50% {color: #888; transform: scale(1.0);}
	100% {color: #2d9; transform: scale(1.4);}
}

.cm-task-box > .top > .name{
	display: flex;
	align-items: flex-end;
}

.cm-task-box > .top > .name > input{
	flex: 1 1 auto;
	margin-right: 8px;
	padding: 8px 0 6px 0;
	border-bottom: 2px solid #a64;
	color: #2bf;
	transition: 300ms ease;
}

.cm-task-box > .top > .name > div{
	background: #a64;
	padding: 4px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: bold;
	cursor: default;
	user-select: none;
	transition: 300ms ease;
}

.cm-task-box > .top > .name > div:hover{ background: #d84; }

.cm-task-box > .top > .name > div.rmv{ animation: anidel 1000ms ease infinite; }

@keyframes anidel{
	0%   {opacity: 1;}
	50% {opacity: 0.3;}
	100% {opacity: 1;}
}




.cm-task-box > .list{
	flex: 1 1 auto;
	overflow: auto;
}

.cm-task-box > .list > div{
	background: #567;
	display: flex;
	flex-flow: nowrap;
	align-items: center;
	transition: 300ms ease;
	overflow: hidden;
}

.cm-task-box > .list > div::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 1px solid #ddd;
	transition: 300ms ease;
	box-sizing: border-box;
	z-index: 9;
	opacity: 0;
	pointer-events: none;
}

.cm-task-box > .list > div:hover::after{
	opacity: 1;
}

.cm-task-box > .list > :not(:last-child){ margin-bottom: 4px; }
.cm-task-box > .list > div.err{ background: #755; }
.cm-task-box > .list > div[cm-delete]{ opacity: 0.3; }


.cm-task-box > .list > div > *{
	font-size: 12px;
	padding: 4px;
	color: #eee;
}

.cm-task-box > .list > div > .prog{
	background: #28b;
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	padding: 0;
	transition: background 0s ease, width 1s ease;
}

.cm-task-box > .list > div.err > .prog,
.cm-task-box > .list > div.fin > .prog{
	transition: background 300ms 300ms ease, width 300ms ease-in;
}

.xcm-task-box > .list > div.fin > .prog{
	background: #666;
	width: 100%;
}

.cm-task-box > .list > div.err > .prog{ background: #b43; }

.cm-task-box > .list > div > :not(.prog){
	display: inline-block;
}

.cm-task-box > .list > div > .name{
	flex: 1 1 auto;
	padding-left: 8px;
	font-size: 14px;
	overflow: hidden;
}

.cm-task-box > .list > div > .temp,
.cm-task-box > .list > div > .size{
	min-width: 44px;
	padding: 0 4px;
}

.cm-task-box > .list > div > .temp{
	text-align: right;
	border-right: 2px solid #bbb;
}

.cm-task-box > .list > div.fin > .temp{ display: none; }

.cm-task-box > .list > div > .perc{
	min-width: 36px;
	text-align: center;
}

.cm-task-box > .list > div > .info{
	background: #ddd;
	width: 14px;
	height: 14px;
	margin: 0 4px;
	border-radius: 50%;
}

.cm-task-box > .list > div > .info::after{
	content: 'R';
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #28b;
	font-family: monospace;
	font-weight: bold;
	font-size: 10px;
	pointer-events: none;
}

.cm-task-box > .list > div.err > .info::after{ content: 'E'; color: #b43;}
.cm-task-box > .list > div.fin > .info::after{ content: 'F'; }


.cm-task-box > .list > div > .dele{
	padding-right: 8px;
	font-family: monospace;
	font-weight: bold;
	font-size: 10px;
	cursor: default;
	user-select: none;
	transition: 300ms ease;
}


.cm-task-box > .list > div > .dele:hover{ color: #f42; }



.cm-task-box > .pop{
	background: #444;
	display: block;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	min-width: 400px;
	max-width: 600px;
	padding: 8px;
	border-radius: 8px;
	text-align: center;
	opacity: 0;
	box-shadow: 4px 4px 10px #222;
	transition: opacity 300ms ease, transform 300ms ease;
	pointer-events: none;
	z-index: 999;
}


.cm-task-box > .pop.wai{
	opacity: 0.5;
	transform: translate(-50%, -50%) scale(1);
	pointer-events: none;
}

.cm-task-box > .pop.atv{
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	pointer-events: unset;
}

.cm-task-box > .pop > :not(:last-child){ margin-bottom: 8px; }

.cm-task-box > .pop > .ntf{ display: none; line-height: 1.6; }
.cm-task-box > .pop > .ntf.atv{ display: block; }


.cm-task-box > .pop > .ctn > *{
	padding: 8px;
}

.cm-task-box > .pop > .ctn > input{
	background: #666;
	width: 100%;
	padding: 8px;
	border-radius: 8px;
	font-size: 16px;
}

.cm-task-box > .pop > .ctn > table{
	width: 100%;
	xborder-collapse: collapse;
	text-align: left;
	border-spacing: 4px 0;
}

.cm-task-box > .pop > .ctn > table td{
	xpadding: 4px 8px;
}

.cm-task-box > .pop > .ctn > table td:nth-child(2){
	padding: 4px;
}

.cm-task-box > .pop > .ctn > table td:last-child,
.cm-task-box > .pop > .ctn > table td input,
.cm-task-box > .pop > .ctn > div input{
	width: 100%;
}

.cm-task-box > .pop > .ctn > div input{
	text-align: center;
	font-size: 16px;
	font-weight: bolder;
}

.cm-task-box > .pop > .act{ text-align: center; }

.cm-task-box > .pop > .act > *{
	background: #222;
	display: inline-block;
	min-width: 80px;
	padding: 8px;
	border: 2px solid transparent;
	border-radius: 8px;
	cursor: default;
	user-select: none;
	transition: 300ms ease;
}

.cm-task-box > .pop > .act > *:hover{ background: #333; }
.cm-task-box > .pop > .act > *:focus{ border-color: #888; }
.cm-task-box > .pop > .act > :not(:last-child){ margin-right: 16px; }


.ft{flex: 1 1 auto}
