﻿/*$branding: map-merge($branding, (
    primary: #0d2777,
    primary-alt: #284ab3,
    primary-font-color: #fff,
    secondary: #0d2777,
    secondary-alt: #0b2267,
    secondary-font-color: #fff,
    tertiary: #3f5798,
    tertiary-alt: #354c89,
    tertiary-font-color: #fff,
    accent: #ffce00,
    accent-alt: #fdbf10,
    accent-font-color: map-get($font-colors, 'heading'),
    offset: #f4f5f9,
    offset-alt: #e5e7ed,
    offset-font-color: map-get($font-colors, 'body')
));*/
/*$box-shadows: map-merge($box-shadows, (
    card: 0 2px 6px 0 rgba(0,0,0,.08),
    content-top: 0 -2px 6px 0 rgba(0,0,0,.08),
    content-inset: inset 16px 46px 16px -46px rgba(32,76,136,0.15)  
));*/
/*$blog: map-merge($blog, ( 
    grid-max-width: 1231px,
    grid-gutter: 2rem
));*/
/*$cards: map-merge($cards, (
    padding-x: $grid-gutter-gap,
    padding-y: $grid-gutter-gap,
    border-color: $border-color,
    border-radius: $border-radius,
    border-radius-inner : $border-radius-inner,
    box-shadow: map-get($box-shadows, 'card'),
    bavkground-color: #fff
));*/
:root {
  --white: #FDFDFE;
  --ultra-violet: #5659B5;
  --cool-light: #E3E9FC;
  --secondary-text: #1F2436;
  --error: #EC4E42;
  --primary: #03217d;
}

/*lets address some custom classes here just form this page*/
.page-contracts .btn {
  padding: 8px 16px;
  border-radius: 12px;
}

.page-contracts .btn-white {
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
}

.page-contracts .scroller-track {
  padding-top: 0;
}

.page-contracts section {
  padding-top: 64px;
  padding-bottom: 0;
}

.page-contracts section:last-child {
  padding-bottom: 64px;
}

.page-contracts .scroller-controls-bar:after {
  background: #C994DD;
}

.sy-h6 {
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  margin: 0;
}

.sy-h5 {
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  margin: 0;
}

.sy-h3 {
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  margin: 0;
}

.sy-h2 {
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  margin: 0;
}

.sy-heading {
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  margin: 0;
}

.body-s {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
}

.body-m {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
}

.subtitle-s {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  color: var(--secondary-text);
}

.subtitle-m {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  color: var(--secondary-text);
}

.subtitle-l {
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  color: var(--secondary-text);
}

.caption-l {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  color: var(--secondary-text);
}

.section-heading {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
}

.why-block-title {
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  color: var(--secondary-text);
}

.page-contracts .feat-hdr {
  display: flex;
  flex-direction: column;
}

.page-contracts .block {
  border-radius: 16px;
}

.page-contracts .block-bdy {
  display: flex;
  flex-direction: column;
  padding: 32px 48px;
  align-items: flex-start;
  gap: 16px;
}

.page-contracts .block-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  gap: 16px;
}

.testimonials-block .block-bdy {
  padding: 24px;
  gap: 16px;
}

.testimonials-text {
  height: 180px;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
  text-overflow: ellipsis;
  overflow: hidden;
}

.testimonials-name {
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  margin-bottom: 8px;
}

.testimonials-company {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
}

.testimonials-years {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
}

.flex-1 {
  flex: 1;
}

.sy-gap-48 {
  gap: 48px;
}

.sy-gap-32 {
  gap: 32px;
}

.sy-gap-24 {
  gap: 24px;
}

.sy-gap-16, .gap-sm {
  gap: 16px;
}

.sy-gap-8 {
  gap: 8px;
}

.sy-my-8 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.sy-my-24 {
  margin-top: 24px;
  margin-bottom: 24px;
}

.sy-mt-24 {
  margin-top: 24px;
}

.sy-mb-32 {
  margin-bottom: 32px;
}

.sy-pt-24 {
  padding-top: 24px !important;
}

.sy-py-32 {
  padding-top: 32px;
  padding-bottom: 32px;
}

.sy-py-48 {
  padding-top: 48px;
  padding-bottom: 48px;
}

.sy-py-64 {
  padding-top: 64px;
  padding-bottom: 64px;
}

.trade-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  width: 100%;
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: inherit;
}

.trade-hero {
  display: flex;
  position: relative;
  padding: 48px 64px;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  border-radius: 16px;
  gap: 48px;
  background: url(https://www.mattressman.co.uk/cdn-cgi/image/format=auto/assets/images/trade/landing-banner.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.trade-hero:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-radius: inherit;
  z-index: 0;
}

.trade-hero-details {
  flex: 1;
  display: flex;
  max-width: 790px;
  /*padding: 16px 0;*/
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
  z-index: 1;
}

.trade-hero-h2 {
  width: 100%;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  margin: 0;
}

.trade-hero-h6 {
  width: 100%;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  margin: 0;
}

.trade-hero-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trade-hero-buttons-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 16px;
}

