  /*
  /*  START Injector
  /* =================================================================================
  /*
  */
/*===================================================================================*/
/* Device info on page small screens */
/**/
/*  Mobile First Design */
/**/
/**/h

/*border: 2px solid #57b6c4;
    border-radius: 5px;
/**/
html {
  font-family: 'ASSISTANT', sans-serif;
}

body {
  background-color:white;
  background-image:none;
}a

.social-bar {
  width:0;
}

table.event-report-item th, table.alarm-report-item th 
body:not(.is-always-mobile-nav) .header-nav, body.is-always-mobile-nav .header-nav {
  height: 100%;
}

body.is-always-mobile-nav .header-nav {
  border-top-width: 100px;
}

.mobile-buttons {
  margin-left: auto;
  position: absolute;
  top: 0px;
  right: 25px;
}

#block-clearalarmsblock {
  margin: 10px 0 0 0;
  width: 190px;
  padding: 0;
  height: 23px;
}
#block-clearalarmsblock .button {
height: 27px;
text-decoration: none;
color: red;
border: solid 1px red;
border-radius: 10px;
background: url(/sites/default/files/redbell.png) no-repeat;
width: 131px;
padding: 0px 5px 0 0px;
background-position: 2px;
text-align: right;
font-size: 1em;
background-size: 17px;
margin: 0;
}

#search-block-form {
  display:none;
}
.sidebar-grid .region--sidebar {
  display:none;

}

.region--secondary-menu .view-id-edit_profile {
  position:absolute;
  top: 50px;
}

.region--secondary-menu .views-field-edit-user {
  position:absolute;
  top: -148px;
}

.region--secondary-menu .views-field-name {
  position:absolute;
  top: -166px;
}


.secondary-nav__menu {
  display: inline-block;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  list-style: none;
  position: absolute;
  top: -72px;
}
.secondary-nav {
  position: relative;
  top:60px;
}


.secondary-nav__menu-item .secondary-nav__menu-item--link .secondary-nav__menu-item--level-1 {
  font-size: 1.2rem;
}

.menu--my-devices-block-4 {
  /*position: absolute;
  bottom: 4px;*/
  font-size: 1.2rem;
  position: relative;
  top: 255px;

}

.menu--my-devices-block-4 .views-view-grid__item {
 
  margin-bottom:0;
}

.menu--my-devices-block-4 a {
  font-size: 0.8rem;
  text-decoration: none;
}

.header-nav {
  width:100%;
  font-size: 1.2rem;
}
.header-nav.is-active {
  height: 100%;
}
.primary-nav__menu-link-inner--level-1 {
  display:none;
}
.block-search-narrow {
  background: #57b6c4;
}

#block-devicesidemenu-2 {
 display:none;
}

.tabs a {
  height:35px;
}

#block-olivero-primary-local-tasks {
  position: relative;
  top: 20px;
  height: 0px
}

.main-content__container {
  padding-top: 0;
}

a {
  color: #0d77b5;
  font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 1.0rem;
  margin-bottom: 1.0rem;
  color: #000;
  font-family: 'ASSISTANT', sans-serif;
  font-weight: bold;
  letter-spacing: -0.5px;
}

body:not(.is-always-mobile-nav) .header-nav {
  height: 2.75rem;
}

.pagemenu a {
  padding:10px;
  border: 1px solid #57b6c4;
  border-radius: 5px;
}

.site-header__fixable {
  max-height: 116px;
}


.page-wrapper {
  max-width: 90.125rem;
  background: #fff;
  margin: auto;
}

.breadcrumb {
  display:none;
}

.text-content, .cke_editable {
  color: #313637;
  font-family: "ASSISTANT", "arial", sans-serif;

}
#block-cleardatablock {
  max-width: 300px;
}

.octopus-settings-form {
  
  width: 90%;
}
#edit-device-info--2 {
  padding-bottom: 100px;
}

.paramred {
  color:red;
}
.paramblue {
  color:#1d84c3;
}
.settings-title.block__title {
  font-size: 1em;
  position: relative;
  top: -34px;
  width: 100%;
  text-align: right;
  padding: 0;
  margin: 0;
  height: 0px;
  cursor: pointer;
  left: 0%;
}
.settings-title.block__title::after {
  display: block;
  position: relative;
  top: 20px;
  width: 250px;
}
.settings-content {
  display: none;
  height: auto;
  overflow: auto;
  background-color: white;
  z-index: 9999;
}

.settings-content.is-visible {
  display: block;
}

.settings-block {
  z-index: 9999;
}

.scan-device-message {
  width: 600px;
  font-size: 1.5em;
  color: darkblue;
  margin: -180px auto 100px;
  background-color: white;
  height: 100px;
}

#settings-form-wrapper input:disabled {
  background-color: transparent;
  border: none;
  font-size: 1.5em;
  color: #061089;
  margin: -17px 0;
  padding: 0;
  text-align: center;
}

#settings-form-wrapper label.is-disabled {
  color: #061089;
}

#settings-form-wrapper .form-item {
  margin-top: 0;
  text-align: center;
}

#settings-form-wrapper .fieldset__label.is-disabled {
  /*color: white;*/
}

#settings-form-wrapper .fieldset {
  border: solid 1px #00b8c5;
  border-radius: 10px;
  background-color: white;
  margin-bottom:10px;
}
/*#settings-form-wrapper .button {
  margin-bottom: 200px;
}*/

.hidden {
  /*display:none;*/
}

.shown {
  display:block;
}
.form-item__label.is-disabled,[type="color"][disabled], [type="date"][disabled], [type="datetime-local"][disabled], [type="email"][disabled], [type="file"][disabled], [type="month"][disabled], [type="number"][disabled], [type="password"][disabled], [type="search"][disabled], [type="tel"][disabled], [type="text"][disabled], [type="time"][disabled], [type="url"][disabled], [type="week"][disabled], textarea[disabled] {
  color: black;
}
input[type="number"],
input[type="text"].pressure-units {
  width: 33%;
  text-align: center;
}


/*Header Region */

/* Dashboard / Home */
#block-octopuslogo {
  position:relative;
  top: 90px;
  left: 10px;
  margin:auto;
  margin-bottom: 20px;
}
#block-octopuslogo img, #block-octopusheaderimage img {
  width:  260px;
}

.page-node-type-device .site-header {
    position: relative;
    border-bottom: none;
    min-height: 55px;
    width: 50%;
}
.page-node-type-device .site-header #block-octopusheaderimage a img {
  display:none;
  
}
.sticky-header-toggle {
 background-color: white;
 height: 2.75rem;
}
.site-header__initial {
  background-color: white;
}

.site-header__inner__container {
  display: block;
}
/*  Title */
#block-olivero-breadcrumbs {
  display:none;
}

.container.site-header__inner__container {
  position: relative;
}

#block-olivero-page-title, #block-pagetitle {
  position: absolute;
  top: 0;
  left: 36px;
  margin: auto;
  width: 300px;
  z-index: 11;
}

#block-olivero-page-title .shortcut-wrapper, #block-pagetitle .shortcut-wrapper {
  max-height: 50px;
  overflow: hidden;
}
#block-myaccount {
 position:relative;
 top:20px;
}

.text-content a {
  box-shadow: none;
}

.block-views {
  text-align: center;
}
.block-views .block__title {
  text-align: center;
  font-size: -0.5px;
  color: black;
}

/*  Error Messages */
.messages.messages-list__item {
  background-image: none;
  background-color: transparent;
  color: black;
}
.messages.messages-list__item a {
  background-image: none;
  background-color: transparent;
  color: black;
}


/* Log IN */

.user-login-form label {
  float: left;
}

.user-login-form label {
  float: left;
  color: darkgreen;
  font-size: 1.4em;
  margin-left: 50px;
  background-color: #ffffff55;
  border: solid 1px;
  border-radius: 4px;
  padding: 5px 10px;
}
.user-login-form input {
  color: darkgreen;
  font-size: 1.4em;
  background-color: #ffffff77;
  border: solid 1px;
  border-radius: 4px;
  width: 500px;
}

.user-login-form input, .user-login-form input:focus {
  border-bottom:  1px solid black;

}

