
@font-face {
  font-family: "Noto Serif";
  src: local(Noto Serif Bold),
  local(NotoSerif-Bold),
  url("ThirdParty/Noto_Serif_4-3-14/NotoSerif-Bold.ttf");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Noto Serif";
  src: local(Noto Serif Bold Italic),
  local(NotoSerif-BoldItalic),
  url("ThirdParty/Noto_Serif_4-3-14/NotoSerif-BoldItalic.ttf");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Noto Serif";
  src: local(Noto Serif Italic),
  local(NotoSerif-Italic),
  url("ThirdParty/Noto_Serif_4-3-14/NotoSerif-Italic.ttf");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Noto Serif";
  src: local(Noto Serif Regular),
  local(NotoSerif-Regular),
  url("ThirdParty/Noto_Serif_4-3-14/NotoSerif-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  font-family: "Noto Serif", serif;
  
  background-color: white;
  
  margin: 0;
  border: 0;
  padding: 0;
  
  width: 100%;
  height: 100%; 
}

.XanaDivOverDoc:focus, .XanaDivOverDoc:active {
  outline: none;
}

#XanaEnclosingDiv {
  position: absolute;
  
  width: 100%;
  height: 100%;
  
  overflow: hidden;
}

#XanaUnderDiv {
  position: absolute;
  z-index: 1;
  
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  
  overflow-x: scroll;
  overflow-y: hidden;
}

#XanaCanvas {
  position: absolute;
  z-index: 2;
  
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

#XanaOverDiv {
  position: absolute;
  z-index: 3;
  
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  
  overflow-x: scroll;
  overflow-y: hidden;
}

.XanaDivOverDoc {
  position: absolute;
  
  border: 2px solid transparent;
  
  top: 6em;
  width: 40%;
  height: calc(100% - 6em); /* adjusting for the height taken by .XanaDivOverHeader and .XanaDivOverSubHeader */
  
  overflow-x: hidden;
  overflow-y: scroll;
  
  display: inline-block;
}

.XanaDivOverHeader {
  position: absolute;
  z-index: 1;
  
  border: 2px solid black;
  
  width: 40%;
  height: 2em;
  
  background-color: white;
  
  overflow: hidden;
}

.XanaDivOverSubHeader {
  position: absolute;
  z-index: 1;
  
  border: 2px solid black;
  
  top: 2em;
  width: 40%;
  height: 4em;
  
  background-color: white;
  
  overflow: hidden;
}

.XanaDivOverDocTextDiv {
  padding: 5px 10px;
}

.XanaDivOverDocHeaderTextDiv {
  padding: 3px 10px;
  overflow: hidden;
}

.XanaDivOverDocSubHeaderTextDiv {
  padding: 3px 10px;
  overflow: hidden;
}

.XanaDivUnderDoc {
  position: absolute;
  
  border: 2px solid black;
  padding: 6em 0 0 0; /* adjusting for the height taken by .XanaDivOverHeader and .XanaDivOverSubHeader */
  
  width: 40%;
  height: 100%;
  
  overflow-x: hidden;
  overflow-y: scroll;
  
  display: inline-block;
}
