:root, [data-bs-theme=light] {
  --bs-primary: #337ab7;
  --bs-primary-rgb: 51,122,183;
  --bs-secondary: #6c757d;
  --bs-secondary-rgb: 108,117,125;
  --bs-success: #5cb85c;
  --bs-success-rgb: 92,184,92;
  --bs-info: #5bc0de;
  --bs-info-rgb: 91,192,222;
  --bs-warning: #f0ad4e;
  --bs-warning-rgb: 240,173,78;
  --bs-danger: #d9534f;
  --bs-danger-rgb: 217,83,79;
}

.nav-pills {
  --bs-nav-pills-link-active-bg: #337ab7;
  --bs-link-color: #337ab7;
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: #337ab7;
}

.btn-primary {
  --bs-btn-bg: #337ab7;
  --bs-btn-border-color: rgb(45.4423076923, 108.7051282051, 163.0576923077);
  --bs-btn-hover-bg: rgb(98.9807692308, 159.5128205128, 211.5192307692);
  --bs-btn-hover-border-color: rgb(79.0384615385, 147.3076923077, 205.9615384615);
  --bs-btn-active-bg: rgb(34.3269230769, 82.1153846154, 123.1730769231);
  --bs-btn-active-border-color: rgb(34.3269230769, 82.1153846154, 123.1730769231);
  --bs-btn-focus-border-color: rgb(59.0961538462, 135.1025641026, 200.4038461538);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgb(59.0961538462, 135.1025641026, 200.4038461538);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: rgb(147.0769230769, 188.9487179487, 224.9230769231);
  --bs-btn-disabled-border-color: rgb(125.4923076923, 175.7384615385, 218.9076923077);
}

.btn-secondary {
  --bs-btn-bg: #6c757d;
  --bs-btn-border-color: rgb(96.1802575107, 104.19527897, 111.3197424893);
  --bs-btn-hover-bg: rgb(147.4356223176, 155.1802575107, 162.0643776824);
  --bs-btn-hover-border-color: rgb(133.7553648069, 142.4849785408, 150.2446351931);
  --bs-btn-active-bg: rgb(72.5407725322, 78.5858369099, 83.9592274678);
  --bs-btn-active-border-color: rgb(72.5407725322, 78.5858369099, 83.9592274678);
  --bs-btn-focus-border-color: rgb(120.0751072961, 129.7896995708, 138.4248927039);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgb(120.0751072961, 129.7896995708, 138.4248927039);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: rgb(180.6974248927, 186.0472103004, 190.8025751073);
  --bs-btn-disabled-border-color: rgb(165.8369098712, 172.2566523605, 177.9630901288);
}

.btn-success {
  --bs-btn-bg: #5cb85c;
  --bs-btn-border-color: rgb(76.0064102564, 174.4935897436, 76.0064102564);
  --bs-btn-hover-bg: rgb(145.2884615385, 207.2115384615, 145.2884615385);
  --bs-btn-hover-border-color: rgb(127.5256410256, 199.4743589744, 127.5256410256);
  --bs-btn-active-bg: rgb(60.5320512821, 138.9679487179, 60.5320512821);
  --bs-btn-active-border-color: rgb(60.5320512821, 138.9679487179, 60.5320512821);
  --bs-btn-focus-border-color: rgb(109.7628205128, 191.7371794872, 109.7628205128);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgb(109.7628205128, 191.7371794872, 109.7628205128);
}

.btn-info {
  --bs-btn-bg: #5bc0de;
  --bs-btn-border-color: rgb(69.7715736041, 183.845177665, 217.7284263959);
  --bs-btn-hover-bg: rgb(154.6852791878, 216.4644670051, 234.8147208122);
  --bs-btn-hover-border-color: rgb(133.4568527919, 208.3096446701, 230.5431472081);
  --bs-btn-active-bg: rgb(39.616751269, 160.8680203046, 196.883248731);
  --bs-btn-active-border-color: rgb(39.616751269, 160.8680203046, 196.883248731);
  --bs-btn-focus-border-color: rgb(112.2284263959, 200.154822335, 226.2715736041);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgb(112.2284263959, 200.154822335, 226.2715736041);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
}

.btn-warning {
  --bs-btn-bg: #f0ad4e;
  --bs-btn-border-color: rgb(238.0078125, 162.109375, 54.4921875);
  --bs-btn-hover-bg: rgb(245.9765625, 205.671875, 148.5234375);
  --bs-btn-hover-border-color: rgb(243.984375, 194.78125, 125.015625);
  --bs-btn-active-bg: rgb(222.6328125, 138.359375, 18.8671875);
  --bs-btn-active-border-color: rgb(222.6328125, 138.359375, 18.8671875);
  --bs-btn-focus-border-color: rgb(241.9921875, 183.890625, 101.5078125);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgb(241.9921875, 183.890625, 101.5078125);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
}

.btn-danger {
  --bs-btn-bg: #d9534f;
  --bs-btn-border-color: rgb(212.4719626168, 62.5046728972, 58.0280373832);
  --bs-btn-hover-bg: rgb(230.5841121495, 144.4859813084, 141.9158878505);
  --bs-btn-hover-border-color: rgb(226.0560747664, 123.9906542056, 120.9439252336);
  --bs-btn-active-bg: rgb(180.523364486, 43.0794392523, 38.976635514);
  --bs-btn-active-border-color: rgb(180.523364486, 43.0794392523, 38.976635514);
  --bs-btn-focus-border-color: rgb(221.5280373832, 103.4953271028, 99.9719626168);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgb(221.5280373832, 103.4953271028, 99.9719626168);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #eca9a7;
  --bs-btn-disabled-border-color: rgb(232.2, 151.8, 149.4);
}

.btn-outline-danger {
  --bs-btn-color: #d9534f;
  --bs-btn-border-color: #d9534f;
  --bs-btn-hover-bg: #d9534f;
  --bs-btn-hover-border-color: #d9534f;
  --bs-btn-focus-shadow-rgb: 217,83,79;
  --bs-btn-active-bg: #d9534f;
  --bs-btn-active-border-color: #d9534f;
  --bs-btn-disabled-color: #d9534f;
  --bs-btn-disabled-border-color: #d9534f;
}

.btn-outline-primary {
  --bs-btn-color: #337ab7;
  --bs-btn-border-color: #337ab7;
  --bs-btn-hover-bg: #337ab7;
  --bs-btn-hover-border-color: #337ab7;
  --bs-btn-focus-shadow-rgb: 51,122,183;
  --bs-btn-active-bg: #337ab7;
  --bs-btn-active-border-color: #337ab7;
  --bs-btn-disabled-color: #337ab7;
  --bs-btn-disabled-border-color: #337ab7;
}

