@charset "UTF-8";
/*
*  Global variables
*
*  Used across multiple components
*/
/*
*  Global colour variables
*
*  1 - Greyscale colours
*  2 - System colours
*  3 - Accent colours
*    3.1 - Main
*    3.2 - Light
*    3.3 - Dark
*    3.4 - Callout backgrounds
*/
/*** 1 - Greyscale colours ***/
/*** 2 - System colours ***/
/*** 3 - Accent colours ***/
/* Main */
/* Light */
/* Dark */
/* callout backgrounds */
/* icon colours */
/* service ontario header colours */
/* -------------------------------
    Global font-weight variables
--------------------------------- */
/* -------------------------------
    Global spacing variables
--------------------------------- */
/*** 1 - Breakpoint sizes for media queries ***/
/* -------------------------------
    Global letter-spacing variables
--------------------------------- */
/* Rem calc function */
/* Pixel to REM Conversion */
/* -------------------------------
    Global line-height variables
--------------------------------- */
/* -------------------------------
    Global typography variables
--------------------------------- */
/* -------------------------------
    Global spacing variables
--------------------------------- */
/* Rem calc function */
/* Pixel to REM Conversion */
/*
*  Grid functions
*
*  1 - Lower-bound
*  2 - Upper-bound
*  3 - Grid calc
*/
/*** 1 - Lower-bound ***/
/*** 2 - Upper-bound ***/
/*** 3 - Grid calc ***/
/*** 1 - Breakpoint sizes for media queries ***/
/*
*  Global grid variables
*
*  1 - Grid text variables
*  2 - Grid row/column variables
*  3 - Grid screen size variables
*/
/*** 1 - Grid text variables ***/
/*** 2 - Grid row/column variables ***/
/*** 3 - Grid screen size variables ***/
html,
body {
  font-family: OpenSans, "Open Sans", Helvetica, Arial, sans-serif;
  background: #fff;
}

.full-width {
  width: 100%;
}

.empty-row {
  display: flex;
  flex-wrap: wrap;
}

.k-window-titlebar {
  border-bottom: 1px solid #d1d1d1 !important;
  margin-bottom: 1rem;
}

.k-window-title {
  display: flex;
}

.grid-two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 60%;
}

/*table {
    border-collapse: collapse;
    // Design system overrides
    td {
        vertical-align: middle;
    }

    tbody tr:last-child {
        border: inherit;
    }
}*/
.ontario-application-subheader {
  background-color: #367a76 !important;
}
.ontario-application-subheader .ontario-header-button {
  background-color: #367a76 !important;
}
.ontario-application-subheader .ontario-header-button:hover {
  background-color: #2c5e58 !important;
}
.ontario-application-subheader .ontario-header-button:active {
  background-color: #245c52 !important;
}

.ontario-application-subheader__menu-container {
  background-color: #367a76 !important;
}
.ontario-application-subheader__menu-container .ontario-application-subheader__menu a {
  background-color: #367a76 !important;
}
.ontario-application-subheader__menu-container .ontario-application-subheader__menu a:hover {
  background-color: #2c5e58 !important;
}
.ontario-application-subheader__menu-container .ontario-application-subheader__menu a:active {
  background-color: #245c52 !important;
}

.thin {
  border: 1px solid #ccc;
}

.k-calendar-table {
  line-height: initial;
}

.k-textarea {
  width: 600px;
  height: 150px;
}

.k-calendar {
  width: 100%;
}

.k-column-title {
  font-size: initial;
}

.k-label {
  display: inline-block;
}

.k-progress-status {
  display: none;
}

.k-progressbar.k-progressbar-horizontal {
  background-color: rgb(242.25, 242.25, 242.25);
}

.k-progressbar .k-progressbar-value {
  background-color: #118847;
}

.k-progressbar.k-progressbar-horizontal, .k-progressbar .k-progressbar-value {
  height: 12px;
  border-radius: 0.5rem;
}

.k-other-month.k-calendar-td {
  color: inherit;
}

.k-disabled.k-calendar-td {
  color: rgba(0, 0, 0, 0.54);
}

.ontario-icon[width="18"] {
  overflow: inherit;
  width: 18px;
  height: 18px;
}

.ontario-form-group {
  width: 100%;
}

.ontario-loading-indicator > div {
  background-color: white;
  padding: 1rem 2rem;
  border-radius: 0.25rem;
  text-align: center;
}
.ontario-loading-indicator > div p {
  margin-top: 0.5rem;
}

.horizontal-line {
  width: 100%;
  height: 1px;
  margin-top: 31px;
}

