/*This is for the new page*/

#newpage {
  display: none;
  width: 100%;
  height: calc(100% - 60px);
}

/*This below describes the style of the visualization and summary*/

#visualizingwrapper {
  width: 25%;
  height: 100%;
}

#graphwrapper {
  margin-top: 50%;
  text-align: center;
}

#graph {
  width: 94%;
  padding-left: 5%;
  padding-right: 1%;
  overflow-y: auto;
  display: block;
}

#summarywrapper {
  width: 80%;
  height: auto;
  max-height: calc(100% - 120px);
  z-index: 1;
  text-align: center;
  position: relative;
  top: 50%;
  margin-left: 7%;
  transform: translateY(-50%);
  border: 1px solid black;
  padding: 7px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.24);
  overflow: auto;
}

#summarytext {
  width: 100%;
  text-align: left;
  list-style-position: outside;
  height: calc(100% - 20px);
  margin-top: 10px;
  font-size: 12pt;
}

#summarytext ul {
  padding-left: 20px;
}

#summarytext li {
  /*Creates space between the list items*/
  margin-bottom: 10px;
}

/*This below describes the style of the text*/

/*The two id:s below hides the scrollbar, if you want to display it you can comment out textwrapper2*/

#textwrapper1 {
  width: 50%;
  height: auto;
  /*margin-bottom: 60px;*/
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

#textwrapper2 {
  position: relative;
  height: 100%;
  margin-right: -50px;
  /* maximum width of scrollbar */
  padding-right: 50px;
  /* maximum width of scrollbar */
  overflow-y: scroll;
}

/*This makes it possible to scroll the text higher up*/

#extraWhiteSpace {
  position: relative;
  width: 100%;
  height: 100px;
}

#fadeeffect {
  height: 30px;
  width: 100%;
  position: fixed;
  bottom: 0;
  background-color: white;
  box-shadow: 0px -20px 30px white, 0px -10px 15px white;
  /*Creates the fade-effect, add more shadows to create a longer fade-effect*/
  /*If box-shadow is changed you have to change it in changeColor() in settingsmenu.js*/
}

/*This below describes the style of the readrulers*/

.focusreadruler {
  position: absolute;
  z-index: 1;
  /*Places the readruler in front of the text, if the text changes the read ruler will stay in front of the text*/
  width: 100%;
  height: 100%;
  background-color: white;
}

.linereadruler {
  position: absolute;
  z-index: 1;
  top: 100px;
  width: 100%;
  height: 100px;
  background-color: black;
}

.readrulertop {
  top: calc(-100%);
  border-bottom: 1px solid #b3b3b3;
}

.readrulerbottom {
  top: 120px;
  /*Denna storlek ska egentligen bero på inställningarna*/
  border-top: 1px solid #b3b3b3;
}

/*This below describes the style of the toolbar*/

#toolbarwrapper {
  width: 25%;
  height: 100%;
}

#toolbar {
  width: 70px;
  height: auto;
  background-color: white;
  position: relative;
  top: 50%;
  left: 30%;
  transform: translateY(-50%);
}