@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&display=swap');

html, body {
	padding: 0;
	margin: 0;
	background: #fff;
}

html {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	line-height: normal;
	/* letter-spacing: .01rem; */
	color: #666;
}

h1, h2, h3, h4, h5, h6 {
	/* margin: 0.3em 0; */
	line-height: normal;
}

a {
	color: #333;
}
	a:hover, a:focus {
		color: #37a5a4;
	}

img {
	max-width: 100%;
	border: 0;
}

table {
	width: 100%;
}
	table th,
	table td {
		text-align: left;
		vertical-align: top;
	}

ol, ul {
	margin: 0;
	padding-left: 1em;
}
	li {
		margin-bottom: 0.3em;
	}

h1.thermo {
	position: relative;
	margin: -10px -10px 1em -10px;
	padding: 10px;
	text-transform: uppercase;
	font-size: 16px;
	color: #047c81;
	border-bottom: 1px solid #eee;
}
	h1.thermo:before {
		content: '';
		height: 1em;
		width: 3px;
		background: #36a4a4;
		display: block;
		float: left;
		margin-right: 10px;
		margin-left: -10px;
	}

/**
 * App component
 */

.App {
	position: relative;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

.Header {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	z-index: 10;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
	.Header-left {
		margin-right: 20px;
	}
	.Header-right {
		display: flex;
		/* justify-content: center; */
		flex-wrap: nowrap;
	}
	.Header-logo {
		display: inline-block;
		margin-left: 10px;
	}
		.Header-logo img {
			width: 100%;
			max-width: 200px;
		}

	@media all and (max-width: 600px) {
		.Header {
			/* justify-content: space-between; */
			/* flex-direction: column; */
		}
	}

/**
 * MapBox overrides
 */
.App .mapboxgl-map {
	font: inherit;
}
	.App .mapboxgl-marker {
		cursor: pointer;
	}
	.App .mapboxgl-popup {
		max-width: none !important;
	}
		.App .mapboxgl-popup-close-button {
			z-index: 2;
			font-size: 20px;
		}
		.App .mapboxgl-popup-content {
			padding: 0;
			max-width: 380px;
			box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
		}
		.App .mapboxgl-popup-tip {
			border-top-color: #37a5a4;
			filter: drop-shadow(0px 1px 3px rgba(0,0,0, 0.7));
		}

/**
 * Slider component
 */

input[type=range] {
	-webkit-appearance: none;
	margin: 18px 0;
	width: 100%;
}
	input[type=range]:focus {
		outline: none;
	}
	input[type=range]::-webkit-slider-runnable-track {
		width: 100%;
		height: 8.4px;
		cursor: pointer;
		animate: 0.2s;
		box-shadow: none;
		background: #eee;
		border-radius: 1.3px;
		border: none;
	}
		input[type=range]:focus::-webkit-slider-runnable-track {
			background: #eee;
		}
	input[type=range]::-webkit-slider-thumb {
		box-shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);
		border: none;
		height: 30px;
		width: 16px;
		border-radius: 3px;
		background: #35a5a4;
		cursor: pointer;
		-webkit-appearance: none;
		margin-top: -10px;
	}

/**
 * ToggleField component
 */

.ToggleField {
	position: relative;
	display: inline-block;
}
.ToggleField input {
	position: relative;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: border-box;
	font-size: inherit;
	width: 40px;
	height: 19px;
	background: #aaa;
	border-radius: 10px;
	display: inline-block;
	outline: none;
	margin: 0;
	vertical-align: middle;
	transition: 200ms background-color;
	cursor: pointer;
}

.toggle-container .ToggleField input {
	padding-left: 0;
	border: none;
	position: relative;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: border-box;
	font-size: inherit;
	width: 40px;
	height: 19px;
	background: #aaa;
	border-radius: 10px;
	display: inline-block;
	outline: none;
	margin: 0;
	vertical-align: middle;
	transition: 200ms background-color;
}
.ToggleField input:focus,
.ToggleField input:hover {
	background-color: #555;
}
.ToggleField input:after {
	content: '';
	display: block;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #eee;
	position: absolute;
	top: 2px;
	transition: 150ms all;
	transform: translateX(2px);
}
.ToggleField input:checked {
	background-color: #35a5a4;
}
.ToggleField input:checked:after {
	transform: translateX(23px);
	background-color: #fff;
}

/**
* TextField component
*/

.TextField {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: border-box;
	font-size: inherit;
	width: 100%;
	padding: 10px;
	margin: 0.3em 0;
	position: relative;
	background: #eee;
	border: 0;
	border-bottom: 1px solid #35a5a4;
	box-shadow: 0px 7px 8px -6px rgb(215, 236, 236);
	outline: none;
	font: inherit;
	transition: 400ms box-shadow, 200ms background-color;
}
	.TextField:focus {
		box-shadow: 0px 5px 8px -6px rgb(54, 164, 164);
		background-color: #c0e2e2;
	}

.SelectField {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: border-box;
	font-size: inherit;
	display: block;
	margin: 0.3em 0;
	padding: 10px;
	position: relative;
	width: 100%;
	padding: 10px;
	border-radius: 0;
	background: #eee;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
	border: 0;
	border-bottom: 1px solid #35a5a4;
	box-shadow: 0px 7px 8px -6px rgb(215, 236, 236);
	outline: none;
	transition: 400ms box-shadow, 200ms background-color;
}
	.SelectField:focus {
		box-shadow: 0px 5px 8px -6px rgb(54, 164, 164);
		background-color: #c0e2e2;
	}

/**
 * Button component
 */

.Button {
	position: relative;
	background: #fff;
	border: 0;
	box-shadow: 0 2px 4px -2px rgba(0,0,0,0.5);
	color: #006767;
	font-size: 0.8em;
	padding: 1.2em;
	text-transform: uppercase;
	user-select: none;
	margin: 0;
	cursor: pointer;
	text-align: left;
}
	.Button:focus, .Button:active, .Button:hover, .Button.active {
		background-color: #edfbfb;
		color: #004848;
		z-index: 1;
	}
	.Button[disabled] {
		opacity: 0.5;
	}
	.Button.primary {
		background-color: #047c81;
		color: #fff;
	}
		.Button.primary:focus, .Button.primary:active, .Button.primary:hover {
			background-color: #35a5a4;
			color: #fff;
		}
	.Button.Button--icon {
		padding-left: 40px;
	}
		.Button__icon {
			position: absolute;
			left: 12px;
			top: 12px;
		}

/**
 * DropdownButton component
 */

.DropdownButton {
	position: relative;
	display: inline-block;
	outline: none;
}
	.DropdownButton.open .DropdownButton-button {
		background-color: #edfbfb;
		color: #004848;
	}
	.DropdownButton-button-icon {
		position: relative;
		vertical-align: middle;
		margin: -1em 0;
	}
	.DropdownButton-options {
		position: absolute;
		background: #fff;
		box-shadow: 2px 2px 10px -2px rgba(0,0,0,0.6);
		visibility: hidden;
		z-index: 10;
		min-width: 200px;
		margin-top: -6px;
		top: 100%;
		left: 6px;
	}
		.DropdownButton.above .DropdownButton-options {
			top: auto;
			bottom: 100%;
			margin-top: 0;
			margin-bottom: -6px;
		}
		.DropdownButton.left .DropdownButton-options {
			left: auto;
			right: 0;
		}
		.DropdownButton.open .DropdownButton-options {
		/* .DropdownButton:not(.open) .DropdownButton-options:hover { */
			visibility: visible;
		}
		.DropdownButton-options .Button {
			display: block;
			width: 100%;
			box-shadow: none;
			border-bottom: 1px solid #efefef;
			padding-top: 0.8em;
			padding-bottom: 0.8em;
			text-align: left;
			white-space: nowrap;
			margin-left: 0;
			margin-right: 0;
		}
		.DropdownButton-options .Slider {
			padding: 10px;
		}

.Slider {
	position: relative;
}
	.Slider input {
		width: 100%;
		box-sizing: border-box;
	}
	.Slider-legend {
		font-size: 12px;
		display: flex;
		width: 100%;
		justify-content: space-between;
		margin-bottom: 2px;
	}

/**
 * Datefield component
 */

.DateField {
	position: relative;
}
	.DateField svg {
		pointer-events: none;
	}
	.DateField__group {
		position: relative;
		z-index: 0;
	}
		.DateField__input {

		}
		.DateField__toggle {
			outline: none;
			border: 0;
			background: transparent;
			font: inherit;
			top: 4px;
			right: 0;
			position: absolute;
			color: #777;
			height: 40px;
			width: 40px;
		}
		.DateField__toggle:focus,
		.DateField__toggle:hover,
		.DateField__toggle.active {
			color: #35a5a4;
		}

.DatePicker {
	position: absolute;
	padding: 0.5em;
	width: 15em;
	margin-top: -4px;
	right: 0;
	z-index: 1;
}
	.DatePicker__header {
		display: flex;
		justify-content: space-between;
		border-bottom: 1px solid #eee;
		padding-bottom: 0.3em;
		margin-bottom: 0.3em;
	}
		.DatePicker__header button {
			outline: none;
			border: 0;
			background: #fff;
			font: inherit;
			cursor: pointer;
		}
			.DatePicker__header button:focus,
			.DatePicker__header button:hover {
				color: #35a5a4;
			}
	.DatePicker__grid {
		display: grid;
		grid-template-columns: repeat(7, 1fr);
	}
	.DatePicker__dayofweek {
		text-align: right;
		border-bottom: 1px solid #eee;
		padding-bottom: 0.3em;
		margin-bottom: 0.3em;
	}
	.DatePicker__day button {
		outline: none;
		border: 1px solid transparent;
		background: #fff;
		padding: 0.3em;
		display: block;
		font: inherit;
		box-sizing: border-box;
		width: 100%;
		text-align: right;
		cursor: pointer;
	}

	.DatePicker__day button[disabled] {
		cursor: default;
	}

	.DatePicker__day button:not([disabled]):focus,
	.DatePicker__day button:not([disabled]):hover {
		border-color: #ddd;
	}
	.DatePicker__day button.active {
		border-color: #35a5a4;
		color: #35a5a4;
	}

/**
 * Collapsible component
 */

.Collapsible {
	position: relative;
	margin-bottom: 2px;
}
	.Collapsible-toggler {
		position: relative;
		border: 0;
		background: none;
		display: block;
		width: 100%;
		text-align: left;
		padding: 4px 0 0 10px;
		font-size: inherit;
		font-family: inherit;
		color: inherit;
		border-left: 3px solid #eee;
		outline: none;
		cursor: pointer;
	}
		.Collapsible-toggler:hover,
		.Collapsible-toggler:focus,
		.Collapsible.open .Collapsible-toggler {
			border-color: #37a4a4;
			color: #37a4a4;
		}
	.Collapsible-container {
		position: relative;
	}
		.Collapsible.open .Collapsible-container {
			margin: 10px 0;
		}

/**
 * MarkerPopup component
 */

.ProjectMarkerPopup {
	position: relative;
	padding: 20px;
	width: 340px;
}

.MarkerPopup {
	position: relative;
	padding: 20px;
	width: 340px;
}
	.MarkerPopup a {
		text-decoration: none;
	}
	.MarkerPopup-contents h3 {
		margin: 0 0 0.5em 0;
		font-size: 1.7em;
	}
	.MarkerPopup-phone {
		font-size: 1.7em;
		margin: 0 auto 0.5em auto;
		display: block;
		text-align: center;
		padding: 0.5em 0;
		max-width: 80%;
		border-radius: 10px;
	}
		.MarkerPopup-phone:hover,
		.MarkerPopup-phone:focus {
			background: #f5f5f5;
		}
		.MarkerPopup-phone .feather-phone {
			position: relative;
			top: 3px;
		}
	.MarkerPopup-lastupdated {
		text-align: center;
		color: #aaa;
	}
	.MarkerPopup-lastTimeline {
		position: relative;
		margin: 10px 0;
		max-height: 100px;
		overflow: auto;
		color: #aaa;
		font-style: italic;
		border-top: 1px solid #eee;
		padding: 10px 0;
		font-size: 12px;
		line-height: 16px;
	}
	.MarkerPopup-additional {
		position: relative;
	}
		.MarkerPopup-additional .Collapsible-container {
			border: 1px solid #eee;
			padding: 10px;
			border-radius: 10px;
		}
		.MarkerPopup-additional-projects {
			margin-bottom: 1em;
		}
	.MarkerPopup-tags {
		position: relative;
		color: #777;
		margin: 1em -20px 0 -20px;
		font-size: 0.8em;
		text-align: center;
		background: #f5f5f5;
		padding: 1em 20px 1em 20px;
	}
		.MarkerPopup-tag {
			position: relative;
			white-space: nowrap;
			display: inline-block;
		}
		.MarkerPopup-tag:not(:last-child):after {
			content: ',';
			display: inline-block;
			margin: 0 5px 0 0;
		}
.MarkerPopup-actions {
	background: #37a5a4;
	padding: 10px;
	margin: 0 -20px -20px -20px;
	text-align: center;
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 6px;
}
.MarkerPopup-actions > .DropdownButton,
.MarkerPopup-actions > .Button {
	white-space: nowrap;
	text-align: center;
}
.MarkerPopup-actions > .DropdownButton > .Button {
	text-align: center;
	width: 100%;
}

.Card {
	background-color: #fff;
	box-shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);
	box-sizing: border-box;
}

