/* 2.7.95.16 / 2101
   Enda visuella ägaren för footersiluetten.
   Alla display/position/opacity/background-regler för footer-siluetten ska ligga här och ingen annanstans. */

/* Tillåt bara riktig footerplacering. */
body.td-page .td-main .td-decoration--footer-silhouette,
body.td-page .td-main .td-app-shell__footer-silhouette,
body.td-shell .td-main .td-decoration--footer-silhouette,
body.td-shell .td-main .td-app-shell__footer-silhouette,
body.td-help-single .td-main .td-decoration--footer-silhouette,
body.td-help-single .td-main .td-app-shell__footer-silhouette,
body.td-help-archive .td-main .td-decoration--footer-silhouette,
body.td-help-archive .td-main .td-app-shell__footer-silhouette,
body.td-courseware-app .td-main .td-decoration--footer-silhouette,
body.td-courseware-app .td-main .td-app-shell__footer-silhouette,
body.td-wpcw-course .td-main .td-decoration--footer-silhouette,
body.td-wpcw-course .td-main .td-app-shell__footer-silhouette,
body.td-wpcw-unit .td-main .td-decoration--footer-silhouette,
body.td-wpcw-unit .td-main .td-app-shell__footer-silhouette,
body.single-course .td-main .td-decoration--footer-silhouette,
body.single-course .td-main .td-app-shell__footer-silhouette,
body.single-course_unit .td-main .td-decoration--footer-silhouette,
body.single-course_unit .td-main .td-app-shell__footer-silhouette,
body.td-page .td-card .td-decoration--footer-silhouette,
body.td-page .td-card .td-app-shell__footer-silhouette,
body.td-shell .td-card .td-decoration--footer-silhouette,
body.td-shell .td-card .td-app-shell__footer-silhouette,
body.td-view-home .td-desktop-home [class*="td-decoration--footer-silhouette"],
body.td-view-home .td-desktop-home [class*="td-app-shell__footer-silhouette"],
body.td-view-dashboard .td-desktop-home [class*="td-decoration--footer-silhouette"],
body.td-view-dashboard .td-desktop-home [class*="td-app-shell__footer-silhouette"]{
  display:none !important;
}

