﻿@import url("https://fonts.googleapis.com/css?family=Neucha|Cabin+Sketch");
div.picTab:not(.picTabSelected) {
  border-color: silver;
  color: silver;
}

div.picConfigTabContents {
  background-color: white;
}

div.pover-icon:hover {
  color: orange;
  text-shadow: 3px 3px 16px #272634;
}

div.picSaltReqd {
  padding: 0.2rem;
  border-bottom: solid 1px gainsboro;
  margin-bottom: 0.4rem;
}

div.picBody[data-ison=false] div.picBodyTemp {
  color: silver;
}

div.picBodyTemp > div.body-temp {
  font-family: cabin sketch;
  font-weight: 400;
}

span.picUnits {
  color: gray;
}

div.picAccordian-title {
  border: solid 1px gray;
  border-radius: 4px 15px 15px 5px/25px 5px 13px 5px;
}

div.pnl-scheduleDays > div.table {
  border-top-left-radius: 25px 5px;
  border-top-right-radius: 5px 25px;
  border-collapse: separate;
}

div.pnl-scheduleDays div.table-caption {
  border-top-left-radius: 25px 5px;
  border-top-right-radius: 5px 25px;
  font-family: "cabin sketch";
  border: solid 1px gray;
  background: url("pencilshade-gray.png");
}

div.pnl-scheduleDays div.table-cell.dayheader {
  text-align: center;
  width: 2.4rem;
  border: solid 1px gray;
  font-weight: bold;
  color: white;
}

div.pnl-scheduleDays div.table-row.dayheader {
  background: url("pencilshade-orange.png");
  color: black;
  font-weight: bold;
}

div.pnl-scheduleDays div.table-cell.day:hover {
  background: url("highlighter-yellow.png");
}

div.pnl-scheduleDays div.table-cell.day:not(.disabled):active {
  color: white;
  background: url("pencilshade-blue.png");
}

div.pnl-scheduleDays div.table-cell.day {
  text-align: center;
  font-size: 2rem;
  border: solid 1px gainsboro;
  cursor: pointer;
}

div.pnl-scheduleDays div.table-cell.day:first-child {
  border-bottom-left-radius: 25px 4px;
}

div.pnl-scheduleDays div.table-cell.day:last-child {
  border-bottom-right-radius: 25px 4px;
}

div.pnl-scheduleDays div.table-cell.day {
  text-align: center;
  font-size: 1.5rem;
  cursor: pointer;
}

div.pnl-scheduleDays div.table-row.days {
  height: 2rem;
}

div.pnl-scheduleDays div.table-cell.day[data-selected=true]:before {
  content: " ";
  width: 1.5rem;
  height: 1.5rem;
  background: url("pencilshade-green.png");
  display: inline-block;
  border-radius: 2px 25px 5px 15px/25px 5px 25px 2px !important;
  margin: 1px;
  vertical-align: middle;
}

div.pnl-scheduleDays div.table-cell.day:not([data-selected=true]):before {
  content: " ";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 1rem;
  height: 1rem;
}

body {
  margin: 0;
  font-family: "Neucha", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
  background: url(poolsketch.png);
}

[tabindex="-1"]:focus {
  outline: none !important;
}

select, input[type=text] {
  font-family: "Neucha", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border-radius: 4px 15px 15px 5px/25px 5px 13px 5px;
}

fieldset {
  border-radius: 5px 25px 5px 25px/25px 5px 25px 5px;
}

legend {
  font-family: cabin sketch;
}

input[type=checkbox] {
  position: relative;
  cursor: pointer;
  border: none;
  box-shadow: none;
  width: 1.1em;
  height: 1.1em;
  -webkit-appearance: none;
  -mos-appearance: none;
  outline: 0px;
  appearance: none;
}

input[type=checkbox]:before {
  content: "";
  display: block;
  position: absolute;
  width: 1.25em;
  height: 1.25em;
  top: 0;
  left: 0;
  background-color: white;
  border: solid 1px black;
  border-radius: 2px 25px 5px 15px/25px 5px 25px 2px !important;
}

input[type=checkbox]:checked:before {
  content: "";
  display: block;
  position: absolute;
  width: 1.25em;
  height: 1.25em;
  top: 0;
  left: 0;
  background-color: white;
  border: solid 1px black;
  border-radius: 2px 25px 5px 15px/25px 5px 25px 2px !important;
}

input[type=checkbox]:checked:after {
  content: "";
  display: block;
  width: calc(1.25em - 2px);
  height: calc(1.25em - 2px);
  top: 0;
  left: 0;
  margin-top: 2px;
  margin-left: 2px;
  position: absolute;
  background: url("pencilshade-green.png") !important;
  border-radius: 2px 25px 5px 15px/25px 5px 25px 2px !important;
  overflow: hidden;
}

div.chem-balance-value {
  font-family: "cabin sketch";
}

