#edit{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	width: 100%;
	height: 100%;
	background-color: #fff;
	/* padding-top: 66px; */
	margin-top: 132px;
}

/* left contents */

.edit-menu{
	width: 200px;
	height: 100%;
	overflow: auto;
	border-right: 1px solid #ccc;
}

.edit-components{
	display: none;
}
.edit-components.active{
	display: block;
}
.edit-components > p{
	color: #fff;
	background-color: #333;
	padding: 8px 15px;
}
.edit-components ul:not(:last-child){
	border-bottom: 1px solid #ddd;
}
.component{
	display: flex;
	align-items: center;
	background-color: #fff;
	padding: 10px;
	box-sizing: border-box;
	cursor: move;
	border-top: 1px solid #ddd;
}
.component i{
	font-size: 18px;
	line-height: 1;
	margin-right: 5px;
}

/* preview contents */

.edit-view{
	/* display: flex; */
	flex: 1;
	min-width: 325px;
	height: 100%;
	background-color: #eee;
	padding-top: 66px;
}
.edit-view-inner{
	width: 325px;
	max-height: 100%;
	margin: auto;
	overflow: auto;
}
.edit-canvas{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	width: 100%;
	height: 540px;
}
.edit-canvas-menu{
	/* position: absolute; */
	right: 10px;
	bottom: 10px;
	z-index: 100;
	margin-bottom: 10px;
}
.edit-canvas-menu .edit-canvas-menu-btns{
	position: relative;
	width: 80px;
	height: 40px;
}
.edit-canvas-menu button{
	position: absolute;
	z-index: 1;
}
.edit-canvas-menu button.disable{
	/* width: 0px; */
	border: none;
	overflow: hidden;
	display: none;
}

/* scrollbar  */

.shop-scroll-area::-webkit-scrollbar{
	width: 0;
}
.edit-menu::-webkit-scrollbar,
.edit-view-inner::-webkit-scrollbar,
.edit-detail::-webkit-scrollbar{
	width: 2px;
}
.edit-menu::-webkit-scrollbar-thumb,
.edit-view-inner::-webkit-scrollbar-thumb,
.edit-detail::-webkit-scrollbar-thumb{
	background-color: rgba(0, 0, 50, .5);
}

/* right contents */

.edit-detail{
	width: 35%;
	background-color: #999;
	overflow: auto;
}
.edit-detail-inner{
	padding: 10px;
}

.panel{
	display: none;
}
.panel.active{
	display: block;
}
.panel.image .edit-form-url,
.panel.image .edit-form-color,
.panel.web .edit-form-color,
.panel.only .edit-form-url,
.panel.only .edit-form-color,
.panel.only .edit-form-title,
.panel.footer .edit-form-url,
.panel.footer .edit-form-title,
.panel.footer .edit-form-color,
.panel.drawer .edit-form-url,
.panel.drawer .edit-form-image,
.panel.drawer .edit-form-title,
.panel.footer #delete,
.panel.drawer #delete{
	/*display: none;*/
}

/*-----------------------------------------------*/
/*** shop ***/

.shop-header{
	color: #000;
	background-color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 15px;
	position: relative;
}
.active .shop-header{
	cursor: pointer;
}
.active .shop-header:hover{
	opacity: 0.8;
}
.shop-header > div{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	z-index: 1;
	text-align: center;
}
.shop-header > div img{
	max-height: 55px;
	max-width: 325px;
}

.shop-scroll-area{
	flex: 1;
	overflow: auto;
	background-color: #fff;
	position: relative;
}

.shop-slider{
	position: relative;
}
.shop-slider .slick-track{
	display: flex;
	justify-content: center;
	align-items: center;
}
.shop-slider .slick-dots{
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	bottom: 5px;
	left: 0;
	right: 0;
	z-index: 2;
}
.shop-slider .slick-dots .slick-active button{
	background-color: #111;
}
.shop-slider .slick-dots button{
	border: none;
	color: transparent;

	background-color: #fff;
	border-radius: 10px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	line-height: 0;
	font-size: 0;
	width: 8px;
	height: 8px;
	padding: 0;
	margin: 3px;
}
.shop-slider img{
	width: 100%;
	vertical-align: bottom;
}

/* drawer */

.shop-drawer{
	display: none;
	position: absolute;
	left: 0;
	top: 65px;
	bottom: 0;
	background-color: #777;
	width: 300px;
	z-index: 200;
}
.shop-drawer li{
	color: #333;
	padding: 10px;
}
.shop-drawer li:not(:last-child){
	border-bottom: 1px solid #333;
}
.shop-drawer-trigger{
	position: absolute;
	top: 13px;
	left: 20px;
	font-size: 20px;
	color: #000;
	z-index: 2;
	padding-left: 4px;
    padding-right: 4px;
}

/* canvas */

.shop-edit-wrap .shop-topmenu.active{
	min-height: 100px;
	position: relative;
}
.shop-edit-wrap .shop-topmenu.active .shop-topmenu-item{
	padding: 5px;
	border: 1px dotted #eee;
	background-color: #fff;
	box-sizing: border-box;
	cursor: pointer;
}
.shop-topmenu-row{
	display: flex;
	justify-content: space-between;
}
.shop-topmenu-item{
	flex: 1;
}
.shop-topmenu-item img{
	width: 100%;
	max-width: 100%;
	max-height: 100%;
	vertical-align: bottom;
}
.shop-topmenu-item.target-dragover{
	display: none;
}
.shop-topmenu-row .placeholder{
	z-index: 100;
	width: 2px;
	background-color: #f27529;
}
.shop-topmenu > .placeholder{
	width: 100%;
	height: 2px;
	background-color: #f27529;
}
.shop-edit-wrap .shop-topmenu.active .shop-topmenu-item-select{
	border: 2px solid red;
}
.target-dragging{
	opacity: 0.5;
}
.preview-file-wrap{
	width: 150px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
}
.preview-file-wrap span{
	width: 100%;
}
.preview-file{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 5;
}

/*-------------------------------------*/

/* foot */

.active .shop-footer{
	cursor: pointer;
}
.active .shop-footer li:hover{
	opacity: 0.8;
}
.shop-footer ul{
	display: flex;
	justify-content: space-between;
	height: 54px;
}
.shop-footer li{
	flex: 1;
	overflow: hidden;
}
.shop-footer img{
	width: 100%;
	vertical-align: bottom;
}
.edit-footer-href{
	display: none;
}
.panel-footer-select{
	border: 2px solid red;
}
.panel-header-select{
	border: 2px solid red;
}

.font-icon-footer span {
	font-size: 22px !important;
	margin-bottom: -10px;
}
