:root {
  --pf-primary-colour: #FFFFFF;
  --pf-secondary-color: #CCCCCC;
  --pf-font-primary: rgba(0, 0, 0, 0.87);
  --pf-font-secondary: #808080;
  --pf-box-shadow: #00000014;
  --pf-accent-primary-faded: #F8F4EE;
  --pf-accent-primary: #BC955B;
  --pf-accent-secondary: #EEEEEE;
  --pf-font-family: Roboto, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;

  --pf-container-margin: 16px;
  --pf-container-border-radius: 24px;
}
body {
  margin: 0;
  height: 100vh;
  width: 100vw;
  background-color: #F5F5F5;
  overflow-y: hidden;
}

fieldset {
  margin-top: 45px !important;
  height: 100%;
  padding: 0px; 
}
fieldset legend {
  position: relative;
  font-family: var(--pf-font-family); font-size: 12px; font-weight: 400;
  text-align: left;
  color: var(--pf-accent-primary);
  top: -32px;
}

/* input::placeholder { opacity: 0; }
input:focus::placeholder { opacity: 1; transition: opacity 400ms; } */

label > span {
  display: block;
  font-family: var(--pf-font-family);
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  color: var(--pf-font-secondary);
  padding-bottom: 5px;
}

button, input, select, textarea {
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  color: var(--pf-font-primary);
  font-family: var(--pf-font-family);
  padding: 0.5rem;
  margin-bottom: 16px;
}
button, input[type="button"], input[type="reset"], input[type="submit"] {
  font-size: 1rem;
  background-color: var(--pf-accent-primary);
  color: var(--pf-primary-colour);
}
button:hover:not(:disabled), input:hover:not(:disabled), select:hover:not(:disabled) { border: 1px solid rgba(0, 0, 0, 0.38); }
button:focus, input:focus, select:focus, textarea:focus { outline-color: var(--pf-accent-primary) }
button:disabled, input:disabled, select:disabled { opacity: 0.4; }
button svg { stroke: var(--pf-primary-colour); margin-right: 8px; vertical-align: middle; cursor: pointer; }

input[type="button"] { font-size: 1rem; }
input[type="color"] { padding: 0; }
input[type="file"] { padding: 0; }
input[type="file"]::file-selector-button {
  border-radius: 5px;
  font-size: 1.1rem;
  line-height: 1.6rem;
}
input[type="range"], input[type="range"]:hover { padding: initial; border: none; }
input[type="radio"], input[type="checkbox"], input[type="range"] {accent-color: var(--pf-accent-primary); }
option:hover { background-color: var(--pf-accent-primary-faded) }

h1 { font-family: var(--pf-font-family); font-size: 2.5em; font-weight: 800; color: var(--pf-font-primary); }
h2 { font-family: var(--pf-font-family); font-size: 14px; font-weight: 800; color: var(--pf-font-primary); }
h3 { font-family: var(--pf-font-family); font-size: 12px; font-weight: 800; color: var(--pf-font-primary); }
h4 { font-family: var(--pf-font-family); font-size: 1.75em; font-weight: 800; color: var(--pf-font-primary); }
h5 { font-family: var(--pf-font-family); font-size: 1.5em; font-weight: 800; color: var(--pf-font-primary); }
h6 { font-family: var(--pf-font-family); font-size: 1.25em; font-weight: 800; color: var(--pf-font-primary); }
h1 span {
  font-family: var(--pf-font-family); font-size: 0.4em; font-weight: 400;
  color: var(--pf-font-secondary);
  display: block;
}
h2 span {
  font-family: var(--pf-font-family); font-size: 0.36em; font-weight: 400;
  color: var(--pf-font-secondary);
  display: block;
}
h3 span {
  font-family: var(--pf-font-family); font-size: 0.32em; font-weight: 400;
  color: var(--pf-font-secondary);
  display: block;
}
h4 span {
  font-family: var(--pf-font-family); font-size: 0.28em; font-weight: 400;
  color: var(--pf-font-secondary);
  display: block;
}
h5 span {
  font-family: var(--pf-font-family); font-size: 0.24em; font-weight: 400;
  color: var(--pf-font-secondary);
  display: block;
}
h6 span {
  font-family: var(--pf-font-family); font-size: 0.2em; font-weight: 400;
  color: var(--pf-font-secondary);
  display: block;
}

