/* =========================================================
   TOSK - DUGNADSOVERSIKT
   Presentasjonen er avgrenset til .tosk-volunteer.
   ========================================================= */

.tosk-volunteer {
	position: relative;
	padding: 76px 0 84px;
	color: #fafaf6;
}

.tosk-volunteer__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 32px;
}

.tosk-volunteer__label,
.tosk-volunteer__filter-label,
.tosk-volunteer-modal__label {
	display: block;
	margin-bottom: 8px;
	color: #d69841;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.tosk-volunteer__title {
	margin: 0;
	color: #fafaf6;
	font-size: clamp(31px, 4vw, 50px);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -.025em;
}

.tosk-volunteer__title strong {
	font-weight: 800;
}

.tosk-volunteer__intro {
	max-width: 760px;
	margin: 15px 0 0;
	color: rgba(238, 238, 234, .65);
	font-size: 15px;
	line-height: 1.7;
}

.tosk-volunteer__divider {
	width: 54px;
	height: 3px;
	margin-top: 20px;
	background: #a71916;
}

.tosk-volunteer__halloffame {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	padding: 0 17px;
	border: 1px solid rgba(214, 152, 65, .42);
	border-radius: 10px;
	background: rgba(214, 152, 65, .035);
	color: #d69841 !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
	transition:
		transform .2s ease,
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease;
}

.tosk-volunteer__halloffame:hover {
	transform: translateY(-2px);
	border-color: #d69841;
	background: #d69841;
	color: #111416 !important;
}


/* =========================================================
   FILTERPANEL
   ========================================================= */

.tosk-volunteer__filter-card,
.tosk-volunteer__table-card {
	border: 1px solid rgba(255, 255, 255, .075);
	border-radius: 22px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .034), rgba(255, 255, 255, .007)),
		#15191c;
	box-shadow: 0 20px 52px rgba(0, 0, 0, .20);
}

.tosk-volunteer__filter-card {
	margin-bottom: 24px;
	padding: 26px;
}

.tosk-volunteer__filter-heading {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
}

.tosk-volunteer__filter-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(214, 152, 65, .26);
	border-radius: 13px;
	background: rgba(214, 152, 65, .075);
	color: #d69841;
	font-size: 16px;
}

.tosk-volunteer__filter-label {
	margin-bottom: 3px;
}

.tosk-volunteer__filter-heading h3 {
	margin: 0;
	color: #fafaf6;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.tosk-volunteer__filter-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.tosk-volunteer__field label {
	display: block;
	margin-bottom: 8px;
	color: rgba(245, 245, 241, .75);
	font-size: 12px;
	font-weight: 600;
}

.tosk-volunteer__field select {
	display: block;
	width: 100%;
	height: 47px;
	padding: 0 40px 0 14px;
	border: 1px solid rgba(255, 255, 255, .105);
	border-radius: 10px;
	outline: 0;
	background-color: rgba(4, 7, 9, .34);
	color: #f4f4f0;
	font-family: inherit;
	font-size: 13px;
	transition:
		border-color .2s ease,
		box-shadow .2s ease,
		background-color .2s ease;
}

.tosk-volunteer__field select:focus {
	border-color: rgba(214, 152, 65, .72);
	background-color: rgba(4, 7, 9, .52);
	box-shadow: 0 0 0 3px rgba(214, 152, 65, .10);
}

.tosk-volunteer__field select option {
	background: #171b1e;
	color: #f4f4f0;
}

.tosk-volunteer__filter-actions {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.tosk-volunteer__button,
.tosk-volunteer__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 17px;
	border-radius: 9px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition:
		transform .2s ease,
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease;
}

.tosk-volunteer__button:hover,
.tosk-volunteer__more:hover {
	transform: translateY(-1px);
}

.tosk-volunteer__button--primary {
	border: 1px solid #d69841;
	background: #d69841;
	color: #111416;
}

.tosk-volunteer__button--primary:hover {
	border-color: #e2aa5c;
	background: #e2aa5c;
}

.tosk-volunteer__button--secondary {
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .045);
	color: rgba(248, 248, 244, .82);
}

