/* Your CSS code here */
/* $Id: $ */
@charset "UTF-8";
html,
body,
div,
span,
applet,
object,
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,
sub,
sup,
tt,
var,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
caption,
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: inherit;
  vertical-align: baseline;
}
/* Removed strong because already fixed by normalize.css */

:root {
  --main-bg-color: #01436f;
  --dark-blue: #002d4c;
  --blue-light: #006ab3;
  --test: #3388dd;
  --main-accent-color: #ffdd14;
  --primary-color: #ffffff;
  --button-color: #00000066;
  --border-color: #767676;
  --error-color: #dd0011;

  --font-family-title: Montserrat, sans-serif;
  --font-family-text: Arial, Helvetica, sans-serif;
  --body-font-size: 1rem;
  --body-font-weight: 400;
  --body-line-height: 1.5;

  --border-radius-sm: 0.2rem;
  --border-radius: 0.35rem;
  --border-radius-lg: 0.45rem;
  --border-radius-xl: 0.6rem;
  --border-radius-2xl: 2rem;
  --border-radius-pill: 50rem;

  --drop-shadow-size: 1.5rem;
}

body {
  background: var(--main-bg-color);
  min-height: 100vh;

  color: var(--main-bg-color);
  font-family: var(--font-family-text);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);

  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  display: flex;
  justify-content: center;
}

input,
input[type="text"],
input[type="search"],
isindex,
textarea,
button {
  outline: none;
  margin: 0;
  padding: 0.5rem 1rem;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
}

button {
  background-color: var(--dark-blue);
  color: var(--main-accent-color);
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-family-title);
  text-transform: uppercase;
  border-radius: var(--border-radius);
}

/* UNUSED: wrong pseudo-element syntax (::invalid instead of :invalid), never applied
input::invalid {
  background-color: #04aa6d;
} */

a {
  border: 0px;
  outline: none;
  color: #3a6cae;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ol ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.formWidth {
  margin: var(--drop-shadow-size) 0 0 0;
  width: 700px;
  height: min-content;
}

.formDropShadow {
  transform: translate(var(--drop-shadow-size), calc(-1 * var(--drop-shadow-size)));
  background: var(--main-accent-color);
}

.formWrapper {
  transform: translate(calc(-1 * var(--drop-shadow-size)), var(--drop-shadow-size));
  background: #fff;
  /* overflow: hidden; */
  -webkit-border-radius: var(--border-radius-lg);
  -moz-border-radius: var(--border-radius-lg);
  border-radius: var(--border-radius-lg);
}

@media (max-width: 700px) {
  #content,
  .formWidth {
    width: 100%;
  }

  .formDropShadow {
    transform: none;
    background: #fff0;
  }

  .formWrapper {
    transform: none;
  }
}

h1,
h2 {
  font-family: var(--font-family-title);
}

h1 {
  font-size: 2rem;
  color: var(--main-accent-color);
  padding: 0.5rem 0 1rem 0;
  font-weight: 900;
  text-transform: uppercase;
}

h2,
fieldset.formStep > legend {
  font-weight: 700;
  font-size: 1.5em;
  color: var(--dark-blue);
}

/* h2 {
    background: var(--dark-blue);
    width: auto;
  } */

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  text-indent: 0.5rem;
  color: var(--dark-blue);
}

/* UNUSED: no element uses .signContainer
.signContainer canvas {
  width: 100%;
} */

/* UNUSED: no element uses #liability
#liability {
  font-weight: 900;
} */

multi-step-form > fieldset,
.flx-form {
  display: flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem 0;
}

.formInput {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.formInput > div {
  display: flex;
  flex-direction: column;
}

.multiInput {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 700px) {
  .multiInput {
    flex-direction: column;
  }
}

/****************Legal pages styling****************/

.legal ol,
.legal ul {
  counter-reset: legalCounter;
  list-style: none;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.legal li {
  counter-increment: legalCounter;
  display: flex;
  flex-flow: wrap;
}

.legal ol > li:before {
  content: counter(legalCounter) ". ";
  padding-right: 1rem;
}

.legal ul > li:before {
  content: "• ";
  padding-right: 1rem;
}

.legal p {
  text-align: justify;
}

.legal li > * {
  flex: 1;
}

.legal section {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.legal .hidden {
  display: none;
}

.liabilityName {
  font-weight: bold;
  text-transform: uppercase;
}

/* UNUSED: no element uses .ack
.ack {
  padding: 1rem;
  background: #f6d92a9e;
  border-radius: var(--border-radius-lg);
} */

/****************Tom select CSS Override ****************/

.countrySelect .optgroup-header {
  font-weight: bold;
}

.countrySelect .optgroup .option {
  padding: 0.5rem 1rem;
}

.countrySelect .ts-control {
  border: 1px, solid, #767676;
  padding: 0.5rem 1rem;
}

.countrySelect .ts-control,
.countrySelect .ts-dropdown,
.countrySelect .ts-control input {
  font-size: var(--body-font-size);
}

/****************IntlTelInput CSS Override****************/

.formInput .container {
  display: flex;
  flex-direction: column;
}

.formInput div:has(input[type="checkbox"]) {
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
}

.formInput input {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 1rem;
  font-family: var(--font-family-text);
  font-size: 1rem;
}

.formInput input[type="checkbox"] {
  margin-right: 0.5rem;
}

.formInput.invalid {
  color: var(--error-color);

  input {
    border: 1px solid var(--error-color);
  }

  span {
    padding: 0.4rem 0 0 0.5rem;
    font-size: 0.9rem;
  }
}

.formInput .invalid {
  color: var(--error-color);
}

.formInput input.invalid {
  border: 1px solid var(--error-color);
}

.formInput span.invalid {
  padding: 0.4rem 0 0 0.5rem;
  font-size: 0.9rem;
}

.formInput span.visible {
  display: block;
}

.formInput .important {
  color: var(--error-color) !important;
}

.formInput .iti input {
  width: 100%;
}

.formInput .iti input.iti__tel-input[type="tel"]:focus,
.formInput .iti button.iti__selected-country:focus {
  outline: -webkit-focus-ring-color auto 1px;
}

/* UNUSED: no element uses .sigPad
.sigPad .typeItDesc,
.sigPad .drawItDesc {
  font-family: var(--font-family-text);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  color: var(--main-bg-color);
  border: none;
} */

/****************Home navigation****************/

/* Same as multi-step-form :host */
.homeNav {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 1rem 10% 2rem 10%;
}

.homeNav h2 {
  padding: 0 0 0.75rem 0;
}

.homeNav p {
  padding: 0 0 1.5rem 0;
}

.homeNav nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  margin: auto;
}

.homeNav a {
  padding: 0.5rem 1.5rem;
  margin: auto;
  background-color: var(--dark-blue);
  border-radius: var(--border-radius);
  border: 2px solid var(--dark-blue);
  color: var(--main-accent-color);
  font-weight: 800;
  font-family: var(--font-family-title);
  text-transform: uppercase;
  text-align: center;
}

.homeNav a.disabled {
  --grey: #cccccc;
  background-color: var(--grey);
  border: 2px solid var(--grey);
  color: #707070;
}
