/* Set background color to dark grey through the whole application */
html,
body {
  box-sizing: border-box;
  background-color: #343536;
  font-family: "Open Sans", sans-serif !important;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/* styles for login.html */
.loginHeader {
  /*background-color: #2f2f2f;*/
  background-color: white;
  height: 7vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
}

.meterTracLogo {
  height: 90%;
}

.loginMain {
  background-color: #525252;
  height: 86vh;
  max-width: 100%;
  margin: 0 !important;
}

.loginInner {
  width: 30% !important;
  padding: 2.5rem !important;
  background-color: #dddddd;
  border-radius: 1em;
}
.loginInner label {
  width: 100%;
  margin-bottom: 0;
}
.loginInner input {
  width: 100%;
  margin-bottom: 1rem;
}
.loginInner input[type="submit"] {
  margin-bottom: 0;
}
.loginInput {
  height: 30px;
  width: 100%;
  color: #666666;
}

.loginBtn {
  border: 1px solid #0490d0;
  border-radius: 10px;
  height: 30px;
  width: 100%;
  background-color: #0490d0;
  color: #ffffff;
}

.formMarginBottom {
  /* margin-bottom: 1.0rem; */
}

.errorMessage {
  color: #cc1520;
}

.activeInput {
  border: 2px solid #cc1520;
}

.inputNoMarginBottom {
  margin-bottom: 0rem;
}

.marginBot {
  margin-bottom: 1rem;
}

.ozgeenLogo {
  background-color: #ffffff;
  height: 50px;
}

.loginFooter {
  flex-direction: column;
  font-size: 11px;
  color: #ffffff;
  background-color: #2f2f2f;
  height: 7vh;
}

/* Larger than tablet */
@media (min-width: 750px) {
  .loginFooter {
    /* font-size: 1.3rem; */
  }
}

/* styles for main.html */
.rightSideBar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #525252;
  color: #e6e6e6;
  height: 93vh;
  overflow-y: auto;
  position: absolute;
  right: 0;
  top: 7vh;
  -webkit-transition: width 0.5s ease-in-out;
  -moz-transition: width 0.5s ease-in-out;
  -o-transition: width 0.5s ease-in-out;
  transition: width 0.5s ease-in-out;
  width: 0%;
  z-index: 10003;
}

.sideBarActive {
  -webkit-transition: width 0.5s ease-in-out;
  -moz-transition: width 0.5s ease-in-out;
  -o-transition: width 0.5s ease-in-out;
  transition: width 0.5s ease-in-out;
  width: 80%;
}

.yScrollbar {
  overflow-y: auto;
}

.paddingTop {
  padding-top: 5px;
}

.noStyleType {
  list-style-type: none;
}

.listItemActive {
  background-color: #e77019;
}

.settingsContainerTop {
  height: 50%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}

.settingsContainerBottom {
  height: 50%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
}

.navBtn {
  color: #ffffff;
  background-color: #707070;
  width: 96%;
  height: 10%;
  margin-top: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.settingsContainerTop .tab-icon {
  width: 100%;
}
.navBtnActive {
  color: #ffffff;
  background-color: #7ba1c7;
  width: 96%;
  height: 10%;
  text-align: center;
}
.settingsContainerTop .tab-icon {
  color: #fff;
  text-decoration: none;
}

.mainHeader {
  background-color: white;
  color: #ffffff;
  height: 7vh;
}

.headerLogo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: 85%;
  padding-left: 10px;
}

.headerSideBar {
  width: 15%;
  color: black;
}

.h5 {
  margin-bottom: 0rem;
}

.mainMain {
  background-color: #eeeeee;
  /* height: 82vh; */
  flex-direction: column;
  display: flex;
  overflow-y: auto;
  min-height: calc(100vh - 7vh - 65px);
  position: relative;
}

.mainFooter {
  color: #ffffff;
  background-color: #2f2f2f;
  height: 7vh;
  flex-direction: column;
  font-size: 0.9rem;
}

@media (min-width: 750px) {
  .mainFooter {
    font-size: 1.3rem;
  }
}

/* Utility styles */

a:link {
  text-decoration: none;
  color: #000000;
}