main dd, main li, main p, main p:not(.ontario-lead-statement) {
  max-width: inherit;
}

button, select {
  font-size: inherit;
}

img {
  vertical-align: middle;
}

.ontario-input {
  height: 3rem;
  margin: 0 0 1rem 0;
}

input, input[type=text] {
  height: 3rem;
}

input[type=text] {
  padding: 0.625rem 1rem !important;
}

input[disabled] {
  cursor: not-allowed;
  border: solid 2px #ccc !important;
  background-color: #f2f2f2;
}

input[disabled]:focus, input[disabled]:active {
  box-shadow: none;
  outline: none;
  transition: none;
}

.tooltip-menu {
  margin: 0;
  padding: 0;
}
.tooltip-menu li {
  padding: 0;
}
.tooltip-menu li:before {
  content: "• ";
}

.header-text {
  font-family: Raleway;
  font-size: 16px;
  font-weight: 700;
}

/* Imitate headers for orphaned tags - AODA fix */
/*.h4 {
    font-size: 1.5rem;
    font-weight: bold;
}

.h5 {
    font-size: 1.25rem;
    font-weight: bold;
}*/
.no-menu .page {
  min-height: calc(100vh - 5.2rem);
}

#blazor-error-ui {
  display: none;
}

.page-wrapper {
  margin: 0 auto;
  margin-top: 2rem;
  max-width: 70rem;
  padding: 0 1rem;
}

/*
.page-wrapper-dialog {
    margin: 1.125rem;
    max-width: 98%;
}*/
.sub-header {
  color: #666;
  margin: 0 0 1rem 0;
}

.form-nowrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  justify-content: space-between;
}

.form-component-wrapper {
  width: 100%;
  max-width: 20rem;
  margin: 0 0 2rem 0;
}

.form-component-wrapper-validation {
  width: 100%;
  max-width: 20rem;
  margin: 0 0 0 0;
}

.page-title {
  font-family: Raleway;
  font-size: 33px;
  letter-spacing: 0.32px;
  color: #000;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: block;
  line-height: 1.5rem;
}

.page-subtitle {
  font-family: OpenSans, "Open Sans";
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  color: #1a1a1a;
}

.page-grouptitle {
  font-family: Raleway;
  font-size: 28px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  color: #1a1a1a;
  line-height: 1.5rem;
}

.page-content {
  font-family: OpenSans, "Open Sans";
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  color: #1a1a1a;
}

.ontario-label .label-parentheses {
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
}

.label-wrapper {
  display: flex;
  flex-direction: row;
  /*make it 0rem to fix the shifting issue when getting focus */
  margin-bottom: 0rem;
  align-content: center;
  align-items: center;
}

.k-picker-solid {
  border-radius: 4px !important;
  border: 2px solid #1a1a1a !important;
}

.k-window {
  font-size: inherit;
  border-radius: 4px;
}

.k-input,
.k-picker {
  background-color: #fff;
}

.k-menu:not(.k-context-menu) {
  background: #fff;
}

.k-menu:not(.k-context-menu) > .k-item {
  color: #414042;
}

.k-menu li {
  border: 1px solid #414042;
}

.k-state-active {
  color: #414042;
}

.k-breadcrumb {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  background-color: transparent;
  font-family: "Raleway", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.4px;
}

.k-i-home {
  font-size: 1.25rem;
  margin-right: 0.8rem;
}

.k-breadcrumb ol li {
  padding: 0;
}

.k-breadcrumb-root-link {
  padding-left: 0;
  margin-right: 0;
}

.k-breadcrumb-root-link:focus,
.k-breadcrumb-link:hover,
.k-breadcrumb-link:focus {
  background-color: transparent !important;
}

.k-breadcrumb-link,
.k-breadcrumb-root-link {
  padding-top: 0;
  padding-bottom: 0;
}

.k-breadcrumb-link:focus-visible {
  border: 2px solid;
  color: #fff;
}

.k-breadcrumb-root-link:focus-visible {
  border: 2px solid;
  color: #fff;
}

.k-breadcrumb-link {
  color: #fff;
}

.k-state-disabled {
  opacity: 1;
  filter: none;
}

nav.k-breadcrumb {
  display: flex;
  align-items: center;
  align-content: center;
  height: 100%;
}

.k-breadcrumb-root-link:hover,
.k-breadcrumb-root-link.k-state-hover {
  background-color: transparent;
}

.right-nav-wrapper {
  width: 100%;
  display: flex;
  justify-content: end;
  padding: 1.25rem 0;
}

.text-formatter {
  text-transform: lowercase;
}

