.illu-aside {
--marker-size: 24px;
}
.illu-aside>.elementlist>div:first-child {
display: none;
}
@media (min-width: 992px) {
.illu-aside>.elementlist {
--height-header: calc(50px + 36px);
display: flex;
flex-wrap: nowrap;
}
.illu-aside>.elementlist>div {
padding: 0;
}
.illu-aside>.elementlist>div:first-child {
display: block;
max-width: 20%;
flex: 0 0 20%;
}
.illu-aside>.elementlist>div:first-child>div {
/* sticky wrapper */
position: sticky;
/* top: var(--height-header); */
top: 180px;
bottom: 0;
left: -10%;
z-index: 0;
/* _height: calc(100vh - var(--height-header)); */
}
.illu-aside>.elementlist>div:last-child {
max-width: 80%;
flex: 0 0 80%;
}
}
@media (max-width: 1200px) {
.illu-aside .markers {
right: unset !important;
background: none !important;
}
.illu-aside .markers li {
position: relative;
top: 0 !important;
left: 0 !important;
display: block;
margin-bottom: 1rem;
}
.illu-aside .markers li:not(:first-child):before {
content: '';
position: absolute;
inset: -5px 0 auto;
border-top: 1px solid #cfcfcf;
}
.illu-aside .markers li a {
display: block;
}
}
@media (min-width: 1200px) {
.illu-aside {
margin-left: -250px;
margin-right: -250px;
}
.illu-aside>.elementlist>div:first-child {
max-width: 50%;
flex: 0 0 50%;
}
.illu-aside>.elementlist>div:last-child {
max-width: 50%;
flex: 0 0 50%;
}
.illu-aside .markers {
position: absolute;
top: 0;
right: -27%;
width: 130%;
background-size: contain;
background-repeat: no-repeat;
counter-reset: markers;
padding-left: 400px;
}
.illu-aside .markers li {
position: absolute;
/* &.active {
--marker-size: 30px;
background-color: #80a2d3;
} */
}
.illu-aside .markers li a {
display: block;
max-width: var(--marker-size);
height: var(--marker-size);
/* line-height: var(--marker-size); */
overflow: hidden;
color: #fff;
white-space: nowrap;
text-decoration: none;
background-color: #0046ad;
border-radius: calc(var(--marker-size) / 2);
padding-right: calc(var(--marker-size) / 2);
transition: all 0.3s;
}
.illu-aside .markers li a:hover {
max-width: 170px;
}
.illu-aside .markers li a:before {
display: inline-block;
counter-increment: markers;
content: counter(markers);
width: var(--marker-size);
font-weight: bold;
text-align: center;
}
}
@media (min-width: 1600px) {
.illu-aside>.elementlist>div:first-child {
max-width: 45%;
flex: 0 0 45%;
}
.illu-aside>.elementlist>div:last-child {
max-width: 55%;
flex: 0 0 55%;
}
.illu-aside .markers {
right: -41%;
width: 180%;
}
}
@media (min-width: 1800px) {
/* & .with-border .item-content>.content-body {
max-height: 80vh;
overflow-y: auto;
} */
.illu-aside>.elementlist>div:first-child {
max-width: 40%;
flex: 0 0 40%;
}
.illu-aside>.elementlist>div:last-child {
max-width: 60%;
flex: 0 0 60%;
}
.illu-aside .markers {
right: -55%;
width: 230%;
}
}
