/* COLORS:
rgba(0,0,85,1)                  dark blue; background
rgba(102,140,180,1)              blue
rgba(204,204,255,1)              light blue
rgba(136,136,136,1)             gray; disabled
rgba(255,136,0,1)               orange; hover, highlight
rgba(0,255,0,1)                 green; active, loaded
*/

@font-face {
    font-family: 'Digital7MonoItalic';
    src: url('font/digital-7_mono_italic.ttf');
}

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  max-height:100%;
  background-color: rgb(0,0,85);
  color:rgb(255,255,255);
  font-family: "Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
}

#st_main_container {
  position: absolute;
  left: 0;
  bottom: 25px;
  right: 0;
  /*min-width: 820px;*/
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  /*border: 2px solid rgb(255,255,255);
  border-radius: 4px;*/
  /*text-align: center;*/
  /*background-color: #5577BB;*/
  /*background-color: rgb(100,150,255);*/
  background: linear-gradient(to bottom right, rgb(100,150,255), rgb(255,200,100));

  /*background-color: rgb(204,204,255);*/
  z-index: 9;
  overflow: hidden;
}
@media only screen and (max-width: 1000px) {
  #st_main_container {
    top: 30px;
  }
}
@media only screen and (min-width: 1000px) {
  #st_main_container {
    top: 45px;
  }
}

input.st_button {
  background-color: rgb(0,0,85);
  background-color: rgba(0,0,85,0.5);
  color:rgb(255,255,255);
  height: 20px;
  border-radius: 4px;
  border: 1px solid rgb(255,255,255);
  /*box-sizing: initial;*/
}
input.st_button:hover {
  background-color: #ff8800;
}
input.st_button:disabled {
  background-color: #888888;
  color: rgb(255,255,255);
}
input.st_button_close {
  background-color: rgb(255,0,0);
  background-color: rgba(255,0,0,0.5);
}
input.st_button_close:hover {
  background-color: #ff8800;
}
input.st_button_green {
  background-color: rgb(0,255,0);
  background-color: rgba(0,255,0,0.5);
}
input.st_button_green:hover {
  background-color: #ff8800;
}
input.st_button_red {
  background-color: rgb(255,0,0);
  background-color: rgba(255,0,0,0.5);
}
input.st_button_red:hover {
  background-color: #ff8800;
}

select.st_select {
  -webkit-box-sizing: border-box; /* For legacy WebKit based browsers */
  -moz-box-sizing: border-box; /* For legacy (Firefox <29) Gecko based browsers */
  box-sizing: border-box;
  /*width:100%;*/
  /*background:#5f7fb2;*/
  background: rgb(0,0,85);
  background: rgba(0,0,85,0.5);
  color:rgb(255,255,255);
  /*font-family: Tahoma, Geneva, sans-serif;*/
  height:20px;
  width: 100%;
  /*-webkit-border-radius: 4px;
  -moz-border-radius: 4px;*/
  border-radius: 4px;
  border: 1px solid rgb(255,255,255);
}
select.st_select:hover {
  background:#ff8800;
  color:rgb(255,255,255);
}
select.st_select:disabled {
  background:#888888;
  color:rgb(255,255,255);
}

#st_header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  z-index: 11;
  font-weight: bold;
  /*background-color: rgba(0,0,85,1);*/
  background-color: rgb(0,0,85);
  border-top: 1px solid #000000;
  border-bottom: 1px solid rgb(255,255,255);
  white-space: nowrap;
  box-sizing: initial;
}
.st_header_1 {
  font-weight: normal;
  color: rgb(255,255,255);
  /*vertical-align: center;*/
  white-space: nowrap;
  vertical-align: middle;
}
.st_header_2 {
  font-style: italic;
  font-weight: normal;
  color: #ccccff;
  /*vertical-align: center;*/
  white-space: nowrap;
  vertical-align: middle;
}
.st_clock {
  /*font-weight: bold;*/
  text-align: right;
  font-weight: normal;
  color: rgb(204,204,255);
  white-space: nowrap;
  vertical-align: bottom;
}

@media only screen and (max-width: 700px) {
  .st_clock {
    display: none;
    visibility: hidden;
  }
}

@media only screen and (max-width: 1000px) {
  #st_header {
    height: 30px;
    padding-left: 25px;
    padding-right: 25px;
  }
 .st_header_1 {
    font-size: 16pt;
    max-height: 30px;
  }
  .st_header_2 {
    font-size: 16pt;
    max-height: 30px;
  }
  #st_title_logo {
    height: 20px;
  }
  .st_clock {
    font-size: 14pt;
  }
}

@media only screen and (min-width: 1000px) {
  #st_header {
    height: 45px;
    padding-left: 25px;
    padding-right: 25px;
  }
 .st_header_1 {
    font-size: 24pt;
    max-height: 45px;
  }
  .st_header_2 {
    font-size: 24pt;
    max-height: 45px;
  }
  #st_title_logo {
    height: 30px;
  }
  .st_clock {
    font-size: 18pt;
  }
}

