/* tab */

.tab {
	margin-bottom: 15px;
	height: 48px;
	border-radius: 0px 0px 4px 4px;
	background: var(--bg-box-color);
}

/* tab button */

.tab .left button {
	user-select: none;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	min-width: 109px;
	height: 48px;
	transition: 0.1s;
	font-size: 16px;
	color: var(--fn-color);
	background: none;
}
.tab .left button:nth-child(1) {
	border-radius: 0px 0px 0px 4px;
}
.tab .left button:active {
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	background: var(--btn-th-hover);
}
.tab .left button.active {
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	background: var(--btn-active);
}

.tab .left button img {
	padding: 5px;
	max-width: 100%;
	max-height: 100%;
}

.tab .left button#tab1:active img {
	content: url('/public/assets/object2.png');
}

.tab .left button#tab1.active img {
	content: url('/public/assets/object2.png');
}

.tab .left button#tab2:active img {
	content: url('/public/assets/product2.png');
}

.tab .left button#tab2.active img {
	content: url('/public/assets/product2.png');
}

.tab .left button#tab3:active img {
	content: url('/public/assets/member2.png');
}

.tab .left button#tab3.active img {
	content: url('/public/assets/member2.png');
}

.tab .left button#tab4:active img {
	content: url('/public/assets/moder2.png');
}

.tab .left button#tab4.active img {
	content: url('/public/assets/moder2.png');
}

.tab .left button#tab5:active img {
	content: url('/public/assets/register2.png');
}

.tab .left button#tab5.active img {
	content: url('/public/assets/register2.png');
}

.tab .right a {
	display: block;
	float: right;
	user-select: none;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	width: 109px;
	transition: 0.1s;
	font-size: 17px;
	text-align: center;
	color: var(--fn-color);
	background: none;
}
.tab .right a:nth-last-child(1) {
	border-radius: 0px 0px 4px 0px;
}
.tab .right a:hover {
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	background: var(--btn-th-hover);
}
.tab .right a:active {
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	background: var(--btn-active);
}

/* tab-content */

.tab_content {
	display: none;
	padding: 16px 16px;
	border-radius: 4px;
	background: var(--bg-box-color);
}

.tab_content ul {
	width: 50%;
}
.acc_item ul {
	width: 100%;
}

/* tab-dropdown */

.tab-dropdown {
	position: relative;
}

.tab-dropdown-content {
	display: none;
	position: absolute;
	z-index: 15;
	top: 115%;
	right: 0;
	padding: 8px;
	min-width: 152px;
	background: var(--bg-box-color);
	border-radius: 4px;
	border: 1px solid var(--fn-g-color);
}

.tab-dropdown a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	outline: none;
	user-select: none;
	cursor: pointer;
	min-width: 152px;
	min-height: 48px;
	transition: 0.1s;
	font-size: 17px;
	color: var(--fn-color);
	border-radius: 0px 4px 4px 0px;
	border: none;
	background: none;
}
.tab-dropdown a:hover {
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	background: var(--btn-th-hover);
}
.tab-dropdown a.active {
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	background: var(--btn-active);
}
.tab-dropdown span {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-top: 3px;
	min-height: 48px;
}

.tab-dropdown button {
	background: none;
	border: none;
	outline: none;
	user-select: none;
	cursor: pointer;
	transition: 0.1s;
	padding: 8px;
	text-align: left;
	color: var(--fn-color);
	border-radius: 2px;
}
.tab-dropdown button:hover {
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	background: var(--btn-th-hover);
}
.tab-dropdown button.active {
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	background: var(--btn-active);
}

.tab-drop-bottom {
	border-top: 1px solid var(--btn-active);
	margin-top: 5px;
	padding-top: 5px;
}
.tab-drop-bottom button {
	width: 100%;
}

.tab-show {
	display: block;
}

#tab-dropdown-selected {
	margin-left: 5px;
}
#tab-dropdown-content button.selected::before {
	content: '☑ ';
}
#tab-dropdown-content button:not(.selected)::before {
	content: '☐ ';
}

.tab_1 {
	display: flex;
	margin-bottom: 10px;
}
.tab_1 .left {
	display: flex;
	width: 100%;
}
.tab_1 .right {
	display: flex;
	width: 100%;
}

.tab_1 button {
	padding: 10px;
	margin-right: 10px;
	width: 100%;
	text-align: center;
	font-size: 18px;
	border: 1px solid rgb(50, 50, 50);
	border-radius: 4px;
	background: white;
}
.tab_1 button:nth-last-child(1) {
	margin-right: 0px;
}

.tab_1 button:hover {
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	background: var(--btn-th-hover);
}
.tab_1 button.active {
	color: white;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	background: var(--btn-active);
}

.tab_content1 {
	display: none;
}

.tab_contentM {
	display: none;
}
