#left,
#mid,
#right {
  width: unset;
  height: unset;
}
body {
  max-width: 2000px;
  min-width: 1615.333px;
}
#header {
  width: 100%;
}

#exp-name {
  width: 100%;
}

#main {
  display: flex;
  padding: 10px;
  min-width: 1600px;
  height: 100%;
}

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

.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(10, 1fr);
  gap: 30px;
  padding: 10px;
  padding-top: 4vh;
  background-color: white;
  border-radius: 30px;
  padding-right: 32px;
}

#mid {
  max-width: 800px;
  min-width: 800px;
}

#right {
  background-color: unset;
  float: unset;
}

.dia-row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 30px;
}

.custom-menu {
  background-color: #696868bf;
  width: 185px;
  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: 50px;
}

.comp-ele {
  border: 1px solid black;
  cursor: pointer;
}

input {
  border-radius: 20px;
  padding: 7px;
}

.ele-img {
  display: flex;
  justify-content: center;
}

.head {
}

/*Dropdown css*/
.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;
}

.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;
}

#main {
  margin-top: unset;
}

/* Electrical components css */

.button {
  margin-top: 15px;
  margin-left: 18px;
  height: auto;
  background: transparent;
  padding: 0;
  border: none;
}

/* 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 */

/*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*/

.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: 1px;
  left: 25px;
}

.lower-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 39px;
  left: 25px;
}

.left-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 25px;
  left: 0px;
}

.right-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 15px;
  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: 30px;
  left: 52px;
}

.name {
  position: relative;
  top: -50px;
  left: 62px;
  width: 0px;
}

.dbl {
}

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

.left-name {
  position: relative;
  top: -2px;
  left: 15px;
}

.ac-value {
  position: relative;
  left: 3px;
  top: -1px;
  display: flex;
  justify-content: center;
  width: 50px;
}

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

.top-serial-no-volt {
  top: -44px;
}

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

.bottom-serial-no-volt {
  top: -7px;
}

.left-serial-no-ac {
  width: 17px;
  height: 18px;
  position: relative;
  top: 14px;
  left: -10px;
}

.right-serial-no-ac {
  width: 17px;
  height: 18px;
  position: relative;
  top: -4px;
  left: 53px;
}

#right {
  width: -webkit-fill-available;
  min-width: 180px;
}

.graph-style {
  width: 100%;
  height: 250px;
}

.reading {
  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: 5;
  cursor: pointer;
}

.jtk-overlay {
  z-index: 6;
}

#mid {
  background-color: unset;
  cursor: unset;
}

#left {
  background-color: unset;
}
footer {
  width: 100%;
  background-color: rgb(51, 51, 51);
}
#diagram {
  cursor: unset;
  padding-top: 30px;
}
.use {
  cursor: pointer;
}
.cross-btn {
  color: white;
  width: 25px;
  background-color: black;
  padding: 1px;
  margin: unset;
  margin-top: 6px;
}
.cross-btn:hover {
  background-color: red;
}
.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;
}
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;
  }
}
.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;
}

#component_head:hover {
  background-color: forestgreen;
}
.swal-height {
  height: 100px;
}
.swal2-title {
  padding-top: 100px;
  font-family: Arial, Helvetica, sans-serif;
}
.righttop-end {
  position: relative;
  left: 85%;
}
.mos-left-end {
  position: relative;
  top: 13px;
  left: 0px;
  height: 10px;
  width: 10px;
}
.rightbottom-end {
  position: relative;
  left: 85%;
}
.mos-r-t-s {
  position: relative;
  top: -36px;
  left: 34px;
  width: 0px;
}
.mos-l-s {
  position: relative;
  top: -40px;
  width: 0px;
}
.mos-r-b-s {
  position: relative;
  top: -17px;
  left: 34px;
  width: 0px;
}
.mos-name {
  position: relative;
  top: -71px;
  left: 63px;
  width: 56px;
}