#field-devices-values .form-item__label--multiple-value-form {
    cursor: pointer;
    text-shadow: grey 1px 1px 1px;
    font-size: 28px;
    font-weight: normal;
    text-align: center;
}
#field-devices-values .handle {
  display:none;
}

.openid-connect-login-form {
  margin-bottom:0;
  margin-top: -138px;
}

.openid-connect-login-form input {
  border-radius: 10px;
}

/* User Logged IN */
.user-details-title {
 font-weight: 700;
}
.olivero-details {
  border:none;
  box-shadow: none;
}

/* User Form */

html.js .form-autocomplete:disabled {
    background-color: #ddd;
    background-image: none;
    margin: auto;
}

#block-olivero-content .user-form {
  width: 100%;
  margin:auto;
  border: 1px solid #7e96a7;
  border-radius:20px;
  padding: 20px;
}

.user-form .form-item__label[for] {
    cursor: pointer;
    text-shadow: grey 1px 1px 1px;
    font-size: 28px;
}

.user-form #edit-field-preferred-for-of-communica {
}

.user-form .form-item__description {
    margin: 0.5625rem auto;
}

.user-form #edit-submit {
  position: fixed;
  bottom: 21px;
  z-index: 999;
}
.user-form textarea {
  display: block;
  width: 75%;
  min-height: 9rem;
  padding: 1.125rem;
  margin: auto;
}

.fieldset__legend {
  font-size: 20px;
}

.user-form .form-actions .field-add-more-submit.is-disabled {
  display:none;
}

.user-form .tabledrag-toggle-weight, .user-form #edit-preferred-langcode--description{
  display:none;
}

.form-item-field-preferred-for-of-communica-sms {
  display:none;
}

.user-form .username, .user-form #edit-mail, .user-form #edit-field-phone-0-value {
  text-align:left;
}

.user-form .fieldset--group .fieldset__legend--visible ~ .fieldset__wrapper {
  border:none;
}
.user-form .fieldset {
  border:none;
  border-top:1px solid #5d7585;
}*/

#edit-language {
  min-height: 200px;
}

.path-user .main-content {
  max-width: 100%;
  width:100%;
}

.path-user [role="main"] {
  background-image: url('/sites/default/files/bg-fields-light.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
}

.path-user .site-header {
display:none;

}


.path-user .menu--user-page-links, .path-user .region, .path-user .oct-body-image {
  margin-bottom: 0;
}
*/

.path-user .block__title, .path-user h1 {
  display: none;
}    

.path-user .button--primary {
  color: #fff;
  background-color: #00b8c5;
  width: 167px;
  border: none;
  height: 47px;
}

.password-strength__meter {
  background-color: transparent;
  border:1px solid black;
  width:20%;
}

[dir="ltr"] select
.path-user .form-actions .button, .path-user .form-actions .action-link, .user-login-form .form-actions .button , .user-register-form .form-actions .button {
  margin-top: 0.5625rem;
  margin-bottom: 0.5625rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0 0 0px;
}

.path-user .form-select {
    border-radius: 10px;
}
.path-user .olivero-details__summary {
    padding-right: 1.125rem;
    border-radius: 10px;
}

.path-user .block-block-content, .path-user .block-system-main-block {
  margin-top: 0px;
  margin: auto;
}


 .path-user .field--label-inline > .field__item, .path-user .field--label-inline .field__items {
    float:none;
}
*/
.path-user div.description, .path-user .form-item .description {
    margin: 0.2em 0 0 0;
    color: #000000;
    font-size: 0.61em;
}

.user-logged-in .block__title {
 display: none;
}
.settings-title {
  display:none;
}

.path-user .field--label-inline .field__label {
  float:none;
}
.path-user .page-title {
  font-size: 20px;
}

.path-user .user-edit-link li {
  margin-bottom: 10px;
  text-decoration: none;
  margin-left: 10px;
  float: left;
  list-style: none;
  
}
.path-user .user-edit-link a {
  color: #fff;
  background-color: #00b8c5;
  padding: 0px 20px;
  border-radius: 5px;
  float: left;
  box-shadow: none;
}

.path-user .social-bar {
  display:none;
}

.path-user [type="color"], .path-user [type="email"], .path-user [type="password"], .path-user [type="tel"], .path-user [type="text"], .path-user [type="time"], .path-user [type="url"], .path-user textarea {
    border-radius: 10px;
}

/*  Logged in User block */
.view-user-logged-in, .block__user_logged_in_block {
  margin: 34px auto 0;
  width: 100%;
}
.view-user-logged-in .views-row {
  text-align:center;
}
.view-user-logged-in .field-content {
  font-weight: 600;
}

/* User Registration Form */

.user-register-form {
  max-width: 400px;
  margin: auto;
}
.user-register-form .form-item__label {
  display: block;
  text-align: left;
  font-size: 22px;
}

.user-register-form input[type="text"],.user-register-form textarea,.user-register-form input[type="password"],.user-register-form input[type="email"] {
  border-radius: 10px;
}

.user-register-form .js-form-type-checkbox {
  float: left;
  margin: 1px;
  padding: 2px;
}

.user-register-form [dir="ltr"] input[type="checkbox"] + label {
  padding: 1px;
  font-size: 18px;
}

.user-register-form .edit-field-preferred-for-of-communica--wrapper--description {
  clear:both;
  border-radius: 10px;
  border: 1px solid transparent;
}

.user-register-form #edit-field-preferred-for-of-communica .form-item-field-preferred-for-of-communica-phone,.user-register-form #edit-field-preferred-for-of-communica .form-item-field-preferred-for-of-communica-email,.user-register-form #edit-field-preferred-for-of-communica .form-item-field-preferred-for-of-communica-whatsapp   {
  border-right:1px solid ;
  padding-right:6px;
}

.user-register-form .button--primary {
  width: 100px;
}

.user-register-form #edit-field-devices-wrapper {
  display:none;
}
.user-register-form #edit-actions {
  clear:both;
}
.user-register-form #edit-actions input {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  width: 224px;
}

.user-register-form .fieldset--group .fieldset__legend--visible ~ .fieldset__wrapper {
 border:none;
}
.user-register-form .fieldset__legend {
 border-top: none;
}
.user-register-form #edit-field-turn-on-notifications-wrapper .form-item-field-turn-on-notifications-value  {
  background-color:white;
  border: 1px solid #7e96a7;
  border-radius: 10px;
}

.user-register-form fieldset {
  background-color:white;
  border: 1px solid #7e96a7;
  border-radius: 10px;
}

/* My Devices Link (in body of dashboard page)  */
.my-device-link  {
  border-top: 1px solid #57b6c4;
  white-space: nowrap;
  padding: 5px 0;
  margin: -40px auto 54px;
  text-align: center;
  border-bottom: 1px solid #57b6c4;
  height: 59px;
  width: 240px;
}
.my-device-link a.devlinktext {
  float: left;
  font-family: "ASSISTANT", sans-serif;
  text-decoration: none;
  color: black;
  font-weight: 300;
  font-size: 1.1rem;
  margin: 7px ;
  box-shadow: none;
}

.my-device-link img {
  float: left;
  width: 41px;
  text-align: center;
  margin-left: 23%;
}
.page-node-type-device h1 {
  font-size: 1.2rem;
  text-align: center;
} 

.block__title {
  margin-top: 0;
  margin-bottom: 1.125rem;
  letter-spacing: -1.2px;
  font-size: 30px;
  line-height: 1.125rem;
  font-weight: 800;
}    


.node--type-device .node__content {
  text-align:center;
}

/* Internal Dashboard Menu */


.homeactionlinkdiv {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: auto;
  width: 70%;
}

#block-homeactionlinks, #block-homeactionlinkssp, #block-homeactionlinkshe {
  margin: -28px auto 104px;
  width: 70%;
}

#block-homeactionlinks p, #block-homeactionlinkssp p, #block-homeactionlinkshe p {
  text-align: center;
  width: 100%;
}

#block-homeactionlinks span, #block-homeactionlinkssp span, #block-homeactionlinkshe span {
  text-align: center;
  padding:1px 10px;
}


