@import 'projects/fei-components/src/scss/variables.scss';

$max-height: 70vh;

.dialog {
  position: fixed;
  top: 12%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  min-height: 100px;
  max-height: $max-height;
  min-width: 450px;
  width: 55%;
  overflow: hidden;
  z-index: 10;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.head {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 24px;
  background: map-get($map: $colors, $key: 'white');
  -webkit-transition: 0.1s ease-out;
  transition: 0.1s ease-out;
}

.contents {
  padding: 12px 32px 100px;
  max-height: $max-height;
  overflow: auto;
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: map-get($map: $colors, $key: 'blue50');
  border-top: solid 0.5px map-get($map: $colors, $key: 'black200');
  padding: 12px 24px;
}
