/* Design by VentanaDesign (ventana-design.de), 2010, for Uta Göhring.
   Carried over from the PHP site; rules for old Internet Explorer removed. */

body
{
padding:0px;
margin:0px;
/* the middle colour of the background picture: nothing flashes black while
   the picture is still loading */
background-color:#701206;
background-image:url(../images/UtaBackground.png);
overflow-x:hidden;
}

a{color:white; outline: none; }
a:link {text-decoration: none}
a:visited {text-decoration: none}
a:active {text-decoration: none}
a:hover {color: white;}
a:focus-visible, button:focus-visible {outline: 2px solid white; outline-offset: 3px;}

.SkipLink
{
position:absolute;
left:-9999px;
top:0;
background:#501109;
color:white;
padding:8px 14px;
font-size:16px;
z-index:10000;
}
.SkipLink:focus { left:0; }
td{color: white;}
h6{font-size:12px;height:12px;}
img{border:0;}
.link{color:white;}

/* The old site had no doctype, so tables did not take over the line height
   of the text around them. Keep that, otherwise the biography table grows. */
table
{
line-height:normal;
text-align:left;
}

#VentanaTopSpacer{height:80px;}
#VentanaNavigationSpacer{height:35px;}
#VentanaHead{height:20px;}
#VentanaNavigationSpacerTwo{height:12px;}
#VentanaTitel{position:relative;left:264px;}
#VentanaTitel img{display:block;}

#VentanaNavigationReplace
{
padding-top:30px;
}

/* was 13px; enlarged so it can be read and hit */
.LangLink
{
text-shadow: 1px 1px 2px black;
color:#e6e6e6;
font-size:15px;
text-decoration:underline;
}

#VentanaBg
{
height:1020px;
width:100%;
z-index:100;
}

/* Page heading. Was dark red (#3e0d07) on the red background, which could
   hardly be read; now light like the rest of the text. */
#VentanaHeadFont
{
font-size:20px;
color: #f2f2f2;
text-shadow: 1px 1px 1px black;
display:inline;
padding-left:25px;
font-variant:small-caps;
}
#VentanaHeadFont h1
{
display:inline;
font:inherit;
margin:0;
}
.VentanaSubNav { display:inline; }

#VentanaNavigationBox
{
text-align:right;
position:relative;
top:56px;
left:0px;
}
.VentanaNavigationBox2
{
height:43px;
vertical-align:middle;
}
.VentanaNavigationFont
{
font-size:21px;
font-family:"Century Gothic", "URW Gothic", "Avenir Next", Avenir, Futura, 'Helvetica Neue', Arial, sans-serif;
text-shadow: 1px 1px 1px black;
}
.VentanaNavigationFont[aria-current] { text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:1px; }

#VentanaContent
{
color:#d2d2d2;
font-size:13pt;
line-height:22px;
padding-top:60px;
font-weight:400; /* was 100: hairline text is hard to read */
padding-left:25px;
outline:none;
animation:contentIn .6s ease-in-out both;
}
/* The start page has no text. Its empty text column must not lie on top of
   the menu once that has moved to the middle. */
.start #VentanaContent { animation:none; pointer-events:none; }
#VentanaNavigationBox { z-index:1; }
.gallerypage #VentanaContent
{
position:relative;
top:-50px;
}
/* Links inside the text were only told apart by a slightly lighter grey. */
#VentanaContent a { text-decoration:underline; text-underline-offset:2px; }

/* Text pages: content written as Markdown in the admin */
.blocks > * + * { margin-top:14px; }
.blocks.centered { text-align:center; }
.blocks h2 { font-size:18px; line-height:1.3; margin-bottom:0; }
.blocks h3 { font-size:14px; line-height:1.3; margin-bottom:0; }
.blocks h2 + h2, .blocks h2 + h3 { margin-top:4px; }
.blocks p { margin-bottom:0; }
.blocks ul { list-style:none; margin-left:0; margin-bottom:0; padding:0; }
.blocks li { margin:0 0 8px; padding-left:14px; position:relative; }
.blocks li::before { content:"\2022"; position:absolute; left:0; }
.blocks.centered li { padding-left:0; }
.blocks.centered li::before { position:static; margin-right:6px; }
.blocks img { max-width:100%; height:auto; vertical-align:top; }
/* a line in italics right under a picture is its caption */
.blocks img + br + em { display:inline-block; font-size:11px; font-style:normal; margin-top:6px; }
.blocks hr { margin-bottom:0; }
/* A picture that opens a left-aligned page stands to the right of the text,
   as the portrait did on the old biography page. */
@media (min-width: 600px){
.blocks:not(.centered) > p:first-child:has(> img:first-child) { float:right; margin:0 0 12px 24px; }
}

@keyframes contentIn { from { opacity:0; } to { opacity:1; } }

#VentanaTanz
{
position:absolute;
top:300px;
margin-left:-120px;
}