.MapCard {
	position: relative;
	padding: 10px;
}

.CardStack {
	position: relative;
}
	.CardStack .Card {
		margin-bottom: 1em;
	}

.Map__CardStack {
	position: absolute;
	right: 20px;
	top: 20px;
	width: 300px;
	z-index: 2;
}

/**
 * MapPage
 */

.MapPage {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: 100vh;
}

/**
 * LoginPage
 */

.LoginPage {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	background: url('https://picsum.photos/id/368/1920/1080') no-repeat center center;
	background-size: cover;
}
	.LoginForm {
		box-sizing: border-box;
		position: relative;
		width: 100%;
		max-width: 300px;
		height: 100%;
		background: #fff;
		padding: 1em;
		box-shadow: 0 0 50px rgba(0,0,0,0.2);
		transform: translateX(0);
		transition: 200ms transform;
	}
		.LoginForm.hide {
			transform: translateX(-100%);
		}
		.LoginForm-logo {
			position: relative;
			margin: 1em 0;
			display: block;
		}
		.LoginForm-row {
			position: relative;
			margin: 1em 0;
		}
			.LoginForm-row label {
				display: block;
				margin: 0.3em 0;
			}

/**
 * Modals
 */
.Modal {
	position: relative;
	background: #fff;
	padding: 10px 20px 20px 20px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
	margin: 30px;
	border-radius: 3px;
}
	.Modal-close-button {
		position: absolute;
		z-index: 2;
		font-size: 20px;
		right: 0;
		top: 0;
		border: 0;
		border-radius: 0 3px 0 0;
		cursor: pointer;
		background-color: transparent;
	}
		.Modal-close-button:hover {
			background-color: rgba(0, 0, 0, 0.05);
		}
	.Modal h1.thermo {
		margin-left: -20px;
		margin-right: -20px;
	}

