/*
A custom Bootstrap 3.2 theme: ofallthings
*/

body {
    width: 100%;
    font-family: "Montserrat", sans-serif;
    color: #000;
}

li {
    list-style-type: none;
    padding: 0 0 0 2em;
}

h1 {
    font: 20px/36px 'Montserrat', sans-serif;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-align: center;
    clear: both;
}

p {
    padding: 10px;
}

h2 {
    font: 16px/28px 'Montserrat', sans-serif;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    clear: both;
}

h3 {
    font: 14px/20px 'Montserrat', sans-serif;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    clear: both;
}

hr {
    clear: both;
}

/* hide jquery mobile loading text */
.ui-loader {
    display: none;
}

#scene_control_left {
    float: left;
    display: inline-block;
    padding-top: 1px;
    margin: 0;
}

#project-name {
    display: inline-block;
    float: left;
    font-weight: bold;
    width: 160px;
    margin: 0;
}


#scene_control_right {
    float: left;
    display: inline-block;
    padding-top: 1px;
    margin: 0;
}

#logo, #about, #read_story, #the_team {
    display: none;
}

.page-container {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* negative indent footer by its height */
    margin: 0 auto -120px;
    /* pad bottom by footer height */
    padding: 0 0 120px;
}


.text-center {
    padding-top: 20px;
}


/* theme */
.btn, .form-control, .alert, .progress, .panel, .list-group, .well, .list-group-item:first-child {
    border-radius: 1px;
    box-shadow: 0 0 0;
}

.btn {
    border-color: transparent;
}

.btn-default, .well {
    background-color: #cccccc;
    border-color: #c0c0c0;
}

.btn-primary, .label-primary, .list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus, .btn.active, a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
    background-color: #0099CC;
    border-color: transparent;
}

.btn-info, .label-info, .progress-bar-info {
    background-color: #33b5e5;
}

.btn-success, .label-success, .progress-bar-success {
    background-color: #669900;
}

.btn-danger, .label-danger, .progress-bar-danger {
    background-color: #FF4444;
}

.btn-warning, .label-warning, .progress-bar-warning {
    background-color: #FFBB33;
    color: #444444;
}

.nav-tabs > li > a {
    border-radius: 0;
}

h3, h4, h5, .panel {
    color: #555555;
}

.panel hr {
    border-color: #efefef;
}


#controls li {
    padding: 2px;
    float: left;
    clear: left;
    text-align: center;
}

#controls li a {
    font-size: 0.8em;
    display: inline-block;
    float: left;
    clear: left;
}


.topButton {
    float: left;
    color: silver;
}

.topButton i {
    display: none;
    float: left;
    color: silver;
}


#sound-progress {
    margin-top: 0.6em;
    display: inline-block;
    padding: 4px;
}


#main {
    width: 100%;
    height: 80%;
    border-width: 1px;

}

#controls {
    display: none;
    top: 0;
    left: 0;
    position: fixed;
}

.panel-heading {
    height: 3.3em;
}

div.panel-body {
    height: 32em;

}

div.panel.panel-default {
    height: 100%;
    overflow: auto;
}


a {
    color: #8a1201;
    font-size: 1em;
    text-decoration: none;
}

a hover {
    color: #d12101;
    font-weight: bold;
    font-size: 1em;
    text-decoration: none;
}


img.leftFloat {
    display: inline-block;
    padding: 1em;
    float: left;
}

img.rightFloat {
    display: inline-block;
    padding: 2em;
    float: right;
}

div.coverAll {
    width: 100%;
    z-index: 50;
    position: fixed;
    top: 20%;
}

#footer {
    width: 100%;
    position: fixed;
    bottom: 35px;
}

div.coverAll img, div.coverAll p {
    width: 40%;
    text-align: right;
    font-size: 16px;
    line-height: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: auto auto;
}

#footer p {
    font-family: Helvetica, Arial, sans-serif;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.5);
}

div.coverAll p span {
    color: #9900cc;
}


/******************************************************************
** SLIDES *********************************************************
******************************************************************/

/* slide menu container */
#slide_div {
    position: absolute;
    z-index: 50;
    width: 100%;
    display: none;
}

/* slide buttons */
#slideBtns {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
}

#slideBtns li {
    width: 140px;
    height: 42px;
    padding: 0;
    margin: 0 8px;
    text-align: center;

    float: left;
    background: #ffffff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#slideBtns li#dataSlideBtn {
    width: 280px;
}

#slideBtns.nav > li > a:hover, #slideBtns.nav > li > a:focus {
    border-radius: 10px;
}

/* slide backgrounds */
#slideBgs {
    position: absolute;
    margin: 0;
    top: -450px;
}

