.hubspot-form {
  display: block;
}

.hubspot-form-active,
.hubspot-form-b2b {
  display: block;
}

.zaius-form {
  display: none;
}

.citizen-spy .field > label {
  display: none;
}
.citizen-spy .hs-input {
  border: 1px #000;
  background-color: #2b3553;
  color: #fff !important;
}
.citizen-spy .hs-input::placeholder {
  color: #fff;
}
.citizen-spy .legal-consent-container p {
  font-size: 14px;
}
.citizen-spy .hs-button {
  width: 100%;
}

/* Crossword signup form */
.crossword-signup .hbspt-form .hs-error-msg {
  color: black;
}
.crossword-signup .legal-consent-container p {
  color: black;
}

/* Spycon  */

.hubspot-form.spycon .hs-button {
  background-color: #a1e545;
}

/* Spymaster Waiting List form styles */

.spymaster-waiting-list .field > label {
  color: white;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 8px;
}
.spymaster-waiting-list .hs-input {
  background-color: #2b3553;
  color: #a9b3cf;
  border: none;
}
.spymaster-waiting-list .hs-input::placeholder {
  color: #a9b3cf;
}
.spymaster-waiting-list .hs-submit .hs-button {
  margin-top: 10px;
  width: 100%;
  background-color: transparent;
  border: 1px solid #4ec3f7;
  color: white;
  font-weight: 300;
}

/* Styling for classes provided by Hubspot */
.hbspt-form {
  margin: 0 0 15px;
}

.hs-form-field {
  margin-bottom: 16px;
}

.hs-submit input[type='submit'] {
  width: 100%;
}

.hbspt-form label {
  display: none;
}

/* Line 84 has the effect of hiding validation errors, making the form appear broken.
   This block corrects that, without removing any other effects */
.hs-error-msgs label {
  display: block;
}

.hs-input {
  background-color: #fff;
  border: 1px #000;
  border: 1px solid #ccc;
  color: #000;
  display: block;
  font-family: 'Spyscapetwo webfont', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  margin-bottom: 10px;
  min-height: 50px;
  padding: 8px 12px;
  vertical-align: middle;
  width: 100%;
}

.hubspot-form .hs-form fieldset.form-columns-1 .input:not([type='checkbox']):not([type='radio']),
.hubspot-form .hs-form fieldset.form-columns-1 .hs-input:not([type='checkbox']):not([type='radio']) {
  margin-right: 0;
  width: 100%;
}

.hubspot-form .hs-form fieldset.form-columns-2 .input:not([type='checkbox']):not([type='radio']) {
  width: 100%;
}

.hubspot-form .hs-form fieldset.form-columns-2 .hs-form-field {
  margin-left: 0;
}

.hubspot-form .hs-form fieldset.form-columns-2 .hs-form-field:nth-child(1) {
  padding-right: 4px;
}

.hubspot-form .hs-form fieldset.form-columns-2 .hs-form-field:nth-child(2) {
  padding-left: 4px;
}

.hs-input::placeholder {
  font-family: 'Spyscapetwo webfont', sans-serif;
  text-transform: capitalize;
}

.hs-input:-moz-placeholder {
  font-family: 'Spyscapetwo webfont', sans-serif;
  color: #000;
  text-transform: capitalize;
}

.hs-input::-moz-placeholder {
  font-family: 'Spyscapetwo webfont', sans-serif;
  color: #000;
  opacity: 1;
  text-transform: capitalize;
}

.hs-input:-ms-input-placeholder {
  font-family: 'Spyscapetwo webfont', sans-serif;
  color: #000;
  text-transform: capitalize;
}

.hs-input::-webkit-input-placeholder {
  font-family: 'Spyscapetwo webfont', sans-serif;
  color: #000;
  text-transform: capitalize;
}

.hs-input:focus {
  border-color: #3898ec;
  outline: 0;
}

.hs-input[disabled],
.hs-input[readonly] fieldset[disabled] .hs-input {
  cursor: not-allowed;
  background-color: #eee;
}

