@charset "utf-8";

.gonggou_theme {
	display: flex;
	flex-direction: row;
	margin: 0 auto;
	width: 100%;
	flex-wrap: wrap;
}

.gonggou_image {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 編輯介面用 */
.gonggou_toolbar {
	display: flex;
	flex-direction: row;
	margin: 5px 0 7px 0;
	width: 100%;
	flex-wrap: wrap;
}

.gonggou_toolbar > div {
	min-height: 45px;
}

.gonggou_theme_choose {
	height: 100%;
}
.gonggou_theme_choose > div {
	height: 100%;
	cursor: pointer;
}

.gonggou_tip {
	display: flex;
	align-items: center;
	justify-content: center;
}

.gonggou_switch-div {
	display: flex;
	align-items: center;
}

.gonggou_switch {
	position: relative;
	width: 80px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

.gonggou_switch .checkbox {
	display: none;
}

.gonggou_switch .checkbox:checked + .gonggou_switch-label .gonggou_switch-inner {
	margin-left: 0;
}
.gonggou_switch .checkbox:checked + .gonggou_switch-label .gonggou_switch-outer {
	right: 0px;
}

.gonggou_switch-label {
	display: block;
	overflow: hidden;
	cursor: pointer;
	border: 1px solid #999;
	border-radius: 20px;
}

.gonggou_switch-inner {
	display: block;
	width: 200%;
	margin-left: -100%;
	transition: margin 0.3s ease-in 0s;
}

.gonggou_switch-inner:before,
.gonggou_switch-inner:after {
	display: block;
	float: left;
	width: 50%;
	height: 30px;
	line-height: 30px;
	font-size: 16px;
	font-weight: bold;
	box-sizing: border-box;
	color: #fff;
}

.gonggou_switch-inner:before {
	padding: 0 0 0 12px;
	text-align: left;
}

.gonggou_switch-inner:after {
	padding: 0 12px 0 0;
	text-align: right;
}

.gonggou_switch-outer {
	display: block;
	width: 18px;
	height: 18px;
	margin: 6px;
	background: #fff;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 48px;
	border: 1px solid #999;
	border-radius: 20px;
	transition: all 0.3s ease-in 0s;
}

.gonggou_switch-isEnable:before {
	content: "啟用";
	background-color: #449d44;
}
.gonggou_switch-isEnable:after {
	content: "停用";
	background-color: #c9302c;
}

.gonggou_switch-operationMode:before {
	content: "預覽";
	background-color: #3071a9;
}
.gonggou_switch-operationMode:after {
	content: "編輯";
	background-color: #ec971f;
}

.gonggou_theme_interface {
	position: relative;
	min-height: 200px;
}
.gonggou_block_interface {
	position: relative;
	border: 1px #ccc solid;
}

.gonggou_btn {
	position: absolute;
	transition: opacity 0.3s ease;
}

.gonggou_btn > .btn {
	font-size: 25px;
}

.gonggou_theme_edit {
	top: 20px;
	width: 100%;
	display: flex;
	justify-content: center;
}

.gonggou_theme_sort {
	top: 20px;
	right: 5%;
	display: flex;
	justify-content: right;
}

.gonggou_block_edit {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.gonggou_block_edit:hover {
	background-color: rgba(204, 204, 204, 0.65);
}

.gonggou_theme_spacing {
	padding: 0 5px 10px 5px;
}

.gonggou_block_spacing {
	padding: 0 5px 0 5px;
}

.gonggou_no_spacing {
	padding: 0;
	margin: 0;
}

.gonggou_no_spacing > img {
	padding: 0;
	margin: 0;
}
