/*:root {font-family: 'latoregular', sans-serif;}*/

html {
  background-color: black;
  /*color: white;*/
  color: #f7efcd;
  font-size: 1em;
  --lh: 1.4;
  line-height: var(--lh);
  --button-dimension: 50px;
  --zoom-button-dimension: 35px;
  --seadragon-height: 80vh;
  /*--seadragon-height: calc(var(--seadragon-width) / 1.62);*/
  /*--seadragon-height: 70vh;*/
  --seadragon-width: min(calc(var(--seadragon-height) * 1.62), 60vw);
    /*--seadragon-width: min(calc(var(--seadragon-height) * 1.62), 60vw);*/



  --left-start-width: 30px;
  --right-panel-width: 520px;
  /*--right-panel-width: 20vw;*/

  /*--right-panel-width: minmax(0px, 520px);*/
  --heading-colour: rgba(0, 0, 0, 0.24);
  --column-navigation-button-width: 50px;
}

body {
    font-family: 'latoregular', sans-serif;
    margin-top: 0;

}

button {
  font-family: 'latoregular', sans-serif;
}

div.left-right {
  width:100%;
  height:100%;
  margin: 0;
  display: flex;
  flex-direction: row;
}

div.content-div {
  display: flex;
  flex-direction: column;
  gap: 1em;
}


div.top-section {
  display: flex;
  flex-direction: row;
  /*justify-content: center;*/
}

/*div.logo-section {*/
/*  padding-left: 4vw;*/
/*}*/

img#dfg-logo {
  width: 10vw;
  margin-left: 1em;
  justify-content: right;
}

div.title{
  flex: 0 0 70%;
  margin-left: 1em;
  margin-bottom: 1em;
  margin-top: 1em;
  /*width: calc(2 * var(--button-dimension) + var(--seadragon-width));*/
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: baseline;
  /*gap: 1em;*/

}
span.title-span {
  text-transform: uppercase;
  font-size: 1.3em;
}

span.subtitle-span {
  font-size: 1em;
}

div.row {
  display: flex;
  flex-direction: row;
  justify-content: right;
}
div.away {
  margin-top: 1vw;
  margin-right: 1vw;
  /*display: flex;*/
  /*flex-direction: column;*/
  /*justify-content: right;*/
}

.osd-button {
  text-transform: uppercase;
  border-style: solid;
  border-width: 1px;
  padding: 7px 8px;
}

button.to-vikus {
  height: fit-content;
}

.away-button {
  color: #f7efcd;
  font-size: 10px;
  background-color: black;
  /*border-style: solid;*/
  border-color: #f7efcd;
  border-radius: 10px;
  /*padding: 5px;*/
  height: fit-content;
}
div.seadragon-controls-div {
  /*width: calc(2 * var(--button-dimension) + var(--seadragon-width));*/
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

div.zoom-buttons-div {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex: 0 0 40%;
}

div.folios-div {
  display: flex;
  flex-direction: column;
  padding-left: .5em;
  padding-right: .5em;
}


div.folios-title {
  align-self: center;
  color: rgb(164, 164, 164);
}
div.folios-info {
  display: flex;
  flex-direction: row;
}

div.folio-div {
  align-items: center;
  display: flex;
  flex-direction: row;
  /*justify-content: center;*/
  flex: 0 0 9.5%;
}

div.folio-left {
  justify-content: right;
}

div.folio-right {
  justify-content: left;
}

div.dash-div {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex: 0 0 1%;
  padding-left: .2em;
  padding-right: .2em;
}

div.book-buttons-div {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex: 0 0 40%;
  font-size: clamp(12px, .6em, 18px);
  text-wrap: nowrap;

  }

.control-button {
  /*font-size: 18px;*/
  color: rgb(164, 164, 164);
    background-color: black;
  border-style: solid;
     border-color: rgb(164, 164, 164);
  border-radius: 10px;
/*font-size: clamp(14px, 1em, 18px);*/

}
.control-container {
  border-radius: 10px;
  background-color: black;
   border-color: rgb(164, 164, 164);
  border-width: 1px;
  border-style: solid;
}

button.show-all {
  /*padding: 6px 8px;*/
  width: fit-content;
    /*border-style: solid;*/


  /*margin-left: 150px;*/
}

div.goto-div {
  /*margin-right: 15%;*/
  padding: .32em 7px;
  color: rgb(164, 164, 164);
}

label.goto-page {
  color: rgb(164, 164, 164);
  /*font-size: 18px;*/
  /*color: black;*/
  margin-left: 1px;
  text-transform: uppercase;
  padding-right: .5em;
}

input.control-button {
  background-color: #f7efcd;
  color: black;
  /*font-size: 15px;*/
}

div.seadragon-row {
   /*width: 95vw;*/
  /*width: calc(2*var(--button-dimension)+ var(--seadragon-width)+ var(--right-panel-width));*/
  height: 80vh;
  display: flex;
  flex-direction: row;
  /*align-items: center;*/
  /*justify-content: center;*/
}

div.navigation-button-div {
  justify-content: center;
  display: flex;
  flex-direction: column;
}

div.seadragon {
  /*flex-grow: 1;*/
  width: var(--seadragon-width);

}
div.right-panel {
  width: var(--right-panel-width);
  /*font-size: clamp(10px, 1vmin, 20px);*/
  font-size: 15px;
  margin-left: 1em;
  background-color: #353535;
  /*border-radius: 10px;*/
}

div.metadata {
    color: #f7efcd;
  /*color: black;*/
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /*align-items: flex-start;*/
  padding: 60px;

}

div.fullwidth {
  flex: 0 0 100%;
  margin-right: 10px;
  text-align: start;
}

div.fullval {
    margin-bottom: 10px;
}


div.row {
  flex: 1 1 auto;
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;

}
div.row:last-child {
  margin-bottom: 0;
}


div.key {
  font-weight: 800;
  text-transform: uppercase;
  color: #a4a4a4;
}

div.val {
  /*color: rgb(45, 45, 45);*/
}

div.keybox {
  font-size: 13px;
  text-align: right;
  flex: 0 0 25%;
  padding-right: 10px;
  padding-top: 2px;
}

div.valuebox a {
  color: #f7efcd;
  font-style: normal;
}

a {
    color: #f7efcd;
  font-style: normal;
}

div.valuebox {
  flex: 0 0 75%;
  padding-bottom: 3px;
}

p.person {
  margin: 0;
}

span.name-span {
  /*font-weight: bold;*/
}
.indent {
  /*text-indent: hanging 1em;*/
  margin-top: 0;
  margin-bottom: 0;
}

p.reduce {
  margin-top: -8px;
}

div.snippet {
  border: 1px solid darkslategrey;
  opacity: .3;
  background-color: gray;
}

div.highlight {
  outline: 1px solid black;
  border: 1px solid white;
}

div.rotate {
  --rot-val: 0rad;
  --flip-val: 1;
  transform: rotate(var(--rot-val)) scale(1, var(--flip-val));
  transform-origin: top left;

}



img.button {
  width: var(--button-dimension);
  height: var(--button-dimension);
}

img.home {
  /*width: 50px;*/
  /*height: 50px;*/
  /*padding-right: 10px;*/
  /*padding-left: 10px;*/
  padding: 10px;
}


img.zoom-button {
  width: var(--zoom-button-dimension);
  height: var(--zoom-button-dimension);
  padding-right: 10px;
  padding-left: 10px
}

