
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,
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;
}

:focus-visible {
  outline: -webkit-focus-ring-color auto 0px;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

:root {
    --label-font-family: "Open sans";
    --label-color: #434343;
    --label-font-size: 17px;
    --green: #73982a;
    --purple: #5e3487;
    --red: #fa5252;
    --white: #faf0e6;
    --light-grey: #F3F3F3;
    --sign-pad-height: 200px;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

.form-row-full {
  margin-bottom: 30px;
}

.container {
   width: 768px; 
   margin: auto; 
}

header {
    padding: 30px 0;
    background-image: url('images/multicolorbck.jpg');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    justify-content: center;
}

.logo img {
    width: 180px;
}

div.form-section {
    padding: 50px 35px;
    box-shadow: 3px 3px 18px #ccc;
    margin-bottom: 100px;
}

h1 {
    font-family: "Inter", Sans-serif;
    font-size: 30px;
    color: var(--purple);
    font-weight: 700;
    line-height: 47px;
    letter-spacing: -0.2px;
}

.form {
  margin-top: 30px
}

.form-row {
  width: 100%;
}

.element-holder {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.element-holder label, .element-holder legend.label {
    font-family: var(--label-font-family);
    font-size: var(--label-font-size);
    color: var(--label-color);
    font-weight: 600;
    line-height: 27px;
    margin-bottom: 8px;
}

.element-holder input {
  padding: 10px 20px;
  border-style: solid;
  border-width: 1px;
  border-color: var(--light-grey);
  background-color: var(--light-grey);
  border-radius: 7px;
  font-size: 15px;
  height: 30px;
  -webkit-transition: color 0.25s;
  transition: color 0.25s;
}

.element-holder input.error {
  border-color: var(--red) !important;
}

.element-holder input:focus, .element-holder input:focus-visible, .element-holder input:active {
  border-color: var(--purple);
}

form label.error {
  font-family: 'roboto';
  font-size: 14px;
  color: var(--red) !important;
  font-style: italic;
  font-weight: 600;
}

form label abbr.required, form legend.label abbr.required {
    color: #fa5252;
    font-weight: 700;
    border: 0 !important;
    text-decoration: none;
}

.list-column ul.list-item {
  flex-direction: column;
}

ul.list-item {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.list-row ul.list-item li{
    flex: 50%;
    margin-bottom: 5px;
}

ul.list-item li label{
  margin-bottom: 0;
}

ul.list-item li div.list-flex-row {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 10px;
}

ul.list-item li label {
  font-family: "Open sans";
  font-size: 15px;
  color: #434343;
  font-weight: 500;
  margin-left: 7px;
  line-height: normal;
}

ul.list-item input[type=checkbox],  ul.list-item input[type=radio]{
  width: 18px;
  height: 18px;
  margin: 0;
}

ul.list-flex-row-2 {
  flex-direction: row;
  flex-wrap: wrap;
}

ul.list-flex-row-2 li{
  flex: 1 0 45%; /* explanation below */
  margin-top: 10px;
}

.element-holder textarea {
  height: 200px;
  resize: unset;
  padding: 15px;
  background-color: var(--light-grey);
  border-width: 1px;
  border-color: var(--light-grey);
  border-style: solid;
  font-size: 14px;
  border-radius: 7px;
}

.element-holder textarea:focus {
  border-color: var(--purple);
}

.element-holder textarea.error {
  border-color: var(--red);
}

.signature-pad-wrapper {
    position: relative;
    width: 500px;
    height: 200px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.signature-pad {
    position: absolute;
    left: 0;
    top: 0;
    width:500px;
    height:200px;
}

.form-row canvas.pad {
  width: 500px;
  border: solid 2px  #f3f3f3;
  background-color: #F3F3F3;
  border-radius: 7px;
}

.hidden{
  display: none;
}

.submit {
  padding: 15px 20px;
  background-color: var(--purple);
  border: none;
  transition: all 1s ease;
  font-family: var(--label-font-family);
  font-size: large;
  color: var(--white);
  cursor: pointer;
}

.submit:hover {
  background-color: var(--green);
}


.sigPad {
  margin: 0;
  padding: 0;
  width: 400px;
  height: var(--sign-pad-height);
}

.sigWrapper {
  width: 400px;
  height: var(--sign-pad-height);
  border-style: solid;
  border-width: 1px;
  border-color: var(--light-grey) !important;
  border-radius: 7px;
  padding: 2px;
  background-color: var(--light-grey);
}

.sigWrapper.error {
  border-color: var(--red) !important;
}

#submit-div {
  display: flex;
  justify-content: left;
  align-items: center;
}


#loader img {
  width: 30px;
  height: 30px;
  margin-left: 15px;
}