#block-homeactionlinks a, #block-homeactionlinkssp a, #block-homeactionlinkshe a {
  font-family: "ASSISTANT", sans-serif;
  color: black;
  text-decoration: none;
  box-shadow: none;
  margin: auto;
  font-weight: 300;
  font-size: 1.1rem;
  float: left;
}


/* Devide Page */

/* Device Header */
.shortcut-action {

  display: none;
}

.settings_cog ul {
  list-style-type: none;
}

.settings_cog a {
  color: transparent;
  background-image: url('/sites/default/files/cog.jpg');
  text-decoration: none;
  right: -8px;
  background-repeat: no-repeat;
  top: 12px;
}

.refresh-page ul {
  list-style-type: none;
}

.settingsrefresh-page a {
  position: relative;
  left: 170px;
  top: 126px;
  padding: 2px;
}
.mobile-nav-button__icon:before,
.mobile-nav-button__icon,.mobile-nav-button__icon:after  {
  background-color: #707070;
  height: 0px;
}

.washstatuswrapper {
  position: relative;
  top: 20px;
} 
.washstatus {

}
.washstatus h2 {
  margin: 0;
  padding: 0 12px 0px;
  font-size: 1em;
  float: left;
  line-height: 26px;
}

.washstatusannounce {
  width: 105%;
  font-size: .8em;
  padding-bottom: 0px;
  border: 1px solid #00b8c5;
  border-radius: 5px;
  height: 28px;
  float: right;
  margin: 8px -10px 5px;
}

h2.washcolor {
  color: #000;
}

.green {
  background-color:green;
  color:white;
}


.gray {
  background-color:gray;
  color:black;
}

.custom-tooltip {

  cursor: pointer;
}

.tooltiptext {
  visibility: hidden;
  width: 320px; /* Adjust the width as needed */
  background-color: #333; /* Background color of the tooltip */
  color: #fff; /* Text color of the tooltip */
  position:absolute;
  top:20px;
  left:50px;
  text-align: center;
  border-radius: 6px; /* Rounded corners */
  padding: 5px 0; /* Padding inside the tooltip */
  z-index: 1;
  margin-left: -60px; /* Use half of the width to center the tooltip */
  opacity: 0;
  transition: opacity 0.3s;
  height: 60px;
  text-wrap: wrap;
}

.custom-tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltipgetsetting-container {
  position: relative;
  display: inline-block;
}

.tooltipgetsettingtext {
  visibility: hidden;
  width: 220px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* above the button */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltipgetsetting-container:hover .tooltipgetsettingtext {
  visibility: visible;
  opacity: 1;
}


.page-node-type-device .field--name-field-device-type {
  float: left;
  width: 30%;
  margin: 24px auto 0px;
  font-size: 15px;
  /*height:  126px;*/
}

.page-node-type-device .field--name-field-hash {
  margin: 18px auto 0px;
}

.node-device-edit-form .page-node-type-device .field--name-field-device-type {
  clear:both;

}

.node-device-edit-form .page-node-type-device .field--name-field-hash {
  width: 100%;
  margin: 32px auto 0px;
}

.page-node-type-device .field--name-field-integrator .field__label {
  font-size: 16px;
  clear: both;
  margin-bottom: -10px;
}

.page-node-type-device .field--name-field-device-type.field:not(:last-child), .page-node-type-device .field--name-field-hash.field:not(:last-child) {
  margin-bottom: 0rem;
}

.page-node-type-device .field--name-field-integrator .field__item {
  font-size: 16px;
}

.graphtable {
  clear: both;
}


/* Temperature */


.temp-volt-wrapper {
  border: 2px solid #57b6c4;
  border-radius: 5px;
  font-size: 1em;
  height: 42px;
  padding: 4px 3px;
}
.temperature {
  float: left;
  width: 37%;
  margin: 0;
  padding: 2px;
}
.tempreading {
  float: left;
  margin-right:20px;
}
.tempheading {
  float: left;
  padding:  0 7px;
  font-weight: 700;
}

/*  DP  */


.dp {
  float: left;
  width: 10%;
  margin: 0;
  padding: 2px;
}
.dpreading {
  float: left;
}
.dpheading {
  float: left;
  padding:  0 7px;
  font-weight: 700;
}


.dot {
}
.tempbar {

}


/* Battery */

.voltage {
 margin-top: -7px;
}

.voltcontent {
display: none;
}

.voltheading {
float: left;
font-weight: 700;
}


.voltbar {
float: right;  
}

.voltbar img {
top: 3px;
position: relative;
height: 22px; 
}



.voltbartext {
  float: right;
  position: relative;
  margin: 0 10px;
}

.lowbattery {
color: red;
}


.boxheading {
/*  font-size: 0.72em;
  margin-top: -20px;
  margin-bottom: 10px;*/
}
.boxheading2 {
 /* font-size: 0.6em;
  margin-top: 0px ;
  width: 95%;
  margin: 5px auto*/
}

#pressure-chart-form-wrapper {
  clear:both;
  background:url(/sites/default/files/pbg.png) no-repeat ;
  background-position: center 59px;
  background-size: 50%;
  margin-bottom: 50px;
}
#pressure-chart-form-wrapper img {
  opacity: 0.5;
}

#edit-timeframe, .id-octopus-pressure-chart-timeframe-form .js-form-item-timeframe, .id-octopus-pressure-chart-timeframe-form .form-element--type-select {
  font-size: 12px;
  padding: 0;
  height: 20px;
  border-color: #00b8c5;
  background-color: white;
}
.id-octopus-pressure-chart-timeframe-form .form-item, .id-octopus-pressure-chart-timeframe-form .form-item:focus {
  margin: 0;
  width: 62%;
  float: left;
  padding: 0;
}

.id-octopus-pressure-chart-timeframe-form .js-form-item-show-alerts.form-item, .id-octopus-pressure-chart-timeframe-form .js-form-item-show-alerts.form-item:focus
{
  width: 36%;

}
.fieldset__legend {
  border-top: 1px solid #00b8c5;
  background-color: white; /* #00b8c5;*/
  border-radius: 5px;
  color: black;
}

.fieldset__label {
 color: black;
}
.fieldset {
border: solid 1px #00b8c5;
border-radius: 10px;
background-color: transparent;
}

[dir="ltr"] input[type="checkbox"] ,input[type="checkbox"], input[type="checkbox"]:checked, input[type="checkbox"]#edit-show-alerts, .id-octopus-pressure-chart-timeframe-form input[type="checkbox"].form-checkbox  {
border: 1px solid #7e96a7;
background-size: 0.8rem 0.8rem;
font-size: 12px;
width: 20px;
height: 20px;
color: black;
}
.id-octopus-pressure-chart-timeframe-form label{
margin: 0;
float: left;
font-size: 12px;
color: black;
width: 75px;
}

.id-octopus-pressure-chart-timeframe-form .js-form-item-show-alerts label{
  width: 100px;
}

.id-octopus-pressure-chart-timeframe-form .form-select select {
  float: left;
}


.id-octopus-pressure-chart-timeframe-form select, .id-octopus-pressure-chart-timeframe-form select:focus {
border-width: 1px;
outline-width: 0px;
outline-style: none;
outline-offset: 0px;
padding: 0px;
height: 20px;
width: 35%;
border-color: #00b8c5;
background-color: white;
font-size: 12px;
margin-top: 5px;
}


.node--type-device .node__content .field--name-field-user {
clear: both;
color: #57b6c4;
width: 100%;
margin:5px auto 2px;
}

.node--type-device .node__content .field--name-field-user a {
clear:both;
color: black;
width: 100%;
}


/* Event and Alarm Reports */

.event-log-link,.alarm-log-link { 
  background-color: white;
  text-decoration: none;
  font-weight: 700;
  color:black;
  padding: 5px 35px;
  box-shadow: 0 6px 6px -3px #dfd7d7;

}

a.event-log-link,a.alarm-log-link { 
  background-color: #e0e0e5; 
  width: 50%;
  box-shadow: 0 0 0 0;
  font-weight:300;
}

.event-link-div {
  width: 100%;
  float: left;
}
.alarm-link-div {
  width: 100%;
  float: right;
}
.report-links-wrapper {
  width: 100%;
  text-align: center;
}

