
* {
    box-sizing: border-box;
}

.container-parent {
    width: 100%;
    height: 100%;
    float: left;
}

.chart-container {
    width: 100%;
    height: calc(100% - 1.1em - 0.5em);
    float: left;
}

.chart-container:only-child {
    height: 100%;
}

.read-size-here {
    display: table;
    height: 100%;
    vertical-align: middle;
    width: 100%;
}

.footer-container {
    width: 100%;
    height: 1.1em;
    float: left;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    /*font-size: 1.4em;*/
    font-size: 36px;
    /* @see *https://www.w3.org/TR/REC-CSS1/#url*/
    background-color: transparent;
    /* background: #0082c8 url(browser-bg.png) no-repeat center center fixed; */
    /*@TODO @Vassilis */
    background-size: 100% 100%;
    margin: 0;
}

/*
* The add-in replaces the minified body styling just above, with the one below.
* Unfortunately, the add-in crashes or is unable to load the webgraphs if it cannot find the exact minified string... Well programmed mate...
* So at some point next year we can use the below CSS and remove the above one.
* (this adds the overflow-x/y and changes font-size from 36px to 2.3vw)
*/
future_body {
    overflow-y: hidden;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.3vw;
    /* @see *https://www.w3.org/TR/REC-CSS1/#url*/
    background-color: transparent;
    /* background: #0082c8 url(browser-bg.png) no-repeat center center fixed; */
    /*@TODO @Vassilis */
    background-size: 100% 100%;
    margin: 0;
}


.buttons {
    margin-bottom: .5em;
}

/**
 * Addaptation of {@link https://www.w3schools.com/howto/howto_css_switch.asp}
 */
/* The switch - the box around the slider */
.switch, .counter, .counter-label {
    position: relative;
    display: inline-block;
    width: 4.9em;
    height: 1.2em;
}
.counter {
    width: 2.6em;
}
.counter-label {
    width: 3.1em;
}
.detractors-label, .passives-label, .promoters-label {
    width: 4.5em;
}
.counter, .counter-label, .detractors, .detractors-label, .passives, .passives-label, .promoters, .promoters-label {
    float: right;
    margin-left: 0.2em;
}
.detractors-label, .promoters-label {
    float: right;
    margin-right: 0.5em;
}
/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider, .blue-box, .green-box, .red-box, .yellow-box, .invisible-box {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2DAD83;
    -webkit-transition: .4s;
    transition: .4s;
    line-height: 1.15em;
}
.blue-box {
    background-color: #5A82FA;
    color: white;
    text-align: center;
    font-size: calc(1em / 1.1);
    font-weight: bold;
    line-height: 1.4em;
}
.red-box {
    background-color: #E44A25;
    color: white;
    text-align: center;
    font-size: calc(1em / 1.1);
    font-weight: bold;
    line-height: 1.4em;
}
.yellow-box {
    background-color: #F9AF19;
    color: white;
    text-align: center;
    font-size: calc(1em / 1.1);
    font-weight: bold;
    line-height: 1.4em;
}
.green-box {
    background-color: #2DAD83;
    color: white;
    text-align: center;
    font-size: calc(1em / 1.1);
    font-weight: bold;
    line-height: 1.4em;
}
.invisible-box {
    background-color: transparent;
    color: white;
    font-size: calc(1em / 1.1);
    font-weight: bold;
    line-height: 1.4em;
}

/* initially set no content */
.slider:before {
    position: absolute;
    content: "";
    height: 1.05em;
    width: 1.05em;
    left: 0.15em;
    bottom: 0.15em;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #E44A25;
}

input:focus + .slider {
    box-shadow: 0 0 1px #E44A25;
}

input:checked + .slider:before {
    -webkit-transform: translateX(4em); /* calc(4.1em - 0.95em + 0.075em)); */
    -ms-transform: translateX(4em);
    transform: translateX(4em);
}

/* Rounded sliders */
.slider.round, .blue-box.round, .red-box.round, .yellow-box.round, .green-box.round {
    border-radius: 1.1em;
}

.slider.round:before {
    border-radius: 50%;
}

/* Text label in slider */
.slider:before, .slider:after {
    color: white;
    position: absolute;
    font-size: calc(1em / 1.1);
    font-weight: bold;
}
input + .slider:after {
    content: 'Open';
    left: 1.8em;
}
input:checked + .slider:before {
    content: '';
}
input + .slider:before {
    content: ''
}
input:checked + .slider:after {
    content: 'Closed';
    left: 0.5em;
}

/******************************************************************************/

/* on-screen console styles*/
.shell-wrap {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 100;
}

.shell-top-bar {
    text-align: center;
    color: #525252;
    padding: 5px 0;
    margin: 0;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
    font-size: 10px;
    border: 1px solid #CCCCCC;
    border-bottom: none;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background: #f7f7f7; /* Old browsers */
    background: -moz-linear-gradient(top, #f7f7f7 0%, #B8B8B8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #B8B8B8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f7f7f7 0%, #B8B8B8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f7f7f7 0%, #B8B8B8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f7f7f7 0%, #B8B8B8 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f7f7f7 0%, #B8B8B8 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#B8B8B8', GradientType=0); /* IE6-9 */
}

.shell-close-btn {
    color: #777;
    font: 14px/100% arial, sans-serif;
    position: absolute;
    right: 5px;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
    top: 5px;
}

.shell-body {
    margin: 0;
    padding: 5px;
    list-style: none;
    background: rgba(20, 20, 20, 0.8);
    color: #45D40C;
    font: 10px 'Andale Mono', Consolas, 'Courier New', monospace;
    line-height: 10px;
    height: auto;
    overflow: auto;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.shell-body li:before {
    content: '$';
    position: absolute;
    left: 0;
    top: 0;
}

.shell-body li {
    word-wrap: break-word;
    position: relative;
    padding: 0 0 0 15px;
    white-space: pre;
}

