.qld__search__filters-list {
    align-items: center;
}

.qld__search__facets .qld__accordion__toggle-btn::after {
    z-index:1;
}

@media (max-width: 599px) {
    .qld__cta-link, 
    a.qld__cta-link {
        font-size: 1.125rem;
    }
}
@media (max-width: 399px) {
    .qld__cta-link, 
    a.qld__cta-link {
        font-size: 1rem;
    }
}

/* Course overview width override */
.single_course #overview, 
.course_viewer #overview {
    max-width: 80ch;
}

.single_course #overview table > tbody > tr:first-child, 
.course_viewer #overview table > tbody > tr:first-child {
    font-weight: bold;
}

/* DI-448 */
.courseInfo .qld__tag-list:not(:first-child) {
    margin-top: 0;
}
.courseInfo .qld__tag-list {
    margin-bottom: 0;
}

/* DI-470 */
@media (min-width: 699px) {
	.qld__banner--has-hero.qld__banner--hero-right .qld__banner__hero .qld__banner__image  { clip-path: polygon(0 0, 8% 0, 26% 85%, 22% 100%, 100% 100%, 100% 0); }
	
	.qld__banner:has(.qld__overflow_menu_wrapper) {
        overflow: hidden;
        overflow-x: hidden;
        overflow-y: visible;
    }
}     


/* DI-258 External links  */
.qld__body {
    a[href^="http"]:not([href*="qld.gov.au"]):not([class]) {
        &::after {
            /*
            content: " ↗";
            display: inline;
            font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
            */
            content: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%206v2H5v11h11v-5h2v6a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V7a1%201%200%200%201%201-1zm11-3v8h-2V6.413l-7.793%207.794-1.414-1.414L17.585%205H13V3z%22%2F%3E%3C%2Fsvg%3E");
            margin-left: 0.25em;
            width: 1em;
            height: 1em;
            display: inline-block;
            vertical-align: top;
        }
    }
}

/* DI-658 */
.qld__footer + .qld__footer--post-message {
    border-top: none;
    padding-top: 0;
    margin-top: -2rem;
}
.qld__footer .qld__footer--post-message {
    
}
.qld__footer .qld__post-footer-message__text {
    max-width: none;
    text-align: center;
}


/* DI-826 timeline list */
.qld__body p+.qld__list--timeline {
  margin-top: 1.5rem;
}
.qld__body ul.qld__list--timeline>li>*+ul {
  margin-top: 1rem;
}

ul.qld__list--timeline {
  list-style-type: none;
  position: relative;
  padding-left: 0;
}

ul.qld__list--timeline>li {
  position: relative;
  padding-bottom: 1em;
  padding-left: 15px;
}

ul.qld__list--timeline>li::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: -2px;
  left: 0;
  width: 0;
  border-left: 2px dotted #005eb8;
}

ul.qld__list--timeline>li:first-child::before {
  top: 10px
}

ul.qld__list--timeline>li:last-child::before {
  bottom: calc(50% + 5px);
}

ul.qld__list--timeline>li::after {
  content: '';
  position: absolute;
  left: -11px;
  top: 0;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="%23005eb8" stroke-width="6" d="m28 6 22 20L72 6"/><circle cx="50" cy="50" r="20" fill="%23005eb8"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

ul.qld__list--timeline>li:first-child::after {
  border-left: none;
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="20" fill="%23005eb8"/></svg>');
}

ul.qld__list--timeline>li:has(.qld__btn)::after {
  top: 13px;
}

ul.qld__list--timeline>li>.qld__btn+ul {
  margin-left: 1.5rem;
}

@media screen {
    .qld__provider__delivery-locations > ul {
        max-height: 300px;
        overflow-y: auto;
    }
    .qld__body .qld__provider__delivery-locations .qld__clamp__actions {
        margin-top: 0.5rem;
    }
}

/* DI-876 print providers */
@media print {
    .qld__no-print {
        display: none !important;
    }
}


/* DI-818 rules engine */
.qld__rules-engine__survey .qld__form-group[data-role="question"],
.qld__rules-engine__survey .qld__fieldset {
    margin-top: 0;
}

/* DI-530 course compare table */
.qld__course-compare .qld__comparison-table td .qld__course-name, 
.qld__course-compare .qld__comparison-table th .qld__course-name {
    min-width: 135px;
}

/* DI-1554 accessibility fixes */
.qld__banner--dark-alt .qld__search-form--wrapper .qld__search-form__inner input.qld__text-input, 
.qld__banner--dark-alt .qld__search-form--wrapper .qld__text-input:hover:not(:focus):not(.qld__text-input--error):not(.qld__text-input--valid) {
    color: var(--QLD-color-light__text);
}

@media (min-width: 992px) {
    .qld__course-compare .qld__comparison-table td:first-child, 
    .qld__course-compare .qld__comparison-table th:first-child {
        width: 15%;
    }
}


/* DI-1000 required fields */
.qld__body .sq-form-required-field, 
.qld__body abbr[title=required] {
    float: none;
    margin-right: 0;
    margin-left: 0.25rem;
}

/* DI-1238 banner image offset */
@media (min-width: 1920px) {
    .qld__banner.qld__banner--hero-right .qld__banner__image {
        background-position: center 30%;
    }
}