* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  font-size: 14px;
}

body {
  background-color: #435165;
  margin: 0;
}

.login, .register {
  width: 400px;
  background-color: #ffffff;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 100px auto;
}

.login h1, .register h1 {
  text-align: center;
  color: #5b6574;
  font-size: 24px;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #dee0e4;
}

.login .links, .register .links {
  display: flex;
  padding: 0 15px;
}

.login .links a, .register .links a {
  color: #adb2ba;
  text-decoration: none;
  display: inline-flex;
  padding: 0 10px 10px 10px;
  font-weight: bold;
}

.login .links a:hover, .register .links a:hover {
  color: #9da3ac;
}

.login .links a.active, .register .links a.active {
  border-bottom: 3px solid #3274d6;
  color: #3274d6;
}

.login form, .register form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.login form label, .register form label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12%;
  height: 50px;
  background-color: #3274d6;
  color: #ffffff;
}

.login form input[type="password"], .login form input[type="text"], .login form input[type="email"], .register form input[type="password"], .register form input[type="text"], .register form input[type="email"] {
  width: 80%;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
}

.login form input[type="submit"], .register form input[type="submit"] {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: #3274d6;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
  border-radius: 0;
  appearance: none;
}

.login form input[type="submit"]:hover, .register form input[type="submit"]:hover {
  background-color: #2868c7;
  transition: background-color 0.2s;
}

.login form #rememberme, .register form #rememberme {
  width: 100%;
  height: auto;
  padding: 5px 20px;
  background-color: transparent;
  color: #000;
  justify-content: flex-start;
}

.login form #rememberme input, .register form #rememberme input {
  transform: scale(1.3);
  margin-right: 7px;
}

.login form .msg, .register form .msg {
  padding: 0 20px;
  width: 100%;
}

.login form .captcha, .register form .captcha {
  display: flex;
}

.login form > a, .register form > a {
  text-decoration: none;
  color: #5b6574;
  width: 100%;
  padding: 5px 20px;
}

.login form > a:hover, .register form > a:hover {
  color: #394049;
}



/* .navtop {
  background-color: #2f3947;
  height: 60px;
  width: 100%;
  border: 0;
}

.navtop div {
  display: flex;
  margin: 0 auto;
  width: 1000px;
  height: 100%;
}

.navtop div h1, .navtop div a {
  display: inline-flex;
  align-items: center;
}

.navtop div h1 {
  flex: 1;
  font-size: 22px;
  padding: 0;
  margin: 0;
  color: #eaebed;
  font-weight: normal;
}

.navtop div a {
  padding: 0 15px;
  text-decoration: none;
  color: #c1c4c8;
  font-weight: 600;
  font-size: 16px;
}

.navtop div a i {
  font-size: 14px;
  padding: 2px 8px 0 0;
}

.navtop div a:hover {
  color: #eaebed;
} */

/* body.loggedin {
  background-color: #f3f4f7;
} */

body.loggedin {
  background-color: #ffffff;
}

/* .content {
  width: 1000px;
  margin: 0 auto;
} */

.content h2 {
  margin: 0;
  padding: 20px 50px;
  font-size: 22px;
  color: #4a536e;
}

@media (max-width: 767px) {
  .content h2 {
    padding: 0px;
  }
}
.content h3 {
  margin: 0;
  font-size: 20px;
  padding-top: 25px;
  padding-bottom: 20px;
  /* border-bottom: 1px solid #e0e0e3; */
  color: #4a536e;
}


.content .block {
  padding: 25px;
  background-color: #fff;
}

@media (max-width: 767px) {
  .content .block {
    padding: 0;
  }
} 

.content .block p {
  padding: 5px;
  margin: 0 0 10px 0;
}

.content.profile form label {
  display: block;
  padding: 15px 0 10px 0;
  font-weight: 500;
  font-size: 14px;
  color: #4d4d4d;
}

.content.profile form input[type="text"], .content.profile form input[type="password"], .content.profile form input[type="email"] {
  padding: 10px;
  /* width: 250px; */
  border: 1px solid #ddd;
  border-radius: 4px;
}

.content.profile .profile-detail {
  padding: 5px;
}

.content.profile .profile-detail strong {
  display: inline-block;
  color: #777;
  min-width: 120px;
  font-size: 16px;
}

.content.profile .profile-detail i {
  width: 28px;
  color: #aaabad;
}

.content.profile .profile-btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  background-color: #3274d6;
  margin: 20px 5px 0 0;
  padding: 10px 15px;
  border-radius: 4px;
  appearance: none;
  font-size: 14px;
}

.content.profile .profile-btn:hover {
  background-color: #2868c7;
}

@media screen and (max-width: 400px) {
  .login, .register {
    width: 95%;
  }
}

@media screen and (max-width: 1000px) {
  .navtop {
    height: auto;
    padding: 10px;
  }
  .navtop div {
    flex-flow: wrap;
    width: 100%;
  }
  .navtop div h1 {
    display: block;
    flex-basis: 100%;
  }
  .navtop div a {
    padding: 10px 0;
    flex-basis: 50%;
  }
  .content {
    padding: 10px;
    width: 100%;
  }
  .content form input[type="text"], .content form input[type="password"], .content form input[type="email"] {
    width: 100%;
    max-width: 100%;
  }
  .profile-detail strong {
    width: 100%;
  }
}