table.event-report-item tbody tr:first-child {
    position: sticky;
    top: -10px;
    background: white;
    z-index: 2;
    font-weight: bold;
    color: #00b8c5;
    text-shadow: 1px 1px black;
}

#event-report-form-wrapper, #alarm-report-form-wrapper { 
  clear:both; 
  margin-top:5px;
  margin-bottom: 20px;
  border: 2px solid #57b6c4;
  border-radius: 5px;
  min-height:  375px;
  overflow-y: scroll;
  max-height: 500px;
  color: #000;
  padding: 10px;
}
#event-report-form-wrapper .form-item {
    width: 274px;
    margin: auto;
    float: left;
}

#alarm-report-form-wrapper {display: none;} /* Allow tabs to start with events */


table.event-report-item, table.alarm-report-item {
 max-height:500px;
 overflow-y:scroll;
 width: 100%;
}
table.event-report-item th, table.alarm-report-item th {
  position: relative;
  left: 0px;
  width: 100%;
  padding-left: 16px;
}

#event-report-form-wrapper td, #alarm-report-form-wrapper td {
  font-size: 0.9em;
}
#event-report-form-wrapper td:first-child, #alarm-report-form-wrapper td:first-child {
  font-weight: 700;
  text-align: left;
}

.event-report-item, .alarm-report-item {
  clear: both;
}

.alarm-report-form, .event-report-form {
  min-height:250px;
  margin-top: 11px;
}

#alarm-report-form-wrapper { 
  clear:both; 
  min-height:  300px;
}
.alarm-report-filters-wrapper, .event-report-filters-wrapper {
  font-size: 12px;
  clear: both;
  width: 100%;
}

/* Temp to avoid bug when changing filters for alarms */
.alarm-report-filters-wrapper {
  display: none;
}

.alarm-report-filters-wrapper .form-item__label, .event-report-filters-wrapper .form-item__label {
 margin-top: 0;
 margin-bottom: 0;
 margin-right: 3px ;
 float: left;
 width: 40px;
}

.form-item-alarm-timeframe, .form-item-alarm-type, .form-item-alarm-sort, .form-item-event-timeframe, .form-item-event-type, .form-item-event-sort  {
  margin-top: 0;
  margin-bottom: 0;
}
.event-report-form .form-select, .alarm-report-form .form-select ,#edit-alarm-type, #edit-alarm-timeframe, #edit-alarm-sort, #edit-event-type, #edit-event-timeframe, #edit-event-sort, .event-report-form select, .alarm-report-form select {
  padding: 0 0px 0 8px;
  height: 22px;
  width: 70%;
  border-color: #00b8c5;
}

.event-report-admin-form .form-select, .alarm-report-admin-form .form-select {
  padding: 0 0px 0 8px;
  height: 22px;
  width: 24%;
  border-color: #00b8c5;
}
.form-item-event-sort, .form-item-event-type {
  margin: 9px 0px 0 0;
  float: left;
  width: 45%;
}
/* using wildcard because ID changes with JS */
#edit-event-timeframe-to, [id$=edit-event-timeframe-to], .event-report-form .form-select {
  width:  64%;
  margin: auto;
}
.event-report-admin-form select {
 height: 1rem;
}
select {
  background-position: right 6px center;
}

table.event-report-item th, table.alarm-report-item th {
  display: none;
}

/* Flow Rate  */
#flow_rate_wrapper {
  clear: both;
}
#flow_rate_wrapper, #water_cost_wrapper {
  border: 2px solid #00b8c5;
  border-radius: 5px;
  text-align: center;
  margin: 20px 5px;
  padding:5px 15px;
}
input.flow-rate-item, input.water-cost-item {
  width: 130px;
  padding: 6px 16px;
  text-align: center;
  min-height: 1rem;
  height: 34px;
  border-color: #707070;
}
.flow-rate-form .button, .water-cost-form .button {
  padding: 5px 27px;
  text-align: center;
  height: 43px;
  border: 2px solid #00b8c5;
  border-radius: 5px;
  margin-top: 0;
  background-color: #00b8c5;
  color: white;
  font-size: 1.2rem;
}

.flowratereading {
  color: black;
  width: 100%;
  margin: 0px 0px;
  padding: 7px;
  border: 2px solid #00b8c5;
  border-radius: 5px;
  font-size: 1.2em;
  height: 105px;
}

.flowlink a {
  font-size: 12px;
}


.monthlyWater, .watercalc {
  /*float: left;*/
  font-size: 1.2em;
  /*width: 48%;*/
  margin: 10px 1px 10px 0;
  padding: 19px 0;
  color: black;
  border: 2px solid #00b8c5;
  border-radius: 5px;
  min-height: 180px;
}
.watercalc {
  margin-right: 1px;
  margin-left: 0;
}

.costitem {
  font-size: 14px;
}




.water-cost-form .button {
  width:  160px;
}


.sparklist {
  clear: both;
  overflow: visible;
  width: 100%;
  margin: 0;
  padding: 0;
}
.sparklist li {
  list-style: none;
  margin-right: 35px;
}
.sparklist:hover, .sparklist:focus {
  transform: translate(90px) scale(5);

}

.sparkline { 
  display: inline-block;
  height: 1em;
  margin: 0 0.5em;
  transition: all .5s ease;
}

.sparkline .index { 
  position: relative;
  float: left; 
  width: 2px; 
  height: 1em; 
}

.sparkline .index .count { 
  display: block; 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  width: 100%; 
  height: 0; 
  background: #AAA;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}


.green {background-color:green;}
.red {background-color:red;}

/* Tables */

.block-views-blockintegrator-view-block-1 {
  border:none;
}
.alarm-report-item tbody tr td,.event-report-item tbody tr td {
  text-align: center;
  padding-left: 4px;
  min-width: 0px;
  border-top: 1px solid #30d1dd;
  border-collapse: separate;
}
.alarm-report-item tbody tr {
  color:red;
}
.alarm-report-item thead {
  background-image: url(/sites/default/files/redbell.png);
  background-repeat: no-repeat;
  background-size:20px;
}
.event-report-item thead {
  background-image: url(/sites/default/files/event.png);
  background-repeat: no-repeat;
  background-size:20px;
}

.forum table th, .text-content table th, .views-table th, .draggable-table th {
  margin:auto;
  border: none;
}

.forum table td, .text-content table td, .views-table td, .draggable-table td {
 white-space: normal;
 border-bottom: none;
}



/*  Views Tables */
.views-table {
 margin:auto;
 border-collapse: separate;
 padding:20px;
}

.block-views-blockmy-devices-block-3 {
  background-position: right;
  background-repeat:no-repeat;
  background-size: contain;
  width: 100%;
  margin: auto;

}

/* Footer */
.baccara-device-footer.block__content{
  width:100%;
  z-index: 9999;
}

.baccara-footer, .baccara-device-footer {
  position: fixed;
  bottom: -35px;
  left: 0%;
  width:100%;
  background-color: white;
  padding-top: 10px;
}

.baccara-device-footer {
  bottom: -91px;
  padding-top: 10px;
}

#block-bacarrafooter, #block-baccaradevicefooter  {
  text-align: center;
  margin: auto;
  width: 100%;
}

#block-baccaradevicefooter  {
  padding: 20px;

}

#block-baccaradevicefooter img {
 float: left;
 position: relative;
 top: -47px;
 padding: 0 7px 7px;
}
.footer-bac {
  float: left;
}

.footer-oct {
  float: right;
}

.site-footer__inner {
  display: none;
}

#block-copyright {
  text-align:center;
  margin: 0px;
}

/* Device Lists*/
th a {
  text-decoration:none;
}

.views-table {
  border:none;  
  width:90%;
}
.views-table td {
  border-top: 2px solid #00b8c5;
  padding: 15px 0;
}
.views-table tr:last-child td {
  border-bottom: 2px solid #00b8c5;
}

.devicelistlink a {
  text-decoration: none;
  color: black;
  font-size: 20px;
  font-family: 'ASSISTANT', sans-serif;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-align: left;
}

.editdevicelink a {
  background-image: url(/sites/default/files/Pencil.png);
  background-repeat: no-repeat;
  color: white;
  background-position: 2px 1px;
  background-size: 16px;
  padding: 9px;

}

