span.span-word-anaysis {
    visibility: hidden;
    position: absolute;
}

li.li-annotation, ul.ul-annotation {
    visibility: hidden;
    position: absolute;
}

.hidden {
    visibility: hidden;
    position: absolute;
}

html, body {
    height: 100%;
    width: 100%;    
    overflow: hidden;
    font-family: Helvetica, Verdana, Arial, Sans-serif;
    font-size: 100%;
}

div, body, html {
    margin: 0;
    padding: 0;
}

* {
  box-sizing: border-box;
}

ul {
    padding-top: 0px;
    padding-bottom: 0px;
}

h2 {
    padding: 0px 0px;
    margin: 5px 0px;
}

h3 {
    padding: 0px;
    margin: 5px 0px;
    margin-left: 20px;
}

h4 {
    padding: 0px;
    margin: 5px 0px;
    margin-left: 30px;
}

p {
    padding: 0px;
    text-align: left;
            -ms-hyphens: auto;
              -moz-hyphens: auto;
              -webkit-hyphens: auto;
    hyphens: auto;
}

.p-right {
    text-align: right;
}

.div-info, .div-user {
    max-width: 68ch;
    margin: 0 auto;
    margin-top: 10px;
}

.div-layout {
    width: 100%;
    height: 100%;
    display: flex;
    min-height: 0;
    flex-direction: column;
}

.div-connect {
    position: absolute;
    right: 0px;
    bottom: 0px;
    padding: 5px;
    /* Rotation */
  transform: rotate(-0deg);
  transform-origin:  right bottom;

  /* Fallback for older IE (doesn't work in IE8 and lower) */
  -ms-transform: rotate(-0deg);
  -ms-transform-origin: right bottom;

  /* Safari <9, Android 4.4+ */
  -webkit-transform: rotate(-0deg);
  -webkit-transform-origin: right bottom;
}

.div-header {
    background-color: #eee;
    padding-bottom: 5px;
    position: relative;
}

.div-banner {
    height: 50px;
    background-image: url(../img/logo-2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; 
    margin: 10px;
}

.div-disclaimer {
    width: 100%;
    text-align: center;
}

.div-menu {
    height: 25px;
    background-color: #800080;
    padding: 4px;
    text-align: center;
}

.div-user {
    width: 100%;
}

.ul-menu {
    flex: 1;
    display: flex;
    flex-direction: row;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.li-menu-item {
    color: white;
    font-weight: bold;
    flex: 1;
}

.li-menu-item > a, .li-menu-item > a:visited {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

a {
    display: inline;
    color: #0056a4ff;
}

a:visited {
    color: #800080;
}

.a-external::after {
    background: url('../img/external-link-alt-blue.svg') 0 0 no-repeat;
    content: " ";
    display: inline-block;
    vertical-align: middle;
    background-size: contain;
    height: 12px;
    width: 12px;
    padding-bottom: 3px;
}

.div-body {
    margin: 10px;
    min-height: 0;
    display: flex;
    flex: 1;
    flex-direction: row;
    overflow-y: auto;
}

.div-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
} 


.div-corpus-pane {
    padding: 0px 10px;
    flex-basis: content;
    padding: 0px 10px;
    overflow-y: auto;
}

.ul-corpus-list li {
    display: inline;
}

.div-corpus-list {
    padding: 0px 0px;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.ul-corpus-list {
    list-style-type: "bullet";
    padding: 0px 30px;
    overflow-y: auto;
}

.div-edition {
    padding: 0px 0px;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    max-width: 100ch;
    margin: 0 auto;
    margin-top: 10px;
}

.div-edition-wrapper {
    padding: 0px 0px;
    display: flex;
    flex: 1;
    flex-direction: row;
    min-height: 0;
}

.div-main {
    padding: 0px 0px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.div-para {
    padding: 0px 20px;
    display: flex;
    flex: 0;
    flex-direction: column;
    min-height: 0;
}

.div-text {
    flex: 1;
    padding: 0px;
    padding-right: 20px;
    overflow-y: auto;
}

.div-metadata {
    flex: 1;
    overflow-y: auto;
}

.ul-metadata {
    border: solid darkgray 1px;
    border-radius: 20px;
    margin: 5px;
    padding: 10px;
    padding-left: 20px;
    text-indent: -10px;
    list-style: none;
    margin: 0;
    background: #eee;
}

.div-concordance-panel {
    height: 100%;
    width:  100%; 
    display: flex;
    flex-direction: column;
    border: solid red 1px;
}

.div-cell-menu, .div-word-menu {
    border: 1px solid darkgray;
    padding: 2px;
    padding-left: 4px;
    background-color: #eee;
    border-radius: 10px;
}

.div-cell-menu > button, .div-word-menu > button, img {
    vertical-align: middle;
}

.div-concordance-download {
    position: absolute;
    right: -46px;
    top: 50%;
    background-color: lightgray;
    border: solid 1px gray;
    border-radius: 32px;
    width: 96px;
}

.button-cell-menu, .button-word-menu, #concordance_download_button {
    border: None;
    background-color: transparent;
    border-radius: 10px;
}

#concordance_download_button {
    padding: 10px;
    border-radius: 32px;
}

.button-cell-menu:hover, .button-word-menu:hover, #concordance_download_button:hover {
    background-color: white;
}

.button-cell-menu:active, .button-word-menu:active {
    background-color: gray;
}

#cell-audio-player {
    display: None;
}

.form-cqp-search {
    width: 100%;
    display: flex;
    flex: 0;
}

.div-cqp-textarea {
    flex: 1;
   }

.div-cqp-search {
    padding: 0 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.div-cqp-statistics {
    padding: 5px;
    display: inline-block;
}

.div-cqp-options {
    padding: 5px;
    display: inline-block;
}

.div-cqp-results {
    flex: 1;
    padding: 0px 10px;
    overflow-y: auto;
    overflow-x: auto;
}

.div-user-admin-table {
    height: 500px;
}

.div-footer {
    background-color: #eee;
    margin: 0px;
    padding: 5px;
    padding-top: 5px;
}

audio {
    border-radius: 20px;
}

.bordered {
    background-color: #eee;
    padding: 20px 20px;
    margin: 5px;
    border-radius: 20px;
    border: solid 1px darkgray;
}

.div-maintenance-warning {
    position: absolute;
    bottom: 5px;
    left: 10px;
    padding:5px;
    background-color: gold;
    border: 1px solid #800080;
    border-radius: 20px;
    color: #800080;
}

.warning, .attention { 
    padding: 10px;
    margin: 5px 150px;
    text-align: center;
    color: #800080;
    font-weight: bold;
    border: 1px solid #800080;
    border-radius: 20px;
}

.popup {
    position: absolute;
    vertical-align: middle;
    flex: 1;
    background-color: gold;
    top: 10%;
    left: 50%;
    width: 800px;
    margin: 0px;
    margin-left: -400px; 
    z-index: 99;
}

.focus {
    font-weight: bold;
    background-color: #800080;
    color: #eee;
}

.focus-rect {
    position: absolute;
    border: 2px dotted #800080;
    pointer-events: none;
    z-index: 10;
}

.reading {
    color: #800080;
    text-decoration: underline;
    background-color: #eee;
}

.word-mouseover {
    text-decoration: underline;
}
