/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
:root {
  --main-color: #4FA073;
  --main-color-hs: "147deg 34%";
  --main-color-h: 147deg;
  --main-color-s: 34%;
  --main-color-l: 47%;
  --main-color-lightest: #DEF0E6;
  --main-color-lighter: #CAE3D5;
  --main-color-lighten: #8EC7A8;
  --main-color-light: #59B381;
  --main-color-dark: #356B4D;
  --main-color-hsl: hsl(var(--main-color-h), var(--main-color-s), var(--main-color-l));
  --main-color-light4-hsl: hsl(var(--main-color-h), var(--main-color-s), calc(var(--main-color-l) * 2));
  --main-color-light3-hsl: hsl(var(--main-color-h), var(--main-color-s), calc(var(--main-color-l) * 1.8));
  --main-color-light2-hsl: hsl(var(--main-color-h), var(--main-color-s), calc(var(--main-color-l) * 1.5));
  --main-color-light1-hsl: hsl(var(--main-color-h), var(--main-color-s), calc(var(--main-color-l) * 1.15));
  --main-color-dark-hsl: hsl(var(--main-color-h), var(--main-color-s), calc(var(--main-color-l) * .68));
  --main-color: var(--main-color-hsl);
  --main-color-lightest: var(--main-color-light4-hsl);
  --main-color-lighter: var(--main-color-light3-hsl);
  --main-color-lighten: var(--main-color-light2-hsl);
  --main-color-light: var(--main-color-light1-hsl);
  --main-color-dark: var(--main-color-dark-hsl);
  --red-color: #BD5A5A;
  --red-color-lightest:#F2DEDE;
  --green-color: #4FA073;
  --green-color-lightest: #DCECE3;
  --amber-color: #D87B38;
  --amber-color-dark: #9C5826;
  --amber-color-lightest: #F7E5D7;
  --warning-color: #EB5757;
  --warning-color-dark: #9A3232;
  --sheep-blue-color: #5379d0;
  --sheep-blue-color-dark: #3056ae;
  --sheep-yellow:#f1b838;
  --grey-h: 214deg;
  --grey-s: 9%;
  --grey-l: 85%;
  --lightest-grey: #F6F7F9;
  --light-grey: #EAEBED;
  --medium-grey: #D5D8DC;
  --dark-grey: #C1C5CB;
  --darker-grey: #65696F;
  --darkest-grey: #2F3C51;
  --medium-grey-hsl: hsl(var(--grey-h), var(--grey-s), calc(var(--grey-l)));
  --light-grey-hsl: hsl(var(--grey-h), var(--grey-s), calc(var(--grey-l) * 1.08));
  --lightest-grey-hsl: hsl(var(--grey-h), var(--grey-s), calc(var(--grey-l) * 1.14));
  --dark-grey-hsl: hsl(var(--grey-h), var(--grey-s), calc(var(--grey-l) * .92));
  --darker-grey-hsl: hsl(var(--grey-h), var(--grey-s), calc(var(--grey-l) * .5));
  --darkest-grey-hsl: hsl(var(--grey-h), calc(var(--grey-s) + 18%), calc(var(--grey-l) - 60%));
  --lightest-grey: var(--lightest-grey-hsl);
  --light-grey: var(--light-grey-hsl);
  --medium-grey: var(--medium-grey-hsl);
  --dark-grey: var(--dark-grey-hsl);
  --darker-grey: var(--darker-grey-hsl);
  --darkest-grey: var(--darkest-grey-hsl);
  --placeholder-grey-color: #828A96;
  --discardButton: #6D7785;
  --white-color: #FFFFFF;
  --blue-color: #007aff;
  --photo-uploader-border: #979EA8;
  --photo-uploader-image-icon: #DADADA;
  --photo-elements-bg: rgba(0, 0, 0, 0.60);
  --sms-icon-color: linear-gradient(180deg, #71F786 0%, #0BB926 100%);
  --pulse-color: var(--main-color);
  --pulse-size: 10px;
  --toastify-color-success: var(--main-color) !important;
  --toastify-spinner-color: var(--main-color) !important;
  --toastify-spinner-color-empty-area: var(--main-color-lighter) !important;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, button,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
*:hover {
  scrollbar-color: var(--main-color-lighter) transparent;
}

@supports selector(::-webkit-scrollbar) {
  *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  *::-webkit-scrollbar-thumb {
    border: 2px solid rgba(0, 0, 0, 0);
    border-radius: 999px;
    background-clip: padding-box;
    background-color: var(--main-color-lighter);
    visibility: hidden;
  }
  *:hover::-webkit-scrollbar-thumb {
    visibility: visible;
  }
  *:hover::-webkit-scrollbar-thumb:hover {
    background-color: var(--main-color-lighten);
    visibility: visible;
  }
}
@media print {
  .print-only {
    display: block !important;
  }
  .screen-only {
    display: none !important;
  }
  /* Override content height restrictions for print */
  .content {
    max-height: none !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
  }
}
@media screen {
  .print-only {
    display: none !important;
  }
}
html, body {
  height: 100%;
}

body {
  line-height: 1em;
}

ol, ul {
  list-style: none;
}
ol.with-bullets, ul.with-bullets {
  list-style: initial;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* sheepCRM styles */
body {
  font-size: 14px;
  font-family: "inter";
  font-weight: 400;
  background-color: var(--lightest-grey);
  color: var(--darkest-grey);
}
body.splash {
  background-image: url("/bg.svg");
  background-position: left 0px bottom -100px;
  background-repeat: no-repeat;
  background-size: 100%;
}

input, select, textarea, button {
  border: 0;
  outline: none;
}

button {
  background-color: transparent;
  cursor: pointer;
}

main {
  display: flex;
  flex-grow: 1;
  overflow-y: auto;
}

.app {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.content {
  flex: 10;
  position: relative;
  max-height: calc(100vh - 70px - 55px);
  overflow: auto;
}
.content > div {
  width: 100%;
  height: 100%;
}
.content > div.modal {
  width: calc(450px + 25vw);
}
@media only screen and (max-width: 640px) {
  .content > div.modal {
    width: 94vw;
  }
}
.content.settings-content > div {
  height: auto;
}
.content .dashboard {
  padding: 2em;
}
.content .dashboard.dashboard-max {
  max-width: 990px;
  margin-top: 1em;
  margin-left: auto;
  margin-right: auto;
}
.content .dashboard-footer {
  position: fixed;
  bottom: 3em;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: -1;
}
.content .resource-list, .content .resource-view, .content .settings-view, .content .report-base {
  padding: 2em 2em 0;
}

/* fonts */
h1, h2, h3, h4, h5 {
  font-weight: 500;
  margin-bottom: 0.5em;
}
h1.mb-0, h2.mb-0, h3.mb-0, h4.mb-0, h5.mb-0 {
  margin-bottom: 0;
}

h1 {
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.5em;
}

h2 {
  font-size: 1.2em;
  text-transform: uppercase;
}

h3 {
  font-size: 1.2em;
  font-weight: 600;
}

h4 {
  font-size: 1em;
  font-weight: 600;
}

h5 {
  font-size: 1em;
}

p {
  margin-bottom: 1em;
}
p.mb-0 {
  margin-bottom: 0;
}

strong, .strong {
  font-weight: 600;
}

em, .em {
  font-style: italic;
}

.normal {
  font-weight: 400 !important;
}

hr {
  border: 0;
  margin-top: 3em;
}

a, .link {
  text-decoration: underline;
  cursor: pointer;
  color: var(--darkest-grey);
}
a.positive, .link.positive {
  color: var(--main-color);
}
a:hover, a:focus, .link:hover, .link:focus {
  color: var(--main-color-dark);
}
a.disabled, .link.disabled {
  color: var(--light-grey);
  cursor: not-allowed;
}
a.destructive, .link.destructive {
  color: var(--warning-color);
}
a.destructive:hover, a.destructive:focus, .link.destructive:hover, .link.destructive:focus {
  color: var(--warning-color-dark);
}
a.warning-amber, .link.warning-amber {
  color: var(--amber-color);
}
a.warning-amber:hover, a.warning-amber:focus, .link.warning-amber:hover, .link.warning-amber:focus {
  color: var(--amber-color);
}
a.no-link, .link.no-link {
  text-decoration: none;
  cursor: default;
  color: inherit;
}

label {
  font-weight: 500;
  margin-bottom: 1em;
  line-height: 1.5em;
}

dl {
  display: grid;
  grid-template-columns: max-content auto;
  grid-template-rows: min-content;
  grid-column-gap: 2em;
  grid-row-gap: 1em;
}

dt {
  font-weight: 500;
}

.small, small {
  font-size: 85%;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.fake-input-button {
  cursor: pointer;
}

.text-success {
  color: var(--main-color);
}
.text-success:hover {
  color: var(--main-color-dark);
}

.bg-success {
  background-color: var(--main-color-lightest) !important;
}

.text-warning {
  color: var(--amber-color);
}

.bg-warning {
  background-color: var(--amber-color-lightest) !important;
}

.text-danger {
  color: var(--warning-color-dark);
}

.bg-danger {
  background-color: var(--warning-color) !important;
}

.error {
  height: 100%;
}
.error.with-image {
  background-image: url("/worker_bug-fix.png");
  background-size: contain;
  background-repeat-y: no-repeat;
}

.span-2 {
  grid-column: span 2;
}

.mb-1 {
  margin-bottom: 1em !important;
}

.mb-2 {
  margin-bottom: 2em !important;
}

.mb-05 {
  margin-bottom: 0.5em !important;
}

.mb-03 {
  margin-bottom: 0.3em !important;
}

.mb-02 {
  margin-bottom: 0.2em !important;
}

.ml-05 {
  margin-left: 0.5em !important;
}

.ml-1 {
  margin-left: 1rem !important;
}

.ml-4 {
  margin-left: 4em !important;
}

.ml-03 {
  margin-left: 0.3em !important;
}

.mr-1 {
  margin-right: 1em !important;
}

.mr-05 {
  margin-right: 0.5em !important;
}

.mt-05 {
  margin-top: 0.5em !important;
}

.mt-03 {
  margin-top: 0.3em !important;
}

.mt-02 {
  margin-top: 0.2em !important;
}

.mt-1 {
  margin-top: 1em !important;
}

.mt-2 {
  margin-top: 2em !important;
}

.mt-3 {
  margin-top: 3em !important;
}

.mt-4 {
  margin-top: 4em !important;
}

.clickable {
  cursor: pointer;
}
.clickable.disabled {
  pointer-events: none;
}

.flex {
  display: flex;
}
.flex.flex-row {
  flex-direction: row;
}
.flex.gap-rem-1 {
  gap: 1rem;
}
.flex.gap-rem-05 {
  gap: 0.5rem;
}
.flex.grow {
  flex-grow: 1;
}
.flex.column {
  flex-direction: column;
}
.flex .basis-50 {
  flex-basis: 50%;
}
.flex .basis-35 {
  flex-basis: 35%;
}

.align-center {
  align-items: center;
}

.align-end {
  align-items: end;
}

.align-baseline {
  align-items: baseline;
}

.justify-end {
  justify-content: end;
}

.justify-space-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify-self-end {
  justify-self: end;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-break {
  flex-basis: 100%;
}