.hs-input[type='checkbox'] {
  min-height: auto;
  margin-top: 8px;
  width: auto;
}

textarea.hs-input {
  height: auto;
}

.hs-button {
  background-color: #4ec3f7;
  border-radius: 0;
  border: 0;
  color: #000;
  cursor: pointer;
  display: inline-block;
  font-family: 'Spyscapetwo webfont', sans-serif;
  font-size: 16px;
  font-weight: 400;
  height: 60px;
  line-height: inherit;
  padding: 9px 15px;
  text-decoration: none;
  text-transform: uppercase;
}

input.hs-button {
  -webkit-appearance: button;
}

.hs-error-msgs {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.hs-error-msgs li {
  border: none;
  background-color: transparent;
  padding: 0;
  color: #fff;
}

.hbspt-form .submitted-message {
  padding: 20px;
  text-align: center;
  background-color: #ddd;
}

.hbspt-form .submitted-message p {
  font-family: 'Spyscapetwo webfont', sans-serif;
  color: #000;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.hbspt-form .submitted-message p:last-child {
  margin-bottom: 0;
}

.hbspt-form .hs-form-required {
  margin-left: 5px;
}

.hbspt-form .hs-error-msgs {
  margin-top: -8px;
}
.hbspt-form .hs-error-msg {
  font-size: 12px;
  line-height: 20px;
}

/* Dark theme form */

.hubspot-form--dark-theme .field > label {
  color: white;
  display: block;
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.hubspot-form--dark-theme .hs-input {
  background-color: #2b3553;
  color: #a9b3cf;
  border: none;
}

.hubspot-form--dark-theme .hs-input::placeholder {
  color: #a9b3cf;
}

.hubspot-form--dark-theme .hs-submit .hs-button {
  margin-top: 10px;
  width: 100%;
  background-color: transparent;
  border: 1px solid #4ec3f7;
  color: white;
  font-weight: 300;
}

.hubspot-form--dark-theme .hs-submit .hs-button:hover {
  color: #4ec3f7;
}

.hubspot-form .legal-consent-container .inputs-list {
  list-style: none;
  margin-top: 0;
  padding: 0;
}

.hubspot-form .legal-consent-container .inputs-list li {
  background: transparent;
  border: none;
  opacity: 1;
  padding: 0;
  margin-bottom: 8px;
}

.hubspot-form .legal-consent-container .inputs-list li label,
.hubspot-form .legal-consent-container .inputs-list li label p {
  display: block;
  font-weight: normal;
  font-size: 17px;
  opacity: 0.8;
}

.hubspot-form .legal-consent-container .inputs-list li input {
  margin-left: 10px;
  margin-right: 20px;
}

/* Multiple Newsletter Signup */
.multi-newsletter-signup form {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.multi-newsletter-signup form .legal-consent-container {
  order: 1;
}

.multi-newsletter-signup form .hs-firstname {
  order: 2;
  width: 60%;
  margin: 0 auto;
}

.multi-newsletter-signup form .hs-email {
  order: 3;
  width: 60%;
  margin: 0 auto;
}

.multi-newsletter-signup form .hs-submit {
  order: 4;
  width: 60%;
  margin: 18px auto;
}

.multi-newsletter-signup .legal-consent-container .inputs-list {
  list-style-type: none;
  padding: 0;
}

.multi-newsletter-signup .legal-consent-container .inputs-list li {
  border: none;
  padding: 40px 277px 40px 277px;
  background-repeat: no-repeat;
  background-position: 56px 40px;
  min-height: 150px;
  background-color: #0e0e0e;
  position: relative;
  background-size: 165px 70px;
}

.multi-newsletter-signup .legal-consent-container .inputs-list p {
  font-size: 16px;
  line-height: 26px;
  color: white;
  opacity: 1;
  font-family: 'Spyscapetwo webfont', sans-serif;
  font-weight: 300;
}

.multi-newsletter-signup .legal-consent-container .inputs-list p strong {
  display: none;
}

.multi-newsletter-signup .legal-consent-container .inputs-list input {
  display: none;
}

.multi-newsletter-signup .legal-consent-container .inputs-list input + span:after {
  position: absolute;
  top: 40px;
  right: 60px;
  content: 'Select';
  padding: 12px 0;
  width: 140px;
  border: 1px solid #4ec3f7;
  font-family: 'Spyscapetwo webfont', sans-serif;
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  text-align: center;
  text-transform: uppercase;
}

.multi-newsletter-signup .legal-consent-container .inputs-list input:checked + span:after {
  border-color: #a0e545;
  color: #a0e545;
  content: 'Selected';
}

.multi-newsletter-signup div[data-reactid$='subscription_type_16145635'] .inputs-list li {
  background-image: url('./six_secrets.png');
}

.multi-newsletter-signup div[data-reactid$='subscription_type_16811613'] .inputs-list li {
  background-image: url('./car_secrets.png');
}

.multi-newsletter-signup div[data-reactid$='subscription_type_11581879'] .inputs-list li {
  background-image: url('./spyflix_secrets.png');
}

.multi-newsletter-signup .legal-consent-container .hs-richtext p {
  font-size: 12px;
  text-align: center;
}

.multi-newsletter-signup .hs-button {
  width: 100%;
}

/* Overrides for Hubspot form on Article page */

/* We actually want .hbspt-form:has(.hsForm_cd90cc77-064e-47b0-8388-c649b5b259b2), 
   but .has doesn't have browser support yet. Workaround, albeit with possible side effects. */
.hbspt-form {
  margin-bottom: 0px;
}

.hsForm_cd90cc77-064e-47b0-8388-c649b5b259b2 {
  display: flex;
}

.hsForm_cd90cc77-064e-47b0-8388-c649b5b259b2 input {
  border-radius: 0px;
}

.hsForm_cd90cc77-064e-47b0-8388-c649b5b259b2 div.hs_email {
  flex-grow: 1;
  margin-bottom: 0px;
}

.hsForm_cd90cc77-064e-47b0-8388-c649b5b259b2 div.hs_submit .hs-button {
  height: 50px;
}

/* For the form at https://spyscape.webflow.io/rabbit-hole */

.events-enquiry ul,
.events-enquiry li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.events-enquiry li {
  border: none;
  opacity: 1;
}

.events-enquiry .hbspt-form label {
  display: block;
}

.events-enquiry li.hs-form-radio .hs-input,
.events-enquiry li.hs-form-booleancheckbox .hs-input {
  display: initial;
  line-height: initial;
  margin-bottom: initial;
  min-height: initial;
  vertical-align: initial;
  width: initial;
  padding-right: 1em;
  margin-right: 1em;
}

.events-enquiry li.hs-form-radio span,
.events-enquiry li.hs-form-booleancheckbox span {
  font-weight: 100;
}

/* https://spyscape.webflow.io/landing/uber1 */
#hsForm_28c5be08-cace-4c75-8516-97eb09de653e .actions input {
  width: 280px;
  margin-top: 0;
  padding-right: 40px;
  padding-left: 40px;
  background-color: #4ec3f7;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: #0c101c;
  margin-bottom: 20;
  padding-top: 12px;
  padding-bottom: 12px;
  height: 52px;
}

/* SpyGames form - https://spyscape.webflow.io/dev/spy-games-2 */
#hsForm_60b8482f-dd65-4cf7-8941-639872b83c65 a, #hsForm_c00c8f46-5de1-4be9-83fe-b063a04090aa a, #hsForm_503b4ded-2661-49b5-ac11-95c5be326dd1 a {
  color:#1EEB7A;
}

#hsForm_60b8482f-dd65-4cf7-8941-639872b83c65 .hs-button, #hsForm_c00c8f46-5de1-4be9-83fe-b063a04090aa .hs-button, #hsForm_503b4ded-2661-49b5-ac11-95c5be326dd1 .hs-button {
  background-color:#1EEB7A;
}

