#left,
#mid,
#right {
  width: unset;
  height: unset;
}
#header {
  width: 100%;
}

.header {
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-family: ui-serif;
  font-size: xx-large;
  letter-spacing: 3px;
  background-color: bisque;
  padding-right: 50px;
  border: 3px solid;
  border-right: 0px;
}

#left {
  background-color: unset;
}
#exp-name {
  width: 100%;
}
#main {
  width: 100%;
  display: flex;

  padding: 10px;
  min-width: 1200px;
  height: 100%;
}

#main {
  margin-top: unset;
}

.e-component {
  display: flex;
  justify-content: center;
}

/* .dropbtn {
  
        background-color: crimson;
        border: none;
        color: white;
        border-radius: 4px;
        padding: 7px 15px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        letter-spacing: 2px;
        box-shadow: 4px 4px 4px black;
        cursor: pointer;
        height:40px;
        width:170px;
        
        margin-top: 0px;
      
      } */

.dropbtn {
  background-color: crimson;
  border: none;
  color: white;
  border-radius: 4px;

  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  letter-spacing: 2px;
  box-shadow: 4px 4px 4px black;
  cursor: pointer;
  height: 34px;
  width: 175px;
}

#component_head:hover {
  background-color: forestgreen;
}

.set-value-btn {
  width: 79px;
  padding: 4px 0px;
  cursor: pointer;
}
.set-value-btn:hover {
  background-image: linear-gradient(
    45deg,
    #ff512f 0%,
    #f09819 51%,
    #ff512f 100%
  );
  color: black;
}
.set-input {
  width: 80px;
  margin-top: 3px;
}
.set-input-name {
  border-radius: 20px;
  padding: 2px;
  height: 24px;
  width: 125px;
}

/*Button 82 Code*/

.button-82-pushable {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 4px;
  transition: filter 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-82-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: hsl(0deg 10% 10% / 0.25);
  will-change: transform;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.button-82-edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  /* background: linear-gradient(
              to left,
              hsl(133, 92%, 47%) 0%,
              hsl(133, 84%, 39%) 0%,
              hsl(133, 84%, 39%) 0%,
              hsl(133, 84%, 39%) 0%
            ); */
  background-color: #ff4500;
}

