﻿@charset "UTF-8";
@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");
html, body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a, .btn-link {
  color: #0366d6;
}

.icp-menu .k-drawer-wrapper {
  width: 260px !important; /* Will override the auto-generated style of the menu's Telerik drawer component. */
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

button:has(.btn-excel) {
  position: relative;
  left: -220px;
  margin-top: 12px;
}

.btn-excel {
  width: 68px;
  height: 38px;
  border-radius: 5px;
  background-image: url("../images/excel-button.png") !important;
}

.content {
  padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid red;
}

.validation-message, .error-messages {
  color: red;
}

#maps-blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 10300;
}

#maps-blazor-error-ui .warning-sign {
  font-weight: bold;
}

#maps-blazor-error-ui .maps-copy,
#maps-blazor-error-ui .maps-reload {
  cursor: pointer;
}

#maps-blazor-error-ui .copy-sign,
#maps-blazor-error-ui .reload-sign {
  text-decoration: none;
}

#maps-blazor-error-ui .k-icon {
  font-size: 20px;
}

#maps-blazor-error-ui .options {
  position: absolute;
  right: 2.15rem;
  top: 0.5rem;
}

#maps-blazor-error-ui .options .separator {
  margin: 0 10px;
}

#maps-blazor-error-ui .maps-dismiss {
  cursor: pointer;
  position: absolute;
  right: -1.45rem;
  top: 0rem;
}

.standard-form {
  width: 800px;
}

.page-title {
  font-size: 14pt;
  margin-bottom: 10px;
}

.sortable {
  cursor: pointer;
}

.window-content {
  padding-bottom: 15px;
}

.window-buttons {
  float: right;
}

.card-margin {
  margin: 15px;
}

/*.k-editor .k-dropdown {
    width: 12.4em !important;
}*/
.k-grid-toolbar .k-pager-wrap,
.k-grid-toolbar .k-pager {
  border: 0;
  flex-grow: 1;
  flex-grow: unset;
}
.k-grid-toolbar .k-pager-wrap .k-pager-info,
.k-grid-toolbar .k-pager .k-pager-info {
  display: none;
}

.page > .main > .top-row {
  /* To make sure any field history shows
     behind the top navigation bar when
     the page is scrolled up.*/
  z-index: 1000;
}

.top-row .btn-link {
  color: white;
}

.maps-background {
  background-color: #696969;
}

.maps-background .navbar-brand,
.maps-background .navbar-brand:hover {
  color: white;
}

.yellow-icon {
  color: yellow !important;
}

.k-window-titlebar {
  background-color: #3274CC;
  color: white;
}

.k-button-icon,
.k-icon-button {
  background: inherit;
  border: none;
  margin: auto;
}
.k-button-icon .k-icon,
.k-icon-button .k-icon {
  font-size: large;
}

/*
.k-grid-pager {
    display: none;
}

.k-command-cell span {
    display: flex;
}*/
th {
  font-weight: bold;
}

.btn-margin {
  margin: 10px;
}

.large-icon .k-icon::before {
  font-size: x-large;
}

.k-drawer-wrapper {
  min-height: 100%;
}

.no-scroll .k-grid-content {
  overflow-y: hidden;
}
.no-scroll .k-grid-header {
  font-weight: bold;
  padding-right: 0 !important;
}
.no-scroll .k-grid-header-wrap {
  border-width: 0px !important;
}

/*.row .k-checkbox {
    margin: 5px;
}*/
.image-button {
  width: 68px;
  height: 38px;
  padding: 0px;
}
.image-button span,
.image-button img {
  border-radius: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}

.k-menu-horizontal.manage-account {
  background-color: #696969;
}

.k-menu.k-menu-horizontal:not(.k-context-menu).manage-account {
  padding: 0; /* To avoid the slight overflow of the bottom of the account menu on the top navigation bar.*/
}

.manage-account .k-link {
  color: #eaeaea;
}

.manage-account .k-link.k-menu-link.k-state-active {
  color: #ffffff;
}

#account .validation-summary-errors li {
  list-style-type: "⚠️ ";
}

.maps-background {
  background-color: #696969;
}

/* Should have the same width as an element styled with a warning-box class. */
.browser-not-supported.alert {
  margin: 20px auto 0 auto;
  width: 870px;
}

#app.browser-not-supported div.k-popup.k-menu-popup {
  position: relative;
  top: -150px;
}

.k-textbox.k-input {
  /* Overrides the width if necessary to make sure history
     buttons always appear on the right of text boxes. */
  width: 500px;
}

.form-signin .k-textbox.k-input {
  width: 350px;
}

.k-window .k-textbox.k-input {
  width: 350px;
}
.k-window .single-field-editor.k-textbox.k-input {
  width: 460px;
}

.k-textarea.k-input {
  width: 500px;
}

.k-grid-search.k-input {
  width: 160px;
}