/* Notication plugin */
.notifications {
	margin: 0 10px 10px 0;
}
	html .notification-wrapper {
		/* padding: 10px; */
	}
	/* html .vue-notification {
		box-shadow: 0 0 10px rgba(0,0,0,0.5);
	} */

/* Fade transition */
.fade-enter-active, .fade-leave-active {
	transition: opacity .5s;
}
.fade-enter, .fade-leave-to {
	opacity: 0;
}

.Table {
}
	.Table th, .Table td {
		padding: 4px;
	}
	.Table.striped tbody tr:nth-child(2n) td {
		background: #f9f9f9;
	}
	.Table.striped tbody tr.active td {
		background: #c0e2e2;
	}

.clickable {
	cursor: pointer;
}
.nowrap {
	white-space: nowrap;
}

/**
 * TableCountsCard component
 */

.TableCountsCard {
	display: table;
	padding: 9px;
	height: 100%;
}
	.TableCountsCard > div {
		display: table-row;
	}
		.TableCountsCard > div > div {
			display: table-cell;
		}
			.TableCountsCard > div > div:first-child {
				font-weight: bold;
				width: 120px;
			}

/**
 * Admin
 */

.AdminLayout {
	position: relative;
}
	.AdminLayout-main {
		display: flex;
		flex-direction: row;
		z-index: 1;
		position: relative;
		overflow: hidden;
	}
	.AdminLayout-sidebar {
		height: calc(100vh - 44px);
		width: 200px;
		background: #fff;
		box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px;
		z-index: 2;
		position: relative;
		box-sizing: border-box;
	}
		.AdminLayout-sidebar .Button {
			width: 100%;
		}
	.AdminLayout-content {
		height: calc(100vh - 44px);
		overflow: auto;
		flex-grow: 1;
		background: rgb(255, 255, 255);
		z-index: 1;
		position: relative;
		padding: 20px;
		box-sizing: border-box;
	}

