/* Colours */
/* Fonts */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

/* Typography */
@font-face {
  font-family: "Aktiv Grotesk";
  src: url("/assets/AktivGrotesk.woff2") format("woff2");
}
/* Buttons */
.button-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

button,
.button {
  padding: 15px 30px;
  font-size: 17px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  border-radius: 4px;
  text-transform: uppercase;
  cursor: pointer;
  background-color: #DDD;
  border: 0;
  letter-spacing: 2px;
}
button.primary,
.button.primary {
  background-color: #4375D9;
  color: #FFF;
}
button.medium,
.button.medium {
  padding: 13px 25px;
  font-size: 14px;
}
button.small,
.button.small {
  font-size: 0.8rem;
  line-height: 20px;
  padding: 5px 20px;
  font-weight: normal;
}
button.tiny,
.button.tiny {
  font-size: 0.65rem;
  line-height: 15px;
  padding: 5px 10px;
  font-weight: normal;
}
button.disabled,
.button.disabled {
  cursor: initial;
  background-color: #DDD;
}

footer {
  display: flex;
  justify-content: space-evenly;
  padding: 1.5rem;
  background-color: #FFF;
  border-top: solid 1px #DDD;
}
footer > * {
  flex-grow: 1;
  flex-basis: 0;
}
footer #copyright {
  padding-right: 150px;
  font-size: 0.8rem;
}
footer ul {
  list-style: none;
}
footer li {
  margin-bottom: 0.5rem;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Source Sans Pro", sans-serif;
  color: #154153;
  font-weight: bold;
}

/* Common */
html {
  font-size: 16px;
}
html.andy {
  border: solid 2px #F00;
}
html.staging {
  border: solid 2px #ff8800;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  background-color: #FFF;
  color: #154153;
  line-height: 150%;
}

a {
  color: #4375D9;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Forms */
input, select {
  padding: 0.5rem;
  font-size: 1rem;
  color: #444;
  border: solid 1px #e6e6e6;
}

.hidden {
  display: none;
}

.bold {
  font-weight: bold;
  color: #000;
}

#message-container {
  position: fixed;
  top: 5px;
  width: 100%;
  z-index: 100;
  color: #FFF;
}
#message-container .message {
  margin: 0 auto;
  max-width: 800px;
  padding: 1em;
  text-align: center;
  border-radius: 5px;
}
#message-container .message .icon {
  margin-right: 1rem;
}
#message-container .ok {
  background-color: #28a745;
  color: #FFF;
}
#message-container .warn {
  background-color: #ffc107;
  color: #000;
}
#message-container .error {
  background-color: #dc3545;
  color: #FFF;
}

.message.ok, .success {
  background-color: #28a745;
  color: #FFF;
}

.message.warn {
  background-color: #ffc107;
  color: #000;
}

.message.danger, .error {
  background-color: #dc3545;
  color: #FFF;
}

.ta-center {
  text-align: center;
}

.ta-left {
  text-align: left;
}

.ta-right {
  text-align: right;
}

.no-wrap {
  white-space: nowrap;
}

.m-1 {
  margin: 1rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.ml-1 {
  margin-left: 1rem;
}

.ml-2 {
  margin-left: 2rem;
}

.ml-3 {
  margin-left: 3rem;
}

.mr-1 {
  margin-right: 1rem;
}

.mr-2 {
  margin-right: 2rem;
}

.mr-3 {
  margin-right: 3rem;
}

.mtb-1 {
  margin: 1rem 0;
}

.mlr-1 {
  margin: 0 1rem;
}

.p-1 {
  padding: 1rem;
}

.pb-1 {
  padding-bottom: 1rem;
}

.pt-1 {
  padding-top: 1rem;
}

.fw-bold {
  font-weight: bold;
}

/* Header */
header {
  position: relative;
  display: flex;
  padding: 1.5rem 1rem;
  justify-content: space-between;
  align-items: center;
  background-color: #FFF;
  z-index: 10;
}
header #logo-container {
  display: flex;
  align-items: center;
}
header #logo {
  display: flex;
  align-items: center;
}
header #logo img {
  height: 40px;
}
header #ap {
  margin-left: 20px;
  font-size: 30px;
}
header #partner-logo {
  font-size: 30px;
}

