.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%;
}
nav{
	width: 100%;
	margin: 0px auto 0px auto;
	background-color: white;
	position: sticky;
	top: 0px;
	border: thick solid grey;
	background: content-box radial-gradient(grey, white);
}
nav ul{
	margin: 0px 0px 0px 0px;
	list-style-type: none;
	border: 1rem;
}
nav li{
	float: left;
	width: 25%;
	text-align: center;
}
nav ul::after{
	content: "";
	display: table;
	clear: both;
}
nav a{
	display: block;
	text-decoration: none;
	color: black;
	border-bottom: 2px solid transparent;
	padding: 10px 0px;
}
nav a:hover{
	color: white;
	border-bottom: 2px solid white;
}
.page{
  margin: 0px 20px;
  height: 1500px;
}
#yamlParams .config_0 {
	border: solid;
	margin: 1em;
}
#yamlParams .config_1 {
	border: solid;
	margin: 1em;
}
#yamlParams .config_2 {
	border: solid;
	margin: 1em;
}
#yamlParams .config_3 {
	border: solid;
	margin: 1em;
}
#yamlParams .config_4 {
	border: solid;
	margin: 1em;
}
#yamlParams .config_5 {
	border: solid;
	margin: 1em;
}
 /* 
 Responsive form
 ===============
 
 https://www.w3schools.com/howto/howto_css_responsive_form.asp
 
 Style inputs, select elements and textareas */
input[type=text], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}
/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}
/* Style the submit button */
input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}
/* Style the container */
.yamlParams {
  border-radius: 3px;
  background-color: #f2f2f2;
  padding: 20px;
}
.col-25 {
  float: left;
  width: 25%;
  margin-top: 3px;
}
.col-50 {
  float: left;
  width: 50%;
  margin-top: 3px;
}
/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 75%;
  margin-top: 3px;
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}
#addNodePopup {
  position:absolute;
  left: 30px;
  top: 30px;
  width: 80%;
  display: block;
  z-index: 100;
  background-color: #888;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
}
/* Toggle this class when clicking on the popup container (hide and show the popup) */
#addNodePopup .show {
  visibility: visible;
  /* -webkit-animation: fadeIn 1s; */
  animation: fadeIn 1s
}
/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}
.delNode {
	float:right;
}
/* For warningMessages */
div.alert {
	color: red;
	/* font-weight: bold; */
	border: medium double red;
	margin: 1em;
}

.device {
	border: solid black;
}