/* Постоянный файл; режим включается классом на html до отрисовки. */
#box_special[hidden] { display:none!important; }
#box_special { box-sizing:border-box; position:relative; flex:none; width:100%; max-width:100%; margin:0 auto 1rem; padding:1rem; border:2px solid currentColor; background:var(--special-bg,#fff); color:var(--special-fg,#000); font:1rem/1.5 Arial,sans-serif; overflow-wrap:anywhere; }
#box_special *, #box_special *::before { box-sizing:border-box; }
#box_special .special-heading, #box_special .special-actions, #box_special .special-options { display:flex; flex-wrap:wrap; align-items:center; gap:.5em; }
#box_special .special-heading { justify-content:space-between; gap:1em; margin-bottom:1em; }
#box_special h2 { font-size:1.25em!important; margin:0; }
#box_special .special-groups { display:flex; flex-wrap:wrap; gap:1em; }
#box_special fieldset { flex:1 1 15em; min-width:0; padding:.6em; border:1px solid currentColor; }
#box_special legend { padding:0 .3em; font-weight:bold; }
#box_special button { appearance:none; max-width:100%; min-height:2.75em; padding:.4em .7em; border:2px solid currentColor; border-radius:.25em; background:var(--special-bg,#fff); color:var(--special-fg,#000); font:inherit; white-space:normal; overflow-wrap:anywhere; cursor:pointer; }
#box_special button[aria-pressed="true"] { background:var(--special-fg,#000)!important; color:var(--special-bg,#fff)!important; text-decoration:underline; text-underline-offset:.2em; }
#box_special button:focus-visible { outline:3px solid currentColor!important; outline-offset:3px; }
#box_special button:disabled { opacity:.6; cursor:default; }
#box_special #special-speech-help, #box_special #special-speech-status { margin-top:.6em; }
#box_special #special-speech-status:empty { display:none; }
#box_special #special-status:empty { display:none; }
#box_special #special-status { margin-top:.75em; }

