body
{
    font-size:12.74px;
    }
#editor {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #000000;
    font-size: 22px;
}

#blockly {
    display: none;
    overflow: hidden;
    resize: horizontal;
    padding-right: 10px;
}

#blockly:after {
    border-top: 0.5em solid transparent;
    border-left: 0.5em solid transparent;
    border-right: 0.5em solid #888;
    border-bottom: 0.5em solid #888;
    position: absolute;
    right: 0;
    bottom: 0;
    content: '';
    cursor: ew-resize;
}

/* Re-usable, generic rules */
.hidden {
  display: none !important;
}

.vbox {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
}

.hbox {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
}

.flex1 {
  flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
}


.flex3 {
  flex: 3;
  -webkit-flex: 3;
  -ms-flex: 3;
}

.hexdown
{
    background-color:#C59F44;
    }
.hexdown:hover
{
    background-color:#65934A;
    }
.pythondown
{
    background-color:#66CC99;
    }
.pythondown:hover
{
    background-color:#00D400;
    }
/* Whole page layout */
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body, input {
  font-family: "Segoe UI Light", "Segoe UI", "Segoe WP Light", "Segoe WP",
    "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
  font-size: 1rem;
}

#main {
  margin: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  background: #F2F2F2;
}

#editor {
  position: relative;
  margin: 0;
}

/* Script info box */
#script-box {
  margin-right: 1rem;
  margin-left: 1rem;
  text-align: left;
  width: 100%;
}

#script-name {
  /*font-size: 2rem;*/
  /*color: #1a354c;*/
  /*color:#ffffff;
  overflow: hidden;
  max-height: 90px;*/

  border:1px solid #ccc;
  padding-left:20px;
  color:#C59F44;
  width: 200px;
  height: 40px;
  line-height:40px;
  margin-top:13px;
  border-radius:3px;
  font-size: 20px;
  background:url("../img/pen.png");
  background-repeat:no-repeat;
  background-size:30px 30px;
  background-position: 95% 5px;
}

#script-description {
  color: #ffffff;
  padding-bottom: 0.2rem;
  overflow: hidden;
  max-height: 22px;
}

#script-icons > *:not(:first-child) {
  display: inline-block;
  cursor: pointer;
}

.zoomer,
.saved-state {
  cursor: pointer !important;
}

#script-icons {
    width: 54px;
    min-width: 54px;
}

#script-icons .status-icon {
  width: 1rem;
  height: 1rem;
  /*border: 6px solid #FFCC33;*/
  border-radius: 50%;
  margin: .2rem;
  text-align: center;
  font-size: 1.3rem;
  line-height: 2.1rem;
  padding: .1em;
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Symbola", sans-serif;
  color: #65934A;
  background: #FFFFFF;
}

#script-icons .holder {
  width: 54px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  color: #65934A;/*#336699;*/
  text-decoration: none;
  background-image: url("../img/triangle.svg");
  background-size: 100%;
  background-repeat: no-repeat;
  text-align: center;
  padding: 0px;
}

#script-icons .holder:focus, #script-icons #holder:active {
  background-image: url("../img/triangle2.svg");
}

/* Popups */
.popup {
  width: 500px;
  border: 5px solid #666;
  position: relative;
  background-color: white;
  z-index: 999;
}

.popup::after {
  content: "";
  display: block;
  width: 0;

  position: absolute;
  top: -20px;
  right: 10px;

  border-style: solid;
  border-width: 0 20px 20px;
  border-color: #666 transparent;
}

.popup-inner {
  padding: 1rem;
}

#popup-edit input {
  border: 0;
}

/* Toolbox and commands */
#merge-commands {
  margin-left: 3em;
}

#merge-commands > * {
  cursor: pointer;
}

#merge-commands > .label {
  color: #a40000;
  font-weight: bold;
}

#commands {
  min-width: 400px;
}

#commands a {
  text-align: center;
  padding-left: 0.75em;
  padding-right: 0.75em;
  background-color:#65934A;
}
#commands a:hover
{
    background-color:#C59F44;
}

#commands1 a {
  text-align: center;
  padding-left: 0.75em;
  padding-right: 0.75em;
  background-color:#FABE00;
}
#commands1 a:hover
{
    background-color:#C59F44;
}

#toolbox
{
    background-color:#65934A;
}

#log {
  overflow: auto;
  width: 500px;
  max-height: 500px;
}

.status {
  white-space: pre-wrap;
}

.status:first-letter {
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Symbola", sans-serif;
}

.status:not(:first-letter) {
  font-weight: bold;
}

.status.error {
  color: #a40000;
}

.status:not(.error) {
  color: #4e9a06;
}

/* Buttons */
.roundbutton {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  color: #336699;
  text-decoration: none;
  /*background-image: url("../img/triangle.svg");
  background-size: 100%;
  background-repeat: no-repeat;*/
  /*min-width: 90px;*/
}