.hsForm_a529560d-8fc8-4d11-a359-d592bc67ac20 label span {
  text-transform: capitalize;
}

/* https://spyscape.com/dev/spygames */
#hbspt-form-22ec23cb-25d7-4d3f-bcfc-61cc14bd5c67 label.hs-form-booleancheckbox-display {
  display:block
}

#hbspt-form-22ec23cb-25d7-4d3f-bcfc-61cc14bd5c67 .hs-fieldtype-booleancheckbox legend {
  display:none !important;
}

#hbspt-form-22ec23cb-25d7-4d3f-bcfc-61cc14bd5c67 .hs-fieldtype-booleancheckbox input {
  display:inline;
  margin-right: 0.5em;
  margin-right: 10px;
  line-height: normal;
  width: 20px;
  height: 20px;
}

#hbspt-form-22ec23cb-25d7-4d3f-bcfc-61cc14bd5c67 ul, #hbspt-form-22ec23cb-25d7-4d3f-bcfc-61cc14bd5c67 li.hs-form-booleancheckbox {
  opacity: initial;
  color: initial;
  background-color: initial !important;
  border: initial;
  margin: 0;
  padding: 0;
  font-size:initial;
  line-height:initial;
  list-style-type: none;
  font-weight: normal !important;
  font-size: 10pt;
}