/* Command Buttons */

.toggle-wrapper {
  position: fixed;
  bottom: 65px;
  padding: 0;
  float: left;
  width: 309px;
  height: 30px;
  margin: 0;
  z-index: 995;
  border: 2px solid #00b8c5;
  border-radius: 5px;
  background-color: #00b8c5;
  color: white;
}

.toggle-label {
  cursor: pointer;
  display: inline-block;
  margin:0;
  text-align: center;
  font-size: 1em;
  padding:0 40px;
  margin: 0;
}

#start-checkbox, #stop-checkbox {
  display:none;
}

.toggle-checkbox:checked + .toggle-label {
 display: none;
}

.toggle-checkbox:not(:checked) + .toggle-label + .button {
  display: none;
}

.button.command-start, .button.command-stop {
  position: fixed;
  left: 3%;
  bottom: 103px;
  float: left;
  padding: 8px 0 0 0;
  margin: 0px 55px;
  width: 227px;
  color: white;
  background-color: darkred;
  border: 1px solid aqua;
  border-radius: 5px;
  z-index: 999;
  height:34px;
}

.button.command-start:focus, .button.command-stop:focus  {
  background-color: #00b8c5;
  outline: 0px solid #53b0eb;
  outline-offset: 0px;
}

.button.command-start.active,
.button.command-stop.active {
  background-color: white;
  color: black;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
}

#clear-external-data-form {
  text-align: center;
}

#clear-external-data-form .toggle-link {
  min-height: 30px;
  padding: 10px;
  margin: 5px;
  border: 2px solid #0d77b5;
  border-radius: 15px;
  background-color: white;
  text-decoration: none;
}
#clear-external-data-form #edit-toggle.form-item {
  margin-top:5px;
  margin-bottom:5px;
}
#clear-external-data-form .form-date {
  min-height: 30px;
  padding: 2px;
  margin:5px;
}
#clear-external-data-form .form-submit  {
  max-height: 36px;
  bottom: 0px;
  padding: 3px 8px 0px;
  text-align: center;
  height: 36px;
  border: 2px solid #00b8c5;
  border-radius: 5px;
  margin-top: 0;
  background-color: #00b8c5;
  color: white;
  font-size: 1.2rem;
}

.edit-user-prefs a  {
  border-top: 2px solid #57b6c4;
  border-bottom: 2px solid #57b6c4;
  width: 75%;
  color:black;
  font-size: 1.2rem;
  text-decoration: none;
  font-size: 16px;
  font-family: 'ASSISTANT', sans-serif;
  font-weight: normal;
  letter-spacing: -0.5px;
  padding: 3px;
}

.hidden-element {
  display: none;
}

.afbox {
  float:left;
  margin-left: 10px;
}

.timeint {
  text-align: center;
  float:left;
  margin-left: 10px;
}
.timeint input {
  width: 100px;
  text-align:center;
}

.dpsp {
  clear: both;
}
/*  Override default form text */

[type="color"]:focus, [type="date"]:focus, [type="datetime-local"]:focus, [type="email"]:focus, [type="file"]:focus, [type="month"]:focus, [type="number"]:focus, [type="password"]:focus, [type="search"]:focus, [type="tel"]:focus, [type="text"]:focus, [type="time"]:focus, [type="url"]:focus, [type="week"]:focus, textarea:focus {
  border: inherit;
  outline: none;
}

/* Fix for node edit form */
.node-device-edit-form .page-node-type-device .field--name-field-device-type {
 float: none;
 clear:both;
}

@supports (outline-style: double) {

  [type="color"]:focus, [type="date"]:focus, [type="datetime-local"]:focus, [type="email"]:focus, [type="file"]:focus, [type="month"]:focus, [type="number"]:focus, [type="password"]:focus, [type="search"]:focus, [type="tel"]:focus, [type="text"]:focus, [type="time"]:focus, [type="url"]:focus, [type="week"]:focus, textarea:focus {
    border-width: inherit;
    outline-width: 0px;
    outline-style: solid;
    outline-offset: 0px;
    border: inherit;
    border-radius: 0;
  }
}

.red {
  background-color:red;
}


.geolocation-button-wrapper {
  height:250px;
}


.geolocation-button {
  position: relative;
  display: inline-block;
  padding:17px;
}

.geolocation-button .tooltiptext {
  visibility: hidden;
  width: 320px;
  background-color: #0e3033;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 0;
  margin-left: 0px;
}

.geolocation-button:hover .tooltiptext {
  visibility: visible;
}

.refresh-page a {
  color: transparent;
  position: absolute;
  text-decoration: none;
  left: 36%;
  z-index: 99;
  border: 2px solid #009688 !important;
  padding: 0px 10px;  
  border-radius: 15px;
  background-color: white;
}

.form-item-switchdpthreshold .form-item__label {
clear:both;
}



.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(10, min-content);
  gap: 6px;
  margin:auto;
  text-align: center;
  justify-content: center;
}

.aflabel {
  display: flex;
  justify-content: right;
  font-size: 19px;
  padding-right: 0px;
  margin: 0 0px 0 24px;
}

.afbox {
  display: flex;
  align-items: center;
}

.afbox input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #7e96a7;
  background-color: white;
  position: relative;
  cursor: pointer;
}

.afbox input[type="checkbox"]:checked {
  background-color: black;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><polyline points='4,12 10,18 20,6' fill='none' stroke='white' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.aflabel.filter-value {
    margin: -24px 0 0 2px;
    background-color: #ddd;
    padding: 0px 9px;
    font-size: 0.8em;
    border-radius: 15px;
}

.washset-wrapper {
  border-radius: 10px;
  border: 1px solid #00b8c5;
  margin: 20px auto;
  width: 100%;
  padding: 0 8px;
  text-align:center;
}
.counters-wrapper {
  display: inline-block;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #00b8c5;
  text-align: left;
  width: 100%;
}

.counter-header {
  margin:auto;
  font-size: 1.2em;
}
.counter-item {
  display: flex;
  justify-content: space-between;
  padding: 2px 10px 2px 0;
  /*border-bottom: 1px solid #eee;*/
  width: 350px;
  margin:auto;
}

.time-item {
  display: flex;
  padding: 2px 0;
  border-bottom: 1px solid #eee;
  width: 350px;
  margin:auto;
  padding:0;
}

.aflabelwrap {
}

.timeunit {
  color:#00b8c5;
}
.counter-item:last-child {
  border-bottom: none; /* no line under last item */
}

.counter-label {
  margin-right: 20px;
}

.counter-value {
  font-size: 1em;
}

.time-label {
  width: 120px;

}
.time-value {
  font-size: 1em;
  width: 48px;
  margin: 0;
  float:left;
}
.time-item{
  width: 100%;
}

.counter-grid {
  gap: 0px;
  display: grid;
  grid-template-columns: repeat(10, min-content);
  margin:auto;
  text-align: center;
  justify-content: center;
  padding: 25px 2px 2px 15px;
}

#octopus-visualization-chart-form select {
  height: 3rem;
  padding: 3px 4px;
  height: 30px;
  color: #0d1214;
  border: 1px solid #7e96a7;
  border-radius: 0.1875rem;
  background-color: #fff;
  background-image: url(../../images/chevron-down.svg);
  background-repeat: no-repeat;
  background-position: right 10px center;
  font-family: inherit;
  font-size: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#octopus-visualization-chart-form select.form-element--type-select-multiple  {
    height: 5rem;
    padding: 2px;
}
#octopus-visualization-chart-form .form-item-y-min  {
    max-width: 67px;
    text-align:center;
}
#octopus-visualization-chart-form .form-item-y-max  {
    max-width: 67px;
    text-align:center;
}
#octopus-visualization-chart-form input[type="number"] {
    width: 100%;
    text-align: center;
    padding: 3px 4px;
    height: 30px;
    min-height: 20px;
  }

#octopus-visualization-chart-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: flex-start;
  font-size: 12px;
}

#octopus-visualization-chart-form > .form-item {
  flex: 0 0 auto;
  margin-bottom: 0;
}

  #octopus-apply-button {
    position: absolute;
