* {
  box-sizing: border-box;
}

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  color: #333;
  background: var(--page);
  font-family: "proxima-nova", sans-serif;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.6em;
}

body {
  background: var(--page);
  margin: 0;
}

@media print {
  html, body {
    background: transparent;
  }
}


/* Animation Classes */
.scale-enter {
  opacity: 0.01;
  transform: scale(0.8);
}

.scale-enter.scale-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: all 0.2s cubic-bezier(.25,.8,.25,1);
}

.scale-exit {
  opacity: 1;
  transform: scale(1);
}

.scale-exit.scale-exit-active {
  opacity: 0.01;
  transform: scale(0.8);
  transition: all 0.2s cubic-bezier(.25,.8,.25,1);
}

/* React Tooltip Reset */
.__react_component_tooltip.type-dark {
  bottom: auto;
  top: auto;
  left: auto;
  right: auto;
  background-color: transparent !important;
  margin: 0 !important;
  opacity: 1 !important;
}
.__react_component_tooltip:before, .__react_component_tooltip:after {
  display: none !important;
}

/* Pagination Classes */
.pagination {
  align-items: center;
  background: #F1F3F6;
  border-radius: 0 0 4px 4px;
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 12px;
  width: 100%;
}

.pagination > li {
  display: block;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  margin: 0 2px;
  min-width: 32px;
  text-align: center;
  text-transform: uppercase;
}

.pagination > li a {
  background: white;
  border-radius: 3px;
  box-shadow: 0 1.5px 3px rgba(34, 44, 56, 0.13), 0 1.5px 3px rgba(34, 44, 56, 0.17);
  color: #324052;
  cursor: pointer;
  display: block;
  min-width: 32px;
  padding: 10px;
  transition: all 0.2s cubic-bezier(.25,.8,.25,1);
}

.pagination > li a:hover {
  box-shadow: 0 5px 10px rgba(34, 44, 56, 0.16), 0 3px 3px rgba(34, 44, 56, 0.17);
}

.pagination > li.active a, .pagination > li.active a:active {
  background-color: #324052;
  box-shadow: none;
  color: white;
  cursor: auto;
}

.pagination > li.disabled a, .pagination > li.disabled a:active {
  background-color: #d9dee6;
  box-shadow: none;
  color: rgba(50, 64, 82, 0.5);
  cursor: auto;
  opacity: 1;
}

/* Styled Select */
.select-wrapper {
  background: white;
  border-radius: 3px;
  box-shadow: 0 0.5px 1.5px rgba(34, 44, 56, 0.09), 0 0.5px 1px rgba(34, 44, 56, 0.18);
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: box-shadow 0.2s cubic-bezier(.25,.8,.25,1);
}

.select-wrapper:hover {
  box-shadow: 0 5px 10px rgba(34, 44, 56, 0.16), 0 3px 3px rgba(34, 44, 56, 0.17);;
}

.select-wrapper.disabled:hover {
  box-shadow: 0 0.5px 1.5px rgba(34, 44, 56, 0.09), 0 0.5px 1px rgba(34, 44, 56, 0.18);
}

.select-wrapper select, .select-wrapper .select {
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-font-smoothing: antialiased;
  background: transparent;
  border-radius: 3px;
  border: none;
  color: #333;
  cursor: pointer;
  font-family: "source-code-pro", monospace;
  font-size: 14px;
  letter-spacing: -0.03em;
  padding: 10px 28px 10px 10px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.select-wrapper .drop {
  align-items: center;
  background: var(--neutral800);
  border-radius: 3px;
  color: white;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  justify-content: space-around;
  position: absolute;
  top: 3px;
  right: 3px;
  height: calc(100% - 6px);
  width: 18px;
  text-align: center;
  transition: background 0.2s cubic-bezier(.25,.8,.25,1);
}

.select-wrapper .drop > span:first-child {
  position: relative;
  top: 3px;
}

.select-wrapper .drop > span:last-child {
  position: relative;
  bottom: 3px;
}

.select-wrapper:hover .drop {
  background: var(--select-wrapper-drop);
}

.select-wrapper .select:disabled, .select-wrapper .select:disabled ~ .drop {
  cursor: not-allowed;
  opacity: 0.5;
}

.select-wrapper:hover .select:disabled ~ .drop {
  background: #324052;
}

/* Styled Select Variations */
.select-wrapper.lightgray {
  background: #F1F3F6;
}

.select-wrapper.block {
  display: block;
  width: 100%;
}

.select-wrapper.small select {
  font-size: 13px;
  padding: 8px 26px 8px 8px;
}

.select-wrapper.small .drop {
  font-size: 10px;
}

.select-wrapper.top-margin {
  margin-top: 10px;
}

.react-datepicker-popper {
  z-index: 3 !important;
}

/* Flash Wrapper – Global to support animation */
@keyframes slideInFromTop {
  0% {
    transform: translate(-50%, -100%);
  }
  100% {
    transform: translate(-50%, 0%);
  }
}

.flash-wrapper {
  animation: 0.2s cubic-bezier(.25,.8,.25,1) 0s slideInFromTop;
  left: 50%;
  margin: 12px 0 0 0;
  min-width: 320px;
  padding: 0;
  position: fixed;
  width: auto !important;
  top: 68px;
  transform: translate(-50%, 0%);
  z-index: 11;
}
