/* High Contrast */

html.rotA11y_highContrast body,
:root.rotA11y_highContrast body{
	--a11y-text-color00:black;
	--a11y-text-color01:yellow;
	--a11y-bg-color:white;
	--a11y-link-color: cyan;

	--headerbackground: var(--ally-bg-color)!important;
}
/*custom element overrules*/
:root.rotA11y_highContrast body .inner{
	background-color:var(--a11y-bg-color);
}



/*initial settings*/
/*ICONS*/
@font-face {
	font-family: 'rot-a11y';
	src: url('font/rot-a11y.woff2?46391129') format('woff2');

	font-weight: normal;
	font-style: normal;
  }

  i[class^="a11yIcon-"]:before, i[class*=" a11yIcon-"]:before {
	font-family: "rot-a11y";
	font-style: normal;
	font-weight: normal;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: .2em;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: 1em;
	margin-left: .2em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  }

  .a11yIcon-contrast:before { content: '\e800'; } /* '' */
  .a11yIcon-barcode:before { content: '\e801'; } /* '' */
  .a11yIcon-arrows-cw:before { content: '\e802'; } /* '' */
  .a11yIcon-universal-access:before { content: '\e803'; } /* '' */
  .a11yIcon-up-circled:before { content: '\f0aa'; } /* '' */
  .a11yIcon-down-circled:before { content: '\f0ab'; } /* '' */
  .a11yIcon-underline:before { content: '\f0cd'; } /* '' */
  .a11yIcon-universal-access-1:before { content: '\f29a'; } /* '' */


/*initial settings*/
/*initial settings*/
/*initial settings*/
/*initial settings*/

html.rotA11y_highContrast {
	background-color: var(--a11y-bg-color,white)!important;
    color: var(--a11y-text-color01,yellow)!important;
}
html.rotA11y_highContrast body,
html.rotA11y_highContrast body #page,
html.rotA11y_highContrast body section,
html.rotA11y_highContrast body #content{
	background:inherit!important;
	color:var(--a11y-text-color00,white);

}




html.rotA11y_highContrast a {
    color: var(--a11y-link-color) !important;
}

.rotA11y_highContrast button {
    background-color: yellow !important;
    color: black !important;
    border: 2px solid white !important;
}

/* Graustufen-Modus */
.rotA11y_grayscale {
    filter: grayscale(100%);
}

/* Links unterstreichen */
.rotA11y_underlineLinks a {
    text-decoration: underline !important;
}

/* Accessibility Panel Styling */
#rotA11y_panel {
    z-index: 100000;
    position: fixed;
    display: flex;
    flex-direction: column;
    background: white;
    padding: 8px;
    right: -220px;
    width: 200px;
    transition: transform 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
}

#rotA11y_panel.rotA11y_open {
    transform: translateX(-220px);
}

#rotA11y_panel[inert] {
    pointer-events: none;
    opacity: 0.5;
}

/* Flyout-Button (Handle) */
#rotA11y_toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    z-index: 100001;
    border-radius: 5px 0 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* Icon innerhalb des Flyouts */
#rotA11y_toggle span {
    font-size: 20px;
}

#rotA11y_panel button {
    padding: 8px 10px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 5px;
}

#rotA11y_panel button:hover {
    background: #555;
}

body a:focus,
body button:focus{
	outline: 2px solid var(--primary)!important;
	border-radius: inherit;
	outline-offset: 4px;
}

