.esub-company-logo {
	text-align: center;
	width: 100%;
}

.esub-pagetitle {
	color: var(--color-red);
}

.esub-company-logo img {
	display: inline-block;
}

.cataloge-label {
	font-weight: bold;
	margin-right: .25rem;
}

.grid-item {
	padding: 1.5rem 1.5rem 0 1.5rem;
	background-color: transparent;
	border: .3px solid var(--color-border-card);
	border-radius: 1.25rem;
	margin: 5px 0;
	width: 100vw;
	flex-wrap: wrap;
}

#catalogue-stats {
	display: flex;
	justify-content: space-between;
	margin: 3rem 0;
	gap: 1rem;
	color: var(--color-red);
	font-weight: bold;
	position: relative;
	align-items: center;

	>div {
		display: flex;
		flex: 0 1 10rem;
		flex-direction: column;
		gap: .5rem;
		justify-content: center;
		align-items: center;

		>span {
			display: block;
		}

		&.hr {
			display: none;
		}
	}
}

.catalogue-stats-label {
	font-weight: 100;
	text-align: center;
	line-height: 1rem;
}

.catalogue-stats-icon>svg {
	width: 2.5rem;
}

.catalogue-stats-value {
	font-size: 2em;
}

#companies-value {
	width: 14rem;
	text-align: center;
}

.company {
	display: flex;
	gap: 2rem;

	.company_logo {
		flex: 0 0 30%;
		display: flex;
		align-items: center;
		justify-content: center;

		.esub-company-logo {
			display: flex;
			justify-content: center;
			max-width: 100%;
		}
	}

	.company_info {
		flex: 1 0 50%;
	}

	.company_title {
		color: var(--color-warning);
	}
}

.enqueries-catalogue .grid-item {
	margin-top: 20px;
}

.esub-activityselect-field {
	max-width: 500px
}

h1.esub-pagetitle {
	height: 5rem;
}

@media(width>896px) {
	.grid-item {
		width: calc(50% - .5rem);
		flex-wrap: nowrap;
	}

	#catalogue-stats>div.hr {
		content: ' ';
		border-top: 2px solid var(--color-red);
		display: block;
		height: 2px;
		background: var(--color-red);
		width: 100%;
	}

	h1.esub-pagetitle {
		position: relative;
	}

	h1.esub-pagetitle:before,
	h1.esub-pagetitle:after {
		content: ' ';
		display: block;
		width: 7rem;
		height: 5rem;
		border: 2px solid var(--color-red);
		position: absolute;
		border-bottom: 0;
	}

	h1.esub-pagetitle:before {
		border-right: 0;
		top: 1.5rem;
		left: 7%;
	}

	h1.esub-pagetitle:after {
		border-left: 0;
		top: 1.5rem;
		right: 7%;
	}
}