#st_footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  height: 25px;
  z-index: 15;
  color: rgb(255,255,255);
  background-color: rgb(0,0,85);
  border-top: 1px solid rgb(255,255,255);
  border-bottom: 1px solid #000000;
  text-align: center;
  box-sizing: initial;
}
.st_footer_1 {
  font-size: 12pt;
  font-style: italic;
  color: rgb(255,255,255);
  border-right: 1px solid rgb(255,255,255);
  /*font-weight: bold;*/
}
.st_footer_2 {
  font-size: 10pt;
  /*color: rgb(102,102,180);*/
  /*color: rgb(92,120,180);*/
  color: rgb(100,100,156);
  /*color: rgb(140,140,140);*/
  /*color: rgb(140,140,140);*/
  vertical-align: bottom;
  font-weight: bold;
}
@media only screen and (max-width: 800px) {
  .st_footer_2 {
    display: none;
    visibility: hidden;
  }
}

#st_general_settings {

  position: absolute;
  top: 60px;
  right: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  /*border: 2px solid rgb(255,255,255);
  border-radius: 4px;*/
  z-index: 9;
  overflow: hidden;

}

.st_layer_settings {

  position: absolute;
  bottom: 35px;
  right: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  /*border: 2px solid rgb(255,255,255);
  border-radius: 4px;*/
  z-index: 9;
  overflow: hidden;

}

.st_ui {
  margin: 0;
  z-index: 9;
  color: rgb(255,255,255);
  background-color: rgb(0,0,85);
  background-color: rgba(0,0,85,0.5);
  border: 1px solid rgb(255,255,255);
  border-radius: 4px;
  /*border-top: 1px solid #666666;*/
  /*border-bottom: 1px solid rgb(255,255,255);*/
}
#st_dialogue {
  position: absolute;
  top: 100px;
  left: 100px;
  min-width: 280px;
  max-width: 400px;
  min-height: 60px;
  margin: 0;
  z-index: 20;
  /*background-color: rgba(0,0,85,1);*/
  color: rgb(255,255,255);
  background-color: rgb(0,0,85);
  background-color: rgba(0,0,85,0.75);
  padding: 15px;
  white-space: nowrap;
  border: 6px double rgb(250,255,255);
  /*border-bottom: 3px double rgb(255,150,0);*/
  /*border-radius: 4px;*/
  box-shadow: 2px 2px 10px black;
}

#st_dialogue_title {
  white-space: initial;
  max-width: 390px;
  font-weight: bold;
  font-size: 14px;
}

#st_dialogue_message {
  white-space: initial;
  max-width: 390px;
  font-size: 12px;
  font-weight: normal;
}

#st_dialogue_buttons {
  margin-top: 10px;
  font-size: 12px;
  font-weight: normal;
  text-align: right;
}
.st_gauge {
  z-index: 15;
}

#st_ticker {
  z-index: 15;
}

.st_uibutton {

  position: absolute;
  height: 40px;
  width: 40px;
  color: rgb(255,255,255);
  background-color: rgb(0,0,85);
  background-color: rgba(0,0,85,0.5);
  box-sizing: initial;
  border: 1px solid rgb(255,255,255);
  border-radius: 4px;
  z-index: 11;
  overflow: hidden;

}

.st_uibutton:hover {

  background-color: rgb(255,136,0);
  background-color: rgba(255,136,0,0.5);

}

.st_uiitem {

  position: absolute;
  /*height: 40px;
  width: 40px;*/
  /*left: 20px;*/
  color: rgb(255,255,255);
  background-color: rgb(0,0,85);
  background-color: rgba(0,0,85,0.5);
  border: 1px solid rgb(255,255,255);
  border-radius: 4px;
  z-index: 11;
  overflow: hidden;

}

.st_uiitem:hover {

  background-color: rgb(255,136,0);

}

.st_uiitem_menu {

  position: absolute;
  /*left: 68px;*/
  min-width: 200px;
  background-color: rgb(0,0,85);
  background-color: rgba(0,0,85,0.5);
  border: 1px solid rgb(255,255,255);
  border-radius: 4px;
  z-index: 11;
  overflow: hidden;

}

.st_uiitem_menu_content {

  position: relative;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  color: rgb(255,255,255);
  overflow: hidden;

}

.st_uiitem_name {

  position: absolute;
  /*height: 8px;*/
  /*left: 20px;*/
  color: rgb(255,255,255);
  background-color: rgb(0,0,85);
  background-color: rgba(0,0,85,0.5);
  border: 1px solid rgb(255,255,255);
  border-radius: 2px;
  z-index: 11;
  overflow: hidden;
  font-size: 8px;

}