.popover,
.control-panel {
  vertical-align: top;
  display: inline-block;
  margin-top: 0.4rem;
  margin-right: 0.2rem;
  padding-left: 0.4em;
  padding-right: 0.4em;
  padding-bottom: 0.4em;
  padding-top: 0px;
  border: solid 1px gray;
  border-radius: 5px 25px 5px 25px/25px 5px 25px 5px;
  background-color: white;
  padding-top: 0px;
  box-shadow: 3px 3px 3px rgb(127, 127, 127);
  -webkit-box-shadow: 3px 3px 3px rgb(127, 127, 127);
  -moz-box-shadow: 3px 3px 3px rgb(127, 127, 127);
}

.control-panel-title {
  font-family: cabin sketch;
  background: url("pencilshade-blue.png") !important;
  border-bottom: solid 1px black;
  border-top: solid 1px gainsboro;
  border-radius: 5px 25px 5px 25px/25px 5px 2px 5px;
  margin-bottom: 2px;
  padding-left: 0.4em;
  padding-right: 0.4em;
  margin-left: -0.4em;
  margin-right: -0.4em;
}

div.picPopover {
  padding-top: 0px;
  padding-right: 0.4em;
}

.picController > .control-panel-title {
  background: white !important;
  margin-left: 0px;
  margin-right: 0px;
}

.status-text {
  font-family: "cabin sketch", "Neucha", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
}

