@import "./constants";

html {
  scroll-behavior: smooth;
}

:root {
  font-size: 14px;

  @media screen and (min-width: 940px) {
    font-size: 16px;
  }
}

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.address {
  margin-bottom: 20px;
  color: black;
  font-size: 1.2rem;
  font-weight: 100;
  padding: 0.8rem 2rem 0;
}

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

.btn {
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
}

.btn-container {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.btn-cta {
  background-color: var(--burton-green);
  border-radius: 1rem;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0.3rem;
  padding: 0.5rem 1rem;
  text-align: center;
  width: 20rem;
}

.swiper-container {
  flex: unset;
  height: 50vh;
  position: relative;

  @media screen and (min-width: 940px) {
    flex: 1;
    height: unset;
  }
}

.header-layout {
  background-color: var(--burton-grey);
  display: flex;
  flex-direction: column;
}

.header-textContainer {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: center;
  order: 1;
}

.header-textInner {
  margin: 1rem 0;
  padding: 1rem 2rem;
}

.header-title {
  color: var(--burton-dark);
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 2.2rem;
}

footer {
  position: relative;
}

header {
  position: relative;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.75);
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}

section {
  z-index: 1;
}

.btn-secondary {
  background-color: var(--white);
  color: #363638;
  display: inline-block;
  margin: 0.5rem;
  padding: 1rem;
  text-align: center;
  min-width: 5rem;

  &[disabled] {
    background-color: #828282;
    color: #363638;
    cursor: default;
  }

  &:hover:not([disabled]) {
    background-color: #e2e2e2;
  }
}

.thankyou-container {
  margin: 2rem 0;
}

.thankyou-container {
  .claim-subHeading {
    line-height: 0.5rem;
  }
}

.thankyou-heading {
  color: var(--burton-blue);
  font-size: 1.5rem;
  font-weight: bold;
}

.claim-number {
  color: var(--burton-blue);
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5rem;
}

.claim-numberNote {
  color: var(--burton-dark);
  font-weight: bold;
}

.content ul {
  margin-left: 0px;
}

[disabled] {
  background-color: rgb(130, 130, 130);
  color: rgb(83, 82, 87);
}

.site-footer {
  align-items: center;
  background: var(--white);
  color: #15191D;
  display: flex;
  font-size: 1.6em;
  font-weight: bold;
  justify-content: center;
  min-height: 14rem;
  text-align: center;
  width: 100%;
}

.footer-content {
  padding-top: 1rem;
}

.site-footer-contentIcons-container {
  align-items: baseline;
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
}

.site-footer-logo {
  margin-right: 1rem;
  width: 12.5rem;
}

.site-footer-flex {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-evenly;

  .social-logo-container {
    align-items: center;
    background: #000;
    border-radius: 1.5rem;
    display: flex;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
  }

  a {
    display: flex;
  }
}

.site-footer-socialLogos {
  display: flex;
  justify-content: space-evenly;
  margin: 1rem 0;
  width: 17rem;
}

.site-footer-heading {
  font-size: 2rem;
  word-spacing: 0.3rem;
}

.site-footer-websiteLink {
  color: var(--burton-blue);
  font-size: 2rem;
}

.social-logo {
  height: 1.2rem;
  width: 1.2rem;
}

.claim-heading-text {
  color: var(--white);
  font-size: 3rem;
  font-weight: bold;
  line-height: 3rem;
  padding-top: 15px;
  padding-bottom: 15px;
  z-index: 1;
}

.claim-banner {
  position: relative;
  width: 10rem;
  z-index: 1;
}

.form-container {
  margin: 0 auto;
  margin-top: 3rem;
  padding-bottom: 8rem;
  max-width: 86rem;

  a {
    color: var(--burton-blue);
  }

  form {
    margin-top: 2rem;
  }
}

.form-radio-container {
  align-items: center;
  display: flex;
  margin-left: 5.5rem;

  label {
    font-size: 1.3rem;
  }

  .label {
    margin-bottom: 0;
  }

  label:first-of-type {
    margin-right: 5rem;
  }

  input[type="radio"] {
    height: 1.4rem;
    width: 1.4rem;
  }
}

.additional-text, .form-help {
  color: var(--burton-dark);
  padding-left: 1rem;
}

.additional-text {
  margin: -0.5rem 0 0.5rem 0;
}

.form-help {
  margin: 1rem 0;
}

.form-field {
  padding: 0.5rem 0;
  input {
    background: var(--burton-grey);
    border: 2px solid #c7c7c7;
    border-radius: 0.5rem;
    font-size: 1rem;
    padding: 0.6rem;
  }
  input:focus, textarea:focus {
    outline: solid var(--burton-green);
    border-color: var(--burton-green);
  }
}

