/* AUTOROTATE TOGGLE */

#autorotateToggle {
    display: block;
    position: absolute;
    bottom: var(--titleBar-bottom);
    right: var(--titleBar-leftAndRight-plus-margin);
    width: var(--titleBar-height);
    height: var(--titleBar-height);
}



/* If there is a fullscreen button, autorotate must placed a bit to the left */
body.fullscreen-enabled #autorotateToggle {
    margin-right: var(--titleBar-height);
}



#autorotateToggle .icon {
    position: absolute;
    width: var(--icon-size);
    height: var(--icon-size);
    margin: var(--icon-margin);
}



#autorotateToggle .icon.on {
    display: none;
}



#autorotateToggle .icon.off {
    display: block;
}



#autorotateToggle .icon.off:hover {
    fill: var(--hover-rgb);
}



#autorotateToggle.enabled .icon.on {
    display: block;
    fill: var(--hover-rgb);
}



#autorotateToggle.enabled .icon.off {
    display: none;
}