/*	--------------------------------------------------
	Reveal Modals
	-------------------------------------------------- */
	body, dl, dd, ul, ol, h1, h2, h3, h4, h5, h6, p, form ,pre{
	margin:0;
}
body, button, input, select, textarea {
	font-size:16px;
	font-family:Arial, tahoma, '\5b8b\4f53', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	font-size:100%;
}
ul li {
	list-style-type:none;
}
.clear {
	clear:both;
}
em, b {
	font-style:normal;}
embed {
	autostart:false;
	}
::-webkit-selection{background:#b3b3b3;color: #fff;}
::-moz-selection{background:#b3b3b3;color: #fff;}
::-mz-selection{background:#b3b3b3;color: #fff;}
::-o-selection{
		background:#b3b3b3;
		color: #fff;
}
::selection{
	background:#b3b3b3;
	color: #fff;
}

@media only screen and (min-width: 800px){	
.reveal-modal {
	top: 40%; 
	left: 50%;
	margin-left: -200px;
	background: #eee url(../img/modal-gloss.png) no-repeat -200px -80px;
    position: fixed;
    z-index: 1002;
	width:390px;
	background-color:#FFF;
	border:6px solid #FF0;
	border-radius:10px;
	padding:30px 25px;
	box-shadow:0 0 16px #666;
	}
.reveal-bosch {
	top: 40%; 
	left: 50%;
	margin-left: -200px;
	background: #eee url(../img/modal-gloss.png) no-repeat -200px -80px;
    position: fixed;
    z-index: 1002;
	width:390px;
	background-color:#FFF;
	border:6px solid red;
	border-radius:10px;
	padding:30px 25px;
	box-shadow:0 0 16px #666;
	}
.reveal-bosch .close-reveal-modal {
    font-size: 46px;
    line-height: 1em;
    position: absolute;
    top: 0px;
    right: 11px;
    color: #a00303;
    cursor: pointer;
}
.reveal-modal .close-reveal-modal {
    font-size: 46px;
    line-height: 1em;
    position: absolute;
    top: 0px;
    right: 11px;
    color: #B0B046;
    cursor: pointer;
}
  .play{
	background: url(../images/play-btn.png) no-repeat 230px 115px rgba(181, 215, 250, 0.35);
    width: 570px;
    height: 320px;
    border: none;
    position: absolute;
    top: 0px;
    left: 0;
    cursor: pointer;
    z-index: 998;
    opacity: 1;
    outline: none;
	transition:all 0.8s ease 0.3s;
	  }
}
@media only screen and (max-width: 799px){
.reveal-modal {
	top: 40%;
    left:calc(50% - 160px);
    background: #eee url(../img/modal-gloss.png) no-repeat -200px -80px;
    position: fixed;
    z-index: 1002;
    width: 80%;
    max-width: 300px;
    border-top: 3px solid #FF0;
    border-radius: 10px;
    line-height: 30px;
    padding: 30px 10px;
    margin: 0 auto;
    box-shadow: 0 0 16px #666;
}
.reveal-bosch {
	top: 40%;
    left:calc(50% - 160px);
    background: #eee url(../img/modal-gloss.png) no-repeat -200px -80px;
    position: fixed;
    z-index: 1002;
    width: 80%;
    max-width: 300px;
    border-top: 3px solid #FF0;
    border-radius: 10px;
    line-height: 30px;
    padding: 30px 10px;
    margin: 0 auto;
    box-shadow: 0 0 16px #666;
}
.reveal-modal .close-reveal-modal {
    font-size: 30px;
    line-height: 1em;
    position: absolute;
    top: 0px;
    right: 11px;
    color: #B0B046;
    cursor: pointer;
}
.reveal-bosch .close-reveal-modal {
    font-size: 30px;
    line-height: 1em;
    position: absolute;
    top: 0px;
    right: 11px;
    color: #a00303;
    cursor: pointer;
}
  .play{
	      background: url(../images/play-btn.png) no-repeat 50% 45% / 15% rgba(181, 215, 250, 0.35);
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0px;
    left: 0;
    cursor: pointer;
    z-index: 998;
    opacity: 1;
    outline: none;
    /* margin: 58px 0 20px 0; */
    transition: all 0.8s ease 0.3s;
}
#o1:after{
	content: "Open Box";
	display: block;
	margin-top: 18%;
	line-height: 2;
	color: #336982;
}
#o2:after{
	content: "Installation Guide";
	display: block;
	margin-top: 18%;
	line-height: 2;
	color: #336982;
}
#o3:after{
	content: "Main Screen";
	display: block;
	margin-top: 18%;
	line-height: 2;
	color: #336982;
}
#o32:after{
	content: "Date and Time";
	display: block;
	margin-top: 18%;
	line-height: 2;
	color: #336982;
}
#o33:after{
	content: "Wi-Fi Setup";
	display: block;
	margin-top: 18%;
	line-height: 2;
	color: #336982;
}
#o34:after{
	content: "Nightlight";
	display: block;
	margin-top: 18%;
	line-height: 2;
	color: #336982;
}
#o35:after{
	content: "Temperature Scale";
	display: block;
	margin-top: 18%;
	line-height: 2;
	color: #336982;
}
#o36:after{
	content: "Mode Change";
	display: block;
	margin-top: 18%;
	line-height: 2;
	color: #336982;
}
}
@media only screen and (min-width: 481px){
.reveal-edit {
  width: 365px;
  position:relative;
  height:250px;
  background-color: #FFF;
  border-radius: 10px;
  padding: 30px 25px;
  margin:6px;
  padding-top:30px;
  padding-left:25px;
}
.edit-input{
		width:360px;
		height:50px;
		font-family:"微软雅黑";
		font-size:22px;
		text-align:center;
		color:#383838;
		border-radius:3px;
		border:1px solid #b0aeae;
}
.edit-p{
		font-family:"微软雅黑";
		font-size:18px;
		color:#383838;
		line-height:36px;
		margin-top:20px;
}
.edit-btn a{
		width:140px;
		height:50px;
		line-height:50px;
		border:1px solid #b0aeae;
		font-family:"微软雅黑";
		font-size:24px;
		text-align:center;
		border-radius:5px;
		font-weight:bold;
		background-color:#fff;
		display:block;
		margin-top:30px;
		float:left;
		margin-left:25px;
}
.edit-btn a:hover{
	background-color:#ff0;
}
/* 修改名称和删除设备 */
.reveal-add{
	width: 640px;
  	position:fixed;
  	height:570px;
  	background-color: #FFF;
  	border-radius: 10px;
    padding: 30px 25px;
    margin: -315px 0 6px -345px;
    padding-top: 30px;
    padding-left: 25px;
    left: 50%;
    top: 50%;
    z-index: 1001;
	font-family:Arial;
	}	
.add-h1{
	font-family:Arial;
	font-size:24px;
	font-weight:bold;
	line-height:40px;
	border-bottom:1px solid #000;
	margin-bottom:25px;
	}
.add-span{
	font-family:"微软雅黑";
	font-size:18px;
	font-weight:bold;
	line-height:55px;
	width:170px;
	display:block;
	float:left;
	margin-left:40px;
	}

.add_location{
	line-height: 55px;
    padding-left: 15px;
    max-width: 312px;
    display: inline-block;
    margin-bottom: 10px;
    overflow:hidden;
	white-space:nowrap;
	-o-text-overflow:ellipsis;
	text-overflow:ellipsis;

}
.add_location_i{
	position: absolute;
	margin-left: 15px;
    top: 3px;
    width: 32px;
}
/* 通过上面这个css控制下面的这个地图盒子 */
.oLocation_box{
    width: 800px;
    height: 600px;
    background-color: #FFF;
    border-radius: 10px;
    margin: -315px 0 6px -412px;
    padding-top: 30px;
    padding-right: 25px;
    padding-left: 25px;
    z-index: 1002;
    position: fixed;
    left: 50%;
    top: 50%;
    display: none;
    overflow: hidden;
}
.oLocation_centent{
	height: 510px;
	max-height: 510px;
	width: 510px;
	max-width: 510px;
	overflow: hidden;
	margin-left: 0;
	float: left;
}
.oLocation_btn{
	position: absolute;
	top: 22px;
	right: 0100px;
	width: 100px;
	height: 36px;
	line-height: 36px;
	font-family:"微软雅黑";
	font-size: 20px;
	border:1px solid #b0aeae;
	text-align:center;
	border-radius: 3px;
	display:block;
	font-weight:bold;
	cursor: pointer;
	z-index: 1005;
	background-color: #ff0;
}
.oLocation_btn:hover{
	background-color:#ff0;
}
.oLocation_close{
    background: url(../images/oLocation_close.png) no-repeat;
    width: 22px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 30px;
    text-indent: -999em;
    z-index: 1005;
}
.oLocation_close:hover{
	-webkit-transform:rotate(90deg);
	-o-transform:rotate(90deg);
	-mz-transform:rotate(90deg);
	transform:rotate(90deg);
	-webkit-transition-duration:0.3s;
	-o-transition-duration:0.3s;
	-mz-transition-duration:0.3s;
	transition-duration:0.3s;
	cursor: pointer;
}
.oLocation_right_list{
	float: left;
	margin-left: 20px;
	height: 510px;
	overflow: auto;
	width: 270px;
}
.oLocation_right_list ul{


}
.oLocation_right_list ul li:hover{
	background: url(../images/oLocation_right_list_hover.png) no-repeat;
	color: #4c94b5;
	
}
.oLocation_right_list ul li{
	line-height: 25px;
    margin: 15px 0;
    padding-left: 25px;
    width: 220px;
    cursor: pointer; 
    background: url(../images/oLocation_right_list_i.png)no-repeat;

}

/* 上面是地图盒子 */
.add-input{
	width:15em;
	height:50px;
	font-family:"微软雅黑";
	font-size:22px;
	color:#383838;
	border-radius:6px;
	border:1px solid #b0aeae;
	text-indent:0.5em;
	margin-bottom:10px;
	margin-right:10px;
}
.add-p-right{
	position:relative;
	}
.add-p-right-img{
	position:absolute;
	
	top:0;
	width:32px;
	height:50px;
	
	}
#add-right-img {
  position: absolute;
  top: 60px;
  left: 365px;
  z-index:1000;
  }