#slideBgs li {
    width: 140px;
    height: 400px;
    top: -12px;
    padding: 0;
    margin: 0 8px;
    text-align: center;
    opacity: 60%;
    float: left;
    background: #ffffff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#slideBgs #li_stains_bg {
    height: 520px;
    top: -50px;
    /*top: -492px;*/
}

#slideBgs #li_simulation_bg, #slideBgs #li_settings_bg {
    height: 300px;
    top: -250px;
}


#slideBgs #li_data_bg {
    width: 280px;
    height: 580px;
    top: -530px;
}

/* slide surfaces */
#slides {
    margin: 0;
}

#slides.nav > li > a {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
}

#slides li {
    height: 450px;
    top: -442px;
    opacity: 70%;
    padding: 0;
    width: 120px;
    margin: 0 18px;
    text-align: center;
    float: left;
    background: transparent;
}

#slides li#li_data {
    width: 260px;
    /*margin: 0 13px;*/
}

#slides li#li_data label {
    float: left;
}

#slides hr {
    /*height: 2px;*/
    border: 1px #000 solid;
    margin: 5px 44px;
}

#slides #li_stains hr {
    /*border-color: #8007EA;*/
}

#slides #li_data {
    height: 580px;
    top: -530px;
}


/******************************************************************
** CHECKBOXES / RADIO BUTTONS *************************************
******************************************************************/

/**
 *
 * dropdown checkboxes and radioboxes
 * - customised - https://www.w3schools.com/howto/howto_css_custom_checkbox.asp
 */

/* Customize the label (the container) */
.container {
    display: block;
    position: relative;

    cursor: pointer;
    width: 100px;
    margin: 10px 15px;
    padding: 0;
    text-align: center;
    float: left;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container input, .container button {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    /*position: absolute;*/
    text-align: center;
    /*top: 0;*/
    /*left: 0;*/
    height: 50px;
    width: 50px;
    border-radius: 5px;
    background-color: #333;
    /*border: 1px black dotted;*/
    float: left;
    margin: 0 25px;
}

.checkmark_radio {
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark, .container:hover button ~ .checkmark {
    background-color: #666;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark, .container button:active ~ .checkmark {
    background-color: #666;
    border: solid white;
    opacity: 100%;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
/*.container input:checked ~ .checkmark:after {*/
/*  display: block;*/
/*}*/

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Create a custom checkbox */
#li_layers .checkmark {
}

/* On mouse-over, add a grey background color */
#li_layers .container:hover input ~ .checkmark {
}

/* When the checkbox is checked, add a blue background */
#li_layers .container input:checked ~ .checkmark {
}

/* Style the checkmark/indicator */
#li_layers .container .checkmark:after {
}

/* Create a custom checkbox */
#li_stains .checkmark_radio {
}

#li_stains .violet { /* algae */
    background-color: #8007ea;
}

#li_stains .blue { /* river */
    background-color: #EEEEEE; /* 60bdc3; */
}

#li_stains .fluoro { /* mayfly */
    background-color: #aff408;
}

#li_stains .rose { /* carp */
    background-color: #E8DC4D; /* ef5192; */
}

/* On mouse-over, add a grey background color */
#li_stains .container:hover input ~ .checkmark_radio {
}

/* When the checkbox is checked, add a blue background */
#li_stains .container input:checked ~ .checkmark_radio {
}

/* Style the checkmark/indicator */
#li_stains .container .checkmark_radio:after {
}

/* Create a custom checkbox */
#li_simulation .checkmark {
}

#li_simulation .sim_active {
    background-color: #F7E506;
}

#li_simulation .sim_add_food {
    background-color: #769B10;
}

#li_simulation .sim_heat_microbes {
    background-color: #F78F06;
}

/* On mouse-over, add a grey background color */
#li_simulation .container:hover input ~ .checkmark, #li_simulation .container:hover button ~ .checkmark {
}

/* When the checkbox is checked, add a blue background */
#li_simulation .container input:checked ~ .checkmark, #li_simulation .container button:active ~ .checkmark {
}

/* Style the checkmark/indicator */
#li_simulation .container .checkmark:after {
}

/* Create a custom checkbox */
#li_data .checkmark {
    background-color: #000;
    /*border: 1px black dotted;*/
}

/* On mouse-over, add a grey background color */
#li_data .container:hover input ~ .checkmark {
    background-color: #222;
}

/* When the checkbox is checked, add a blue background */
#li_data .container input:checked ~ .checkmark {
    background-color: #eee;
    border: solid white;
}

/* Style the checkmark/indicator */
#li_data .container .checkmark:after {
    border: solid white;
}


