/*
Company: Next Century Corporation
Author: Lochlan Belford
Date: 6/13/2018
*/

#all_layers {
  width: 360px;
  height: 160px;
  padding: 5px;
  margin-bottom: 20px;
}

#content {
  font-size: 1em;
}

#initial-instructions {
  font-size: 1em;
}

#aspire-wrapper {
  text-align: center;
  width: 100%;
  min-height: 90vh;
}

/*
#aspire-wrapper h1 {
    //font-size: 1.75em;
}

#aspire-wrapper p, #aspire-wrapper li {
    //font-size: 1.0em
}

#aspire-wrapper .time-bar p, #aspire-wrapper .time-bar li {
    //font-size: 0.95em
}*/

.aspire-group-wrapper {
  display: inline-block;
  width: inherit;
}

.aspire-group {
  display: none;
  width: 100%;
}

.aspire-group.active {
  display: inline-block;
  text-align: left;
  background: none;
  width: 75%;
}

#volatility-slider.active {
  display: block;
}

.worksheet-section {
  border: 1px solid #66819b;
  background-color: #f6f9fb;
  border-radius: 8px;
  text-align: left;
  margin-top: 3%;
  margin-bottom: 2%;
  display: block;
  padding-left: 2%;
  padding-top: 0.5%;
  padding-bottom: 0.5%;
  /*padding-right: 4%;
    padding-top: 1%;
    padding-bottom: 1%; */
}

.worksheet-section h1 {
  display: inline;
}

.worksheet-section p {
  //font-size: 1.2em;
  margin: 0;
}

.worksheet-section .icon-wrapper {
  display: inline-block;
  width: 10%;
}
.worksheet-section .description-wrapper {
  display: inline-block;
  width: 89%;
  //font-size: 1.2em;
}

.worksheet-section .icon {
  border-radius: 100%;
  height: 30px;
  width: 30px;
  text-align: center;
  color: white;
  display: inline-block;
}

.worksheet-section .icon.safe {
  background-color: green;
}

.worksheet-section .icon.warning {
  background-color: orange;
}

.worksheet-section .icon.critical {
  background-color: red;
}

#time-sentence p {
  display: inline;
  line-height: 2em;
  //font-size: 1.2em;
}

#time-sentence .time-selector {
  display: inline-block;
  line-height: 1.75em;
}

#minute-selector {
  width: 4em;
  line-height: 1.3em;
  //font-size: 1.2em;
  padding-left: 5px;
}

.time-selector {
  width: 5%;
  height: 4%;
  font-style: italic;
  font-weight: bold;
  background: radial-gradient(white 80%, grey 20%);
  border: 2px solid black;
  text-align: center;
  //font-size: 2em;
  cursor: pointer;
}

.time-dropdown {
  display: block;
  position: absolute;
  z-index: 1000;
  max-height: 500px;
  width: 8%;
  overflow-y: scroll;
  text-align: center;
}

.time-option {
  border: 1px solid black;
  text-align: center;
  display: block;
  background-color: white;
  cursor: pointer;
}

.chemical-info-box {
  width: 90%;
  height: auto;
  font-style: italic;
  background-color: beige;
  border: 2px solid black;
  text-align: center;
  display: inline-block;
  margin: 1%;
  padding: 1%;
}

.chemical-info-box.small {
  width: 20%;
}

.chemical-info-box h1 {
  //font-size: 2em;
}

.aspire-button,
.searchbox {
  width: 10%;
  height: 50%;
  /*font-style: italic; */
  background-color: white;
  background: linear-gradient(white, lightgrey);
  border: 1px solid black;
  border-radius: 2px;
  text-align: center;
  display: inline-block;
  margin: 1%;
  padding: 10px;
  cursor: pointer;
}

.aspire-button p,
.searchbox p {
  //font-size: 1em;
  line-height: 1em;
  margin: 0;
}

.search-button {
  padding: 0.2em 0.5em 0.1em 0.5em;
  background-color: white;
  background: linear-gradient(white, lightgrey);
  border: 1px solid black;
  border-radius: 2px;
  text-align: center;
  float: right;
}

.searchbox {
  width: 40%;
}

.searchbox p {
  display: inline-block;
  padding-right: 10px;
  padding-left: 10px;
}

.aspire-button.yes {
  /* background: gradient(white 80%, green 20%); */
}

.aspire-button.no {
  /*background: gradient(white 80%, red 20%); */
}

.aspire-button.selected {
  background-color: grey;
  background: linear-gradient(grey, lightgrey);
}

.worksheet-section .aspire-button {
  width: 40%;
}