/* Nav */
#nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FFF;
  border-bottom: solid 1px #DDD;
}

#secondary-nav {
  display: flex;
}

nav {
  display: flex;
  justify-content: space-between;
  position: relative;
  bottom: -1px;
  margin: 0 1rem;
  color: #FFF;
  align-items: center;
}
nav ul {
  display: flex;
}
nav ul li {
  margin-right: 3px;
  padding: 0.5rem 0;
  border-radius: 5px 5px 0 0;
  background-color: #FFF;
  border: solid 1px #DDD;
}
nav ul li.active {
  background-color: #FFF;
  border-bottom: 0;
}
nav ul a {
  line-height: 150%;
  padding: 10px 20px;
}
nav div {
  font-size: 90%;
}

.dropbtn {
  padding: 1rem;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  line-height: 40px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0.8rem;
  top: 40px;
  background-color: #FFF;
  min-width: 160px;
  /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
  z-index: 20;
  line-height: 3rem;
  border: solid 1px #DDD;
  border-top: 0;
  max-height: 450px;
  overflow-y: auto;
}

/* Links inside the dropdown */
.dropdown-content a {
  padding: 0rem 1rem;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.dropdown-content a.partner.last {
  border-bottom: solid 1px #DDD;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Card management modal */
#manage-cards-modal {
  max-width: 800px;
}
#manage-cards-modal table {
  margin: 20px auto 0 auto;
}
#manage-cards-modal .group {
  display: flex;
  flex-wrap: wrap;
}
#manage-cards-modal .field {
  flex-grow: 1;
  margin: 10px;
}
#manage-cards-modal .field.full {
  width: 100%;
}
#manage-cards-modal label {
  font-weight: bold;
  font-size: 0.85rem;
}
#manage-cards-modal .StripeElement {
  padding: 5px 10px;
  border: solid 1px #A9A9A9;
  background-color: #FFF;
}
#manage-cards-modal div.ok {
  border: solid 1px #179113;
  background-color: rgba(23, 145, 19, 0.25);
  color: #000;
}
#manage-cards-modal div.error {
  border: solid 1px #911313;
  background-color: rgba(145, 19, 19, 0.25);
  color: #000;
}
#manage-cards-modal div.message {
  margin-top: 20px;
  padding: 5px 10px;
}
#manage-cards-modal div.message.error {
  border: solid 1px #911313;
  background-color: rgba(145, 19, 19, 0.25);
  color: #000;
}
#manage-cards-modal div.message.ok {
  border: solid 1px #179113;
  background-color: rgba(23, 145, 19, 0.25);
  color: #000;
}
#manage-cards-modal div.customer-cards {
  margin: 10px 0 20px 0;
  color: #F00;
}
#manage-cards-modal .radio {
  display: flex;
  align-items: baseline;
}
#manage-cards-modal td {
  white-space: nowrap;
}
#manage-cards-modal p.sharing {
  font-size: 80%;
}

/* Main content */
#main-container {
  margin: 0 auto;
  padding: 1em;
  background-color: #f7f7f7;
  background-color: #FFF;
}

table {
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  font-size: 80%;
}
table th {
  padding: 0.5rem;
  font-size: 0.85rem;
  background-color: #EEE;
  border-bottom: solid 1px #CCCCCC;
  white-space: nowrap;
}
table th input {
  display: block;
  display: none;
  width: 100%;
  padding: 0.25rem;
  font-size: 95%;
}
table td {
  padding: 0.5rem;
  border: solid 1px #CCC;
}
table td.center {
  text-align: center;
}
table tr:nth-child(odd) {
  background-color: #f7f7f7;
}

#autosuggest {
  position: relative;
}
#autosuggest .autosuggest_controls {
  display: flex;
  align-items: center;
}
#autosuggest .autosuggest_controls label {
  display: none;
  margin-right: 1rem;
}
#autosuggest .autosuggest_controls input {
  flex-grow: 1;
}
#autosuggest .autosuggest_options {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0.5rem 0;
  font-size: 14px;
  z-index: 20;
  list-style: none;
  background-color: #FFF;
  border: 1px solid #CCC;
  border-top: solid 1px #FFF;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  text-align: left;
}
#autosuggest .autosuggest_options li {
  padding: 0.5rem;
  cursor: pointer;
}
#autosuggest .autosuggest_options li.active {
  background-color: #EEE;
}