.text-formatter:first-letter {
  text-transform: uppercase;
}

.form-control-label {
  font-weight: bold;
  font-family: "Raleway";
  font-size: 19px;
}

/* Telerik Editor - Start */
.k-editor {
  font-family: inherit;
  font-size: inherit;
  border: 2px solid rgb(25.5, 25.5, 25.5);
  border-radius: 4px;
  box-sizing: border-box;
  color: rgb(25.5, 25.5, 25.5);
  line-height: 1.5;
}
.k-editor.k-disabled .k-content {
  background-color: rgb(242.25, 242.25, 242.25);
}

.narrative-editor.right-box-wrapper .k-editor .telerik-blazor {
  background: transparent;
}
.narrative-editor.right-box-wrapper .k-editor-toolbar, .narrative-editor.right-box-wrapper .k-editor > .k-toolbar {
  background: #002142;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  justify-content: center;
  width: 100%;
}
.narrative-editor.right-box-wrapper div.k-editor > .k-toolbar .k-button-solid-base {
  background: transparent;
  color: #FFF;
  border-color: transparent;
}
.narrative-editor.right-box-wrapper div.k-editor > .k-toolbar > button.k-icon-button.k-button-md {
  padding: 4px;
}
.narrative-editor.right-box-wrapper .k-toolbar .k-input, .narrative-editor.right-box-wrapper .k-toolbar .k-picker {
  width: 100%;
}
.narrative-editor.right-box-wrapper .k-input-md .k-input-inner, .narrative-editor.right-box-wrapper .k-picker-md .k-input-inner {
  padding: 0 8px;
}
.narrative-editor.right-box-wrapper .k-input-value-text {
  color: #fff;
}
.narrative-editor.right-box-wrapper .k-input-md .k-input-button {
  padding: 4px;
}
.narrative-editor.right-box-wrapper .k-toolbar .k-picker {
  border: none !important;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.float-clear {
  clear: both;
}

.k-invalid {
  border: 3px solid #CD0000 !important;
}

.k-input :not(.k-focus) {
  border: 0 !important;
}

.k-form-field {
  line-height: 3rem !important;
}

.k-form-field-validation {
  line-height: 3rem !important;
  width: 20rem;
}

/* Nav Tabs start */
.header a:hover,
.header a:focus {
  color: #fff;
}

.top-nav-container--upper {
  background: #404040;
  height: 2.7rem;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.top-nav-container--upper .ontario-row {
  height: 2.7rem;
}

/* Nav Tabs end */
.bold-600 {
  font-weight: 600;
}

.home-top-bar {
  margin: 0 auto;
  margin-top: 2rem;
  max-width: 1240px;
}

.k-tooltip {
  background-color: #FEF6DC;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  color: rgb(25.5, 25.5, 25.5);
  top: -7px;
  box-shadow: 0 7px 21px 0 rgba(26, 26, 26, 0.25);
}
.k-tooltip .k-callout.k-callout-s {
  color: #FEF6DC;
  margin-left: -15px;
  bottom: -26px;
  border-width: 13px;
}

.c-tooltip {
  /*height: 68px;*/
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  /* padding: 8px 16px;
  border: solid 1px #ccc;*/
  border-radius: 4px;
  background-color: #fef6dc;
  line-height: 1.6;
  font-size: 16px;
  font-family: "Open Sans";
  color: #000;
}

.c-text-wrap {
  white-space: normal;
}

.k-input-solid::after {
  border-width: 0;
}

.k-input-inner {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: -2px 0 0 -2px;
}

.ontario-input:not(.k-invalid):not(.error-border):not(.errBox):not(.k-disabled):enabled {
  border-color: #1a1a1a !important;
}

.k-input-solid:not(.k-disabled):not(.k-invalid):not(.error-border):not(.errBox):not(.k-disabled),
.k-picker-solid:not(.k-invalid):not(.error-border):not(.errBox):not(.k-disabled) {
  border-top-color: #1a1a1a !important;
}

.k-input-solid:not(.k-invalid):not(.error-border):not(.errBox):not(.k-disabled) {
  border-color: #1a1a1a !important;
}

.k-input-solid {
  border-width: 2px !important;
  border-color: #1a1a1a;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  color: #1a1a1a !important;
  font-size: 1rem !important;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  transition: box-shadow 0.1s ease-in-out;
}

.k-datepicker,
.k-numerictextbox,
.k-combobox,
.k-textbox {
  height: 48px !important;
}

.k-notification-success {
  background-color: #118847;
  border-color: #118847;
  color: #FFFFFF;
}
.k-notification-success .k-notification-content {
  margin-right: 1.5rem;
}

.k-notification-warning {
  background-color: #FEF6DC;
  border-color: #FEF6DC;
  color: rgb(25.5, 25.5, 25.5);
}
.k-notification-warning .k-notification-content {
  margin-right: 1.5rem;
}

.is-focused > span,
.k-focus {
  background: #FFFFFF !important;
  box-shadow: 0 0 0 4px #009adb !important;
  outline: 4px solid transparent;
  transition: box-shadow 0.1s ease-in-out;
}

/*.k-input-solid, .k-picker-solid {
    border-top-color: #1a1a1a !important;
}*/
.k-checkbox {
  border-color: #1a1a1a;
}

ul.dropdown {
  right: 2.25rem !important;
}

.k-input-solid.k-disabled {
  border: solid 2px #ccc !important;
  background-color: #f2f2f2 !important;
  cursor: not-allowed;
}
.k-input-solid.k-disabled button {
  background-color: #f2f2f2 !important;
  cursor: not-allowed;
}

.error-border {
  border: solid 2px #cd0000 !important;
}

:root {
  --border-color: #1a1a1a;
}

.ontario-radios__label:before {
  border: 2px solid var(--border-color) !important;
}

/* Override default button styles */
button.no-style {
  background-color: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

/*
 * The following classes related to .link are taken from the design system's style for the "a" tag.
 * This application has a scenario where a button element should appear as a link visually.
 * This code allows for a class to be added to any element to make it look like a link.
 */
.link {
  background-color: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  background-color: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  cursor: pointer;
  color: #0066CC;
  text-decoration: underline;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: left;
  display: inline-block;
}

.link:visited {
  color: #551A8B;
}

.link:hover {
  color: #00478F;
}

.link:active {
  color: #002142;
}

.link:focus {
  box-shadow: 0 0 0 4px #009adb;
  outline: 4px solid transparent;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.k-window-content,
.k-content-window {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.disable-radio:before {
  border-color: #ccc !important;
}

.disable-radio:after {
  border-color: #adadad !important;
}

.flex {
  display: flex;
}
.flex.flex-column {
  flex-direction: column;
}
.flex.align-center {
  align-items: center;
}
.flex.align-end {
  align-items: flex-end;
}
.flex.lt-large-column-reverse {
  flex-direction: column-reverse;
}
.flex.justify-content-center {
  justify-content: center;
}
.flex.justify-content-end {
  justify-content: end;
}
.flex.flex-row {
  flex-direction: row;
}
.flex .flex-resize {
  flex: 1 1 auto;
}
.flex .flex-no-resize {
  flex: 0 0 auto;
}
.flex .align-self-center {
  align-self: center;
}

@media only screen and (min-width:40.063em) {
  .flex-medium-up {
    display: flex;
  }
  .flex-medium-up.flex-column {
    flex-direction: column;
  }
  .flex-medium-up.align-center {
    align-items: center;
  }
  .flex-medium-up.align-end {
    align-items: flex-end;
  }
  .flex-medium-up.lt-large-column-reverse {
    flex-direction: column-reverse;
  }
  .flex-medium-up.justify-content-center {
    justify-content: center;
  }
  .flex-medium-up.justify-content-end {
    justify-content: end;
  }
  .flex-medium-up.flex-row {
    flex-direction: row;
  }
  .flex-medium-up .flex-resize {
    flex: 1 1 auto;
  }
  .flex-medium-up .flex-no-resize {
    flex: 0 0 auto;
  }
  .flex-medium-up .align-self-center {
    align-self: center;
  }
}
.ontario-checkboxes__label:after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='none' stroke='white' stroke-width='3' d='M4.1,12.7 9,17.6 20.3,6.3'/%3e%3c/svg%3e");
}

.ontario-checkboxes__input:disabled + .ontario-checkboxes__label:before {
  border: solid 2px #ccc;
  background-color: #f2f2f2;
}

.ontario-checkboxes__input:disabled:checked + .ontario-checkboxes__label:before {
  background-color: #adadad;
}

.ontario-label__flag:before {
  content: " ";
}

.ontario-form-group:last-of-type {
  margin-bottom: 0;
}

.k-dialog-title {
  font-size: 2.0625rem;
  font-weight: bold;
}

.k-dialog-wrapper:has(.error-popup) {
  z-index: 11000 !important; /* Ensure the error popup appears over all other telerik popups */
}

button[disabled] {
  background-color: rgb(232.05, 232.05, 232.05);
  color: #666666;
  border-color: rgb(232.05, 232.05, 232.05);
  pointer-events: none;
}
