#char2:before {
	content: "M"
}
#char1:before {
	content: "A"
}
body.isPm #char1:before {
	content: "P"
}
body.noPeriod #char1,body.noPeriod #char2,body.noSeconds #digit1,body.noSeconds #digit2 {
	visibility: hidden
}
body.noPeriod.noSeconds #char1,body.noPeriod.noSeconds #char2,body.noPeriod.noSeconds #digit1,body.noPeriod.noSeconds #digit2 {
	display: none
}
#timeTable td {
	min-width: 100%
}
#timeRow>table {
	width: 100%
}
#digit1,#digit2,#char1,#char2 {
	font-size: 46%;
	line-height: .9em;
	vertical-align: top
}
#digit1,#digit2 {
	padding-bottom: .2em
}
#char1,#char2 {
	padding-left: .05em;
	padding-right: .05em
}
body:not(.noPeriod) #time,body:not(.noSeconds) #time {
	padding-right: .2em
}

label {
	margin: 7px;
	display: inline-block
}
label>* {
	margin: 2px
}
label.pointerCursor,label.pointerCursor>* {
	cursor: pointer!important
}
label:before {
	content: " ";
	height: 100%;
	width: 0
}
label:before,label>* {
	display: inline-block;
	vertical-align: middle
}

input[type='color'] {
	padding: 0;
	height: 16px;
	border: 0
}
*:not(input):not(a) {
	-moz-user-select: -moz-none;
	-webkit-user-select: none;
	user-select: none;
	cursor: default
}
#date, #lunardate {
	opacity: .7;
	font-size: 46%
}
#timeTable,#timeTable * {
	cursor: pointer
}
body {
	font-size: .9em
}
#options {
	background: #f0f0f0;
	width: 1000px;
	height: 600px;
	top:50px;left:0;bottom:0;right:0;
	margin:auto;
	border:0;
	/*padding: .8em 0;*/
	text-shadow: none;
	position: absolute;
	z-index: -1;
	opacity: 0;
	border-radius: 10px;
	border: 1px solid #dcdcdc;
}
#options span {
	color: #939393
}
/*
#options.hoverEnabled:hover {
	-webkit-transition: opacity .5s linear;
	-moz-transition: opacity .5s linear;
	-ms-transition: opacity .5s linear;
	-o-transition: opacity .5s linear;
	transition: opacity .5s linear
}*/

#options.hoverEnabled:hover {
	opacity: 1
}
html {
	overflow: hidden
}
body {
	font-family: Helvetica,Arial
}
body,html {
	text-align: center;
	margin: 0;
	padding: 0
}
html,body {
	height: 100%
}
table {
	border-spacing: 0
}
table td {
	padding: 0
}
#content {
	margin: auto;
	height: 100%;
	vertical-align: middle;
	text-align: center;
	white-space: nowrap;
}
#teslaicon {
	position: absolute;
	top:50px;
	left:50px;
}
#close_button {
	position: absolute;
	top:6px;
	left:6px;
	border:0px;
	padding:0px;
	marging:0px;
}
#title_text {
	font-size: 2.0em;
	color: #333333;
	position: absolute;
	left:50px;
	right:50px;
	top:5px;
	margin:auto;
	vertical-align: middle;
	text-align: center;
}
#title_line {
	position: relative;
	top:40px;
	height:2px;
	border:none;
	border-top: 2px solid #e3e3e3;
}
#option_content {
	position: absolute;
	padding:0;
	margin:0;
	border:0;
	top:50px;
	left:0px;
	height:548px;
	width:100%;
	background-color: #fafafa;
	border-radius: 10px;
}
#clock_option_title {
	position: absolute;
	font-size: 1.6em;
	color:#939393;
	padding:0;
	margin:0;
	border:0;
	top:26px;
	left:65px;
	background-color:#fafafa;
}
#clock_option_content {
	position: absolute;
	padding:0px;
	margin:60px;
	border:0;
	align:center;
	height:460px;
	width:880px;
	background-color:#f2f2f2;
	border-radius: 10px;
	border: 1px solid #dcdcdc;
}

span {
	font-size: 1.5em;
	display: block;
	left: 0px;
	padding: 5px;
	text-align: left;
}

/*******STYLE 4*******/
input[type='checkbox'] {
    display: none;
}
input[type='checkbox'] + label {
	border-radius: 5px;
	display: inline-block;
	position: relative;
	width: 360px;
	height: 60px;
	background: #ffffff;
	/*box-shadow: 0 0 4px rgba(0,0,0,1);*/
	border: 1px solid #dcdcdc;
}

input[type='checkbox'] + label:before {
	content: '关';
	font-size: 1.2em;
	color: #f0f0f0;
	font-weight: bold;
	position: absolute;
	top: 0px;
	z-index: 1;
	left: 0px;
	width: 180px;
	height: 60px;
	line-height:60px;
	border-radius: 3px;
	background: #467caa;
}

input[type='checkbox'] + label:after {
	content: '开';
	font-size: 1.2em;
	color: #707070;
	font-weight: bold;
	position: absolute;
	top: 0px;
	z-index: 1;
	left: 180px;
	width: 180px;
	height: 60px;
	line-height:60px;
	border-radius: 3px;
}

input[type='checkbox']:checked + label {
	background: #ffffff;
}

input[type='checkbox']:checked + label:after {
	content: '关';
	color: #707070;
	top: 0px;
	left: 0px;
	width: 180px;
	line-height:60px;
	text-align: center;
}

input[type='checkbox']:checked + label:before {
	content: '开';
	color: #f0f0f0;
	position: absolute;
	z-index: 1;
	line-height:60px;
	left: 180px;
}

input[type='checkbox'] + label:after, input[type='checkbox'] + label:before {	
	-webkit-transition: all 0.01s ease-in;
	transition: all 0.01s ease-in;
}