.aspire-button h1,
.searchbox h1,
.chemical-info-box h1,
.limit-box h1 {
  //font-size: 2em;
}

.chemical-info-box p,
.tooltip p {
  //font-size: 1.10em;
  margin: 0;
}

.aspire-slider-section {
  width: 100%;
  height: auto;
  display: table;
}

.aspire-slider-section .aspire-slider {
  display: table-cell;
  vertical-align: middle;
}

/* Ignore default slider styles so that they don't interfere with our custom styles */
/* Source: https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/ */

input[type="range"] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type="range"]:focus {
  outline: none; /* Removes the blue border. */
}

input[type="range"]::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent;
  border-color: transparent;
  color: transparent;
}

/* End group */

.aspire-slider-section .aspire-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 15px;
  cursor: pointer;
  background: linear-gradient(to right, darkorange, lightgrey);
  border-radius: 10px;
}

.aspire-slider-section .aspire-slider::-moz-range-track {
  width: 100%;
  height: 15px;
  cursor: pointer;
  background: linear-gradient(to right, darkorange, lightgrey);
  border-radius: 10px;
}

.aspire-slider-section .aspire-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 25px;
  width: 10px;
  border: 1px solid black;
  background: linear-gradient(white, lightgrey);
  border-radius: 5px;
  cursor: pointer;
  margin-top: -5px;
}

.aspire-slider-section .aspire-slider::-moz-range-thumb {
  height: 25px;
  width: 10px;
  background: linear-gradient(white, lightgrey);
  border-radius: 5px;
  cursor: pointer;
  margin-top: 0px;
}

.aspire-slider-section .aspire-slider::-webkit-slider-thumb:hover {
  background: linear-gradient(grey, lightgrey);
}

.aspire-slider-section .aspire-slider::-moz-range-thumb:active {
  background: linear-gradient(grey, lightgrey);
}

.aspire-slider-section .aspire-slider::-ms-fill-lower {
  -ms-appearance: none;
  width: 95%;
  cursor: pointer;
  background: none;
  border-radius: 10px;
}

.aspire-slider-section .aspire-slider::-ms-thumb {
  -ms-appearance: none;
  height: 20px;
  width: 10px;
  background: linear-gradient(white, lightgrey);
  border: 1px solid black;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 0px;
}

.aspire-slider-section .aspire-slider::-ms-thumb:hover {
  background: linear-gradient(grey, lightgrey);
}

.aspire-slider-section .aspire-slider::-ms-thumb:active {
  background: linear-gradient(grey, lightgrey);
}

.aspire-slider-section .aspire-slider::-ms-track {
  background: linear-gradient(to right, darkorange, lightgrey);
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-radius: 10px;
}

.aspire-slider-section .limit-box {
  width: 20%;
  height: auto;
  display: table-cell;
  vertical-align: middle;
}

.tooltip {
  display: none;
}

.aspire-slider-section .tooltip-container {
  position: absolute;
  text-align: center;
  width: 10%;
  height: auto;
  left: 236px;
  top: 640px;
}

.aspire-slider-section .tooltip {
  height: auto;
  font-style: italic;
  background-color: white;
  border: 2px solid black;
  position: absolute;
  text-align: center;
  width: 10%;
  left: 236px;
  top: 640px;
}

.aspire-modal.active {
  position: fixed;
  display: block;
  width: 100vw;
  height: 100vh;
  left: 0vw;
  top: 0vh;
  z-index: 3000;
  background: rgba(100, 100, 100, 0.4);
}

.modal-content {
  position: fixed;
  display: block;
  border-radius: 10px;
  background-color: white;
  width: 50vw;
  height: 66vh;
  left: 22vw;
  top: 17vh;
  padding: 26px 32px;
}

.modal-content .close {
  color: #aaaaaa;
  float: right;
  //font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content .search-results {
  margin: 8px 0px;
  padding: 8px 0px;
  border-top: solid 2px black;
  min-height: 250px;
  min-width: 500px;
}

.modal-content .search-results .substance {
  padding: 10px 20px 5px 20px;
  cursor: pointer;
}

.substance p {
  line-height: 1em;
  margin: 0;
}

.modal-content .search-results .substance:hover {
  border: 1px solid grey;
  background-color: lightgrey;
}

.even {
  background-color: #e5ecf9;
}

.odd {
  background-color: white;
}

#chart-canvas,
#chart-canvas canvas {
  height: 250px;
  width: 500px;
}

#modal-search .modal-content {
  overflow-y: scroll;
}

#guidelines-section,
#action-map-section {
  display: inline-block;
}

#guidelines-section {
  width: 59%;
}

#action-map-section {
  width: 39%;
}

#action-map-section {
  text-align: center;
}