.btn-outline-secondary {
  --bs-btn-color: #6c757d;
  --bs-btn-border-color: #6c757d;
  --bs-btn-hover-bg: #6c757d;
  --bs-btn-hover-border-color: #6c757d;
  --bs-btn-focus-shadow-rgb: 108,117,125;
  --bs-btn-active-bg: #6c757d;
  --bs-btn-active-border-color: #6c757d;
  --bs-btn-disabled-color: #6c757d;
  --bs-btn-disabled-border-color: #6c757d;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  background-color: #fff;
  font-family: sans-serif;
  font-family: Exo2;
  font-size: 112%;
  overflow: hidden;
}

.template {
  display: none;
}

h1 {
  font-weight: normal;
  font-size: 140%;
}

table {
  height: 100%;
  width: 100%;
}

body:not(.beta) .beta {
  display: none;
}

#main-div {
  display: flex;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  flex-direction: column;
  background-color: #ddd;
  padding: 0;
  margin: 0;
}

#main-head {
  display: flex;
  background-color: #f4ce39;
}

#main-body {
  display: flex;
  background-color: #ddd;
  height: 99%;
}

#main-foot {
  display: flex;
  background-color: #ddd;
}

body.teacher #main-head {
  background-color: #41688a;
}
body.teacher #head-div {
  background-color: #41688a;
}
body.teacher #div-teacher > div > button {
  width: 90%;
}

/* top, bottom and height */
#main-head > div {
  margin-top: 0;
}

#main-foot > div {
  margin-bottom: 0;
}

@media screen and (min-height: 1000px) {
  #main-head > div {
    margin-top: calc(1vh - 10px);
  }
  #main-foot > div {
    margin-bottom: calc(1vh - 10px);
  }
}
@media screen and (min-height: 1600px) {
  #main-head > div {
    margin-top: calc(2vh - 22px);
  }
  #main-foot > div {
    margin-bottom: calc(1vh - 10px);
  }
}
@media screen and (min-height: 2400px) {
  #main-head > div {
    margin-top: 26px;
  }
  #main-foot > div {
    margin-bottom: 14px;
  }
}
/* left, right and width */
#main-head > div,
#main-body > div,
#main-foot > div {
  width: 100%;
  margin-left: 2px;
  margin-right: 2px;
  display: flex;
}

@media screen and (min-width: 1000px) {
  #main-head > div,
  #main-body > div,
  #main-foot > div {
    margin-left: calc(1% - 8px);
    margin-right: calc(1% - 8px);
  }
}
@media screen and (min-width: 1600px) {
  #main-head > div,
  #main-body > div,
  #main-foot > div {
    margin-left: calc(2% - 20px);
    margin-right: calc(2% - 20px);
  }
}
@media screen and (min-width: 2400px) {
  #main-head > div,
  #main-body > div,
  #main-foot > div {
    margin-left: 28px;
    margin-right: 28px;
  }
}
/* Additinal items */
.img-bob {
  background-image: url("/media/world/bob3-avatar.png");
  width: 80px;
  height: 80px;
  background-size: 800%;
  margin: 10px 25px;
}

.col-form-label {
  font-weight: bold;
}

/****************************/
/*         BOOTBOX          */
.bootbox-prompt-message {
  margin-bottom: 1em;
}

.dropdown-item .far.selectable-dot::before {
  content: "\f111";
}

.dropdown-item.selected .far.selectable-dot::before {
  content: "\f192";
}

#head-left > div > div.dropdown {
  overflow: visible;
}

/* dynamic overlay: */
.wwtools-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: white;
  opacity: 0.7;
  z-index: 55;
}

.wwtools-overlay > .icon {
  position: relative;
  top: 50%;
  margin: -0.4em auto;
  text-align: center;
  font-size: 400%;
}

.pulse-button {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
  animation: pulse 3s infinite;
}

.pulse-button:hover {
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
  }
  70% {
    box-shadow: 0 0 3px 10px rgba(100, 100, 0, 0.3);
  }
  100% {
    box-shadow: 0 0 3px 0px rgba(100, 100, 0, 0);
  }
}
/* MAIN PAGE */
#blocklyArea {
  height: 99%;
}

/*
.nav-tabs.nav-tabs .nav-link {
    background-color: #ffffff44;
    border: 1px solid #f4ce39;
    border-bottom: 1px solid transparent;
}

.nav-tabs.nav-tabs .nav-item.show .nav-link, .nav-tabs.nav-tabs .nav-link.active {
    background-color: #ffffff;
    border-color: #dee2e6 #dee2e6 #ffffff;
}


.nav-tabs.nav-tabs .nav-link:focus, .nav-tabs.nav-tabs .nav-link:hover {
    background-color: #ffffffaa;
}
*/
#programs-tab {
  --bs-nav-tabs-border-color: #f4ce39;
  --bs-nav-tabs-link-active-bg: #ffffff;
}
#programs-tab > li .nav-link {
  background-color: rgba(255, 255, 255, 0.2666666667);
}
#programs-tab > li .nav-link:focus,
#programs-tab > li .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.6666666667);
}
#programs-tab .nav-item.show .nav-link,
#programs-tab .nav-link.active {
  background-color: #ffffff;
}
#programs-tab {
  border-bottom-color: #ffffff;
  position: relative;
  bottom: -2px;
  z-index: 1;
  flex-wrap: nowrap;
}
#programs-tab > li {
  margin-bottom: 0;
  margin-top: auto;
  white-space: nowrap;
}
#programs-tab > li.selected-tab > button,
#programs-tab > li > div.dropdown {
  display: none;
}
#programs-tab > li.selected-tab button.nav-link {
  border-bottom-color: var(--bs-nav-tabs-link-active-bg);
}
#programs-tab > li.selected-tab > div.dropdown {
  display: block;
}
#programs-tab > li.selected-tab > div.dropdown > button {
  font-weight: bold;
}
#programs-tab .nav-link {
  border: var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color);
}

body.teacher #programs-tab {
  --bs-nav-tabs-border-color: #3c505e;
}

.compile .hide-compile.hide-compile {
  display: none;
}

.show-compile.show-compile {
  display: none;
}

.compile .show-compile.show-compile {
  display: inline-block;
}

#head-left {
  vertical-align: top;
}

#user-control {
  width: max-content;
}

#head-left div h6 {
  margin-top: 14px;
  font-size: 16px;
}

#head-left div h6 b {
  color: #777;
}

.start-hidden {
  display: none;
}

.hide-invalid-tooltip {
  display: none;
}

#logoArea .bobblocks-logo {
  height: 2.5em;
  float: right;
  margin: 0.8em;
}

@media (min-width: 576px) {
  #logoArea .bobblocks-logo {
    height: 3em;
  }
}
@media (min-width: 768px) {
  #logoArea .bobblocks-logo {
    height: 3.5em;
  }
}
@media (min-width: 992px) {
  #logoArea .bobblocks-logo {
    height: 4em;
  }
}
@media (min-width: 1200px) {
  #logoArea .bobblocks-logo {
    height: 4.5em;
  }
}
@media (min-width: 1400px) {
  #logoArea .bobblocks-logo {
    height: 5em;
  }
}
#btn-file.disabled {
  opacity: 0.2;
}

