/* -----------------------------------------------------------------------------
   Group Documents
   ----------------------------------------------------------------------------- */

#buddypress .bb-media-container.group-media.bond-group-documents {
	padding-top: 0 !important;
}

.bond-group-documents .bond-documents-screen {
	font-size: 16px;
	margin: 0 auto;
	max-width: 100%;
	padding-top: 2rem;
}

.bond-group-documents .bond-documents-screen__breadcrumbs {
	margin: 0 0 12px;
	color: #989482;
	font: 400 14px/23.8px "DINNextRoundedLTProRegular", arial, sans-serif;
}

.bond-group-documents .bond-documents-screen__breadcrumbs a {
	color: #545246;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bond-group-documents .bond-documents-screen__header {
	width: 100%;
	margin: 0;
}

.bond-group-documents .bond-documents-screen__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 12px 0 21px;
	border-bottom: 1px solid #eee;
}

.bond-group-documents .bond-documents-screen__title {
	margin: 0;
	color: #37322d;
	font: 400 32px/38.4px "DINNextRoundedLTProRegular", arial, sans-serif;
	letter-spacing: 0;
}

.bond-group-documents .bond-documents-screen__actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
}

.bond-group-documents .bond-documents-screen__action.button.small.outline {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8.407px !important;
	height: 36.12px !important;
	min-height: 36.12px !important;
	padding: 7.567px 19.337px 5.885px 18.496px !important;
	margin: 0 !important;
	border: 0.841px solid #8a0026 !important;
	border-radius: 3.363px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #8a0026 !important;
	font: 400 15.97px/23.961px "DINNextRoundedLTProRegular", arial, sans-serif !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
	text-transform: none !important;
	white-space: nowrap;
}

.bond-group-documents .bond-documents-screen__action.button.small.outline:hover,
.bond-group-documents .bond-documents-screen__action.button.small.outline:focus {
	background: rgba(138, 0, 38, 0.05) !important;
	color: #8a0026 !important;
}

.bond-group-documents .bond-documents-screen__action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18.496px;
	height: 18.496px;
	color: currentColor;
}

.bond-group-documents .bond-documents-screen__action-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bond-group-documents .bond-documents-screen__action-icon svg path,
.bond-group-documents .bond-documents-screen__action-icon svg circle {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.bond-group-documents .bond-documents-screen__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 81.5px;
	padding: 20px 0;
	box-sizing: border-box;
}

.bond-group-documents .bond-documents-screen__search {
	flex: 0 0 285px;
	width: 285px;
	margin: 0;
}

.bond-group-documents .bond-documents-screen__search .bp-dir-search-form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 41.5px !important;
	min-height: 41.5px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid #989482 !important;
	border-radius: 4px !important;
	background: #fff !important;
	box-shadow: none !important;
	overflow: hidden;
}

.bond-group-documents .bond-documents-screen__search .bp-dir-search-form::before {
	display: none !important;
}

.bond-group-documents .bond-documents-screen__search input[type="search"] {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	padding: 8px 44px 8px 16px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #37322d !important;
	font: 400 17px/25.5px "DINNextRoundedLTProRegular", arial, sans-serif !important;
}

.bond-group-documents .bond-documents-screen__search input[type="search"]::placeholder {
	color: #989482 !important;
	opacity: 1;
}

.bond-group-documents .bond-documents-screen__search .bp-dir-search-form:hover,
.bond-group-documents .bond-documents-screen__search .bp-dir-search-form:focus-within {
	border-color: #545246 !important;
}

.bond-group-documents .bond-documents-screen__search .nouveau-search-submit {
	appearance: none !important;
	-webkit-appearance: none !important;
	position: absolute;
	top: 50%;
	right: 8px;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	min-height: 24px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #545246 !important;
	transform: translateY(-50%);
}

.bond-group-documents .bond-documents-screen__search .nouveau-search-submit:hover,
.bond-group-documents .bond-documents-screen__search .nouveau-search-submit:focus {
	color: #37322d !important;
}

.bond-group-documents .bond-documents-screen__search .nouveau-search-submit #button-text {
	display: none;
}

.bond-group-documents .bond-documents-screen__search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
}