.roundbutton1 {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  color: #336699;
  text-decoration: none;
  height:27px;
  width:90px;
  background-color:#FABE00
  /*background-image: url("../img/triangle.svg");
  background-size: 100%;
  background-repeat: no-repeat;*/
  /*min-width: 90px;*/
}

.roundbutton2 {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  color: #336699;
  text-decoration: none;
  height:27px;
  width:32px;
  background-color:#FABE00
  /*background-image: url("../img/triangle.svg");
  background-size: 100%;
  background-repeat: no-repeat;*/
  /*min-width: 90px;*/
}

.disabled div.roundsymbol {
  border-color: #AAA;
}

.disabled i {
  color: #AAA;
}

.disabled div.roundlabel {
  color: #AAA;
}

.roundsymbol {
  width: 2rem;
  height: 2rem;
  /*border: 6px solid #FFCC33;*/
  border-radius: 50%;
 
  
  text-align: center;
  font-size: 2.6rem;
  line-height: 4.4rem;
  padding: .1em;
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Symbola", sans-serif;
  color: #fff;
  background: trasparent;
  margin:.2rem auto;
}

.roundbutton:focus, .roundbutton:active {
  /*background-image: url("../img/triangle2.svg");*/
}

.roundlabel {
  padding-top: .3rem;
  padding-bottom: .3rem;
  font-size: 80%;
  text-align: center;
  /*color: #336699;*/
  color:#ffffff;
  width: 70px;
  margin:0 auto;
}

body:not(.hasFota) .fota {
  display: none;
}

body.hasFota .notfota {
  display: none;
}

/* Misc */
a.command, a.command:visited {
  color: black;
  font-weight: bold;
  text-decoration: none;
}

a.command:hover {
  text-decoration: underline;
}

/* Some overrides for narrow displays */
@media (max-width: 890px) {
  .roundbutton {
    display: inline;
    padding: 0.75em;
    min-width: 48px;
  }

  #script-icons {
    display: none;
  }

  .roundsymbol {
    width: 2rem;
    height: 2rem;
    line-height: 2.05rem;
    font-size: 1.3rem;
    margin: 0;
  }

  .roundlabel {
    padding-top: 0;
    display: none;
  }

  .roundbutton > * {
    /*display: inline-block;*/
  }

  #script-name {
    font-size: 1.2rem;
    font-weight: bold;
    max-height: 50px;
  }

  .blocklyTreeRow {
    padding-right: .3em !important;
    height:35px;
  }

  .blocklyTreeIcon {
    width: 6px !important;
  }

  .blocklyTreeLabel {
    font-size: 12px !important;
    height:35px;
    line-height:35px;
  }

  #commands {
    min-width: 425px;
  }
}

@media (max-width: 480px) {
  #toolbox {
    flex-direction: column;
    -ms-flex-direction: column;
  }

  #script-box {
    margin-right: 1rem;
    margin-left: 1rem;
    text-align: left;
    width: 100%;
  }
}

.snippet-selection:hover {
    background: #FFCC33;
    cursor: pointer;
}

.snippet-table {
    width: 100%;
    font-size:12.74px;
}

.snippet-table th {
    text-align: left;
    padding-right: 48px;
}

.snippet-table td {
    border-bottom: 1px dotted #CCC;
}

.snippet-name {
    display: none;
}

.share-label {
    display: inline-block;
    width: 200px;
}

#share-link {
    display: none;
}

.blocklySvg {
    background-image: url('../img/experimental.png');
    background-repeat: repeat;
}

#messagebar {
    display: none;
    background-color: #ffcc33;
    padding: 0.75em;
    font-family: "Segoe UI Light", "Segoe UI", "Segoe WP Light", "Segoe WP", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
}

#messagebar a, #messagebar a.visited {
    color: #336699;
    font-weight: bold;
}

.load-form {
    display: none;
}

div.load-drag-target {
    height: 200px;
    background: #ddd;
    border: 1px solid #aaa;
    border-radius: 15px;
}


div.load-form {
    padding-top: 20px;
    height: 200px;
}

.load-form input {
    margin-bottom: 20px;
}

.load-drag-target p {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#load-alt a, #load-alt a.visited {
    color: #336699;
    font-weight: bold;
}

.is-dragover {
    background: #ccc !important;
}




navmen ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  height:200px;
}
.navmen {
  color: #f0f0f0;
}
.navmen a {
  display: block;
  padding: 0px;
  line-height: inherit;
  cursor: pointer;
}
.navmen_menu {
  height:200px;
  line-height: 45px;
  font-weight: 700;
  text-transform: uppercase;
}
.navmen_menu-item {
  display: inline-block;
  position: relative;
  padding:0px;
  margin:0px;
}
.navmen_menu-item:hover {
  background-color: #C59F44;
}
.navmen_menu-item:hover .navmen_submenu {
  display: block;
}
.navmen_submenu {
  font-weight: 300;
  text-transform: none;
  display: none;
  position: absolute;
  width: 220px;
  background-color: #C59F44;
}
.navmen_submenu-item:hover {
  background: rgba(0, 0, 0, 0.1);
}