￼   left: 65%;
    top: 330px;
  }


/*=================================================================================================================
/*
/*    Small Screens
/*
====================================================================================================================*/

@media (max-width: 900px) {

  .counter-item {
    width: 100%;
    margin: auto;
  }
  .filter-value {
      margin: -24px 0 0 2px;
      background-color: #ddd;
      padding: 0px 9px;
      font-size: 0.8em;
      border-radius: 15px;
  }
  #settings-form-wrapper .button {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  #octopus-settings-form input[type="submit"] {
    display: none;
  }

  .octopus-settings-form { 
    width: 100%;
  }

  .settings-content {
    display: none;
    position: relative;
    height: auto;
    min-height: 200px;
    overflow: visible;
    z-index: 9999;
    background-color: white;
  }
  .settings-content.is-visible {
    display: block!important;
  }

  .checkbox-grid {
    gap: 2px;
    margin: 0 10px 0 -22px;
  }

  #block-devicepagelinks {
    position: absolute;
    left: 50px;
    top:20px;
  }
  .mobile-nav-button {
    position: relative;
    right: -195px;
    height: 55px;
  }

  .edit-map-link {
    position: relative;
    top:-150px;
    height: 250px;
    display: block;
  }
  .settings-block-large {
    display: block;
    font-size: 16px;
  }
  
  .messages__container {
    position:absolute;
    background: white;
    padding: 10px;
    border: 1px solid black;
    
  }
  .scan-device-message {
    width: 90%;
    font-size: 1.3em;
    color: darkblue;
    margin: -120px auto 100px;
    background-color: white;
    height: 100px;
  }

  #block-octopussettingsblock {
    background-color: white;
    position: absolute;
    top: 11px;
    left: 0px;
  }  

  .get-settings-form {
    position: relative;
    top: 300px;
  }

  #edit-get-settings {
    border-radius: 20px;
  }
  .get-settings-form .button {
    border-radius: 20px;
  }
  .connected-devices-mobile {
    margin-top: 290px;
   }

   .connected-devices-mobile .connected a, .connected-devices-mobile .disconnected a {
      float: none;
    }

  #block-devicepagelinks .menu__link.menu__link--button.menu__link--level-1, #block-devicepagelinks a.menu__link--level-1  {
    border: none;
    border-radius: 5px 5px 0 0;
    font-size: 1em;
    height: 27px;
    padding: 0px 28px 0 0;
    border-bottom: none;
    float: left;
    margin-top: 12px;
    background: white;
    text-decoration: none;
    color: black;
    font-style: normal;
    font-weight: normal;
    padding-top: 0px;
    cursor: pointer;
  }
  .mobile-buttons {
    height: 10px
  }

  ul.menu.menu--level-1 {
    min-width: 200px;
  }
  #block-devicepagelinks ul.menu.menu--level-1 {
    min-width: 336px;
    margin-left:-20px;
  }

  li.menu__item--level-1 {
    list-style: none;
  }

   #settings-form-wrapper .button {
    position: fixed;
    bottom: 0px;
    width: 35%;
    text-align: center;
    background-color: #57b6c4;
    border-radius: 20px;
    display: block;
    color:white;
  }


  .menu--my-devices-block-4 {
    margin-bottom:600px;
    top: 333px;
  }

  .region--secondary-menu {
     margin-top: 0; 
     margin-bottom: 0; 
  }

    #block-olivero-account-menu {
    position: relative;
    top: 100px;
  }

  .block__content {
    margin:auto;
  }
  .refresh-page a {
    color: transparent;
    background-position-x: 31px;
    background-size: 23px;
    background-repeat: no-repeat;
    position: absolute;
    text-decoration: none;
    left: 59%;
    top: 7px;
    z-index: 99;
    height: 24px;
   }
   .toggle-wrapper {
      width: 89%;
   }

  .settings-block-mobile {
    position: relative;
    top: -20px;
  }
  .region--secondary-menu {
    display: block;
  }
  #block-olivero-account-menu {
    position: relative;
    top: 100px;
  }

  .region--secondary-menu .view-id-edit_profile {
    position: absolute;
    top: 85px;
  }

  a.home-link-mobile {
    /*border: 2px solid #57b6c4;
    border-radius: 5px 5px 0 0;
    font-size: 1em;
    height: 25px;
    padding: 4px 3px;
    border-bottom: none;
    margin: auto;
    background: white;
    text-decoration: none;
    color: black;
    font-style: normal;
    font-weight: normal;
    padding-top: 0px;
    width: 100%;
    text-align: center;*/
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 1em;
    height: 25px;
    padding: 5px 15px 8px;
    /* border-bottom: none; */
    background: white;
    text-decoration: none;
    color: black;
    font-style: normal;
    font-weight: normal;
    padding-top: 0px;
    width: 22%;
    text-align: left;
    height: 26px;
    display: block;
  }

  #block-olivero-content .user-form {
    width: 100%;
    margin:auto;
    border: none;
    border-radius:none;
    padding: 10px;
  }

  .path-user .block-block-content,
  .path-user .block-system-main-block {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }


  #block-footer.block-menu {
    position: fixed;
    bottom: 70px;
    background-color: #fff;
    width: 88.6%;
    border: 1px solid #00b8c5;
    border-radius: 5px;
    height: 30px;
    margin-left: 5px;
  }
  #block-footer.block-menu li.menu__item--level-1 {
    width: 134px;
    display: inline-block;
    padding-left: 28px;
  }
  #block-footer.block-menu li.menu__item--level-1 a {
    text-decoration: none;
    color: #00b8c5;
    position: relative;
    top: -3px;
  }

  .toggle-wrapper {
    position: fixed;
    bottom: 58px;
  }

  .page-node-type-device .field--name-field-hash {
    width:100%;
  }

  .temp-volt-wrapper {
    font-size: 0.8em;
    padding: 5px 1px;
  } 
  .voltage {
    padding-top: 1px;
    margin-top:0;
  }
  .region--secondary-menu {
    display: block!important;
    margin-bottom: 300px;
  }
  .region--secondary-menu ul {
    list-style-type: none;
  }

  #block-octopusvisualizationchartblock {
    visibility: hidden;
    height: 0;
    overflow: scroll;
    transition: all 0.5s ease;
    position: absolute;
    background-color: white;
    width: 94%;
    z-index: 9999;
    border: 2px solid #57b6c4;
    margin: 0 0 0 -1px;
    border-radius: 10px;
    padding: 20px;
  }

  #show-more-graphs-button {
    height: 20px;
    border: 2px solid #57b6c4;
    margin: 0 ;
    border-radius: 5px;
    padding: 10px;
  }

  input#octopus-apply-button {
    position: absolute;
￼   right: 25px;
    top: 120px;
  }

  #octopus-visualization-chart-form select[multiple] option {
    padding: 2px;
  }

}
/* =================================================================================================== */
/* =================================================================================================== 

   Large Screens

 =================================================================================================== */



/* Fix header for larger screens */

@media (min-width: 600px) {

   #block-footer.block-menu {
    display:none;
  }
  .site-header__initial {
    background-color: white;
    display: none;
  }

  [dir="ltr"] .main-content {
    margin-right: auto;
    margin-left: auto;
  }
  .baccara-device-footer {
    bottom: -35px;
    padding-top: 10px;
  }
  #block-baccaradevicefooter img {
    position: relative;
    top: -17px;
    left: 24%;
    padding: 0 25px;
    width: 203px;
    float: unset;
  }
  
 .baccara-footer .align-center {
    margin-right: 0;
    margin-left: 20px;
}
  
  .settings-block-mobile {
    /*display:none;*/
  }
  #settings-form-wrapper {
    padding-bottom: 100px;
  }
  .devicelistlink a {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 26px;
  }
  .settings-title.block__title::after {
    display: block;
    /*content: " Refresh the page before making changes";*/
    font-size: 14px;
    position: relative;
    top: 10px;
    width: 250px;
    color:#555;
    position: sticky;
    bottom: 0;
    z-index: 10;
  }
}