.bond-group-documents .bond-documents-screen__search-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bond-group-documents .bond-documents-screen__search-icon svg path,
.bond-group-documents .bond-documents-screen__search-icon svg circle {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.bond-group-documents .bond-documents-screen__filter {
	flex: 0 0 209px;
	width: 209px;
	margin-left: auto;
}

.bond-group-documents .bond-documents-screen__filter-wrap {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 41.5px;
}

.bond-group-documents .bond-documents-screen__filter-select {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 41.5px !important;
	padding: 8px 40px 8px 16px !important;
	margin: 0 !important;
	border: 1px solid #989482 !important;
	border-radius: 4px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #37322d !important;
	font: 400 17px/25.5px "DINNextRoundedLTProRegular", arial, sans-serif !important;
}

.bond-group-documents .bond-documents-screen__filter-select:hover,
.bond-group-documents .bond-documents-screen__filter-select:focus {
	border-color: #545246 !important;
	outline: none !important;
}

.bond-group-documents .bond-documents-screen__filter-icon {
	position: absolute;
	top: 50%;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 12px;
	height: 8px;
	color: #545246;
	pointer-events: none;
	transform: translateY(-50%);
}

.bond-group-documents .bond-documents-screen__filter-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bond-group-documents .bond-documents-screen__filter-icon svg path {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.bond-group-documents .bond-documents-table {
	width: 100%;
}

.bond-group-documents .bond-documents-table__head {
	display: grid;
	grid-template-columns: 417px 146px minmax(0, 1fr) 30px;
	align-items: start;
	width: 100%;
	padding: 0 30px 9px 0;
	margin: 0;
	border-bottom: 1px solid #e7e9ec;
	box-sizing: border-box;
}

.bond-group-documents .bond-documents-table__sort,
.bond-group-documents .bond-documents-table__sort--static {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	width: auto;
	min-width: 0;
	min-height: 0;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #37322d;
	letter-spacing: 0;
	text-align: left;
}

.bond-group-documents .bond-documents-table__head > :first-child {
	padding-left: 13px !important;
}

.bond-group-documents button.bond-documents-table__sort {
	appearance: none !important;
	-webkit-appearance: none !important;
	cursor: pointer;
	font: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
}

.bond-group-documents .bond-documents-table__sort--static {
	cursor: default;
}

.bond-group-documents .bond-documents-table__sort-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 9px;
	height: 9px;
	flex: 0 0 9px;
	color: #989482;
}

.bond-group-documents .bond-documents-table__sort-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bond-group-documents .bond-documents-table__sort.is-active {
	color: #37322d;
}

.bond-group-documents .bond-documents-table__sort.is-active .bond-documents-table__sort-icon {
	width: 9px;
	height: 9px;
	flex-basis: 9px;
	color: #8a0026;
}

.bond-group-documents .bond-documents-table__body {
	width: 100%;
}

.bond-group-documents .bond-document-row {
	display: grid;
	grid-template-columns: 47px 371px 146px minmax(0, 314px) 30px;
	align-items: center;
	width: 100%;
	height: 76px;
	min-height: 0;
	padding: 15px 12px 16px 0;
	margin: 0;
	box-sizing: border-box;
	border-bottom: 1px solid #f4f4f2;
	background: #fff;
}

.bond-group-documents .bond-document-row.is-pinned {
	background: rgba(182, 0, 45, 0.08);
}

.bond-group-documents .bond-document-row__icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.bond-group-documents .bond-document-row__icon > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 30px;
	color: #8a0026;
	text-decoration: none;
}

.bond-group-documents .bond-document-row__icon-svg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	color: currentColor;
}

.bond-group-documents .bond-document-row__icon-svg svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bond-group-documents .bond-document-row__details {
	min-width: 0;
}

.bond-group-documents .bond-document-row__name-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 356.32px;
	color: #37322d;
	font: 400 15px/28.5px "DINNextRoundedLTProRegular", arial, sans-serif;
	text-decoration: none;
}

.bond-group-documents .bond-document-row__name-link:hover,
.bond-group-documents .bond-document-row__name-link:focus {
	color: #37322d;
	text-decoration: none;
}

.bond-group-documents .bond-document-row__name-text {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bond-group-documents .bond-document-row__name-count {
	flex: 0 0 auto;
	margin-left: 0;
	color: #989482;
}

.bond-group-documents .bond-document-row.is-pinned .bond-document-row__name-link {
	color: #560014;
}

.bond-group-documents .bond-document-row.is-pinned .bond-document-row__name-count {
	color: #545246;
}

.bond-group-documents .bond-document-row__pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-left: 0;
	color: #8a0026;
}

.bond-group-documents .bond-document-row__pin svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bond-group-documents .bond-document-row__pin svg path {
	fill: currentColor;
}

.bond-group-documents .bond-document-row__size,
.bond-group-documents .bond-document-row__meta {
	color: #989482;
	font: 400 15px/28.5px "DINNextRoundedLTProRegular", arial, sans-serif;
}

.bond-group-documents .bond-document-row__size .media-folder_details__bottom,
.bond-group-documents .bond-document-row__meta .media-folder_details__bottom {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0;
	white-space: nowrap;
}

.bond-group-documents .bond-document-row__date,
.bond-group-documents .bond-document-row__author-prefix,
.bond-group-documents .bond-document-row__author,
.bond-group-documents .bond-document-row__size-text {
	color: inherit;
}

.bond-group-documents .bond-document-row__date {
	flex: 0 0 auto;
	margin-right: 4px;
}

.bond-group-documents .bond-document-row__author-prefix {
	flex: 0 0 auto;
}

