.lvl1,
.lvl2,
.lvl3,
.lvl4 {
	background-color: white;
	border-left: 4px solid #713d57;
	border-right: 4px solid #713d57;
	height: 100%;
	padding: 4px 0;
	margin-left: -8px;
	width: 616px;
	box-sizing: border-box;
}

.out {
	border-color: #713d57;
	border: 4px solid #713d57;
	width: 600px;
	height: 500px;
	margin: 0 auto;
	box-sizing: border-box;
}

.lovebox .out {
	border-color: #713d57;
}

.darebox .out {
	border-color: #3d4471;
}

.darebox .lvl1,
.darebox .lvl2 {
	border-left: 4px solid #3d4471;
	border-right: 4px solid #3d4471;
}

.lvl1 {
	width: 610px;
}

.lvl2 {
	width: 620px;
}

h5 .lvl1,
h5 .lvl2 {
	background-color: white;
	border-left: 4px solid #713d57;
	border-right: 4px solid #713d57;
	height: 100%;
	padding: 4px 0;
	margin-left: -12px;
	width: 616px;
	box-sizing: border-box;
}

h5 .out {
	border-color: #713d57;
	border: 4px solid #713d57;
	width: 600px;
	height: 500px;
	margin: 0 auto;
	box-sizing: border-box;
}

h5 .lvl1 {
	width: 616px;
}

h5 .lvl2 {
	width: 632px;
}


/*-------------主選單任點一子頁-出現的第一層畫面  pop樣式↓↓↓ ---------------*/

.popup-overlay {
	position: fixed;
	top: 0rem;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #bababa;
	opacity: 0;
	-webkit-transition: opacity .25s;
	transition: opacity .25s;
}

.popup {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	-webkit-transition: visibility .25s;
	transition: visibility .25s;
	visibility: hidden;
	overflow: hidden;
	z-index: 600;
	display: flex;
	justify-content: center;
	align-items: center;
}

.alertOneButtonView .popup {
	z-index: 700;
}

.alertView .popup {
	z-index: 700;
}

.popup.popup-active {
	-webkit-transition: none;
	transition: none;
	visibility: visible;
}

.popup-active>.popup-overlay {
	opacity: .5;
}

.popupTitle {
	display: none;
}

@media (min-width: 960px) {
	.popup .controlSet .contentName {
		display: none;
	}
	.popupTitle {
		display: inline-block;
		font-size: 1.25rem;
		font-weight: 700;
		position: absolute;
		top: -1rem;
		left: 1.5rem;
		z-index: 1;
		width: 95%;
	}
}


/*****end↑↑↑*****/

.popup-active>.popup-overlay {
	opacity: .85;
}

.popup-overlay {
	position: fixed;
	top: 0rem;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #fff5ed;
	opacity: 0;
	-webkit-transition: opacity .25s;
	transition: opacity .25s;
}

.popup .alertBtnSet {
	width: 100%;
	margin: auto;
	position: absolute;
	bottom: 5px;
	height: fit-content;
	display: block;
	border-bottom: 0px;
	border-top: 1px solid transparent;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	/* overflow: hidden; */
	background: #ffffff;
	text-align: center;
	/* width: fit-content; */
	padding: 1rem 0;
	box-sizing: border-box;
}

.popup .window_X {
	width: 40px;
	height: 40px;
	position: absolute;
	top: -1.5rem;
	right: -3rem;
	z-index: 600;
}

.popup .window_X a {
	display: inline-block;
	width: 30px;
	height: 30px;
	position: absolute;
}

.popup .window_X a img {
	max-width: 40px;
}

.ReEditPart b {
	display: inline-block;
	padding: 0.5rem 0;
}

.darebox .ReEditPart b {
	display: inline-block;
	padding: 0.5rem 0;
	color: #d41e0b;
}

.lovebox,
.darebox {
	visibility: hidden;
	display: block;
}

.ReEditPartGroup {
	display: flex;
	justify-content: start;
	width: 100%;
	margin: auto;
	padding: 1rem 0;
	line-height: 1.55rem;
	flex-direction: row;
	flex-wrap: wrap;
}

.lovebox .ReEditPartSet .ReEditQuote {
	width: auto;
	height: 2rem;
	font-size: 1.25rem;
	width: auto;
	height: 2rem;
	font-size: 1.25rem;
	color: #e55d9b;
	font-weight: bold;
}

.darebox .ReEditPartSet .ReEditQuote {
	width: auto;
	height: 2rem;
	font-size: 1.25rem;
	width: auto;
	height: 2rem;
	font-size: 1.25rem;
	color: #3d4471;
	font-weight: bold;
	width:100%;
}

.lovebox .acionT h5 {
	font-size: 1.25rem;
	color: #e55d9b;
	letter-spacing: 3px;
}

.darebox .acionT h5 {
	font-size: 1.25rem;
	color: #3d4471;
	letter-spacing: 3px;
}

.acionT h5 span {
	letter-spacing: 8px;
	padding: 0 0.5rem;
}

.loveicon {
	height: 15px;
	margin-right: 0.5rem;
}

.acionT {
	text-align: center;
}

.pic {
	display: inline-block;
	border-radius: 100%;
}

.Re-editNoteAndIdeaWrap {
	position: relative;
	bottom: 0;
	background-color: transparent;
	left: 0px;
	top: 3rem;
	width: 100%;
	margin: auto;
	height: 100%;
	max-width: 800px;
	max-height: 600px;
	top: 50%;
	transform: translateY(-50%);
}

