#exercise{  
  max-width: 800px;
  touch-action: manipulation;
}

/*#exercise{  
  padding-top:20px;  
  clear:both;
  overflow: hidden;  
  max-width: 800px; 
  margin: 0px auto;       
  min-height:600px;
  text-align: center;        
  padding-bottom: 50px;
}
*/
#exercise h1,h2,h3{    
  margin:5px 0px;
}

/* PRAVIDLA */
#exercise #rules{  
  display: inline-block;
  background-color: white;  
  padding:15px;
  margin-bottom: 15px;
  border-radius: 6px;
  box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.1);
}


/* SIPKY PRO MOBILY */
#exercise #arrowTable{
  display: inline-block;
  border-spacing: 0px;
  border-collapse: separate;  
  margin:0px;
  margin-bottom: 25px;
}

#exercise #arrowTable td{
  border:0px solid red;
  padding:0px;
}

#exercise .arrow{
  display: inline-flex;    
  justify-content: center;
  align-items: center;

  font-size: 30px;
  width: 60px;
  height: 60px;  
  margin: 2px;
    
  cursor: pointer;
  color:white;   
  border-radius: 5px;      
  background-color: #3498db;  
}
#exercise .arrow:hover{
  background-color: #2980b9;
}

/* TLACITKA */
#exercise .tlacitko-control{
  display: inline-block;
  margin: 5px;  
  margin-top: 15px;
  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;  
}

#planHtml{
  display: inline-block;
  margin-bottom: 10px;
  margin-top:5px; 
}
.plan{
  position: relative;
  border:0px solid red;   
}


table.grid{  
  margin:0px;
}

table.grid td{
  border: 1px solid #dfe6e9;
  background-color: #f5f6fa;
}

table.grid td.border{  
  background-color: white;
  border:0px solid black;
}

.car{
  cursor: pointer;
  z-index: 5;
}

.carContainer{
}

.exit{  
  text-align: center;
  color:#e55043;
  font-size: 16px;
  font-weight: bold;
}
