:root,
html body {
  /*!* Fonts *!*/
  /*--font-family: "Avenir", -apple-system, BlinkMacSystemFont, "Segoe UI",*/
  /*Helvetica, Arial, sans-serif;*/
  /*--font-family-heading: "Avenir", serif;*/
  /*--font-family-text: "Avenir", -apple-system, BlinkMacSystemFont, "Segoe UI",*/
  /*Helvetica, Arial, sans-serif;*/
  /*--field-label-font: var(--font-family-text);*/

  --color-bg: #fff;
  --additional: #2a2a2a;

  --color-text: #353535; /* text default color */
  --color-text-secondary: #757575; /* secondary content. e.g. description */

  --color-brand: #6E6E6E; /* primary buttons, throbber */
  --color-brand-hover: #2f2f2f;
  --color-brand-fade: #ececec; /* hover of menu items & secondary buttons */

  --color-brand-secondary: #797979;

  --color-investment-background: var(--color-brand);

  --color-link: var(--color-brand);

  --color-heading: var(--color-text); /* h1,h2,h3 headings */

  --color-focus-border: var(--additional); /* border of focused fields and buttons, background of focused menu item */
  --color-focus-outline: var(--color-brand); /* outer higlight of focused elemets */

  --color-header-dark: #6E6E6E;

  --color-background: var(--color-bg);
  --color-disabled-background: #f6f6f6;
  --color-page-background: var(--color-bg);
  --color-page-footer-text: #fafafa;
  --color-page-footer-background: var(--color-brand);

  /*Logo*/
  --logo-height: 3.8rem;
  --logo-width: auto;
  --header-height: 5.18rem;

  /*Borders*/
  --border-radius: 20px;
  --field-border-radius: var(--border-radius);
  --section-border-radius: var(--border-radius);

  /* Button PRIMARY */
  --button-primary-background-color: var(--color-brand);
  --button-primary-border-color: transparent;
  --button-primary-color: #fafafa;
  --button-primary-hover-background-color: #e1e1e1;
  --button-primary-hover-color: #f4f4f4;

  /* Button SECONDARY */
  --button-secondary-background-color: #f6f6f7;
  --button-secondary-border-color: #caccd3;
  --button-secondary-color: var(--color-text);
  --button-secondary-hover-background-color: var(--color-brand-fade);

  --field-addon-color: var(--color-brand);
  --field-focus-border-color: var(--color-brand-hover);

  /*Section*/
  --section-background-color: #fbfbfb; /*var(--color-bg)*/
  --section-box-shadow-color: #fafafa;
  --section-box-shadow: 0 0 1px rgba(124, 124, 124, 0.3);

  --field-border-color: #c2c2c2;
  --field-label-color: var(--color-text);
  --color-investment-flow-icons: #b7b7b7;

  /*Stepper*/
  --stepper-text-color: var(--color-bg);
  --stepper-text-active-color: #fff;
  --stepper-text-complete-color: #fff;
  --bullet-background: #fafafa;
  --stepper-bullet-complete-background-color: #000;
}

@media (max-width: 47.999rem) {
  :root,
  html body {
    --header-height: 4rem;
  }
}

/*active*/
details > summary:focus,
.field.label.select-container > select:focus,
label:focus > .radio-button, label > input:focus + .radio-button,
.field > input:active, .field > input:focus:not(:read-only), .field > textarea:active, .field > textarea:focus:not(:read-only) {
  box-shadow: unset;
}

/* LANDING PAGE -------------display: none */
body section.page-content.cols-1.landing-hero-wrapper,
body section.page-content.center.cols-1.landing-content > header,
body .landing-page > .hero-image {
  display: none !important;
}

/*Header styles*/
body header.main-header {
  color: var(--color-bg);
  box-shadow: var(--section-box-shadow);
}

@media (max-width: 47.999rem) {
  body .main-logo.link > img {
    max-width: 70px;
    height: auto;
  }
}

/*Button styles*/
a.button,
button.button {
  border-radius: calc(var(--border-radius) * 4);
  font-weight: 700 !important;
  text-transform: capitalize;
  min-width: 150px;
}

body .button.primary:hover,
body .button.primary:active,
body .button.primary:hover:focus {
  color: var(--color-brand);
}

/*Nav*/
body .main-header nav.signed-out.desktop li.button {
  border-radius: calc(var(--border-radius) * 4);
  border: none !important;
}

