/* Style for program 1402. */

/* Clean launcher related elements. */
#app-frame-tabs { display: none; }
#app-frame { border: none; }

.hidden { display: none !important; }

img { max-width: 100%; }

input {
  padding: 4px;
  border: 1px solid #333;
  border-radius: 4px;
}

select {
  height: 32px;
  padding: 4px;
  border: 1px solid #333;
  border-radius: 4px;
}

.node-root {
  position: relative;
  width: 80%;
  min-height: 40px;
  margin: 10px auto;
  padding: 5px;
  border-radius: 4px;
  transition-duration: 0.2s;
}

.node-controls {
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.node-open {
  color: white;
  height: 40px;
  font-size: 40px;
  line-height: 35px;  
  text-align: center;
  cursor: pointer;
}

.node-title {
  font-size: 20px;
  font-weight: bold;
  padding: 5px 0;
  text-align: center;
  border-bottom: 1px solid #a3a3a3;
}

.node-message { min-height: 30px; }

.node-answers {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 5px 0;
  border-top: 1px solid #a3a3a3;
}

.node-answer-button {
  display: inline-block;
  color: white;  
  text-align: center;
  margin: 2px;
  padding: 2px 4px;  
  border-radius: 2px;
  cursor: pointer;
  transition-duration: 0.2s;
}

.node-answer-button:hover {
  color: black;
  background-color: white;  
}

.node-answer-select {
  display: block;
  width: 100%;
}

.node-control-button {
  display: inline-block;
  color: white;
  font-weight: bold;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 21px;
  border-radius: 50%;
  cursor: pointer;
  transition-duration: 0.3s;
}

.node-minimize-button {
  position: absolute;  
  font-size: 24px;  
  top: 6px;
  right: -30px;  
}

.node-index {
  display: none;
  position: absolute;
  font-size: 32px;
  top: 0px;
  left: -50px;
  line-height: 40px;  
  text-align: center;
  padding-right: 6px;
}

#debug { margin-top: 2em; }

@media screen and (min-width: 600px) {
  .node-answer-button { padding: 6px 16px; }  
  .node-index { display: block; }
  .node-minimize-button { right: 15px; }
  .node-root { width: 60% }
}