.tabs {
	height: 100%;
	background: #ecf0f1;
	/* border: 3px solid var(--theme-color-primary); */
}

.tabs-box {
    background: #ecf0f1;
    border-radius: 5px;
    padding: 7px;
}

.tabs input[type="submit"] {
	border-radius: 0px 0px 10px 0px;

}

.tabs > button {
	display: initial;
    width: max-content;
    margin: 5px;
    padding: 15px;
}

.tab_caption {
    align-items: flex-start;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.tab_caption li {
    border: 1px solid #82989d;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
    box-sizing: border-box;
    color: #677171;
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    padding: 9px 15px;
    position: relative;
    text-decoration: none;
    transition: all .2s ease;
    transition-property: background-color, color;
    z-index: 1;
}

.tab_caption li:not(.active) {
	cursor: pointer;
}

.tab_caption li:not(.active):hover {
	transition: 0.5s;
	background-color:hsla(0,0%,100%,.4);
	border-color: #6f5544;
}

/*

.tab_caption .active:after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	right: 0;
	height: 5px;
	background: #bc872694;
	-webkit-box-shadow: 4px 2px 79px 3px rgba(214, 202, 50, 0.55);
	-moz-box-shadow: 4px 2px 79px 3px rgba(214, 202, 50, 0.55);
	box-shadow: 0 3px 9px rgb(135 123 81 / 74%);
}
*/

.tab_caption .active {
	transition: 0.6s;
	background-color: #e3cfcf;
	color: cornflowerblue;
}

.tab_content {
	display: none;
	background: #FFF;
}

.tab_content.active {
	display: block;
	width: 100%;
	padding: 5px;
	border-radius: 5px;
	border: 1px solid;
}

.vertical .tab_caption {
	float: left;
	display: block;
}

.vertical .tab_caption li {
	float: none;
	border-width: 2px 0 2px 2px;
	border-radius: 5px 0 0 5px;
}

.vertical .tab_caption li:last-child:before {
	display: none;
}

.vertical .tab_caption .active:after {
	left: auto;
	top: 0;
	right: -2px;
	bottom: 0;
	width: 2px;
	height: auto;
}

.vertical .tab_content {
	overflow: hidden;
}

	.tab_caption li {
		-webkit-flex: 1 0 auto;
		-ms-flex: 1 0 auto;
		flex: 1 0 auto;
	}
	.vertical .tab_caption {
		float: none;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
	}
	.vertical .tab_caption li {
		border-width: 2px 2px 0;
		border-radius: 5px 5px 0 0;
	}
	.vertical .tab_caption li:last-child:before {
		display: block;
	}
	.vertical .tab_caption .active:after {
		top: auto;
		bottom: -5px;
		left: 0;
		right: 0;
		width: auto;
		height: 5px;
		background: #FFF;
	}