:root {
    --smalltalkrforeground: #045f80;
    --smalltalkrbackground: #a6e5fc;
    --smalltalkrforegroundcomplement: #802504;
    --smalltalkrbackgroundcomplement: #fcbda6;
    --foregroundgray: #555555;
    --backgroundgray: #f0f0f0;
}

.material-symbols-outlined {
    vertical-align: bottom;
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}


html {
  height: 100svh;
  margin: 0px;
  padding: 0px;
}
body {
  margin: 0px;
  padding: 0px;
  height: 100svh;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 12pt;
  color: #555555;
  background-color: ffffff;
}

main.secure-form {
    --foreground: #045f80;
    --background: #a6e5fc;
    --sectionborder: #f0f0f0;

    display: grid;
    margin: 0px;
    padding: 0px;
    height: 100%;
    row-gap: 0px;
    column-gap: 0px;
    grid-template-columns: 1fr;
    grid-template-rows: 75px 1fr 30px;
  @media only screen and (min-width: 512px) {
    grid-template-rows: 50px 1fr 30px;
  }
  @media only screen and (min-width: 1280px) {
    grid-template-columns: 1280px 1fr;
    grid-template-rows: 50px 1fr 30px;
  }

}
main.secure-form section.header-section {
    height: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 2;

  @media only screen and (min-width: 512px) {
    align-items: flex-end;
    height: 50px;
    flex-direction: row;
    justify-content: flex-start;
  }
  @media only screen and (min-width: 1280px) {
    height: 50px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 3;
  }
}

main.designer-page section.header-section-designer {
    height: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 2;
}


main.secure-form section.center-section {
    display: flex;
    flex-direction: column;
    padding: 0px;
    margin: 0px;
    grid-row-start: 2;
    grid-column-start: 1;
    grid-row-end: 3;
    grid-column-end: 2;
}

main.secure-form section.center-section div.secure-form-section-wrapper, main.designer-page section.center-section div.secure-form-section-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 0px;
    margin: 0px;
    height: 100%;
    background-color: var(--background);
}

div.secure-form-section-stretch {
    max-width: 1024px;
    min-width: 300px;

    padding: 20px;
    margin: 20px;
    border: solid 1px var(--sectionborder);
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

div.secure-form-section-small {
    max-width: 400px;
    min-width: 300px;

    padding: 20px;
    margin: 20px;
    border: solid 1px var(--sectionborder);
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

main.secure-form section.right-gutter {
    display: none;
  @media only screen and (min-width: 1280px) {
    display: flex;
    grid-row-start: 2;
    grid-column-start: 2;
    grid-row-end: 3;
    grid-column-end: 3;
    background: var(--background);
  }
}

main.secure-form section.footer-section {
    background-color: var(--background);
    height: 30px;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    grid-row-start: 3;
    grid-column-start: 1;
    grid-row-end: 4;
    grid-column-end: 2;
  @media only screen and (min-width: 512px) {
    justify-content: left;
  }
  @media only screen and (min-width: 1280px) {
    grid-row-start: 3;
    grid-column-start: 1;
    grid-row-end: 4;
    grid-column-end: 3;
    justify-content: left;
  }
}

main.designer-page section.footer-section-designer {
    background-color: var(--background);
    height: 30px;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    grid-row-start: 3;
    grid-column-start: 1;
    grid-row-end: 4;
    grid-column-end: 2;
}

section.header-section img.brand-logo, section.header-section-designer img.brand-logo {
    height: 50px;
}

section.header-section div.header-title, section.header-section-designer div.header-title {
    margin: 0px 2em 0px 2em;
    font-size: 1em;
  @media only screen and (min-width: 512px) {
    font-size: 1.25em;
    font-weight: 600;
  }
}




main.secure-form div.section-heading, div.section-sub-heading {
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.3em;

    color: var(--foreground);
    margin: 0px 0px 10px 0px;
}

div.section-heading > div > a {
    text-decoration: none;
    color: var(--textcolor);
}

div.section-heading > div > a:hover {
    text-decoration: underline;
    color: var(--foreground);
}


/* Form Styles */

div.editable-form{
    display:block;
}

div.editable-form > div {
    margin: 0.5em 0px 0.5em 0px;
}

div.editable-form > div > fieldset {
    border: none;
    padding: 0px;
}

div.editable-form > div > label, div.editable-form > div > fieldset > legend, div.edit-details > div > label {
    color: var(--foreground);
    font-weight: 300;
    font-size: 0.8em;
}

div.editable-form > div > input,
div.editable-form > div > select,
textarea,
div.edit-details > div > input {
    display:flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 8px 10px;
    margin: 0px 0;
    box-sizing: border-box;
    border: 1px solid #aaaaaa;
    border-radius: 0.2em;
    font-size: 1em;
}

div.editable-form > div > span > input,
div.editable-form > div > div.url-suffix > input
 {
    padding: 8px 10px;
    margin: 0px 0;
    font-size: 1em;
}


div.editable-form > div:has(> div select) > div > label {
color: #ff0000;
}

div.editable-form > div > input:focus, div.editable-form > div > select:focus, div.editable-form > div > textarea:focus, div.editable-form > div > fieldset > select:focus, div.editable-form > div > fieldset > input:focus {
    outline: 2px solid var(--foreground);
}


div.editable-form > div > input:read-only,
div.editable-form > div > input:read-only:focus,
div.editable-form > div > span > input:read-only,
div.editable-form > div > span > input:read-only:focus {
    border: none;
    outline: none;
}

div.editable-form > div > div.url-suffix {
    width: 100%;
}


div.editable-form > div:has(> label.field-image-preview) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
}



div.editable-form > div > input[type=file]::file-selector-button {
    visibility: hidden;
}

div.editable-form > div > input[type=file] {
    display: block;
}

div.editable-form > div > input[type=color] {
    width: 2em;
    height: 2em;
    padding: 0px;
}

div.editable-form > div > div.filedownload a {
    color: var(--foregroundgray);
    font-weight: 600;
}

div.editable-form > div.actionbuttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 4em;
    align-items: flex-end;
}

