/*
** NONLINEAR SLIDESHOW
** "slideshow" style for nonlinear test Parts.
** Items are positioned off-screen, and only the "current"
** item is on-screen.
*/

[data-qtijs-navigation-mode=nonlinear] [data-qtijs-tag=assessmentItem] {
  --qtijs-scroll-to: false;
}
[data-qtijs-navigation-mode=nonlinear] [data-qtijs-tag=assessmentItem],
[data-qtijs-navigation-mode=nonlinear] [data-qtijs-tag=testFeedback] {
  position: absolute;
  left: 140vw;
  margin-top: 0;
}
[data-qtijs-navigation-mode=nonlinear] [data-qtijs-tag=assessmentSection],
[data-qtijs-navigation-mode=nonlinear] [data-qtijs-tag=assessmentSection]::before {
  position: absolute;
  top: 0;
  left: 140vw;
}
[data-qtijs-navigation-mode=nonlinear] [data-qtijs-tag=assessmentSection][data-qtijs-visible=false] {
  margin-top: 1em;
}
[data-qtijs-navigation-mode=nonlinear] > [data-qtijs-tag=assessmentSection][data-qtijs-visible=true] {
  margin-top: 4em;
}
[data-qtijs-navigation-mode=nonlinear] [data-qtijs-tag=assessmentSection][data-qtijs-visible=true] >
 [data-qtijs-tag=assessmentSection][data-qtijs-visible=true] {
  margin-top: 0em;
}
[data-qtijs-navigation-mode=nonlinear] .qtijs-current,
[data-qtijs-navigation-mode=nonlinear] .qtijs-current::before {
  display: block;
  position: relative;  
  top: 0;
  left: 0 !important;
  transition: left .5s;
}
[data-qtijs-navigation-mode=nonlinear] .qtijs-offstage,
[data-qtijs-navigation-mode=nonlinear] .qtijs-offstage::before {
  position: absolute;
  left: -110vw;
}
