.alarmclock {
	background: #f0f0f0;
	
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.alarmclock > .border1 {
	border: 1px solid #bebebe;
}

.alarmclock > .border1 > .border2 {
	border: 1px solid #dedede;
}

.alarmclock .toolbar {
	height: 35px;
}

.alarmclock .toolbar .configure {
	display: inline-block;
	width: 32px;
	height: 32px;
	/*padding: 4px;*/
	padding: 2px 4px 0 0;
	background: center no-repeat;
	background-image: url('../img/lightscene/LightScene_Configure_32x32.png');
	position: absolute;
	right: 0;
}

.alarmclock .toolbar .switch {
	display: inline-block;
	width: 49px;
	height: 32px;
	/*padding: 4px;*/
	padding: 1px 0 0 4px;
	background: center no-repeat;
	background-image: url('../img/alarmclock/switch_off.png');
	position: absolute;
	left: 0;
}

.alarmclock .toolbar .buttons {
	line-height: 35px;
	text-align: center;
}

.alarmclock .toolbar button {
	min-width: 100px;
	height: 30px;
}

.alarmclock .toolbar button + button {
	margin-left: 5px;
}

.alarmclock .toolbar .switch.on {
	background-image: url('../img/alarmclock/switch_on.png');
} 

.alarmclock .display .border1 {
	border: 1px solid #999999;
}

.alarmclock .display .border2 {
	border: 1px solid #cecece;
}

.alarmclock .display .inner {
	border: 1px solid #fcfcfc;
	background: #f5f5f5;
	text-align: center;
	color: black;
	font-family: Arial, sans-serif;
	font-size: 32px;
	position: relative;
}

.alarmclock .mobiscroll {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: white;
	overflow: hidden;
}

.alarmclock .button {
	position: absolute;
	height: 64px;
	width: 64px;
	bottom: 0;
}

.alarmclock .button.accept {
	right: 0;
	background: url('../img/alarmclock/button_accept.png') no-repeat;
}

.alarmclock .button.cancel {
	left: 0;
	background: url('../img/alarmclock/button_cancel.png') no-repeat;
}

.alarmclock_editor {
	position: absolute;
	width: 650px;
}

.alarmclock_editor > .container {
	position: relative;
	background: #757575;
	border: 1px solid #484848;
	padding: 6px;
	text-shadow: none;
	font-family: Arial, sans-serif;
	font-size: 14px;
}

.alarmclock_editor .overlay {
	background: rgba(0, 0, 0, 0.3);
	position: fixed;
    height: 100%;
	width: 100%;
    left: 0;
    top: 0;
}

.alarmclock_editor .titlebar {
	color: white;
	line-height: 22px;
}

.alarmclock_editor .titlebar .cross {
	position: absolute;
	width: 28px;
	height: 28px;
	background: url('../img/consumption/cross.png') no-repeat center;
	right: 7px;
	top: 0;
}

.alarmclock_editor .inner {
	border: 1px solid #484848;
	background: #838383;
}

.alarmclock_editor .toolbar {
	height: 40px;
	background: url('../img/consumption/bogus_bar.png') no-repeat 0 0;
}

.alarmclock_editor .bottombar {
	padding: 12px;
	height: 20px;
	text-align: right;
}

.alarmclock_editor .bottombar button {
	min-width: 65px;
}

.alarmclock_editor table {
	border-collapse: collapse;
	line-height: 16px;
	font-size: 11px;
	min-width: 100%;
}

.alarmclock_editor .table-wrapper {
	background: white;
	overflow: auto;
}

.alarmclock_editor thead td {
	background: #707070;
	color: white;
	border: 1px solid #484848;
	white-space: nowrap;
	padding: 3px;
}

.alarmclock_editor tbody td {
	border: 1px solid #d2d2d2;
	white-space: nowrap;
	padding: 0;
	padding: 3px;
}

.alarmclock_editor tbody td.nopadding {
	padding: 0;
}

.alarmclock_editor tbody tr.selected td {
	background: #f8e695;
}

.alarmclock_editor .color-square {
	width: 14px;
	height: 14px;
	display: inline-block;
	border: 1px solid #c5c5c5;
	vertical-align: top;
	margin-right: 5px;
}

.alarmclock_editor td[data-column="Select"] {
	min-width: 10px;
	background: #707070 !important;
	border: 1px solid #484848;
}

.alarmclock_editor tr.selected td[data-column="Select"]:after {
	content: '\25B6';
	color: #dcdcdc;
}

.alarmclock_editor td[data-column="Expander"],
.alarmclock_editor td[data-column="Spacer"] {
	min-width: 15px;
	border: none;
	text-align: center;
	background: none !important;
}

.alarmclock_editor td[data-column="Expander"].open:after {
	content: '\25BC';
}

.alarmclock_editor td[data-column="Expander"].closed:after {
	content: '\25B6';
}

.alarmclock_editor td[data-column="Name"] {
	/*min-width: 154px;*/
	border-right-style: double;
	border-right-width: 3px;
}

.alarmclock_editor td[data-column="Color"] {
	min-width: 93px;
}

.alarmclock_editor td[data-column="UserName"] {
	min-width: 114px;
}

.alarmclock_editor td[data-column="Email"] {
	min-width: 114px;
}

.alarmclock_editor input[type="text"],
.alarmclock_editor input[type="number"]{
	padding: 3px;
	border: none;
	font-size: inherit;
	color: inherit;
	background: transparent;
	/*width: auto;*/
	width: 90%;
	min-height: 20px;
}

.alarmclock_editor input[type="text"].focus,
.alarmclock_editor input[type="number"].focus {
	background: #fdf6db;
}