/* Own SVG icons (wwwroot/img/icons), drawn as CSS masks: colour = currentColor, size = font-size.
   Usage: <i class="ic ic-search"></i> */
.ic {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -.125em;
  background-color: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
          mask: var(--ic) center / contain no-repeat;
}

.ic-arrow-left    { --ic: url(/img/icons/arrow-left.svg); }
.ic-ban           { --ic: url(/img/icons/ban.svg); }
.ic-check-circle  { --ic: url(/img/icons/check-circle.svg); }
.ic-chevron-down  { --ic: url(/img/icons/chevron-down.svg); }
.ic-chevron-left  { --ic: url(/img/icons/chevron-left.svg); }
.ic-chevron-right { --ic: url(/img/icons/chevron-right.svg); }
.ic-dot           { --ic: url(/img/icons/dot.svg); }
.ic-info-circle   { --ic: url(/img/icons/info-circle.svg); }
.ic-minus-circle  { --ic: url(/img/icons/minus-circle.svg); }
.ic-more          { --ic: url(/img/icons/more.svg); }
.ic-search        { --ic: url(/img/icons/search.svg); }
.ic-trending-down { --ic: url(/img/icons/trending-down.svg); }
.ic-trending-up   { --ic: url(/img/icons/trending-up.svg); }
.ic-x             { --ic: url(/img/icons/x.svg); }

/* azia.css carets/arrows that used to be Ionicons font glyphs (\f3cf back, \f3d0 down, \f3d1 forward). */
.az-nav-tabs .lSAction > a::before,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next::before,
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev::before,
.datetimepicker table th.prev span::before,
.datetimepicker table th.next span::before,
.az-datetimepicker > .datepicker_header a:nth-child(2)::before,
.az-datetimepicker > .datepicker_header a:last-child::before,
.az-content-breadcrumb span + span::before,
.az-header-menu .nav-item > .nav-link.with-sub::after,
.az-iconbar-body .nav-link.with-sub::after,
.az-navbar .nav-link.with-sub::after,
.az-navbar .nav-sub-link.with-sub::after,
.az-sidebar-body .nav-link.with-sub::after,
.az-sidebar-body .nav-sub-link.with-sub::after {
  content: "";
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
          mask: var(--ic) center / contain no-repeat;
}

.az-nav-tabs .lSAction > a.lSPrev::before,
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev::before,
.datetimepicker table th.prev span::before,
.az-datetimepicker > .datepicker_header a:nth-child(2)::before { --ic: url(/img/icons/chevron-left.svg); }

.az-nav-tabs .lSAction > a.lSNext::before,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next::before,
.datetimepicker table th.next span::before,
.az-datetimepicker > .datepicker_header a:last-child::before,
.az-content-breadcrumb span + span::before { --ic: url(/img/icons/chevron-right.svg); }

.az-header-menu .nav-item > .nav-link.with-sub::after,
.az-iconbar-body .nav-link.with-sub::after,
.az-navbar .nav-link.with-sub::after,
.az-navbar .nav-sub-link.with-sub::after,
.az-sidebar-body .nav-link.with-sub::after,
.az-sidebar-body .nav-sub-link.with-sub::after { --ic: url(/img/icons/chevron-down.svg); }

@media (min-width: 992px) {
  .az-navbar .nav-sub-link.with-sub::after { --ic: url(/img/icons/chevron-right.svg); }
}

/* azia centred the glyphs with line-height tricks; a 1em box needs explicit centring. */
.az-nav-tabs .lSAction > a::before { margin: auto; }
.datetimepicker table th.prev span::before,
.datetimepicker table th.next span::before,
.az-datetimepicker > .datepicker_header a:nth-child(2)::before,
.az-datetimepicker > .datepicker_header a:last-child::before { margin-top: -.5em; }
.az-content-breadcrumb span + span::before { display: inline-block; vertical-align: -.1em; top: 0; }
