/* -------------------------------
    Global spacing variables
--------------------------------- */
/*
*  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 variables
--------------------------------- */
/* -------------------------------
    Global font-weight variables
--------------------------------- */
/* Rem calc function */
/* Pixel to REM Conversion */
/* -------------------------------
    Focus placeholder variables
--------------------------------- */
/* -------------------------------
    Focus placeholder
--------------------------------- */
.ontario-language-toggler:focus {
  box-shadow: 0 0 0 4px #009ADB;
  outline: 4px solid transparent;
  transition: box-shadow 0.1s ease-in-out;
}

/*** 1 - Breakpoint sizes for media queries ***/
/*
* Visibility
*
* Helper classes to determine visibility of elements
*/
.ontario-hide {
  display: none !important;
}

.ontario-invisible {
  visibility: hidden !important;
}

@media screen and (max-width: 39.99875em) {
  .ontario-hide-for-small-only {
    display: none !important;
  }
}
@media screen and (max-width: 0em), screen and (min-width: 40em) {
  .ontario-show-for-small-only {
    display: none !important;
  }
}
@media print, screen and (min-width: 40em) {
  .ontario-hide-for-medium {
    display: none !important;
  }
}
@media screen and (max-width: 39.99875em) {
  .ontario-show-for-medium {
    display: none !important;
  }
}
@media screen and (min-width: 40em) and (max-width: 72.99875em) {
  .ontario-hide-for-medium-only {
    display: none !important;
  }
}
@media screen and (max-width: 39.99875em), screen and (min-width: 73em) {
  .ontario-show-for-medium-only {
    display: none !important;
  }
}
@media print, screen and (min-width: 73em) {
  .ontario-hide-for-large {
    display: none !important;
  }
}
@media screen and (max-width: 72.99875em) {
  .ontario-show-for-large {
    display: none !important;
  }
}
@media screen and (min-width: 73em) and (max-width: 95.99875em) {
  .ontario-hide-for-large-only {
    display: none !important;
  }
}
@media screen and (max-width: 72.99875em), screen and (min-width: 96em) {
  .ontario-show-for-large-only {
    display: none !important;
  }
}
.ontario-show-for-sr,
.ontario-show-on-focus {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.ontario-show-on-focus:active,
.ontario-show-on-focus:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

.ontario-show-for-landscape,
.ontario-hide-for-portrait {
  display: block !important;
}

@media screen and (orientation: landscape) {
  .ontario-show-for-landscape,
  .ontario-hide-for-portrait {
    display: block !important;
  }
}
@media screen and (orientation: portrait) {
  .ontario-show-for-landscape,
  .ontario-hide-for-portrait {
    display: none !important;
  }
}
.ontario-hide-for-landscape,
.ontario-show-for-portrait {
  display: none !important;
}

@media screen and (orientation: landscape) {
  .ontario-hide-for-landscape,
  .ontario-show-for-portrait {
    display: none !important;
  }
}
@media screen and (orientation: portrait) {
  .ontario-hide-for-landscape,
  .ontario-show-for-portrait {
    display: block !important;
  }
}
.ontario-language-toggler {
  background-color: rgb(25.5, 25.5, 25.5);
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: none;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  height: 48px;
  line-height: 1.5555555556;
  text-align: center;
  text-decoration: none;
}
.ontario-language-toggler:hover {
  color: #FFFFFF;
  background-color: rgb(76.5, 76.5, 76.5);
  color: #FFFFFF;
}
.ontario-language-toggler:active {
  background-color: #666666;
  color: #FFFFFF;
}
.ontario-language-toggler:focus {
  background-color: rgb(76.5, 76.5, 76.5);
  color: #FFFFFF;
}
.ontario-language-toggler:visited {
  color: #FFFFFF;
}
.ontario-language-toggler abbr[title] {
  text-decoration: none;
}

.ontario-language-toggler--default {
  padding: 0.75rem;
}

.ontario-language-toggler--small {
  font-size: 1rem;
  line-height: 1.375rem;
  height: auto;
  outline: none;
  padding: 0.5rem 0.75rem;
}