.bond-group-documents .bond-document-row__author {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bond-group-documents .bond-document-row.is-pinned .bond-document-row__size,
.bond-group-documents .bond-document-row.is-pinned .bond-document-row__meta {
	color: #545246;
}

.bond-group-documents .bond-document-row__group,
.bond-group-documents .bond-document-row__visibility {
	display: none;
}

.bond-group-documents .bond-document-row__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 19px;
}

.bond-group-documents .bond-document-row__action-anchor,
.bond-group-documents .bond-documents-screen__options-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #989482;
	text-decoration: none;
}

.bond-group-documents .bond-document-row.is-pinned .bond-document-row__action-anchor {
	color: #545246;
}

.bond-group-documents .bond-document-row__action-anchor:hover,
.bond-group-documents .bond-document-row__action-anchor:focus,
.bond-group-documents .bond-documents-screen__options-trigger:hover,
.bond-group-documents .bond-documents-screen__options-trigger:focus {
	color: #545246;
}

.bond-group-documents .bond-document-row.is-pinned .bond-document-row__action-anchor:hover,
.bond-group-documents .bond-document-row.is-pinned .bond-document-row__action-anchor:focus {
	color: #37322d;
}

.bond-group-documents .bond-document-row__action-anchor svg,
.bond-group-documents .bond-documents-screen__options-trigger svg {
	display: block;
	width: 19px;
	height: 19px;
}

#media-folder-document-data-table .media-folder_items .media-folder_details .media-folder_name,
.search-document-list .media-folder_items .media-folder_details .media-folder_name {
	font-size: 16px !important;
}

.bond-group-documents .media-folder_action__list.bb_more_dropdown {
	top: calc(100% + 10px);
	left: auto;
	right: -6px;
}

.bond-group-documents .bond-documents-screen__folder-options {
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
}

.bond-group-documents .bond-documents-screen__folder-options .media-folder_actions {
	position: relative;
}

.bond-group-documents .bond-documents-table__pager {
	display: flex;
	justify-content: center;
	padding: 24px 0 0;
}

.bond-group-documents .bond-documents-table__load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 148px;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid #8a0026;
	border-radius: 4px;
	color: #8a0026;
	font: 400 15px/1.4 "DINNextRoundedLTProRegular", arial, sans-serif;
	text-decoration: none;
}

.bond-group-documents .bond-documents-table__load-more:hover,
.bond-group-documents .bond-documents-table__load-more:focus {
	background: rgba(138, 0, 38, 0.05);
	color: #8a0026;
}

.bond-group-documents .bond-documents-table__load-more.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.bond-group-documents .bond-documents-table__empty {
	padding-top: 12px;
}

.bond-group-documents .bond-documents-table__empty .bp-feedback {
	margin: 0;
}

@media (max-width: 960px) {
	.bond-group-documents .bond-documents-screen__title-row,
	.bond-group-documents .bond-documents-screen__controls {
		height: auto;
		min-height: 0;
		flex-wrap: wrap;
	}

	.bond-group-documents .bond-documents-screen__actions {
		width: 100%;
		justify-content: flex-start;
	}

	.bond-group-documents .bond-documents-screen__filter {
		margin-left: 0;
	}

	.bond-group-documents .bond-documents-table__head {
		grid-template-columns: minmax(0, 1fr) 120px 250px 30px;
	}

	.bond-group-documents .bond-document-row {
		grid-template-columns: 47px minmax(0, 1fr) 120px minmax(0, 250px) 30px;
	}

	.bond-group-documents .bond-document-row__name-link {
		max-width: none;
	}
}

@media (max-width: 767px) {
	.bond-group-documents .bond-documents-screen__search,
	.bond-group-documents .bond-documents-screen__filter {
		flex: 1 1 100%;
		width: 100%;
	}

	.bond-group-documents .bond-documents-table__head {
		display: none;
	}

	.bond-group-documents .bond-document-row {
		grid-template-columns: 47px minmax(0, 1fr) 30px;
		grid-template-areas:
			"icon name actions"
			"icon size actions"
			"icon meta actions";
		height: auto;
		padding: 14px 0;
		row-gap: 2px;
	}

	.bond-group-documents .bond-document-row__icon {
		grid-area: icon;
	}

	.bond-group-documents .bond-document-row__details {
		grid-area: name;
	}

	.bond-group-documents .bond-document-row__size {
		grid-area: size;
	}

	.bond-group-documents .bond-document-row__meta {
		grid-area: meta;
	}

	.bond-group-documents .bond-document-row__actions {
		grid-area: actions;
		align-self: start;
	}

	.bond-group-documents .bond-document-row__meta .media-folder_details__bottom {
		flex-wrap: wrap;
		white-space: normal;
	}

	.bond-group-documents .bond-document-row__size,
	.bond-group-documents .bond-document-row__meta {
		font-size: 13px;
		line-height: 1.5;
	}
}
