/* Styles specific to disease lab */

div.diseaseLab .navbar .current {
    background-color: #DD5654;
}
div.habLab .navbar .current a {
    color: #fff;
}
div.diseaseLab .navbar .current:hover,
div.diseaseLab .navbar .current.hover {
    background-color: #DB2929;
}

div.sideBySide {
    padding-bottom: 0;
}

th, td {
    border-bottom: none;
}

label span {
    font-size: 1em;
    color: inherit;
}

.navbar li.pulldownHolder {
    padding-left: 1em;
    padding-right: 0;
}

div.diseaseLeftSide, div.diseaseRightSide {
    display: inline-block;
    vertical-align: top;
    position: relative;
/*    background-color: #dadada; */
}

div.diseaseLeftSide {
    width: 28em;
    margin-right: 2.5em;
}

#simControlsTank {
    background-color: #efefef;
    border-radius: 0.75em;
    margin-bottom: 1em;
    padding: .5em .75em 0 .75em;
    display: inline-block;
}

#simControls th {
    font-weight: bold;
    font-style: italic;
}
#simControls button i {
    color: #cc6600;
    margin-left: .5em;
    float: right;
}
#simControls, #status {
    width: auto;
}
#simControls {
    margin-bottom: 0.5em;
}
#simControls button {
    width: 7em;
    margin-left: 0;
}
#simControls .ui-state-default {
    background: none;
}
#simControls .ui-selectmenu-button {
    margin: 0;
    background-color: #ffffff;
}
.cvirus, #virusSelect, .vaccine {
    display: none;
}
#fieldLegend td {
  width: 33%;
}

#status #day {
    font-size: 1.4em;
    font-style: italic;
    padding-right: 1em;
    padding-left: 0;
}
th, td {
    font-size: 1em;
}
#status td, #status th {
    padding: 0 10px;
}

#runControls i {
    margin-right: 0.3em;
}
#runControls {
    display: inline-block;
}

#runControls, #simControlsTank {
    margin-bottom: 2em;
    vertical-align: top;
}

#statusTank {
    float: right;
    /* margin-bottom: 1em; */
}
#fieldLegend {
    font-size: 0.85em;
    width: 100%;
    margin-bottom: 0;
}
#fieldLegend td {
    text-align: center;
    padding: 4px 0 0 0;
}

#plotPopDiv {
    position: relative;
    width: 100%;
    min-height: 365px;
}

#peopleDiv {
    width: 100%;
    height: 100%;
    background-color: #efefef;
    /* border: 2px solid #999999; */
    border-radius: 0.75em;
    display: block;
    clear: right;
}
#peoplePlex {
    min-width: 350px;
    min-height: 300px;
}
#peopleCanvasDiv {
  width: 100%;
  height: 100%;
  position: relative;
}
#inertCanvas, #wiggleCanvas {
    width: 100%;
    height: 100%;
}
#wiggleCanvas {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
}
canvas.legendDot {
  display: inline-block;
  height: 1em;
  width: 2em;
  vertical-align: middle;
  margin-right: 0;
}
.stack {
    margin-top: 2em;
}


/* rangeslider */
div.rangeslider {
    margin-bottom: .1em;
}

.rangeslider,
.rangeslider__fill {
  background: #e6e6e6;

  display: block;
  height: 6px;
  width: 10em;
  margin: 0 auto;
  -moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
.rangeslider .lastValMarker {
  display: block;
  background: #808080;
  position: absolute;
  top: -3px;
  left: 8em;
  height: 12px;
  width: 3px;
}

.rangeslider {
  position: relative;
}

.rangeslider--disabled {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  opacity: 0.4;
}

.rangeslider__fill {
  background: #808080;
  position: absolute;
  top: 0;
}

.rangeslider__handle {
  background: #6FA800;
  border: 1px solid #505050;
  cursor: pointer;
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: -7px;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjAiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4xIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(0, 0, 0, 0.1)));
  background-image: -moz-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