a:visited {
  text-decoration: none;
  color: #000000;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

button {
  height: 3em;
  /* width: 70px; */
  border: 1px solid #0490d0;
  background-color: #0490d0;
  color: #ffffff !important;
  box-shadow: rgb(84, 163, 247) 0px 1px 0px 0px inset;
  background: linear-gradient(rgb(0, 125, 193) 5%, rgb(0, 97, 167) 100%)
    rgb(0, 125, 193);
  border: 1px solid rgb(18, 77, 119);
  display: inline-block;
  cursor: pointer;
  color: rgb(255, 255, 255);
  /* font-family: Arial; */
  /* font-size: 13px; */
  /* padding: 6px 24px; */
  text-decoration: none;
  text-shadow: rgb(21, 70, 130) 0px 1px 0px;
}

.marginTop {
  margin-top: 0.7rem;
}

.marginBottom {
  /* margin-bottom: 1.0rem; */
}

.flexBoxCenter {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.paddingTopBot {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.transparent {
  opacity: 0.4;
}

/* Generic  styles for pages *.html */
.mainChartsContainer {
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
  flex-direction: column;
  height: 100%;
  /* width: 100%; */
  flex-grow: 1;
  min-height: calc(100vh - 65px - 65px);
}

.mainChartsContainer{
  height:100%!important;
}

/* Styles for chart.html */

.chartContainerLoading {
  font-size: 2em;
  font-weight: bold;
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  z-index: 9999;
}

.chartControlContent {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  flex-direction: column;
  min-height: 15vh;
  width: 100%;
  padding: 0.2em;
}

.chartControlContent2 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7vh;
  width: 100%;
}

.chartControlRow2 {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 50%;
  height: 100%;
}

.chartControlRowTop2 {
  width: 100%;
  height: 50%;
}

.chartControlRowTop {
  width: 100%;
  height: 33.333333333%;
}

.chartControlRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-grow: 1;
  flex-direction: row;
  padding-left: 10px;
  padding-right: 10px;
}

.controlTableContent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8%;
}

.tableIcon {
  height: auto;
  width: auto;
  max-width: 30px;
  max-height: 30px;
}

.controlDatepickerContent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 51%;
}

.controlDatepickerContent input[type="date"] {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 5px;
}

.controlDatepickerContent2 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.controlObject {
  background-color: #ffffff;
  height: 100%;
  width: 100%;
}

.controlIntFoldContent {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90%;
  width: 37%;
}

.chartContent {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 50vh;
  width: 96%;
}

.chartContent_chart {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* height: 100%; */
  width: 100%;
  /* margin-bottom: 0; */
  flex-grow: 1;
}

.chartContent_Control {
  display: flex;
  /* align-items: center; */
  justify-content: flex-start;
  flex-direction: column;
  /* height: 100%; */
  width: 100%;
  /* overflow-y: scroll; */
  flex-grow: 1;
}

.chartContent2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 65vh;
  width: 96%;
}

.chartContent2_cal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* min-height: 67vh; */
  width: 100%;
  flex-grow: 1;
  float: left;
  /* height: 93%; */
  padding: 0.5em;
  position: relative;
}

.chartTitle {
  /* background-color: #e3e3e3; */
  /* border: 1px solid #000000; */
  /* border-top-left-radius: 10px; */
  /* border-top-right-radius: 10px; */
  height: 7vh;
  width: 50%;
  /* cursor: pointer; */
  float: left;
  box-sizing: border-box;
}

.measurementLeft {
  min-height: 10vh;
  width: 15%;
  border-right: 1px solid #000000;
}

.measurementLeft:hover {
  cursor: pointer;
}

.measurementLeft_calcontrol {
  /* min-height: 10vh; */
  /* width: 100%; */
  float: left;
  display: flex;
  flex-direction: row;
  margin-right: 1em;
}

.measurementLeft_calcontrol:hover {
  cursor: pointer;
}

.measurementMiddle {
  min-height: 10vh;
  width: 70%;
}

.measurementMiddle_selection {
  height: 100%;
  width: 100%;
  /* border-top-left-radius: 10px; */
  /* border-top-right-radius: 10px; */
  padding: 0.3em;
  cursor: pointer;
  background: #ffffff;
  color: #000;
  border: 1px solid;
  box-shadow: rgb(84, 163, 247) 0px 1px 0px 0px inset;
  background: linear-gradient(rgb(0, 125, 193) 5%, rgb(0, 97, 167) 100%)
    rgb(0, 125, 193);
  border: 1px solid rgb(18, 77, 119);
  display: inline-block;
  cursor: pointer;
  color: rgb(255, 255, 255);
  font-family: Arial;
  /* font-size: 13px; */
  /* padding: 6px 24px; */
  text-decoration: none;
  text-shadow: rgb(21, 70, 130) 0px 1px 0px;
  text-align: left;
}

