@import (reference) '../../../../../../assets/styles/shared';

:local(.ModalView) {
  background-color: #f6f6f6;
  height: 100vh;
  position: fixed;
  width: 100vw;
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transition: 
    opacity 150ms linear,
    top 250ms 300ms;
  top: 0;
}

:local(.ModalView__smallBg) {
  background-color: rgba(56, 59, 65, .91);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

:local(.ModalView__hide) {
  opacity: 0;
  pointer-events: none;
  top: 100%;
}

:local(.ModalView__close) {
  color: @color-white;
  height: 2rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 1.5rem;
  background: url(../../../../../../assets/images/close.svg);
  background-repeat: no-repeat;
  cursor: pointer;
}

:local(.ModalView__content) {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
}

:local(.ModalView__button) {
  &:extend(.button--white);

  margin-top: 2rem;
}
