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

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

html, body, #app {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.z-1 {
  z-index: 1;
}

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

a {
  text-decoration: none;
}

a:active {
  opacity: 0.9
}

:focus {
  outline: 0;
}

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

/* tachyons extensions */

.bg-och-light-blue {
    background-color: #f2f3f8;
}

.bg-och-orange {
  background-color: #FF8E47;
}
.hover-bg-och-orange:hover {
  background-color: #FF8E47;
}

.och-orange {
  color: #FF8E47;
}
.hover-och-orange:hover {
  color: #FF8E47;
}

.hover-bg-och-orange-70:hover {
  background-color: rgba(255, 142, 71, 0.70);
}

.b--och-orange {
  border-color: #FF8E47;
}

.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.70);
}

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

.hubspot-blue {
  color: #516f90;
}
.bg-hubspot-blue {
  background-color: #516f90;
}
.b--hubspot-blue {
  border-color: #516f90;
}
.hover-b--hubspot-blue:hover,
.hover-b--hubspot-blue:focus {
  border-color: #516f90;
}
.hover-bg-hubspot-blue:hover {
  background-color: #516f90;
}

.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 */
}

.cursor-grab:hover {
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
.cursor-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.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
/* 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 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, .27 );
}
.shadow-deep {
  box-shadow: 0px 0px 20px 2px rgba( 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;
}

.mapboxgl-map {
    font: inherit;
}

.mapboxgl-popup {
  will-change: initial;
}

.mapboxgl-popup .mapboxgl-popup-tip {
    border-width: 6px;
}

.mapboxgl-popup.mapboxgl-popup-route-layer {
  z-index: 0;
}

.mapboxgl-popup.mapboxgl-popup-marker-layer {
  z-index: 1;
}

.mapboxgl-popup-close-button {
    padding: 5px;
    display: none;
}

.mapboxgl-popup-content {
    padding: 0;
    overflow: hidden;
    border-radius: 0.5rem;
}

.mapboxgl-ctrl-attrib-inner {
    font-size: 13px;
}

.mapboxgl-ctrl-attrib-button {
    display: none;
}

.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;
}

/**
.upgrade-banner-visible .mapboxgl-ctrl-top-right,
.upgrade-banner-visible .mapboxgl-ctrl-top-left {
  top: 5rem;
}

.mapboxgl-ctrl-bottom-left {
  left: 5rem;
}
*/

#hubspot-messages-iframe-container.widget-align-left {
  margin-bottom: 1rem;
  margin-left: -0.5rem;
}


/* 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');}


.Selectable .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside) {
  background-color: #f0f8ff !important;
  color: #4a90e2;
}
.Selectable .DayPicker-Day {
  border-radius: 0 !important;
  width: 40px;
  height: 40px;
}
.Selectable .DayPicker-Day--start {
  border-top-left-radius: 50% !important;
  border-bottom-left-radius: 50% !important;
}
.Selectable .DayPicker-Day--end {
  border-top-right-radius: 50% !important;
  border-bottom-right-radius: 50% !important;
}

.grabbing,
.grabbing * {
  cursor: grabbing !important;
}

.scroll-shadow-wrapper-shadow-top {
  background-image: linear-gradient(to top, rgba(66, 91, 118, 0), rgba(66, 91, 118, 0.125))
}
.scroll-shadow-wrapper-shadow-bottom {
  background-image: linear-gradient(rgba(66, 91, 118, 0), rgba(66, 91, 118, 0.125))
}

/* make sure the react-select dropdown container sits on top of MUI modals */
div:has(:first-child.react-select__menu) {
  z-index: 1300;
}