/* Bas: riktig footeryta i page-frame/shell. */
body.td-page .td-page-frame > .td-decoration--footer-silhouette,
body.td-page .td-page-frame > .td-app-shell__footer-silhouette,
body.td-shell .td-page-frame > .td-decoration--footer-silhouette,
body.td-shell .td-page-frame > .td-app-shell__footer-silhouette,
body.td-help-single .td-page-frame > .td-decoration--footer-silhouette,
body.td-help-single .td-page-frame > .td-app-shell__footer-silhouette,
body.td-help-archive .td-page-frame > .td-decoration--footer-silhouette,
body.td-help-archive .td-page-frame > .td-app-shell__footer-silhouette,
body.td-courseware-app .td-page-frame > .td-decoration--footer-silhouette,
body.td-courseware-app .td-page-frame > .td-app-shell__footer-silhouette,
body.td-wpcw-course .td-page-frame > .td-decoration--footer-silhouette,
body.td-wpcw-course .td-page-frame > .td-app-shell__footer-silhouette,
body.td-wpcw-unit .td-page-frame > .td-decoration--footer-silhouette,
body.td-wpcw-unit .td-page-frame > .td-app-shell__footer-silhouette,
body.single-course .td-page-frame > .td-decoration--footer-silhouette,
body.single-course .td-page-frame > .td-app-shell__footer-silhouette,
body.single-course_unit .td-page-frame > .td-decoration--footer-silhouette,
body.single-course_unit .td-page-frame > .td-app-shell__footer-silhouette,
body.td-page .td-page-frame__footer .td-decoration--footer-silhouette,
body.td-page .td-page-frame__footer .td-app-shell__footer-silhouette,
body.td-shell .td-page-frame__footer .td-decoration--footer-silhouette,
body.td-shell .td-page-frame__footer .td-app-shell__footer-silhouette,
body.td-help-single .td-page-frame__footer .td-decoration--footer-silhouette,
body.td-help-single .td-page-frame__footer .td-app-shell__footer-silhouette,
body.td-help-archive .td-page-frame__footer .td-decoration--footer-silhouette,
body.td-help-archive .td-page-frame__footer .td-app-shell__footer-silhouette,
body.td-courseware-app .td-page-frame__footer .td-decoration--footer-silhouette,
body.td-courseware-app .td-page-frame__footer .td-app-shell__footer-silhouette,
body.td-wpcw-course .td-page-frame__footer .td-decoration--footer-silhouette,
body.td-wpcw-course .td-page-frame__footer .td-app-shell__footer-silhouette,
body.td-wpcw-unit .td-page-frame__footer .td-decoration--footer-silhouette,
body.td-wpcw-unit .td-page-frame__footer .td-app-shell__footer-silhouette,
body.single-course .td-page-frame__footer .td-decoration--footer-silhouette,
body.single-course .td-page-frame__footer .td-app-shell__footer-silhouette,
body.single-course_unit .td-page-frame__footer .td-decoration--footer-silhouette,
body.single-course_unit .td-page-frame__footer .td-app-shell__footer-silhouette,
body.td-page .td-shell__footer .td-decoration--footer-silhouette,
body.td-page .td-shell__footer .td-app-shell__footer-silhouette,
body.td-shell .td-shell__footer .td-decoration--footer-silhouette,
body.td-shell .td-shell__footer .td-app-shell__footer-silhouette,
body.td-help-single .td-shell__footer .td-decoration--footer-silhouette,
body.td-help-single .td-shell__footer .td-app-shell__footer-silhouette,
body.td-help-archive .td-shell__footer .td-decoration--footer-silhouette,
body.td-help-archive .td-shell__footer .td-app-shell__footer-silhouette,
body.td-courseware-app .td-shell__footer .td-decoration--footer-silhouette,
body.td-courseware-app .td-shell__footer .td-app-shell__footer-silhouette,
body.td-wpcw-course .td-shell__footer .td-decoration--footer-silhouette,
body.td-wpcw-course .td-shell__footer .td-app-shell__footer-silhouette,
body.td-wpcw-unit .td-shell__footer .td-decoration--footer-silhouette,
body.td-wpcw-unit .td-shell__footer .td-app-shell__footer-silhouette,
body.single-course .td-shell__footer .td-decoration--footer-silhouette,
body.single-course .td-shell__footer .td-app-shell__footer-silhouette,
body.single-course_unit .td-shell__footer .td-decoration--footer-silhouette,
body.single-course_unit .td-shell__footer .td-app-shell__footer-silhouette,
body.single-td_entry .td-page-frame__footer .td-decoration--footer-silhouette,
body.single-td_entry .td-page-frame__footer .td-app-shell__footer-silhouette,
body.single-td_entry .td-shell__footer .td-decoration--footer-silhouette,
body.single-td_entry .td-shell__footer .td-app-shell__footer-silhouette,
body.td-entry-single .td-page-frame__footer .td-decoration--footer-silhouette,
body.td-entry-single .td-page-frame__footer .td-app-shell__footer-silhouette,
body.td-entry-single .td-shell__footer .td-decoration--footer-silhouette,
body.td-entry-single .td-shell__footer .td-app-shell__footer-silhouette{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:72px !important;
  min-height:72px !important;
  margin:8px 0 0 !important;
  background-image:var(--td-shell-silhouette-image) !important;
  background-repeat:no-repeat !important;
  background-position:center bottom !important;
  background-size:contain !important;
  opacity:.52 !important;
  filter:saturate(1.06) brightness(.62) contrast(1.04) !important;
  mix-blend-mode:normal !important;
  pointer-events:none !important;
  position:static !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
}

@media (min-width: 782px){
  body.td-page .td-page-frame > .td-decoration--footer-silhouette,
  body.td-page .td-page-frame > .td-app-shell__footer-silhouette,
  body.td-shell .td-page-frame > .td-decoration--footer-silhouette,
  body.td-shell .td-page-frame > .td-app-shell__footer-silhouette,
  body.td-page .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-page .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-shell .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-shell .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-page .td-shell__footer .td-decoration--footer-silhouette,
  body.td-page .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-shell .td-shell__footer .td-decoration--footer-silhouette,
  body.td-shell .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-help-single .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-help-single .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-help-archive .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-help-archive .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-courseware-app .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-courseware-app .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-wpcw-course .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-wpcw-course .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-wpcw-unit .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-wpcw-unit .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.single-course .td-page-frame__footer .td-decoration--footer-silhouette,
  body.single-course .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.single-course_unit .td-page-frame__footer .td-decoration--footer-silhouette,
  body.single-course_unit .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-help-single .td-shell__footer .td-decoration--footer-silhouette,
  body.td-help-single .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-help-archive .td-shell__footer .td-decoration--footer-silhouette,
  body.td-help-archive .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-courseware-app .td-shell__footer .td-decoration--footer-silhouette,
  body.td-courseware-app .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-wpcw-course .td-shell__footer .td-decoration--footer-silhouette,
  body.td-wpcw-course .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-wpcw-unit .td-shell__footer .td-decoration--footer-silhouette,
  body.td-wpcw-unit .td-shell__footer .td-app-shell__footer-silhouette,
  body.single-course .td-shell__footer .td-decoration--footer-silhouette,
  body.single-course .td-shell__footer .td-app-shell__footer-silhouette,
  body.single-course_unit .td-shell__footer .td-decoration--footer-silhouette,
  body.single-course_unit .td-shell__footer .td-app-shell__footer-silhouette,
  body.single-td_entry .td-shell__footer .td-decoration--footer-silhouette,
  body.single-td_entry .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-entry-single .td-shell__footer .td-decoration--footer-silhouette,
  body.td-entry-single .td-shell__footer .td-app-shell__footer-silhouette{
    height:88px !important;
    min-height:88px !important;
    margin-top:10px !important;
    opacity:.42 !important;
    filter:saturate(1.06) brightness(.68) contrast(1.04) !important;
  }
}