.add-font{
    font-size: 18px;
    margin-left: 40px;
    color: #000000;
    line-height: 1.5;
    font-weight: 100;
    font-family: Microsoft YaHei;
    text-shadow: 0 0 0px;
	}
.add-font span{
	padding-bottom: 10px;
	display: block;
}
.add-spancode{
	font-family:"微软雅黑";
	font-size:18px;
	font-weight:bold;
	line-height:55px;
	width:170px;
	display:block;
	float:left;
	margin-left:40px;
	}
.add-inputcode{
		width:6em;
		height:50px;
		font-family:"微软雅黑";
		font-size:22px;
		color:#383838;
		border-radius:6px;
		border:1px solid #b0aeae;
		text-indent:0.5em;
		margin-bottom:10px;
		}
.add-btn a{
	width:250px;
	height:55px;
	line-height:55px;
	margin:10px auto;
	font-family:"微软雅黑";
		font-size:28px;
		border:1px solid #b0aeae;
		text-align:center;
		border-radius:10px;
		display:block;
		font-weight:bold;
}
.add-btn a:hover{
		background-color:#ff0;}
	
}

@media only screen and (max-width: 480px){
.reveal-edit {
  position:relative;
  height:250px;
  background-color: #FFF;
  border-radius: 10px;
  padding: 30px 25px;
  margin:6px;
  padding-top:30px;
  padding-left:25px;
}
.edit-input{
		width:100%;
		height:50px;
		font-family:"微软雅黑";
		font-size:22px;
		text-align:center;
		color:#383838;
		border-radius:3px;
		border:1px solid #b0aeae;
}
.edit-p{
		font-family:"微软雅黑";
		font-size:18px;
		color:#383838;
		line-height:36px;
		margin-top:20px;
}
.edit-btn a{
		width:40%;
		height:50px;
		line-height:50px;
		border:1px solid #b0aeae;
		font-family:"微软雅黑";
		font-size:24px;
		text-align:center;
		border-radius:5px;
		font-weight:bold;
		background-color:#fff;
		display:block;
		margin-top:30px;
		float:left;
		margin-left:5%;
}
.edit-btn a:hover{
	background-color:#ff0;
}
.reveal-add{
    width: 100%;
    position: fixed;
    height: 100%;
    background-color: #FFF;
    /* border-radius: 10px; */
    /* padding: 30px 25px; */
    margin: 0;
    /* padding-top: 30px; */
    /* padding-left: 25px; */
    left: 0;
    top: 0;
    z-index: 1001;
    font-family: Arial;
	}
.reveal-add p{
	margin-bottom: 2%;
}
.add-h1{
	font-family:Arial;
	font-size:24px;
	font-weight:bold;
	line-height:55px;
	border-bottom:1px solid #000;
	padding-left:15px;
	}
.add-p-right-img{
	display: none !important;
}
.add-span{
	font-family:"微软雅黑";
	font-size: 16px;
	font-weight:bold;
	line-height: 24px;
	width: 40%;
	display:block;
	float:left;
	margin-left: 5%;
	margin-top: 10px;
	}
.add_location{
	line-height: 40px;
	padding-left: 5%;
	max-width: 80%;
	width: 80%;
	display: inline-block;
	margin-bottom: 10px;
	overflow:hidden;
	white-space:nowrap;
	-o-text-overflow:ellipsis;
	text-overflow:ellipsis;
}
.add_location_i{
	position: absolute;
	margin-right: 15px;
	/* bottom: 3px; */
	width: 32px;
}
/* 通过上面这个css控制下面的这个地图盒子 */
.oLocation_box{
    width: 800px;
    height: 600px;
    background-color: #FFF;
    border-radius: 10px;
    margin: -315px 0 6px -412px;
    padding-top: 30px;
    padding-right: 25px;
    padding-left: 25px;
    z-index: 1002;
    position: fixed;
    left: 50%;
    top: 50%;
    display: none;
    overflow: hidden;
}
.oLocation_centent{
	height: 510px;
	max-height: 510px;
	width: 510px;
	max-width: 510px;
	overflow: hidden;
	margin-left: 0;
	float: left;
}
.oLocation_btn{
	position: absolute;
	top: 22px;
	right: 0100px;
	width: 100px;
	height: 36px;
	line-height: 36px;
	font-family:"微软雅黑";
	font-size: 20px;
	border:1px solid #b0aeae;
	text-align:center;
	border-radius: 3px;
	display:block;
	font-weight:bold;
	cursor: pointer;
	z-index: 1005;
	background-color: #ff0;
}
.oLocation_btn:hover{
	background-color:#ff0;
}
.oLocation_close{
    background: url(../images/oLocation_close.png) no-repeat;
    width: 22px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 30px;
    text-indent: -999em;
    z-index: 1005;
}
.oLocation_close:hover{
	-webkit-transform:rotate(90deg);
	-o-transform:rotate(90deg);
	-mz-transform:rotate(90deg);
	transform:rotate(90deg);
	-webkit-transition-duration:0.3s;
	-o-transition-duration:0.3s;
	-mz-transition-duration:0.3s;
	transition-duration:0.3s;
	cursor: pointer;
}
.oLocation_right_list{
	float: left;
	margin-left: 20px;
	height: 510px;
	overflow: auto;
	width: 270px;
}
.oLocation_right_list ul{


}
.oLocation_right_list ul li:hover{
	background: url(../images/oLocation_right_list_hover.png) no-repeat;
	color: #4c94b5;
	
}
.oLocation_right_list ul li{
	line-height: 25px;
    margin: 15px 0;
    padding-left: 25px;
    width: 220px;
    cursor: pointer; 
    background: url(../images/oLocation_right_list_i.png)no-repeat;

}

/* 上面是地图盒子 */
.add-input{
	width: 80%;
	height: 40px;
	font-family:"微软雅黑";
	font-size:22px;
	color:#383838;
	border-radius:6px;
	border:1px solid #b0aeae;
	text-indent:0.5em;
	/* margin-bottom:10px; */
	margin-left: 5%;
}
.add-p-right{
	position:relative;
	}
.add-p-right-img{
	position:absolute;
	top:0;
	width:32px;
	height:50px;
	
	}
#add-right-img {
  position: absolute;
  top: 60px;
  left: 337px;
  z-index:1000;
  }