p, div, a { font-family: var(--pf-font-family); font-size: 14px; font-weight: 400; }
a { text-decoration: none; color: var(--pf-accent-primary); }

table {
  border-spacing: 0;
}
table caption {
  font-family: var(--pf-font-family); font-size: 12px; font-weight: 400;
  text-align: left;
  color: var(--pf-accent-primary);
  padding-left: 18px;
  padding-bottom:15px;
}
table thead td { text-align: left;}
table thead tr { box-shadow: none !important;  }
table thead tr:hover { background-color: unset !important; }
table tbody th {
  font-family: var(--pf-font-family); font-size: 12px; font-weight: 400;
  text-align: left;
  color: var(--pf-font-secondary);
}
tr:not(:last-child) { box-shadow: 0px 1px var(--pf-accent-secondary); }
tr:hover { background-color: var(--pf-accent-secondary); }
th, td { padding: 16px; font-family: var(--pf-font-family); font-size: 14px; }
td { text-align: right; }
th {
    color: var(--pf-font-primary);
    font-size: 12px;
    text-align: left;
    vertical-align: bottom;
    position: sticky;
    top: 0;
}
th b { color: var(--pf-font-primary); font-size: 14px; }
tr:first-child > th:first-child { border-top-left-radius: 10px; }
tr:first-child > th:last-child { border-top-right-radius: 10px; }
tbody > tr:last-child > th:first-child { border-bottom-left-radius: 10px; }
tbody > tr:last-child > th:last-child { border-bottom-right-radius: 10px; }
tfoot { height: 100%; }

details {
  max-width: 500px;
  overflow: hidden; /* Keep this line to prevent an odd blue outline around the element in Safari. */
}
summary { display: block; font-family: var(--pf-font-family); font-size: 14px; font-weight: 400; color: var(--pf-accent-primary);}
summary::-webkit-details-marker { display: none; }
summary span {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 1rem;
  height: 4rem;
}
summary span:hover { cursor: pointer; }
summary span::before {
  content: "►";
  color: var(--pf-accent-primary);
  font-size: 14px;
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
  transition: rotate 200ms 400ms ease-out;
}
div.content {
  box-sizing: border-box;
  font-family: var(--pf-font-family);
  max-width: 500px;
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
  border: 2px solid transparent;
  transition: max-height 400ms ease-out, border 0ms 400ms linear;
}
details[open] + div.content {
  max-height: 800px; /* Set a max-height value enough to show all the content */
  transition: max-height 400ms ease-out, border 0ms linear;
}
details[open] span::before {
  rotate: 90deg;
  transition: rotate 200ms ease-out;
}    

dialog {
  border-radius: var(--pf-container-border-radius);
  box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12) !important;
  box-sizing: border-box;
  border: 0 none;
  margin: auto !important;
}
dialog[open] { display: flex; flex-direction: column; justify-content: space-between; }
dialog header { display: flex; flex-direction: row; justify-content: space-between; }
dialog header form button svg { margin-right: 0px; }
dialog section { overflow-y: scroll;}
dialog footer { display: flex; flex-direction: row; justify-content: space-between; padding-top: 2em; }
dialog footer button { margin-bottom: 0px; }
::backdrop { background-color: rgba(0, 0, 0, 0.32); }

