* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} */

html,
body,
#app {
  height: 100%;
  overflow: hidden;
}

.inter {
  font-family: "Inter", sans-serif;
}

.lexend-deca {
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
}

a {
  text-decoration: none;
}

a:active {
  opacity: 0.9;
}

div[data-hubspot-theme="och-legacy"] :focus {
  outline: 0;
}

.overflow-wrap {
  overflow-wrap: break-word;
}

.pre-wrap {
  white-space: pre-wrap;
}

/* tachyons extensions */

.primary-blue {
  color: #3f51b5;
}

.gmt-blue {
  color: #149fc6;
}

.bg-gmt-blue {
  background-color: #149fc6;
}

.hover-bg-gmt-blue:hover {
  background-color: #149fc6;
}

.hover-bg-gmt-blue-70:hover {
  background-color: rgba(20, 159, 198, 0.7);
}

.b--gmt-blue {
  border-color: #149fc6;
}

.hover-b--och-secondary:hover,
.hover-b--och-secondary:focus {
  border-color: #3f51b5;
}

.link.disabled {
  pointer-events: none;
  opacity: 0.1;
}

.brighten:hover {
  opacity: 1;
  transition: opacity 0.15s ease-in;
}

/* disable link styles */
.connection-wrap,
.link-tools,
.marker-vertices,
.marker-arrowhead {
  display: none;
}

/* [data-ui-mode=":ui.flow.mode/normal"] { */
/*   background-color: red !important; */
/* } */

/* our hacky way of disabling all of the path manipulation in react-diagrams */
/* path[data-linkid] { */
/*   pointer-events: none !important; */
/* } */

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.grab:hover {
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
.grabbing:hover {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}

/* from spinkit - looks similar to HubSpot loader */
.spinner {
  margin: 60px auto 0;
  width: 70px;
  text-align: center;
}

.spinner > div {
  margin: 3px;
  width: 12px;
  height: 12px;
  background-color: #ff8e47;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner.gmt > div {
  background-color: #149fc6;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
/* end from spinkkit */

.triangle-up {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 7px 8px 7px;
  border-color: transparent transparent #516f90 transparent;
}

.aspect-ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 51%;
}

.aspect-ratio-16x9 {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.aspect-ratio iframe,
.aspect-ratio-16x9 iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.shadow-hover.shadow-hover-deep:hover {
  box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.27);
}
.shadow-deep {
  box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.27);
}

.hover-bg-black-05:hover,
.hover-bg-black-05:focus {
  background-color: rgba(0, 0, 0, 0.05);
}

.cursor-default:hover {
  cursor: default;
}

.sticky-0 {
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 0;
}

.tippy-box[data-theme="och"] {
  background-color: #ff8e47;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
}

.tippy-box[data-theme="och"] .tippy-arrow {
  color: #ff8e47;
}

.tippy-box[data-theme="och-trellis"] {
  background-color: #ffffff;
  color: #141414;
  font-weight: 600;
  font-size: 16px;
  border-block-end-color: #cccccc;
  border-block-end-style: solid;
  border-block-end-width: 1px;
  border-block-start-color: #cccccc;
  border-block-start-style: solid;
  border-block-start-width: 1px;
  border-end-end-radius: 8px;
  border-end-start-radius: 8px;
  border-inline-end-color: #cccccc;
  border-inline-end-style: solid;
  border-inline-end-width: 1px;
  border-inline-start-color: #cccccc;
  border-inline-start-style: solid;
  border-inline-start-width: 1px;
  border-start-end-radius: 8px;
  border-start-start-radius: 8px;
}
.tippy-box[data-theme="och-trellis"] .tippy-arrow {
  color: #cccccc;
}

/* Right-pointing arrow (placement: left) - move entire arrow to the right */
.tippy-box[data-theme="och-trellis"][data-placement^=left]>.tippy-arrow {
  right: -1px;
}

/* Right-pointing arrow (placement: left) - add white inner triangle */
.tippy-box[data-theme="och-trellis"][data-placement^=left]>.tippy-arrow:after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-color: transparent;
  border-left-color: #ffffff;
  border-width: 7px 0 7px 7px;
}

.inset-shadow-bottom {
}

.sticky {
  position: sticky;
}

/* fix for tachyons overriding Material UI text input style via higher specificity */
.MuiInputBase-input[type="text"] {
  box-sizing: content-box;
}

span.MuiStepLabel-label.MuiStepLabel-completed,
span.MuiStepLabel-label.MuiStepLabel-active {
  font-weight: 400;
}

.h_sidebar-header {
  height: 58px;
}

.cursor-default:hover {
  cursor: default;
}

.word-wrap {
  word-break: break-all;
}

/* taken from https://github.com/transferwise/currency-flags */
.currency-flag {
  display: inline-block;
  width: 24px;
  height: 16px;
  background-size: cover;
  background-image: url("https://transferwise.com/public-resources/assets/flags/rectangle_fallback.png");
}
.currency-flag-sm {
  width: 16px;
  height: 10px;
}
.currency-flag-lg {
  width: 36px;
  height: 24px;
}
.currency-flag-xl {
  width: 48px;
  height: 32px;
}
.currency-flag.currency-flag-gbp {
  background-image: url("https://transferwise.com/public-resources/assets/flags/rectangle/gbp.png");
}
.currency-flag.currency-flag-eur {
  background-image: url("https://transferwise.com/public-resources/assets/flags/rectangle/eur.png");
}
.currency-flag.currency-flag-usd {
  background-image: url("https://transferwise.com/public-resources/assets/flags/rectangle/usd.png");
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-auto {
  min-height: 0;
  min-width: 0;
}

/* remove default search appearances etc */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* defaults for trellis light theme */
div[data-hubspot-theme="trellis-light"] {
  font-weight: 300;
  font-size: 16px;
  color: #141414;
  line-height: 24px;
}

.trellis-warning-alert {
  background-color: #fcf6e6;
  border: 1px solid #eeb117;
  color: #141414;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