.button-82-front {
  display: block;
  height: 16px;
  position: relative;
  padding: 12px 27px;
  border-radius: 12px;
  font-size: 1.1rem;
  color: black;
  background-image: linear-gradient(
    45deg,
    #ff512f 0%,
    #f09819 51%,
    #ff512f 100%
  );
  will-change: transform;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

@media (min-width: 768px) {
  .button-82-front {
    font-size: 1.25rem;
    padding: 12px 42px;
  }
}

.button-82-pushable:hover {
  filter: brightness(110%);
  -webkit-filter: brightness(110%);
}

.button-82-pushable:hover .button-82-front {
  transform: translateY(-6px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.button-82-pushable:active .button-82-front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.button-82-pushable:hover .button-82-shadow {
  transform: translateY(4px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.button-82-pushable:active .button-82-shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.button-82-pushable:focus:not(:focus-visible) {
  outline: none;
}

/* Ending of the Button 82 Code*/

.dropdown {
  position: absolute;
  display: inline-block;
  padding-right: 10px;
}

.dropdown-content {
  padding-left: 10px;
  padding-bottom: 15px;
  display: none;
  position: absolute;
  background-color: white;
  min-width: 460px;
  box-shadow: 6px 6px 15px black;
  border: 2px solid black;

  z-index: 2;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
  background-color: #ddd;
}
.dropdown:hover .dropdown-content {

}
.dropdown:hover .dropbtn {
  background-color: forestgreen;
}

.cross-btn {
  color: white;
  width: 25px;
  background-color: black;
  padding: 1px;
  margin: unset;
  margin-top: 6px;
}
.cross-btn:hover {
  background-color: red;
}

.btn-func {
  display: flex;
  width: 100%;
  justify-content: center;
}
.comp-row {
  display: grid;
  grid-template-columns: 48% 48%;
  gap: 4%;
  padding: 1px;
  margin: 3px;
  margin-top: 10px;
}
.ele-name {
  display: flex;
  justify-content: center;
  align-items: center;
}

#diagram {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: 30px;
  padding: 10px;
  padding-top: 30px;
  padding-bottom: 100px;
  background-color: white;
  border-radius: 30px;
  padding-right: 32px;
  height: 710px;
}
#mid {
  max-width: 800px;
  background-color: unset;
  min-width: 800px;
  cursor: unset;
}
#right {
  background-color: unset;
  float: unset;
}
.dia-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 30px;
}
.custom-menu {
  background-color: #696868bf;

  border-radius: 10px;
  position: absolute;
  padding: 5px;
  border: 2px solid black;
  z-index: 20;
}
.hell {
  display: flex;
  align-items: center;
  margin: 5px;
  height: 60px;
  visibility: hidden;
  
}
.use {
  height: 60px;
  width: 60px;
  cursor: pointer;
}
.comp-ele {
  border: 1px solid black;
  cursor:pointer;
}
input {
  border-radius: 20px;
  padding: 7px;
}
.ele-img {
  display: flex;
  justify-content: center;
}
.head {
}
.instruction {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 20px;
}
.instruction-btn:hover {
  background-color: aliceblue;
}
.instruction-btn {
  border: solid 5px #fffacd;
  border-radius: 5px;
  background: #fffacd;
  font-size: 15px;
  padding: 4px 20px;
  box-shadow: 0 0 5px black;
  font-weight: bold;

  cursor: pointer;
}
#main {
  margin-top: unset;
}
.inst {
  width: 25%;

  display: block;
  position: relative;
  background-color: white;

  top: 106px;
  left: 72vw;
}
.heading-inst {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  background-color: aqua;
}
.main-inst {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: rgba(53, 52, 52, 0.783);
  display: none;
}
.inst-display {
  display: block;
}
button {
  width: 120px;
  margin-top: 7px;
  margin-bottom: 10px;
}
.red-circle {
  display: block;
  height: 100%;
  width: 100%;
  background-color: red;
  border-radius: 50%;
}
.upper-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 0px;
  left: 25px;
}
.lower-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 22px;
  left: 25px;
}
.left-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 25px;
  left: 0px;
  cursor: pointer;
}
.right-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 15px;
  left: 50px;
}

.right-end-gate {
  position: relative;
  height: 10px;
  width: 10px;
  top: 3px;
  left: 50px;
}

.btn-bar {
  width: 100%;

  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.righttop-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 0px;
  left: 52px;
}

.rightbottom-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 13px;
  left: 52px;
}
.name {
  position: relative;
  top: 5px;
  left: 62px;
  width: 0px;
}

/* button styling */
.button {
  --border-right: 6px;
  --text-stroke-color: black;
  --animation-color: #ff512f;
  --fs-size: 15px;
  letter-spacing: 2px;
  text-decoration: none;
  font-size: var(--fs-size);
  font-family: "Arial";
  position: relative;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-stroke-color);
}
/* this is the text, when you hover on button */
.hover-text {
  position: absolute;
  box-sizing: border-box;
  content: attr(data-text);
  color: var(--animation-color);
  width: 0%;
  inset: 0;
  border-right: var(--border-right) solid var(--animation-color);
  overflow: hidden;
  transition: 0.5s;
  -webkit-text-stroke: 1px var(--animation-color);
}
/* hover */
.button:hover .hover-text {
  width: 102%;
  filter: drop-shadow(0 0 8px var(--animation-color));
}
@media only screen and (max-width: 600px) {
  .button:hover .hover-text {
    width: 101%;
    filter: drop-shadow(0 0 8px var(--animation-color));
  }
}

/* ending of Electrical components css */

.right-name-v3 {
  position: relative;
  top: 4px;
  left: 58px;
  width: 0px;
  height: 18px;
}

.right-name-ac {
  position: relative;
  top: -42px;
  left: 62px;
  width: 0px;
}

.dbl {
  top: 15px;
}
/* dbl for acsource */
.dbl2a {
  top: 40px;
}

.dbl2amb {
  top: 24px;
  left: 14px;
}

/* dbl for voltmeter 5th row */
.dbl2v {
  top: 40px;
}

.ground-name {
  position: relative;
  top: -20px;
  left: 40px;
}

.gate-name {
  position: relative;
  top: 30px;
  left: 10px;
}