.container, .container-1x1, .container-2x1, .container-2x2, .container-4x2, .container-4x4 {
  background-color: var(--pf-primary-colour);
  border: 24px solid var(--pf-primary-colour);
  border-radius: var(--pf-container-border-radius);
  box-shadow: 0 2px 4px var(--pf-box-shadow);
  box-sizing: border-box;
  margin: var(--pf-container-margin);
}
.container-1x1 { width: 200px; height: 200px; }
.container-2x1 { width: 400px; height: 200px; }
.container-2x2 { width: 400px; height: 400px; }
.container-2x4 { width: 400px; height: 800px; }
.container-4x2 { width: 832px; height: 400px; }
.container-4x4 { width: 832px; height: 800px; }
.container-4xV { width: 832px; height: 80%; }
.container-4x0 { width: 832px; }
.container-2x1 .field-12, .container-2x2 .field-12 { width: 328px; }
.container-2x1 .field-9, .container-2x2 .field-9 { width: 246px; }
.container-2x1 .field-8, .container-2x2 .field-8 { width: 219px; }
.container-2x1 .field-6, .container-2x2 .field-6 { width: 164px; }
.container-2x1 .field-4, .container-2x2 .field-4 { width: 109px; }
.container-2x1 .field-3, .container-2x2 .field-3 { width: 82px; }
.container-4x2 .field-12, .container-4x4 .field-12 { width: 766px; }
.container-4x2 .field-9, .container-4x4 .field-9 { width: 588px; }
.container-4x2 .field-8, .container-4x4 .field-8 { width: 522px; }
.container-4x2 .field-6, .container-4x4 .field-6 { width: 392px; }
.container-4x2 .field-4, .container-4x4 .field-4 { width: 261px; }
.container-4x2 .field-3, .container-4x4 .field-3 { width: 196px; }
.field-12 { width: 100%; }
.field-9 { width: 75%; }
.field-8 { width: 66.666%; }
.field-6 { width: 50%; }
.field-4 { width: 33.333%; }
.field-3 { width: 25%; }
.flex-wrap { display: flex; flex-wrap: wrap; flex-direction: row; }

button.as-link,  button.as-link:active ,  button.as-link:hover, button.as-link:focus {
  background-color: var(--pf-primary-colour);
  color: var(--pf-accent-primary);
  border: 0px;
  outline-color: var(--pf-primary-colour);
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Regular.ttf');
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Bold.ttf');
  font-weight: bold;
}

/* styling for select */
button.select {
  background-color: var(--pf-primary-colour);
  color: var(--pf-font-primary);
  margin-bottom: 16px;
}
button.select::after {
  content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfhDBQUMQtB55rYAAAARklEQVQoz2NgGEIglCEFhZ/MEIqqIIXhH0MRnFfE8I8hGd2MAob/DJUMDAwMDIUM/xkqsFkDUYJTGmY0slVYQDKaY4cGAAA56hBgfDLbGAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNy0xMi0yMFQyMDo0OToxMSswMDowMB0wWzAAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTctMTItMjBUMjA6NDk6MTErMDA6MDBsbeOMAAAAAElFTkSuQmCC");
  margin-left: 16px;
}
.options-container {
  background-color: var(--pf-primary-colour);
  box-shadow: 0 2px 4px var(--pf-box-shadow);
  box-sizing: border-box;
  display: none;
  position: absolute;
  border-radius: 5px;
  margin-top: -16px;
}
.option {
  padding: 0.75rem;
  font-family: var(--pf-font-family);
}
.option.selected { color: var(--pf-accent-primary); background-color: var(--pf-accent-primary-faded);}
.option:hover { background-color: var(--pf-accent-secondary);}