.add-font{
	font-size: 14px;
	margin-left: 5%;
	color:#58595b;
	line-height: 18px;
	width: 90%;
	}
.add-spancode{
	font-family:"微软雅黑";
	font-size: 16px;
	font-weight:bold;
	line-height: 40px;
	width: 150px;
	display:block;
	float:left;
	margin-left: 5%;
	}
.add-inputcode{
		width: 4em;
		height: 40px;
		font-family:"微软雅黑";
		font-size:22px;
		color:#383838;
		border-radius:6px;
		border:1px solid #b0aeae;
		text-indent:0.5em;
		/* margin-bottom:10px; */
		}
.add-btn a{
	width:250px;
	height:55px;
	line-height:55px;
	margin:10px auto;
	font-family:"微软雅黑";
		font-size:28px;
		border:1px solid #b0aeae;
		text-align:center;
		border-radius:10px;
		display:block;
		font-weight:bold;
}
.add-btn a:hover{
		background-color:#ff0;}
}


.remove-h1{
	font-family:"微软雅黑";
	font-size:22px;
	line-height:40px;
	border-bottom:1px solid #000;
	margin-bottom:30px;
	}
.remove-p{
	font-family:Arial;
	font-size:24px;
	font-weight:bold;
	line-height:40px;
	
	text-align:center;
	}		
		
		

	
	.reveal-modal.small 		{ width: 200px; margin-left: -140px;}
	.reveal-modal.medium 		{ width: 400px; margin-left: -240px;}
	.reveal-modal.large 		{ width: 600px; margin-left: -340px;}
	.reveal-modal.xlarge 		{ width: 800px; margin-left: -440px;}
	
 
	
	.modal-ok a{
		margin:25px auto;
		width:80px;
		height:35px;
		border:solid 1px #000;
		font-family:Arial;
		font-size:16px;
		text-align:center;
		line-height:40px;
		border-radius: 5px;
		color:#000;
		font-weight:bold;
		display:block;
		}
	.modal-ok a:hover{
		border:solid 1px #CC0;
		color:#CC0;}

.move-btn{
	height:140px;
	width:390px;
	background-color:#FFF;
	border:6px solid #FF0;
	position:absolute;
	top:320px;
	left:600px;
	border-radius:10px;
	padding:30px 25px;
	box-shadow:0 0 16px #666;

	}
.move-h1{
	font-family:"微软雅黑";
	font-size:18px;
	font-weight:bold;
	line-height:40px;
	border-bottom:1px solid #070707;
	margin-bottom:20px;}
.move-p{
	font-family:"微软雅黑";
	font-size:16px;
	line-height:20px;
	color:#2a2a2a;
	
	}
	
	