body .main-header nav.signed-out a.primary > a,
body .main-header nav.signed-out .button.primary > a,
body .main-header nav.signed-out a.flat > a,
body .main-header nav.signed-out .button.flat > a {
  font-weight: 700 !important;
  text-transform: capitalize;
  font-size: 1rem;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.restricted-offerings-list a.primary,
body .main-header nav.signed-out a.primary > a,
body .main-header nav.signed-out .button.primary > a {
  background-color: #F4F4F4;
  color: var(--color-brand);
}

.restricted-offerings-list a.primary:hover,
body .main-header nav.signed-out a.primary > a:hover,
body .main-header nav.signed-out .button.primary > a:hover {
  background-color: #c7c7c7;
}

body .main-header nav.signed-out a.flat > a,
body .main-header nav.signed-out .button.flat > a {
  color: var(--color-text);
  background-color: #F4F4F4;
}


body .main-header nav.signed-out a.flat > a:hover,
body .main-header nav.signed-out .button.flat > a:hover {
  background-color: #dddddd;
}

/*LP Login section*/
body .page-header {
  min-height: calc(var(--header-height) / 2);
}

body .landing-page .restricted-offerings-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: var(--gap-large) auto;
  padding: var(--gap);
  max-width: 1100px;
  text-align: center;
  position: relative;
  z-index: 2;
  background-color: var(--color-brand);
  color: var(--color-bg);
  box-shadow: var(--section-box-shadow);
  border: var(--section-border);
  border-radius: var(--section-border-radius);
}

body .landing-page .restricted-offerings-list p {
  font-size: 22px;
}

body .landing-page .restricted-offerings-list .flat {
  background-color: #cecece;
  color: var(--color-text);
}

body .landing-page .restricted-offerings-list .flat:hover {
  background-color: #dddddd;
}

body .landing-page .restricted-offerings-list .actions a {
  margin: 0 10px;
  min-width: 100px;
}

@media (max-width: 47.999rem) {
  body .landing-page .restricted-offerings-list {
    min-width: unset;
    padding: var(--gap) 0;
  }
}

/*Invest CTA*/
body .button.primary.invest {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}


/*body .button.primary.invest {*/
/*  border: 2px solid #3c3c3c;*/
/*  background-color: #3c3c3c;*/
/*}*/

/*body .button.primary.invest:hover,*/
/*body .button.primary.invest:active,*/
/*body .button.primary.invest:hover:focus {*/
/*  background-color: #000;*/
/*  border-color: var(--color-heading);*/
/*}*/

/*Steps*/
body section.page-content.invest::before {
  background-color: var(--color-brand);
}

body .stepper .link.disable .label {
  opacity: .6;
}

body .main-header.clean-layout {
  box-shadow: none;
}

@media (max-width: 62.999rem) {
  body .main-header.clean-layout {
    background-color: var(--color-bg);
  }

  body section.page-content.invest::before {
    background-color: var(--additional);
  }

  body .page-content.invest > aside {
    padding-top: var(--gap);
  }
}

body label.option.investor-radio-option input:checked + span > * > span.name,
body label.option.investor-radio-option input:checked + span > * span,
body label.option.client-radio-option input:checked + span > * > span.name,
body label.option.client-radio-option input:checked + span > * span {
  color: var(--color-brand);
}

@media (min-width: 63rem) {
  body .page-content.invest > aside, .page-content.invest > aside:not(:last-child) {
    height: calc(100vh - var(--header-height));
    background-color: transparent;
  }

  body .stepper .stepper-list {
    padding-bottom: var(--gap);
  }
}

/*Form*/
body .form input,
body .form select,
body .field.label.select-container > select,
body .form textarea {
  border-radius: 12px;
}

.phone-field > .react-tel-input > input {
  border-radius: 12px;
}

.react-tel-input .flag-dropdown {
  border-color: var(--field-border-color);
}

.phone-field > .react-tel-input > .flag-dropdown {
  border-radius: 12px 0 0 12px;
}

/**/
body .offering-section-wrapper-pdf .offering-section-pdf {
  overflow: hidden !important;
}

body a.offering-brief {
  background-color: #fff;
}

main .offering-details .offering-details-overview > img {
  height: auto;
  position: static;
}

/* FOOTER */
body .main-footer {
  background: var(--color-page-footer-background);
  padding-left: 0;
  padding-right: 0;
  color: var(--color-page-footer-text);
}

.main-footer header {
  position: relative;
  padding: 0 var(--page-content-horizontal-padding);
}

.main-footer .main-nav {
  position: relative;
  top: -30px;
  padding: 0 var(--page-content-horizontal-padding);
}

.main-footer .custom-html {
  position: absolute;
  left: 0;
  top: 100px;
  width: 100%;
  text-align: center;
  padding: 0 var(--page-content-horizontal-padding);
  background: var(--color-page-footer-background);
  padding-bottom: 20px;
}

.main-footer .custom-html a {
  color: var(--color-bg);
  padding: 0 5px;
}

.main-footer nav.menu > ul {
  flex-direction: row;
}

@media (max-width: 47.999rem) {
  .main-footer nav.menu > ul {
    flex-direction: initial;
  }

  body .main-footer {
    padding-bottom: 60px;
  }

  .main-footer .custom-html {
    top: 190px;
  }

  .main-footer .main-nav {
    top: -10px;
  }

  .main-footer nav.menu > ul {
    flex-direction: column;
  }
}
