.body.viewer { height: calc(100% - 3.125rem); background: #fff; color: #000; font-family: "Neue Haas Unica", sans-serif; } .close { position: absolute; top: 1.5rem; right: 1rem; width: 2rem; height: 2rem; background-image: url('/static/img/close-black.png'); background-color: rgba(255,255,255,1.0); background-size: 1.5rem 1.5rem; background-position: center center; background-repeat: no-repeat; cursor: pointer; } /* transcript */ .transcript { position: absolute; top: 0; right: 0; width: 30rem; max-width: 100vw; height: 100%; overflow: hidden; background: white; color: black; border-left: 1px solid #000; font-size: 16px; line-height: 1.45; transform: translateZ(0) translateX(100%); transition: transform 0.2s; } .transcript.visible { transform: translateZ(0) translateX(0); } /* general paragraph styles */ .transcript .content { overflow: scroll; width: 100%; height: 100%; padding: 1.5rem 2rem 6rem 1.5rem; position: relative; } .transcript .content > div { margin-bottom: 16px; } /* paragraph subtypes */ .transcript .header { text-align: center; padding-top: 2rem; } .transcript .header:first-of-type { padding-top: 0; } .transcript .header span { border-bottom: 1px solid; } .transcript .paragraph, .transcript .hidden { } .transcript .blockquote { padding-left: 3rem; line-height: 1.45; } /* sentences */ .transcript span { margin-right: 4px; box-shadow: 0 0 0 rgba(255,255,255,0.0); } .transcript .media span { margin-right: 0; border-bottom: 1px solid; cursor: pointer; } .transcript .paragraph .current { box-shadow: -2px -1px 0 #e8e8e8, 2px -1px 0 #e8e8e8, -2px 1px 0 #e8e8e8, 2px 1px 0 #e8e8e8; box-decoration-break: clone; background: #e8e8e8; color: #000; transition: all 0.2s; }