button.primary {
  /* Can't use "text-align: start" due to IE. */
  text-align: left;
}
html[dir="RTL"] button.primary {
  text-align: right;
}

#blockly {
  position: fixed;
  bottom: 10px;
}
#display {
  border: 1px solid #ccc;
}
#downloadImageLink {
  display: none;
}
#sampleHelp3, #sampleHelp4 {
  height: 50px;
  width: 250px;
}

/* Slider. */
.sliderTrack {
  stroke: #aaa;
  stroke-width: 6px;
  stroke-linecap: round;
}
.sliderKnob {
  fill: #ddd;
  stroke: #bbc;
  stroke-width: 1px;
  stroke-linejoin: round;
}
.sliderKnob:hover {
  fill: #eee;
}

#svgsvgFronta {
  overflow: hidden;
  direction: ltr;
}

#headerLink {
  width:505px;
}
/*　問題文BOX　*/
#headerTextDiv {
  padding: 0.3em;
  color: #000; /* 文字色 */
  background-color: #FFF; /* 背景色 */
  /* border: 2px solid #198cca; */
  border: 2px solid #23b7fd; /*線の太さ・色*/
  
  box-shadow: -2px 2px 2px #e8d3c7; /*影*/
  border-radius: 20px; /*角の丸み*/
  margin-left:20px;

  /*
  margin: 2em auto; 
  border-radius: 3em .8em 3em .7em/.9em 2em .8em 3em; 
  */
}
#dialogDone, #dialogNG{
  text-align: center;
  padding: 10px;
}
#dialogImg, #dialogNGImg{
  text-align: center;
}

.topright{
  float: right;
  text-align: right; 
  font-size:small;
  position: relative;
  top : 10px
}

.turtle_canvas-wrap{
  width: 495px;
  height: 495px;
  max-width: 100%;
  position: relative;
  padding: 0;
  margin-left: 10px;
  box-sizing: content-box;
}
.turtle_canvas_warp:before{
  content:"";
  display: block;
  padding-top: 50%;
}
.turtle_canvas{
  position: absolute;
  left:0;
  top:0;
  border: 0;
  max-width:100%;
  box-sizing: content-box;
  padding: 0;
  margin: 0;
}
.turtle_opt{
  margin-left: 0.2em;
  box-sizing: content-box;
}

button.hint {
  border: 1px solid #666;
  background-color: #666;
  color: #fff;
}


h1{
  font-size:110% !important;
}
h1.topbtn{
  margin: 0.25em;
}

.dropdowndiv {
  overflow: hidden;
  width: 90%;
  margin: auto;
  text-align: center;
  position: relative;
  border-radius: 2px;
  border: 2px solid skyblue;
  border-radius: 5px;
  background: #ffffff;
  margin-bottom:5px;
}
.dropdowndiv select {
  width: 100%;
  padding-right: 1em;
  cursor: pointer;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  border: none;
  outline: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 8px 38px 8px 8px;
  color: black;
}
.dropdowndiv select::-ms-expand {
    display: none;
}

.dropdowndiv::before {
  position: absolute;
  top: 0.8em;
  right: 0.8em;
  width: 0;
  height: 0;
  padding: 0;
  content: '';
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #23b7fd;
  pointer-events: none;
}