.ft-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center; }

.ft-modal__escapable-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer; }

.ft-modal__container {
  position: relative;
  box-sizing: border-box;
  border: 1px solid #C5CACD;
  border-radius: 2px;
  background-color: #FFFFFF;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.4);
  width: 100%;
  overflow: hidden;
  max-width: 500px;
  max-height: calc(100% - (36px * 2));
  display: flex;
  flex-direction: column;
  z-index: 1002; }

.ft-modal--active {
  display: flex; }

.ft-modal--fixed .ft-modal__container {
  height: 100%; }

.ft-modal__heading {
  padding: 0.75rem;
  background-color: #EDF2F5;
  box-sizing: border-box;
  border-bottom: 1px solid #C5CACD;
  border-radius: 2px 2px 0 0;
  height: 3rem;
  min-height: 3rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-family: open sans, arial, sans-serif;
  font-weight: 600;
  display: flex;
  align-content: center;
  justify-content: space-between;
  white-space: nowrap; }

.ft-modal__heading,
.ft-modal__footer {
  box-sizing: border-box; }

.ft-modal__footer {
  padding: 0.75rem;
  white-space: nowrap; }

.ft-modal__footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between; }

.ft-modal__heading-title-container {
  display: flex;
  align-items: center; }

.ft-modal__heading-icon {
  display: flex; }

.ft-modal__heading-icon-wrapper + .ft-modal__heading-title {
  margin-left: 8px; }

.ft-modal__heading-extra {
  flex: 0 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 12px; }

.ft-modal__close {
  display: flex;
  align-items: center;
  margin-left: 12px; }

.ft-modal__close-separator {
  display: inline-block;
  width: 1px;
  height: 32px;
  background-color: #C5CACD; }

.ft-modal__close-icon-wrapper {
  padding-left: 12px;
  display: flex; }

.ft-modal__close-icon {
  cursor: pointer; }

.ft-modal__body {
  padding: 0.75rem;
  overflow-y: auto;
  overflow-x: hidden; }

.ft-modal--fixed .ft-modal__footer {
  padding: 0.75rem;
  background-color: #EDF2F5;
  border-top: 1px solid #C5CACD;
  border-radius: 0 0 2px 2px; }

.ft-modal--fixed .ft-modal__body {
  flex: 1 100%; }

.ft-modal--dialog .ft-modal__heading {
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
  margin: 0 0.75rem; }

@media (max-width: 751px) {
  .ft-modal__container {
    height: 100%;
    max-height: 100%; }
  .ft-modal__body {
    flex: 1 100%; }
  .ft-modal--fixed .ft-modal__footer {
    padding-bottom: 0.75rem; } }

.ft-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5); }

.ft-overlay--active {
  display: block; }