.left-name {
  position: relative;
  top: 0px;
  left: 20px;
}

.right-name-v4 {
  position: relative;
  top: -47px;
  left: 55px;
}

label {
  color: white;
}
.center-img {
  display: flex;
  justify-content: center;
}
#left {
  width: 230px;
}
#workspace {
  display: inline-block;
  width: 1053px;
  max-width: 1053px;
  min-width: 1053px;
}
@media print {
  #mid {
    width: 800px;
  }
  #left {
    width: 230px;
  }
}

.bottom-name-ac {
  position: relative;
  top: 40px;
  left: 13px;
}

.bottom-name-v1 {
  position: relative;
  top: 2px;
  left: 20px;
}

.bottom-name-thy {
  position: relative;
  top: 27px;
  left: 20px;
}

.bottom-name-am {
  position: relative;
  top: 14px;
  left: 46px;
}

.bottom-name-v2 {
  position: relative;
  top: 4px;
  left: 20px;
}

.ac-value {
  position: relative;
  left: 63px;
  top: -43px;
}

.top-serial-no {
  width: 17px;
  height: 18px;
  position: relative;
  top: -63px;
  left: 6px;
}

.top-serial-no-am {
  width: 17px;
  height: 18px;
  position: relative;
  top: -45px;
  left: -5px;
}

.top-serial-no-thy {
  top: -50px;
  left: -0px;
}

.top-serial-no-volt {
  top: -46px;

  left: 12px;
}

.top-serial-no-v4 {
  top: -30px;

  left: -0px;
}

.bottom-serial-no {
  width: 17px;
  height: 18px;
  position: relative;
  top: -18px;
  left: 6px;
}

.bottom-serial-no-am {
  width: 17px;
  height: 18px;
  position: relative;
  top: -1px;
  left: -5px;
}

.bottom-serial-no-thy {
  top: -67px;
  left: 50px;
}

.last-serial-no-thy {
  top: -51px;
  left: 50px;
}

.bottom-serial-no-volt {
  top: -2px;
  left: 12px;
}

.bottom-serial-no-v4 {
  top: 13px;
  left: 0px;
}

.top-serial-no-ac {
  width: 17px;
  height: 18px;
  position: relative;
  top: -32px;
  left: 14px;
}
.bottom-serial-no-ac {
  width: 17px;
  height: 18px;
  position: relative;
  top: 19px;
  left: 15px;
}

.left-serial-no-am {
  width: 17px;
  height: 18px;
  position: relative;
  top: -5px;
  left: -3px;
}
.right-serial-no-am {
  width: 17px;
  height: 18px;
  position: relative;
  top: -22px;
  left: 53px;
}

.left-serial-no-vm1 {
  width: 17px;
  height: 18px;
  position: relative;
  top: -13px;
  left: -5px;
}
.right-serial-no-vm1 {
  width: 17px;
  height: 18px;
  position: relative;
  top: -30px;
  left: 55px;
}

.left-serial-no-vm2 {
  width: 17px;
  height: 18px;
  position: relative;
  top: 16px;
  left: -11px;
}
.right-serial-no-vm2 {
  width: 17px;
  height: 18px;
  position: relative;
  top: -2px;
  left: 53px;
}

#right {
  width: -webkit-fill-available;
}
.graph-style {
  width: 100%;
  height: 211px;
}
.reading {
  width: 85%;
  padding: 10px;
  display: none;
}
.sub-reading {
  width: 100%;
}
table {
  width: 100%;
}
th {
  height: 25px;
}
td {
  height: 25px;
}
.jtk-connector {
  z-index: 4;
  cursor: pointer;
}

.jtk-endpoint {
  z-index: 9;
  cursor: pointer;
}

.jtk-overlay {
  z-index: 6;
}
body {
  max-width: 2000px;
  min-width: 1615.333px;
}
#main {
  width: 100%;

  display: flex;
  padding: 10px;
  min-width: 1600px;
  height: 100%;
}
footer {
  width: 100%;
  background-color: rgb(51, 51, 51);
}
#graph-new {
  border-left: 3px solid;
  border-bottom: 3px solid;
}
.display-drop{
  display: block;
}
table,
td,
th {
  border-collapse: collapse;
  padding: 1px;
}