body,
html {
  margin: 0;
  padding: 0;
  font-family: Verdana, Arial, sans-serif;
}

body {
  color: #474f51;
  background: #f0f3ff;
  font-size: 11px; /* Base font size for better accessibility */
  line-height: 1.5; /* Optimal line height for readability */
}

p {
  font-size: 1.4em;
}

li {
  font-size: 1.3em;
}

a {
  text-decoration: none !important;
  color: #0466c8ff;
}

a:hover {
  text-decoration: none;
}

div.auction-nudge-items.theme-responsive div.an-item div.an-title {
  font-size: 1.5em;
  color: #001845ff;
}

div.auction-nudge-items.theme-responsive div.an-item {
  margin: 0 0 30px 0 !important;
}

div.auction-nudge-items.theme-responsive div.an-item div.an-price {
  font-size: 1.4em;
}

div.auction-nudge-items.theme-responsive div.an-item div.an-ends {
  display: none;
}

div.auction-nudge-items .an-search-box {
  width: 300px !important;
  font-size: 1.6em !important;
  border: #0466c8 1px solid !important;

}

div.auction-nudge-items .an-search-submit {
  font-size: 1.6em;

}

div.auction-nudge-items ul.an-page-top {
  min-height: 20px !important;
}


#embed {
  background: #fff;
  padding: 10px;
  margin-top: 40px;
  border-radius: 10px;
  min-height: 1200px;
}

#header a {
  color: #fff;
  text-decoration: none !important;
}

#newsletter {
  background-color: #fff;
  text-decoration: none !important;
  border-radius: 10px;
  padding: 20px;
}

.indicates-required {
  display: none;
}

/* Color Variables 
  --true-blue: #0466c8ff;
  --sapphire: #0353a4ff;
  --yale-blue: #023e7dff;
  --oxford-blue: #002855ff;
  --oxford-blue-2: #001845ff;
  --oxford-blue-3: #001233ff;
  --delft-blue: #33415cff;
  --paynes-gray: #5c677dff;
  --slate-gray: #7d8597ff;
  --cool-gray: #979dacff; 
  */

header {
  background: #0466c8;
  color: #fff;
  padding: 1em 20px; /* Combined padding for alignment and vertical space */
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid 1px #023e7dff;
  box-shadow: inset 0px -1px 0px 0px #51575a;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 2em;
}

.header-left h1,
nav.header-right ul,
nav.header-right ul li,
nav ul,
main,
footer,
.flex-container,
.text-container,
.image-container {
  margin: 0;
  padding: 0;
}

.header-left h1 {
  padding: 0;
}

nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

nav.header-right ul {
  display: flex;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav ul li {
  color: white;
  text-decoration: none;
}

ul {
  padding-inline-start: 20px;
}

main {
  padding: 10px 20px 80px 20px; /* Unified padding for main content and text container */
}

.text-container {
  padding: 0px; /* Unified padding for main content and text container */
}

footer {
  background: #3b4346 url("assets/bg01.jpg");

  color: white;
  text-align: center;
  padding: 1em 0;
  /* position: fixed; */
  bottom: 0;
  width: 100%;
}

footer a {
  color: #fff;
  text-decoration: none !important;
}

.profile-image {
  float: right;
  margin-left: 10px;
  margin-bottom: 10px;
  max-width: 100px;
  height: auto;
}

.flex-container,
.text-container,
.image-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.text-container,
.image-container {
  flex-basis: 100%;
}

@media (min-width: 768px) {
  .text-container,
  .image-container {
    flex: 1;
  }
  .text-container {
    padding-right: 20px; /* Adjusts spacing for larger screens */
    max-width: 60%;
  }
  .profile-image{
    max-width: 200px;
  }
}

@media (max-width: 600px) {
  nav ul li {
    display: block;
    margin: 10px 0;
  }

  footer {
    position: relative;
  }
}

/* Form */

form {
  margin: 0 0 2em 0;
  overflow-x: hidden;
}

form > :last-child {
  margin-bottom: 0;
}

form > .fields {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: calc(100% + 3em);
  margin: -1.5em 0 2em -1.5em;
}

form > .fields > .field {
  -moz-flex-grow: 0;
  -webkit-flex-grow: 0;
  -ms-flex-grow: 0;
  flex-grow: 0;
  -moz-flex-shrink: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-shrink: 0;
  flex-shrink: 0;
  padding: 1.5em 0 0 1.5em;
  width: calc(100% - 1.5em);
}

form > .fields > .field.half {
  width: calc(50% - 0.75em);
}

form > .fields > .field.third {
  width: calc(100% / 3 - 0.5em);
}

form > .fields > .field.quarter {
  width: calc(25% - 0.375em);
}

@media screen and (max-width: 480px) {
  form > .fields {
    width: calc(100% + 3em);
    margin: -1.5em 0 2em -1.5em;
  }

  form > .fields > .field {
    padding: 1.5em 0 0 1.5em;
    width: calc(100% - 1.5em);
  }

  form > .fields > .field.half {
    width: calc(100% - 1.5em);
  }

  form > .fields > .field.third {
    width: calc(100% - 1.5em);
  }

  form > .fields > .field.quarter {
    width: calc(100% - 1.5em);
  }
}

label {
  display: block;
  font-size: 0.9em;
  font-weight: 900;
  margin: 0 0 1em 0;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  border-radius: 0;
  border-bottom: solid 1px #c9c9c9;
  color: inherit;
  display: block;
  outline: 0;
  padding: 0;
  text-decoration: none;
  width: 100%;
}

input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
input[type="tel"]:invalid,
select:invalid,
textarea:invalid {
  box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-bottom-color: #f2849e;
  box-shadow: inset 0 -1px 0 0 #f2849e;
}

select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23c9c9c9' /%3E%3C/svg%3E");
  background-size: 1.25rem;
  background-repeat: no-repeat;
  background-position: calc(100% - 1rem) center;
  height: 3em;
  padding-right: 3em;
  text-overflow: ellipsis;
}

select option {
  background: #ffffff;
}

select:focus::-ms-value {
  background-color: transparent;
}

select::-ms-expand {
  display: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
  height: 3em;
}

textarea {
  padding: 0;
  min-height: 3.75em;
}

input[type="checkbox"],
input[type="radio"] {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  display: block;
  float: left;
  margin-right: -2em;
  opacity: 0;
  width: 1em;
  z-index: -1;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
  text-decoration: none;
  color: #585858;
  cursor: pointer;
  display: inline-block;
  font-size: 1em;
  font-weight: 300;
  padding-left: 2.55em;
  padding-right: 0.75em;
  position: relative;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
  border-radius: 4px;
  border: solid 1px #c9c9c9;
  content: "";
  display: inline-block;
  font-size: 0.8em;
  height: 2.25em;
  left: 0;
  line-height: 2.25em;
  position: absolute;
  text-align: center;
  top: 0;
  width: 2.25em;
}

input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
  background: #585858;
  border-color: #585858;
  color: #ffffff;
  content: "\f00c";
}

input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
  border-color: #f2849e;
  box-shadow: 0 0 0 1px #f2849e;
}

input[type="checkbox"] + label:before {
  border-radius: 4px;
}

input[type="radio"] + label:before {
  border-radius: 100%;
}