.tosk-volunteer__button--secondary:hover {
	border-color: rgba(255, 255, 255, .24);
	background: rgba(255, 255, 255, .09);
	color: #fff;
}


/* =========================================================
   DATATABLES
   ========================================================= */

.tosk-volunteer__table-card {
	padding: 25px;
	overflow: hidden;
}

.tosk-volunteer__table-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tosk-volunteer__table-card .dataTables_wrapper {
	min-width: 0;
	color: rgba(240, 240, 236, .68);
	font-size: 12px;
}

.tosk-volunteer__table-card .html5buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 18px;
}

.tosk-volunteer__table-card .dt-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.tosk-volunteer__table-card button.dt-button,
.tosk-volunteer__table-card div.dt-button,
.tosk-volunteer__table-card a.dt-button,
.tosk-volunteer__table-card input.dt-button {
	margin: 0 !important;
	padding: 8px 12px !important;
	border: 1px solid rgba(214, 152, 65, .32) !important;
	border-radius: 8px !important;
	background: rgba(214, 152, 65, .035) !important;
	box-shadow: none !important;
	color: #d69841 !important;
	font-family: inherit !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-shadow: none !important;
}

.tosk-volunteer__table-card button.dt-button:hover,
.tosk-volunteer__table-card div.dt-button:hover,
.tosk-volunteer__table-card a.dt-button:hover,
.tosk-volunteer__table-card input.dt-button:hover {
	border-color: #d69841 !important;
	background: #d69841 !important;
	color: #111416 !important;
}

.tosk-volunteer__table-card .dataTables_length,
.tosk-volunteer__table-card .dataTables_filter {
	margin: 0 0 18px;
	color: rgba(241, 241, 237, .65);
	font-size: 12px;
}

.tosk-volunteer__table-card .dataTables_filter {
	float: right;
}

.tosk-volunteer__table-card .dataTables_length select,
.tosk-volunteer__table-card .dataTables_filter input {
	height: 38px;
	margin-left: 7px;
	padding: 0 11px;
	border: 1px solid rgba(255, 255, 255, .105);
	border-radius: 8px;
	outline: none;
	background: rgba(4, 7, 9, .34);
	color: #f4f4f0;
	font-family: inherit;
	font-size: 12px;
}

.tosk-volunteer__table-card .dataTables_filter input:focus {
	border-color: rgba(214, 152, 65, .7);
	box-shadow: 0 0 0 3px rgba(214, 152, 65, .09);
}

.tosk-volunteer__table-card table.dataTable {
	width: 100% !important;
	min-width: 850px;
	margin: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0;
	border: 1px solid rgba(255, 255, 255, .065);
	border-radius: 13px;
	overflow: hidden;
	color: rgba(241, 241, 237, .76);
	font-size: 13px;
}

.tosk-volunteer__table-card table.dataTable thead th {
	padding: 14px 15px !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
	background-color: rgba(255, 255, 255, .035) !important;
	color: rgba(214, 152, 65, .88) !important;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tosk-volunteer__table-card table.dataTable tbody td {
	padding: 14px 15px !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, .052) !important;
	background: transparent !important;
	vertical-align: middle;
}

.tosk-volunteer__table-card table.dataTable tbody tr {
	background: transparent !important;
	transition: background-color .18s ease;
}

.tosk-volunteer__table-card table.dataTable tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, .012) !important;
}

.tosk-volunteer__table-card table.dataTable tbody tr:hover {
	background: rgba(214, 152, 65, .045) !important;
}

.tosk-volunteer__table-card table.dataTable tbody tr:last-child td {
	border-bottom: 0 !important;
}

.tosk-volunteer__more {
	min-height: 34px;
	padding: 0 11px;
	border: 1px solid rgba(214, 152, 65, .36);
	background: rgba(214, 152, 65, .035);
	color: #d69841;
	white-space: nowrap;
}

.tosk-volunteer__more:hover {
	border-color: #d69841;
	background: #d69841;
	color: #111416;
}

