@charset "utf-8";
/* CSS Document */


#inventory-spinner
{
    position: absolute;
    top: 11px;
    left: 62px;
}
#cogs-spinner
{
    position: absolute;
    top: 35px;
    left: 480px;
}
.inventory-slider-label
{
    font-family: 'Arial';
    color: #A7A79D;
    font-size: 8pt;
    position:absolute;
    top: 16px;
    text-align: center;
    width: 70px;
    margin-left: -20px;
    cursor: pointer;
    height: 30px;
    background: linear-gradient(to bottom,  #ffffff 0%,#fbfbfc 100%);
    line-height: 28px;
    border: 1px solid #e4e4e4;
    color: #242424;
    font-size: 13px;
    box-sizing: border-box;
}
.inventory-slider-marker
{
    position:absolute;
    top: 0px;
    height: 4px;
    width: 4px;
    margin-left: -2px;
    display: none;
    background-color: #A7A79D;
}

.spinner-table
{
    border-collapse: separate;
    border-spacing: 5px;
}
.spinner-table td
{
    padding: 0px;
}

.spinner-table .label-col
{
    width: 150px;
    font-size: 13px;
    font-weight: bold;
    color: #282821;
}
#cogs-spinner .spinner-table .slider-col {width: 272px;top: 2px;position: relative;}
#inventory-spinner .spinner-table .slider-col {  width: 150px;  }
#cogs-spinner .spinner-table .label-col {width: 52px;}
#inventory-spinner .spinner-table .label-col {width: 160px;left: 146px;position: relative;}

#timeline
{
    position: absolute;
    width: 90%;
    height: 20px;
    top: 370px;
    left: 5%;
}
.year-label
{
    font-size: 7pt;
    font-weight: normal;
    color: #68685F;
    padding-left: 5px;
    line-height: 1.0em;
    font-weight: 700;
    position: relative;
    left: -20px;
}
.month-label
{
    font-size: 8pt;
    font-weight: normal;
    color: #68685F;
    text-align: center;
}
.month-col{ height: 8px; }
.month-col0{ background-color: #E6E6DC; }
.month-col1{ background-color: #CACAC4; }
.today-label
{
    position: absolute;
    width: 40px;
    height: 25px;
    font-size: 9pt;
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    margin-left: -20px;
    top: -22px;
    background: url(../assets/today-back.png) no-repeat;
}

.timeline-controls {
    display: inline-block;
    vertical-align: top;
    margin: 44px;
    margin-top:2px;
    margin-right: 16px;
    position: relative;
    top: 15px;
}
.timeline-controls .button {
    display: inline-block;
    background: #ddd;
    background: -moz-linear-gradient(top,  #ffffff 0%, #fbfbfc 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#fbfbfc 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#fbfbfc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fbfbfc',GradientType=0 ); /* IE6-9 */
    font-size: 10px;
    text-align: center;
    border: 1px solid #e4e4e4;
    color: #333;
    width: 35px;
    height:17px;
    margin: 0px -2px;
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: center;
    cursor: pointer;
}

.timeline-controls .timeline-speed-controls > .button.selected {
    background: #c8caca;
}
.timeline-controls .timeline-play-pause {
    background: #ffffff; /* Old browsers */
    background: center no-repeat url("../assets/play.png");
    background: center no-repeat url("../assets/play.png"), -moz-linear-gradient(top,  #ffffff 0%, #fbfbfc 100%); /* FF3.6-15 */
    background: center no-repeat url("../assets/play.png"), -webkit-linear-gradient(top,  #ffffff 0%,#fbfbfc 100%); /* Chrome10-25,Safari5.1-6 */
    background: center no-repeat url("../assets/play.png"), linear-gradient(to bottom,  #ffffff 0%,#fbfbfc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fbfbfc',GradientType=0 ); /* IE6-9 */
    background-size: 12px, 100%;
    width: 71px;
    height: 26px;
    margin-right: 2px;
}
.timeline-controls .timeline-play-pause.selected {
    background: center no-repeat url("../assets/pause.png");
    background-color: #c3c5c5;
    background-size: 12px, 100%;
}
.timeline-controls .timeline-reset {
    background: #ffffff; /* Old browsers */
    background: center no-repeat url("../assets/reset.png");
    background: center no-repeat url("../assets/reset.png"), -moz-linear-gradient(top,  #ffffff 0%, #fbfbfc 100%); /* FF3.6-15 */
    background: center no-repeat url("../assets/reset.png"), -webkit-linear-gradient(top,  #ffffff 0%,#fbfbfc 100%); /* Chrome10-25,Safari5.1-6 */
    background: center no-repeat url("../assets/reset.png"), linear-gradient(to bottom,  #ffffff 0%,#fbfbfc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fbfbfc',GradientType=0 ); /* IE6-9 */
    background-size: 14px, 100%;
    width: 31px;
    height: 26px;
}

#pie-graph
{
    position: absolute;
    width: 160px;
    height: 160px;
    top: 410px;
    left: 54px;
}
#turns-holder
{
    position: absolute;
    width: 116px;
    height: 96px;
    top: 440px;
    left: 245px;
    color: #FFFFFF;
    background-color: #FBB040;
    text-align: center;
    font-weight: bold;
}
#turns-value
{
    font-size: 30pt;
    line-height: 1.4em;
}
#turns-label
{
    font-size: 12pt;
    line-height: 1.1em;
}

.img-btn
{
    position: absolute;
    display: block;
    background: #ddd;
    background: -moz-linear-gradient(top,  #ffffff 0%, #fbfbfc 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#fbfbfc 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#fbfbfc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fbfbfc',GradientType=0 ); /* IE6-9 */

    font-size: 10px;
    text-align: center;
    border: 1px solid #cccccc;
    color: #333;
    width: 46px;
    height: 31px;
    margin: -2px -1px;
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: center;
    cursor: pointer;
}

.img-btn.selected
{
    border: 1px solid black;
    background: black;
    color: white;
}

.start-btn
{
    top: 0;
    left: 0;
    background: #ffffff; /* Old browsers */
    background: center no-repeat url("../assets/play.png");
    background: center no-repeat url("../assets/play.png"), -moz-linear-gradient(top,  #ffffff 0%, #fbfbfc 100%); /* FF3.6-15 */
    background: center no-repeat url("../assets/play.png"), -webkit-linear-gradient(top,  #ffffff 0%,#fbfbfc 100%); /* Chrome10-25,Safari5.1-6 */
    background: center no-repeat url("../assets/play.png"), linear-gradient(to bottom,  #ffffff 0%,#fbfbfc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fbfbfc',GradientType=0 ); /* IE6-9 */

    background-size: 40%, 100%;
}
.start-btn.disabled
{
    background: center no-repeat url("../assets/pause.png");
    background-color: #c3c5c5;
    background-size: 40%, 100%;
}
.reset-btn
{
    top: 0;
    left: 52px;
    background: #ffffff; /* Old browsers */
    background: center no-repeat url("../assets/reset.png");
    background: center no-repeat url("../assets/reset.png"), -moz-linear-gradient(top,  #ffffff 0%, #fbfbfc 100%); /* FF3.6-15 */
    background: center no-repeat url("../assets/reset.png"), -webkit-linear-gradient(top,  #ffffff 0%,#fbfbfc 100%); /* Chrome10-25,Safari5.1-6 */
    background: center no-repeat url("../assets/reset.png"), linear-gradient(to bottom,  #ffffff 0%,#fbfbfc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fbfbfc',GradientType=0 ); /* IE6-9 */
    background-size: 46%, 100%;
}


.bar-graph
{
    position: absolute;
    width: 540px;
    padding: 0px;
}
#days-bar-graph{top: 430px;left: 405px;}
#turnover-bar-graph{top: 500px;left: 405px;}

.bar-graph .title
{
    display: inline-block;
    vertical-align: top;
    width: 100px;
    height: 50px;
    font-size: 12pt;
    /*line-height: 25px;*/
    font-weight: bold;
    padding-top: 8px;
    color: #000;
    position: relative;
    left: 26px;
}
.bar-graph .formula
{
    display: inline-block;
    vertical-align: top;
    width: 120px;
    height: 50px;
    font-size: 10pt;
    color: #000;
    /* background: url(../assets/formula-back.png); */
    background-repeat: no-repeat;
    position: relative;
    left: 18px;
}
.bar-graph .graph
{
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 270px;
    height: 50px;
    font-size: 13pt;
    color: #FFF;
}
.bar-graph .formula .formula-holder
{
    display: inline-block;
    text-align: center;
    margin-left: 0px;
    margin-top: 3px;
}
.fraction, .numerator, .denominator, .constant
{
    font-size: 10.5pt;
    /*font-weight: bold;*/
    line-height: 1.4em;
}
.fraction
{
    display: inline-block;
    text-align: center;
    padding: 2px 0px 0px 4px;
    vertical-align: middle;
}
.constant
{
    display: inline-block;
    padding: 0px 0px;
    vertical-align: middle;
}
.numerator
{
    padding: 0px 5px;
    display: block;
}
.denominator
{
    padding: 0px 5px;
    border-top: 1px solid #000000;
    display: block;
}

.graph-value
{
    position: absolute;
    width: 70px;
    text-align: right;
    font-size: 14pt;
    font-weight: bold;
    line-height: 1.4em;
    color: #FFFFFF;
    top: 13px;
    margin-left: -4px;
    left: 0px;
}
#turnover-bar-graph .graph-value.right
{
    text-align: left;
    color: #000000;
    margin-left: 4px;
}

.inventory-holder
{
    position: absolute;
    background: url(../assets/inventory-back.png);
    top:80px;
    left: 0;
    width: 100%;
    height: 263px;
    background-position: bottom;
    background-repeat: no-repeat;
}
#inventory-view{position: absolute;top: 46px;left: 364px;height: 220px;width: 250px;}
.box
{
    position: absolute;
    width: 43px;
    height: 36px;
    background: url("../assets/box-back.png");
}
.box.blue{background-position: 0px -35px;background-position-y: -35px;}
.box.green{background-position: 0px -72px;background-position-y: -72px;}
.box.mark{ background-position: 0px -60px; background-position-y: -60px; }

#character-view
{
    position: absolute;
    width: 210px;
    height: 135px;
    top: 120px;
    left: 650px;
}
.character
{
    position: absolute;
    width: 66px;
    height: 135px;
    top: 0px;
    left: 0px;
    background: url("../assets/character.png");
    background-position: 0px 0px;
    background-repeat: no-repeat;

}
.character.blue{ background-position: -66px 0px; background-position-x: -66px; }
.character.green{ background-position: -132px 0px; background-position-x: -132px; }

#truck-view
{
    position: absolute;
    width: 300px;
    height: 153px;
    top: 110px;
    left: 20px;
    overflow: hidden;
}
.truck
{
    position: absolute;
    width: 236px;
    height: 153px;
    top: 0px;
    left: 0px;
    background: url("../assets/truck.png");
    background-position: 0px 0px;
    background-repeat: no-repeat;

}
.truck.blue{ background-position: -236px 0px; background-position-x: -236px; }
.truck.green{ background-position: -472px 0px; background-position-x: -472px; }

.day-count-view
{
    position: absolute;
    width: 185px;
    height: 25px;
    padding: 5px;
    padding-left: 10px;
    top: 20px;
    left: 300px;
    background-color: #AA0532;
    font-size: 10pt;
    line-height: 25px;
    color: #FFFFFF;
}

.day-count
{
    font-size: 14pt;
    font-weight: bold;
}

.day-count-canvas
{
    position: absolute;
    width: 300px;
    height: 300px;
    top: 0px;
    left: 0px;
    z-index: 1000;
}

#inventory-spinner.disabled,#cogs-spinner.disabled {
    pointer-events: none;
    opacity: 0.7;
}

#inventory-slider {
  background: transparent;
  border: 0px;
}

#inventory-slider .slider_callout_black40 {
  display: none;
}

#inventory-slider a.ui-slider-handle.ui-state-default.ui-corner-all {
  display: none;
}

.inventory-slider-label.label-1000 {
  left: 0px;
}

.inventory-slider-label.label-2000 {
  left: 69px;
}

.inventory-slider-label.label-3000 {
  left: 138px;
}

a.ui-slider-handle.ui-state-default.ui-corner-all {
  cursor: pointer;
}

.slider_text {
  font-size: 14px !important;
  margin-top: 15px;
  /*position: relative;*/
  /*top: 2px;*/
}

#cogs-spinner .slider_text.slider_callout_black40.slider-callout-gradient {
  width: 54px;
  height: 24px;
  margin-left: -28px;
  margin-top: -3px;
}

.inventory-slider-label.selected {
  background: linear-gradient(to bottom,  #b9bdbe 0%,#c9caca 100%);
}

.top-header {
  height: 92px;
  border-bottom: 1px solid #cfcfcf;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header-container {
  height: 100px;
  overflow: hidden;
}

.year-label::after {
  content: '';
  width: 1px;
  height: 21px;
  background: #68685F;
  position:absolute;
  left:19px;
  bottom:calc(100% + 5px);
}

#days-bar-graph .graph-value {
  margin-left: -4px;
}

#turnover-bar-graph .graph-value.right {
  margin-left: 60px;
  color: black;
}

#days-bar-graph .graph::after {
  content:'';
  position: absolute;
  top: 0px;
  left: 0px;
  height: 120px;
  width: 1px;
  background: #68685f;
  z-index: 2;
}

#days-bar-graph b {position: relative;}

.mid-dot {
  display: inline-block;
  position: relative;
  transform: scale(1.25) translate(0, 0.7px);
  padding-left: 1px;
}

#turnover-bar-graph .formula {
  left: 36px;
}

.ui-state-disabled {
  pointer-events: none;
}

#days-bar-graph .graph-value.right {
  margin-left: 80px;
  color: black;
  text-align: left;
}