:root {
  --lmqtc-main-color: #33a5f7;
  --lmqtc-border-color: #dcd7ca;
  --err-color: #e04a3a;
  --background-color: #d8eefd;
}

.lmqtc-form-container {
background: #fff;
padding: 16px;
margin: 30px auto;
box-shadow: 0 0 5px var(--lmqtc-border-color);
border-radius: 16px;
font-size: 14px;
overflow: hidden;
}
.lmqtc-form-container input[type="text"]{
height: 45px;
width: 100%;
border-radius: 8px;
color: gray;
padding-left: 72px;
box-shadow: 0 0 5px var(--lmqtc-border-color);
font-size: 14px;
}

select{
height: 45px;
width: 100%;
border-radius: 8px;
color: gray;
box-shadow: 0 0 5px var(--lmqtc-border-color);
}

.lmqtc-quality-radio {
display: flex;
justify-content: start;
border-radius: 8px;
}
.lmqtc-quality-radio span {
display: flex;
align-items: center;
padding-left: 24px;
}
.lmqtc-quality-radio span p{
padding: 0;
margin: 0;
}
.lmqtc-input-label {
font-weight: bold;
margin: 16px 0 8px 0;
}
.lmqtc-input-container {
position: relative;
margin: 12px 0;
padding: 0;
overflow: hidden;
display: flex;
flex-direction: column;
}
.lmqtc-input-container i {
position: absolute;
top: 0;
left: 0;
height: 45px;
width: 55px;
background: var(--background-color);
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
color: var(--lmqtc-main-color);
border: 1px solid var(--lmqtc-border-color)
}
.lmqtc-input-container select {
  position: absolute;
  top: 0;
  right: 0;
  height: 45px;
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  font-weight: bold;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  color: var(--lmqtc-main-color) !important;
  border: 1px solid var(--lmqtc-border-color);
  background: #d8eefd;
}
.lmqtc-input-container select option {
  background: var(--background-color);
  font-size: 14px !important;
  color: var(--lmqtc-main-color) !important;
  font-weight: bold;
}
.lmqtc-show-mob {
  display: none;
}
select#lmqtc-calc-type {
  padding-right: 5%;
}
.lmqtc-calc-btn {
  background: #33a5f7;
  padding: 8px 50px;
  margin: 24px 0;
  border-radius: 4px;
  transition: 05.s ease;
  cursor: pointer;
  color: #fff;
  width: max-content;
}

.lmqtc-read-container {
  display: flex;
  flex-direction: column;
}
.lmqtc-readings-res {
  display: flex;
  justify-content: space-between;
}

.lmqtc-readings-res > div{
  width: 100%;
}
.lmqtc-title, .lmqtc-val {
  border: 1px solid #ccc;
  padding: 8px;
}
.lmqtc-action {
margin: 24px 0;
display: flex;
justify-content: left;
} 
.lmqtc-action button{
background: var(--lmqtc-main-color);
color: #fff;
padding: 8px 32px;
border-radius: 8px;
text-decoration: none;
opacity: 1;
transition: 0.5s ease;
font-size: 14px;
}
.lmqtc-action button:hover {
opacity: 0.8;
text-decoration: none;
}
span.lmqtc-err, span.lmqtc-errs {
color: var(--err-color);
margin-right: 50px;
font-size: 12px;
}

.lmqtc-calc-toggle {
display: flex;
margin: -16px;
margin-bottom: 16px;
}
.lmqtc-calc-toggle button, .lmqtc-calc-toggle span {
width: 100%;
background: #eef8ed;
color: #fff;
background:   var(--lmqtc-main-color);
text-align: center;
opacity: 1;
transition: 0.5s ease;
cursor: auto;
padding: 16px;
  font-size: 16px;
  font-weight: bold;
  border: none;
}
.lmqtc-calc-toggle button.active {
background: var(--lmqtc-main-color);
color: #fff;
position: relative;
}

.lmqtc-calc-toggle button:hover {
background: var(--lmqtc-main-color);
color: #fff;
opacity: 0.8;
text-decoration: none;
}
.lmqtc-finance-calc-container{
display: none;
}

#lmqtc-result {
display: none;
background: #fff;
padding: 8px;
border-right: 8px solid var(--lmqtc-main-color);
border-bottom: 2px solid var(--lmqtc-main-color);
box-shadow: 0 0 5px #ccc;
}
#lmqtc-result h3 {
margin: 0;
}


#lmqtc-dataTable {
border-collapse: collapse;
width: 100%;
background: #fff;
display: none;
box-shadow: 0 0 5px var(--lmqtc-border-color);
border-radius: 16px;
}

#lmqtc-dataTable td, #lmqtc-dataTable th {
border: 1px solid var(--lmqtc-border-color);
padding: 8px;
}

#lmqtc-dataTable tr:nth-child(even){
background-color: #0a9e0112;
}

#lmqtc-dataTable tr:hover {
background-color: #ddd;
}

#lmqtc-dataTable th {
padding-top: 8px;
padding-bottom: 8px;
background-color: var(--lmqtc-main-color);
color: white;
}

.lmqtc-quality-calc-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.lmqtc-calc-type {
  width: 100%;
}
.lmqtc-input-container-title {
  padding: 24px 16px;
  border: 1px solid #eee;
  box-shadow: 1px 0 3px #eee;
  margin: 24px 0;
  position: relative;
}
span.lmqtc-inpRadio-container {
  padding: 8px;
  border: 1px solid #eee;
  margin: 8px;
  border-radius: 4px;
  display: inline-block;
}
.lmqtc-input-types-title {
  position: absolute;
  top: -19px;
  left: 11px;
  background: #ffff;
  padding: 0 4px;
  z-index: 99;
  font-size: 16px;
  font-weight: bold;
}
.lmqtc-input-group {
  border: 1px solid #ccc;
  margin-bottom: 40px !important;
  padding: 16px;
  border-radius: 8px;
  position: relative;
}
span.lmqtc-quality-title {
  position: absolute;
  top: -15px;
  left: 15px;
  font-weight: bold;
  background: #fff;
  padding: 0 4px;
}
.lmqtc-table-container {
  width: 100%;
  margin: 16px 0;
  display: none;
}
.lmqtc-table-container table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  font-weight: bold;
  text-align: center;
  width: 100%;
}
.lmqtc-table-container thead {
  background: #d8eefd;
  color: #33a5f7;
}
.lmqtc-table-container td {
  border: 1px solid #ccc;
  padding: 8px 0;
}
.lmqtc-reading.inserted-read {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
span.remove-reading{
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--background-color);
  cursor: pointer;
  transition: 0.5s ease;
}
span.remove-reading:hover {
  background: red;
  color: #fff
}
@media screen and (max-width: 768px) {


  .lmqtc-input-container i {
    font-size: 12px;
    width: 45px;
    height: 40px;
  }

  .lmqtc-input-container select  {
    height: 40px;
  }

  .lmqtc-form-container input[type="text"] {
    font-size: 12px;
    height: 40px;
  }
  .lmqtc-show-mob {
    display: block;
  }
  .lmqtc-hide-mob {
    display: none;
  }

  .lmqtc-readings-res {
    flex-direction: column;
  }
  .lmqtc-read-container {
    flex-direction: row;
  }
  .lmqtc-title, .lmqtc-val{
    width: 50%;
  }

}