#hbspt-form-22ec23cb-25d7-4d3f-bcfc-61cc14bd5c67 li.hs-form-booleancheckbox {
  background-color: initial !important;
}

#hbspt-form-22ec23cb-25d7-4d3f-bcfc-61cc14bd5c67 .legal-consent-container a {
  text-decoration:underline;
  color: #fff;
}

/* https://spyscape.com/dev/spygames-dev#parties */
#hsForm_c00c8f46-5de1-4be9-83fe-b063a04090aa label {
  display: block;
  text-transform: uppercase;
  color: #647873;
  font-size: 14pt;
  font-weight: bold;
  margin-bottom: 8px;
  margin-top: 15px;
}

#hsForm_c00c8f46-5de1-4be9-83fe-b063a04090aa input, #hsForm_c00c8f46-5de1-4be9-83fe-b063a04090aa select {
  border-radius: 7px;
  border: none;
  font-size: 12pt;
  font-weight: 100 !important;
  width: 100%;
}

#hsForm_c00c8f46-5de1-4be9-83fe-b063a04090aa .legal-consent-container p {
  color: #647873;
}

#hsForm_c00c8f46-5de1-4be9-83fe-b063a04090aa .legal-consent-container p a {
  color: #647873;
  text-decoration: underline;
}

#hsForm_c00c8f46-5de1-4be9-83fe-b063a04090aa .hs-submit input {
  border: 3px solid black;
}

#hsForm_c00c8f46-5de1-4be9-83fe-b063a04090aa .hs-fieldtype-intl-phone {
  width: 100%;
}

/* https://spyscape.com/newsletter-signup, https://spyscape.com/email-sign-up */

#hsForm_fd7c82da-5cbe-458e-bbef-b584629cbc84  label {
  display: block !important;
}

#hsForm_fd7c82da-5cbe-458e-bbef-b584629cbc84  .hs_email {
  margin-bottom: 20px !important; 
}

#hsForm_fd7c82da-5cbe-458e-bbef-b584629cbc84  li {
  list-style-type: none;
  margin-bottom: 0;
  border: 0;
  padding-top:0;
  padding-bottom:0;
  padding-left:0;
}

#hsForm_fd7c82da-5cbe-458e-bbef-b584629cbc84  ul {
    padding-left: 0;
    margin-bottom: 0;
}

#hsForm_fd7c82da-5cbe-458e-bbef-b584629cbc84 input[type="checkbox"] {
  width: 32px; 
  height: 32px; 
  cursor: pointer;
  position: relative;
  top:-10px;
  margin-right:5px;
  accent-color: rgb(78, 195, 247);
}

#hsForm_fd7c82da-5cbe-458e-bbef-b584629cbc84 .hs-form-field {
  margin-bottom:0;
}