/* styling for dropdown menu */
menu {
  box-sizing: border-box;
  font-family: var(--pf-font-family);
  overflow: hidden;
  padding: 0px;
  background: var(--pf-primary-colour);
  border: 0px;
  border-radius: 12px;
  box-shadow: 0 2px 4px -1px #0003, 0 4px 5px #00000024, 0 1px 10px #0000001f;
  display: none;
  position: absolute;
}
menu li {
  list-style: none;
  padding: 0.75rem;
  font-family: var(--pf-font-family);
  font-size: 14px;
  display: flex;
  align-items: center;
}
menu li:hover { background-color: var(--pf-accent-secondary); color: var(--pf-accent-primary); }
menu li svg {
  height: 1rem;
  margin-right: 8px;
  fill: #00000078;
}
menu li:hover svg { fill: var(--pf-accent-primary); }

:root {
  --pf-icon-colour: #666666;
}

#blocker {
  background-color: #171717;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#heading {
  background-color: #000000;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 28px;
}
#heading svg {
  padding-right: 26px;
}

#content {
  display: flex;
  height: 100%;
  width: 100%;
}

#menu {
  background-color: #1A1A1A;
  height: calc(100% - 78px);
  width: 240px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 16px 16px 16px 16px;
}

#workspace {
  background-color: #F5F5F5;
  display: flex;
  flex-direction: row;
  height: 100%;
  width:100%;
  overflow-y: scroll;
}

#home-page {
  display: flex;
  flex-direction: row;
  height: 100%;
  width:100%;
}

#home-page h1 {
  margin-left: 0;
  margin-top: 0;
}

#home-page-content {
  padding: 2rem;
}

#user-profile { cursor: pointer; }

.menu-item, .menu-item-bottom, .menu-item-copyright {
  align-items: center;
  color: #BFBFBF;
  display: flex;
  font-size: 14px;
  fill: var(--pf-icon-colour);
  stroke: var(--pf-icon-colour);
  margin-bottom: 5px;
  padding-bottom: 5px;
}
.menu-item { border-bottom: 1px solid #333333; height: 32px; }
.menu-item:hover, .menu-item.active, .menu-item-bottom:hover {
  color: #FFFFFF;
  fill: var(--pf-accent-primary);
  stroke: var(--pf-accent-primary);
  cursor: pointer;
}
.menu-item svg, .menu-item-bottom svg {
  padding-right: 8px;
  height: auto;
  width: 16px;
  height: 16px;
}
.menu-item span, .menu-item-bottom span, .menu-item-copyright span {
  font-family: var(--pf-font-family);
}
.menu-item-copyright {
  color: #808080;
}

span.blurb {
  font-size: 12px;
}

.widget-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  height: calc(100% - 48px);
  width: 100%;
}
.widget {
  background: #FFFFFF 0% 0% no-repeat padding-box;
  box-shadow: 0px 12px 24px #00000029;
  border-radius: 32px;
  width: 468px;
  height: 280px;
  display: flex;
  flex-direction: row;
  margin: 16px 32px 16px 0;
}
.widget-left {
  background-image: url('data:image/svg+xml;utf8,<svg id="widget-left-background" xmlns="http://www.w3.org/2000/svg" width="184" height="280" viewBox="0 0 184 280"><path id="IMG_Curve-Complete" d="M152,248V32A32,32,0,0,0,120,0H32A32,32,0,0,0,0,32V248a32,32,0,0,0,32,32H184a32,32,0,0,1-32-32" fill="%23f5f5f5"/></svg>');
  width: 184px;
  height: 280px;
}
.widget-left svg {
  position: relative;
  top: 40px;
  left: 36px;
  height: 72px;
  width: 80px;
}
.widget-right {
  height: 280px;
  width: 284px;
}
.widget-right h1 {
  position: relative;
  top: 38px;
  left: 0px;
  width: 280px;
  height: 66px;
  overflow-x: hidden;
  overflow-y: hidden;
  font-size: 28px;
  margin: 0px !important;
}
.widget-right p {
  position: relative;
  top: 44px;
  left: 0px;
  height: 85px;
  width: 270px;
  overflow: hidden;
  color: var(--pf-font-secondary);
}
.widget-right button {
  cursor: pointer;
  position: relative;
  top: 35px;
  left: 0px;
}