div.editable-form > div.actionbuttons > div {
    min-width: 40%;
}

div.editable-form > div.actionbuttons > div > button {
    background-color: var(--foreground);
    color: #FFFFFF;
    border: 1px solid red;
    border-radius: 1.35em;
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px;
    height: 2.7em;
    width: 100%;
    text-align: center;
}


div.editable-form > div > button
 {
    background-color: var(--foreground);
    color: #FFFFFF;
    border: none;
    border-radius: 1.35em;
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px;
    height: 2.7em;
    width: 100%;
    text-align: center;
}

div.editable-form > div.actionbuttons > div > input[type=submit],
div.editable-form > div.actionbuttons > div > input[type=button],
div.editable-form > div > input[type=submit],
div.editable-form > div > input[type=button] {
    background-color: var(--foreground);
    color: #FFFFFF;
    border: none;
    border-radius: 1.35em;
    font-weight: bold;
    padding: 5px;
    height: 2.7em;
    width: 100%;
    text-align: center;
}

div.editable-form > div.actionbuttons > div > input[type=button],
div.editable-form > div > input[type=button] {
    background-color: #ffffff;
    color: var(--foregroundgray);
    border: 1px solid var(--foregroundgray);
    border-radius: 1.35em;
    font-weight: bold;
    padding: 3px;
    height: 2.7em;
    width: 100%;
}

div.editable-form > div.actionbuttons >  div > input[type=submit]:disabled,
div.editable-form > div.actionbuttons > div > input[type=button]:disabled,
div.editable-form > div > input[type=submit]:disabled,
div.editable-form > div > input[type=button]:disabled {
    background-color: #aaaaaa;
    color: #555555;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    padding: 5px;
    height: 2.5em;
    width: 100%;
}


div.editable-form > div > fieldset input[type=radio] {
    accent-color: var(--foreground);
}

div.editable-form > div:has(> input[type=checkbox]) {
    display: block;
    width: 100%;

    accent-color: var(--foreground);
}


div.editable-form > div > input[type=checkbox] {
    position: relative;
    top: 0px;
    left: 0px;
    width: 2em;
    height: 3em;
}




