

body {
  background-color: #283455;
}





.blocklyText {
  font-family: inherit !important;
  font-size: 11pt !important;
}

/* To hide the default blockly apps title */

.leftgame {
  float: left;
  width: 418px;
}

@media (min-width: 750px) {

  .rightgame {
      margin-top: 12px;
      margin-left: 430px;
      margin-right: 12px;
  }

  .hookmobile {
    display:none;
  }

}

@media (max-width: 750px) {

  .leftgame {
    float: left;
    width: 418px;
  }

  .rightgame {
    margin-top: 6px;
    float: left;
    margin-right: 6px;
    margin-left: 6px;
  }
}

#message_center {
  min-height: 120px;
}

#status_table {
  height: 45px;
}

#blockly {
  height: 500px;
}

/* To hide the default blockly apps title */
#title {
  display: none;
}


#header {
  padding: 3px;
  background-color: rgb(108,216,208);
  text-align: center;
}

#levels>div {
  background-color: rgb(108,216,208);
  display: inline-block;
  border-radius: 2px;
  padding: 3px 0px;
  margin-left: 2px;
  margin-right: 2px;
  height: 30px;
  vertical-align: middle;
  line-height: 28px;
  color: white;
}

.levels_caption {
  /*display: none;*/
}

.levels {
  display: inline-block;
}

.level_number {
  border: none;
  border-radius: 24px;
  width: 24px;
  height: 24px;
  padding: 0px;
  color: black;
  font-size: 14px;
  line-height: 24px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.level_training{

}

.level_done {
  color: #8C2F15;
  background-color: rgba(140, 47, 21, 0.129);
}

.level_current {
  background-color: #8C2F15;
  color: white;
}

.level_contest2 {
  background-color: gold;
  border-radius: 0px;

  shape-outside: polygon(
      50% 0%, 61% 35%, 98% 35%, 68% 57%,
      79% 91%, 50% 70%, 21% 91%, 32% 57%,
      2% 35%, 39% 35%);

  clip-path: polygon(
      50% 0%, 61% 35%, 98% 35%, 68% 57%,
      79% 91%, 50% 70%, 21% 91%, 32% 57%,
      2% 35%, 39% 35%);
}

.level_dot:hover, .level_number:hover {
  background-color: #8C2F15;
  color: white
}

.level_contest:hover {
  background-color: #ddd; 
  color: white;
}

.farSide2 {
  display: none;
}


#message_center {
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow-y: scroll;
  font-size: 11pt;
}

#status_table {
  color: white;
  margin-top: 10px;
}

#status_body {
  /*display: table-row-group;*/
}

#status_header {
  /*display: table-row;*/
}

#status_header>div {
}

#header_toolbox {
  width: 260px;
  display: inline-block;
}

#header_workspace {
  /*width: 200px;*/
  display: inline-block;
}

#blockly {
  bottom: 10px;
}

.blocklyUnused {
  opacity: 0.5;
}

#visualization {
  margin: 10px 17px;
  clear: left;
  overflow: visible;
}

#capacityBubble {
  position: relative;
  margin-top: 10px;
  left: 10px;
  width: 380px;
}

#inventory {
  position: relative;
  left: 10px;
  width: 150px;
}

#bottom_area {
    margin-top: 90px;
    margin-left: 20px;
}
html[dir="RTL"] #capacityBubble {
  left: auto;
  right: 10px;
}

#capacity {
  /*display: none;*/
  color: #fff;
  padding: 5px 1em;
  border-radius: 15px;
  background-color: rgba(64,64,64,0.7);
  font-size: large;
}

.capacityNumber {
  font-weight: bold;
}

#help_message_icon {
  float: left;
}

#help_message_table {
  margin-left: 100px;
}

#sampleOneTopBlock {
  height: 80px;
  width: 250px;
}

#pegSpin {
  height: 50px;
  width: 49px;
  background-position: -384px 0px;
  background-size: cover;
  margin-top: 10px;
  position: absolute;
}

#pegSpin2 {
  height: 50px;
  width: 49px;
  background-position: -384px 0px;
  background-size: cover;
  margin-top: 10px;
  position: absolute;
}

html[dir="RTL"] #pegSpin {
  background-position: -441px 0px;
}

.helpMenuFake {
  border-radius: 4px;
  background-color: #bfcdde;
  color: #000;
  padding: 0 1ex;
  cursor: default;
}

img[src$="help_up.png"] {
  margin: -20px 10px 0;
  height: 64px;
  width: 23px;
}

img[src$="help_down.png"] {
  margin: 0 10px -20px;
  height: 64px;
  width: 23px;
}

#svgMaze {
  overflow: hidden;
}

/* 'Look' icon */
#look>path {
  display: none;
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-opacity: 0.8;
  stroke: white;
}

/* Buttons */
button.primary {
  /* Can't use "text-align: start" due to IE. */
  text-align: left;
  border: 1px solid #48B579;
  background-color: #48B579;
  color: #fff;
}

#dialogSplash {
  text-align: center;
}

#dialog {
  max-height: 80%;
  max-width: 80%;
  left: 10%;
  top: 6em;
}

#dialogSplashImageDiv {
  height: 600px;
}

@media (max-height: 800px) {

  #dialogSplashImageDiv {
    height: 400px;
  }
}



#dialogSplashImageDiv img {
  max-width: 100%;
  max-height: 100%;
}

#dialogSplashButtons {
  position: relative;
  width: 100%;
  margin: auto;
  bottom: 60px;
/*  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: #555;
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;*/
}

html[dir="RTL"] button.primary {
  text-align: right;
}

/* Sprited icons. */
.icon21 {
  height: 21px;
  width: 21px;
  background-image: url(icons.png);
}

.link {
  background-position: 0px 0px;
}

.run {
  background-position: 0px -21px;
}

.stop {
  background-position: -21px -21px;
}

#pegmanButton {
  padding: 0;
  position: relative;
}

#pegmanButton:active {
  border: 1px solid #ddd !important;
}

#pegmanButton>img {
  margin-left: -0.5ex;
  margin-right: 0.5ex;
  height: 38px;
  width: 49px;
  background-position: -980px 0px;
  opacity: 0.8;
}

html[dir="RTL"] #pegmanButton>img {
  margin-left: 0.5ex;
  margin-right: -0.5ex;
}

#pegmanButton>span {
  position: absolute;
  top: 0.8ex;
  margin-left: -15px;
}
html[dir="RTL"] #pegmanButton>span {
  margin-right: -15px;
}

#pegmanMenu {
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 2px 2px 5px #888;
  display: none;
  position: absolute;
}

#pegmanMenu>div {
  background-color: #fff;
}

#pegmanMenu>div:hover {
  background-color: #57e;
}

#pegmanMenu>div>img {
  height: 38px;
  width: 49px;
  background-position: -980px 0px;
}
