/*=============== GOOGLE FONTS ===============*/
/* @import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap"); */

/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --gradient-color-red: linear-gradient(90deg,
      hsl(7, 89%, 46%) 15%,
      hsl(11, 93%, 68%) 100%);
  --gradient-color-orange: linear-gradient(90deg,
      hsl(22, 89%, 46%) 15%,
      hsl(54, 90%, 45%) 100%);
  --gradient-color-yellow: linear-gradient(90deg,
      hsl(54, 89%, 46%) 15%,
      hsl(92, 90%, 45%) 100%);
  --gradient-color-green: linear-gradient(90deg,
      hsl(92, 89%, 46%) 15%,
      hsl(92, 90%, 68%) 100%);
  --gradient-color-blue: linear-gradient(90deg,
      hsl(204, 89%, 46%) 15%,
      hsl(180, 90%, 68%) 100%);
  --text-color: #fff;
  --body-color: rgb(46, 45, 45);
  --container-color: hsl(0, 0%, 0%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Rubik', sans-serif;

  --biggest-font-size: 2.5rem;
  --normal-font-size: .938rem;
  --smaller-font-size: .75rem;
  /* overflow: hidden; */
}



* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;

}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 0.5;
  }

  to {
    opacity: 0;
  }
}

#main_page {
  display: none;
}

.cc {
  position: absolute;
  bottom: 5px;
  right: 15px;
  color: #b3b3b3;
}

#mode_check_ug {
  cursor: pointer;
  position: absolute;
  bottom: 5px;
  right: 18px;
  color: #c4b9b985;
}
.images{
  filter: invert(100%);
}

#mode_check_oh {
  cursor: pointer;
  position: absolute;
  bottom: 5px;
  right: 18px;
  color: #c4b9b985;
}

/*=============== tank ===============*/
.tank {
  height: 100vh;
  display: grid;
  place-items: center;
  margin: 2px;
  background-color: rgb(46, 45, 45);
  ;
}

/* .all_cards{
  
  position: relative;
  background-color: aqua;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  align-items: center;
  width: 100%;

  margin-left: 20%;
  margin-top: 10%;
  margin-bottom: 10%;
  margin-right: 10%;
} */


/* .tank__card {

  position: absolute;
  height: 340px;
  background-color: var(--container-color);
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  margin-right: 1.5rem;
} */



.tank__percentage {
  font-size: var(--biggest-font-size);
}

.material-symbols-outlined {

  display: grid;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

.UG_show_height_bracket {
  position: absolute;
  display: grid;
}

.tank__status {
  position: absolute;
  bottom: 1rem;
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-size: var(--smaller-font-size);
}

.tank__status i {
  font-size: 1.25rem;
}

.tank__pill {
  position: relative;
  width: 75px;
  height: 100px;
  background-color: var(--container-color);
  box-shadow: inset 20px 0 48px hsl(0, 0%, 16%),
    inset -4px 12px 48px hsl(0, 0%, 56%);
  border-radius: 1rem;
  justify-self: flex-end;
}

.tank__level {
  position: absolute;
  inset: 2px;
  border-radius: 1rem;
  overflow: hidden;
}

.tank__liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--gradient-color-red);
  box-shadow: inset -10px 0 12px hsla(0, 0%, 0%, .1),
    inset 12px 0 12px hsla(0, 0%, 0%, .15);
  transition: .3s;
}

.tank__liquid::after {
  content: '';
  position: absolute;
  height: 8px;
  background: var(--gradient-color-red);
  box-shadow: inset 0px -3px 6px hsla(0, 0%, 0%, .2);
  left: 0;
  right: 0;
  margin: 0 auto;
  top: -4px;
  border-radius: 50%;
}


.tank__percentage_1 {

  font-size: var(--biggest-font-size);
}


.tank__pill_1 {
  position: relative;
  width: 75px;
  height: 100px;
  background-color: var(--container-color);
  box-shadow: inset 20px 0 48px hsl(0, 0%, 16%),
    inset -4px 12px 48px hsl(0, 0%, 56%);
  border-radius: 1rem;
  justify-self: flex-end;
}

.tank__level_1 {
  position: absolute;
  inset: 2px;
  border-radius: 1rem;
  overflow: hidden;
}