div.editable-form > div > fieldset:has(> input.phonenumber-field) {
    display: flex;
    flex-direction: row;
    border: 0px;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

div.editable-form > div > fieldset > select.phonenumber-field {
    flex-basis: 33%;

    font-size: 1em;
    padding: 8px 10px;
    margin: 0px 8px 0px 0px;
    box-sizing: border-box;
    border: 1px solid #aaaaaa;
    border-radius: 0.2em;

}


div.editable-form > div > fieldset > input.phonenumber-field {
    flex-basis: 67%;

    padding: 8px 10px;
    margin: 0px 0;
    box-sizing: border-box;
    border: 1px solid #aaaaaa;
    border-radius: 0.2em;
    font-size: 1em;
}

div.editable-form-field-designer {
    position: relative;
}

div.edit-details {
    --foreground: #0c7ba7;
    --background: #f0fdff;
    --sectionborder: #f0f0f0;

    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 10px;
    margin: 0px 0px 8px 0px;
    background-color: #f9f9f9;
}

div.edit-details > div.settings-heading {
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1em;

    color: var(--foreground);
    margin: 0px 0px 20px 0px;
}

div.edit-details > div.header > div.settings-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    font-size: 1em;
}


#map {
  height: 100%;
}

div.listfield-item {
    border: 1px solid var(--foregroundgray);
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0px 0px 0px;
}
div:has(> div.listfield-item-delete) > label {
    display:none;
}
/* Form Styles */


/* Portal conversations */

div.portal-conversation-list {
    display: flex;
    flex-direction: column;
}

div.portal-case-summary {
    border-radius: 10px;
    margin: 10px 10px 10px 0px;
    padding: 10px;
    display: block;
    border: 2px solid var(--smalltalkrforegroundcomplement);
    border-left: 10px solid var(--smalltalkrforegroundcomplement);
    background-color: #ffffff;
}

div.portal-conversation-summary > div.readonly-form-field > span.title, div.portal-conversation-summary > div.readonly-form-threecol > div.readonly-form > div.readonly-form-field > span.title {
    color: var(--foreground);
}

div.portal-case-summary > div.readonly-form-field > span.title, div.portal-case-summary > div.readonly-form-threecol > div.readonly-form > div.readonly-form-field > span.title {
    color: var(--smalltalkrforegroundcomplement);
}

div.portal-conversation-summary {
    border-radius: 10px;
    margin: 10px 10px 10px 10px;
    padding: 10px;
    display: block;
    border: 2px solid var(--smalltalkrforeground);
    border-left: 10px solid var(--smalltalkrforeground);
    background-color: #ffffff
}

div.portal-conversation-list > div.portal-conversation-summary {
    margin: 10px 20px 10px 20px;
}

div.portal-conversation-list > div.portal-case-summary > div.portal-conversation-summary {
    margin: 10px 0px 10px 0px;
}

div.portal-conversation-header {
    display: grid;
    grid-template-columns: 35px 1fr 1fr 1fr 1fr;
    font-size: 800;
    color: var(--smalltalkrforeground);
}

div.portal-conversation-header-collapsed {
    display: grid;
    grid-template-columns: 35px 1fr 1fr 1fr;
    font-size: 800;
    color: var(--smalltalkrforeground);
}

div.portal-conversation-summary:hover {
    background-color: var(--panelbackground);
}

div.portal-case-header {
    display: grid;
    align-items: center;
    grid-template-columns: 35px 1fr 1fr 1fr;
    font-size: 800;
    color: var(--smalltalkrforegroundcomplement);
    --section-color: var(--smalltalkrforegroundcomplement);
}


div.portal-conversation-header > div.portal-conversation-icon, div.portal-case-header > div.portal-case-icon {
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 2;
}

div.portal-conversation-header > div.conversation-name, div.portal-case-header > div.case-name {
    grid-row-start: 1;
    grid-column-start: 2;
    grid-row-end: 2;
    grid-column-end: 3;
    font-weight: 600;
}

div.portal-conversation-header > div.portal-conversation-status {
    grid-row-start: 1;
    grid-column-start: 3;
    grid-row-end: 2;
    grid-column-end: 4;
}

span.portal-conversation-status-completed {
    color: #227722;
    font-size: 800;
}

div.portal-conversation-header > div.portal-conversation-updated, div.portal-case-header > div.portal-case-updated {
    grid-row-start: 1;
    grid-column-start: 4;
    grid-row-end: 2;
    grid-column-end: 5;
}

div.portal-conversation-details {
    margin: 10px 23px 10px 23px;
}

/* End Portal conversations */