.tabcontent {
  display: none;
  padding: 0 0 64px 0;
  border: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

ol.privacyPolicy {
  counter-reset: list;
}
ol.privacyPolicy > li {
  list-style: none;
}
ol.privacyPolicy > li:before {
  content: counter(list) ") ";
  counter-increment: list;
}

dialog h1 { margin-top: 0px; }
.support-dialog {
  height: 330px;
  width: 500px;
}

.support-dialog-row-last, .support-dialog-row {
  display: flex;
  flex-direction: row;
  padding-bottom: 16px;
  padding-top: 16px;
}
.support-dialog-row {
  border-bottom: 1px dashed var(--pf-secondary-color);
}
.support-dialog-image, .support-dialog-phone {
  margin-right: 15px;
}
.support-dialog-phone-number {
  color: var(--pf-accent-primary);
}

.span-rating {
  padding-bottom: 2em;
}

button.rating,  button.rating:active ,  button.rating:hover, button.rating:focus {
  background-color: var(--pf-primary-colour);
  color: var(--pf-accent-primary);
  border: 0px;
  outline-color: var(--pf-primary-colour);
}

button.star,
button.star:active,
button.star:hover,
button.star:focus {
  display: inline-block;
  margin-right: 16px;
  margin-left: 16px;
  transform: scale(2.2, 2.2);
}

#logout, #password-reset {
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
  #menu {
    width: 48px;
  }

  div.menu-item span, div.menu-item-bottom span, div.menu-item-copyright span {
    display: none;
  }
}
#toasts {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 500px;
  padding: 40px 20px;
  pointer-events: none;
  transform: translateX(-50%);
  z-index: 9999;
  font-family: "Roboto", sans-serif;
}

.toast {
  background-color: #E2E3E5;
  border: 1px solid darken(#E2E3E5, 5%);
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.1);
  animation: toast 0.4s ease;
  cursor: pointer;
  pointer-events: all;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  color: white;
  z-index: 9999;
}

#toasts .toast.success {
  background-color: #36d53d;
  border-color: darken(#36d53d, 5%);
}

#toasts .toast.warning {
  background-color: #feb055;
  border-color: darken(#feb055, 5%);
}

#toasts .toast.error {
  background-color: #ef4244;
  border-color: darken(#ef4244, 5%);
}

#toasts .toast.info {
  background-color: #63b4f1;
  border-color: darken(#63b4f1, 5%);
}

#toasts .toast.close {
  animation: toast-close 0.4s ease;
}

.toast-icon, .close {
  flex-shrink: 0;
}

.toast-icon {
  padding-right: 15px;
  margin-left: -5px;
  display: flex;
  align-items: center;
  justify-content: center
}

.toast-content {
  flex-grow: 1;
}

.toast-content .title {
  font-size: 12px;
}

.toast-content .message {
  font-size: 16px;
}

#toasts .toast .close {
  flex-shrink: 0;
  padding-left: 25px;
}

#toasts .close > div {
  color: white;
  display: inline-block;
  font-size: 21px;
  padding-right: 3px;
  padding-top: 1px;
}

#toasts svg {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 40px;
  height: 40px;
  transform: rotateY(-180deg) rotateZ(-90deg) translateX(50%);
}

#toasts circle {
  stroke-dasharray: 95px;
  stroke-dashoffset: 0px;
  stroke-linecap: round;
  stroke-width: 2px;
  opacity: 0.6;
  stroke: white;
  fill: none;
  animation: countdown 7s linear infinite forwards;
}

@keyframes countdown {
  from {
    stroke-dashoffset: 0px;
  }
  to {
    stroke-dashoffset: 95px;
  }
}

#toasts .toast:not(:last-of-type) {
  margin-bottom: 10px;
}

@keyframes toast {
  0% {
    transform: translateX(20%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toast-close {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-20%);
    opacity: 0;
  }
}