.tosk-volunteer__table-card .dataTables_info {
	padding-top: 18px !important;
	color: rgba(241, 241, 237, .48);
}

.tosk-volunteer__table-card .dataTables_paginate {
	padding-top: 14px !important;
}

.tosk-volunteer__table-card .dataTables_paginate .paginate_button {
	min-width: 34px;
	margin-left: 4px;
	padding: 7px 10px !important;
	border: 1px solid rgba(255, 255, 255, .08) !important;
	border-radius: 7px !important;
	background: rgba(255, 255, 255, .025) !important;
	color: rgba(244, 244, 240, .7) !important;
}

.tosk-volunteer__table-card .dataTables_paginate .paginate_button:hover,
.tosk-volunteer__table-card .dataTables_paginate .paginate_button.current,
.tosk-volunteer__table-card .dataTables_paginate .paginate_button.current:hover {
	border-color: #d69841 !important;
	background: #d69841 !important;
	color: #111416 !important;
}


/* =========================================================
   MODAL
   ========================================================= */

.tosk-volunteer-modal .modal-content {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .11) !important;
	border-radius: 22px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .008)),
		rgba(13, 16, 18, .94) !important;
	box-shadow: 0 30px 90px rgba(0, 0, 0, .48);
	color: #fafaf6;
}

.tosk-volunteer-modal .modal-header {
	align-items: flex-start;
	padding: 23px 25px;
	border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.tosk-volunteer-modal .modal-title {
	margin: 0;
	color: #fafaf6;
	font-size: 23px;
	font-weight: 800;
}

.tosk-volunteer-modal .modal-body {
	padding: 22px 25px 26px;
	color: rgba(244, 244, 240, .72);
}

.tosk-volunteer-modal__facts p {
	margin: 0 0 7px;
}

.tosk-volunteer-modal__divider {
	width: 42px;
	height: 3px;
	margin: 20px 0;
	background: #a71916;
}

.tosk-volunteer-modal__comment {
	margin-top: 8px;
	line-height: 1.72;
	white-space: pre-line;
}


/* =========================================================
   RESPONSIVT
   ========================================================= */

@media (max-width: 991px) {
	.tosk-volunteer {
		padding: 62px 0 70px;
	}

	.tosk-volunteer__heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.tosk-volunteer__filter-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.tosk-volunteer {
		padding: 48px 0 58px;
	}

	.tosk-volunteer__heading {
		gap: 22px;
		margin-bottom: 25px;
	}

	.tosk-volunteer__title {
		font-size: 31px;
	}

	.tosk-volunteer__intro {
		font-size: 14px;
		line-height: 1.65;
	}

	.tosk-volunteer__halloffame {
		width: 100%;
	}

	.tosk-volunteer__filter-card,
	.tosk-volunteer__table-card {
		border-radius: 18px;
	}

	.tosk-volunteer__filter-card {
		padding: 21px 18px;
	}

	.tosk-volunteer__filter-actions {
		flex-direction: column;
	}

	.tosk-volunteer__button {
		width: 100%;
	}

	.tosk-volunteer__table-card {
		padding: 18px 14px;
	}

	.tosk-volunteer__table-card .dataTables_length,
	.tosk-volunteer__table-card .dataTables_filter {
		float: none;
		width: 100%;
		text-align: left;
	}

	.tosk-volunteer__table-card .dataTables_filter input {
		width: calc(100% - 50px);
	}

	.tosk-volunteer__table-card .dataTables_info,
	.tosk-volunteer__table-card .dataTables_paginate {
		float: none;
		width: 100%;
		text-align: left;
	}

	.tosk-volunteer-modal .modal-dialog {
		margin: 14px;
	}

	.tosk-volunteer-modal .modal-content {
		border-radius: 18px;
	}

	.tosk-volunteer-modal .modal-header,
	.tosk-volunteer-modal .modal-body {
		padding-left: 19px;
		padding-right: 19px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tosk-volunteer__halloffame,
	.tosk-volunteer__button,
	.tosk-volunteer__more,
	.tosk-volunteer__table-card table.dataTable tbody tr {
		transition: none;
	}
}

