/**
 * @package     PlgContentTabs
 * @version     6.0.0
 *
 * @author      Mindphp Developer Teams <shop.mindphp@gmail.com>
 * @link        https://www.mindphp.com
 * @copyright   (C) 2026 Mindphp. All rights reserved.
 * @license     GNU General Public License version 2 or later
 */

.plg-tabs {
	margin: 4px 0 1em;
}

.plg-tabs-nav {
	margin: 0 0 0 8px !important;
	padding: 0 !important;
	list-style: none !important;
	background: none !important;
	line-height: normal !important;
	text-align: left !important;
}

.plg-tabs-nav-item {
	display: inline-block !important;
	margin: 0 2px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: none !important;
}

.plg-tabs-button {
	display: inline-block;
	margin: 0;
	padding: 6px 12px 4px;
	font-size: 14px;
	line-height: 1.3;
	color: #222;
	background: #eee;
	border: 1px solid #bbb;
	border-bottom: none;
	border-radius: 2px 2px 0 0;
	cursor: pointer;
}

.plg-tabs-button:hover,
.plg-tabs-button:focus {
	color: #c64934;
	background: #f2f2f2;
	outline: 0;
}

.plg-tabs-nav-item.is-active .plg-tabs-button,
.plg-tabs-nav-item.is-active .plg-tabs-button:hover,
.plg-tabs-nav-item.is-active .plg-tabs-button:focus {
	background: #fff;
	border-bottom: 1px solid #fff;
	color: #222;
	position: relative;
	z-index: 1;
}

.plg-tabs-panels {
	margin: -1px 0 0;
}

.plg-tabs-panel {
	display: none;
	padding: 8px;
	text-align: left;
	border: 1px solid #bbb;
	border-radius: 2px;
	background: #fff;
}

.plg-tabs-panel.is-active {
	display: block;
}

.plg-tabs-print {
	margin: 0 0 1.5em;
}

.plg-tabs-print-title {
	margin: 0 0 0.5em;
}

@media print {
	.plg-tabs-nav {
		display: none !important;
	}

	.plg-tabs-panel {
		display: block !important;
		border: 0;
		padding: 0 0 1em;
	}
}
