/*****************************/
/* old demo.css styles begin */
/*****************************/

/* Segoe UI */
/* define here for used weights & styles so that
font-weight & style declarations work for this + the fallback
web font */

@font-face {
   font-family: 'Segoe UI';
   src: local('Segoe UI');
   font-weight: normal;
}

@font-face {
   font-family: 'Segoe UI';
   src: local('Segoe UI Italic');
   font-weight: normal;
   font-style: italic;
}

@font-face {
   font-family: 'Segoe UI';
   src: local('Segoe UI Bold');
   font-weight: bold;
}


@font-face {
   font-family: 'Segoe UI';
   src: local('Segoe UI Light');
   font-weight: 300;
}


html {
   min-height: 100%;
   width: 100%;
}


body {

   height: 100%;
   margin: 0;
   background-repeat: no-repeat;
   background-attachment: fixed;


   font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
   font-size: 16px;
   line-height: 1.428571429;
   background-color: #fcfcfc;
   color: #333;

   background-color: #fafafa;

}

pre,
.syntaxhighlighter * {
   font-family: Consolas, Menlo, 'DejaVu Sans Mono', 'Courier New', monospace !important;
   font-size: 13px;
}

a
{
   color: #555;
}
a:hover
{
   color: #f60;
   color: #D0B800;
}

a > img
{
   border-style: none;
}

.githubwrapper {
padding: 20px;
}

.github {
   color: rgb(226, 181, 0);
   height: 60px;
}
.github:hover {
   color: #fff;
}
.github:visited {
   color: rgb(226, 181, 0);
}

section
{
   margin: 3em 5em 0 3em;

}


header {
   position: relative;
   width: 100%;
   height: 103px;
   background-color: #1b1b1b;
}

#header_inner
{
   position: relative;
   min-width: 960px;
   max-width: 64%;
   height: 100%;
   margin:auto;
   padding: 0;
   color: #666;
   text-align: right;
}

#demo_title
{
   font-size: 27px;
   font-weight: bold;
   color: rgb(95, 95, 95);
   display: inline-block;
   text-align: right;
   line-height: 11px;
   padding-top: 32px;
}
#demo_title > span
{
   display: block;
}
#demo_title > span:first-child
{
   font-size: 45px;
   line-height: 38px;
}

.navbar-brand {
    position: absolute;

    top: 21px;
    left: 0px;
    text-decoration: none;
}

/*.navbar-brand > span {
   font-size: 52px;
   position: relative;
   top: -13px;
   text-decoration: none;
   border: none;
}*/

.navbar-brand > span.fontFace {
   font-size: 52px;
   position: relative;
   top: -19px;
   text-decoration: none;
   border: none;
}

.navbar-brand > span.fontFaceDemo {
   font-size: 35px;
   font-family: "Play", sans-serif;
   position: absolute;
   top: 33px;
   left: 199px;
   color: #D2C501;
}

.navbar-brand > span > span:first-of-type {
  font-family: 'Play', sans-serif;
  font-weight: bold;
  color: rgb(162, 162, 162);
  padding: 0 0 0 6px;
}
.navbar-brand > span > span:last-of-type {
  font-family: 'Play', sans-serif;
  color: rgb(240, 240, 240);
}

.demo_links
{
   text-align: center;
}
.demo_links > div > a
{
   padding: 0 2em 0 0;
   font-size: 19px;
   text-decoration: none;
   color: #f60;
   color: #d0b800;
}


#demo_body,
.demo_links
{
   width: 850px;
   height: 100%;
   margin: 4em auto;
   position: relative;
}

.notextselect {
   -webkit-touch-callout: none;
   -webkit-user-select: none;
   -khtml-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   user-select: none;

   cursor: default;
}

