/*
@media (max-width: 50%) {
   .nav {
      display:flex;
      flex-direction:column;
      }
      .nav-link {
        display: block;
      }
   }

.column {
  width: 100%;
}

@media (min-width: 300px) {
  .column {
    width: 50%;
  }
} */
/*  This stuff is here as an experiment */
@import url('https://fonts.googleapis.com/css2?family=Cabin&display=swap');
main    {
     background-color: #FFFFFF;
   /*  width: 400px; */
   /*  width: 800px; max-width: 100%; */
     margin: 50px auto;
     border: 2px solid blue;
     border-radius: 10px;
        } 
body    {
     background-color: #FFFFFF;
    /* width: 400px;  */
    /* width: 800px; max-width: 100%; */
     margin: 50px auto;
     border: 5px solid #FFFFFF; 
     border-radius: 10px;
     } 
/* toggle in label designing */
.toggle {
	position : relative ;
	display : inline-block;
	width : 100px;
	height : 30px;
	background-color: lightgreen;
	border-radius: 10px;
	border: 2px solid blue;
}
/* After slide changes */
.toggle:after {
	content: '';
	position: absolute;
	width: 50px;
	height: 30px;
	border-radius: 10px;
	background-color: grey;
	top: 0px;
	left: 0px;
	transition: all 0.5s;
}
	
/* Toggle text */
ttext {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    display:inline-flex;  /*was block */
    align-items: center; /* center the content vertically */
    width: 300px;
    padding-top: 10%;
    padding-bottom:10%;  
    padding-left: 5px;
    padding-right: 0px;
    white-space:nowrap;
 
   }
/* Checkbox checked effect */
.checkbox:checked + .toggle::after {
	left : 49px;
/*	z-index: -1; */
}
	
/* Checkbox checked toggle label bg color */
.checkbox:checked + .toggle {
	background-color: green;
/*	z-index: -1; */
}
	
/* Checkbox vanished */
.checkbox {
	display : none;
/*	z-index: -1;*/
}
#myProgress {
  width: 100%;
  background-color: #ddd;
  border-radius:10px;
}

#myBar {
  width: 1%;
  height: 10px;
  background-color: blue;
  border: 1px solid #000000; 
  background: rgba(10, 150, 10, 0.5);
  border-radius:10px;
}
.brightslider {width: 100%;height: 50px;padding: 0px;padding-left: 0px;background: #ffffff;display: flex;align-items: center;box-shadow: 0px 15px 40px #EEE;background: rgba(255,255,255, 0);}
.brightslider label {font-size: 1em;font-weight:400;font-family: Open Sans;padding-left: 0px;color: black;opacity: 1.0;}

.brightslider input[type="range"] {width: 100%;height: 2px;background: black;border: none;outline: none;opacity: 1.0;} 
 
h1 {text-align: left;
    color: black;
    font-size: 2em;
    }
h2 {text-align: left;
    color: black;
    font-size: 2em;
    }
.txtbox {
 padding-right: 0%;
 padding-left: 0%;
 width: 10%;
 text-align:right;
 font-size: 1em;
}

#manual{
    width:auto;
    height:100%;
    background-color:aliceblue;
    border: 1px solid #000000; 
    border-radius:10px;
   }
#auto{
    width:auto;
    height:100%;
    background-color:lightgreen;
    border: 1px solid #000000;
    border-radius:10px; 
   }
#motion{
    width:auto;
    height:100%;
    background-color:thistle;
    border: 1px solid #000000; 
    border-radius:10px;
    }
#status{
    width:100%;
    height:100%;
    background-color:aliceblue;
    border: 1px solid #000000; 
    border-radius:10px;
   }
/* the following is used for numbers.php */

