
body{
    background-color: #2f9bff;
    font-family: Calibri, Arial, Helvetica, sans-serif;
}
main{
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}
.boxbuttons{ /* Css für div der Buttons für die Boxen*/
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}
.box{
    margin:auto;
    margin-top: 20px;
    padding: 5px;
    background-color: #888;
    border-radius: 10px;
    width: 90%;
}
#infobox{
    margin:auto;
    padding: 5px;
    background-color: #888;
    border-radius:0px 0px 10px 10px;
    width: 80%;
    background-color: gold;
}



/*text editing*/
h3{
    margin-top: 2px;
}
.title{
    text-decoration-style: solid;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 90px;
    text-align: center;
}
/*Table mit daten von themperatur...*/
.daten{
    padding: 8px;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 5px 10px;
}

#top{
    padding: 5px;
    display: flex;
    background-color: #818181;
    border-radius: 10px;
/*Für Head */  
}
#title{
    flex-direction: row;
    margin:2px;
    margin-left: 20px;
}
#uhr{
    flex-direction: row;
    margin:2px;
    padding-right: 5px;
    right: 15px;
    position: absolute;  
}
#datum{
    flex-direction: row;
    margin:2px;
    margin-top:50px;
    padding-right: 5px;
    right: 10px;
    position: absolute;

}
/*Steuerung */

.tabletoogle{
    margin: auto;
    width: 80%;
    table-layout: fixed;
}

/* Systembefehle */

.achtungbox{
    width: 200px;
    height: 100px;
    border-color: rgb(255, 72, 0);
    border-style: dashed;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.781);
    z-index: 1;
    position: fixed;
    margin: auto;
}
.systembefehle{
    border: none;
    border-radius: 10px;
    padding: 10px 15px;
    margin: 10px;
    background-color: rgb(255, 236, 67);
}
.systembefehle:hover{
cursor: pointer;
}

/*Navigation und alles was dazu gehört*/
.navigation{
    display:inline-block;
    cursor: pointer;
    flex-direction: row;
}
.bar1, .bar2, .bar3{
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1{
    -webkit-transform: rotate(-45deg)
    translate(-9px, 6px);
    transform: rotate(-45deg)
    translate(-9px,6px);
}
.change .bar2{
    opacity: 0;
}

.change .bar3{
    -webkit-transform: rotate(45deg)
    translate(-8px, -8px);
    transform: rotate(45deg)
    translate(-8px,-8px);
}

 /* The side navigation menu */
 .sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  }
  
  /* The navigation menu links */
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  /* Login/Logout */

  .loginbutton{
    border-style: solid;
   }
  
  /* When you mouse over the navigation links, change their color */
  .sidenav a:hover {
    color: #f1f1f1;
  }
  
  /* Position and style the close button (top right corner) */
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  
  
  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  } 



  /*The switch botton www.w3schools.com How to create a toogle Switch
*/

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

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(129, 2, 2);
    -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: #24da42;

}

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


.slider.round {
    border-radius: 34px;
}

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


#refreshbutton{
    background-color: #2196F3;
    border: none; /* Remove borders */
    color: white; /* Add a text color */
    padding: 15px 10px; /* Add some padding */
    cursor: pointer; /* Add a pointer cursor on mouse-over */
    border-radius: 20px;
    
    
}
#refreshbutton:hover{
    background-color: rgb(17, 116, 197);
}



/*(Handy) & Allgemeine StartBildschirm*/

.topUhr{
    margin:auto;
    margin-top: 20px;
    padding: 5px;
    background-color: #bfecff;
    border-radius: 10px;
    width: 90%;
}
#aktuelleThemp{
    font-size: 30px;
    
}
#aktuellesDatum{
    font-size: 20px;
    float: right;
}
.homeBox{
    margin:auto;
    margin-top: 20px;
    padding: 5px;
    background-color: #888;
    border-radius: 10px;
    width: 90%;
    display: flex;
}
.homeBox:hover{
    cursor: pointer;
}
.controlLicht{
    width: 10px;
    height: 10px;
    border-radius: 100%;
    
    flex-direction: row;
    margin: auto;
}
/*Lichter für Kontroll leuchten*/
#licht1{
    background-color: #24da42; 
}
#licht2{
    background-color: #24da42; 
}
#licht3{
    background-color: #24da42; 
}
#licht4{
    background-color: #24da42; 
}
#licht5{
    background-color: #24da42; 
}
#licht6{
    background-color: #24da42; 
}









/*Die Buttons und die anordung der Buttons*/
.row{
    display: flex;
    margin: auto;
    width: 90%;
}
.buttons:hover,
.buttons:focus{
    border-style: solid;
    border-color: #aaa;
    cursor: pointer;
}
.buttons{
    width: 78px;
    height: 78px;
    background-color: whitesmoke;
    border-radius: 10px; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
    flex-direction: row;
    text-align: center;
    padding: 2px;
}

 /* The Modal (background) */
 .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    display: flex;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }




  


/*Für Computer mit großem Bildschirm */
@media screen and (min-width: 700px) {
    body{
        background-color: rgb(47, 155, 255);
        font-family: Calibri, Arial, Helvetica, sans-serif;
    }
    main{
        width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .boxbuttons{
        width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .modal-content{
        width: 400px;
        margin: 100px auto;
    }
}


