.simulator .app-content{
	height: 568px;
	overflow-y: auto;
	overflow-x: hidden;
}
.themeimg{
	position: relative;
  float: left;
  width: 100%;
  padding: 5px;
}
.thbox{
	position: relative;
  float: left;
  width: 100%;
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0px 0px 4px rgba(0,0,0,0.1);
  padding-bottom: 5px;
  padding-right: 5px;
}
.itemf{
  position: relative;
  float: left;
  width: 100%;
  border:1px solid transparent;
}
.itemf.active{
	border-color: #ff0000
}
.itemf li{
	position: relative;
	float: left;
	padding-left: 5px;
	padding-top: 5px;
	width: 100%;
	height: 140px;
}
/*主题二*/
.itemf li:first-child:nth-last-child(2),
.itemf li:first-child:nth-last-child(2) ~ li{
	width:50%;
	height: 140px;
}
/*主题三*/
.itemf li:first-child:nth-last-child(3){
	width: 28.37%;
	height: 140px;
}
.itemf li:nth-last-child(3):first-child ~ li:nth-child(2),
.itemf li:nth-last-child(3):first-child ~ li:nth-child(3){
	width: 71.63%;
	height: 70px;
}
/*主题四*/
.itemf li:first-child:nth-last-child(4){
	width: 28.37%;
	height: 140px;
}
.itemf li:first-child:nth-last-child(4) ~ li:nth-child(3),
.itemf li:first-child:nth-last-child(4) ~ li:nth-child(4){
	width: 43.26%;
	height: 70px;
}
.itemf li:first-child:nth-last-child(4) ~ li:nth-child(2){
	float: right;
	width: 28.37%;
	height: 140px;
}
/*主题五*/
.itemf li:nth-last-child(5):first-child{
	width: 28.37%;
	height: 140px;
}
.itemf li:nth-last-child(5):first-child ~ li:nth-child(2){
	width: 43.26%;
	height: 70px;
}
.itemf li:nth-last-child(5):first-child ~ li:nth-child(3){
	width: 28.37%;
	height: 70px;
}
.itemf li:nth-last-child(5):first-child ~ li:nth-child(4){
	width: 28.37%;
	height: 70px;
}
.itemf li:nth-last-child(5):first-child ~ li:nth-child(5){
	width: 43.26%;
	height: 70px;
}
.itemf a{
	position: relative;
	float: left;
	width: 100%;
	height:100%;
	overflow: hidden;
}
.itemf img{
	min-width: 100%;
	height: 100%;
}
.itemf p{
	position: absolute;
	width: 100%;
	bottom:0px;
	padding:5px;
	margin: 0px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: bold;
	font-size: 8pt;
	color: #fff;
	background-color: rgba(0,0,0,0.5);
	display:none;
}

/*编辑删除主题*/
.themeactive{
  position: fixed;
  left: 190px;
  z-index: 999;
  display: none;
  border-radius: 4px 4px 0px 0px ;
  overflow: hidden;
}

.themeactive ul,.themeactive li {
	position: relative;
	float: left;
}
.themeactive ul{
	width: 100%;
}
.themeactive li{
	border-right: 1px solid #f6f6f6;
	padding:0px 5px;
	background-color: rgba(102,102,102,1);
	cursor: pointer;
}
.themeactive li:hover{
	background-color: rgba(102,102,102,0.7)
}
.themeactive li:nth-last-child(1){
	border-right: none;
}
.themeactive li span{
	display: inline-block;
	width: 100%;
	height: 22px;
	line-height: 22px;
	color: #fff;
	text-align: center;
	font-size: 8pt
}
.themeactive li i{
	font-size: 12pt;
	position: relative;
	top:2px;
	margin-right: 2px;
	margin-left: 2px;
	font-weight: normal;
}

/*模板选择*/
.m-right h4{
  font-size: 12pt;
  padding: 0px 5px;
  font-weight: bold;
  color: #333;
  margin-bottom: 0px;
}
.m-right h4 em{
	font-size: 8pt;
	font-weight: normal;
	margin-left: 5px;
}
.m-right ul{
	position: relative;
	float: left;
	width: 100%;
	padding-left:5px;
	padding-top:5px;
	margin-bottom: 20px;
}
.m-right ul li{
	position: relative;
	float: left;
	width: 50%;
	height: 100px;
	padding-right:5px;
	padding-bottom:5px;
	cursor: pointer;
}
.m-right img{
	width: 100%;
	height: 100%;
	border-radius: 4px;
	overflow: hidden;
}
.m-right input{
	position: absolute;
	right: 5px;
	top:0px;
}

/*弹窗*/
.modal-dialog {
  width: 796px;
  z-index: 99999;
  top: 30px;
  bottom: 30px;
  max-width: 100%
}
.modal-header .close{
	margin-top: 0px;
}
.modal-body{
	height: auto;
}
.display{
	display: none;
}
.modal-body td input.form-control{
	border-radius: 4px;
}
.uploadimg{
	position: relative;
	float: left;
	width: 100%;
	height: 100%;
	padding-right: 46px;
}
.modal-body td .uploadimg input.form-control{
	width: 100%;
	border-radius: 4px 0px 0px 4px;
}
.uploadimg input[type='file']{
	position: absolute;
	top:0px;
	left:0px;right:46px;bottom:0px;
	opacity: 0;
	z-index: 10;
	width: 383px;
	cursor: pointer;
}
.uploadimg .btn{
	position: absolute;
	right: 0px;
	top:0px;
	bottom:0px;
	background-image: inherit;
	border-color:transparent;
}
.modal-body img{
	height: 24px;
}
.btn{
	margin-right: 0px;
}
