body {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 11px;
	width: 400px;
	padding: 0;
	overflow: hidden;
	background-color: transparent;
}

.load * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

body.ltr { direction: ltr; }
body.rtl { direction: rtl; }

.ltr .buttons {
	text-align: right;
}

.rtl .buttons {
	text-align: left;
}

.row [class*="col"] {
	min-height: auto;
}

.rtl .row [class*="col"] {
	float: right;
}

.rtl .btn-group>.btn {
	float: right;
}

.rtl .btn-group>.btn:last-child:not(:first-child),
.rtl .input-group-btn:last-child>.btn {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 3px;
	border-top-left-radius: 3px;
}

.rtl .btn-group>.btn:first-child:not(:last-child),
.rtl .input-group-btn:first-child>.btn {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
	border-bottom-right-radius: 3px;
	border-top-right-radius: 3px;
}

.rtl .input-group-btn:last-child>.btn,
.rtl .input-group-btn:last-child>.btn-group {
	margin-left: 0;
}

.rtl .input-group-btn:first-child>.btn,
.rtl .input-group-btn:first-child>.btn-group {
	margin-right: -1;
}

.rtl .btn-group>.btn:last-child {
	margin-left: 0;
}

.rtl .btn-group>.btn:first-child {
	margin-right: -1;
}