#btn-file {
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, opacity 1s ease-in-out;
}

#btn-file.hidden {
  display: none;
}

.modal-content {
  box-shadow: 18px 18px 29px 10px rgba(0, 0, 0, 0.3333333333);
}

.btn.btn {
  font-weight: 600;
}

.accordion.showing .accordion-button.collapsed {
  background: #eee;
}

div.display-beta {
  position: fixed;
  top: 0;
  left: 6em;
  font-size: 2em;
  text-shadow: 0 0 7px white;
  font-weight: bold;
  z-index: 9999;
  margin: 1ex;
  line-height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

.btn-group-xsm > .btn, .btn-xsm {
  --bs-btn-padding-y: 0.15rem;
  --bs-btn-padding-x: 0.4rem;
  --bs-btn-font-size: 0.6rem;
  --bs-btn-border-radius: 0.15rem;
}

/* PAGE LOADER */
#page-loader {
  background-color: white;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9998;
  opacity: 0.9;
}
#page-loader > .loader-head {
  z-index: 9999;
  position: fixed;
  background-color: #ccc;
  border-color: #080808;
  border-width: 0 0 1px;
  width: 100%;
  height: 7em;
  top: 0;
  margin: 0;
}
#page-loader > .loader-cont {
  width: 100%;
  height: 100%;
}
#page-loader > .loader-foot {
  z-index: 9999;
  position: fixed;
  border-color: #080808;
  background-color: #ccc;
  border-width: 1px 0 0;
  width: 100%;
  height: 7em;
  bottom: 0;
  margin: 0;
}
#page-loader .loader-icon-div,
#page-loader .loader-icon-div:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
#page-loader .loader-icon-div {
  top: 50%;
  margin: -5em auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(155, 155, 155, 0.2);
  border-right: 1.1em solid rgba(155, 155, 155, 0.2);
  border-bottom: 1.1em solid rgba(155, 155, 155, 0.2);
  border-left: 1.1em solid rgb(155, 155, 155);
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
#page-loader .loader-info-div {
  position: relative;
  top: 50%;
  margin: 4em auto;
  text-align: center;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/* PAGE LANDSCAPE OVERLAY */
#page-landscape {
  display: none;
}
@media screen and (orientation: portrait) and (max-width: 800px) {
  #page-landscape {
    display: block;
  }
}
#page-landscape {
  background-color: white;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9998;
  opacity: 0.9;
}
#page-landscape > .loader-head {
  z-index: 9999;
  position: fixed;
  background-color: #ccc;
  border-color: #080808;
  border-width: 0 0 1px;
  width: 100%;
  height: 7rem;
  top: 0;
  margin: 0;
}
#page-landscape > .loader-cont {
  position: relative;
  width: 100%;
  height: 100%;
}
#page-landscape > .loader-foot {
  z-index: 9999;
  position: fixed;
  border-color: #080808;
  background-color: #ccc;
  border-width: 1px 0 0;
  width: 100%;
  height: 7rem;
  bottom: 0;
  margin: 0;
}
#page-landscape .loader-icon-div,
#page-landscape .loader-icon-div:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
#page-landscape .loader-icon-div {
  top: 50%;
  margin: -5em auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(155, 155, 155, 0.2);
  border-right: 1.1em solid rgba(155, 155, 155, 0.2);
  border-bottom: 1.1em solid rgba(155, 155, 155, 0.2);
  border-left: 1.1em solid rgb(155, 155, 155);
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
#page-landscape .loader-info-div {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
  font-size: 2rem;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.user-block {
  background-color: #ffb300;
  border-radius: 0.2em;
  margin-top: -0.4em;
  margin-left: 0.1em;
  position: relative;
}
.user-block .btn-outline-secondary {
  color: #fff;
  border-color: #bf8600;
}
.user-block .btn-outline-secondary:hover {
  color: #fff;
  background-color: #df9d00;
  border-color: #bf8600;
}
.user-block .btn-check:active + .btn-outline-secondary,
.user-block .btn-check:checked + .btn-outline-secondary,
.user-block .btn-outline-secondary.active,
.user-block .btn-outline-secondary.dropdown-toggle.show,
.user-block .btn-outline-secondary:active {
  color: #fff;
  background-color: #df9d00;
  border-color: #bf8600;
}
.user-block .btn-outline-secondary {
  margin: 0.3em 0.5em 0.3em 3em;
  padding: 0.15rem 0.5rem;
}
.user-block .symbol {
  position: absolute;
  color: #fff;
  top: 0.3em;
  left: 0.5em;
}

/****************************/
/*           BLOCKLY        */
.blocklyToolboxContents {
  margin-top: 3em;
}
.blocklyToolboxContents .blocklyTreeRow.blocklyTreeRow {
  border-left-width: 44px !important;
  margin: 4px 0;
  height: 42px;
}
.blocklyToolboxContents .blocklyTreeLabel.blocklyTreeLabel {
  padding-top: 8px;
  font-family: "Exo2";
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  margin: 0 8px;
}
.blocklyToolboxContents .blocklyTreeSeparator {
  border-bottom: solid #e5e5e5 2px;
  height: 0;
  margin: 13px 0;
}
.blocklyToolboxContents .blocklyToolboxCategory {
  position: relative;
}
.blocklyToolboxContents .blocklyToolboxCategory > div::before {
  color: white;
  margin-left: -35px;
  position: absolute;
  text-align: center;
  width: 1.25em;
  font-family: "Font Awesome 5 Free";
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  margin-top: 11px;
}
.blocklyToolboxContents .blocklyTreeIcon {
  width: 0;
}
.blocklyToolboxContents .blocklyTreeRowContentContainer {
  background-color: #444;
  height: 42px;
  color: #fff;
}
.blocklyToolboxContents .blocklyTreeRow.blocklyTreeSelected .blocklyTreeRowContentContainer {
  background-color: #777;
}
.blocklyToolboxContents .blocklyToolboxCategory.category-bob3 > div::before {
  content: "\f0eb";
  font-weight: 900;
}
.blocklyToolboxContents .blocklyToolboxCategory.category-sensors > div::before {
  content: "\f0d0";
  font-weight: 900;
}
.blocklyToolboxContents .blocklyToolboxCategory.category-messages > div::before {
  content: "\f0e0";
  font-weight: 900;
}
.blocklyToolboxContents .blocklyToolboxCategory.category-colours > div::before {
  content: "\f51a";
  font-weight: 900;
}
.blocklyToolboxContents .blocklyToolboxCategory.category-control > div::before {
  content: "\f277";
  font-weight: 900;
}
.blocklyToolboxContents .blocklyToolboxCategory.category-operators > div::before {
  content: "\f529";
  font-weight: 900;
}
.blocklyToolboxContents .blocklyToolboxCategory.category-variables > div::before {
  content: "\f4d8";
  font-weight: 900;
}
.blocklyToolboxContents .blocklyToolboxCategory.category-functions > div::before {
  content: "\f810";
  font-weight: 900;
}
.blocklyToolboxContents .blocklyToolboxCategory.category-debug > div::before {
  content: "\f188";
  font-weight: 900;
}