.form-panel {
  background: var(--burton-grey);
  color: #5a595e;
  padding: 1rem;
}

.form-submit {
  background-color: var(--burton-green);
  border-radius: 0.6rem;
  border: unset;
  color: var(--white);
  cursor: pointer;
  display: block;
  font-size: 1.3rem;
  margin: 1.5rem 0;
  padding: 0.8rem 1rem;
  text-align: center;
  width: 100%;
}

.h1 {
  text-align: center;
}

.h2 {
  margin-top: 0.5rem;
}

.index-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  .logo {
    width: 17em;
  }
  margin: 0 auto;
  min-height: unset;
  padding: 4rem 1rem;
  position: relative;
}

.header-layout {
  min-height: calc(100vh - 20rem);
}

main {
  background: var(--burton-grey);
}

.main-header {
  align-items: center;
  background: var(--white);
  display: flex;
  height: 6rem;
  justify-content: center;
}

.main-header-logo {
  width: 13rem;
}

.label {
  color: #000;
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0 0 0 1rem;
}

.label-light {
  font-weight: normal;
}

.previous {
  margin-left: 0;
  margin-right: 0;
}

.select {
  width: 100%;
  select:focus {
    outline: solid var(--burton-green);
    border-color: var(--burton-green);
  }
}

.select select, .text-field, .text-area {
  background-color: var(--burton-grey);
  border: 2px solid #c7c7c7;
  border-radius: 0.5rem;
  box-sizing: border-box;
  color: #363638;
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1rem;
  width: 100%;
  padding: 0.5rem;
}

.text-area {
  border-radius: 0.5rem;
  resize: none;
}

.star-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0 4rem;

  img {
    width: 0.8rem;
  }
}

.status-check {
  p {
    margin: 1rem;
  }
}

.status-text {
  font-size: 1.5rem;;
  font-weight: bold;
  text-align: center;
}

.text-field {
  width: 100%;
}

.terms {
  background: #ddd;
  border: 1px dotted #ccc;
  height: 6rem;
  overflow-y: scroll;
  padding: 0.25rem;

  p {
    font-size: 0.825rem;
  }
}

.terms-conditions {
  margin-bottom: 1rem;
  padding-left: 1rem;
}

.terms-conditions a:hover {
  color: #363636;
}

.swiper {
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  align-items: center;
  display: flex;
  justify-content: center;
}

.swiper-button-prev, .swiper-button-next {
  background-repeat: no-repeat;
  bottom: 1.5rem;
  color: var(--white);
  top: auto;
}

.swiper-button-prev {
  background-image: image-url("/assets/fa/regular/arrow-left-f2e8bc98.svg") !important;
}

.swiper-button-next {
  background-image: image-url("/assets/fa/regular/arrow-right-c0b3ea14.svg") !important;
}

.swiper-button-prev::after, .swiper-button-next::after {
  display: none;
}

.swiper-pagination {
  bottom: 2rem !important;
}

.swiper-pagination-bullet {
  background: var(--white);
  height: 0.75rem;
  width: 0.75rem;
}

.swiper-pagination-bullet-active {
  background: var(--white);
  height: 1rem;
  width: 1rem;
}

.swiper-wrapper {
  min-height: inherit;
  position: relative;
}

.swiper-slide {
  min-height: inherit;
  position: relative;
}

.swiper-slide img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  width: inherit;
}

@media screen and (min-width: 940px) {
  .header-layout {
    flex-direction: row;
  }

  .header-textContainer {
    order: 0;
  }

  .header-textInner {
    margin: 3rem 0;
    max-width: 30rem;
    padding: unset 1rem;
  }

  .header-title {
    font-size: 3rem;
    line-height: 3rem;
  }

  .form-submit {
    width: 15rem;
  }
}

@media screen and (min-width: 512px) {
  .btn-container {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 50rem;
  }

  .btn-cta {
    font-size: 1.5rem;
    margin: 0.7rem;
    width: 18rem;
  }

  .claim-heading-text {
    font-size: 4rem;
    line-height: 5rem;
    margin: 2rem 0;
    max-width: 50rem;
    padding: 0;
  }

  .footer-content {
    padding-top: unset;
  }

  .form-radio-container {
    label:first-of-type {
      margin-right: 8rem;
    }
  }

  .index-container {
    min-height: calc(100vh - 20rem);
    padding: 1.5rem 1rem;
  }

  .site-footer-flex {
    align-items: flex-end;
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: space-evenly;
  }

  .site-footer-socialLogos {
    margin: 0;
  }
}
