/* --app-page-bg / --app-page-ink come from theme/app-shell.css and follow the
   OS day/night setting. The fallbacks are the values this file used to
   hardcode, so nothing changes if that stylesheet is ever absent, and light
   mode renders exactly as before.

   This matters because this file is re-included INSIDE <body> (see
   scripts/ep_menu.php) — i.e. after app-shell.css — so a literal
   `color:#000000 !important` here beat every theme rule and left dark mode
   with black text on dark surfaces. Keep these as variables. */
html,body{
    width:100%;height:100%;margin:0px auto -10em; padding:0px; padding-bottom: 0px;
    background-color: var(--app-page-bg, #f8f9fa); color: var(--app-page-ink, #000000) !important;
    font-size:1em !important; font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column; }
main {
      flex: 1;
      width: 100%;
      margin: 0%;
      padding: 0;
      flex-direction: column;
      background-color: var(--app-page-bg, #f8f9fa);
    }
    
#headerimage{width: 100%; height:10%; border: 0px; margin:0px; padding: 0px;z-index: -1;}
#pageTop{width:100%; background-color: #0D6EFD; margin: 0px; padding: 0px;}
#pageMid{width:100%;margin:0;margin-top:0;padding-bottom:60px;padding-left:20px;padding-right:20px;  padding-top:5px; }
#pageBtm{width:100%;bottom:0;left:0;right:0;text-align:center; background-color:#243d57; color:#212121;}

#pageBtmS{width:100%;position:absolute;height:60px;bottom:0;left:0;text-align:center; background-color:#CCFF99;right:0;z-index:30}
footer   {width:100%;height:30px;bottom:0;left:0;text-align:center; background: #CCFF99; color: #fff; padding: 0 0 0 0; margin-bottom: 0; z-index: 0;}

.DeviceList {float:left; margin:0;padding-bottom:5px;padding-left:10px;padding-right:10px; padding-top:5px; width: 35%; }
#DeviceDetails{margin:0;padding-bottom:60px;padding-left:10px;padding-right:10px; padding-top:5px; width: 60%; }
table{text-align:center; margin-left:auto;margin-right:auto;border:black;border-collapse:collapse; }
h1{text-align: center; margin-bottom: 0px; font-size: 20px;}
#dropbtn { display: none;}
caption {font-size: 20px; font: dialog;}
.nav-custom-bg  {   width:100%; background-color: #567cb4;    }
.navbar-brand   {    font-weight: bold; font-size: 1.5rem; }
.section-title  {    font-size: 2rem; margin-bottom: 1rem; }
.course-card { border: 1px solid #ddd; border-radius: 10px; padding: 20px; transition: 0.3s; }
.course-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
@media ( max-width: 600px )  {    
#dropbtn {display: block; }
.show {
    display: block;
}
h1{text-align: center; margin-bottom: 0px; font-size: 10px;}
}