.watching-eyes .eye {
  position: relative;
  height: 45px;
  width: 45px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  border: 3px solid black;
  box-shadow: 5px 5px 5px #666;
  overflow: clip;
  z-index: 0;
}
.watching-eyes .eye .lid {
  top: -40px;
  left: 0;
  position: absolute;
  background-color: #bbb;
  height: 100%;
  width: 100%;
  z-index: 1;
  transition: all 0.1s;
}
.watching-eyes .eye .pupil {
  left: 12px;
  top: 12px;
  position: absolute;
  height: 15px;
  width: 15px;
  background-color: #000;
  border-radius: 50%;
  display: inline-block;
  z-index: 0;
  transition: all 0.1s;
}

.dialog-buildinfo .thin {
  font-weight: 200;
}
.dialog-buildinfo .modal-dialog {
  max-width: var(--nsys-popup-max-width) !important;
  margin-top: 1em;
  margin-bottom: 1em;
}
.dialog-buildinfo .modal-dialog .modal-content {
  height: var(--nsys-popup-max-height) !important;
}
.dialog-buildinfo .modal-dialog .modal-content .modal-body > div {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  padding: var(--bs-modal-header-padding);
}
.dialog-buildinfo {
  font-family: "Courier Prime";
}
.dialog-buildinfo .nav-pills {
  min-height: 20em;
}
.dialog-buildinfo .nav-pills button.nav-link {
  text-align: start;
  width: 14em;
}
.dialog-buildinfo .nav-pills button.nav-link.file {
  --bs-nav-pills-link-active-bg: #aaa;
  --bs-link-color: #888;
  --bs-nav-link-color: #888;
  --bs-nav-link-hover-color: #ccc;
}
.dialog-buildinfo .nav-pills button.nav-link > i.bi {
  margin-right: 1ex;
}
.dialog-buildinfo .tab-content {
  overflow: auto;
  flex: 10;
  position: relative;
}
.dialog-buildinfo .tab-content div.tab-pane {
  /*
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  */
  height: 100%;
}
.dialog-buildinfo .tab-content div.tab-pane div.CodeMirror {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 100%;
}
.dialog-buildinfo .tab-content div.tab-pane span.dummy-button {
  white-space: nowrap;
  border-radius: 7px;
  padding: 8px 14px 4px;
  background-color: #aaa;
  color: #fff;
  font-weight: 500;
}
.dialog-buildinfo .tab-content div.tab-pane span.dummy-button > i.bi {
  margin-right: 1ex;
  vertical-align: -0.05em;
}

:root {
  --nsys-popup-max-width: min(calc(100vw - 2em),calc(90vw + 25em),80em);
  --nsys-popup-max-height: min(calc(100vh - 2em),calc(90vh + 25em),60em);
}

#dialog-teacher-course .frameless-btn,
#dialog-teacher-task .frameless-btn,
#dialog-teacher-participant .frameless-btn,
#dialog-teacher-participant-multi .frameless-btn,
.dialog-teacher-modal .frameless-btn {
  border: none;
  background: none;
}
#dialog-teacher-course .frameless-btn.disabled, #dialog-teacher-course .frameless-btn:disabled,
#dialog-teacher-task .frameless-btn.disabled,
#dialog-teacher-task .frameless-btn:disabled,
#dialog-teacher-participant .frameless-btn.disabled,
#dialog-teacher-participant .frameless-btn:disabled,
#dialog-teacher-participant-multi .frameless-btn.disabled,
#dialog-teacher-participant-multi .frameless-btn:disabled,
.dialog-teacher-modal .frameless-btn.disabled,
.dialog-teacher-modal .frameless-btn:disabled {
  color: #000 !important;
  pointer-events: none;
  opacity: 0.2;
}
#dialog-teacher-course tr.status-active .form-select,
#dialog-teacher-task tr.status-active .form-select,
#dialog-teacher-participant tr.status-active .form-select,
#dialog-teacher-participant-multi tr.status-active .form-select,
.dialog-teacher-modal tr.status-active .form-select {
  font-weight: 800;
}
#dialog-teacher-course .cleartext,
#dialog-teacher-task .cleartext,
#dialog-teacher-participant .cleartext,
#dialog-teacher-participant-multi .cleartext,
.dialog-teacher-modal .cleartext {
  font-weight: 800;
  letter-spacing: 0.1em;
}
#dialog-teacher-course .form-check-input.readonly,
#dialog-teacher-task .form-check-input.readonly,
#dialog-teacher-participant .form-check-input.readonly,
#dialog-teacher-participant-multi .form-check-input.readonly,
.dialog-teacher-modal .form-check-input.readonly {
  pointer-events: none;
}

.dialog-teacher-modal .modal-header .modal-title i {
  color: #aaa;
}

.dialog-teacher-task .dropdown-menu ul button {
  width: 2em;
  text-align: center;
  padding: 4px;
}
.dialog-teacher-task .dropdown-menu .dropdown-item {
  --bs-dropdown-link-hover-bg: #eee;
}
.dialog-teacher-task button.dropdown-toggle > i {
  width: 1.25em;
  text-align: center;
  display: inline-block;
}