.body-text {
  font-family: "Neucha", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

.btn-panel {
  padding: 0.2rem;
  margin-top: 0.2rem;
  text-align: right;
  border-top: solid 3px gainsboro;
}

.btn-border {
  display: inline-block;
  font-family: cabin sketch;
  font-weight: 400;
  font-size: 1.5rem;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 2px solid transparent;
  font-size: 1rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  padding-right: 0.2rem;
  padding-left: 0px;
  line-height: 1rem;
  border-radius: 555px 55px 525px 55px/35px 225px 45px 125px;
  border: solid 1px gray;
  margin: 0.1rem;
  -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.btn {
  display: inline-block;
  font-weight: 400;
  font-size: 1.5rem;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 2px solid transparent;
  font-size: 1rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  padding-right: 0.2rem;
  padding-left: 0px;
  line-height: 1rem;
  border-radius: 555px 55px 525px 55px/35px 225px 45px 125px;
  border: solid 1px gray;
  margin: 0.1rem;
  background: ghostwhite;
  background: -webkit-linear-gradient(-90deg, ghostwhite, 1deg, rgb(240, 240, 240) 0%, rgb(249, 249, 249) 15%, rgb(255, 255, 255) 24%, rgb(255, 255, 255) 82%, rgb(222, 222, 222) 100%);
  background: linear-gradient(180deg, ghostwhite, 1deg, rgb(240, 240, 240) 0%, rgb(249, 249, 249) 15%, rgb(255, 255, 255) 24%, rgb(255, 255, 255) 82%, rgb(222, 222, 222) 100%);
  -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.fld-value {
  border: solid 1px gray;
  border-radius: 4px 15px 15px 5px/25px 5px 13px 5px !important;
}

.fld-value-center {
  border-top-left-radius: 12px 5px !important;
  border-bottom-left-radius: 3px 4px !important;
  border-top-right-radius: 3px 29px !important;
  border-bottom-right-radius: 12px 3px !important;
  border: solid 1px gray !important;
}

.fld-value-combo {
  border-top-left-radius: 4px 15px;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 4px 10px;
  border: solid 1px gray;
}

.btn:focus, .btn:hover {
  text-decoration: none;
}

.btn:focus, .btn.focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(51, 51, 51, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(51, 51, 51, 0.25);
}

.btn.disabled, .btn:disabled {
  opacity: 0.65;
  background: url(scratchout.png);
  background-repeat: no-repeat;
  background-size: 100%;
}

.btn:not([disabled]):not(.disabled):active, .btn:not([disabled]):not(.disabled).active {
  background-image: none;
}

.btn-stateonly {
  background: url(scratchout.png);
  background-repeat: no-repeat;
  background-size: 100%;
}

.fld-btn-right {
  border-top-right-radius: 15px 5px;
  border-bottom-right-radius: 4px 10px;
  border-bottom-left-radius: 2px 15px;
  border: solid 1px gray;
  background: url("pencilshade-gray.png") !important;
  background-repeat: no-repeat;
  background-size: 100%;
}

.fld-btn-left {
  border-top-left-radius: 15px 5px;
  border-bottom-left-radius: 4px 10px;
  border-bottom-right-radius: 2px 15px;
  border: solid 1px gray;
  background: url("pencilshade-gray.png") !important;
  background-repeat: no-repeat;
  background-size: 100%;
}

.btn-toggle:not([disabled]):not(.disabled):hover,
.fld-btn-left:not([disabled]):not(.disabled):hover,
.fld-btn-left:not([disabled]):not(.disabled).hover,
.fld-btn-right:not([disabled]):not(.disabled):hover,
.fld-btn-right:not([disabled]):not(.disabled).hover,
.btn-border:not([disabled]):not(.disabled):hover,
.btn-border:not([disabled]):not(.disabled).hover,
.btn:not([disabled]):not(.disabled):hover,
.btn:not([disabled]):not(.disabled).hover {
  background: url("highlighter-yellow.png") !important;
}

.btn-toggle:not([disabled]):not(.disabled):active,
.fld-btn-left:not([disabled]):not(.disabled):active,
.fld-btn-left:not([disabled]):not(.disabled).active,
.fld-btn-right:not([disabled]):not(.disabled):active,
.fld-btn-right:not([disabled]):not(.disabled).active,
.btn-border:not([disabled]):not(.disabled):active,
.btn-border:not([disabled]):not(.disabled).active,
.btn:not([disabled]):not(.disabled):active,
.btn:not([disabled]):not(.disabled).active {
  color: black;
  background: url("pencilshade-blue.png") !important;
}

.tab-contents {
  border-left: solid 1px black;
  border-bottom: solid 1px black;
  border-right: solid 1px black;
  border-top: solid 1px black;
  border-radius: 0px 5px 5px 3px/3px 2px 25px 5px;
}

.tab-item {
  font-family: cabin sketch;
  font-weight: 400;
  border: solid 1px black;
  border-top-right-radius: 25px 5px;
  border-top-left-radius: 5px 2px;
  background-color: white;
}

.dropdown-panel {
  border: solid 1px black;
  box-shadow: 3px 3px 3px rgba(127, 127, 127, 0.5);
  border-radius: 5px 25px 5px 25px/25px 5px 25px 5px !important;
  background-color: white;
  border-radius: 5px;
}

.header-background {
  font-family: cabin sketch;
  font-weight: 700;
  background: url("pencilshade-blue.png") !important;
}

table.optOuter {
  border-radius: 5px 25px 5px 25px/25px 5px 25px 5px !important;
}

tr.optHeader > td {
  border-bottom: solid 2px black;
  border-top-right-radius: 255px 5px;
  border-top-left-radius: 5px 255px;
}

table.optBody > tbody > tr > td:last-child,
table.optHeader > tbody > tr > td:last-child {
  border: none;
}

table.optBody td,
table.optHeader td {
  border-right: solid 1px gray;
}

table.crud-table > tbody > tr.selected > td:not(.btn-remove, .btn-edit),
table.optBody > tbody > tr.selected {
  background: url("highlighter-yellow.png") !important;
  color: black !important;
}

table.crud-table > tbody > tr:hover > td:not(.btn-remove, .btn-edit),
table.optBody > tbody > tr:hover {
  background: url("highlighter-gray.png") !important;
  color: white;
}

div.picIndicator {
  display: inline-block;
  border: solid 1px gray;
  border-radius: 2px 25px 5px 15px/25px 5px 25px 2px !important;
  vertical-align: middle;
}

div.picIndicator[data-status=on],
div.picIndicator[data-status=ready],
div.picIndicator[data-status=selected],
div.picIndicator[data-status=true] {
  background: url("pencilshade-green.png") !important;
  background-size: auto;
  background-attachment: fixed;
  background-position: left top;
}

div.picIndicator[data-status=delay] {
  background: url("pencilshade-yellow.png") !important;
  background-size: auto;
  background-attachment: fixed;
  background-position: left top;
  animation: blinker 1s linear infinite;
  -webkit-animation: blinker 1s infinite linear;
}

div.picIndicator[data-status=delayoff] {
  background: url("pencilshade-yellow.png") !important;
  background-size: auto;
  background-attachment: fixed;
  background-position: left top;
  animation: delayoff 0.5s ease infinite;
  -webkit-animation: delayoff 0.5s infinite ease;
}

div.picIndicator[data-status=delayon] {
  background: url("pencilshade-green.png") !important;
  background-size: auto;
  background-attachment: fixed;
  background-position: left top;
  animation: delayon 0.5s ease infinite;
  -webkit-animation: delayon 0.5s infinite ease;
}

@keyframes delayoff {
  0% {
    background: url("pencilshade-yellow.png") !important;
    background-size: auto;
    background-attachment: fixed;
    background-position: left top;
  }
  100% {
    background: url("pencilshade-green.png") !important;
    background-size: auto;
    background-attachment: fixed;
    background-position: right bottom;
  }
}
@keyframes delayon {
  0% {
    background: url("pencilshade-yellow.png") !important;
  }
  100% {
    background: url("pencilshade-green.png") !important;
  }
}
div.picIndicator[data-status=pending], div.piscIndicator[data-status=timeout] {
  background: url("pencilshade-yellow.png") !important;
  background-size: auto;
  background-attachment: fixed;
  background-position: left top;
}

div.picIndicator[data-status=loading] {
  background: url("pencilshade-orange.png") !important;
  background-size: auto;
  background-attachment: fixed;
  background-position: left top;
}

div.picIndicator[data-status=error] {
  background: url("pencilshade-red.png") !important;
  background-size: auto;
  background-attachment: fixed;
  background-position: left top;
}

.btn-toggle.fld-btn-center {
  border: solid 1px gray;
  background: url("pencilshade-gray.png") !important;
}

.btn-toggle[data-selected=true] {
  background: url("pencilshade-blue.png") !important;
}

div.picModules {
  margin-bottom: 5px;
}