/*
#message_container {
    display: flex;
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    padding: 1rem;
    justify-content: space-around;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.7);

    .message {
        padding: 1rem;
        border-radius: 5px;

        .icon {
            margin-right: 1rem;
        }
    }
}
*/
#footer_message_container {
  display: none;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: 0 10px;
  border: 1px solid #CCCCCC;
  font-size: 80%;
  background-color: #FFF;
}
#footer_message_container .message {
  padding: 10px 5px;
}
#footer_message_container .message:nth-child(odd) {
  background-color: #FFF;
}
#footer_message_container .message span {
  margin-right: 10px;
}

/* Pagination */
.pagination {
  display: flex;
  margin-top: 20px;
  justify-content: center;
}

.pagination button {
  padding: 0.25rem 0.5rem;
  border: solid 1px #CCC;
}

.pagination button:hover {
  background-color: #CCC;
}

.pagination .pages {
  margin: 0 20px;
}

.pagination .page.current {
  background-color: #DDD;
  cursor: default;
}

.blocker {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 20;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.75);
  text-align: center;
}

.blocker:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.05em;
}

.blocker.behind {
  background-color: transparent;
}

.modal {
  display: none;
  vertical-align: middle;
  position: relative;
  z-index: 2;
  max-width: 500px;
  box-sizing: border-box;
  width: 90%;
  background: #fff;
  padding: 15px 30px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -o-border-radius: 8px;
  -ms-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0 0 10px #000;
  -moz-box-shadow: 0 0 10px #000;
  -o-box-shadow: 0 0 10px #000;
  -ms-box-shadow: 0 0 10px #000;
  box-shadow: 0 0 10px #000;
  text-align: left;
}

.modal a.close-modal {
  position: absolute;
  top: -12.5px;
  right: -12.5px;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==");
}

.modal-spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  padding: 12px 16px;
  border-radius: 5px;
  background-color: #111;
  height: 20px;
}

.modal-spinner > div {
  border-radius: 100px;
  background-color: #fff;
  height: 20px;
  width: 2px;
  margin: 0 1px;
  display: inline-block;
  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.modal-spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.modal-spinner .rect3 {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

.modal-spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% {
    -webkit-transform: scaleY(0.5);
  }
  20% {
    -webkit-transform: scaleY(1);
  }
}
@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.5);
    -webkit-transform: scaleY(0.5);
  }
  20% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
  }
}
header {
  padding: 1.5rem 1rem 0 1rem;
}

#main-container {
  background-color: #FFF;
  padding: 0;
  font-family: "Aktiv Grotesk", "Roboto", sans-serif;
}
#main-container .content {
  display: flex;
}
#main-container .content #hero {
  position: relative;
  height: 100vh;
  max-width: 33.33%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-grow: 0;
  flex-basis: 33.33%;
}
#main-container .content #hero .logo {
  max-width: 300px;
  z-index: 2;
  padding: 40px 0;
}
#main-container .content #hero .logo img {
  height: 70px;
}
#main-container .content #hero .logo #ap {
  font-size: 31px;
  font-weight: 100;
  text-align: center;
  color: #fff;
}
#main-container .content #hero #partner-logo {
  margin: 40px;
  z-index: 2;
  font-size: 31px;
  line-height: 100%;
  color: #fff;
  text-align: center;
}
#main-container .content #hero #hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #154153;
  background-image: url("/assets/images/home-login.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#main-container .content #login-signup {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-basis: 66.66%;
}
#main-container .content #login-signup #form-container {
  width: 100%;
}

#message {
  margin-right: 10px;
  min-height: 400px;
}
#message p {
  margin: 10px 0;
}
#message li {
  margin-left: 20px;
}
#message .button-container {
  margin-top: 40px;
  justify-content: left;
}

