/**
 * Ensemble Admin CSS
 *
 * @package   Ensemble\Admin
 * @copyright Copyright (c) 2018, Drew Jaynes
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since     1.0.0
 */

/** Vertical tabs */

.nav-tabs--vertical {
	border-bottom: none;
	border-right: 1px solid #ddd;
	display: flex;
	flex-flow: column nowrap;
}
.nav-tabs--left {
	margin: 0 15px;
}
.nav-tabs--left .nav-item + .nav-item {
	margin-top: .25rem;
}
.nav-tabs--left .nav-link {
	transition: border-color .125s ease-in;
	white-space: nowrap;
}
.nav-tabs--left .nav-link:hover {
	background-color: #f7f7f7;
	border-color: transparent;
}
.nav-tabs--left .nav-link.active {
	border-bottom-color: #ddd;
	border-right-color: #fff;
	border-bottom-left-radius: 0.25rem;
	border-top-right-radius: 0;
	margin-right: -1px;
}
.nav-tabs--left .nav-link.active:hover {
	background-color: #fff;
	border-color: #0275d8 #fff #0275d8 #0275d8;
}

/** Other misc overrides. */
.bootstrap-iso .card {
	max-width: 100%;
	margin-top: 0;
}

.bootstrap-iso label,
.bootstrap-iso .alert {
	font-size: 14px;
}

.bootstrap-iso .h1, .bootstrap-iso h1 {
	font-size: 2em;
}

.bootstrap-iso .btn-link.text-danger {
	color: #dc3545;
}

.bootstrap-iso .form-check-input {
	margin-top: 0;
}

.bootstrap-iso small {
	font-size: 100%;
}

.select2-container .select2-selection--single {
	height: auto;
}

li.select2-search {
	margin-bottom: 0;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
	margin: calc(.675rem - 1px) 0 0 .375rem;
}

.select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field {
	padding: .75rem .75rem 0;
}

.bootstrap-iso .h1, .bootstrap-iso h1 {
	font-size: 23px;
}

.bootstrap-iso .nav-tabs .nav-link.active {
	background-color: white !important;
	border: 0;
}

.bootstrap-iso .btn.text-left {
	text-align: left;
}

.notice p {
	margin: 0.5em 0 !important;
	padding: 2px !important;
}

hr.wp-header-end {
	margin: 0 !important;
}

.ensemble-wizard a,
.ensemble-wizard a:hover,
.ensemble-wizard a:active {
	color: #efefef;
}

.ensemble-wizard a:hover {
	text-decoration: none;
}

.ensemble-welcome .dashicons {
	font-size: 200px;
	height: 200px;
	margin-top: 15px;
}

.ensemble-welcome p {
	font-size: 16px;
}

.ensemble-welcome a {
	color: #444;
}

.ensemble-welcome a:hover,
.ensemble-welcome a:active {
	color: #17a2b8;
}

/** Units > Add overrides */
.bootstrap-iso .w-15 {
	width: 15% !important;
}

.bootstrap-iso.w-95 {
	width: 95% !important;
}

.bootstrap-iso.fs-13 label {
	font-size: 13px;
}

/** parsley.js error styling */
.parsley-required {
	width: 100%;
	margin-top: 0.5rem;
	color: #dc3545;
}

.parsley-errors-list {
	list-style-type: none;
	padding: 0;
	opacity: 0;
	transition: all .3s ease-in;
}

.parsley-errors-list.filled {
	opacity: 1;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
	border: 1px solid #dc3545;
}
