.right {
  float: right;
}

.left {
  float: left;
}


.TG001 {
  display:none;
}

.TG002 {
  display:none;
}

.TG003 {
  display:none;
}

#intro {
  display: block;
}

.page {
  display: none;
}

.page h1 {
  text-align: center;
}

#next {
}


#rightBox {
  float: right;
  margin-right: -20px;
  width: 200px;
}

.sideBox {
  clear: both;
  font-size: 120%;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 7px;
  text-align: center;
}

.footBox {
  float: left;
  font-size: 120%;
  font-weight: bold;
  margin-right: 10px;
  padding: 7px;
  text-align: center;
  width: 150px;
}

#CIR {
  display: none;
  background-color:#FFaa55;
  border:4px solid #FFaa55;
  cursor: pointer;
}

#CIR_popup {
  display: none;
  background-color: #ffaa55;
  font-weight: bold;
  padding: 7px 10px;
  position: fixed;
  right: 30%;
  top: 350px;
}

.closeCIR {
  border: 1px solid #000000;
  cursor: pointer;
  margin-left: 5px;
  padding: 1px 5px;
}

#submit_answer {
  float: right;  
}

#CIR_answer_wrapper {
  margin-top: 20px;
  display: none;
}

#submit_answer {
  display: none;
}

#confidence_slider {
  width: 200px; 
  display: inline;
  margin: 0px 15px 0 15px;
}

#scoreBox {
  display: none;
  background-color:#00dd55;
  border:4px solid #00dd55;
}

#timer {
  display: none;
  background-color:#FF5555;
  border:4px solid #FF5555;
}



#hamie {
  float: right;
  display: none;
}

.bubble {
  border: solid 3px #3333FF;
  border-radius: 15px;
  padding: 10px;
  background-color: #FFFFFF;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
  margin-top: 10px;
  max-width: calc(100% - 145px);
}

.bubble-point-down {
  border-right: 15px solid transparent;
  border-top: 19px solid #3333ff;
  bottom: 0;
  position: relative;
  right: 32px;
  width: 10px;
  display:none;
}

.bubble-point-right {
  border-bottom: 19px solid #3333ff;
  border-right: 15px solid transparent;
  display: none;
  float: right;
  position: relative;
  right: 0;
  top: 25px;
  width: 10px;
  display:none;
}

.hamie_bubble {
  display:none;
  float:right;

}

#hamie_img {
  background-image: url("/attachment/robo1.png");
  float: right;
  height: 125px;
  width: 90px;
  position: relative;
}

.hamie_nav {
  background-color: #0000ff;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
  position: absolute;
  text-align: center;
  top: 84px;
  width: 20px;

  user-select: none;
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* IE/Edge */
  -webkit-touch-callout: none; /* iOS Safari */
}

#hamie_prev {
  left:27px;
}

#hamie_next {
  left:52px;
}


.long_text {
  max-height: 500px;
  overflow-x: hidden;
  overflow-y: auto;
}

.figure {
  margin: 15px;
/*  text-align: center;  */
  padding-left:60px;
}

.abs_figure {
  position:relative;
}

.abs_figure div {
  position:absolute;
}

.node {
  border: 3px solid #000000;
  border-radius: 50px;
  height: 100px;
  margin-top: -40px;
  width: 100px;
}

.line {
  border-bottom: 3px solid #000000;
  text-align:center;
  line-height:3em;
}

.hasAboveGuide {
  display: inline-block;
}

.aboveGuide {
  height: 46px;
  background-color: #f5f5f5;
  text-align: center;
  position: relative;
  margin-left: -20px;
  margin-right: -20px;
}

.aboveGuide:after {
    content:"";
    position: absolute;
    top: 17px;
    bottom: 0;
    left: 50%;
    border-left: 1px solid #000000;
}

.hasBelowGuide {
  display: inline-block;
  vertical-align: text-top;
}

.belowGuide {
  background-color: #f5f5f5;
  margin-left: -20px;
  margin-right: -20px;
  padding-top: 30px;
  position: relative;
  text-align: center;
  vertical-align: bottom;
}

.belowGuide:before {
  border-left: 1px solid #000000;
  bottom: 17px;
  content: "";
  left: 50%;
  position: absolute;
  top: 0;
}


.entity {
  background-color: #FFFF00;
}

.attribute {
  background-color: #FFFF00;
}

.relation {
  background-color: #00FFFF;
}

.urgent {
  font-size:120%;
  font-style:italic;
  font-weight:bold;
  color:#FF3333;
}

.urgent2 {
  color:#FF3333;
  font-weight:bold;
}

.numeric {
  background:lime;
}
.information {
  background:lime;
}
.event {
  background:aqua;
}
.person {
  background:yellow;
}
.organization {
  background:fuchsia;
}
.location {
  background:lightgrey;
}
.time {
  background:lime;
}
/*.critical {
  background:red;
}*/

#scroll_blink {
  display:none;
  background-color: #ff5555;
  height: 100%;
  position: absolute;
  width: 10px;
  right: 0px;
}

.main_story {
  display: none;
  max-height: 400px;
  overflow: auto;
}

.dont_annotate span {
  background-color: transparent !important;
}

.tool_button {
  display:none;
  background-color: #FF00FF;
  color: #000000;
}

#annotation_key {
  display: none;
}

#relation_table_tool {
  display: none;
  width:100%;
}

#relation_table {
  width:100%;
  min-height:100px;
  background-color: rgb(233,237,244);
}

#relation_table select {
  background-color: rgb(233,237,244);
  text-align: center;
}

#relation_table option {
  text-align: center;
}
  
#relation_table td,th {
  text-align: center;  
  border:2px solid #000000;
}

#relation_table thead {
  background-color: rgb(79,129,198);
  color: #FFFFFF;
}

#relation_table tbody tr:nth-child(odd) {
  background-color: rgb(208,216,232);
}

#relation_table tbody tr:nth-child(odd) select {
  background-color: rgb(208,216,232);
}  

#newRelation {
  background-color: #6ec36e;
  border-radius: 5px;
  margin: 3px auto;
  text-align: center;
  width: 200px;
  padding: 3px;  
}

#link_diagram_tool {
  display: none;
  width:100%;
  height:500px; /* must be a constant height, or else babylonCanvas ends up being 0px */
  background-color: #FFFF00;
}

#babgraphCanvas {
  width: 100%;
  height: 100%;
  touch-action: none;
}

.showEntity:hover {
  color: #0e78bc; 
  outline: none;
}

.showEntity:focus {
  color: #0e78bc; 
  outline: none;
}

.survey_slider {
  width:573px;
  padding-left: 1px;
  padding-right: 1px;
}

.survey_slider_axis {
  padding-left:3px;
  width:630px;
}

.survey_tick {
  width:85px;
  display: inline-block;
  text-align: center;
}