#programs-tab > li.js-course-tab ul.dropdown-menu {
  /* visible items */
}
#programs-tab > li.js-course-tab ul.dropdown-menu > li {
  display: none;
}
#programs-tab > li.js-course-tab ul.dropdown-menu > li.item-hr1,
#programs-tab > li.js-course-tab ul.dropdown-menu > li.item-hr2,
#programs-tab > li.js-course-tab ul.dropdown-menu > li.item-hr3,
#programs-tab > li.js-course-tab ul.dropdown-menu > li.item-import,
#programs-tab > li.js-course-tab ul.dropdown-menu > li.item-export,
#programs-tab > li.js-course-tab ul.dropdown-menu > li.item-close {
  display: list-item;
}
#programs-tab > li.js-course-tab ul.dropdown-menu.is-participant > li.item-is-participant,
#programs-tab > li.js-course-tab ul.dropdown-menu.is-participant > li.item-is-correction,
#programs-tab > li.js-course-tab ul.dropdown-menu.is-participant > li.item-edit-hint-text1 {
  display: list-item;
}
#programs-tab > li.js-course-tab ul.dropdown-menu.is-correction > li.item-is-participant,
#programs-tab > li.js-course-tab ul.dropdown-menu.is-correction > li.item-is-correction,
#programs-tab > li.js-course-tab ul.dropdown-menu.is-correction > li.item-edit-hint-text1,
#programs-tab > li.js-course-tab ul.dropdown-menu.is-correction > li.item-reset-correction {
  display: list-item;
}
#programs-tab > li.js-course-tab ul.dropdown-menu.is-default > li.item-is-default,
#programs-tab > li.js-course-tab ul.dropdown-menu.is-default > li.item-edit-hint-text2 {
  display: list-item;
}
#programs-tab > li.js-course-tab ul.dropdown-menu.is-solution > li.item-is-solution,
#programs-tab > li.js-course-tab ul.dropdown-menu.is-solution > li.item-edit-hint-text3,
#programs-tab > li.js-course-tab ul.dropdown-menu.is-solution > li.item-reset-solution {
  display: list-item;
}
#programs-tab > li.js-course-tab ul.dropdown-menu.has-default > li.item-view-hint-text2 {
  display: list-item;
}
#programs-tab > li.js-course-tab ul.dropdown-menu.has-correction > li.item-view-hint-text1 {
  display: list-item;
}
#programs-tab > li.js-course-tab ul.dropdown-menu.has-solution > li.item-view-hint-text3 {
  display: list-item;
}
#programs-tab {
  /* check marks */
}
#programs-tab > li.js-course-tab ul.dropdown-menu > li.item-is-participant > button > i,
#programs-tab > li.js-course-tab ul.dropdown-menu > li.item-is-correction > button > i,
#programs-tab > li.js-course-tab ul.dropdown-menu > li.item-is-solution > button > i,
#programs-tab > li.js-course-tab ul.dropdown-menu > li.item-is-default > button > i {
  visibility: hidden;
}
#programs-tab > li.js-course-tab[data-sel-variant=participant] ul.dropdown-menu > li.item-is-participant > button > i, #programs-tab > li.js-course-tab[data-sel-variant=correction] ul.dropdown-menu > li.item-is-correction > button > i, #programs-tab > li.js-course-tab[data-sel-variant=solution] ul.dropdown-menu > li.item-is-solution > button > i, #programs-tab > li.js-course-tab[data-sel-variant=default] ul.dropdown-menu > li.item-is-default > button > i {
  visibility: visible;
}

.btn-course-task {
  --bs-btn-color: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-bg: #6c757d;
  --bs-btn-hover-border-color: #6c757d;
  --bs-btn-focus-shadow-rgb: 108,117,125;
  --bs-btn-active-bg: #6c757d;
  --bs-btn-active-border-color: #6c757d;
  --bs-btn-disabled-color: #6c757d;
  --bs-btn-disabled-border-color: #6c757d;
  --bs-btn-bg: #0004;
}

#div-course-participant {
  position: absolute;
  --bs-border-width: 2px;
  --bs-border-radius-lg: 2rem;
  --fa-animation-duration: 2s;
  --fa-animation-iteration-count: 8;
}
#div-course-participant > button {
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}
#div-course-participant > button > i {
  margin: 0 0.5rem;
}
#div-course-participant > button > span {
  margin: 0 0.5rem;
}

body .participant-display-block,
body .teacher-display-block {
  display: none;
}

body.teacher .teacher-display-block {
  display: block;
}
body.teacher .teacher-display-none {
  display: none;
}

body.participant .participant-display-block {
  display: block;
}
body.participant .participant-display-none {
  display: none;
}

/* User Menu Items */
/*
#user-control {
    .dropdown-item[data-action=user-course-teacher-apply] {
        display: block;
        .participant &,
        .teacher & {
            display: none;
        }
    }
    .dropdown-item[data-action=user-course-participant] {
        display: none;
        .participant & {
            display: block;
        }
    }
    .dropdown-item[data-action=user-course-teacher] {
        display: none;
        .teacher & {
            display: block;
        }
    }
}
*/
.dialog-teacher-register label.col-form-label {
  color: #666;
}

.dialog-teacher-register .form-control.is-valid, .dialog-teacher-register .was-validated .form-control:valid {
  background-image: none;
}

fieldset.code-input {
  border: none;
}
fieldset.code-input legend {
  font-size: 0;
}
fieldset.code-input input,
fieldset.code-input .status {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  text-align: center;
  padding: 0;
}
fieldset.code-input input {
  font-family: "Courier New", Courier, monospace;
  border: 2px solid #555;
  border-radius: 0.5rem;
}
fieldset.code-input input:disabled {
  color: #bbb;
}
fieldset.code-input.confirmed input:disabled {
  background-color: #ccc;
  color: white;
  font-weight: 900;
  border-color: #ccc;
}
@media only screen and (min-width: 600px) {
  fieldset.code-input input,
  fieldset.code-input .status {
    width: 4rem;
    height: 4rem;
    font-size: 3rem;
    vertical-align: middle;
  }
  fieldset.code-input input + input {
    margin-left: 0.5rem;
  }
}
fieldset.code-input {
  /* Chrome, Safari, Edge, Opera */
}
fieldset.code-input input::-webkit-outer-spin-button,
fieldset.code-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
fieldset.code-input {
  /* Firefox */
}
fieldset.code-input input[type=number] {
  -moz-appearance: textfield;
}
fieldset.code-input .status [data-status] {
  display: none;
}
fieldset.code-input .status[data-sel-status=none] [data-status=none],
fieldset.code-input .status[data-sel-status=checked] [data-status=checked],
fieldset.code-input .status[data-sel-status=error] [data-status=error],
fieldset.code-input .status[data-sel-status=processing] [data-status=processing] {
  display: inline-block;
}