.rtl .input-group .form-control:first-child {
	border-bottom-right-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

.rtl .input-group .form-control:last-child {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 4px;
	border-top-left-radius: 4px;
}

i.icon-btn {
	display: inline-block;
	font-size: 1.8em;
	margin: 5px;
	opacity: 0.5;
	cursor: pointer;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

	i.icon-btn:hover {
		opacity: 0.8;
	}
	
	i.icon-btn:active {
		opacity: 1;
	}

	.buttons i[role=button] {
		cursor: pointer;
	}
	
		.buttons i[role=button].disabled {
			cursor: default;
			opacity: 0.6;
		}
		
		.buttons i[role=button]:not(.disabled):hover {
			text-shadow: 0 0 .5em rgba(255, 255, 255, 0.9);
		}

h2 {
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	font-size: 1.25em;
	line-height: 1.25em;
	margin: 0;
	background-image: -webkit-linear-gradient(top, #a1a1a1 0%, #cacaca 5%, #cacaca 95%, #a1a1a1 100%);
	color: white;
    color: rgba(0,0,0,0.6);
    text-shadow: 2px 2px 3px rgba(255,255,255,0.1);
	-webkit-user-select: none;
	cursor: default;
	position: relative;
	z-index: 10;
}
.ltr h2 { padding-left: 10px; padding-right: 2em; }
.rtl h2 { padding-right: 10px; padding-left: 2em; }
	
	h2 .device-buttons {
		position: absolute;
		top: 0.2em;
	}
	.ltr h2 .device-buttons { right: 0.5em; }
	.rtl h2 .device-buttons { left: 0.5em; }

	h2 .device-buttons i {
		display: inline-block;
		margin-left: 0.3em;
	}
	.ltr h2 .device-buttons i {
		margin-right: 0.3em;
	}
	

ul.tasks {
	list-style: none;
	margin: 0;
	padding: 0;
	-webkit-transition: max-height 1s;
	transition: max-height 1s;
	-webkit-transition-timing-function: ease-in-out;
	transition-timing-function: ease-in-out;
	max-height: 400px;
	overflow-x: hidden;
	overflow-y: auto;
}

	ul.tasks li {
		padding: 0.5em 10px 0.5em;
		border-top: 0.1em solid rgba(0,0,0,0.3);
		-webkit-user-select: none;
		-webkit-transition: 0.3s;
		transition: 0.3s;
		max-height: 7em;
		overflow: hidden;
		position: relative;
	}

	ul.tasks li.hidden {
		max-height: 0;
		margin-top: 0;
		margin-bottom: 0;
		padding-top: 0;
		padding-bottom: 0;
		border-top: none;
		border-bottom: none;
	}

	ul.tasks li:first-child {
		border-top: none;
	}

/* 	ul.tasks li:active {
		background-color: #3d68f5;
		color: white;
	} */
		
		ul.tasks li h3 {
			margin-top: 0.5em;
			margin-bottom: 0.5em;
			line-height: 1.25em;
			font-size: 1em;
			font-weight: bold;
			text-overflow: ellipsis;
			white-space: nowrap;
			overflow: hidden;
		}
		
		ul.tasks li .task-status {
			position: relative;
			transition: opacity 0.2s;
			-webkit-transition: opacity 0.2s;
		}
		
		
			ul.tasks li .task-status.faded {
				opacity: 0.2;
			}
		
		ul.tasks li .label {
			font-weight: normal;
			font-size: 0.8em;
			line-height: 1.5em;
			text-transform: uppercase;
		}
	
		ul.tasks li .progress {
			margin-bottom: 0.5em;
			height: 0.8em;
		}
		
			.rtl ul.tasks li .progress .progress-bar {
				float: right;
			}
		
		ul.tasks li .progress.fill-bar {
			background-image: linear-gradient(to bottom, #149bdf, #0480be);
		}
		
		ul.tasks li .progress-text {
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}
		
		ul.tasks li .confirm-delete {
			display: none;
			box-sizing: border-box;
			position: absolute;
			bottom: 0;
			width: 100%;
			height: 55%;
			padding: 0.5em 10px;
		}
		.ltr ul.tasks li .confirm-delete { left: 0; }
		.rtl ul.tasks li .confirm-delete { right: 0; }
		
			ul.tasks li .confirm-delete.active {
				display: block;
			}
			
			ul.tasks li.hidden .confirm-delete.active {
				display: none;
			}
			
			.ltr ul.tasks li .confirm-delete .btn-group {
				float: right;
			}
			
			.rtl ul.tasks li .confirm-delete .btn-group {
				float: left;
			}

.toggle-collapse {
	margin-top: 0.05em;
	margin-bottom: 0.05em;
	cursor: pointer;
	display: block;
	transition: 0.5s;
	-webkit-transition: 0.5s;
}
.ltr .toggle-collapse { margin-left: 0; margin-right: 0.3em; float: left;}
.rtl .toggle-collapse { margin-left: 0; margin-right: 0.3em; float: left;}

.closed .toggle-collapse {
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
}

.closed ul {
	max-height: 0;
}

.new-task {
	margin-top: -40px;
	margin-bottom: 5px;
	position: relative;
	transition: margin-top 0.1s;
	-webkit-transition: margin-top 0.1s;
	transition-timing-function: margin-top ease-in-out;
	-webkit-transition-timing-function: margin-top ease-in-out;
}
.ltr .new-task { margin-left: 0; margin-right: 0; }
.rtl .new-task { margin-right: 0; margin-left: 0; }

.new-task.active {
	margin-top: 0;
}

.new-task.disabled {
	opacity: 0.5;
}
	.new-task .alert {
		border-top-left-radius: 0;
		border-top-right-radius: 0;
		padding: 4px 8px;
		text-align: center;
		margin-bottom: 0;
	}
	
	.new-task .overlay {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index: 3;
		display: none;
	}
	
	.new-task.disabled .overlay {
		display: block;
	}

.block-message {
	padding: 1.5em 1em;
	text-align: center;
	font-size: 1.5em;
}
	.block-message.clickable {
		cursor: pointer;
	}
	
.footer {
	text-align: center;
	height: 2.3em;
	position: relative;
	border-top: 0.1em solid rgba(0,0,0,0.05);
}

	.footer .total-rate {
		direction: ltr;
		font-size: 1.1em;
		line-height: 2.3em;
	}

#open-settings {
	position: absolute;
	bottom: 3px;
	margin: 0;
}
.ltr #open-settings { right: 10px; }
.rtl #open-settings { left: 10px; }