body {
  padding: 0;
  margin: 0;
}

.mainTitle {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 5rem;
  margin-bottom: 2rem;
  background: linear-gradient(to bottom, #e2a1a9 0%, #f9dce0 100%);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; 
}

.mainTitle img {
  height: 100%;
}

.mainBody{
  padding-left: 1rem;
  padding-right: 1rem;
}

.st_new {
  text-transform: capitalize;
  color: blue;
} 

.st_open {
  text-transform: capitalize;
  color:orange;
}

.st_done {
  text-transform: capitalize;
  color: green;
}

#segmentation-container, #spectrogram {
  width: 100%;
  background-color:#eef;
}

#toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
}

#toolbar a {
  text-decoration: none;
  margin-right: 2rem;
}

#toolbar button {
  width: 3rem;
  height: 2rem;
}

button box-icon {
  display: inline;
}

.modeGroup {
  display: inline;
  margin-left: auto;
}

.side-container {
  display: flex;
  flex-direction: row;
  padding: 1rem;
}

#text-container .name {
  font-size: 0.5rem;
  font-weight: bold;
  margin-left: 3rem;

}

.side-container .label {
  writing-mode:vertical-rl;
  text-align: center;
  font-size: 0.5rem;
  color: #aaa;
  font-weight: bold;
  padding: 0.25em;
}

.trans-container {
  box-shadow: inset 0px 0px 10px rgba(0,0,0,0.9);
}

span {
  cursor: default;
}

span:hover {
  color: #aaa;
}

.hilight {
  font-weight: bold;
  cursor: pointer;
}

.hilight:not([data-parlink]) {
  border: 1px dashed #aaa;
}

.hilight[data-selection="H"] {
  color:red;
}
.hilight[data-selection="HI"] {
  color:red;
  text-decoration: line-through;
}
.hilight[data-selection="C"] {
  color:green;
}
.hilight[data-selection="NHI"] {
  text-decoration: line-through;
}
.hilight[data-selection="K"] {
  color:blue;
}
.hilight[data-selection="NK"] {
}
.hilight[data-selection="KC"] {
  color:blue;
}
.hilight[data-selection="NKC"] {
  color:green;
}
.hilight[data-selection="IC"] {
  text-decoration: line-through;
}

#text-container {
  display: flex;
  flex-direction: column;
  /*flex-direction: row;*/
  position: relative;
  padding: 0;
  width: 100%;
}

#svg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -10;
}

#transcript, #translation {
  display: flex;
  flex-direction: row;
  /*flex-direction: column;*/
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 1rem;
}

#transcript {
  margin-bottom: 3rem;
}

.table-text {
   max-width: 40vw;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}

#seltypeMenu {
  z-index: 1000;
  position:absolute;
  visibility: hidden;
  background-color: white;
  border: 1px solid #aaa;
}

#seltypeMenu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-bottom: 0.5rem;
}
#seltypeMenu li {
  cursor: pointer;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 0.25rem;
}
#seltypeMenu li:hover {
  background-color: #eee;
}

#seltypeMenu span {
  border: 0;
}

#seltypeMenu .hidden {
  display: none;
}

#no-trans {
	background-color: red;
	color: white;
	font-weight: bold;
	font-size: 0.5rem;
	padding: 0.5rem;
	border-radius: 5px;
	width: fit-content;
	margin-left: auto;
	margin-right: 1rem;
	margin-top: 1rem;
  cursor: pointer;
}