.AdminPage {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 30px;
}
	.AdminPage h1 {
		position: relative;
		margin: -10px -10px 1em -10px;
		background: #ffffff;
		padding: 10px;
		text-transform: uppercase;
		font-size: 16px;
		color: #047c81;
		border-bottom: 1px solid #eee;
	}
	.AdminPage h1:before {
		content: '';
		height: 1em;
		width: 3px;
		background: #36a4a4;
		display: block;
		float: left;
		margin-right: 10px;
		margin-left: -10px;
	}
	.AdminPage h2 {
		position: relative;
		font-size: 1.2em;
		margin: 1.3em 0 0.5em 0;
	}

.AdminForm-row {
	margin-bottom: 0.3em;
}

.AdminUsersPage {
	display: flex;
	flex-direction: row;
	min-height: 100%;
	box-sizing: border-box;
}
	.AdminUsersPage-side {
		width: 300px;
		padding: 10px;
		margin-right: 20px;
		flex-basis: 300px;
		min-width: 300px;
	}
	.AdminUsersPage-main {
		flex-grow: 1;
		padding: 10px;
	}

.AdminDashboardPage {
	display: grid;
	grid-gap: 30px;
	grid-template-columns: repeat(3, 1fr);
}

.AdminSyncPage-main,
.AdminGeoLocationsPage-main {
	padding: 10px;
}