.form-element {
  display: flex;
  width: 100%;
  height: 48px;
  line-height: 24px;
  padding: 12px 16px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  border: 0;
  border-bottom: 1px solid var(--ultra-violet);
  font-family: "filson-soft", "filson-soft-fallback", sans-serif;
  color: var(--ultra-violet);
  background: var(--white, #FDFDFE);
  outline: none;
}

.form-element::placeholder {
  color: var(--ultra-violet);
  opacity: 1; /* Firefox */
}

.form-element::-ms-input-placeholder {
  color: var(--ultra-violet);
}

textarea.form-element {
  min-height: 73px;
  resize: none;
}

.trade-form-desktop-holder {
  z-index: 1;
}

.trade-form {
  display: flex;
  width: 100%;
  padding: 16px 0;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.trade-form .form-group {
  width: 100%;
  margin-top: 16px;
}

.trade-form-heading {
  width: 100%;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
  margin: 0;
  color: var(--white);
}

.trade-form-label {
  color: var(--white);
}

.trade-form-mobile-holder .form-element {
  background: #F3F5FD;
}

.trade-form-mobile-holder .trade-form-label {
  color: var(--primary);
}

.trade-form-mobile-holder .trade-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group-error {
  display: none;
  color: var(--error);
}

.form-error-icon {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  fill: var(--error);
}

.has-error .form-group label {
  color: var(--error);
}

.has-error .form-element {
  border-color: var(--error);
  color: var(--error);
}

.has-error .form-element::placeholder {
  color: var(--error);
}

.has-error .form-element::-ms-input-placeholder {
  color: var(--error);
}

.has-error .form-group-error {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 2px;
  line-height: 1.2;
}

#tradeWhy .grid-container {
  padding-top: 48px;
}

.trade-experts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
}

#tradeOurExperts .feat-hdr {
  margin-bottom: 32px;
}

.trade-experts .text-primary {
  color: var(--primary) !important;
}

.sy-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 360px;
}

.sy-card picture {
  border-radius: 16px;
}

.sy-card picture > img {
  border-radius: inherit;
}

.sy-card .sy-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  color: var(--secondary-text);
}

.trade-faq-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trade-faq-header {
  gap: 24px;
}

.color-white {
  color: var(--white);
}

.bg-cool-light {
  background: var(--cool-light);
}

.color-cool-light {
  color: var(--cool-light);
}

.alert-area {
  display: none;
  align-items: center;
  width: 100%;
}

.alert {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

@media (min-width: 1200px) {
  .trade-hero-details {
    height: 604px;
  }
}
@media (min-width: 992px) {
  .trade-hero {
    background-size: 2014px 1511px;
  }
  .trade-hero-details {
    height: 604px;
  }
  .trade-form {
    max-width: 384px;
  }
  .page-contracts .accord-hdr {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 180%;
    margin: 0;
  }
}
@media (max-width: 992px) {
  .trade-hero {
    padding: 32px;
    background-size: 1181px 865px;
  }
  .page-contracts .accord-hdr {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 180%;
  }
  .trade-form-heading {
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 180%;
    margin: 0;
    color: var(--primary);
  }
}
@media (min-width: 576px) and (max-width: 992px) {
  .trade-hero-details .sy-h6 {
    font-size: 16px;
  }
  .trade-hero-details .sy-h2 {
    font-size: 32px;
  }
  .trade-hero-details .body-m {
    font-size: 16px;
  }
  .trade-form .sy-h6 {
    font-size: 14px;
  }
  .trade-form .form-element {
    font-size: 12px;
  }
  .trade-form {
    max-width: 307px;
  }
}
@media (max-width: 768px) {
  .trade-hero {
    padding: 24px;
  }
  .sy-heading, .trade-form-heading {
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 180%;
    margin: 0;
    color: var(--primary);
  }
  #tradeWhy .grid-container {
    padding-top: 16px;
  }
  .trade-hero-h2 {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
  }
  .trade-hero-h6 {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 180%;
  }
  #tradeOurExperts .feat-hdr {
    margin-bottom: 24px;
  }
  .page-contracts section {
    padding-top: 48px;
  }
  .page-contracts section:last-child {
    padding-bottom: 48px;
  }
  .trade-faq-content {
    gap: 8px;
  }
  .trade-hero-text-wrapper {
    gap: 12px;
  }
  .trade-hero-buttons-wrapper .btn {
    flex: 1;
  }
  .trade-experts .sy-card {
    max-width: 368px;
  }
}
@media (max-width: 576px) {
  .trade-hero {
    flex-direction: column;
    flex-wrap: nowrap;
    background-size: 660px 659px;
  }
  .trade-hero-details {
    flex: auto;
  }
  .trade-hero-details, .trade-form {
    max-width: 100%;
  }
  .trade-form {
    max-width: 100%;
  }
  .why-block-title {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 180%;
    color: var(--secondary-text);
  }
  .page-contracts .block-bdy {
    padding: 24px;
  }
  .sy-heading {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 180%;
    margin: 0;
  }
  .trade-hero-details {
    gap: 32px;
  }
  .trade-hero-h2 {
    text-align: center;
  }
  .trade-hero-h6 {
    text-align: center;
  }
  .trade-experts {
    flex-direction: column;
    align-items: center;
  }
  .page-contracts section {
    padding-top: 32px;
  }
  .page-contracts section:last-child {
    padding-bottom: 32px;
  }
  .trade-faq-content {
    gap: 16px;
  }
}