.redslider{appearance: none;outline-style: none;width: 100%;height: 50px;padding: 0px;padding-left: 0px;background: #FF0000;display: flex;align-items: center;box-shadow: 0px 15px 40px #EEE;}
.redslider label {font-size: 1em;font-weight:400;font-family: Open Sans;padding-left: 0px;color: red;opacity: 1.0;}
.redslider input[type="range"] {width: 100%;height: 2px;background: #FF0000;border: none;outline: none;opacity: 1.0;} 

.greenslider{appearance: none;outline-style: none;width: 100%;height: 50px;padding: 0px;padding-left: 0px;background: #00FF00;display: flex;align-items: center;box-shadow: 0px 15px 40px #EEE;}
.greenslider label {font-size: 1em;font-weight:400;font-family: Open Sans;padding-left: 0px;color: green;opacity: 1.0;}
.greenslider input[type="range"] {width: 100%;height: 2px;background: #00FF00;border: none;outline: none;opacity: 1.0;} 

.blueslider{appearance: none;outline-style: none;width: 100%;height: 50px;padding: 0px;padding-left: 0px;background: #0000FF;display: flex;align-items: center;box-shadow: 0px 15px 40px #EEE;}
.blueslider label {font-size: 1em;font-weight:400;font-family: Open Sans;padding-left: 0px;color: blue;opacity: 1.0;}
.blueslider input[type="range"] {width: 100%;height: 2px;background: #0000FF;border: none;outline: none;opacity: 1.0;} 

.numslider{appearance: none;outline-style: none;width: 100%;height: 50px;padding: 0px;padding-left: 0px;background: #FFFFFF;display: flex;align-items: center;box-shadow: 0px 15px 40px #EEE;}
.numslider label {font-size: 1em;font-weight:400;font-family: Open Sans;padding-left: 0px;color: white;opacity: 1.0;}
.numslider input[type="range"] {width: 100%;height: 2px;background: #000000;border: none;outline: none;opacity: 1.0;} 

.numbrightslider{appearance: none;outline-style: none;width: 100%;height: 50px;padding: 0px;padding-left: 0px;background: #FFFFFF;display: flex;align-items: center;box-shadow: 0px 15px 40px #EEE;}
.numbrightslider label {font-size: 1em;font-weight:400;font-family: Open Sans;padding-left: 0px;color: white;opacity: 1.0;}
.numbrightslider input[type="range"] {width: 100%;height: 2px;background: #000000;border: none;outline: none;opacity: 1.0;} 

#checks{
    width:auto;
    height:100%;
    background-color:aliceblue;
    border: 1px solid #000000; 
    border-radius:5px;
   }
label{
font-size:1em;
font-weight:200;
color: #808080;
}
/* the following are for the LEDs used in index.php */
.led {
  margin: 0 auto;
  display: inline-block;
  width: 10%;
  height: 2em;
  border-radius: 0%;
  border: 1px solid black;
  font-size:1em;
  font-weight:400;
  
 }
 /* below are experiments with hamburger menus 


body {
  padding: 0px;
  margin: 0px;
  font-size: 20px;
  min-height: 100vh;
}
*/
#hamburger-menu {
    width: 50px;
    height: 50px;
    display: block;
    border: none;
    padding: 0px;
    margin: 20px;
    background: linear-gradient(
      to bottom, 
      #3D0E61, #3D0E61 20%, 
      white 20%, white 40%, 
      #3D0E61 40%, #3D0E61 60%, 
      white 60%, white 80%, 
      #3D0E61 80%, #3D0E61 100%
    );
}

#hamburger-menu #sidebar-menu {

    visibilty: hidden;
    position: fixed;
    top: 0;
    left: -250px;
    width: 200px;
    height: 100%;
    background-color: #FFFFFF;
    padding: 0px 10px;
    box-sizing: border-box;
    transition: 0.3s;
    z-index: 2; 
    }
    

#hamburger-input:checked + #hamburger-menu #sidebar-menu {
    visibility: visible;
    left: 0;
        
}
#hamburger-input:checked ~ .overlay{
   visibility: visible;
}
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    background: black;
    z-index: 1;
}

/*


label .hamburger {
  position: absolute;
  top: 135px;
  left: 50px;
  width: 30px;
  height: 2px;
  background: #69D2e7;
  display: block;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}

label .hamburger:after, label .hamburger:before {
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background: #69d2e7;
}

label .hamburger:before { top: -10px; }

label .hamburger:after { bottom: -10px; }

label input { display: none; }

label input:checked + .menu {
  box-shadow: 0 0 0 100vw #FFF, 0 0 0 100vh #FFF;
  border-radius: 0;
  
}

label input:checked + .menu .hamburger {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  
}

label input:checked + .menu .hamburger:after {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  bottom: 0;
  
}

label input:checked + .menu .hamburger:before {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  top: 0;
  
}

label input:checked + .menu + ul { opacity: 1; }

label ul {
  z-index: 200;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  -webkit-transition: .25s 0s ease-in-out;
  transition: .25s 0s ease-in-out;
}
*/
label a {
  margin-bottom: 1em;
  display: block;
  font-size:1.5em;
  color: #000000; 
  text-decoration: none;
  
}



