

.modal-dimmer {
	display: none;
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 1000;
	background-color: rgba(29, 32, 37, 0.897);
	overflow-x: hidden;
	overflow-y: auto;
  
	opacity: 0;
  
	transition: opacity .2s .1s;
  }
  .modal-dimmer.visible {
	opacity: 1;
	transition: opacity .2s;
  }
  .modal-container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	padding: 20px;
  }
  .modal {
	width: 100%;
	max-width: 800px;
	background-color: white;
	padding: 30px;
	position: relative;
	border-radius: 10px;
	box-shadow: 0 2px 1px rgba(0,0,0,0.09),
				0 4px 2px rgba(0,0,0,0.09),
				0 8px 4px rgba(0,0,0,0.09),
				0 16px 8px rgba(0,0,0,0.09),
				0 32px 16px rgba(0,0,0,0.09);
  
	opacity: 0;
	transform: translateY(10px);
  
	transition: opacity .2s, transform .2s;
  }
  .modal:after {
	content: "";
	display: block;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background-color: rgba(255, 255, 255, 0.9);
	transition: opacity .2s;
  }
  .modal.visible {
	opacity: 1;
	transform: none;
  }
  .modal-close:not(.button),
  .modal-close:not(.button):active {
	position: absolute;
	top: 15px;
	right: 20px;
	z-index: 10;
	-webkit-appearance: none;
	border: none;
	margin: 0;
	border-radius: 0;
	background: none;
	font-size: 32px;
	cursor: pointer;
	opacity: 0.25;
	transition: opacity .2s;
  }
  .modal-close:not(.button):hover {
	opacity: 0.5;
  }

  .modal h1 {
	line-height: 1;
	font-size: 32px;
	font-weight: 600;
	margin-bottom: 0.5em;
  }
  .modal h2 {
	line-height: 1;
	font-size: 24px;
	font-weight: 600;
  }
  .modal .lead {
	font-size: 18px;
	font-weight: 600;
  }
  .modal p {
	font-size: 18px;
	margin: 1em 0;
	line-height: 1.45;
  }
  .modal ul, .modal ol {
	font-size: 18px;
	margin: 1em 0;
	padding-left: 1em;
	font-weight: normal;

	line-height: 1.45;
  }
  .modal p:last-child,
  .modal ul:last-child,
  .modal ol:last-child {
	margin-bottom: 0;
  }
  .modal .button {
	box-shadow: none;
	padding: 15px 22px 10px;
	font-size: 18px;
  }
  .modal .image {
	margin: 1em 0 0 0;
  }
  .modal .image img {
	display: block;
	width: 100%;
  }
  .modal .imagegrid {
	display: flex;
	flex-wrap: wrap;
	margin: 1em -5px 0 -5px;
  }
  .modal .imagegrid .item {
	width: 50%;
	padding: 5px;
  }
  .modal .imagegrid .item img {
	display: block;
	width: 100%;
  }
  .modal .docs {
	list-style: none;
  }
  .modal .docs li {
	margin-bottom: 5px;
  }
  .modal .docs .size {
	font-size: 0.85em;
	color: #444;
	font-weight: normal;
  }
  @keyframes spinnit {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
  }
  .modal-dimmer .spinner {
	position: absolute;
	left: calc(50% - 24px);
	top: calc(50% - 24px);
	width: 48px;
	height: 48px;
	opacity: 0;
  }
  .modal-dimmer .spinner:before,
  .modal-dimmer .spinner:after {
	content: "";
	display: block;
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	border: 3px solid transparent;
	border-radius: 50%;
  }
  .modal-dimmer .spinner:before {
	border-color: rgba(255, 255, 255, 0.25);
  }
  .modal-dimmer .spinner:after {
	border-top-color: #fff;
  }
  .modal-dimmer.loading .spinner {
	opacity: 1;
	animation: spinnit 1s linear infinite;
  }
  .modal-dimmer.loading .modal:after {
	opacity: 1;
	pointer-events: auto;
  }
  @media screen and (min-width: 600px) {
	.modal .image.right {
	  float: right;
	  width: 30%;
	  padding: 0 0 20px 20px;
	}
	.modal .imagegrid .item {
	  width: 33.33333%;
	}
  }
  
  [data-send-docs] {
	opacity: 0;
	transition: opacity .2s;
  }
  [data-send-docs].visible {
	opacity: 1;
  }