/*=========================Layout=======================================*/

.container {
  display: grid;
  grid-template-columns: 271px 1fr 1fr;
  grid-template-rows: auto auto auto auto auto auto;
  width: 100%;
  /*height: 40vw;*/
  gap: 4px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "Einstellung-Metall Tab-Menu Tab-Menu"
    "Einstellung-Metall Anzeige Anzeige"
    "Einstellung-Isolierung Anzeige Anzeige"
    "Einstellung-Luft Anzeige Anzeige"
    "Simulationseinstellung Anzeige Anzeige"
    "E_Simulationseinstellung Anzeige Anzeige"
    "Button Einstellung-Plotten Anzeige-Plotten";
  --size: 270px;
}



.Einstellung-Metall {
  grid-area: Einstellung-Metall;
  border: 1px solid rgb(0, 0, 0);
  width: var(--size);
  /*height: 300px;*/

}

.Einstellung-Isolierung {
  grid-area: Einstellung-Isolierung;
  border: 1px solid rgb(0, 0, 0);
  width: var(--size);
}

.Einstellung-Luft {
  align-self: start;
  grid-area: Einstellung-Luft;
  border: 1px solid rgb(0, 0, 0);
  width: var(--size);
}

.E_Simulationseinstellung {
  grid-area: E_Simulationseinstellung;
  border: 1px solid rgb(0, 0, 0);
  width: var(--size);
  /*height:260px;*/
}

.Simulationseinstellung {
  grid-area: Simulationseinstellung;
  border: 1px solid rgb(0, 0, 0);
  width: var(--size);
  /*height:260px;*/
}


.Button {
  grid-area: Button;
}

.Tab-Menu {
  grid-area: Tab-Menu;
  text-align: center;
}

.Anzeige {
  grid-area: Anzeige;
  margin-left: 10px;
}

.Einstellung-Plotten {
  grid-area: Einstellung-Plotten;
  justify-self: center;
}

.Anzeige-Plotten {
  grid-area: Anzeige-Plotten;
  justify-self: center;
}

/*=======================================================================*/

/* Dropdown Button */
.dropbtn {
  background-color: #e4e3e3;
  color: rgb(0, 0, 0);
  padding: 2px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}



/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
  display: block;
}



/*============================Zahleneingabe====================================*/

input[type="number"] {

  text-align: right;
  margin: 2px 0;
  width: 20%;
}


label {
  width: 130px;
  display: inline-block;
}

/*=============================Switch============================================*/

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

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

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

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

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

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


/*====================Überschrift==========================*/
.ueberschrift {
  border-style: solid;
  border-color: #000000;
  margin-top: 0;
  border-width: 1px;
  border-bottom-width: 2px;
}

/*==================Button=============================*/


/* CSS */
button {
  background-color: #ececec;
  border-radius: 3px;
  border: 1px solid #000000;
  box-sizing: border-box;
  color: black;
  cursor: pointer;
  display: inline-block;
  line-height: 1.15385;
  margin: 0;
  outline: none;
  padding: 14px 2em;
  position: relative;
  text-align: center;
  touch-action: manipulation;
  vertical-align: baseline;


}

button:hover,
button:focus {
  background-color: #b4b4b4;
  color: black;
}


button:active {
  background-color: #e0e0e096;
  box-shadow: none;
  color: black;
}



/*======================Kreis=============================*/

canvas {

  height: 100%;
  width: 100%;
}

/*=======================Info und Hilfe===================*/
#info {
  position: relative;
  float: right;
  justify-self: right;
}

#hilfe {
  position: relative;
  float: right;
  justify-self: right;
}