/* effects indicator */
html[class^="vmh"] #vmh-accessibility-button-border, html[class*=" vmh"] #vmh-accessibility-button-border{
    visibility: visible;
}

html[class^="vmh"]#vmh-accessibility-button-checkmark, html[class*=" vmh"] #vmh-accessibility-button-checkmark{
    visibility: visible;
}

/* hide images */
html.vmh-hide-images img:not(.vmh-not-hideable){
    opacity: 0 !important;
}

/* invert colors */
html.vmh-inverted-colors {
    filter: invert(1);
}

/* dark contrast */
html.vmh-dark-contrast *:not(.vmh-ignore-constrast *){
    background-color: black !important;
    color: aqua !important;
    border-color: white !important;
}

html.vmh-dark-contrast a:not(.vmh-ignore-constrast *){
    background-color: black !important;
    color: yellow !important;
}

/* ligh contrast */
html.vmh-light-contrast *:not(.vmh-ignore-constrast *){
    background-color: white !important;
    color: black !important;
    border-color: black !important;
}

html.vmh-light-contrast a:not(.vmh-ignore-constrast *){
    background-color: white !important;
    color: blue !important;
}

/* reading mask */
html.vmh-reading-mask #vmh-reading-mask-overlay{
    display: block;
}

/* big cursor */
html.vmh-bigger-cursor {
    cursor: none;
}

html.vmh-bigger-cursor *{
    cursor: none !important;
}

html.vmh-bigger-cursor #vmh-big-cursor {
    display: block;
}

/* reading guide */
html.vmh-reading-guide #vmh-accessibility-reading-guide-bar {
    display: block;
}

html.vmh-reading-guide #vmh-accessibility-reading-guide-arrow {
    display: block;
}

/* highlighted link */
html.vmh-highlighted-links a {
    background-color: black !important;
    color: yellow !important;
    text-decoration: underline !important;
}

/* low saturated */
html.vmh-low-saturated {
    filter: saturate(0.5) !important;
}

/* high saturated */
html.vmh-high-saturated {
    filter: saturate(3) !important;
}

/* desaturated */
html.vmh-desaturated {
    filter: saturate(0) !important;
}

/* align left */
html.vmh-left-aligned *:not(.vmh-ignore-alignment *) {
    text-align: left;
}

/* align center */
html.vmh-center-aligned *:not(.vmh-ignore-alignment *) {
    text-align: center;
}

/* align right */
html.vmh-right-aligned *:not(.vmh-ignore-alignment *) {
    text-align: right;
}

/* align justify */
html.vmh-justify-aligned *:not(.vmh-ignore-alignment *) {
    text-align: justify;
}

/* dyslexia */
html.vmh-dyslexia *:not(.vmh-ignore-font *){
    font-family: OpenDyslexic !important;
}

/* legible */
html.vmh-legible *:not(.vmh-ignore-font *){
    font-family: AtkinsonHyperlegible !important;
}

/* stop animations */
html.vmh-stop-animations * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    animation: none !important;
}

html.vmh-stop-animations *:after {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    animation: none !important;
}

html.vmh-stop-animations *:before {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    animation: none !important;
}

/* word spacing */
html.vmh-text-spacing-1 *:not(.vmh-ignore-spacing *) {
    word-spacing: 0.16em !important;
    letter-spacing: 0.12em !important;
}

html.vmh-text-spacing-2 *:not(.vmh-ignore-spacing *) {
    word-spacing: 0.32em !important;
    letter-spacing: 0.24em !important;
}

html.vmh-text-spacing-3 *:not(.vmh-ignore-spacing *) {
    word-spacing: 0.48em !important;
    letter-spacing: 0.36em !important;
}

/* speech */
html.vmh-text-to-speech #vmh-accessibility-voice-panel {
    display: block;
}