#guidelines-section h1,
#guidelines-section h3,
#guidelines-section p {
}

.primary-action .icon {
  border-radius: 100%;
  height: 20px;
  width: 20px;
  text-align: center;
  color: #2b2b2b;
  display: inline-block;
  background-color: green;
  //font-size: 1em;
}

.primary-action .icon:hover {
  background-color: darkgreen;
}

.primary-action.hidden {
  display: none;
}

.actions {
  display: inline-block;
}

.primary-action {
  padding: 10px;
  text-align: left;
  display: block;
  margin-block-start: 1em;
  margin-block-end: 0em;
  margin-inline-start: 1px;
  margin-inline-end: 0px;
}

.primary-action .icon.expand {
  float: right;
}

.title {
  margin: 0;
  display: inline-block;
  //font-size: 2em;
}

.primary-action .footnote.icon {
  display: inline-block;
  background-color: orange;
  margin-left: 10px;
  margin-right: 20px;
}

.primary-action .footnote.icon:hover {
  display: inline-block;
  background-color: darkorange;
  cursor: default;
}

.action-process,
.sub-action {
  padding-left: 10px;
  margin: 0;
}

.action-process p {
  //font-size: 1.10em;
  display: inline-block;
  margin: 0;
  max-width: 90%;
  vertical-align: top;
}

.action-process {
  width: 100%;
  //font-size: 1.10em;
  vertical-align: top;
  margin-bottom: 10px;
}

#prism-title {
  //font-size: 2.5em;
  margin: 30px 0px 30px 0px;
  text-align: center;
}

.key-message,
.critical-aspects,
.action-process-header {
  font-weight: bold;
  margin-bottom: 15px;
  //font-size: 1.0em;
}

.key-message-text {
  //font-size: 1.0em;
}

.critical-aspects div {
  vertical-align: top;
}

.critical-aspects div div {
  display: inline-block;
  width: 90%;
  padding-left: 10px;
}

.critical-aspects img,
.critical-aspects p {
  font-weight: normal;
  display: inline-block;
  margin: 0;
  vertical-align: middle;
  //font-size: 1.0em;
}

.recommendation-box {
  display: block;
  /*border: 5px solid grey;
    background-color: lightgrey;
    width: 23%;
    height: 175px;
    padding: 0;
    margin: 1px; */
  width: 100%;
  clear: both;
  margin-bottom: 60px;
}

.recommendation-box .recommendation-title {
  padding-left: 10px;
  display: inline-block;
  text-align: left;
  width: 100px;
  font-weight: bold;
}

.recommendation-box .description {
  display: inline-block;
  margin-left: 10px;
  font-size: 1em;
  font-weight: bold;
  text-align: left;
  vertical-align: middle;
}

.recommendation-box .description a {
  //font-size: 1em;
}

.recommendation-box .result-icon {
  padding-right: 10px;
  padding-top: 2px;
  display: inline-block;
  text-align: left;
}

#guidelines-tabs {
  //font-size: 1.8em;
}

.search-type-section {
  display: inline-block;
  width: 30%;
  vertical-align: top;
}

.substance-name-section {
  display: inline-block;
  width: 50%;
}

.substance img {
  display: inline-block;
  vertical-align: top;
}

.instructions {
  text-align: left;
}

.instructions img {
  height: 40px;
  width: auto;
  float: right;
  margin-right: 10px;
  margin-top: 25px;
  margin-bottom: 10px;
}
.instructions ul {
  margin-left: 200px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -moz-appearance: textfield;
  cursor: pointer;
  display: block;
  height: 1.5em;
  text-align: center;
  position: relative;
}

#selected-chemical-box {
  position: relative;
  left: 10px;
}

#selected-chemical-box .searched-name-section {
  display: inline-block;
  //font-size: 1.30em;
  margin: 5px;
}

#selected-chemical-box .alias-section {
  display: inline-block;
  //font-size: 1em;
  margin: 5px;
}

#selected-chemical-box .cas-rn-section {
  display: block;
  //font-size: 1em;
  margin: 5px;
}

.spacer-5 {
  height: 20px;
}

.action-map-section {
  display: table-cell;
  display: inline-flex;
  align-items: center;
}

.action-block {
  border: 1px solid grey;
  border-radius: 40px;
  /*background-color: lightpink; */
  cursor: pointer;
  display: table-cell;
  display: inline-flex;
  align-items: center;
  padding: 10px;
  vertical-align: top;
  -ms-flex: 0 1 auto;
  max-width: 100%;
}

.no-action-block {
  border: 1px solid grey;
  /*background-color: lightpink; */
  display: inline-flex;
  align-items: center;
  padding: 10px;
  vertical-align: top;
  -ms-flex: 0 1 auto;
  max-width: 100%;
}

