/* only put things in here that do not make sense as inline styles through radium */

body {
  background-color: #e2e2e2;
  font-family: "Dosis";
  font-weight: 500;
}

#root {
  background-color: #e2e2e2
}

div {
  display: flex;
}

.chrome-picker {
  display: block;
}

div.chrome-picker div {
  display: block;
}

button {
  cursor: pointer;
  padding: 0;
  /* disable text hilighting on buttons */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

button:disabled {
  cursor: auto;
}

*::-moz-focus-inner {
  border: 0;
}

input:focus,
.input-container:focus-within,
body.user-is-tabbing button:focus,
body.user-is-tabbing select:focus,
body.user-is-tabbing a:focus,
body.user-is-tabbing .outline-focus:focus,
body.user-is-tabbing .rt-tr-group:focus {
  position: relative;
  outline-color: #15a6d5;
  outline-style: auto;
  outline-width: 2px;
}

a:focus, button:focus, select:focus, .rt-tr-group:focus, .outline-focus:focus {
  outline: none;
}

button:focus {
  outline-offset: 0px;
}

.button-hover:not(:disabled):hover {
  opacity: 0.7;
}

.button-content-hover:hover > * {
  opacity: 0.7;
}

.button-primary {
  background-color: #fd9724;
}

.button-primary:not(:disabled):hover {
  background-color: #ffa642;
}

.button-primary-invoice {
  background-color: #fd9724;
}

.button-primary-invoice:hover {
  background-color: #ffa642;
}

.button-warning {
  background-color: #ff4c1c;
}

.button-warning:hover {
  background-color: #ff5d32;
}

.button-blue {
  background-color: #15a6d5;
}

.button-blue:not(:disabled):hover {
  background-color: #5abfe0;
}

body.user-is-tabbing .button-blue:focus {
  position: relative;
  outline-color: #15a6d5;
  outline-style: auto;
  outline-width: 2px;
  outline-offset: 2px;
}

.button-light-blue {
  background-color: rgba(21, 166, 213, 0.2);
}

.button-light-blue:not(:disabled):hover {
  background-color: rgba(21, 166, 213, 0.15);
}

.button-red {
  background-color: #ff4c1c;
}

.button-red:hover {
  opacity: 0.8;
}

.button-green {
  background-color: #2a8c19;
}

.button-green:hover {
  background-color: #5aae46;
}

.button-grey {
  background-color: #999999;
}

.button-grey:hover {
  background-color: #bbbbbb;
}

.button-white {
  background-color: #ffffff;
}

.button-white:hover {
  background-color: #fcfcfc;
}

.button-delete {}

.tile {
  background-color: #ffffff;
}

.tile-hover {
  background-color: #ffffff;
}

.tile-hover:hover {
  background-color: #fcfcfc;
}

.dropzone:not(:disabled):hover {
  background-color: #f7f7f7;
}

.border-focus:focus {
  outline: none;
  border-color: #15a6d5;
  border-style: auto;
  border-width: 2px;
}

textarea:focus-visible {
  outline-color: #15a6d5;
}

div[type=button] {
  cursor: pointer;
}

.nav-item > div {
  white-space: nowrap;
}

.nav-item:hover {
  color: #5aae46;
  fill: #5aae46;
}

.nav-item:hover > div {
  color: #5aae46;
  fill: #5aae46;
}

body.user-is-tabbing .nav-row > a:focus {
  outline-color: #5aae46;
}

.enterprise-welcome {
  animation: fadeout 0.5s;
}

.subscription-wrapper, .attachment-wrapper, .alert-wrapper, .opt-out-wrapper {
  animation: fadein 0.5s;
}

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

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

.StripeElement {
  display: block;
  margin: 10px 0 20px 0;
  max-width: 100%;
  padding: 10px 14px;
  box-shadow: rgba(50, 50, 93, 0.14902) 0px 1px 3px, rgba(0, 0, 0, 0.0196078) 0px 1px 0px;
  border-radius: 4px;
  background: white;
}

.StripeElement--focus {
  box-shadow: rgba(50, 50, 93, 0.109804) 0px 4px 6px, rgba(0, 0, 0, 0.0784314) 0px 1px 3px;
  -webkit-transition: all 150ms ease;
  transition: all 150ms ease;
}

.StripeElement.PaymentRequestButton {
  padding: 0;
}

.inlineloader {
  border-radius: 50%;
  margin: auto;
  position: relative;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.inlineloaderBefore {
  -webkit-animation: load 1.5s infinite ease 1.2s;
  animation: load 1.5s infinite ease 1.2s;
}

.inlineloaderAfter {
  -webkit-animation: load 1.5s infinite ease;
  animation: load 1.5s infinite ease;
}

.fullScreenLoaderHead {
    position: relative;
    margin: auto;
    border: 10px solid transparent;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s infinite ease-out;
}

.placeholder-midgreen::-webkit-input-placeholder {
  color: rgba(90,174,70,0.8);
}
.placeholder-midgreen::-moz-placeholder {
  color: rgba(90,174,70,0.8);
}
.placeholder-midgreen:-ms-input-placeholder {
  color: rgba(90,174,70,0.8);
}
.placeholder-midgreen::placeholder {
  color: rgba(90,174,70,0.8);
}

.placeholder-white::-webkit-input-placeholder {
  color: rgba(255,255,255,0.8);
}
.placeholder-white::-moz-placeholder {
  color: rgba(255,255,255,0.8);
}
.placeholder-white:-ms-input-placeholder {
  color: rgba(255,255,255,0.8);
}
.placeholder-white::placeholder {
  color: rgba(255,255,255,0.8);
}

.fullScreenLoaderTail {
  position: absolute;
  top: -10px;
  left: -10px;
  border: 10px solid transparent;
  border-radius: 50%;
  width: 100px;
  height: 100px;
}

.uppercase {
  text-transform: uppercase;
}

@keyframes rotateIn {
  0% {
    -webkit-transform: rotateY(90deg);
    transform: rotateY(90deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@keyframes subItemAppear {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

@keyframes bannerAppear {
  /* max-height 100px is arbitrary. needs a static value so CSS can property transition properly */
  0% { min-height: 0; max-height: 0; margin-bottom: 0; transform: translateX(-100vw); }
  50% { min-height: 56px; max-height: 100px; margin-bottom: 8px; transform: translateX(-100vw); }
  100% { min-height: 56px; max-height: 100px; margin-bottom: 8px; transform: translateX(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(190deg); }
    50% { transform: rotate(400deg); }
    75% { transform: rotate(640deg); }
    100% { transform: rotate(720deg); }
}

@keyframes spinMid {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-90deg); }
    50% { transform: rotate(-10deg); }
    75% { transform: rotate(-90deg); }
    100% { transform: rotate(0deg); }
}

@keyframes spinTail {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-180deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

@-webkit-keyframes load {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes dotLoader {
  20%{background-position:0%   0%, 50%  50%,100%  50%}
  40%{background-position:0% 100%, 50%   0%,100%  50%}
  60%{background-position:0%  50%, 50% 100%,100%   0%}
  80%{background-position:0%  50%, 50%  50%,100% 100%}
}

/* Below are styles from and for ReactMutliEmail. Maintaining them here for easier customization. */

.react-multi-email {
  margin: 0;
  max-width: 100%;
  outline: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  text-align: left;
  line-height: 1.21428571em;
  padding: 0.4em 0.5em;
  background: #e8e8e8;
  color: rgba(0, 0, 0, 0.87);
  border-radius: 2px;
  -webkit-transition: box-shadow 0.1s ease, border-color 0.1s ease;
  transition: box-shadow 0.1s ease, border-color 0.1s ease;
  font-size: 13px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
}

.react-multi-email > span[data-placeholder] {
  display: none;
  position: absolute;
  left: 0.5em;
  top: 0.4em;
  padding: 0.4em;
  line-height: 1.21428571em;
}
.react-multi-email.focused {
  border-color: #85b7d9;
}

.react-multi-email.empty > span[data-placeholder] {
  display: inline;
  color: #ccc;
}
.react-multi-email.focused > span[data-placeholder] {
  display: none;
}

.react-multi-email > input {
  font-family: "Dosis";
  font-size: 13px;
  background: #e8e8e8;
  outline: none !important;
  border: 0 none !important;
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  flex-grow: 1;
  line-height: 1;
  vertical-align: baseline !important;
  padding: 0.4em 0.1em !important;
}

.react-multi-email [data-tag] {
  line-height: 1;
  vertical-align: baseline;
  margin: 0.14285714em;
  background-image: none;
  padding: 0.5833em 0.833em;
  color: rgba(0, 0, 0, 0.6);
  text-transform: none;
  font-weight: 600;
  border: 0 solid transparent;
  border-radius: 0.28571429rem;
  -webkit-transition: background 0.1s ease;
  -o-transition: background 0.1s ease;
  transition: background 0.1s ease;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
}

.react-multi-email [data-tag] [data-tag-item] {
  max-width: 100%;
  overflow: hidden;
}
.react-multi-email [data-tag]:first-child {
  margin-left: 0;
}
.react-multi-email [data-tag] [data-tag-handle] {
  margin-left: 0.833em;
  cursor: pointer;
}
.calendly-popup-content {
  margin: 0 auto;
}

.react-router-modal__container {
  z-index: 502 !important;
  width: 100vw;
  height: 100vh;
}