.k-combobox.k-input {
  width: 500px;
}

.k-multiselect.k-input {
  width: 500px;
}

.k-dropdownlist,
.k-autocomplete.k-input {
  width: 500px;
}
.k-dropdownlist.lov,
.k-autocomplete.k-input.lov {
  width: 200px;
}

.k-filter-menu .k-dropdownlist {
  width: 200px;
}

.k-numerictextbox.k-input {
  width: 100px;
}

.k-datepicker.k-input {
  width: 150px;
}

.info-text-icon {
  color: #005dc4;
  font-family: "Courier New", monospace;
  font-weight: bold;
}

.warning-text-icon {
  color: #cc7000;
  font-family: "Courier New", monospace;
  font-weight: bold;
}

.info-text-icon::before {
  content: "i ";
  font-size: 1.2em;
}

.warning-text-icon::before {
  content: "! ";
  font-size: 1.2em;
}

.info-text-icon.-large,
.warning-text-icon.-large,
.warning-header {
  font-size: 150%;
}

.info-text-icon.-tooltip,
.warning-text-icon.-tooltip {
  cursor: pointer;
}

.info-box {
  border: 1px solid #005dc4;
  margin-bottom: 20px;
  padding: 6px;
  width: 870px;
}

.warning-box {
  border: 1px solid #cc701d;
  margin-bottom: 20px;
  padding: 6px;
  width: 870px;
}

.info-box .box-text,
.warning-box .box-text {
  font-size: 90%;
}

.timeout-dialog {
  display: none;
  min-width: 200px;
  position: fixed;
  /* Prevents useless vertical scrollbars. */
  top: 200px;
  z-index: 10002;
}

.email-template-editor {
  min-width: 400px;
}

/*.k-iframe {
    width: 100%;
}*/
#wrd1 {
  position: relative;
  height: calc(100vh - 3.5rem - 60px);
}

#rv1 {
  position: relative;
  height: calc(100vh - 6.5rem - 60px);
}

.grid-menu {
  background-color: transparent;
  border: 0;
}
.grid-menu .k-button-icon {
  background: inherit;
  border: none;
  margin: auto;
}
.grid-menu .k-button-icon .k-icon {
  font-size: large;
}
.grid-menu .k-icon-button.k-button-md {
  background-color: transparent;
  border: 0;
  padding: 0;
}
.grid-menu .k-menu.k-menu-horizontal:not(.k-context-menu) {
  padding: 0px;
  color: black;
  background-color: inherit;
}
.grid-menu .k-menu.k-menu-horizontal:not(.k-context-menu) .k-item {
  color: black;
}

.k-menu-popup .k-i-envelop {
  color: #3274CC;
}

.k-column-title {
  font-weight: bold;
}

.input-group:focus-within {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  border-radius: 5px;
}
.input-group:focus-within .k-input-solid.k-focus {
  box-shadow: none;
}

.role-list > .role-item {
  margin-right: 1.2em;
}

.fake-toolbar {
  background-color: #fafafa;
  padding: 0 15px;
}

.command-header {
  font-weight: bold;
}

#serviceUserSearch .k-label,
.service-user-history .k-label {
  font-weight: bold;
}
#serviceUserSearch .k-textbox.k-input,
.service-user-history .k-textbox.k-input {
  width: 250px;
}
#serviceUserSearch .k-datepicker.k-input,
.service-user-history .k-datepicker.k-input {
  width: 150px;
}
#serviceUserSearch .add-button,
.service-user-history .add-button {
  float: right;
  position: relative;
}
#serviceUserSearch .add-button.-invisible,
.service-user-history .add-button.-invisible {
  visibility: hidden;
}

#serviceUserSearch .add-button {
  top: 16px;
}

.service-user-history > .page-title {
  font-weight: bold;
  color: #1779dc;
}
.service-user-history .add-button {
  top: -8px;
}

.k-pager-input .k-numerictextbox.k-input {
  width: 65px;
}

.container {
  /* k-disabled has to be redefined for a view-only container or item
         to ensure pop-ups such as those for histories are fully visible
         when displayed on top of disabled form fields. */
}
.container .k-form-buttons {
  float: right;
  margin-top: 36px;
  margin-bottom: 36px;
  position: relative;
  right: 48px;
}
.container.-view-only .k-disabled,
.container .view-only.k-disabled {
  opacity: 1;
  filter: none;
}
.container.-view-only .k-disabled .k-label,
.container.-view-only .k-disabled .k-input,
.container.-view-only .k-disabled .k-dropdownlist,
.container .view-only.k-disabled .k-label,
.container .view-only.k-disabled .k-input,
.container .view-only.k-disabled .k-dropdownlist {
  opacity: 0.65;
  filter: grayscale(0.1);
}

hr.component-separator {
  background-color: #dee2e6;
  height: 2px;
  margin-top: 48px;
}

