#exercise{      
  clear:both;  
  max-width: 800px; 
  margin: 0px auto;       
  min-height:600px;
  text-align: center;        
  background-color: transparent;
  border:0px;

  touch-action: manipulation;
}

#exercise h2{  
  margin:0px;
}
#exercise h3{  
  margin:0px;
  margin-top:20px;
  font-size: 22px;  
}

#exercise p{  
  margin:0px;
}

#exercise .message {
  margin: 10px 0;
}

.message .title {
  font-weight: 500;
}
.message .detail {
  font-size: .9em;
}

.message.running {
  border: 1px solid var(--gray);
}
.message.running > div:first-of-type {
  background-color: var(--gray);
}
.message.running img {
  animation: 3s linear infinite turn;
}
@keyframes turn {
  0% { transform: rotate(0); }
  100% { transform: rotate(1turn); }
}

#exercise #editorCode{
  display: inline-block;  
  text-align: left;  
}

#exercise #editorTestCode{
  display: inline-block;  
  text-align: left;
}

.CodeMirror{
  border-top: 0px solid black; 
  border-bottom: 0px solid black;
  text-align: left;
  font-size: 18px;
  line-height: 1.3em;
  height: 200px;
  border: 1px solid #e8eced;
}

#editorTestCodeWrapper .CodeMirror{
  height: 100px;
}

#exercise #output,#exercise #output2{
  display: inline-block;  
  width: 330px;
  font-size: 18px;
  line-height: 1.3em;  
  background-color: gray;
  color:white;
  text-align: left;
  padding:7px 20px;
  margin-top:10px;
  overflow: auto;
  max-height: 800px;
  min-height: 150px;
}

#exercise #output.wrong{
  background-color: #e64f43;
}

#exercise #output.correct{
  background-color: #35cc73;
}

#exercise .tlacitko-control{
  display: inline-block;
  margin: 5px;  
  margin-top: 0px;
  font-size: 18px;    
  width: 150px;      
  text-align:center;  
  border-radius:2px;  
  line-height: 50px;  
  cursor: pointer;

  background-color: #e0e0e2;
  color: #7f8c8d;
}

#exercise .tlacitko-control:hover{ 
  color:white; 
  background-color:#2ecc71; 
}

#exercise .tlacitko-control.disabled{ 
  color:white;
  background-color:#e6e8ea;  
}

#exercise #rules{  
  display: inline-block;
  max-width: 600px;
  background-color: white;
  border:1px solid #2980b9;
  border-radius: 3px;
  padding:15px;  
  margin-bottom: 15px;
}

#exercise .rule{  
  display: none;  
  background-color: white;
  border:1px solid #2980b9;
  border-radius: 3px;
  padding:15px;  
  margin-bottom: 15px;
  text-align: left;
}

#backOverview{
  text-decoration:none;
}
.some-class{
  background-color: #ffeff0;
}

#exercise  #next{
  display: block;    
}
#exercise #instructions{  
  font-weight: 400;
  background-color: white;  
  border-radius: 3px;
  text-align: left;
  margin: 10px 0px;
}

#exercise #instructions-content {
  margin: 15px;
}