@media (min-width: 900px) {

  .home-mobile-settings {
    display:none;
  }

  #block-devicepagelinks {
    position: absolute;
    left: 500px;
    top:20px;
  }
    #block-devicepagelinks .menu__link.menu__link--button.menu__link--level-1, #block-devicepagelinks a.menu__link--level-1  {

  border: none;
    border-radius: 5px 5px 0 0;
    font-size: 1em;
    height: 27px;
    padding: 4px 34px;
    border-bottom: none;
    float: left;
    margin-top: 12px;
    background: white;
    text-decoration: none;
    color: black;
    font-style: normal;
    font-weight: normal;
    padding-top: 0px;
    cursor: pointer;
  }
  ul.menu.menu--level-1 {
    min-width: 200px;
  }
  
   .region--sidebar ul.menu.menu--level-1 {
    clear:both;
  }
#block-devicepagelinks ul.menu.menu--level-1 {
    min-width: 578px;
  }

  li.menu__item--level-1 {
    list-style: none;
  }
  .octopus-settings-form {
      width: 671px;
      left: 321px;
      background-color: white;
      position: absolute;
      top: 11px;
      box-shadow: rgba(0, 0, 0, 0.25) 0px 36px 55px, rgba(0, 0, 0, 1.12) 0px 5px 30px, rgba(0, 0, 0, 0.12) 227px 79px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    }  

    .sidebar-grid .region--sidebar {
    display:block;

  }
  .floating-save-button {
    display:none!important;
  }
  .baccara-device-footer {
    bottom: -35px;
    padding-top: 10px;
  }
  #block-baccaradevicefooter img {
    position: relative;
    top: -17px;
    left: 24%;
    padding: 0 25px;
    width: 403px;
    float: unset;
  }

  body.is-always-mobile-nav .header-nav, [dir="ltr"] body.is-always-mobile-nav .header-nav body.toolbar-horizontal.toolbar-fixed.toolbar-tray-open .header-nav {
    border-top-width: 100px;
  }

  body.is-always-mobile-nav.toolbar-vertical .header-nav, body.is-always-mobile-nav.toolbar-horizontal.toolbar-fixed .header-nav {
    position: fixed;
    /*left: 323px;*/
    width: 285px;
  }

  #block-views-block-user-logged-in-block-1 {
    margin:0;
  }

  .site-header {
    min-height: 5.25rem;
  }

  .device-in-circle-full-width {
    padding-bottom: 0;
    margin-bottom: -33px;
    margin-top: -81px;
  }

  .header-nav {
    width:70%;
    font-size: 1.2rem;
  }
  .header-nav.is-active {
    height: 100%;
  }


  .primary-nav__menu-link-inner--level-1 {
    display:none;
  }

  .page-node-type-device #block-devicesidemenu-2 {
    display:block;
  }

  .page-node-type-device .views-view-grid--horizontal.cols-4 > * {
    flex-basis: 100%;
  }

  #my_devices_menu_title {
    display: inline-block;
  }

  #my_devices_title {
    display:none;
  }

  .page-node-type-device h1 {
    position: relative;
    top: 5px;
  }

  .page-node-type-device .sidebar-grid > .site-main {
    grid-column: 4 / 13;
  }
  .page-node-type-device .region--sidebar {
    position:absolute;
    left:0;
    height: 165%; /*1952px; 743px;*/
    background-color:#d2d2d2;
    padding-top: 34px;
    border: 2px solid #57b6c4;
    border-radius: 5px;
    margin-top: 0.5625rem;
    min-width: 300px;
    max-width: 300px;
   /*max-width:366px*/

  }

   .page-node-type-device .mobile-buttons {
    display:none;
  }

  .block-views-blockmy-devices-block-4 .block__title, #block-views-block-my-devices-from-user-block-1 .block__title, .my-devices-side {
    border-bottom: 2px solid #57b6c4;
    border-radius: 0;
    width: 57%;
    margin-left: 90px;
    text-align: left;
  }
  .homeactionlinkdiv {
    position: relative;
    top: 86px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: -85px auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 70%;
  }
  #block-devicesidemenu, #block-useraccountmenu, #block-tprytmstms, .my-devices-side {
    margin-left: 1.5em;
  }

  #block-views-block-my-devices-from-user-block-1 a, #block-views-block-my-devices-from-user-block-1 .block__title, .block-views-blockmy-devices-block-4 .block__title, .my-devices-side,  #block-devicesidemenu ul a, #block-tprytmstms ul a, #block-useraccountmenu ul a, .view-display-id-block_4 .views-field-title a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-family: 'ASSISTANT', sans-serif;
    font-weight: normal;
    letter-spacing: -0.5px;
    padding:0;
  }
  #block-views-block-my-devices-from-user-block-1 .view-id-my_devices_from_user .views-field-edit-node a, #block-views-block-my-devices-from-user-block-1 .view-id-my_devices_from_user .views-field-nid a {
    background-image: url(/sites/default/files/Pencil.png);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position:3px 8px;
    padding: 9px;
    color: transparent;
  }
  .view-id-my_devices_from_user .views-field-title a {
    color:black;
  }
  
  .settings-title.block__title {
    /*margin-top:-400px;
    /*padding: 40px 0;*/
    /*text-wrap:none;
    padding: 14px 12px;
    text-align: center;
    height: 53px;
    border: 2px solid #00b8c5;
    border-radius: 5px;
    background-color: #00b8c5;
    color: white;
    font-size: 1.2rem;*/
    
  }

  .time_intervals {
    width: 333px;
    margin: auto;
  }
  .form-item__label {
    /*clear:both; */
  }

  .view-display-id-block_4 .views-field-title a {
    width: 229px;
    display: block;
  }

  #block-views-block-my-devices-block-4-2, .menu--sidebar  {
   position: relative;
   top: 0px;
   font-size: 1.2rem;
  }
  #block-views-block-my-devices-block-4-2 .views-field-title {
    float: left;
    margin-left: 95px;
  }
  .views-view-grid--horizontal {
    display: block;
  }
  #block-pagetitle {
    left:36px;
  }

  .washstatusannounce {
    width: 58%;
    font-size: 0.9em;
    padding-bottom: 14px;
    border: 1px solid #00b8c5;
    border-radius: 5px;
    height: 30px;
    float: right;
    text-wrap: nowrap;
  }


  .green {
    background-color:green;
    color:white;
  }


  .gray {
    background-color:gray;
    color:black;
  }


  .temperature {
    float: left;
    width: 45%;
    margin: 0px 15px 3px 3px;
  }

  .dpreading {
    margin-right: 15px;
  }
  .menu--sidebar .menu__link:after, .menu__link--level-2:after {
    border:none;
  }
  .menu--sidebar .menu__link--level-1:after,  #block-views-block-my-devices-block-4-2 .views-field-title:after  {
    border: 1px solid #57b6c4;
    border-radius: 5px;
    width:75%;
  }
  .monthlyWater, .watercalc, .flowratereading{
    float:left;
    width: 32%;
    margin: 10px 8px 10px 0;
    padding: 19px 0;
    height: 180px;
  }
  #block-devicesidemenu .menu--sidebar .menu {
    list-style: none;
    margin: 0;
}

  #flow_rate_wrapper, #water_cost_wrapper {
    float: left;
    width: 48%;
  }

  #block-devicesidemenu {
    clear: both;
    position: relative;
    top: 27px;
  }

  #block-bacarra {
    height: 45px;
  }

  #block-views-block-my-devices-from-user-block-1 .views-table, #block-views-block-my-devices-from-user-block-1 .views-table tr:last-child td , #block-views-block-my-devices-from-user-block-1 .views-table td{
    border: none;
    padding:0 ;
  }

  #block-views-block-my-devices-from-user-block-1 .block__title {
    margin-bottom: 7px;
  }

  .sidebar-grid .region--sidebar {
    display:block;

  }

  .toggle-wrapper {
    position: fixed;
    bottom: 67px;
    float: left;
    width: 179px;
    z-index: 995;
    padding: 5px 12px;
    text-align: center;
    height: 36px;
    border: 2px solid #00b8c5;
    border-radius: 5px;
    margin-top: 0;
    background-color: #00b8c5;
    color: white;
    font-size: 1rem;
    left: 44%;
  }

  .toggle-wrapper [dir="ltr"] input[type="checkbox"] + label, .toggle-wrapper [dir="ltr"] input[type="radio"] + label {
    padding-left: 40px;
  }

  .toggle-label {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-size: 1.2em;
    padding: 0;
    margin: -2px 10px;
  }
  label [for="stop-checkbox"] {
    position: absolute;
    max-height: 36px;
    bottom: 0px;
    float: left;
    width: 187px;
    z-index: 995;
    padding: 3px 8px 0px;
    text-align: center;
    height: 36px;
    border: 2px solid #00b8c5;
    border-radius: 5px;
    margin-top: 0;
    background-color: #00b8c5;
    color: white;
    font-size: 1.2rem;
    left: 98%;
  }

  .button.command-start,.button.command-stop {
    margin: 0px 20px 0;
    width: 338px;
    left: 42.5%;
    color: white;
    background-color: darkred;
    border: 1px solid aqua;
    border-radius: 5px;
    position: fixed;
    bottom: 103px;
    float: left;
    width: 340px;
    z-index: 995;
    padding: 10px 27px;
    text-align: center;
    height: 36px;

  }

  .timeint {
    text-align: center;
    float:left;
    margin-left: 10px;
  }
  .timeint input {
    width: 100px;
    text-align:center;
  }

  .geolocation-button-wrapper {
    display:none;
  }
  .edit-map-link {
    position: relative;
    top:0px;
  }


  #settings-form-wrapper .fieldset__wrapper {
    margin: 0 0px 0 -37px;
    transform: scale3d(0.8, 1.0, 1.0);
  }

  #settings-form-wrapper .button {
    position: fixed;
    bottom: 0px;
    width: 35%;
    text-align: center;
    background-color: #57b6c4;
    border-radius: 20px;
    display: block;
    color:white;
  }
  
  #temp-volt-reading .field__item {
    padding: 32px 0 0 0;
  }

  #temp-volt-reading .field__label {
    padding: 10px 0 0 0;
  }

  .get-settings-form {
    position: relative;
    left: 23%;
    width: 169px;
  }
  .get-settings-form .button {
    border-radius: 20px;
  }

  #block-octopusvisualizationchartblock {
    visibility: hidden;
    height: 0;
    overflow: scroll;
    transition: all 0.5s ease;
    position: absolute;
    background-color: white;
    width: 72%;
    z-index: 9999;
    border: solid 1px aqua;
    margin: 0 0 0 -65px;
    border-radius: 10px;
    padding: 20px;
  }

  #block-moregraphsblock {
    height: 22px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 150px;
  }
  #show-more-graphs-button {
    height: 24px;
    border: 2px solid #57b6c4;
    margin: 0;
    border-radius: 5px;
    padding: 0px 5px;
  }

  input#octopus-apply-button {
    position: absolute;
    top: 124px;
    left: 65%;
  }

    #octopus-visualization-chart-form select[multiple] option {
    padding: 2px;
  }

}

