/* -------------------FONT--------------------- */

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src:
    url('../font/WorkSans-Light.woff2') format('woff2'),
    url('../font/WorkSans-Light.woff') format('woff'),
    url('../font/WorkSans-Light.ttf') format('truetype'),
    url('../font/WorkSans-Light.eot') format('embedded-opentype');
}

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url('../font/WorkSans-Regular.woff2') format('woff2'),
    url('../font/WorkSans-Regular.woff') format('woff'),
    url('../font/WorkSans-Regular.ttf') format('truetype'),
    url('../font/WorkSans-Regular.eot') format('embedded-opentype');
}

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src:
    url('../font/WorkSans-Medium.woff2') format('woff2'),
    url('../font/WorkSans-Medium.woff') format('woff'),
    url('../font/WorkSans-Medium.ttf') format('truetype'),
    url('../font/WorkSans-Medium.eot') format('embedded-opentype');
}

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src:
    url('../font/WorkSans-SemiBold.woff2') format('woff2'),
    url('../font/WorkSans-SemiBold.woff') format('woff'),
    url('../font/WorkSans-SemiBold.ttf') format('truetype'),
    url('../font/WorkSans-SemiBold.eot') format('embedded-opentype');
}

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src:
    url('../font/WorkSans-Bold.woff2') format('woff2'),
    url('../font/WorkSans-Bold.woff') format('woff'),
    url('../font/WorkSans-Bold.ttf') format('truetype'),
    url('../font/WorkSans-Bold.eot') format('embedded-opentype');
}

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src:
    url('../font/WorkSans-Black.woff2') format('woff2'),
    url('../font/WorkSans-Black.woff') format('woff'),
    url('../font/WorkSans-Black.ttf') format('truetype'),
    url('../font/WorkSans-Black.eot') format('embedded-opentype');
}

* {
  font-display: swap;
  font-family: 'Work Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

[class^='display-'] {
  font-weight: 700 !important;
}

th,
td b,
p b,
p a,
li b,
p strong,
li strong {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
label,
ul li,
ol li,
th,
td {
  color: #1e2355;
}

ul li,
ol li {
  margin-bottom: 1rem;
}

#order_summary_container ul {
  list-style: revert !important;
  margin-bottom: 2rem;
  margin-top: 1rem;
  padding: revert !important;
}

#order_summary_container ul li {
  margin-bottom: 0rem;
  margin-top: 1rem;
}

a {
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  color: #1e2355;
}

a:hover,
a:focus,
a:active {
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  color: #d71ec7;
}

body,
.custom-scroll {
  scrollbar-width: thin;
  scrollbar-color: #0c3330 lightgrey;
}

body::-webkit-scrollbar,
.custom-scroll::-webkit-scrollbar,
.modal::-webkit-scrollbar {
  width: 0.5rem;
  border-radius: 0.5rem;
}

body::-webkit-scrollbar-track,
.custom-scroll::-webkit-scrollbar-track,
.modal::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb,
.custom-scroll::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb {
  background-color: #21f999;
  border-radius: 0.5rem;
}

body::-webkit-scrollbar-thumb:hover,
.custom-scroll::-webkit-scrollbar-thumb:hover,
.modal::-webkit-scrollbar-thumb:hover {
  background-color: #0c3330;
}

.tooltip {
  pointer-events: none;
}

/* -------------------UTILITIES--------------------- */
.light {
  font-weight: 300 !important;
}

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

.bold {
  font-weight: 700 !important;
}

.text-small {
  font-size: 0.875rem !important;
}

.text-white,
.text-white * {
  color: white !important;
}

.text-green {
  color: #21f999 !important;
}

.text-jungle-green {
  color: #0c3330 !important;
}

.text-purple {
  color: #d71ec7 !important;
}

.bg-jungle-green {
  background-color: #0c3330 !important;
}

.bg-blue {
  background-color: #1e2355 !important;
}

.bg-white {
  background-color: white !important;
}

.bg-light-grey {
  background-color: #ebebeb !important;
}

.shadow-top {
  box-shadow: 0px -3px 5px rgba(0, 0, 0, 0.2);
}

.clickable {
  cursor: pointer !important;
}

/* ------------------------HIDE SHOW UTILS------------------------- */

.hide-on-mobile,
.hide-on-mobile-flex {
  display: none !important;
}

.show-on-mobile {
  display: block !important;
}

@media all and (min-width: 768px) {
  .hide-on-mobile {
    display: block !important;
  }

  .hide-on-mobile-flex {
    display: flex !important;
  }

  .show-on-mobile {
    display: none !important;
  }

  .hide-on-desktop {
    display: none !important;
  }
}
/* ------------------------BUTTONS------------------------- */

