@charset "UTF-8";
/**
 * Theme styles
 *
 * @package gnl-framework
 */

/* Header */
.gnl-header,
.gnl-main-content {
    max-width: 120rem;
    margin-left: auto;
    margin-right: auto;
}
.gnl-header-container {
    position: relative;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    gap: 0 16px;
    max-width: 1248px;
    padding: 0 16px;
    margin: 0 auto;
}
.has-header-center .gnl-header-container {
    justify-content: center;
}
.gnl-brand {
    display: flex;
    flex-direction: column;
    flex-flow: row;
    align-items: center;
    gap: 0 16px;
}
@media (min-width: 840px) {
    .gnl-brand {
        gap: 0 32px;
    }
}
.gnl-logo-lg,
.gnl-site-logo-lg {
    display: none;
}
@media (min-width: 840px) {
    .gnl-logo-lg,
    .gnl-site-logo-lg {
        display: block;
    }
    .gnl-logo-sm,
    .gnl-site-logo-sm {
        display: none;
    }
}
.gnl-site-logo-lg,
.gnl-site-logo-sm,
.gnl-logo-sm {
    margin-top: 32px;
    margin-bottom: 32px;
}
.gnl-logo-lg {
    margin-top: 32px;
    margin-bottom: 20px;
}
.gnl-site-title {
    font-size: 20px;
}
.gnl-site-title-link {
    color: white;
    text-decoration: none;
}
.gnl-site-title-link:active,
.gnl-site-title-link:focus,
.gnl-site-title-link:hover {
    color: white;
}
.gnl-site-title,
.gnl-site-tagline {
    margin-top: 0;
    margin-bottom: 0;
}
@media (min-width: 840px) {
    .gnl-site-title {
        margin-top: 4px;
    }
}
.gnl-navigation.gnl-navigation--header {
    width: auto;
    flex-basis: auto;
}
.has-header-center .gnl-navigation.gnl-navigation--header {
    position: absolute;
    width: calc(100% - 32px);
    top: 10px;
}
.gnl-search-form .gnl-button .gnl-icon {
	color: #4BA847;
}
@media (max-width: 1023px) {
    .gnl-navigation.gnl-navigation--header .gnl-navigation__nav {
        display: none !important;
    }
    .gnl-navigation-drawer__button-container {
        display: flex !important;
    }
    .gnl-search {
        display: none;
    }
}
@media (min-width: 1024px) {
    .gnl-navigation.gnl-navigation--header .gnl-navigation__nav {
        display: flex !important;
        margin-top: 6px;
    }
    .gnl-navigation-drawer__button-container {
        display: none !important;
    }
    .gnl-search {
        display: flex;
        width: 31.578947%;
        position: relative;
    }
    .gnl-navigation[class$="search"] {
        position: absolute;
        right: 0;
    }
    .gnl-navigation[class$="before-search"] {
        top: -20px;
    }
    .gnl-navigation[class$="after-search"] {
        bottom: -16px;
    }
    .gnl-navigation[class$="search"] > ul  {
        display: flex;
        list-style: none;
        align-items: center;
        padding: 0;
        margin: 0;
    }
    .gnl-navigation[class$="search"] > ul > li {
        margin-left: 1rem;
    }
    .gnl-navigation[class$="search"] > ul > li:first-child {
        margin-left: 0;
    }
    .gnl-navigation[class$="search"] > ul > li > a, 
    .gnl-navigation[class$="search"] > div > button {
        text-decoration: none;
        background: none;
        color: inherit;
        border: none;
        padding: 0;
        font: inherit;
        cursor: pointer;
        outline: inherit;
    }
    .gnl-navigation[class$="search"] > .show, 
    .gnl-navigation[class$="search"] > .dropleft > .show {
        display: block!important;
    }
    .gnl-navigation[class$="search"] > ul > li > a:hover {
        text-decoration: underline;
    }
    .gnl-navigation[class$="search"] > ul > li.mygovnl > a {
        display: block;
        text-indent: -9999px;
        width: 198px;
        height: 26px;
        background: url("https://assets.gov.nl.ca/gnl-framework/assets/images/mygovnl-and-online-services-reverse.svg") 0 6px / 198px 20px no-repeat;
    }
    .gnl-search-form {
        width: 100%;
    }
}
.gnl-navigation.gnl-navigation--side .gnl-navigation-drawer__nav {
    flex: 0 0 auto;
}
.gnl-header-image {
    background-position: 50%;
    background-repeat: no-repeat;
}
/* Breadcrumbs */
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.breadcrumbs ol li:not(:last-child):after {
    content: '';
    display: inline-flex;
    width: 6.1px;
    height: 10px;
    background: transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGhlaWdodD0nOS45OTknIHdpZHRoPSc2LjA2Nicgdmlld0JveD0nMCAwIDYuMDY2IDkuOTk5Jz48c3R5bGUgdHlwZT0ndGV4dC9jc3MnPi5jbHMtMXtmaWxsOiM0QkE4NDc7c3Ryb2tlLXdpZHRoOjBweDt9PC9zdHlsZT48cG9seWdvbiBjbGFzcz0nY2xzLTEnIHBvaW50cz0nNi4wNjYgNC45OTcgMS4wNjkgMCAwLjAwOCAxLjA2IDMuOTQyIDQuOTkzIDAgOC45MzUgMS4wNjQgOS45OTkgNS4wMDYgNi4wNTggNS4wNTggNi4wNTggNi4wNjYgNC45OTcnLz48L3N2Zz4=) no-repeat center / 6.1px 10px;
    margin: 0 0.4375rem 0 0.5625rem;
}
.breadcrumbs ol li a {
    color: inherit;
    text-decoration: none;
}
.breadcrumbs ol li a:hover {
    text-decoration: underline;
}
.breadcrumbs ol li:first-child > a {
    display: inline-flex;
    align-items: center;
    width: 14.115px;
    height: 12px;
    padding: 0;
    text-indent: -9999px; 
    overflow: hidden;
    white-space: nowrap;
}
@media (min-width: 840px) {
    .breadcrumbs ol li:first-child > a {
        width: 18.82px;
        height: 16px;
    }
}
.breadcrumbs ol li:first-child > a::before {
    content: "";
    display: block;
    width: 14.115px;
    height: 12px;
    background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDE4LjgyIDE2Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMjMzNzQ2OwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjguNy4xMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDEuMi4wIEJ1aWxkIDIzNikgIC0tPgogIDxnPgogICAgPGcgaWQ9IkxheWVyXzEiPgogICAgICA8cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik03LjUzLDE2di01LjY1aDMuNzZ2NS42NWg0Ljcxdi03LjUzaDIuODJMOS40MSwwLDAsOC40N2gyLjgydjcuNTNoNC43MVoiLz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPg==")
        no-repeat center / contain;
}
@media (min-width: 840px) {
    .breadcrumbs ol li:first-child > a::before {
        width: 18.82px;
        height: 16px;
    }
}
/* Content */
.gnl-main-content .layout-grid__inner {
    row-gap: 0;
}
.gnl-main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 16px;
}
.alignleft,
.aligncenter,
.alignright {
    display: block;
}
@media (max-width: 639px) {
    .alignleft,
    .alignright {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 640px) {
    .alignleft {
        float: left;
        margin-right: 32px;
    }
    .aligncenter {
        clear: both;
        margin-left: auto;
        margin-right: auto;
    }
    .alignright {
        float: right;
        margin-left: 24px;
    }
}
a:has(> img)::after,
a:has(> img)::before {
    content: none !important;
    display: none !important;
}

@media (max-width: 580px) {
    .gnl-category-cards {
        grid-template-columns: repeat(2, 1fr)!important;
    }
    .gnl-category-cards .gnl-card__title {
        font-size: 16px!important;
    }
}
input[type="search"]::placeholder,
input[type="text"]::placeholder {
  color: #495057;
  opacity: 1;
}
/* Sidebar */
.gnl-layout-left-sidebar,
.gnl-layout-right-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
}
@media screen and (min-width: 840px) {
    .gnl-layout-left-sidebar.sticky-sidebar,
    .gnl-layout-right-sidebar.sticky-sidebar {
        position: sticky;
        top: 1rem; 
        align-self: start;
        max-height: calc(100vh - 1rem); 
        overflow-y: auto; 
    }
}
/* Menu */
.sub-menu {
    padding-left: 16px;
}
.menu-item {
	list-style-type: none;
}
.gnl-navigation-drawer .gnl-list-group__item {
    display: flex;
    position: relative;
    padding: 5px 9px;
    color: #5f6368;
    align-items: center;
    text-align: inherit;
    text-decoration: none;
    background-color: transparent;
    border: 0;
    width: 100%;
}
.gnl-mobile-menu-button {
    padding: 0;
    max-width: 75%;
}
.gnl-navigation-drawer .gnl-navigation-drawer__nav .menu-item .sub-menu {
    overflow: hidden;
    max-height: 0;
    display: none;
    transition: max-height .4s;
}
.gnl-navigation-drawer .gnl-navigation-drawer__nav .menu-item .gnl-icon::before {
    display: none;
}
.gnl-navigation-drawer .gnl-navigation-drawer__nav .menu-item-has-children .gnl-icon {
    border-radius: 0;
    right: 10px;
    text-transform: none;
    background-color: inherit;
    unicode-bidi: isolate;
    padding-block: 0px;
    padding-inline: 0px;
    border-width: 1px;
    border-style: solid;
    border-color: #d4d8da;
    border-image: none;
}
.gnl-navigation-drawer .gnl-navigation-drawer__nav .menu-item-has-children .gnl-icon:focus {
    border-width: 2px;
    border-style: solid;
    border-color: #000;
}
.gnl-navigation-drawer .gnl-navigation-drawer__nav .menu-item-has-children .gnl-icon::before {
    display: inline;
    right: 10px;
}
.gnl-sub-menu-icon::before {
    transform: rotate(360deg)!important;
}
.gnl-navigation-drawer .gnl-navigation-drawer__nav .menu-item-has-children .gnl-icon:target {
    display: inline;
    right: 10px;
}
.sub-menu-expanded {
    max-height: 100%!important;
    overflow: visible!important;
    transition: max-height .4s;
    display: block!important;
}
/* Footer */
.gnl-footer__content,
.gnl-footer__widgets {
    text-align: left;
}
@media (min-width: 840px) {
    .gnl-grid--columns-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width: 840px) {
    .gnl-grid--columns-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 840px) {
    .gnl-grid--columns-5 .gnl-grid__item {
        width: calc(20% - 19px);
    }
}
@media (max-width: 840px) {
    .gnl-grid--columns-5 .gnl-grid__item {
        width: calc(50% - 24px);
    }
}
.gnl-footer__icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.gnl-footer__icons .material-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1em;
    line-height: 1;
}
.gnl-footer__icons .gnl-icon a {
    display: flex;
}
.gnl-footer__icons .gnl-icon a,
.gnl-footer__icons .gnl-icon a:hover,
.gnl-footer__icons .gnl-icon a:focus {
    text-decoration: none;
}
.gnl-footer__icons .gnl-icon a:after {
    content: none;
}
.gnl-icon--xs .material-icons{
    font-size: 22px;
}
.gnl-icon--sm .material-icons{
    font-size: 28px;
}
.gnl-icon--md .material-icons{
    font-size: 44px;
}
.gnl-icon--lg .material-icons{
    font-size: 58px;
}
.gnl-icon--xl .material-icons{
    font-size: 86px;
}
/* Back to top */
#gnl-back-to-top {
    position: fixed;
    font-size: 24px;
    width: 36px;
    height: 36px;
    bottom: 16px;
    left: 68px;
    border: none;
    border-radius: 50%;
    z-index: 1000;
}
@media (min-width: 480px) {
    #gnl-back-to-top {
        font-size: 36px;
        width: 48px;
        height: 48px;
        left: 80px;
    }
}
#gnl-back-to-top,
#gnl-accessibility-tools-button {
    opacity: 0.9;
}
@media (min-width: 1344px) {
    #gnl-back-to-top,
    #gnl-accessibility-tools-button {
        opacity: 1.0;
    }
}
/* Icons */
a[target$='new']::after,
a[target$='blank']::after,
a[rel$='noopener']::after,
a[href$='.pdf']::after,
a[href$='.pptx']::after,
a[href$='.zip']::after,
a[href$='.doc']::after,
a[href$='.docx']::after,
a[href$='.xlsx']::after,
a[href$='.xls']::after,
a[href$='.csv']::after,
a[href$='.ods']::after {
    text-decoration: none !important;
    border: 0 !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-thickness: 0 !important;
    text-decoration-skip-ink: none !important;
    display: inline-block !important;
}
a[target$='new']::before,
a[target$='blank']::before,
a[rel$='noopener']::before,
a[href$='.pdf']::before,
a[href$='.doc']::before,
a[href$='.docx']::before,
a[href$='.pptx']::before,
a[href$='.zip']::before,
a[href$='.xlsx']::before,
a[href$='.xls']::before,
a[href$='.csv']::before,
a[href$='.ods']::before {
    content: " (opens in a new window)"; 
    font-size: 0;
    line-height: 0;
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
}
a[href$='.pdf']::before,
a[href$='.doc']::before,
a[href$='.docx']::before,
a[href$='.pptx']::before,
a[href$='.zip']::before,
a[href$='.xlsx']::before,
a[href$='.xls']::before,
a[href$='.csv']::before,
a[href$='.ods']::before {
    content: " (downloads a file)";
}
a[target$='new']::after,
a[target$='blank']::after,
a[rel$='noopener']::after,
a[href$='.pdf']::after,
a[href$='.pptx']::after,
a[href$='.zip']::after,
a[href$='.doc']::after,
a[href$='.docx']::after,
a[href$='.xlsx']::after,
a[href$='.xls']::after,
a[href$='.csv']::after,
a[href$='.ods']::after {
    font-size: 14px;
    padding: 0 2px 0 4px;
}
a[target$='new']::after,
a[target$='blank']::after,
a[rel$='noopener']::after {
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    content: "\f08e";
}
a[href$='.pdf']::after {
    font-family: "Font Awesome 7 Free" !important;
    font-weight: 400;
    content: "\f1c1" !important;
    color: #d32f2f !important;
    padding: 0 1px 0 4px;
}
a[href$='.pptx']::after {
    font-family: "Font Awesome 7 Free" !important;
    content: "\f1c2" !important;
    color: #9b6116 !important;
}
a[href$='.zip']::after {
    font-family: "Font Awesome 7 Free" !important;
    content: "\f1c6" !important;
}
a[href$='.doc']::after,
a[href$='.docx']::after {
    font-family: "Font Awesome 7 Free" !important;
    content: "\f1c2" !important;
    color: #003b6a !important;
}
a[href$='.xlsx']::after,
a[href$='.xls']::after,
a[href$='.csv']::after,
a[href$='.ods']::after {
    font-family: "Font Awesome 7 Free" !important;
    content: "\f1c3" !important;
    color: #3e861f !important;
}
.gnl-list-group__item[target$='blank']::after,
a[rel$='noopener']::after {
    color: #003b6a;
}
/* MyGovNL Feature image replacement */
.mygovnl .gnl-card__title a {
	display: inline-block;
	width: 83px; 
	height: 25px;  
	background-image: url('../../../../files/mygovnl.svg'); 
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 0 0;
	text-indent: -9999px; 
	overflow: hidden;
	white-space: nowrap;
	margin-left: -4px;
	margin-bottom: -9px;
}
/* Vertically center directory card heading */
.gnl-directory .gnl-accordion__heading {
    padding: 32px 64px 32px 32px !important;
}
.gnl-directory .gnl-accordion__heading .gnl-accordion__heading-icon {
	margin-bottom: 0 !important;
}
.gnl-directory .gnl-accordion__heading .gnl-header-5 {
	margin-bottom: 0 !important;
}
.gnl-accordion__heading {
	align-items: center!important;
}