.no-action-block p {
  margin: 0px;
}

.action-block.large {
  display: block;
  margin-top: 3px;
  margin-bottom: 3px;
  border: none;
  cursor: default;
}

.action-block.unconnected {
  margin-top: 3px;
  margin-bottom: 3px;
}

.action-block p {
  margin: 0;
  -ms-flex: 0 1 auto;
  max-width: 100%;
}

.action-block:hover,
.action-block.selected {
  background-color: lightgrey;
}

.action-block.large:hover {
  background-color: white;
}

.action-block h1 {
  vertical-align: center;
}

.connector.right,
.connector.three {
  display: inline-block;
}

.connector {
  //font-size: 2em;
  font-weight: bold;
}

.connector p {
  margin: 0;
}

#decon-types {
  display: inline-block;
}

.action-block.decon-type {
  display: block;
  margin-bottom: 5px;
  /*background-color: lightblue; */
}

.action-block.decon-type:hover,
.action-block.decon-type.selected {
  background-color: lightgrey;
}

#decon-row {
  display: table-cell;
  display: inline-flex;
  -ms-flex: 0 1 auto;
  align-items: center;
  vertical-align: top;
  margin-top: -50px;
  margin-left: -10px;
}

#guidelines-body {
  display: table-cell;
  display: inline-flex;
  align-items: top;
}

#prism-documents-link {
  text-align: center;
}

.centered-question,
.aspire-slider-section {
  text-align: center;
}

.guidelines-page-link {
  display: block;
  margin-top: 5px;
  width: auto;
}

.time-bar {
  vertical-align: center;
  margin-top: 24px;
}

.time-bar p,
.recommendation-box p {
  margin: 0;
}

.time-bar div {
  display: inline-block;
  border: 1px solid black;
  height: 40px;
  margin: 0;
  padding: 0;
}

.time-bar-wrapper {
  border: none !important;
  width: 70%;
  display: inline-block;
}

.time-bar .decon-zone {
  background-color: sandybrown;
  background: linear-gradient(to right, saddlebrown, sandybrown 10%, wheat 70%);
  background-size: 100%;
  border-right: 6px solid green;
  width: 90%;
  clear: both;
}

.time-bar#clothing-time-bar-graph .decon-zone {
  width: 96%;
  display: inline-block;
}

.time-bar .after-decon {
  width: 5%;
  margin-left: -5px;
  border-left: none;
  clear: both;
  display: inline-block;
}

.time-bar .label {
  display: inline-block;
}

.time-bar .label.end-decon-label,
.time-bar .label.current-time-label,
.time-bar .label.end-plus-10-label,
.time-bar .label.start-label {
  position: absolute;
}

.label.current-time-label {
  width: 23%;
  text-align: center;
  margin-top: 10px;
}

p.label.left,
p.label.right {
  display: inline-block;
  height: 20px;
  vertical-align: middle;
  margin-bottom: 12px;
}

.time-bar .label.semi-left {
  float: left;
  padding-left: 10vw;
}

.time-bar .time-marker {
  position: absolute;
  display: inline-block;
  width: 6px;
  height: 50px;
  background: yellow;
  border: 1px solid black;
  margin-bottom: -10px;
}

.time-bar .end-decon-marker {
  position: absolute;
  display: inline-block;
  width: 6px;
  height: 50px;
  background: green;
  border: 1px solid black;
  margin-top: -10px;
}

#time-sentence,
#time-sentence p,
#minute-selector {
  -moz-user-select: none;
}

#decon-zone-gradient {
  width: 125px !important;
  height: 25px !important;
  border: 1px solid black !important;
  border-radius: 10px;
  background-image: radial-gradient(white, transparent);
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  position: relative;
  top: 6px;
}

input[type="range"]::-ms-tooltip {
  display: none;
}

.decon-parent {
  min-width: 110px;
}

.recommendation-title,
.description {
  margin-bottom: 30px;
}

.external {
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 1em;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

/* ASPIRE line items */
/* The migrator gives each line item a string identifier corresponding
to the type of information it holds. Those identifiers become the
class names, and are formatted using this CSS. */
.aspire-guidelines .p {
  display: inline-block;
}

.aspire-guidelines .lineItem {
  display: list-item;
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 20px;
  position: relative;
}

.lineItem .itemText {
  width: 90%;
}

.aspire-guidelines .header {
  font-weight: bold;
  font-size: 17;
  margin-top: 20px;
  display: inline-block;
}

.aspire-guidelines .listItemIndent1 {
  display: list-item;
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 50px;
}