.button.primary {
  padding: 3px 21px;
  font-size: 1rem;
  letter-spacing: normal;
  font-family: "Aktiv Grotesk", "Roboto", sans-serif;
  text-transform: none;
  background-color: #06C2C9;
  min-width: 64px;
  box-sizing: border-box;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  font-weight: 500;
  line-height: 1.75;
  border-radius: 4px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}
.button.primary:hover {
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}

form {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 5rem;
  gap: 1rem;
}
form h1 {
  color: #086f73;
  font-family: "Aktiv Grotesk", "Roboto", sans-serif;
  font-size: 20px;
}
form .group {
  display: flex;
  flex: 1 1 0;
  justify-content: space-between;
}
form .fields {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
form .fields.buttons {
  align-self: flex-end;
}
form .field {
  width: 100%;
}
form .field:has(input[type=checkbox]) {
  display: flex;
  align-items: flex-start;
}
form .field label {
  color: #086f73;
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}
form .field label.valid::after {
  content: "*";
  margin-left: 0.2rem;
  color: #086f73;
}
form .field label.invalid::after {
  content: "*";
  color: #C10000;
}
form .field input[type=checkbox] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  margin-right: 0.5rem;
}
form .field input {
  font-family: "Aktiv Grotesk", "Roboto", sans-serif;
  width: 100%;
  height: 50px;
  padding: 0.5rem;
  border-radius: 7px;
  border-color: #154153;
  outline-color: #4c4bb0cf;
}
form .field input.error {
  border: solid 1px #C10000;
  background-color: #C1000017;
  color: initial;
}
form .field input.ok {
  border: solid 1px #00c100;
  background-color: #00c10017;
  color: initial;
}
form .button-container,
form .link-container {
  font-family: "Aktiv Grotesk", "Roboto", sans-serif;
  text-align: center;
}
form .link {
  box-sizing: border-box;
  padding: 3px 21px;
  height: 34px;
  line-height: 1.75;
  border-radius: 4px;
  color: #424242;
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}
form .link:hover {
  text-decoration: underline;
  background-color: #4242420a;
}

.no-account {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  margin: 0 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #DDD;
}
.no-account h2 {
  font-family: "Aktiv Grotesk", "Roboto", sans-serif;
  color: #086f73;
  font-size: 16px;
}
.no-account .button-container {
  margin-top: 0;
  justify-content: center;
}

#login-reset {
  display: none;
  padding: 1.5rem 5rem;
  color: #333;
  border: solid 1px #e6e6e6;
  border-radius: 1rem;
  z-index: 10;
}

#reset {
  display: none;
}

#signup {
  display: none;
}
#signup.modal {
  max-width: 65vw;
  width: 100%;
  padding: 24px 30px;
  font-family: "Aktiv Grotesk", "Roboto", sans-serif;
}
#signup .modal-content-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#terms {
  overflow-y: auto;
  max-height: 200px;
  padding: 10px;
  border: solid 1px #e6e6e6;
  font-size: 13px;
}
#terms p {
  margin: 10px 0;
}

.blocker {
  background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1070px) {
  form .fields:not(.buttons) {
    flex-direction: column;
  }
}
@media (max-width: 1020px) {
  #main-container .content {
    flex-direction: column;
    margin-bottom: 40px;
  }
  #main-container .content #hero {
    max-width: 100%;
    height: 50vh;
    flex-basis: 100%;
    padding: 0;
    margin: 0;
  }
  #main-container .content #hero #hero-image {
    background-position: top center;
  }
}
@media (max-width: 710px) {
  #signup.modal {
    max-width: unset;
    width: 100%;
  }
}
@media (max-width: 614px) {
  #main-container form#reset .fields.buttons {
    flex-direction: column-reverse;
    align-items: center;
    align-self: center;
  }
}
@media (max-width: 540px) {
  #main-container .content #hero #hero-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 65%);
    z-index: 1;
  }
}
@media (max-width: 478px) {
  #main-container form {
    padding: 1.5rem 2rem;
  }
  #main-container .no-account {
    margin: 0 2rem;
  }
}
@media (max-width: 384px) {
  #main-container form .fields.buttons {
    flex-direction: column-reverse;
    align-items: center;
    align-self: center;
  }

  #signup.modal {
    padding: 24px 10px;
  }
}