@keyframes pulse {
  0% { opacity: .25; }
  25% { opacity: .25; }
  35% { opacity: 1; }
  55% { opacity: 1; }
  75% { opacity: .25; }
  100% { opacity: .25; }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.reset-box-sizing {
  box-sizing: border-box;
}

.reset-font-smoothing {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

.reset {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

/* Box-shadows */

.box-shadow-100:before {
  border-radius: 4px;
  bottom: 1px;
  box-shadow: 0 1px 1px 0 rgba(42, 59, 77, 0.12);
  content: "";
  left: 1px;
  position: absolute;
  right: 1px;
  top: 1px;
  z-index: -1;
 }

.box-shadow-200:before {
  border-radius: 4px;
  bottom: 2px;
  box-shadow: 0 4px 6px 0 rgba(42, 59, 77, 0.32);
  content: "";
  left: 2px;
  position: absolute;
  right: 2px;
  top: 2px;
  z-index: -1;
 }

.box-shadow-300:before {
  border-radius: 4px;
  bottom: 4px;
  box-shadow: 0 8px 10px 0 rgba(42, 59, 77, 0.32);
  content: "";
  left: 4px;
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: -1;
}

.box-shadow-400:before {
  border-radius: 4px;
  bottom: 8px;
  box-shadow: 0 24px 32px 0 rgba(42, 59, 77, 0.42);
  content: "";
  left: 8px;
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: -1;
}

/* Clearfix */

.clearfix {
  *zoom: 1;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/* Disabling */

.disable-user-select {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Orientation */

/* Devices (defined by max width) */

/* Devices (defined by min-width) */

.overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 403;
}

.dialog-base {
  background-color: #ffffff;
  border-radius: calc(0.4 * 10px);
  display: flex;
  flex-direction: column;
  max-height: 96vh;
  max-width: 90vw;
  opacity: 0;
  transform: translateY(-25%);
  transition: opacity .35s cubic-bezier(.4, 0, .2, 1),
    transform .35s cubic-bezier(.4, 0, .2, 1);
  transition-delay: calc(.35s / 5);
  width: 100vw;
  z-index: 2;
}

.inner {
  background: #ffffff;
  border-radius: calc(0.4 * 10px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.dialog-base.is-entering {
    opacity: 0;
  }

.dialog-base.is-entered {
    opacity: 1;
    transform: translateY(0);
  }

.is-small {
  width: 400px;
}

.is-medium {
  width: 540px;
}

.is-large {
  width: 700px;
}

.is-hero {
  width: 985px;
}

.is-fullscreen {
  width: 1300px;
}

@media screen and (max-width: 600px) {

.is-fullscreen {
    border-radius: 0;
    max-height: 100vh;
    max-width: 100vw;
    min-height: 100vh;
    width: 100vw
}
  }

.dialog-body {
  flex: 1;
  overflow: auto;
}

.drag-icon {
  cursor: move;
  margin: calc(-1 * calc(6 * 3px));
  padding: calc(6 * 3px);
}

.close-icon {
  margin-left: auto;
}

.scroll-shadow {
  box-shadow: 0px 0px 1px rgba(130, 130, 140, 0.09), 0px 0px 0px rgba(130, 130, 140, 0.09),
    0px -4px 8px rgba(130, 130, 140, 0.09);
}