.Re-editNoteContent {
	padding-top: 32px;
	height: 100%;
	background-color: #f8f8f8;
	text-align: left;
}

.ReEditPartSet {
	width: 90%;
	margin: auto;
}

.ReEditPart {
	padding-left: 1rem;
}

.popupTitle {
	display: none;
}

.surveybutton {
	border-radius: 100px;
	padding: 0.5rem 1rem;
	display: inline-block;
	background: transparent;
	background-color: #e57dab;
	color: #ffffff;
	border: 2px #e57dab solid;
	box-shadow: 0 2px 10px 1px rgb(67 60 63 / 10%);
	width: 80%;
	font-size: 1.25rem;
	letter-spacing: 6px;
}

.surveybutton:hover,
.surveybutton:link {
	color: #ffffff;
	text-decoration: none;
}

.sharebutton {
	border-radius: 100px;
	padding: 0.5rem 1rem;
	display: inline-block;
	background: transparent;
	background-color: #3d4471;
	color: #ffffff;
	border: 2px #3d4471 solid;
	box-shadow: 0 2px 10px 1px rgb(67 60 63 / 10%);
	width: 80%;
	font-size: 1.25rem;
	letter-spacing: 6px;
}

.sharebutton:hover,
.sharebutton:link {
	color: #ffffff;
	text-decoration: none;
}

.alertBtnGroup {
	display: block;
	justify-content: space-around;
	width: 100%;
	position: relative;
	height: 100%;
	/* float: right; */
	transform: translateX(-50%);
	margin: auto;
	left: 100%;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	overflow: hidden;
}

@media (min-width: 960px) {
	.popupTitle {
		display: inline-block;
		font-size: 1.25rem;
		font-weight: 700;
		position: absolute;
		top: -1rem;
		left: 1.5rem;
		z-index: 1;
		width: 95%;
		text-align: center;
	}
	.Re-editNoteAndIdeaWrap {
		max-width: fit-content;
		height: fit-content;
		box-shadow: none;
		border-radius: 10px;
	}
	.Re-editNoteContent {
		position: relative;
		top: 1.5rem;
		background-color: transparent;
		padding-top: initial;
		overflow-y: scroll;
		height: calc(100% - 7rem);
	}
}


/*--------------------主選單任點一子頁-出現的第一層畫面的上方工具列↓↓↓ ---------------------*/

.controlSet {
	width: 100%;
	margin: auto;
	height: 3.25rem;
	z-index: 500;
	display: inline-block;
	border-bottom: 1px #dbdbdb solid;
	background-color: #ffffff;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 999999;
}

.controlGroup {
	/*display: inline-flex;
	justify-content: space-around;
	width: 100%;
	position: relative;
	height: 100%;*/
	display: inline-flex;
	justify-content: space-around;
	width: 100%;
	position: relative;
	height: 100%;
	/* float: right; */
	transform: translateX(-50%);
	margin: auto;
	left: 50%;
}

.controlGroup>div {
	display: inline-block;
}

.controlGroup .controlLeft {
	width: 15%;
}

.controlGroup .controlRight {
	width: 15%;
}

.controlGroup .controlLeft a {
	display: inline-block;
	width: 100%;
	height: 100%;
	text-align: center;
}

.controlGroup .controlRight a {
	display: inline-block;
	width: 100%;
	height: 100%;
	text-align: center;
}

.controlGroup .contentName {
	width: 65%;
	line-height: 3.25rem;
	text-align: center;
	font-weight: 500;
}

.ui-controlBtn span {
	font-size: 2rem;
	display: inline-block;
	width: 100%;
	height: 100%;
	line-height: 3.25rem;
}

.ui-controlBtn span.btnWordStyle {
	color: #538CFB;
	font-size: 1rem;
}

.controlTabMenuSet {
	height: 2.75rem;
	width: 100%;
	margin: auto;
	border-bottom: 1px #dbdbdb solid;
}

.controlTabMenuGroup {
	display: flex;
	justify-content: space-evenly;
	width: 98%;
	width: 100%;
	height: 100%;
}

.controlTabMenuGroup .controlTabMenu {
	width: calc(100% / 3);
	line-height: 3rem;
}

.controlTabMenuGroup .controlTabMenu a {
	display: block;
	width: 54%;
	margin: auto;
	text-align: center;
	border-bottom: 3px transparent solid;
	/* height: 2rem; */
	/* margin-top: 1rem; */
	height: 100%;
	box-sizing: border-box;
	font-size: 0.9375rem;
	font-weight: 500;
	min-width: 2rem;
}

.controlTabMenuGroup .controlTabMenu a.controlTabActive {
	border-color: #538CFB;
}

@media (max-width: 1024px) {
	.out,
	.lvl1,
	.lvl2 {
		width: fit-content !important;
		height: fit-content !important;
		border: 0 !important;
		padding: 0;
		margin: 0;
	}
	.Re-editNoteAndIdeaWrap {
		transform: initial !important;
		top: 3rem !important;
		overflow-y: scroll !important;
		max-height: initial !important;
	}
	.popup .alertBtnSet {
		position: fixed !important;
		bottom: 0px !important;
	}
	.Re-editNoteContent {
		padding-bottom: 8rem;
	}
}

@media (min-width: 960px) {
	.controlSet {
		display: none;
	}
	.controlGroup .controlRight {
		width: 50%;
		border-left: 1px #d9d9d9 solid;
	}
	.controlGroup .controlLeft {
		width: 50%;
	}
}


/*****end↑↑↑*****/