.resis-left-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 24.5px;
  left: -1px;
}
.resis-right-end {
  position: relative;
  height: 10px;
  width: 10px;
  left: 50px;
  top: 14.5px;
}
.resis-l-serial-no {
  position: relative;
  top: 14px;
  width: 0px;
  left: -5px;
}
.resis-r-serial-no {
  position: relative;
  top: -5px;
  left: 51px;
  width: 0px;
}
.resis-name {
  position: relative;
  top: -58px;
  left: 9px;
  display: flex;
  justify-content: center;
  width: 41px;
}
.resis-value {
  position: relative;
  top: -25px;
  left: 7px;
  display: flex;
  justify-content: center;
  width: 55px;
}
.ind-name {
  position: relative;
  top: -65px;
  left: 9px;
  display: flex;
  justify-content: center;
  width: 41px;
}
.gate-name {
  position: relative;
  top: -39px;
  left: 39px;
}
.swit-name {
  position: relative;
  top: -49px;
  left: 40px;
}
.opampt {
  position: relative;
  height: 10px;
  width: 10px;
  top: 0px;
  left: 25px;
}
.opamprb {
  position: relative;
  height: 10px;
  width: 10px;
  top: 40px;
  left: 41px;
}
.opamplb {
  position: relative;
  height: 10px;
  width: 10px;
  top: 30px;
  left: 8px;
}
.opampts {
  width: 17px;
  height: 18px;
  position: relative;
  top: -34px;
  left: 8px;
  width: 0px;
}
.opamplbs {
  position: relative;
  top: 0px;
  left: -11px;
  width: 17px;
  height: 18px;
  width: 0px;
}
.opamprbs {
  width: 17px;
  height: 18px;
  position: relative;
  top: -21px;
  left: 53px;
  width: 0px;
}
.opamp-name {
  position: relative;
  top: -67px;
  left: 47px;
}
.volt-name {
  position: relative;
  left: -3px;
  top: -5px;
  display: flex;
  justify-content: center;
  width: 60px;
}
.volt-serial-left {
  position: relative;
  left: -8px;
  top: 15px;
  width: 0px;
}
.volt-serial-right {
  position: relative;
  top: -5px;
  left: 47px;
  width: 0px;
}
.volt-left-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 20px;
  left: -1px;
}
.volt-right-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 10px;
  left: 41px;
}
.ac-right-serial {
  position: relative;
  left: 62px;
  top: -3px;
  width: 0px;
}
.ac-left-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 25px;
  left: 2px;
}
.ac-right-end {
  position: relative;
  height: 10px;
  width: 10px;
  top: 13px;
  left: 51px;
}
.ac-name {
  position: relative;
  display: flex;
  justify-content: center;
  top: -3px;
  width: 45px;
  left: 0px;
}
.lower {
  position: relative;
}
.TOP {
  top: -2px;
}
.LEFT {
  left: -2px;
}
.BOTTOM {
  bottom: -2px;
}
.RIGHT {
  right: -2px;
}
.red-circle {
  position: relative;
  z-index: 5;
}
.thy-top-end {
  height: 10px;
  width: 10px;
  position: relative;
  left: 20px;
}

.thy-bottom-end {
  height: 10px;
  width: 10px;
  position: relative;
  top: 20px;
  left: 20px;
}

.thy-right-end {
  height: 10px;
  width: 10px;
  position: relative;
  left: 37px;
  top: -9px;
}
.thy-t-s {
  position: relative;
  width: 0px;
  top: -35px;
  left: 3px;
}
.thy-r-s {
  position: relative;
  width: 0px;
  top: -63px;
  left: 41px;
}
.thy-b-s {
  position: relative;
  width: 0px;
  top: -25px;
  left: 1px;
}
.thy-name {
  position: relative;
  top: -36px;
  left: 45px;
  width: 50px;
}
.thy-name1 {
  width: 50px;
  position: relative;
  top: -60px;
  left: -44px;
}
.gate-left-end {
  height: 10px;
  width: 10px;
  position: relative;
  top: 18px;
  left: -7px;
}
.gate-left-end1 {
  height: 10px;
  width: 10px;
  position: relative;
  top: 20px;
  left: 46px;
}
.gatepulse {
  position: relative;

  top: -23px;
}
.gate-name {
  top: 20px;
  left: 9px;
}
.gate-serial {
  position: relative;
  width: 0px;
  left: -10px;
  top: -7px;
}
.gate-serial1 {
  position: relative;
  width: 0px;
  left: 54px;
  top: 21px;
}
.gate-value {
  position: relative;
  top: 21px;
  left: 8px;
  width: 0px;
}
.dis-inst {
  display: block;
}
.upper-end {
  top: 0px;
  left: 20px;
}
.lower-end {
  top: 31px;
  left: 20px;
}
.top-serial-no {
  top: -31px;
  left: -1px;
}
.bottom-serial-no {
  top: 5px;
  left: -1px;
}
.gatepulse1 {
  position: relative;
  
}
.gatepulse2 {
  position: relative;
  
}
table,
td,
th {
  border-collapse: collapse;
  padding: 1px;
}
.thy-bottom-end {
  left: 39px;
  top: 16px;
}
.thy-serial-left {
  width: 0px;
  position: relative;
  top: -27px;
  left: -8px;
}
.thy-serial-right {
  width: 0px;
  position: relative;
  top: -45px;
  left: 40px;
}
.thy-serial-bottom {
  width: 0px;
  position: relative;
  top: -27px;
  left: 51px;
}
.thy-name{
  position: relative;
  top: -36px;
  left: -7px;
  width: 50px;

}
.ground-name{
  left: 33px; top: -32px;
}
.ground-s{
  position: relative;

                      top: -8px;
                      left: -2px;
}
#symbolpalette{
  cursor: unset;
}
.comp-ele{
  cursor: pointer;
}
.ele-name{
  font-size: larger;
}