.sidebar-right {
	overflow: auto;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 300px;
	height: 100%;
	position: absolute;
	background: white;
	right: 0;
	z-index: 10;
	box-shadow: 0 10px 10px rgb(0 0 0 / 20%);
	padding: 10px;
}

.search-container {
	display: flex;
	margin-bottom: 1rem;
}

.search-container input::placeholder {
	color: #aaa;
}

.search-container input {
	height: 36px;
	font-size: 1rem;
	padding-left: 8px;
	width: 100%;
	border: 2px solid #aaa;
	border-radius: 5px;
	color: #666;
}

.search-container button {
	margin-left: 8px;
	background-color: #35a5a4;
	color: white;
	border: none;
	border-radius: 4px;
	height: 36px;
	width: 36px;
}

.search-card {
	min-width: 600px;
	min-height: 600px;
	box-sizing: border-box;
	height: 60%;
	width: 60%;
	position: absolute;
	right: 300px;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	display: flex;
	flex-direction: column;
}

.search-card .header {
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	margin: -10px -10px 0;
}

.search-card .content {
	overflow-y: scroll;
}

.search-card .header button {
	background: none;
	border: none;
}

.search-header {
	font-size: 16px;
	color: #047c81;
	margin: 0;
	padding: 10px;
}

button {
	cursor: pointer;
}

.search-item {
	display: flex;
	padding: 16px 8px;
	border-bottom: 1px solid #aaa;
}

.search-item:nth-last-child(1) {
	border: none;
}

.search-item .address-information {
	width: 30%;
	display: flex;
	flex-direction: column;
}

.search-item .address-information .name {
	font-weight: bold;
	color: #666;
}

.search-item .contact-information {
	display: flex;
	flex-direction: column;
	margin-left: 48px;
	align-self: flex-end;
}

.search-item .actions-container {
	justify-self: flex-end;
	margin-left: auto;
	display: flex;
}

.search-item .actions-container .phone {
	height: 50px;
	width: 60px;
	border: 2px solid #047c81;
	border-radius: 2px;
	color: #047c81;
	background-color: #8dd7cf;
	margin-right: 10px;
}

.search-item .actions-container .info {
	height: 50px;
	width: 60px;
	border: 2px solid #666;
	border-radius: 2px;
	color: #666;
	background-color: #eee;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
}

.mfaKeyRow {
	display: flex;
}

.mfaKeyRow .AdminForm-row {
	width: 100%;
}

