﻿body {
}

.company-roster {
	max-width: 1440px;
	margin: 0 auto;
	width: 100%;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.search-section {
	margin-bottom: 20px;
}

.company-roster__search {
	margin-bottom: 15px;
}

	.company-roster__search input {
		width: 100%;
		padding: 8px;
		border: 1px solid #ddd;
		border-radius: 4px;
	}

.roster-item {
	padding: 15px;
	border: 1px solid #ddd;
	margin-bottom: 10px;
	border-radius: 4px;
}

.roster-item__name {
	margin: 0 0 10px 0;
}

.roster-item__website {
	text-decoration: none;
	font-weight: 700;
	font-size: 23px;
}

	.roster-item__website:hover {
		text-decoration: underline;
	}

.company-roster__search {
	flex: auto;
	width: auto;
}

select#search-field {
	width: 10%;
}

.company-roster__search-field.row {
	margin: auto;
}

.grid {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 20px;
}

.section-heading {
	margin-bottom: 10px;
}

/* Sticky filter only for larger screens */
@media (min-width: 992px) {
	.filters {
		border-radius: 8px;
		position: -webkit-sticky; /* For Safari */
		position: sticky;
		top: 190px; /* Adjusts the distance from the top of the viewport */
	}
}

.filter-wrapper {
	display: block;
	max-width: 287px;
}

.filters h5 {
	letter-spacing: 1px;
	margin-bottom: 15px;
	text-transform: uppercase;
}

#search-box {
	margin-bottom: 20px;
}

.catalog-content {
	display: flex;
	flex-direction: column;
}

.aiag-pagination-wrapper {
	position: sticky;
	top: 190px;
	background-color: #fff;
	z-index: 2;
	padding: 10px 0;
	margin-bottom: 20px;
}

.company-roster__content {
	display: flex;
	flex-direction: column;
}

.company-list {
	padding-top: 20px;
}

.result {
	display: flex;
}

.company-roster__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.update-error, .update-success {
	border-style: solid;
	border-width: 1px;
	padding: 18px;
}

.update-error {
	border-color: var(--color--error);
	color: var(--color-red);
}

.update-success {
	border-color: var(--color--success);
	color: var(--color-green-alt);
}

div#message-placeholder {
	padding: 15px 0;
}

@media (max-width: 992px) {
	.aiag-pagination-wrapper {
		top: 100px;
	}
}