/******************************************************************
** DATA LAYER *****************************************************
******************************************************************/
.data_label {
    font-size: 50px;
    font-weight: bold;
    line-height: 25px;
}

.data_value {
    font-weight: bold;
    font-size: 180px;
    line-height: 100px;
}

.data_direction {
    font-size: 100px;
}

.up {
    color: #06B216;
}

.down {
    color: #F70B0B;
}

.data_units {
    font-size: 40px;
    font-weight: bold;
}

.data_comment, .data_stats {
    font-size: 16px;
    line-height: 12px;
    vertical-align: top;
}

#data_display {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    font: 64pt 'Montserrat', sans-serif;
    color: #fff;
    height: 100%;
    width: 100%;
}

#storedpower_display, #stackpower_display, #humidity_display,
#stackvoltage_display, #time_display, #labtemp_display,
#mfc_display, #autoflush_display, #current_display, #feedrate_display {
    position: absolute;
    text-align: right;
    display: none;
}

#storedpower_display { /*is now accum energy*/
    right: 170px;
    bottom: -50px;
}

#time_display {
    left: 5px;
    top: 5px;
    line-height: 0px;
}

#time_display .data_value, .data_unit {
    font-size: 0.7em;
}

#humidity_display {
    transform: rotate(270deg);
    text-align: left;
    left: -75px;
    bottom: 120px;
    line-height: 0px;
}

#humidity_display .data_value, .data_direction {
    font-size: 0.8em;
}

#humidity_display .data_label, .data_unit {
    font-size: 0.5em;
    line-height: 0px;
}

#stackvoltage_display {
    right: 180px;
    top: 290px;
    line-height: 5px;
}

#stackvoltage_display .data_value, .data_direction, .data_unit {
    font-size: 120px;
}

#stackvoltage_display .data_label {
    font-size: 40px;
}

#autoflush_display {
    left: 100px;
    top: 150px;
}

#labtemp_display {
    transform: rotate(270deg);
    text-align: left;
    right: 750px;
    bottom: 360px;
    line-height: 0px;
}

#labtemp_display .data_value {
    font-size: 0.9em;
}

#labtemp_display .data_label, .data_unit {
    font-size: 0.4em;
}

#stackpower_display {
    right: 300px;
    top: -15px;
}

#current_display {
    left: 170px;
    bottom: 5px;
}

#feedrate_display {
    left: 190px;
    bottom: 260px;
    line-height: 0px;
}

#feedrate_display .data_value, .data_direction {
    font-size: 0.9em;
}

#feedrate_display .data_label {
    font-size: 0.55em;
}

#feedrate_display .data_unit {
    font-size: 0.4em;
}

#mfc_display {
    right: 10px;
    top: 5px;
    line-height: 30px;
}

#mfc_display .data_value {
    font-size: 0.40em;
    line-height: 10px;
}

#mfc_display .data_unit {
    font-size: 0.30em;
}

#mfc_display .data_direction {
    font-size: 0.3em;
    line-height: 0px;
}

#utubevid {
    margin: 12.5% auto;
    display: block;
}

/* collapsed sidebar styles */
@media screen and (max-width: 767px) {
    .row-offcanvas {
        position: relative;
        -webkit-transition: all 0.25s ease-out;
        -moz-transition: all 0.25s ease-out;
        transition: all 0.25s ease-out;
    }

    .row-offcanvas-right
    .sidebar-offcanvas {
        right: -41.6%;
    }

    .row-offcanvas-left
    .sidebar-offcanvas {
        left: -41.6%;
    }

    .row-offcanvas-right.active {
        right: 41.6%;
    }

    .row-offcanvas-left.active {
        left: 41.6%;
    }

    .sidebar-offcanvas {
        position: absolute;
        top: 0;
        width: 41.6%;
    }

    #sidebar {
        background-color: #3b3b3b;
        padding-top: 0;
    }

    #sidebar .nav > li {
        color: #ddd;
        background: linear-gradient(#3E3E3E, #383838);
        border-top: 1px solid #484848;
        border-bottom: 1px solid #2E2E2E;
        padding-left: 10px;
    }

    #sidebar .nav > li:first-child {
        border-top: 0;
    }

    #sidebar .nav > li > a {
        color: #ddd;
    }

    #sidebar .nav > li > a > img {
        max-width: 14px;
    }

    #sidebar .nav > li > a:hover, #sidebar .nav > li > a:focus {
        text-decoration: none;
        background: linear-gradient(#373737, #323232);
        color: #fff;
    }

    #sidebar .nav .caret {
        border-top-color: #fff;
        border-bottom-color: #fff;
    }

    #sidebar .nav a:hover .caret {
        border-top-color: #fff;
        border-bottom-color: #fff;
    }
}