html.sitgs-accessible { --special-bg:#fff; --special-fg:#000; --special-size:1.4375rem; --special-font:Arial,sans-serif; --special-spacing:0; --special-lines:1.5; background:var(--special-bg)!important; color:var(--special-fg); }
html.sitgs-accessible[data-special-fsize="1"] { --special-size:1rem; }
html.sitgs-accessible[data-special-fsize="3"] { --special-size:2rem; }
html.sitgs-accessible[data-special-cvet="2"] { --special-bg:#000; --special-fg:#fff; }
html.sitgs-accessible[data-special-cvet="3"] { --special-bg:#9dd1ff; --special-fg:#063462; }
html.sitgs-accessible[data-special-cvet="4"] { --special-bg:#f7f3d6; --special-fg:#59422e; }
html.sitgs-accessible[data-special-schrift="2"] { --special-font:"Times New Roman",serif; }
html.sitgs-accessible[data-special-interval="2"] { --special-spacing:.1em; }
html.sitgs-accessible[data-special-interval="3"] { --special-spacing:.2em; }
html.sitgs-accessible[data-special-intervals="1"] { --special-lines:1.25; }
html.sitgs-accessible[data-special-intervals="3"] { --special-lines:2; }
html.sitgs-accessible body { height:auto; min-height:100%; font-size:var(--special-size)!important; font-family:var(--special-font)!important; line-height:var(--special-lines)!important; letter-spacing:var(--special-spacing)!important; }
html.sitgs-accessible body * { background-color:var(--special-bg)!important; color:var(--special-fg)!important; background-image:none!important; text-shadow:none!important; box-shadow:none!important; }
/* Наследуемый размер не умножается при вложенности. Семейство иконок сохраняется. */
html.sitgs-accessible body :where(div,p,span,a,li,ul,ol,table,td,th,label,legend,fieldset,button,input,select,textarea,section,article,header,footer,nav,main,aside,figcaption,strong,b,em,i,small,time) { font-size:inherit!important; line-height:inherit!important; letter-spacing:inherit!important; }
html.sitgs-accessible body :where(p,li,td,th,label,legend,input,select,textarea,button):not([style*="FontAwesome"]) { font-family:var(--special-font)!important; }
html.sitgs-accessible body h1 { font-size:1.7em!important; }
html.sitgs-accessible body h2 { font-size:1.4em!important; }
html.sitgs-accessible body :where(h3,h4,h5,h6) { font-size:1.2em!important; }
html.sitgs-accessible body :where(h1,h2,h3,h4,h5,h6) { line-height:1.4!important; letter-spacing:inherit!important; font-family:var(--special-font)!important; }
html.sitgs-accessible body ::placeholder { color:var(--special-fg)!important; opacity:1; }
html.sitgs-accessible :focus-visible { outline:3px solid currentColor!important; outline-offset:3px; }
html.sitgs-accessible a { text-decoration:underline!important; }
html.sitgs-accessible #wrap { margin-top:0!important; height:auto!important; }
html.sitgs-accessible .top_linep { position:relative!important; }
html.sitgs-accessible :is(#wrapper,#content,#box_dt,#box_header,.wrap_fter,.infocoo) { box-sizing:border-box; width:100%!important; max-width:100%!important; }
html.sitgs-accessible :is(#content,.infocoo) { flex-wrap:wrap; }
html.sitgs-accessible :is(#prebx,#box_content,.box_sub_news) { min-width:0; max-width:100%; overflow-wrap:anywhere; }
html.sitgs-accessible #box_header { height:auto; }
html.sitgs-accessible #fter { position:relative; }
html.sitgs-accessible .wrap_fter { left:0; margin-left:0; }
html.sitgs-accessible :is(#box_fter1,#box_fter2) { box-sizing:border-box; max-width:100%; width:auto; }
html.sitgs-accessible #new_slider { display:block!important; }
html.sitgs-accessible[data-special-img="1"] img { display:none!important; }
html.sitgs-accessible[data-special-img="1"] .sitgs-photo { height:auto!important; min-height:0; }
html.sitgs-accessible[data-special-img="1"] .sitgs-photo-placeholder { display:none!important; }

/* Эти правила действуют только при включённой версии для слабовидящих. */
html.sitgs-accessible #content { min-width:0; }
html.sitgs-accessible :is(#menu_mob,#menu,.box_submenu) [aria-current="page"] { text-decoration:underline; text-underline-offset:.2em; }
html.sitgs-accessible .sitgs-accessibility-feedback { display:block; padding:.75em 1em; text-align:center; background:#fff; color:#17365d; }
html.sitgs-accessible .sitgs-accessibility-feedback a { color:inherit; text-decoration:underline; }
html.sitgs-accessible .sitgs-slider-descriptions { display:block; margin:.5em 0; padding:.5em 1em; background:#fff; color:#252137; font:1rem/1.5 Arial,sans-serif; }
html.sitgs-accessible .sitgs-slider-descriptions summary { cursor:pointer; text-decoration:underline; }
html.sitgs-accessible .sitgs-slider-descriptions li { margin:.5em 0 .5em 1.5em; white-space:pre-wrap; overflow-wrap:anywhere; }
html.sitgs-accessible .sitgs-slider-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.75em; padding:.75em; background:#fff; color:#252137; font:1rem/1.5 Arial,sans-serif; }
html.sitgs-accessible .sitgs-slider-controls button { padding:.5em .75em; border:2px solid currentColor; border-radius:.25em; background:inherit; color:inherit; font:inherit; cursor:pointer; }
html.sitgs-accessible .sitgs-slider-controls button:disabled { cursor:default; }
html.sitgs-accessible #new_slider .nivo-directionNav { display:none!important; }
html.sitgs-accessible #new_slider .slider-wrapper { max-width:100%; }
html.sitgs-accessible #new_slider { height:auto; }
html.sitgs-accessible :is(#menu,.wrap_menu,#wrap_header) { box-sizing:border-box; max-width:100%!important; }
html.sitgs-accessible[data-special-img="1"] #new_slider .slider-viewport,
html.sitgs-accessible[data-special-img="1"] .sitgs-slider-controls { display:none!important; }
html.sitgs-accessible[data-special-img="1"] .sitgs-image-description { display:inline!important; }
html.sitgs-accessible[data-special-img="1"] .sitgs-photo { display:inline-block!important; width:auto!important; max-width:100%!important; height:auto!important; max-height:none!important; aspect-ratio:auto!important; overflow:visible!important; float:none!important; }
html.sitgs-accessible[data-special-img="1"] :is(.sitgs-photo-thumbnail,.sitgs-photo-full,.sitgs-staff-photo,.edu-logo) { width:auto!important; max-width:100%!important; max-height:none!important; flex-basis:auto!important; }
html.sitgs-accessible[data-special-img="1"] .sitgs-slider-descriptions > :not(summary) { display:block!important; }
html.sitgs-accessible :is(input,textarea,select,button) { border-color:currentColor!important; }
html.sitgs-accessible .sitgs-a11y-stale { border-color:currentColor; }
html.sitgs-accessible [aria-current="page"] { font-weight:bold!important; text-decoration:underline!important; }
html.sitgs-accessible button:disabled { opacity:1!important; border-style:dashed!important; }