@font-face {
  font-family: "Exo2";
  font-style: italic;
  font-weight: 100;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-ThinItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: italic;
  font-weight: 200;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-ExtraLightItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: italic;
  font-weight: 300;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-LightItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: italic;
  font-weight: 400;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-Italic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: italic;
  font-weight: 500;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-MediumItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: italic;
  font-weight: 600;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-SemiBoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: italic;
  font-weight: 700;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-BoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: italic;
  font-weight: 800;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-ExtraBoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: italic;
  font-weight: 900;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-Black.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: normal;
  font-weight: 100;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-Thin.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: normal;
  font-weight: 200;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-ExtraLight.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: normal;
  font-weight: 300;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-Light.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: "Exo2";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Exo2-Black.ttf") format("truetype");
}
@font-face {
  font-family: "BubblegumSans";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("https://static.bob3.org/fonts/BubblegumSans-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Barriecito";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("https://static.bob3.org/fonts/Barriecito-Regular.otf") format("opentype");
}
#div-navigation {
  position: relative;
  margin-top: 1.5rem;
  flex-shrink: 0;
  font-size: 0.8rem;
  line-height: 0.8rem;
  margin-left: -0.6rem;
  z-index: 0;
}
#div-navigation .navpill-1,
#div-navigation .navpill-2 {
  height: 1.5rem;
  display: block;
  float: left;
  margin: 0 0.6rem;
  text-align: center;
  background-color: #fff;
  border: 0.1rem solid #aaa;
  border-radius: 0.75rem;
  text-decoration: none;
  color: #bbb;
  padding: 0.2rem;
  position: relative;
}
#div-navigation .navpill-1.navpill-1:active,
#div-navigation .navpill-2.navpill-2:active,
#div-navigation .navpill-1.navpill-1:hover,
#div-navigation .navpill-2.navpill-2:hover {
  color: #fff;
  background-color: #888;
}
#div-navigation .navpill-1 {
  width: 1.5rem;
}
#div-navigation .navpill-2 {
  width: 4.2rem;
}
#div-navigation .navpill-1.completed,
#div-navigation .navpill-2.completed {
  color: #33354f;
  background-color: #fff;
  border: 0.2rem solid #666;
  padding: 0.1rem;
}
#div-navigation .navpill-1.disabled,
#div-navigation .navpill-2.disabled {
  color: #aaa;
  background-color: #ccc;
  border: 0.2rem solid #bbb;
  padding: 0.1rem;
}
#div-navigation .navpill-1.completed::before,
#div-navigation .navpill-2.completed::before {
  content: "\f00c";
  font-weight: 900;
  font-size: 100%;
  line-height: 0;
  top: 0.05rem;
  position: relative;
  left: 0.1rem;
  color: #222;
  font-family: "Font Awesome 6 Free";
}
#div-navigation .navpill-2.completed::before {
  left: -0.3rem;
}
#div-navigation .navpill-1.completed:active::before,
#div-navigation .navpill-2.completed:active::before,
#div-navigation .navpill-1.completed:hover::before,
#div-navigation .navpill-2.completed:hover::before {
  color: #fff;
}
#div-navigation .navpill-1.current,
#div-navigation .navpill-2.current {
  color: #000;
  background-color: #fff;
  border: 0.3rem solid #216bca;
  padding: 0;
}
#div-navigation .navline {
  z-index: -1;
  position: absolute;
  width: 19rem;
  height: 0.2rem;
  background-color: #ccc;
  left: 1.5rem;
  top: 0.65rem;
}

.modal.victory-dialog div.sheep-scroller {
  overflow: clip;
  position: relative;
  height: 8rem;
}
.modal.victory-dialog div.sheep-scroller .avatar {
  position: absolute;
}
.modal.victory-dialog div.sheep-scroller .sheep {
  background-image: url("/media/world/schaf-avatar-5x5.png");
  background-size: 500%;
  height: 8rem;
  width: 8rem;
  margin-left: -4rem;
}
.modal.victory-dialog div.sheep-scroller .bob3 {
  background-image: url("/media/world/bob3-avatar.png");
  background-size: 800%;
  background-position: 0 0;
  height: 8rem;
  width: 8rem;
  margin-left: -4rem;
}
.modal.victory-dialog div.sheep-scroller .bertram {
  background-image: url("/media/world/bertram.png");
  background-size: 100%;
  background-position: 0 0;
  background-repeat: no-repeat;
  height: 8rem;
  width: 13.5rem;
  margin-left: -6rem;
}
.modal.victory-dialog div.sheep-scroller .floh-klein {
  background-image: url("/media/world/items.png");
  background-size: 400%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  height: 5rem;
  width: 5rem;
  margin-left: -2.5rem;
  margin-top: 1.5rem;
}
.modal.victory-dialog div.sheep-name {
  height: 2rem;
  text-align: center;
}
.modal.victory-dialog div.sheep-name span {
  font-family: Barriecito;
  font-size: 1.5rem;
  color: #555;
}

.tile-5x5-A {
  background-position: 0% 0%;
}

.tile-5x5-B {
  background-position: 25% 0%;
}

.tile-5x5-C {
  background-position: 50% 0%;
}

.tile-5x5-D {
  background-position: 75% 0%;
}

.tile-5x5-E {
  background-position: 100% 0%;
}

.tile-5x5-F {
  background-position: 0% 25%;
}

.tile-5x5-G {
  background-position: 25% 25%;
}

.tile-5x5-H {
  background-position: 50% 25%;
}

.tile-5x5-I {
  background-position: 75% 25%;
}

.tile-5x5-J {
  background-position: 100% 25%;
}

.tile-5x5-K {
  background-position: 0% 50%;
}

.tile-5x5-L {
  background-position: 25% 50%;
}

.tile-5x5-M {
  background-position: 50% 50%;
}

.tile-5x5-N {
  background-position: 75% 50%;
}

.tile-5x5-O {
  background-position: 100% 50%;
}

.tile-5x5-P {
  background-position: 0% 75%;
}

.tile-5x5-Q {
  background-position: 25% 75%;
}

.tile-5x5-R {
  background-position: 50% 75%;
}

.tile-5x5-S {
  background-position: 75% 75%;
}

.tile-5x5-T {
  background-position: 100% 75%;
}

.tile-5x5-U {
  background-position: 0% 100%;
}

.tile-5x5-V {
  background-position: 25% 100%;
}

.tile-5x5-W {
  background-position: 50% 100%;
}

.tile-5x5-X {
  background-position: 75% 100%;
}

.tile-5x5-Y {
  background-position: 100% 100%;
}

div.cert-area {
  text-align: center;
}
div.cert-area object {
  width: 13rem;
  height: 20rem;
}

/* <NEW> */
html {
  font-size: var(--fontsize);
}

body {
  font-size: unset;
}

.img-bob {
  background-image: url(/media/world/bob3-avatar.png);
  width: 3.5rem;
  height: 3.5rem;
  background-size: 800%;
  margin: 0.5rem 1rem;
}

#main-div > #main-head > div, #main-div > #main-body > div, #main-div > #main-foot > div {
  width: 100%;
  margin-left: var(--dx);
  margin-right: var(--dx);
  display: flex;
}

#main-div > #main-head > div {
  margin-top: var(--dy);
  height: 4.5rem;
}

#main-div > #main-foot > div {
  margin-bottom: var(--dy);
}

/* </NEW> */
#main-body, #main-foot {
  background-color: #fff;
}

#div-space {
  height: 100%;
  background-color: white;
}

#div-inventory {
  overflow: clip;
  height: 2.5rem;
  flex-shrink: 0;
  border: 0.2rem solid #aaa;
  background-color: #eef6ff;
  position: relative;
}

#div-inventory-sheeps {
  white-space: nowrap;
  padding: 0 0.4rem;
  margin: 0;
  line-height: 0;
  bottom: 0;
  position: absolute;
  width: 100%;
}