.btn {
  border-radius: 50rem;
  font-size: 1.1rem;
  font-weight: 700;
  padding-top: 0.45rem;
  white-space: normal;
  color: #1e2355;
  text-decoration: none;
}

.btn.focus,
.btn:focus {
  box-shadow: none !important;
}

.btn.disabled:hover,
.btn.disabled:focus {
  cursor: not-allowed !important;
}

.btn-cta {
  background-color: #21f999 !important;
}

.btn-cta:hover {
  background-color: #23ffa2 !important;
}

.btn-cta:active,
.btn-cta:focus {
  background-color: #43da9a !important;
  text-decoration: none !important;
  color: #1e2355 !important;
}

.btn-secondary,
.btn-tertiary {
  color: white;
}

.btn-secondary {
  background-color: #0c3330 !important;
}

.btn-secondary:hover {
  background-color: #165c57 !important;
}

.btn-secondary:active,
.btn-secondary:focus {
  background-color: #041110 !important;
}

.btn-tertiary {
  background-color: #1e2355 !important;
}

.btn-tertiary:hover {
  background-color: #333b8c !important;
}

.btn-tertiary:active,
.btn-tertiary:focus {
  background-color: #14173a !important;
}

.btn-link {
  background-color: transparent !important;
  color: #d71ec7 !important;
  border: none !important;
  padding: 0.25rem 0.5rem;
}

.btn-link:hover,
.btn-link:focus {
  box-shadow: none !important;
  text-decoration: underline;
}

.btn-link:active {
  color: #ac189f !important;
}

.btn-share {
  padding: 0;
  height: 40px;
  width: 40px;
  background-color: transparent;
  border: none;
  box-shadow: none !important;
}

.btn-sm {
  font-size: 0.9rem !important;
}

.btn.btn-icon {
  height: 1.75rem;
  min-width: 1.75rem;
  width: 1.75rem;
  padding: 0;
  font-size: 0.675rem;
  overflow: hidden;
  position: relative;
  line-height: normal;
}
.btn.btn-icon.btn-sm {
  height: 1.25rem;
  min-width: 1.25rem;
  width: 1.25rem;
  font-size: 0.5rem !important;
}

.btn.btn-icon:not(.btn-footer) * {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-12px, -12px);
  line-height: 1.5626rem;
  width: 24px;
}

/* ------------------------INPUTS------------------------- */

.form-control {
  border: 2px solid #ced4da;
  border-radius: 7px;
}

.form-control.error {
  border-color: #b00020;
}

.form-control.error::placeholder,
.form-control.error:-ms-input-placeholder,
.form-control.error::-ms-input-placeholder {
  color: #b00020;
}

.form-control:focus {
  background-color: #fff;
  border-color: #0c3330;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(12, 51, 48, 0.2);
}

.input-group-text {
  border: none;
}

input[type='checkbox'],
input[type='radio'] {
  width: 1.5rem !important;
  height: 1.5rem !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  border: 2px solid #21f999;
  border-radius: 5px;
  box-shadow: none;
  font-size: 2em;
  cursor: pointer;
  background-color: white;
  position: relative;
}

input[type='checkbox']:checked,
input[type='radio'].optimise-for-options:checked {
  background-color: #21f999;
}

input[type='checkbox']:disabled {
  border-color: lightgray;
}

input[type='checkbox']:checked:after,
input[type='radio']:checked:after {
  font-family: 'Font Awesome 5 Free';
  content: '\f00c';
  font-weight: 900;
  color: #1e2355;
  font-size: 14px;
  position: absolute;
  right: 20%;
}

input[type='checkbox']:focus,
input[type='radio']:focus {
  outline: none;
}

/* TODO double check these changes */
input[type='radio']:not(.optimise-for-options) {
  border-radius: 50%;
}

input[type='radio']:checked:not(.optimise-for-options) {
  background-color: white !important;
}

input[type='radio']:not(.optimise-for-options):checked:after {
  content: '\f111';
  color: #21f999;
  left: 50%;
  right: auto;
  top: 50%;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.form-check-input {
  margin-top: 0;
}

/* ------------------------CARDS------------------------- */

.card {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card .card-header,
.card .card-footer {
  background-color: transparent;
  border: none;
}

.card .card-header {
  padding-bottom: 0 !important;
}

.card .card-footer {
  padding-top: 0 !important;
}

/* SVG filter to convert black icons to green-light color */
.filter-green-light {
  filter: brightness(0) saturate(100%) invert(89%) sepia(26%) saturate(2313%)
    hue-rotate(88deg) brightness(99%) contrast(97%);
}
