#reportDocumentModal .modal-content {
	background: #fff;
	color: #212529;
	font-size: 15px;
}

#reportDocumentModal .modal-content > form {
	display: flex;
	flex-direction: column;
	min-height: 0;
	max-height: calc(100vh - 1rem);
}

#reportDocumentModal .modal-header,
#reportDocumentModal .modal-footer {
	flex: 0 0 auto;
}

#reportDocumentModal .modal-title {
	color: #212529;
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: 500;
}

#reportDocumentModal .modal-body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 1rem;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	color: #212529;
	font-size: 15px;
}

#reportDocumentModal fieldset {
	min-width: 0;
	margin: 0 0 1rem;
	padding: 12px;
	border: 1px solid #dee2e6;
	border-radius: .25rem;
}

#reportDocumentModal legend {
	width: auto;
	max-width: 100%;
	margin: 0;
	padding: 0 6px;
	color: #212529;
	font-size: 1rem;
	line-height: 1.5;
}

#reportDocumentModal .custom-control-label {
	margin-bottom: 0;
	color: #212529;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}

#reportDocumentModal .form-group > label {
	display: block;
	margin-bottom: .5rem;
	color: #212529;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
}

#reportDocumentModal textarea.form-control,
#reportDocumentModal input.form-control {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	background: #fff;
	color: #495057;
}

#reportDocumentModal textarea.form-control:focus,
#reportDocumentModal input.form-control:focus {
	border-color: #80bdff;
	outline: 0;
	box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

#reportDocumentModal .modal-footer button.btn {
	padding: .375rem .75rem;
	border: 1px solid transparent;
	border-radius: .25rem;
	box-shadow: none;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}

#reportDocumentModal .modal-footer button.btn-secondary {
	border-color: #6c757d;
	background-color: #6c757d !important;
	color: #fff;
}

#reportDocumentModal .modal-footer button.btn-secondary:hover,
#reportDocumentModal .modal-footer button.btn-secondary:focus {
	border-color: #545b62;
	background-color: #5a6268 !important;
	color: #fff;
}

#reportDocumentModal .modal-footer button.btn-success {
	border-color: #218838;
	background-color: #218838 !important;
	color: #fff;
}

#reportDocumentModal .modal-footer button.btn-success:hover,
#reportDocumentModal .modal-footer button.btn-success:focus {
	border-color: #1e7e34;
	background-color: #1e7e34 !important;
	color: #fff;
}

#reportDocumentModal button[type="button"].close {
	padding: 1rem;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
	color: #000;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	opacity: .5;
}

#reportDocumentModal button[type="button"].close:hover,
#reportDocumentModal button[type="button"].close:focus {
	color: #000;
	opacity: .75;
}
#reportDocumentModal .custom-control {
	display: flex;
}

@media (max-width: 575.98px) {
	#reportDocumentModal {
		padding-right: 0 !important;
	}

	#reportDocumentModal .modal-dialog.modal-dialog-scrollable {
		height: calc(100vh - 1rem);
		height: calc(100dvh - 1rem);
		min-height: 0;
		max-height: calc(100vh - 1rem);
		max-height: calc(100dvh - 1rem);
		margin: .5rem !important;
		justify-content: flex-start;
	}

	#reportDocumentModal .modal-content {
		height: 100%;
		max-height: 100% !important;
	}

	#reportDocumentModal .modal-content > form {
		height: 100%;
		max-height: 100%;
		margin-top: 2rem;
	}

	#reportDocumentModal .modal-header,
	#reportDocumentModal .modal-body,
	#reportDocumentModal .modal-footer {
		padding: .75rem;
	}

	#reportDocumentModal .modal-title {
		font-size: 1.1rem;
	}
}