#div-stuff {
  overflow: clip;
  height: 2.5rem;
  flex-shrink: 0;
  border: 0.2rem solid #957d5e;
  background-color: #e4d2bb;
  position: relative;
  font-size: 1rem;
}

#div-energy {
  padding: 0.2rem 0.7rem 0;
  height: 2rem;
  float: left;
  width: 12%;
}

#div-coin-cells {
  padding: 0.2rem 0.1rem 0;
  height: 2rem;
  float: left;
  width: 11%;
  font-weight: 600;
}

#div-carrots {
  padding: 0.2rem 0.1rem 0;
  height: 2rem;
  float: left;
  width: 24%;
  font-weight: 600;
}

#div-sheeps {
  padding: 0.2rem 0.1rem 0;
  height: 2rem;
  float: left;
  width: 24%;
  font-weight: 600;
}

#div-score {
  padding: 0.2rem 0.1rem 0;
  height: 2rem;
  float: left;
  width: 29%;
  font-weight: 600;
}

#div-controls {
  padding: 0.2rem 0.4rem;
  background-color: white;
  height: 2.7rem;
}

#world-main > div:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

#world-main > div:nth-of-type(2) > div:nth-of-type(1) {
  display: flex;
}

#world-main > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) {
  width: 100%;
}

#world-main > div:nth-of-type(2) > div:nth-of-type(2) {
  height: 100%;
}

#div-instructions {
  text-align: center;
  margin: auto;
  font-size: 1.3rem;
  font-family: BubblegumSans;
  color: #fff;
  text-shadow: 0px 0px 5px #888;
}

.blocks-block {
  position: relative;
  z-index: 1;
  width: 100%;
  font-size: 80%;
}

.show-play {
  display: none;
}

.play .show-play {
  display: unset;
}

.hide-play {
  display: unset;
}

.play .hide-play {
  display: none;
}

.battery-status {
  display: inline-block;
  position: relative;
  font-size: 2.12rem;
  top: -0.65rem;
  width: 2.2rem;
  height: 1rem;
}

.battery-status > i {
  position: absolute;
}

.battery-status > i:nth-of-type(1) {
  transition: width 0.2s ease-out 0s;
  color: #62a65c;
  overflow: hidden;
}

.battery-status.battery-warn > i:nth-of-type(1) {
  color: #cab74f;
}

.battery-status > i:nth-of-type(2) {
  color: #aaa;
}

.battery-status.battery-error > i:nth-of-type(2) {
  color: #d05454;
}

.battery-storage {
  display: inline-block;
}

.with-grass {
  background-image: url("/media/world/Gras.png");
  background-size: 30%;
  background-repeat: repeat-x;
  background-position-y: bottom;
}

.item-sheep {
  width: 1.9rem;
  height: 1.9rem;
  background-image: url("/media/world/sheep-avatar.png");
  background-size: 400% 500%;
  background-repeat: no-repeat;
  background-position: 0 0;
  display: inline-block;
}

.item-sheep.large {
  width: 2.5em;
  height: 2.5em;
}

.item-sheep.in-text {
  width: 1.5em;
  height: 1.5em;
  position: relative;
  top: 0.3em;
}

.item-tussock {
  width: 30px;
  height: 30px;
  background-image: url("/media/world/grasbueschel.png");
  background-size: 100%;
  background-repeat: no-repeat;
  display: inline-block;
}

.item-tussock.in-text {
  width: 1.5em;
  height: 1.5em;
  position: relative;
  top: 0.4em;
}

.item-battery {
  height: 40px;
  background-image: url("/media/world/kaba-neu.png");
  background-size: 160px 160px;
  background-repeat: no-repeat;
  background-position: -120px -80px;
  display: inline-block;
  width: 40px;
  top: -1px;
  position: relative;
  margin: 0 5px;
}

.item-bob3.large {
  width: 100px;
  height: 100px;
  background-image: url("/media/world/bob3-avatar.png");
  background-size: 800px 100px;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  display: inline-block;
}

.img-bertram {
  width: 45px;
  height: 25px;
  background-image: url("/media/world/bertram.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  display: inline-block;
}

.img-bertram.large {
  width: 4.5em;
  height: 2.5em;
}

.inline-image-sheep {
  background-image: url("/media/world/sheep-avatar.png");
  background-size: 400%;
  background-position: 0 0;
}

.inline-image-kaktus {
  background-image: url("/media/world/items.png");
  background-size: 400%;
  background-position: 0 0;
}

.inline-image-gras {
  background-image: url("/media/world/items.png");
  background-size: 400%;
  background-position: 33.333% 0;
}

.inline-image-carrot {
  background-image: url("/media/world/items.png");
  background-size: 400%;
  background-position: 66.666% 0;
}

.inline-image-coin-cell {
  background-image: url("/media/world/items.png");
  background-size: 400%;
  background-position: 0% 100%;
}

.inline-image-bob-s {
  background-image: url("/media/world/bob3-avatar.png");
  background-size: 800%;
  background-position: 0% 0%;
}

.inline-image-bob-e {
  background-image: url("/media/world/bob3-avatar.png");
  background-size: 800%;
  background-position: 14.286% 0%;
}

.inline-image-bob-n {
  background-image: url("/media/world/bob3-avatar.png");
  background-size: 800%;
  background-position: 28.571% 0%;
}

.inline-image-bob-w {
  background-image: url("/media/world/bob3-avatar.png");
  background-size: 800%;
  background-position: 42.857% 0%;
}

#div-stuff span.inline-image-coin-cell {
  background-size: 520%;
  top: 0.25rem;
}

[class^=inline-image-] {
  height: 1rem;
  aspect-ratio: 1;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle;
}

#div-stuff [class^=inline-image-] {
  height: 2rem;
  position: relative;
  top: -0.1rem;
}

.modal-content [class^=inline-image-bob] {
  height: 1.5em;
  margin-bottom: 0.2em;
}

#div-sheeps .item-sheep,
#div-inventory-sheeps .item-sheep {
  margin-right: 10px;
  position: relative;
}

/* inline icons: iicn-... */
[class^=iicn-] {
  position: relative;
  height: 0.5em;
  width: 2em;
  vertical-align: baseline;
  display: inline-block;
}

[class^=iicn-] > b {
  height: 2em;
  aspect-ratio: 1;
  background-repeat: no-repeat;
  display: inline-block;
  position: absolute;
  bottom: -0.5em;
}

.iicn-carrot {
  width: 1.9em;
}

.iicn-carrot > b {
  background-image: url("/media/world/items.png");
  background-size: 400%;
  background-position: 66.666% 0;
}

.iicn-cactus {
  width: 1.2em;
}

.iicn-cactus > b {
  background-image: url("/media/world/items.png");
  background-size: 400%;
  background-position: 0 0;
  left: -0.35em;
}

.iicn-tussock {
  width: 1.8em;
}