.button
{

   background-color: #D9D9D9;
   background: -webkit-linear-gradient(top, #fff, #e1e1e1);
   background:    -moz-linear-gradient(top, #fff, #e1e1e1);
   background:     -ms-linear-gradient(top, #fff, #e1e1e1);
   background:      -o-linear-gradient(top, #fff, #e1e1e1);
   background:         linear-gradient(to bottom, #fff, #e1e1e1);

   color: #111;

   font-weight: 600;
   text-align: center;
   padding:0 13px;
   margin-left: 1px;


   border: none;
   -webkit-border-radius: 4px;
   border-radius: 4px;


   border: 1px solid rgb(121, 121, 121);

   -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;
   -moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;
   box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;

   padding: 3px 6px;
   margin: 2px;
}


.button:hover
{
   background-color: #777;
   background: -webkit-linear-gradient(top, #e8e8e8, #8d8d8d);
   background:    -moz-linear-gradient(top, #e8e8e8, #8d8d8d);
   background:     -ms-linear-gradient(top, #e8e8e8, #8d8d8d);
   background:      -o-linear-gradient(top, #e8e8e8, #8d8d8d);
   background:         linear-gradient(to bottom, #e8e8e8, #8d8d8d);

   color: #fff;

   -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;
   -moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;
   box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;
}


.button:disabled
{
   background-color: #ddd;

   color: #aaa;
}

.status_line
{
   clear: both;
   left: 0;

   font-size: 90%;
   color: #777;
   margin: 1em 0 0 0;
}

.statusline_outside
{
}

/** info box for the demo ***/

.info_bar
{
   clear: both;
    /*float: right;*/
   width: 80%;

   background-color: #DFF7FB;
   background-color: #f4f4f4;
   color: #888;

   border-radius: 3px;

   font-size: 13px;

   padding: 1em 2em;
   margin: 2em auto 4em auto;

   line-height: 16px;
   box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.3);
}

.info_bar ul

{
   line-height: 16px;
   padding-left: 3em;
}

.info_bar li
{
   /*list-style-type: decimal;*/
   list-style-type: initial;
   background-image: none;
   padding-left: 0;
   margin-bottom: 10px;
   width: 90%;
}

.info_bar_heading
{
   margin-bottom: 25px;
}

/*** for position on all demos with a central demo box ****************/

#helpButton
{
   position: absolute;
   left: 103%;
   margin: 0em 0 0 0;
}


.flatButton
{
   background-color: #694545;


   font-weight: 600;
   text-align: center;

   padding: 5px 9px;
   margin: 2px;


   border: none;
   -webkit-border-radius: 4px;
   border-radius: 4px;

   -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;
   -moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;
   box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;


   background-image: -webkit-linear-gradient(top right, #F0F0F0, #CACACA);
   background-image:    -moz-linear-gradient(top right, #F0F0F0, #CACACA);
   background-image:     -ms-linear-gradient(top right, #F0F0F0, #CACACA);
   background-image:      -o-linear-gradient(top right, #F0F0F0, #CACACA);
   background-image:         linear-gradient(top right, #F0F0F0, #CACACA);
   /*filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#f0f0f0', endColorstr='#cacaca');*/
}


flatButton:hover
{
   background-color: #777;
   color: #fff;
}

/*** generally used layout hacks ***/

.clearboth
{
   clear: both;
}
.spacer_20
{
   height: 20px;
}

/***************************/
/* old demo.css styles end */
/***************************/



.bigGauge {
  width: 400px;
  height: 320px;
  display: inline-block;
  margin: 1em;
}

.smallGauge {
  width: 200px;
  height: 160px;
  display: inline-block;
  margin: 1em;
}

.noContainer {
   margin: 0em 0 1em 2em;
   padding: 6em 0 0 0;
}

.bigGaugeContainer {
    width: 400px;
    float: left;
}

.smallGaugeContainer {
    width: 200px;
    /*float: left;*/
    display: inline-block;
}

.sgC {
  text-align: center;
}

.clearAll {
    clear: both;
}


#sumAlarm {
  display: inline-block;
  width: 30px;
  height: 20px;
  border-radius: 12px 12px 12px 12px / 3px 3px 3px 3px;
  background-color: green;
}


#smallGauges {
    width: 400px;

    float: left;
    margin: 2em 0 0 2em;
}

#gauges {

}

/* page switching styles */

.page {
   /* page not displayed as default */
   display: none;
}

.page.shown {
   display: inherit;
}

.bigButton {
   font-size: 24px;
   padding: 8px 15px;
}

.switcher {

}

.permanentDisplay {
    text-align: center;
   
    margin-top: 2em;
}

/* crates counter page */

.crateCounterContainer {
   font-size: 50px;
   text-align: center;
}

#crateCounter {
   font-size: 130%;
   transition: all 2s ease;
}

#crateCounterLabel {

}

#cratesDisplay {
    margin-top: 2em;

}

#cratesDisplay img {
   opacity: 0;
   transition: all 0.5s ease;
}


#cratesDisplay img.shown {
   opacity: 1;
   transition: all 0.5s ease;
}



/* four crates counter page */

.fourCratesDisplay {
   display: table;
   margin: 1em auto 1em auto;
}

.fourCratesDisplay > div {
   display: table-row;
}

.fourCratesDisplay > div > div {
   display: table-cell;
   position: relative;
}

.fourCratesDisplay span {
    position: absolute;
   
    top: 7px;
    left: 11px;
    font-size: 30px;
}

.fourCratesDisplay img {
   opacity: 0;
   transition: all 0.5s ease;
}

.fourCratesDisplay img.shown {
   opacity: 1;
   transition: all 0.5s ease;
}

#fourCratesCounterContainer img {
    width: 182px;

}