/*==========================================================================================================================
===========================================    END LARGE SCREENS                 ===========================================
==========================================================================================================================*/

 @media (min-width: 1440px) {
  #block-octopusheaderimage img {
    position:relative;
    left: 40px;
  }
}


.left {
  text-align:left;
}

.announceol {
  font-size:0.8em;
  font-weight: bold;
}

.highcell {
 height: 100%;
 background-color: white;
 border: solid 1px blue;
 border-radius: 20px;
 font-size: 1.5em;
 padding: 20px;
 margin-bottom:200px;
}

.highcell li {
  margin-bottom:20px;
}

.existingdevices {
  color: red;
  font-size: 0.7em;
  font-weight:bold;
}

.announce-refresh {
  font-size: 0.9em;
  font-weight:bold;
}


.status-dot {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  float: left;
  margin-right: 7px;
  margin-left: 7px;
  margin-top: 8px;
}
  
.red {
  background-color:red;
}

.green{
  background-color:green;
  
}
.edit-this-device {
  float:right;
  padding-left: 30px;
}
.connected-devices ul {
  list-style-type:none;
  width: 200px;
}
.connected-devices ul li {
  clear:both;
}
.connected img, .disconnected img {
  
}
.connected a, .disconnected a {
  color:black;
  font-size: 16px;
  font-family: 'ASSISTANT', sans-serif;
  font-weight: normal;
  letter-spacing: -0.5px;
  padding: 0; 
  list-style-type:none;
  text-decoration:none;
  float:left;
  max-width: 155px;
  overflow:hidden;
  text-wrap: nowrap;
}
.disconnected, .connected {
  width: 255px;
}

 
 
 /* General block styling */
#block-connecteddevicesblock-2, #block-alldevicesblock {
  text-align: center;
}

#block-connecteddevicesblock-2 ul {
  list-style-type: none;
}

/* Title styling for both blocks */
#block-connecteddevicesblock-2 .my-devices-title, #block-alldevicesblock .my-devices-title {
  text-align: center;
  color: black;
}

/*  Connected Devices*/
/* Styling for list items */
#block-connecteddevicesblock-2 li {
  color: black;
  border-bottom: 2px solid #00b8c5;
  margin: 10px;
  padding: 0 0 39px 0px;
}

/* Styling for links within connected/disconnected items */
#block-connecteddevicesblock-2 .disconnected a,
#block-connecteddevicesblock-2 .connected a {
  font-size: 24px;
  font-weight: bold;
  max-width: 80%;
  color: inherit;
}

/* Styling for connected and disconnected items */
#block-connecteddevicesblock-2 .disconnected,
#block-connecteddevicesblock-2 .connected {
  width: 95%;
  clear: both;
  text-align: left;
}


/* Table styling */
#block-alldevicesblock table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  color: black;
}

#block-alldevicesblock th {
  background-color: #00b8c5;
  color: black;
  text-align: left;
  padding: 10px;
  border-bottom: 2px solid #ffffff;
}

#block-alldevicesblock td {
  padding: 10px;
  border-bottom: 2px solid #00b8c5;
  text-align: left;
}

/* Highlight for connected and disconnected rows */
#block-alldevicesblock .connected td a,
#block-alldevicesblock .disconnected td a {
  font-size: 24px;
  font-weight: bold;
  max-width: 80%;
  color: inherit;
}

#block-alldevicesblock .connected {
  background-color: #1a662a; /* Light green for connected */
}

#block-alldevicesblock .disconnected {
  background-color: #662222; /* Light red for disconnected */
}

/* Optional: Center the dots in the status column */
#block-alldevicesblock td .status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
}

#block-alldevicesblock td .status-dot.green {
  background-color: green;
}

#block-alldevicesblock td .status-dot.red {
  background-color: red;
}

/* Hover effect for table rows */
#block-alldevicesblock tr:hover {
  background-color: rgba(0, 0, 0, 0.1); /* Light gray hover effect */
}

 
 
 #block-registerlink {
  display:none;
 }
 

@media (min-width: 900px) and (max-width: 1200px) {
  .page-node-type-device .sidebar-grid > .site-main {
    grid-column: 5 / 15;
  }
  .homeactionlinkdiv {
    width: 290px;
  }
}

@media (max-width: 1000px) {
  .washstatus {
      font-size: 0.9em;
  }

} 
.form-item-show-alerts {
  display:none;
}


.redbell {
  width:35px;
  float:left;
  padding:0;
}


#pin-output {
  font-size: 2em;
  padding: 20px;
  text-align: center;
  border: 2px solid #57b6c4;
  border-radius: 10px;
  width: 287px;
  margin: -64px auto;
  line-height: 2em;
}

.retrieve-pin-heading h2 {
  font-size: 20px;
  text-wrap: balance;
}

#edit-mac--description, #edit-user--description {
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.675rem;
  line-height: 1rem;
  text-wrap: balance;
}

.pin-link a {
  color: #0d77b5;
  font-weight: bold;
  font-size: 0.6em;
  text-decoration: none;
  border: 1px solid #57b6c4;
  padding: 5px;
  border-radius: 5px;
  text-shadow: 0 1px BLACK;
}

.form-item__label {
    text-wrap: balance;
}


/* For OpenID blocks on login page */
.openid-connect-login-form, #block-retrieveyourpassword {
	display:none;	
}