.admin-tab {
	align-items: center;
	display: flex;
	flex-direction: row;
}

.admin-tab label {
	font-weight: 700;
	margin-right: 10px;
}

.admin-tab input,
.admin-tab textarea {
	margin-right: 10px;
}

#add-tab {
	border: 1px solid rgb(0, 124, 186);
	color: rgb(0, 124, 186);
	margin-top: 1rem;
}

.remove-tab {
	border: 1px solid rgb(204, 24, 24);
	color: rgb(204, 24, 24);
}

.remove-tab,
#add-tab {
	align-items: center;
	-webkit-appearance: none;
	background: transparent;
	border-radius: 2px;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 400;
	height: 36px;
	padding: 6px 12px;
	text-decoration: none;
	transition: box-shadow 0.1s linear;
}

.remove-tab:hover,
#add-tab:hover {
	text-shadow: 0.5px 0;
}

.tabs-buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tabs-buttons > li {
	list-style: none !important;
	width: calc(50% - 10px);
}

@media (max-width: 768px) {

	.tabs-buttons > li {
		width: 100%;
	}
}

.tabs-buttons.single-item > li {
	width: 100%;
}

.tabs-buttons button {
	border: 1px solid rgb(204, 204, 204);
	cursor: pointer;
	padding: 10px 15px;
}

.tab-content {
	display: none;
	margin-top: 10px;
}

/* Tab panels: shared min-height (max per-tab iframe, default 600px). */
.portfolio-tabs .tabs-contents > .tab-content {
	min-height: var(--portfolio-tab-content-min-height, 600px);
}

.tab-content iframe {
	min-height: 600px;
}

/* Per-tab iframe min-height from admin (.portfolio-tab-embed). */
.tab-content .portfolio-tab-embed iframe {
	min-height: var(--portfolio-iframe-min-height, 600px);
}

.tab-content:first-child {
	display: block;
}

.portfolio-tabs {
	width: 100%;
}

.portfolio-card {
	background: rgba(255, 255, 255, 1);
	border: 1px solid rgba(255, 255, 255, 1);
	border-radius: 9px;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
	gap: 16px;
	margin-bottom: 20px;
	padding: 20px 15px 20px 15px;
}

.portfolio-card.active {
	border: 1px solid rgba(13, 110, 253, 1);
	box-shadow: 1px 1px 9px 0 rgba(0, 0, 0, 0.1);
}

.portfolio-card:hover {
	border: 1px solid rgba(13, 110, 253, 1);
}

.portfolio-card__title {
	cursor: context-menu;
	font-family: omnes-pro, Helvetica-Neue, Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 22px;
	text-transform: uppercase;
}

.portfolio-card__row {
	color: rgba(75, 83, 94, 1);
	display: flex;
	flex-wrap: wrap;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 400;
	justify-content: space-between;
	line-height: 22px;
	width: 100%;
}

.portfolio-card__item-value {
	font-family: "Open Sans", sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	padding-left: 6px;
}

.fixed-width .portfolio-card__item-value {
	padding-left: 0;
}

@media (min-width: 320px) and (max-width: 1024px) {

	.portfolio-card__item-value {
		font-size: 16px;
		line-height: 1.4;
	}
}

.portfolio-card__item {
	display: flex;
	margin-right: 10px;
}

.column {
	flex-direction: column;
	gap: 6px;
}

.positive {
	color: rgba(0, 174, 66, 1);
}

.negative {
	color: rgba(221, 56, 44, 1);
}

.portfolio-tooltip {
	border-bottom: 1px dashed rgba(75, 83, 94, 1);
	cursor: pointer;
	display: inline-block;
	position: relative;
}

.fixed-width {
	max-width: 280px;
}

@media (min-width: 320px) and (max-width: 1024px) {

	.portfolio-tooltip {
		margin-left: auto;
	}
}

.portfolio-tooltip:hover .portfolio-tooltip__text {
	opacity: 1;
	visibility: visible;
}

.portfolio-tooltip__text {
	background: rgb(51, 51, 51);
	border-radius: 4px;
	color: rgb(255, 255, 255);
	font-size: 12px;
	max-width: 400px;
	opacity: 0;
	padding: 10px;
	pointer-events: none;
	position: absolute;
	right: 0;
	transition:
		top 0.2s ease-out,
		left 0.2s ease-out;
	visibility: hidden;
	white-space: normal;
	width: 320px;
	z-index: 1000;
}

.portfolio-tooltip__text::after {
	border-color: rgb(51, 51, 51) transparent transparent transparent;
	border-style: solid;
	border-width: 5px 5px 0 5px;
	bottom: -5px;
	content: "";
	height: 0;
	position: absolute;
	right: 10%;
	transform: translateX(-50%);
	width: 0;
}

.portfolio-tooltip__text-visible {
	opacity: 1;
	visibility: visible;
}

.portfolio-divider {
	border-top: 1px dashed rgba(224, 225, 227, 1);
}

.loader {
	align-items: center;
	color: rgb(153, 153, 153);
	display: flex;
	font-size: 16px;
	font-weight: 700;
	height: 100px;
	justify-content: center;
}

.loader::after {
	animation: spin 1s linear infinite;
	border: 4px solid rgb(243, 243, 243);
	border-radius: 50%;
	border-top: 4px solid rgba(255, 184, 11, 1);
	content: "";
	height: 30px;
	width: 30px;
}

@keyframes spin {

	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.hidden {
	display: none;
}