.VentanaSubNavi
{
position: relative;
left:10px;
bottom:3px;
display:inline-block;
background: #501109;
padding: 5px 10px 6px;
font-family:arial;
font-size:13px;
font-variant:normal;
color: #f2f2f2;
text-decoration: none;
line-height: 0.9;
border-radius: 5px;
box-shadow: 0 1px 3px rgba(0,0,0,0.5);
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
border-bottom: 1px solid rgba(0,0,0,0.25);
cursor: pointer;
z-index:900;
}
/* the page you are on: white button */
.VentanaSubNavi[aria-current] { background:#fff; color:#501109; text-shadow:none; }
.srOnly { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }

/* The side menu stays in view while a long page scrolls. Only where it sits
   beside the text and the window is tall enough to show all of it. */
@media (min-width: 980px) and (min-height: 600px)
{
body:not(.start) #VentanaNavigationBox { position:sticky; top:32px; margin-top:56px; }
/* The dancer stays beside the menu: she is drawn as part of the menu box, at
   the place where the picture in the header stands, and that one is hidden. */
body:not(.start) #VentanaNavigationBox::before
{
content:"";
position:absolute;
left:-130px;
top:9px;
width:239px;
height:350px;
background:url(../images/taenzerin.png) no-repeat 0 0 / 100% 100%;
z-index:-1;
pointer-events:none;
}
body:not(.start) #VentanaTanz { visibility:hidden; }
}

/* Start page: menu and dancer glide to the middle. Only on wide screens. */
@media (min-width: 980px)
{
.start #VentanaNavigationBox, .start #VentanaTanz { transition:left 1s ease-in-out, margin-left 1s ease-in-out; }
.start #VentanaTanz { left:calc(50% - 450px); }
/* Title, and dancer plus menu as one group, sit on the middle axis of the
   window. (The old site put them about 120px and 40px to the right of it.) */
.start #VentanaTitel { left:141px; }
.start.glided #VentanaNavigationBox { left:495px; margin-left:-75px; }
.start.glided #VentanaTanz { left:calc(50% + 50px); margin-left:-240px; }
.start.no-glide #VentanaNavigationBox, .start.no-glide #VentanaTanz { transition:none; }
}

/* Start page: opening curtain */
#intro
{
position:fixed; /* covers the window even when the page is taller */
left:0px;
top:0px;
width:100%;
height:100%;
background-color:#701206;
background-image:url(../images/UtaBackground.png);
text-align:center;
z-index:5; /* above the menu, which has z-index 1 */
animation:introOut .6s ease-in-out 1.6s forwards;
}
#introP
{
position:relative;
left:50%;
top:40%;
width:618px;
margin-left:-309px;
margin-top:-140px;
}
@keyframes introOut { to { opacity:0; visibility:hidden; } }

/* Waiting sign on the curtain: the dancer stands dimmed and a soft band of
   light passes through her, cut to her outline by using the picture as mask. */
.introTanz { position:relative; display:inline-block; line-height:0; }
.introTanz img { opacity:.6; }
.introTanz::after
{
content:"";
position:absolute;
left:0; top:0; width:100%; height:100%;
background:linear-gradient(105deg, rgba(214,72,50,0) 36%, rgba(214,72,50,.75) 50%, rgba(214,72,50,0) 64%) no-repeat;
background-size:300% 100%;
-webkit-mask:url(../images/taenzerin_mini.png) center / 100% 100% no-repeat;
mask:url(../images/taenzerin_mini.png) center / 100% 100% no-repeat;
animation:shimmer 1.5s ease-in-out -.35s infinite; /* starts with the light already entering */
}
@keyframes shimmer { from { background-position:100% 0; } to { background-position:0 0; } }
@media (prefers-reduced-motion: reduce){
.introTanz img { opacity:1; }
.introTanz::after { display:none; }
}

/* Galleries as on the old site: small pictures in a white frame. */
.galleryWrap { text-align:center; line-height:0; }
/* sub heading between the parts of a gallery */
.galleryHead { font-family:arial; font-size:14px; line-height:1.3; font-weight:bold; text-transform:uppercase; color:#f2f2f2; margin:14px 0 24px; text-align:left; }
.galleryHead:first-child { margin-top:0; }
.gallery { display:inline-block; vertical-align:middle; margin:0; padding:0 14px 28px; text-align:center; }
.gallery span { display:inline-block; background-color:white; border:1px solid #e5e5e5; padding:2px; }
.gallery a { display:block; }
.gallery img { display:block; border:0; max-width:150px; max-height:150px; width:auto; height:auto; }
.gallery a:focus-visible { outline-offset:3px; }

/* Enlarged picture (replaces the old Slimbox script) */
#lbOverlay
{
position:fixed;
inset:0;
background:rgba(0,0,0,0.8);
z-index:9998;
cursor:pointer;
}
#lbBox
{
position:fixed;
left:50%;
top:50%;
transform:translate(-50%,-50%);
background:#fff;
padding:10px;
z-index:9999;
max-width:calc(100vw - 40px);
font-family:Verdana, Arial, Geneva, Helvetica, sans-serif;
color:#666;
}
#lbImageWrap { position:relative; min-width:120px; min-height:120px; background:#fff; }
#lbImage { display:block; max-width:calc(100vw - 60px); max-height:calc(100vh - 120px); }
#lbPrev, #lbNext
{
position:absolute;
top:0;
bottom:0;
width:50%;
border:0;
padding:0;
background:transparent;
cursor:pointer;
color:#fff;
font-size:40px;
line-height:1;
text-shadow:0 0 6px #000;
opacity:.55;
transition:opacity .2s;
}
#lbPrev { left:0; text-align:left; padding-left:12px; }
#lbNext { right:0; text-align:right; padding-right:12px; }
#lbPrev:hover, #lbNext:hover, #lbPrev:focus-visible, #lbNext:focus-visible { opacity:1; }
#lbBottom { display:flex; align-items:flex-start; gap:12px; padding-top:8px; font-size:13px; line-height:1.4em; text-align:left; color:#333; }
#lbText { flex:1; }
#lbCaption { font-weight:bold; }
#lbClose { border:0; background:transparent; cursor:pointer; color:#333; font:bold 13px Verdana, Arial, sans-serif; letter-spacing:1px; padding:6px 4px; }
#lbBox button:focus-visible { outline-color:#000; }
#lbClose:hover { color:#000; }

@media (prefers-reduced-motion: reduce)
{
#VentanaContent { animation:none; }
#intro { animation-duration:.01s; }
}

/* Narrow screens (phones, zoomed-in windows): one column instead of the fixed
   960px grid, so nothing has to be scrolled sideways. */
@media (max-width: 979px)
{
.container_12, .container_12 .grid_12, .container_12 .grid_8, .container_12 .grid_3
{
width:auto;
float:none;
margin-left:0;
margin-right:0;
display:block;
}
#VentanaBg { height:auto; padding:0 16px 40px; box-sizing:border-box; }
#VentanaTopSpacer { height:20px; }
#VentanaNavigationSpacer, #VentanaNavigationSpacerTwo { height:0; }
/* Everything hangs on one left edge: dancer and title side by side, below
   them menu, heading and text. Text pages keep a readable column width and
   the column stands in the middle of the window. */
.text .VentanaMain { max-width:720px; margin:0 auto; }
.VentanaMain > .grid_12:first-child { display:flex; align-items:center; gap:clamp(8px, 2vw, 16px); }
#VentanaTanz { position:static; margin:0; flex:none; pointer-events:none; }
#VentanaTanz img { display:block; height:clamp(84px, 19vw, 136px); width:auto; }
#VentanaTitel { flex:1; min-width:0; }
/* Start page: there is room below the menu, so the dancer stands there in
   the middle at her full size instead of in the header corner. */
.start .VentanaMain > .grid_12:first-child { display:contents !important; }
.start #VentanaTanz
{
position:static;
order:4;
align-self:center;
margin:clamp(20px, 7vh, 80px) 0 0;
z-index:auto;
}
.start #VentanaTanz img { height:min(350px, 46vh); }
.start #VentanaContent { display:none; }
/* order on small screens: title, navigation, heading, text */
.VentanaMain { display:flex !important; flex-direction:column; }
.VentanaColumns { display:contents !important; }
#VentanaNavigationBox { order:1; }
#VentanaHead { order:2; }
#VentanaContent { order:3; }
#VentanaTitel { left:0; }
#VentanaTitel img { max-width:100%; height:auto; margin:0; }
.start #VentanaTitel img { margin:0 auto; }
#VentanaHead { height:auto; }
#VentanaHead .grid_3 { display:none; }
#VentanaNavigationBox
{
position:static;
display:flex;
flex-wrap:wrap;
justify-content:flex-start;
align-items:baseline;
gap:0 18px;
text-align:left;
padding:12px 0 16px;
}
.start #VentanaNavigationBox { justify-content:center; text-align:center; }
.VentanaNavigationBox2 { height:auto; }
.VentanaNavigationFont { font-size:19px; line-height:36px; display:inline-block; }
/* the language link closes the menu, at the right end of its last line */
#VentanaNavigationReplace { padding-top:0; margin-left:auto; }
.start #VentanaNavigationReplace { width:100%; margin-left:0; padding-top:6px; }
#VentanaHeadFont { display:block; padding-left:0; line-height:2; }
.VentanaSubNavi { left:0; bottom:0; margin:0 4px 6px 0; padding:9px 12px 10px; }
#VentanaContent, .gallerypage #VentanaContent { padding:16px 0 0; position:static; }
#VentanaContent img { max-width:100%; height:auto !important; }
/* phones: three small pictures side by side */
.gallery { padding:0 6px 14px; }
.gallery img { max-width:92px; max-height:110px; }
#VentanaContent table { max-width:100%; }
#VentanaContent td { width:auto !important; }
#introP { width:auto; left:0; margin-left:0; padding:0 16px; }
#introP img { max-width:100%; }
}