/*GREG EDITS*/

.navbar-nav .nav-item .nav-link::after {
  display: none;
}

.navbar-nav .nav-link {
  color: #ffffff; /* Change the font color here */
  font-weight: 600;
}

.custom-navbar {
  background-color: #2f3947; /* Replace with your custom color value */
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* .navbar .container {
  width: 1000px; 
} */


.dropdown-menu li {
  position: relative;
  }
  .dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 20%;
  top: -7px;
  }
  .dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
  }
  .dropdown-menu > li:hover > .dropdown-submenu {
  display: block;
  }

.logo {

  width: 125px;
  height: 70px;
}



    /* Style the switch */
    .switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 34px;
      margin-bottom: 12px;
    }
  
    /* Hide the default checkbox */
    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
  
    /* Style 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%;
    }




/* Style the modal */
.modal {
  display: none;
  /* Hide the modal by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top of everything */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black background with opacity */
}

.modal h2 {
  border-bottom: none;
  padding: 5px;
}

/* Style the modal content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  /* 10% from the top and centered */
  padding: 20px;
  border: 1px solid grey;
  width: 80%;
  /* 80% width */
  max-width: 300px;
  /* Max width of 600px */
}

/* Style the close button */
.close {
  color: grey;
  float: right;
  font-size: 28px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.card-body {
  min-height: 70px; /* Adjust the value to your desired minimum height */
}

.card-header {
  min-height: 40px; /* Adjust the value to your desired minimum height */
}

.card-footer {
  min-height: 50px; /* Adjust the value to your desired minimum height */
}



/* Search Bar */

 .search{
 position: relative;
 box-shadow: 0 0 40px rgba(51, 51, 51, .1);
   
 }

 .search input{

  height: 60px;
  text-indent: 25px;
  border: 2px solid #d6d4d4;


 }


 .search input:focus{

  box-shadow: none;
  border: 2px solid blue;


 }

 .search .fa-search{

  position: absolute;
  top: 20px;
  left: 16px;

 }

 .search button{

  position: absolute;
  top: 5px;
  right: 5px;
  height: 50px;
  width: 110px;
  /* background: blue; */

 }


 .accordion-button:focus {
  box-shadow: none;
  outline: none;
}

@media (max-width: 767px) {
  .desktop-view {
    display: none;
  }
  
  .mobile-view {
    display: block;
  }
}

@media (min-width: 768px) {
  /* .desktop-view {
    display: table;
  } */
  
  .mobile-view {
    display: none;
  }
}

@media (max-width: 767px) {
  .h2-heading {
      display: none;
  }
}


.device-list {
  list-style: none;
  padding-left: 0;
}

.device-list li {
  display: flex;
  align-items: center;
  /* margin-bottom: 10px; */
}

.device-list li .list-label {
  margin-right: 10px;
  display: inline-block;
  width: 20px; /* Adjust the width as needed */
  text-align: center;
}





.badge {
  font-size: 12px;
  font-weight: bold;
  padding: 6px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-pill {
  border-radius: 20px;
}

.badge-success {
  background-color: blue;
  color: #fff;
}

.badge-danger {
  background-color: #dc3545;
  color: #fff;
}

.badge-light {
  background-color: #959595;
  color: #fff;
}

/* .table-row-gap {
  height: 8px;
  background-color: transparent;
  border: none;
}

tr.styling {
  background-color: #f8f9fa;
}

table.table {
  border-collapse: collapse;
} */



.chart-link {
  text-decoration: none;
  color: inherit;
}

/* .accordion-item {
  margin-bottom: 10px;
} */


.fa-bell {
  /* Add your custom styles here */
  padding-right: 10px;
  color: #df4759;
  /* color: red;
  font-size: 16px; */
  /* Additional styles... */
}



.card-alert .fa-exclamation-triangle {
  /* Add your custom styles here */
  padding-right: 10px;
  /* color: red;
  font-size: 16px; */
  /* Additional styles... */
}

.card-alert .fa-check-circle {
  padding-right: 10px;

}

.card-alert .fa-question-circle {
  padding-right: 10px;

}



.wifi-icon {
  width: 20px;
  height: 20px;
  padding-top: 0px;
  margin-right: 5px;
}

.lora-icon {
  width: 20px;
  height: 20px;
  padding-top: 0px;
  margin-right: 5px;
}

.card-title {
  margin-bottom: 0;
}

.device-id {
  font-size: 12px;
  color: #777;
  text-decoration: none;
}

/* Chart page boxes */

.fixed-height-box {
  min-height: 50px;
  max-height: 250px;
}

.scrollable-box {
  max-height: 150px;
  overflow-y: auto;
}

.device-alerts {
  display: flex;
  flex-direction: column;
  height: 100%; /* Set the height of the container to 100% */
}

.fixed-height-box {
  flex: 1; /* Let the box grow to take available space */
}




.alert-item {
  display: flex;
  align-items: center;
}

.alert-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 10px; /* Adjust as needed for spacing */
}