.tank__liquid_1 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--gradient-color-red);
  box-shadow: inset -10px 0 12px hsla(0, 0%, 0%, .1),
    inset 12px 0 12px hsla(0, 0%, 0%, .15);
  transition: .3s;
}

.tank__liquid_1::after {
  content: '';
  position: absolute;
  height: 8px;
  background: var(--gradient-color-red);
  box-shadow: inset 0px -3px 6px hsla(0, 0%, 0%, .2);
  left: 0;
  right: 0;
  margin: 0 auto;
  top: -4px;
  border-radius: 50%;
}

.tank__status_1 {
  position: absolute;
  bottom: 1rem;
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-size: var(--smaller-font-size);
}

.tank__status_1 i {
  font-size: 1.25rem;
}




/* Full tank icon color */
.green-color {
  background: var(--gradient-color-green);
}

/* tank charging animation */
.animated-green {
  /* background: var(--gradient-color-green); */
  animation: animated-charging-tank1 1.2s infinite alternate;
}

.animated-blue {
  background: var(--gradient-color-blue);
  animation: animated-charging-tank 1.2s infinite alternate;
}

/* Low tank animation */
.animated-red {
  background: var(--gradient-color-red);
  animation: animated-low-tank 1.2s infinite alternate;
}

.animated-green,
.animated-red,
.animated-blue,
.green-color {
  -webkit-background-clip: text;
  color: transparent;
}

/* @keyframes animated-charging-tank {
  0% {
    text-shadow: none;
  }

  50% {

    text-shadow: 0 0 8px hsl(167, 97%, 49%);

  }

  100% {
    text-shadow: 0 0 6px hsl(92, 90%, 68%);
  }
} */


@keyframes animated-charging-tank {
  0% {
    filter: invert(99%) sepia(87%) saturate(7278%) hue-rotate(86deg) brightness(97%) contrast(98%);
  }

  50% {
    filter: invert(72%) sepia(96%) saturate(345%) hue-rotate(91deg) brightness(93%) contrast(107%);
  }

  100% {
    filter: invert(94%) sepia(17%) saturate(1344%) hue-rotate(33deg) brightness(96%) contrast(102%);
  }
}

@keyframes animated-charging-tank1 {
  0% {

    filter: invert(86%) sepia(5%) saturate(3696%) hue-rotate(95deg) brightness(103%) contrast(96%);
  }

  50% {
    filter: invert(86%) sepia(5%) saturate(3696%) hue-rotate(95deg) brightness(103%) contrast(96%);
  }

  100% {

    filter: invert(70%) sepia(57%) saturate(625%) hue-rotate(71deg) brightness(107%) contrast(101%);
  }
}

@keyframes animated-low-tank {
  0% {
    text-shadow: none;
  }

  50% {

    text-shadow: 0 0 8px hsl(27, 89%, 46%);

  }

  100% {
    text-shadow: 0 0 8px hsl(7, 98%, 51%);
  }
}

/* Liquid tank with gradient color */
.gradient-color-red,
.gradient-color-red::after {
  background: var(--gradient-color-red);
}

.gradient-color-orange,
.gradient-color-orange::after {
  background: var(--gradient-color-orange);
}

.gradient-color-yellow,
.gradient-color-yellow::after {
  background: var(--gradient-color-yellow);
}

