tab-panel, tab-buttons, metabox {
	display: block
}

tab-panel tab-panel {
	padding: 10px 15px;
	border-radius: 4px;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
	background: #f8f8f8;
}

tab-buttons {
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

tab-panel.hide-buttons tab-buttons {
	display: none
}

tab-buttons ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0
}

tab-buttons li {
	display: inline-block;
	margin-right: 30px;
	font-size: 15px;
	font-weight: 500;
	color: #666;
	cursor: pointer;
}

tab-buttons li::after {
	margin: 0 auto;
	margin-top: 10px;
	display: block;
	height: 3px;
	background: #666;
	content: "";
	width: 0%;
	transition: width 0.1s;
}

tab-buttons li.selected {
	color: #eb5424;
}

tab-buttons li.selected::after {
	width: 100%;
	background: #eb5424;
}

tab-buttons li:hover::after {
	width: 100%;
}

modal-content tab-panel {
	min-width: 650px;
}

tab-panel tab-panel tab-buttons li {
	font-size: 14px;
	font-weight: normal;
}

tab-panel tab-panel tab-buttons li::after {
	margin-top: 8px;
}

tab-panel tab-panel tab-buttons li.selected {
	color: #000;
}

tab-panel tab-panel tab-buttons li.selected::after {
	background: #666;
}

tab {
	display: none;
	width: 100%;
	-webkit-animation: fadeIn 0.5s;
	animation: fadeIn 0.5s;
}

tab.show {
	width: 100%;
	display: table;
}

tab metabox-content {
	display: table-cell;
	vertical-align: top;
}

tab metabox-sidebar {
	padding-left: 30px;
	vertical-align: top;
	display: table-cell;
}

metabox-content, metabox-sidebar {
	display: inline-block;
	vertical-align: top
}

metabox-content {
	width: calc(100% - 300px)
}

metabox-sidebar {
	float: right;
	width: 300px
}

metabox-content:only-child {
	display: block;
	width: auto
}

@media only screen and (max-width:800px) {
	tab metabox-content {
		display: block;
		width: 100%
	}
	tab metabox-sidebar {
		display: block;
		margin-top: 30px;
		border-top: 1px solid #e8e8e8;
		padding-top: 20px;
		padding-left: 0px;
		width: 100%
	}
}