.measurementMiddle_selection2 {
  height: 100%;
  width: 100%;
  /* border-top-left-radius: 10px; */
  /* border-top-right-radius: 10px; */
  padding: 0.3em;
  cursor: pointer;
  background: #ffffff;
  color: #000;
  /* border: 1px solid; */
  /* box-shadow: rgb(84, 163, 247) 0px 1px 0px 0px inset; */
  /* background: linear-gradient(rgb(0, 125, 193) 5%, rgb(0, 97, 167) 100%) rgb(0, 125, 193); */
  /* border: 1px solid rgb(18, 77, 119); */
  display: inline-block;
  cursor: pointer;
  color: #000000;
  font-family: Arial;
  /* font-size: 13px; */
  /* padding: 6px 24px; */
  /* text-decoration: none; */
  /* text-shadow: rgb(21, 70, 130) 0px 1px 0px; */
}

.measurementRight {
  min-height: 10vh;
  width: 15%;
  border-left: 1px solid #000000;
}

.measurementRight:hover {
  cursor: pointer;
}

.chartContainer {
  position: relative;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  min-height: 40vh;
  width: 100%;
}

.chartContainer_chart {
  position: relative;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  /* min-height: 79vh; */
  width: 100%;
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.chartContainer_chart2 {
  position: relative;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  width: 100%;
  height: 20vh;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.chartContainer_cal {
  position: relative;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  /* min-height: 47vh; */
  width: 100%;
  flex-grow: 1;
  max-height: 61vh;
  overflow-y: auto;
}

.chartContainer_cal table tr td input {
  background-color: #ffffff;
  height: 70%;
  width: 100%;
}

.dataDisplayChart {
  height: 100%;
  width: 100%;
  position: absolute;
}

.dataDisplayChart2 {
  height: 100%;
  width: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.runtimeTitle {
  background-color: rgb(127, 197, 247);
  color: #000000;
  height: 20%;
  width: 100%;
}

#runtimeChart {
  height: 85%;
  width: 100%;
}

.dataDisplayTable {
  border: 2px solid #000000;
  height: 100%;
  width: 100%;
  position: absolute;
  overflow: auto;
  background-color: #ffffff;
}

table {
  height: 100%;
  width: 100%;
}

table tbody tr {
  height: 30px;
  border-left: 0;
  border-right: 0;
}

table td {
  font-size: 0.6em;
  text-align: center;
  vertical-align: middle;
  border-bottom: solid 2px #000000;
  border-top: solid 2px #000000;
}

table th {
  height: 30px;
  border-bottom: solid 2px #000000;
  font-weight: bold;
  color: #000000;
  font-size: 0.7em;
  text-align: center;
  vertical-align: middle;
}

#chart {
  height: 100%;
  width: 99.9%;
}

.chartMeasurementContainer {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #000000;
  border-top: 1px solid #000000;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  min-height: 5vh;
  width: 100%;
  background-color: #ffffff;
}

.chartMeasurementContainer2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #000000;
  border-top: 1px solid #000000;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  /* min-height: 10vh; */
  width: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-grow: 0;
}

.chartMeasurementRow {
  /* min-height: 10vh; */
  width: 100%;
  display: flex;
  flex-grow: 0;
}

.wizardPageBtn {
  border: 2px solid #000000;
  background-color: #ffffff;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin-bottom: 0rem;
}

.wizardPageBtnActive {
  border: 2px solid #000000;
  background-color: #000000;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin-bottom: 0rem;
}

.utlLeftPadding {
  margin-left: 20px;
}

.chartWaterTypeContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 96%;
  min-height: 10vh;
}

.chartWaterTypeRow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5vh;
  width: 100%;
}

.maintenanceBtn {
  height: 5vh;
}

.legendButton {
  min-height: 8vh;
  border-radius: 5px;
  width: 50%;
  background-color: #ffffff;
  border: 2px solid #292929;
  color: #fff;
  font-size: xx-small;
  float: left;
  margin-bottom: 0rem;
}

.legendButton:hover {
  background-color: #d3f0ff;
}

.legendButton:focus {
  background-color: #d3f0ff;
}

.legendButtonSite {
  min-height: 8vh;
  width: 100%;
  background-color: #ffffff;
  color: #111;
  font-size: xx-small;
  float: left;
  margin-bottom: 0rem;
}

.legendButtonSite:hover {
  background-color: #d3f0ff;
}

.legendButtonSite:focus {
  background-color: #d3f0ff;
}

.legendButtonOn {
  min-height: 8vh;
  border-radius: 5px;
  height: 100%;
  width: 50%;
  background-color: #afd8ed;
  border: 2px solid #292929;
  font-size: small;
  color: #111;
}

.legendButtonOn:hover {
  background-color: #d3f0ff;
}

.legendButtonOn:focus {
  background-color: #d3f0ff;
}

.chartLegendContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* overflow-y: scroll; */
  /* flex-grow: 1; */
  padding-bottom: 131px;
}

.chartUpdateContainer {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 10em;
  /* margin: 0.5em; */
}

.chartUpdateContainer2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 7vh;
}

.chartLegendRowMeter {
  border: 1px solid;
  border-radius: 5px;
  background-color: #ffffff;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  width: 98%;
}

.itemSite {
  padding: 0.5rem;
  width: 100%;
  flex-grow: 1;
  height: 100%;
  display: contents;
  padding: column;
}

.itemSiteTitle {
  padding: 0.3rem;
  width: 100%;
}

.itemSiteTitleLeft {
  width: 15%;
}

.itemSiteTitleMiddle {
  width: 70%;
}

input[type="checkbox"] {
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.5); /* IE */
  -moz-transform: scale(1.5); /* FF */
  -webkit-transform: scale(1.5); /* Safari and Chrome */
  -o-transform: scale(1.5); /* Opera */
}

.itemSiteTitleRight {
  width: 15%;
}

.itemSiteTitle:hover {
  cursor: pointer;
}

.tableInput {
  height: 90%;
  width: 100%;
}

.opacity_inactive {
  opacity: 0.5;
}

.meter1 {
  border-top: 4px solid rgb(31, 119, 180);
}

.meter2 {
  border-top: 4px solid rgb(255, 127, 14);
}

.meter3 {
  border-top: 4px solid rgb(44, 160, 44);
}

.meter4 {
  border-top: 4px solid rgb(214, 39, 40);
}

.meter5 {
  border-top: 4px solid rgb(148, 103, 189);
}

.meter6 {
  border-top: 4px solid rgb(140, 86, 75);
}

.meter7 {
  border-top: 4px solid rgb(227, 119, 194);
}

.meter8 {
  border-top: 4px solid rgb(127, 127, 127);
}

.meter9 {
  border-top: 4px solid rgb(188, 189, 34);
}

/* Styles for chart.html */

.tableControlContent {
  height: 7vh;
  width: 50%;
  border: 1px solid;
  background: #fff;
  float: left;
  box-sizing: border-box;
  box-shadow: rgb(84, 163, 247) 0px 1px 0px 0px inset;
  background: linear-gradient(rgb(0, 125, 193) 5%, rgb(0, 97, 167) 100%)
    rgb(0, 125, 193);
  border: 1px solid rgb(18, 77, 119);
  /* display: inline-block; */
  cursor: pointer;
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-shadow: rgb(21, 70, 130) 0px 1px 0px;
}

.tableControlRow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.tableContainer {
  background-color: #ffffff;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  min-height: 40vh;
  width: 100%;
}

.dataTable {
  height: 100%;
  width: 100%;
  overflow: auto;
}

/* Styles for calibration.html */
.clockContainer {
  border-radius: 5px;
  background-color: #ffffff;
  border: 1px solid #000000;
  height: 2em;
  font-size: 2em;
  font-weight: 600;
}

/* Styles for about.html */
/* Larger than tablet */
@media (max-width: 750px) {
  .aboutMain {
    font-size: 0.8em;
  }
}

.aboutMain {
  height: 100%;
  width: 100%;
  color: #000000;
  background-color: #ffffff;
}

.aboutContent {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 80%;
  width: 80%;
  border: 6px solid #525252;
}

.meterTracLogoAbout {
  width: 100%;
}

.aboutText {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 80%;
  min-height: 25vh;
}

.aboutTextRow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25%;
  width: 100%;
}

.aboutLogo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  min-height: 20vh;
}

/*Modal*/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  color: #000000;
  background-color: #ffffff;
  margin: 15% auto; /* 15% from the top and centered */
  border: 4px solid #000000;
  width: 40%; /* Could be more or less, depending on screen size */
}

.modalMessage {
  width: 80%;
  height: 100%;
  border-right: 4px solid #000000;
}

.modalClose {
  width: 20%;
  height: 100%;
}

.modalActive {
  display: block; /* Hidden by default */
}

.legendButton {
  font-size: 15px;
}

.chartContent_Control
  .chartControlContent2
  .chartControlRow2
  .controlDatepickerContent2
  input[type="text"],
.chartContent_Control
  .chartControlContent2
  .chartControlRow2
  .controlDatepickerContent2
  input[type="date"] {
  padding-left: 5px;
}

.chartContent_Control .chartUpdateContainer2 {
  margin-top: 30px;
}
@media(max-width:768px){
  i#iconcontrol_cal {
      font-size: 24px;
  }
  }

  .chartContainerLoading{
    font-size: 2em;
    font-weight: bold;
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
    z-index: 9999;
  }