.gradient-color-green,
.gradient-color-green::after {
  background: var(--gradient-color-green);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */

/* @media screen and (max-width: 320px) and (max-width:429px){
  .tank__card {
    width: auto;
  }
  .tank__pill {
    width: 50px;
  }
  .tank__percentage{
    font-size: 1.6rem;
  }
  
}

/* For medium devices */
/* @media screen and (min-width: 430px)and(max-width: 799px) {
  .tank__card {
    width: auto;
  }
  
  .tank__pill {
    width: 60px;
  }
  .tank__percentage{
    font-size: 2rem;
  }
} */
/* @media screen and (min-width: 800px) and (max-width: 1023px) {
  .tank__card {
    width: auto;
  }
  .tank__pill {
    width: 75px;
  }
  .tank__percentage{
    font-size: 2.75rem;
  }
  
} */

/* For large devices */
/* @media screen and (min-width: 1024px) {
  .tank__card {
    width: auto;
  }
  .tank__pill {
    width: 85px;
  }
  .tank__percentage{
    font-size: 3rem;
  }
}  */
/*now starts my code*/
/*now starts my code*/
/*now starts my code*/
/*now starts my code*/
/*now starts my code*/
/* .tank__card_1 {
  position: absolute;
  flex: 0 0 50%;
  height: 340px;
  background-color: var(--container-color);
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  margin-left: 50%;
} */




.all_cards {
  display: flex;
  flex-wrap: wrap;
  /* height: 340px; */
  display: grid;
  grid-template-columns: repeat(2, 2fr);
}

.tank__card {
  position: relative;
  flex: 1 1 45%;
  background-color: var(--container-color);
  border-radius: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  margin-right: 3px;
  margin-left: 3px;
}

.tank__card_1 {
  position: relative;
  flex: 1 1 45%;
  background-color: var(--container-color);
  border-radius: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  margin-left: 3px;
  margin-right: 3px;
}

/* @media screen and (max-width: 767px) {
  .all_cards {
    flex-direction: column;
    align-items: center;
  }
  

} */


/* 
.tankL{
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
} */


.tank__text {
  position: relative;
  display: grid;
}


.switch {
  position: relative;
  display: grid;
  width: 60px;
  height: 34px;
}



.switch input {
  display: none;

}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.2s;
}

input:checked+.slider {
  background-color: #21f38a;
}

input:checked+.slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

input:disabled+.slider {
  background-color: wheat;
}

#InlineEnableLabel,
#AutoEnableLabel,
#ScheduleEnableLabel {
  position: relative;
  margin: 0;
  line-height: 1.2;
}

#enableInlineButton,
#enableAutoButton,
#enableScheduleButton {
  position: relative;
  display: inline-block;
  left: 0;
  bottom: 0;
  margin-top: .35rem;
  margin-bottom: .75rem;
}


.settings-icon-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-block;
  /* Replace with the path to your settings icon image */
  background-size: cover;
  /* Adjust as needed to display the icon properly */
  /* Add other styles for the button appearance, like padding, margins, etc. */
}

input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}



.settings-icon-button1 {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: inline-block;

  /* background-image: url('stlx_logo.jpg'); Replace with the path to your settings icon image */
  background-size: cover;
  /* Adjust as needed to display the icon properly */
  /* Add other styles for the button appearance, like padding, margins, etc. */
}

.stlx {
  position: absolute;
}

.user_name {
  position: absolute;
  display: flex;
  align-items: center;
}

#RTC {
  position: absolute;
  bottom: 5px;
  right: 15px;

}

#dateTime {

  bottom: 25px;
  color: #b3b3b3;
  width: 60px;
}

#Date {
  color: #b3b3b3;
  width: 10s0px;
}

.checkbox-container {
  display: inline-block;
  /* This will make the containers appear next to each other */
  margin-bottom: 10px;
}

.button_lable {
  position: relative;
  top: 2.2rem;
  left: 5px;
  color: rgb(187, 192, 192);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: hsl(0, 1%, 14%);
  ;
  width: 300px;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#confirmYes {
  width: 60px;
  height: 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
}

#confirmYes:hover {
  background-color: rgb(191, 201, 201);
}

#confirmNo {
  width: 60px;
  height: 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
}

#confirmNo:hover {
  background-color: rgb(191, 201, 201);
}

#confirmYes1 {
  width: 60px;
  height: 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
}

#confirmYes1:hover {
  background-color: rgb(191, 201, 201);
}

#confirmNo1 {
  width: 60px;
  height: 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
}

#confirmNo1:hover {
  background-color: rgb(191, 201, 201);
}

#confirmYes_oh {
  width: 60px;
  height: 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
}

#confirmYes_oh:hover {
  background-color: rgb(191, 201, 201);
}

#confirmNo_oh {
  width: 60px;
  height: 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
}

#confirmNo_oh:hover {
  background-color: rgb(191, 201, 201);
}

#confirmYes_ug {
  width: 60px;
  height: 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
}

#confirmYes_ug:hover {
  background-color: rgb(191, 201, 201);
}

#confirmNo_ug {
  width: 60px;
  height: 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
}

#confirmNo_ug:hover {
  background-color: rgb(191, 201, 201);
}

#InlineEnableLabel{
  position: relative;
}

#enableInlineButton{
  position: relative;
}

#advanced_settings {
  display: none;
}

#advanced_title {
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  font-size: 30px;
}

/* #adv_close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: auto;
  z-index: 10;
} */