.rwmb-tab-nav {
	margin-bottom: -1px;
}

.rwmb-tab-nav li {
	margin: 0;
	display: inline-block;
}

.rwmb-tab-nav .rwmb-tab-active {
	border: 1px solid #ccd0d4;
	border-bottom-color: transparent;
	border-radius: 3px 3px 0 0;
	background: #fdfdfd;
}

.rwmb-tab-nav a {
	display: block;
	padding: 8px 12px;
	line-height: 1;
	text-decoration: none;
}

.rwmb-tab-nav a:active, .rwmb-tab-nav a:focus {
	outline: none;
	box-shadow: none;
}

.rwmb-tab-nav i,
.rwmb-tab-nav img {
	vertical-align: middle;
	margin-right: .3em;
}

.rwmb-tab-nav i {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

.rwmb-tab-nav img {
	width: 12px;
	height: 12px;
	display: inline-block;
}

.rwmb-tab-active a {
	color: #333;
}

.rwmb-tab-panels {
	background: #fdfdfd;
	border: 1px solid #ccd0d4;
}

.rwmb-tab-panel {
	padding: 12px;
	display: none;
}

.rwmb-tabs-box .rwmb-tab-nav li {
	background: #ebebeb;
	border: 1px solid #ccd0d4;
	border-radius: 3px 3px 0 0;
	margin-right: 5px;
}

.rwmb-tabs-box .rwmb-tab-nav li:hover {
	background: #fff;
}

.rwmb-tabs-box .rwmb-tab-nav a {
	color: #777;
}

.rwmb-tabs-box .rwmb-tab-nav .rwmb-tab-active {
	border-bottom-color: transparent;
}

.rwmb-tabs-box .rwmb-tab-nav .rwmb-tab-active,
.rwmb-tabs-box .rwmb-tab-nav .rwmb-tab-active:hover {
	background: #f5f5f5;
}

.rwmb-tabs-box .rwmb-tab-nav .rwmb-tab-active a {
	color: #555;
}

.rwmb-tabs-box .rwmb-tab-panels {
	background: #f5f5f5;
	border-color: #ccd0d4;
}

.rwmb-tabs-box .rwmb-clone {
	background-color: transparent;
}

.rwmb-tabs-left {
	margin: -6px -12px -12px;
	display: flex;
}

.rwmb-tabs-left .rwmb-tab-nav {
	margin: 0 -1px 0 0;
	border-right: 1px solid #ccd0d4;
	z-index: 9;
}

.rwmb-tabs-left .rwmb-tab-nav li {
	display: block;
	min-width: 180px;
}

.rwmb-tabs-left .rwmb-tab-nav li:first-child {
	border-top: none;
}

.rwmb-tabs-left .rwmb-tab-nav a {
	padding: 12px;
}

.rwmb-tabs-left .rwmb-tab-active {
	border-width: 1px 0 1px 0;
	border-bottom-color: #ccd0d4;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02);
	margin-right: -1px;
}

.rwmb-tabs-left .rwmb-tab-panels {
	flex: 1;
	border-width: 0 0 0 1px;
	z-index: 1;
}

.rwmb-tabs-left .rwmb-tab-panel {
	padding: 12px 20px;
	border: none;
}

.rwmb-seamless .rwmb-tab-nav .rwmb-tab-active,
.rwmb-seamless .rwmb-tab-panel,
.rwmb-seamless .rwmb-tab-panels,
.rwmb-seamless .rwmb-tab-nav .rwmb-tab-active:hover {
	background: #fff;
}

.rwmb-seamless .rwmb-tabs-left {
	margin: 0;
	border: 1px solid #ccd0d4;
}

.profile-php .rwmb-tabs-left,
.user-edit-php .rwmb-tabs-left,
.term-php .rwmb-tabs-left,
.edit-tags-php .rwmb-tabs-left,
.rwmb-settings-no-boxes .rwmb-tabs-left {
	margin: 0;
	flex-wrap: wrap;
}

.profile-php .rwmb-tabs-left > h2,
.user-edit-php .rwmb-tabs-left > h2,
.term-php .rwmb-tabs-left > h2,
.edit-tags-php .rwmb-tabs-left > h2,
.rwmb-settings-no-boxes .rwmb-tabs-left > h2 {
	flex-basis: 100%;
}

.profile-php .rwmb-tabs-left .rwmb-tab-nav,
.user-edit-php .rwmb-tabs-left .rwmb-tab-nav,
.term-php .rwmb-tabs-left .rwmb-tab-nav,
.edit-tags-php .rwmb-tabs-left .rwmb-tab-nav,
.rwmb-settings-no-boxes .rwmb-tabs-left .rwmb-tab-nav {
	border: 1px solid #ccd0d4;
}

.profile-php .rwmb-tabs-left .rwmb-tab-panels,
.user-edit-php .rwmb-tabs-left .rwmb-tab-panels,
.term-php .rwmb-tabs-left .rwmb-tab-panels,
.edit-tags-php .rwmb-tabs-left .rwmb-tab-panels,
.rwmb-settings-no-boxes .rwmb-tabs-left .rwmb-tab-panels {
	border-width: 1px;
}

.profile-php .rwmb-tabs .rwmb-label,
.profile-php .rwmb-tabs .rwmb-input,
.user-edit-php .rwmb-tabs .rwmb-label,
.user-edit-php .rwmb-tabs .rwmb-input,
.term-php .rwmb-tabs .rwmb-label,
.term-php .rwmb-tabs .rwmb-input,
.edit-tags-php .rwmb-tabs .rwmb-label,
.edit-tags-php .rwmb-tabs .rwmb-input,
.rwmb-settings-no-boxes .rwmb-tabs .rwmb-label,
.rwmb-settings-no-boxes .rwmb-tabs .rwmb-input {
	padding: 0;
}

.rwmb-settings-no-boxes .rwmb-tab-panel .rwmb-field {
	padding: 12px 0 0;
}

@media (max-width: 575px) {
	.rwmb-tabs {
		margin: -6px -12px -12px;
	}
	.rwmb-seamless .rwmb-tabs {
		margin: 0;
	}
	.rwmb-tab-nav {
		margin-top: 0;
		margin-bottom: 0;
	}
	.rwmb-tab-nav li {
		display: block;
		border-bottom: 1px solid #ccd0d4;
	}
	.rwmb-tab-nav a {
		padding: 12px;
	}
	.rwmb-tab-nav .rwmb-tab-active {
		background: #eee;
		border-width: 0 0 1px 0;
	}
	.rwmb-tab-panel {
		border: none;
		background: none;
	}
	.rwmb-tabs-box .rwmb-tab-nav li {
		background: none;
		border-width: 0 0 1px 0;
		margin-right: 0;
	}
	.rwmb-tabs-box .rwmb-tab-nav li:hover {
		background: none;
	}
	.rwmb-tabs-box .rwmb-tab-nav .rwmb-tab-active {
		background: #dedede;
	}
	.rwmb-tabs-box .rwmb-tab-nav .rwmb-tab-active:hover {
		background: #dedede;
	}
	.rwmb-tabs-box .rwmb-tab-panels {
		border: none;
		background: none;
	}
	.rwmb-tabs-left {
		flex-direction: column;
	}
	.rwmb-tabs-left .rwmb-tab-nav {
		width: 100%;
		border-right: none;
	}
	.rwmb-tabs-left .rwmb-tab-nav li {
		border-bottom: 1px solid #ccd0d4;
	}
	.rwmb-tabs-left .rwmb-tab-active {
		box-shadow: none;
		background: #eee;
		border-width: 0 0 1px 0;
		margin-right: 0;
	}
	.rwmb-tabs-left .rwmb-tab-panels {
		border-left: none;
	}
}