.mfaCopyButton {
	height: 43px;
	align-self: end;
	margin-bottom: 0.6rem;
}

.color-card {
	padding: 10px;
	margin-bottom: 32px;
}

.add-card.content {
	display: flex;
}

.color-card .AdminForm-row {
	width: 100%;
	margin-right: 16px;
}

.add-card button {
	height: 43px;
	align-self: flex-end;
	margin-bottom: 0.4rem;
}

.color-card .row {
	display: flex;
	width: 100%;
	margin: 16px 8px;
}

.color-card .header-text {
	font-weight: 800;
}

.color-card span {
	width: 33%;
	display: inline-flex;
	align-items: center;
}

.color-card .color-preview {
	width: 100px;
}

.color-card .actions-container{
	justify-self: flex-end;
	margin-left: auto;
}

.color-card .remove-button {
	height: 48px;
	width: 48px;
	border: none;
	border-radius: 2px;
	color: white;
	background-color: #E53935;
	margin-right: 10px;
}

.color-card .move-button {
	height: 48px;
	width: 48px;
	border: 2px solid #eee;
	border-radius: 2px;
	color: black;
	background-color: white;
	margin-right: 10px;
}

.list-view-popup {
	position: absolute;
	left: 0;
	right: 300px;
	top: 0;
	bottom: 0;
	margin: auto;
	height: fit-content;
}

.add-relation-button {
	text-align: center;
	justify-self: flex-end;
	margin-top: auto;
	padding: 5px;
	background-color: #35a5a4;
	color: white;
	border: none;
	border-radius: 4px;
	font-weight: bold;
	min-height: 36px;
}

.add-relation-modal {
	display: flex;
	flex-direction: row;
	position: absolute;
	width: 60%;
	margin-bottom: 20%;
	padding: 0;
	max-width: 800px;
}

.add-relation-modal .header {
	border-bottom: none;
	text-transform: uppercase;
	display: flex;
	justify-content: space-between;
	margin: -10px -10px 0;
}

.add-relation-modal .header button {
	background: none;
	border: none;
}

.add-relation-modal .forms-container {
	padding: 15px;
	width: 30%;
	background-color: #dfe6ed;
}

.add-relation-modal .card-container {
	padding: 15px;
	width: 70%;
}

.add-relation-modal .content {
	overflow-y: hidden;
	margin-top: 20px;
}

.add-relation-modal .forms-container .forms-item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.5em;
}

.form-fields-container {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.form-fields-container input {
	height: 34px;
	font-size: 1rem;
	padding-left: 8px;
	border: 2px solid #aaa;
	border-radius: 5px;
	color: #666;
	width: 100%;
	box-sizing: border-box;
}

.form-fields-container .SelectField {
	height: 34px;
	margin: 0;
	border: 2px solid #aaa;
	border-radius: 5px;
	background-color: #fff;
	padding: 0 0 0 8px;
	box-shadow: none;
}

.form-fields-container .form-two-columns {
	grid-column: span 2;
}

.form-fields-container .form-four-columns {
	grid-column: span 4;
}

.form-fields-container .form-error {
	color: red;
}

.add-relation-backdrop {
	height: 100%;
	width: calc(100% - 300px);
	display: flex;
	justify-content: center;
	align-items: center;
}

.add-relation-modal .Button {
	border-radius: 5px;
	float: right;
	margin-top: 15px;
	font-weight: bold;
}

select.placeholder_mode {
	color: #666;
}

.save-button .Button__icon {
	position: unset;
	left: unset;
	top: unset;
}

.AppointmentDetailPage .DateField__group input {
	background-color: #FFF;
	font-size: 18px;
	padding: 16px 8px;
	height: unset;
	border: 1px solid #aaa;
	border-radius: 5px;
	font-weight: 500;
	color: #666;
}
.AppointmentDetailPage .DateField__group button {
	height: 56px;
	padding-right: 8px;
}

.AppointmentDetailPage .DateField__group button svg{
	height: 24px;
	width: 24px;
}

textarea {
	font: inherit;
}

.v--modal-box.modal.support-modal {
	overflow: visible;
}

div.v--modal-overlay .v--modal-background-click {
	width: 100%;
	height: calc(100% - 48px);
	min-height: unset;
}