@media (max-width: 781px){
  body.td-page .td-page-frame > .td-decoration--footer-silhouette,
  body.td-page .td-page-frame > .td-app-shell__footer-silhouette,
  body.td-shell .td-page-frame > .td-decoration--footer-silhouette,
  body.td-shell .td-page-frame > .td-app-shell__footer-silhouette,
  body.td-page .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-page .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-shell .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-shell .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-page .td-shell__footer .td-decoration--footer-silhouette,
  body.td-page .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-shell .td-shell__footer .td-decoration--footer-silhouette,
  body.td-shell .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-help-single .td-shell__footer .td-decoration--footer-silhouette,
  body.td-help-single .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-help-archive .td-shell__footer .td-decoration--footer-silhouette,
  body.td-help-archive .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-courseware-app .td-shell__footer .td-decoration--footer-silhouette,
  body.td-courseware-app .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-wpcw-course .td-shell__footer .td-decoration--footer-silhouette,
  body.td-wpcw-course .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-wpcw-unit .td-shell__footer .td-decoration--footer-silhouette,
  body.td-wpcw-unit .td-shell__footer .td-app-shell__footer-silhouette,
  body.single-course .td-shell__footer .td-decoration--footer-silhouette,
  body.single-course .td-shell__footer .td-app-shell__footer-silhouette,
  body.single-course_unit .td-shell__footer .td-decoration--footer-silhouette,
  body.single-course_unit .td-shell__footer .td-app-shell__footer-silhouette,
  body.single-td_entry .td-shell__footer .td-decoration--footer-silhouette,
  body.single-td_entry .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-entry-single .td-shell__footer .td-decoration--footer-silhouette,
  body.td-entry-single .td-shell__footer .td-app-shell__footer-silhouette{
    height:60px !important;
    min-height:60px !important;
    margin:8px 0 4px !important;
    background-size:auto 60px !important;
    opacity:.60 !important;
    filter:saturate(1.08) brightness(.52) contrast(1.08) !important;
    mix-blend-mode:normal !important;
  }
}


@media (max-width:781.98px){
  /* 2.7.95.30 / 2109 – footersiluetten ska vara synlig på mobil men ligga ovanför fixed bottomnav.
     td-decorations äger endast dekorens egen slutyta, inte navet. */
  body.td-page .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-page .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-shell .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-shell .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-page .td-shell__footer .td-decoration--footer-silhouette,
  body.td-page .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-shell .td-shell__footer .td-decoration--footer-silhouette,
  body.td-shell .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-help-single .td-shell__footer .td-decoration--footer-silhouette,
  body.td-help-single .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-courseware-app .td-shell__footer .td-decoration--footer-silhouette,
  body.td-courseware-app .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-entry-single .td-shell__footer .td-decoration--footer-silhouette,
  body.td-entry-single .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-share-single .td-shell__footer .td-decoration--footer-silhouette,
  body.td-share-single .td-shell__footer .td-app-shell__footer-silhouette{
    display:block !important;
    margin:8px 0 calc(var(--td-mobile-bottom-nav-total, 64px) + 8px) !important;
  }
}


@media (max-width:781.98px){
  /* 2.7.95.31 / 2109 – footersiluetten ska vara synlig på mobil men ligga ovanför fixed bottomnav.
     td-decorations äger endast dekorens egen slutyta, inte navet. */
  body.td-page .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-page .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-shell .td-page-frame__footer .td-decoration--footer-silhouette,
  body.td-shell .td-page-frame__footer .td-app-shell__footer-silhouette,
  body.td-page .td-shell__footer .td-decoration--footer-silhouette,
  body.td-page .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-shell .td-shell__footer .td-decoration--footer-silhouette,
  body.td-shell .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-help-single .td-shell__footer .td-decoration--footer-silhouette,
  body.td-help-single .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-courseware-app .td-shell__footer .td-decoration--footer-silhouette,
  body.td-courseware-app .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-entry-single .td-shell__footer .td-decoration--footer-silhouette,
  body.td-entry-single .td-shell__footer .td-app-shell__footer-silhouette,
  body.td-share-single .td-shell__footer .td-decoration--footer-silhouette,
  body.td-share-single .td-shell__footer .td-app-shell__footer-silhouette{
    display:block !important;
    margin:8px 0 calc(var(--td-mobile-bottom-nav-total, 64px) + 8px) !important;
  }
}