.overdue {
  color: #e5172f;
  font-weight: bold !important;
}

.icp-status {
  font-weight: bold !important;
}
.icp-status.-active {
  color: #f89000;
}
.icp-status.-resolved {
  color: #39b137;
}

.icp-wizard .page-title {
  font-weight: bold;
  color: #1779dc;
}
.icp-wizard .k-wizard-content {
  overflow-y: clip; /* It's OK if what's clipped is only blank. */
}
.icp-wizard .k-step-text {
  max-width: calc(12em - 16px - 0.5rem) !important;
}
.icp-wizard .k-step-indicator:has(.k-svg-i-exclamation-circle) {
  border-color: #e5172f;
  background-color: #e5172f;
}

.k-button.icp-wizard-email-button, .k-button.discharge-form-email-button {
  background-color: #3BAD3B !important;
  color: white !important;
  font-weight: bold !important;
}
.k-button.icp-wizard-print-button, .k-button.discharge-form-print-button {
  background-color: #676A6B !important;
  color: white !important;
  font-weight: bold !important;
}

.service-user-details-summary {
  border: 1px solid #c0c0c0;
  margin-bottom: 24px;
}
.service-user-details-summary th:first-child,
.service-user-details-summary td:first-child {
  padding-left: 62px;
}
.service-user-details-summary th, .service-user-details-summary td {
  padding-right: 62px;
  text-align: center;
}

/* Field histories */
.risk-assessment-history {
  position: relative;
  top: -28px;
  left: 120px;
}

.k-grid-table:has(.referral-history) {
  margin-bottom: 150px; /* Re-adjust depending on the height of the referral history table (field history). */
}
.k-grid-table:has(.referral-history) .k-table-td {
  overflow: visible; /* Forces a referral history to fully appear in a table cell when summoned. */
}

.referral-history {
  position: relative;
  top: -28px;
  left: 190px;
}

.telerik-grid:has(.service-user-involvement-history) {
  margin-bottom: 150px; /* Re-adjust depending on the height of the referral history table (field history). */
}
.telerik-grid:has(.service-user-involvement-history) .k-table-td {
  overflow: visible; /* Forces a referral history to fully appear in a table cell when summoned. */
}

.service-user-involvement-history {
  position: relative;
  top: -28px;
  left: 124px;
}

.field-history-toggle {
  cursor: pointer;
  pointer-events: auto;
}

.field-history table {
  margin-bottom: 4px;
}
.field-history table, .field-history th, .field-history td {
  background-color: white;
  border: 1px solid #CFCFCF;
  border-collapse: collapse;
  font-size: 90%;
  padding: 4px;
  text-align: center;
}
.field-history th[colspan] {
  background-color: #E4E4E4;
}

.k-form-fieldset.hide-legend {
  margin: 0;
}

.hide-legend legend {
  display: none;
}

.mdt-error {
  margin-left: 8px;
}
.mdt-error.radio-group-invalid-msg {
  position: relative;
  top: 5px;
  left: 4px;
}

.k-form.restrictive-intervention-form .k-form-legend {
  text-transform: none;
}
.k-form.restrictive-intervention-form .k-form-field {
  margin-top: 0;
}
.k-form.restrictive-intervention-form .k-form-field.comments {
  width: 500px;
}
.k-form.discharge-form {
  margin-bottom: 24px;
}
.k-form.discharge-form .k-form-legend {
  font-weight: bold;
  text-transform: none;
}
.k-form.discharge-form .group-radio-list-column {
  margin-top: 36px;
}
.k-form.discharge-form .k-radio-list {
  position: relative;
  top: -4px;
  left: 24px;
}
.k-form.discharge-form .k-radio-list ~ .k-invalid-msg {
  position: relative;
  left: 48px;
}
.k-form.discharge-form .k-form-buttons {
  margin-top: 36px;
}
.k-form .column-filler {
  visibility: hidden;
}
.k-form .k-form-field ::placeholder {
  color: #6C757D;
}

k-dialog-content {
  min-width: 100px;
}
k-dialog-content .k-form-label {
  margin-right: 10px;
  white-space: nowrap;
}

.k-window .k-dialog-content,
.k-dialog .k-dialog-content {
  max-width: 500px;
}
.k-window .k-dialog-content .k-dialog-warning,
.k-dialog .k-dialog-content .k-dialog-warning {
  color: rgb(204, 112, 0);
  font-weight: bold;
}
.k-window .k-dialog-content .session-dialog,
.k-dialog .k-dialog-content .session-dialog {
  text-align: center;
}

.video-window.k-window .k-dialog-content {
  max-width: none;
}

.k-form-warning {
  color: rgb(204, 112, 0);
  display: flex;
  font-size: 0.75rem;
  font-style: normal;
}
.k-form-warning.-username {
  margin-top: 4px;
}

div.k-form-warning {
  width: 500px;
}