.rangeslider__handle.warn {
  background: #FFCC00;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 204, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.1)));
  background-image: -moz-linear-gradient(rgba(255, 204, 0, 0), rgba(0, 0, 0, 0.1));
  background-image: -webkit-linear-gradient(rgba(255, 204, 0, 0), rgba(0, 0, 0, 0.1));
  background-image: linear-gradient(rgba(255, 204, 0, 0), rgba(0, 0, 0, 0.1));
}
.rangeslider__handle:after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjEzIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.13)), color-stop(100%, rgba(255, 255, 255, 0)));
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

.rangeslider__handle:active {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjEiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4xMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, rgba(0, 0, 0, 0.12)));
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
}

input[type="range"]:focus + .rangeslider .rangeslider__handle {
  -moz-box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
  -webkit-box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
  box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
}

/* popups */

#diseaseDetailPanel, #cvirusDetailPanel {
    display: none;
}
input.small {
    width: 4em;
    text-align: center;
}
input.medium {
    width: 10em;
}

.ui-widget-header {
    background: none repeat scroll 0 0 #dd5654;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.ui-dialog .ui-dialog-content {
    padding: 0.5em;
}
.popupEndButtons {
    font-size: 0.9em;
    margin-right: 8px;
}
.popupEndButtons button {
    margin-left: 6px;
}

.detailTable td {
    text-align: left;
    font-size: 1em;
    padding: 7px 4px;
}

/* plotstuff */

table.jqplot-table-legend {
    width: 8em;
    font-size: 1.05em;
    border: 1px solid #999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
div.jqplot-table-legend-swatch-outline {
    width: 16px;
    height: 14px;
}
table.jqplot-table-legend {
    margin: 4px 5px;
}
td.jqplot-table-legend-swatch {
    padding: .2em .4em !important;
}
td.jqplot-table-legend-label {
    padding: 0em .2em !important;
}
td.jqplot-table-legend {
    vertical-align: middle;
    font-size: .95em;
    padding-bottom: 0;
}
table.jqplot-table-legend {
    font-size: .95em;
}
.jqplot-title {
  text-align: right;
  font-weight: bold;
  font-style: italic;
  font-size: 1.2em;
  padding-right: 0.8em;
  top: 0.1em !important;
}

.jqplot-target {
    color: #333;
    font-family: "Arimo",arial,verdana,sans-serif;
    font-size: 1em;
    position: relative;
}
.jqplot-highlighter-tooltip, .jqplot-cursor-tooltip {
    font-size: .9em;
    padding: 0 0.5em 0 0.4em;
    background-color: #ffffff; /* #C0FF9B; */
    border: 1px solid #999999;
    z-index: 10;
}

@media all and (max-height: 800px) {
    #simParamsTitle {
        display: none;
    }
    #simControlsTank {
        margin-bottom: 1em;
    }
    div.sideBySide {
        padding-top: 1%;
    }
}
@media all and (max-width: 940px) {
    div.diseaseLeftSide {
        margin-right: .5em;
    }
    .indent {
      padding-left: 2%;
      padding-right: 2%;
    }
}
@media all and (max-width: 850px) {
    span.population {
      display: none;
    }
}
@media all and (max-width: 610px) {
    .hablinkText {
        display: none;
    }
}
@media all and (max-width: 460px) {
    .navbar .current {
        width: 100%;
        border-bottom-right-radius: 0;
    }
    .indent {
        padding-left: 0;
        padding-right: 0;
    }
}
@media all and (max-width: 420px) {
    div.diseaseLeftSide, .ui-dialog {
      width: 100% !important;
      font-size: 0.9em;
    }
    #simControls td:first-child {
      width: 24%;
    }

    .rangeslider {
        display: none;
    }
}
@media all and (max-width: 380px) {
    #simControls i {
      display: none;
    }
    #simControls button {
      width: 5em;
    }
}

