/* original version; see revised version below which allows for null maps
@function map-deep-get($map, $keys...) {
	@each $key in $keys {
		$map: map-get($map, $key);
	}
	@return $map;
}
*/
/* Button Mixins */
/*
// Table Display
*/
/*
// Sidebar Mixin
// @param none
*/
/* 2px */
/* 4px */
/* 8px */
/* 16px */
/* 32px */
/* 64px */
html.cm-lock,
body.cm-lock {
  overflow: hidden !important;
}

.cm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  padding: 24px;
  display: none;
}
.cm-modal[aria-hidden=true] {
  display: none;
}
.cm-modal[aria-hidden=false] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cm-modal__dialog {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  max-height: 80vh;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}
.cm-modal__title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  border: none !important;
  flex: 0 0 auto;
}
.cm-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.cm-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 6px;
}
.cm-modal__footer {
  flex: 0 0 auto;
  margin-top: 16px;
}
.cm-modal .l-form-default {
  min-height: auto !important;
  padding: 0 !important;
  background: transparent !important;
}
.cm-modal .iIDDUy {
  max-width: 100% !important;
  padding: 0 !important;
}
.cm-modal .kFBOaz {
  border-bottom: none !important;
  margin-bottom: 1rem !important;
  padding-top: 0 !important;
}

.sub-form {
  background-color: #402b56;
  color: #ffffff;
  padding: 30px;
}
.sub-form-header {
  text-align: center;
  margin-bottom: 1em;
}
.sub-form-header img {
  border: none;
}
.sub-form-body {
  background: #ffffff;
  border-radius: 6px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 2.75rem;
  position: relative;
  color: #3f4652;
  width: 100%;
}
.sub-form-body form {
  flex-direction: column;
}
.sub-form-body form fieldset {
  padding: 0;
  border: 0;
  margin-top: 1em;
}
.sub-form-body form fieldset legend {
  font-weight: 600;
  font-size: 110%;
  margin-bottom: 0.5em;
}
.sub-form-body form fieldset.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.sub-form-body form label {
  display: block;
}
.sub-form-body form input[type=checkbox] {
  height: 1rem;
  position: relative;
  top: 0.08rem;
  width: 1rem;
}
.sub-form-body form footer {
  justify-content: flex-start;
}
.sub-form-intro {
  margin-bottom: 1em;
  padding-bottom: 2em;
  border-bottom: 1px solid #d5dbe0;
}

/* small inline spinner */
.cm-inline-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: cmspin 0.6s linear infinite;
  vertical-align: text-bottom;
}

@keyframes cmspin {
  to {
    transform: rotate(360deg);
  }
}
