/*----------------------------------------------------------------------
  FILENAME: custom.css
  DESCRIPTION: Rules placed in this file will override all other rules.
  You can use !important to ensure the rules are applied.
----------------------------------------------------------------------*/

#nav {
  background: #022169;
}

#nav ul li.selected a {
  color: #022169;
  background: #F2D230;
}

#nav ul li a:hover, #nav ul li:hover a {
  color: #022169;
  background: #F2D230;
}

#nav ul {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

input[type=url], input[type=text], input[type=password], select, textarea {
    width: 100%;
    max-width: 350px;
}

form dl select {
  max-width: 350px;
  width: 100%;
}

#header {
  background: #ffffff;
}

#siteLogo img {
    width: 150px;
    height: auto;
}

#header {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

#pageBody {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

#page_login, #page_2fa_verify {
  background: none;
}

#aside .section h1, #aside .notes h1 {
  color: #022169;
}

#aside .nav .section li.selected, #aside .nav .section li:hover {
  background: #022169;
}

#aside .section h2 {
  color: #000;
}

/* Container for the login form */
.login {
  width: 360px;
  margin: 50px auto;
  padding: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Header styling */
.login h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

/* Form fields styling */
.login dl {
  margin-bottom: 15px;
  float: none;
}

.login dt {
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
}

.login dd {
  margin: 0;
}

/* Input fields */
.login input.text {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 14px;
  color: #333;
  background-color: #fafafa;
  transition: border 0.3s ease;
}

.login input.text:focus {
  border-color: #F2D230;
  outline: none;
}

/* Submit button styling */
.login button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background-color: #F2D230;
  color: #022169;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login button:hover {
  background-color: #f3d01f;
}

/* Recaptcha styling */
.login .g-recaptcha {
  margin-bottom: 15px;
}

/* Ensure responsiveness on smaller screens */
@media (max-width: 480px) {
  .login {
      width: 90%;
      padding: 30px;
  }
}


/* General Form Styling */
.form {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.form h1 {
  font-size: 24px;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.form p {
  color: #555;
  font-size: 14px;
  margin-bottom: 20px;
}

.form .reqStar {
  color: #C8102E;
}

.form fieldset {
  border: none;
  margin-bottom: 15px;
}

.form dl {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.form dt {
  width: 30%;
  padding: 8px 0;
  color: #333;
  font-weight: bold;
}

.form dd {
  width: 70%;
  padding: 8px 0;
}

.form input[type="text"],
.form input[type="password"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.form input[type="text"]:focus,
.form input[type="password"]:focus,
.form input[type="email"]:focus,
.form select:focus,
.form textarea:focus {
  border-color: #3498db;
  outline: none;
}

.form input[type="checkbox"] {
  margin-right: 8px;
}

.form label {
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.form .g-recaptcha {
  margin-top: 10px;
}

.form .submit-buttons {
  text-align: center;
  margin-top: 20px;
}

.form .submit-buttons input[type="submit"] {
  background-color: #F2D230;
  color: #022169;
  font-size: 16px;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form .submit-buttons input[type="submit"]:hover {
  background-color: #2980b9;
}

/* Additional Styling */
.form legend {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: bold;
}

.form textarea {
  resize: vertical;
  height: 100px;
}

/* Optional: Responsive Design */
@media (max-width: 768px) {
  .form dl {
      display: block;
  }

  .form dt, .form dd {
      width: 100%;
  }
}


button, .button, input[type=submit] {
  background-color: #F2D230;
  color: #022169;
}

#aside .section form input {
  padding: 4px 0px;
  margin: 8px 0;
}