body {
  padding-top: 75px; /* Padding for .navbar-fixed-top. Change value if navbar height changes. Remove if using .navbar-static-top. */
  color: #959595;
  min-width: 200px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #0004b9;
  font-weight: bold;
}

.promo,
.footer-map {
  border-width: 1px;
  border-color: black;
  border-top-style: solid;
  border-bottom-style: solid;
  margin-top: 20px;
  margin-bottom: 20px;
}

.featured-product > img,
.featured-product > a > img {
  height: 150px;
}
.row {
  row-gap: 50%;
}

.featured-product {
  height: 350px;
  width: 350px;
  margin: auto;
  padding-bottom: 100px;
}

.featured-product h3 {
  color: #0004b9;
  font-size: 18px;
}

.featured-product .price {
  color: #dd845a;
  font-size: 18px;
}

.featured-product .price s {
  color: #999;
  font-size: 18px;
}

.footer-info {
  padding: 40px 0;
  background: linear-gradient(135deg, #1e3c72 0%, #0f172a 100%);
}
.spaced {
  margin: auto;
}

.footer-info,
.footer-info a:link,
.footer-info a:hover,
.footer-info a:focus,
.footer-info a:visited {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-info a:hover,
.footer-info a:focus {
  color: white;
  text-decoration: underline;
}

.footer-info h3 {
  color: white;
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.footer-info-item {
  padding: 0px 20px;
}

footer .small-print {
  background-color: #0f172a;
  padding: 20px 0;
  text-align: center;
}

footer .small-print p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Footer enquiry form */
.footer-form input[type="text"],
.footer-form input[type="email"],
.footer-form textarea {
  width: 100%;
  padding: 8px 12px;
  margin: 6px 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  box-sizing: border-box;
}
.footer-form input[type="text"]::placeholder,
.footer-form input[type="email"]::placeholder,
.footer-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.footer-form input[type="text"]:focus,
.footer-form input[type="email"]:focus,
.footer-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
}
.footer-form textarea {
  resize: vertical;
  min-height: 80px;
}
.footer-form .footer-submit-btn {
  background: white;
  color: #1e3c72;
  border: none;
  padding: 9px 24px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  margin: 6px 0 0 0;
  transition: opacity 0.2s ease;
  font-size: 0.9rem;
}
.footer-form .footer-submit-btn:hover {
  opacity: 0.85;
}
.footer-form-msg {
  font-size: 0.85rem;
  margin-top: 6px;
  min-height: 1.2em;
}
.footer-form-msg.success { color: #7dffb3; }
.footer-form-msg.error   { color: #ff9999; }

/* Coming Soon waitlist form */
.waitlist-form {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 160px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.85rem;
  box-sizing: border-box;
}
.waitlist-form button {
  padding: 8px 18px;
  font-size: 0.85rem;
  margin: 0;
  border-radius: 4px;
  white-space: nowrap;
}
.waitlist-msg {
  font-size: 0.8rem;
  margin-top: 6px;
  width: 100%;
}
.waitlist-msg.success { color: #1e7e34; }
.waitlist-msg.error   { color: #c52c2c; }

/*
***************************
Override Bootstrap Classes
***************************
*/

/* Links */
a {
  color: #0004b9;
  text-decoration: none;
}
a:hover,
a:focus {
  color: darkorange;
  text-decoration: underline;
}

/* Navbar — dark solid (login, user_apps, and any non-hero page) */
.navbar-dark-solid {
  background-color: #0f172a;
  border: none;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  min-height: 70px;
}

.navbar-dark-solid .navbar-brand {
  color: white;
  min-height: 70px;
  display: flex;
  align-items: center;
}

.navbar-dark-solid .navbar-brand:hover,
.navbar-dark-solid .navbar-brand:focus {
  color: white;
  background-color: transparent;
}

.navbar-dark-solid .navbar-nav > li > a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 600;
}

.navbar-dark-solid .navbar-nav > li > a:hover,
.navbar-dark-solid .navbar-nav > li > a:focus {
  color: white !important;
  background: transparent !important;
}

.navbar-dark-solid .navbar-toggle {
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar-dark-solid .navbar-toggle .icon-bar {
  background-color: white;
}

.navbar-dark-solid .navbar-collapse {
  background: #0f172a;
  border: none;
}

/* Legacy navbar-default kept for fallback (not used by fixed pages) */
.navbar-default {
  background-color: #fff;
}
.navbar-default .navbar-brand {
  color: #dd845a;
  min-height: 75px;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: sienna;
  background-color: transparent;
}
.navbar-right {
  padding: 15px 0px 0px 0px;
}

/* Primary Buttons */
.btn-primary {
  color: #fff;
  background-color: orange;
  border-color: orange;
}
.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: darkorange;
  border-color: darkorange;
}
.btn-primary:hover {
  color: #fff;
  background-color: darkorange;
  border-color: darkorange;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: darkorange;
  border-color: darkorange;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
  color: #fff;
  background-color: darkorange;
  border-color: darkorange;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: sandybrown;
  border-color: sandybrown;
}

html {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  display: inline-block;
  text-align: center;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  margin: 0;
  width: 100%;
}

.topnav {
  overflow: hidden;
  background-color: #049faa;
  color: white;
  font-size: 1rem;
  padding: 5px;
}
.hidden-element {
  display: none;
}

.headerMenu-effect:before {
  border: 1px solid #087eea;
  background-color: #087eea;
  background-image: none;
}
.headerMenu-effect {
  display: inline-block;
  position: relative;
  -webkit-transform: perspective(0px) translateX(0);
  transform: perspective(0px) translateX(0);
  -webkit-transition: color 200ms linear;
  transition: color 200ms linear;
}
.headerMenu-effect:before {
  content: "";
  position: absolute;
  height: 1px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.headerMenu-effect:hover:before,
.headerMenu-effect:focus:before,
.headerMenu-effect:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  opacity: 1;
}
#authentication-bar {
  background-color: mintcream;
  padding-top: 10px;
  padding-bottom: 10px;
}

#user-details {
  color: cadetblue;
}

.content {
  padding: 20px;
}

.cards-div {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem;
}

.card-image {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.cards {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 10px;
  display: flex;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(100px, 2fr));
  justify-content: space-around;
  gap: 10px;
}
.card {
  background-color: white;
  display: inline-flex;
  flex-direction: column;
  box-shadow: 2px 2px 12px 1px rgba(140, 140, 140, 0.5);
  padding: 5%;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  height: fit-content;
}

.card-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #0206ba;
}

/* Keep heading links (e.g. product card titles) looking like plain headings */
.caption h3 a,
.caption h3 a:link,
.caption h3 a:visited,
.caption h3 a:hover,
.caption h3 a:focus {
  color: inherit;
  text-decoration: none;
}
.caption h3 a:hover {
  text-decoration: underline;
}

.apps {
  height: 350px;
  max-width: 300px;
}

.products {
  display: flex;
  height: 450px;
  max-width: 300px;
  justify-content: space-between;
}

.rotating-fan {
  animation: spin 2s linear infinite;
  transform-origin: center;
}
.fan {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 250px;
}
.temps {
  font-size: 2.5rem;
  text-align: center;
  font-weight: bold;
}
.stats {
  font-size: 2rem;
  text-align: center;
  background-color: White;
}
.locreml {
  font-size: 1rem;
  text-indent: 40%;
  text-align: right;
}
.locremr {
  font-size: 1rem;
  text-indent: 70%;
  text-align: right;
}

.reading {
  color: #193036;
  font-size: 3rem;
}

.date-time {
  font-size: 0.8rem;
  color: #1282a2;
}

button {
  background-color: #0004b9;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
button:hover {
  opacity: 0.8;
}
.deletebtn {
  background-color: #c52c2c;
}

.form-elements-container {
  padding: 16px;
  width: 250px;
  margin: 0 auto;
}

.container {
  max-width: 800px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

table {
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
}
tr,
td {
  padding: 0.25rem;
}
tr:nth-child(even) {
  background-color: #f2f2f2;
}
tr:hover {
  background-color: #ddd;
}
th {
  text-align: center;
  position: sticky;
  top: 0;
  background-color: #50b8b4;
  color: white;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #474e5d;
  padding-top: 50px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto;
  border: 1px solid #888;
  width: 80%;
}

/* Style the horizontal ruler */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* The Modal Close Button (x) */
.close {
  position: absolute;
  right: 35px;
  top: 15px;
  font-size: 40px;
  font-weight: bold;
  color: #f1f1f1;
}

.close:hover,
.close:focus {
  color: #f44336;
  cursor: pointer;
}

/* Clear floats */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Change styles for cancel button and delete button on extra small screens */
@media screen and (max-width: 300px) {
  .cancelbtn,
  .deletebtn {
    width: 100%;
  }
}
.units {
  font-size: 0.8rem;
}
.card-content {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  justify-content: space-around;
  padding-bottom: 1rem;
  overflow-x: auto;
  flex-wrap: nowrap;
}

:root {
  --main-color: #ecf0f1;
  --point-color: #555;
  --size: 5px;
}
.loader {
  background-color: White;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__element {
  border-radius: 100%;
  border: var(--size) solid var(--point-color);
  margin: calc(var(--size) * 2);
}

.loader__element:nth-child(1) {
  animation: preloader 0.6s ease-in-out alternate infinite;
}
.loader__element:nth-child(2) {
  animation: preloader 0.6s ease-in-out alternate 0.2s infinite;
}

.loader__element:nth-child(3) {
  animation: preloader 0.6s ease-in-out alternate 0.4s infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes preloader {
  100% {
    transform: scale(2);
  }
}