.iicn-tussock > b {
  background-image: url("/media/world/items.png");
  background-size: 400%;
  background-position: 33.333% 0;
  height: 1.8em;
}

.iicn-sheep {
  width: 2.2em;
}

.iicn-sheep > b {
  background-image: url("/media/world/sheep-avatar.png");
  background-size: 400%;
  background-position: 0 0;
  left: 0.1em;
}

.iicn-flea {
  width: 1.2em;
}

.iicn-flea > b {
  background-image: url("/media/world/items.png");
  background-size: 400%;
  background-position: 100% 0;
  height: 1.2em;
  bottom: -0.3em;
}

.maze-dialog div.results {
  line-height: 1.9em;
}

.float-left {
  display: block;
  float: left;
  padding-right: 1em;
}

.modal-dialog.modal-dialog {
  max-width: 30em;
}

.modal-dialog.modal-dialog.modal-lg {
  max-width: 40em;
}

.modal-dialog.modal-dialog.modal-xl {
  max-width: 50em;
}

.maze-dialog .modal-lg.modal-lg.modal-lg {
  max-width: 40em;
}

.maze-dialog .modal-body {
  padding: 2rem 2rem;
  font-family: BubblegumSans;
  font-size: 1.6rem;
}

.maze-dialog.modal.fade .modal-dialog {
  transform: unset;
}

.modal-header .modal-title {
  font-family: Barriecito;
  font-size: 2.5rem;
  color: #555;
}

.modal-header .modal-title i {
  color: #534e93;
}

.modal-header .modal-title i.fa-exclamation-triangle {
  color: #c61313;
}

.modal-header .modal-title i.fa-check {
  color: #359114;
}

.modal-footer {
  font-family: Barriecito;
  font-size: 2rem;
}

.modal-dialog h6 {
  font-size: 3rem;
  font-weight: 200;
  color: #534e93;
}

.score-div {
  position: absolute;
  left: 1rem;
}

.score-div .counter {
  font-weight: bolder;
}

.popover.minus-popup {
  border-color: transparent;
  background-color: transparent;
}

.popover.minus-popup .popover-arrow {
  visibility: hidden;
}

.maze-dialog .modal-footer .btn {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.3rem;
}

.btn.quiz-answer-1,
.btn.quiz-answer-5 {
  background-color: #0d6efd;
}

.btn.quiz-answer-2,
.btn.quiz-answer-6 {
  background-color: #0c4fb3;
}

.btn.quiz-answer-3,
.btn.quiz-answer-7 {
  background-color: #16396d;
}

.btn.quiz-answer-4,
.btn.quiz-answer-8 {
  background-color: #6c8bb9;
}

#div-instructions {
  width: 100%;
  height: 6em;
}

#blocklyArea {
  flex-grow: 1;
  height: 100%;
}

#main-foot {
  height: 4px;
}

#robot-world {
  width: 100%;
  height: 100%;
  border: 1px solid grey;
  background-color: #564937;
}

#left-col {
  width: min(407px, 25vw);
  min-width: 180px;
  padding-right: 5px;
}

#explanation {
  font-size: 1.6rem;
  font-family: BubblegumSans;
  padding: 1em;
  /*width: 50vw;*/
  max-width: 52rem;
}

#explanation h6 {
  font-family: Barriecito;
  font-size: 236%;
  color: #555;
}

#explanation .button-div {
  text-align: center;
  margin: 1em -1ex 0;
}

#explanation .button-div button {
  font-family: Barriecito;
  border: 4px solid #fff;
  border-radius: 0.9em;
  text-align: center;
  margin: 0 1ex;
  padding: 0 1ex;
  color: #fff;
  background-color: #204277;
}

#explanation .button-div button.btn-next {
  background-color: #204277;
}

#explanation .button-div button.btn-next:hover {
  border-color: #204277;
}

#explanation .button-div button.btn-prev {
  background-color: #ccc;
}

#explanation .button-div button.btn-prev:hover {
  border-color: #ccc;
}

#explanation .button-div button.btn-close {
  background-color: #204277;
  border-color: #204277;
}

#explanation .button-div button.btn-start {
  background-color: #204277;
  border-color: #204277;
}

#explanation button.btn,
.modal-body button.btn {
  margin-top: -0.2em;
  font-family: Exo2;
}

body.loading #main-body,
body.loading #blocklyDiv {
  visibility: hidden;
}

.btn.quiz.failed {
  transition: rotate cubic-bezier(0.16, 1.64, 0, 1.81) 0.3s;
}

.btn.quiz.failed {
  rotate: -15deg;
}

.btn.quiz-collect {
  display: none;
}

.maze-dialog.quiz-solved .modal-footer {
  justify-content: center;
}

.fa-clover.fa-clover.fa-clover {
  color: darkgreen;
}

.fa-clover.fa-spin {
  --fa-animation-duration: 10s;
}

.maze-dialog .form-check-input:disabled ~ .form-check-label,
.maze-dialog .form-check-input[disabled] ~ .form-check-label {
  text-decoration: line-through;
}

#div-controls button {
  display: none;
}

#div-controls.disabled button {
  pointer-events: none;
  opacity: 0.4;
}

#div-controls.run-ready #btn-run-reset {
  display: inline-block;
  pointer-events: none;
  opacity: 0.4;
}

#div-controls.run-ready #btn-run-start {
  display: inline-block;
  float: right;
}

#div-controls.run-running #btn-run-abort {
  display: inline-block;
}

#div-controls.run-running #btn-run-pause {
  display: inline-block;
  float: right;
}

#div-controls.run-halted #btn-run-abort {
  display: inline-block;
}

#div-controls.run-halted #btn-run-continue {
  display: inline-block;
  float: right;
}

#div-controls.run-finished #btn-run-reset {
  display: inline-block;
}

#div-controls.run-finished #btn-run-start {
  display: inline-block;
  float: right;
  pointer-events: none;
  opacity: 0.4;
}

.modal-quiz-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
}

.modal-quiz-overlay > div.background {
  background-color: #777;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.modal-quiz-overlay > div.content {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  width: 70%;
}

.modal-quiz-overlay > div.content > div {
  border: 0.5em solid #000280;
  background-color: #e5e2f7;
  padding: 1em;
  border-radius: 1em;
  font-family: BubblegumSans;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.sheep-fence {
  background-image: url("/media/world/fence.png");
  width: 100%;
  height: 1.1rem;
  position: absolute;
  background-size: 8.5rem;
  background-repeat: repeat-x;
  background-position-x: -0.5rem;
  bottom: 0;
}

.maze-dialog .dialog-maze-logo {
  position: absolute;
  width: 14rem;
  height: 6rem;
  background-image: url("/media/schafe-fangen-mit-bob3-2.png");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position-x: right;
  margin: 1rem;
  right: 0;
}

/*# sourceMappingURL=blocks-bertram.css.map */
