/* VARIABLES */
:root {
  --body-text: #343434;
  --color-1: #c3012f;
  --color-outline: #0089cf;
  --bg-color-success: #17b980;
  --footer-text: #888;

  --font-size-h1: clamp(2rem, 5vw, 3rem);
  --font-size-h2: clamp(1.75rem, 4vw, 2.25rem);
  --font-size-h3: clamp(1.125rem, 2vw, 1.25rem);
  --font-size-paragraph: clamp(0.9rem, 1.5vw, 1rem);
  --font-size-legend: clamp(0.8rem, 1vw, 0.875rem);
}

/* GLOBAL */

@font-face {
  font-family: "Nissan brand";
  src: url("../fonts/nissan_brand-light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nissan brand";
  src: url("../fonts/nissan_brand-italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nissan brand";
  src: url("../fonts/nissan_brand-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nissan brand";
  src: url("../fonts/nissan_brand-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  font-family: Nissan brand, sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  color: var(--body-text);
  font-family: Nissan brand, sans-serif;
  font-size: var(--font-size-paragraph);
  font-weight: 300;
  line-height: 1.5em;
}

button { margin: 0;padding: 0;background-color: transparent; border: none; }

.container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.space-between {
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
}

img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
  border: 0;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}

h1 {
  text-align: center;
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: 1.3em;
}

h2 {
  text-align: center;
  font-size: var(--font-size-h2);
  font-weight: 600;
  line-height: 2.25rem;
  margin-bottom: 2.5rem;
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: 600;
  line-height: 1.2em;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3em;
}

h5 {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3em;
}

label {
  margin-bottom: 1rem;
  font-size: var(--font-size-paragraph);
  font-weight: 700;
  display: block;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

sup {
  font-size: 60%;
}

@media screen and (max-width: 779px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1rem;
  }
  
}

/* HEADER */

.mainnavbar {
  z-index: 10;
  width: 100%;
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
  position: absolute;
  top: 0;
  left: 0;
}

.mainnavbar .container {
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
}

.desktop { display: inline-block; }
.mobile { display: none; }

@media screen and (max-width: 991px) {
  .brand_container {
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .mainnavbar .container {
    flex-flow: column;
  }

  .desktop { display: none; }
  .mobile { display: inline-block; }
}

@media screen and (max-width: 767px) {
}

@media screen and (max-width: 479px) {
  .mainnavbar .container {
    justify-content: center;
  }
}

/* HERO */

.hero {
  background-image: linear-gradient(90deg, #00000091, #fff0);
  background-position: 50% 20%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  max-height: 650px;
  position: relative;
}

.hero .container {
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  display: flex;
}

.hero-content {
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  display: flex;
  max-width: 920px;
  margin: 0 auto;
}

.hero-content .surtitle {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0;
  font-size: 1.438rem;
  line-height: 1.3em;
  font-weight: 300;
  display: none;
}

.hero-content.start {
  align-items: flex-start;
  text-align: start;
}

.hero-content.end {
  align-items: flex-end;
  text-align: end;
}

.hero-content .hero-heading p {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
}

.hero-content .hero-heading p:last-child {
  font-size: 2rem;
}

.hero-content .offer-container {
  width: fit-content;
  text-align: center;
}

.hero .container .offer-heading,
.hero .container .offer-footer {
  padding: 0.6rem 2.5rem;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--color-1);
}

.hero .container .offer-footer {
  /* color: var(--body-text);
  background-color: #fff; */
}

.hero .container .offer-footer {
  margin-bottom: 1rem;
}

.hero .container .offer-content {
  display: flex;
  justify-content: center;
  padding: 0.5rem 1.4rem;
  /* color: var(--color-1); */
  color: var(--body-text);
  background-color: white;
}

.hero .container .offer-content .startedfrom {
  font-size: 1.375rem;
  text-align: left;
}

.hero .container .offer-content .price-container {
  display: flex;
}

.hero .container .offer-content .price {
  font-size: 5.625rem;
  font-weight: 700;
  line-height: 6rem;
  display: block;
}

.hero .container .offer-content .afterprice {
  padding-left: 1rem;
  font-weight: 700;
}

.hero .container .offer-content .afterprice .currency {
  font-size: 3.456rem;
  line-height: 3.8rem;
}

.hero .container .offer-content .afterprice .taxes-type {
  font-size: 1.479rem;
  line-height: 2rem;
}

.hero .container .offer-content .smallcaps_price {
  font-size: 90%;
}

.hero .container .offer-content .offer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 8rem;
  line-height: 1.1em;
  font-weight: 400;
}

.hero .container .offer-content sup {
  font-size: 25%;
  font-weight: 700;
  margin-top: -60px;
}

.hero .container .offer-image {
  max-width: 200px;
  margin: auto;
}

.hero .container .offer-outside {
  margin-bottom: 10px;
}

/* .shortcut-container {
  display: none;
} */

.btn.btn_1.has_icon {
  flex-flow: row;
  place-content: space-between center;
  align-items: center;
  display: flex;
}

@media screen and (max-width: 991px) {
  .hero {
    background-position: center, 50% 100% !important;
    min-height: 800px;
    max-height: 800px;
  }

  .hero .hero-content {
    margin-top: 50px;
    align-items: center !important;
  }

  .hero-content .surtitle.mobile-move {
    margin-bottom: 2rem;
    display: block;
  }

  .hero-content .hero-heading p {
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .hero {
    height: 90vh;
    min-height: 560px;
    max-height: 90vh;
  }

  .hero .hero-content {
    margin-top: 135px;
  }
}

@media screen and (max-width: 479px) {
  .hero {
    background-position: 0 0, 0 0 !important;
    height: auto;
    min-height: 150px;
    max-height: none;
  }

  .hero.has-image {
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    min-height: 360px;
    max-height: none;
  }

  .hero .offer-container {
    text-align: center;
    align-items: center;
    min-width: 100%;
    margin-top: 70px;
  }
}

/* Banner */

.bannerwrap {
  justify-content: center;
  margin-top: -156px;
  margin-bottom: 5rem;
  display: flex;
  position: relative;
}

.bannercontainer {
  width: 920px;
  text-align: center;
  background-color: #fff;
  padding: 2.813rem;
  box-shadow: 5px 5px 20px -8px #cacaca;
}

.bannercontainer .title {
  font-size: 2rem;
  line-height: 1.2;
}

.bannercontainer .surtitle {
  color: var(--color-1);
  margin-bottom: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.content {
  padding-top: 70px;
  padding-bottom: 70px;
}


.bannercontainer .offer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.bannercontainer .offer-container .offer {
  display: flex;
  font-size: 8rem;
  font-weight: 500;
  line-height: 8rem;
}

.bannercontainer .offer-title {
  color: var(--color-1);
  font-weight: 700;
}

.bannercontainer .offer-container .offer sup {
  font-size: 25%;
  font-weight: 700;
  margin-top: -30px;
}

.bannercontainer .offer-container .offer-description {
  font-size: 2rem;
  font-weight: 500;
  line-height: 2rem;
  text-align: left;
  text-transform: uppercase;
}

@media screen and (max-width: 991px) {
  .bannercontainer .surtitle.mobile-move {
    display: none;
  }
  
  .bannercontainer .offer-container .offer {
    font-size: 4rem;
    line-height: 4rem;
  }

  .bannercontainer .offer-container .offer sup {
    margin-top: -20px;
  }

  .bannercontainer .offer-container .offer-description {
    font-size: 1.25rem;
    line-height: 1.25rem;
  }

  .bannercontainer .title {
    font-size: 1.25rem;
    line-height: 1.2;
  }
}





/* FOOTER */

.footer {
  text-align: justify;
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: 100vh;
  padding: 70px 0;
}

.footer.has_background {
  background-image: url(../images/footer_bg.svg);
  padding-bottom: 300px;
}

.footer p,
.footer .footerlink {
  text-align: left;
  margin-bottom: 1.5rem;
  color: var(--footer-text);
}

@media screen and (max-width: 779px) {
  .footer p {
    font-size: 0.825rem;
  }
}

/* FORMULAIRE */

fieldset {
  border: none;
}

.form-select {
  background-image: url(../images/down-arrow.png);
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: 97% center;
  appearance: none;
}

.form-control,
.form-select {
  color: #333;
  vertical-align: middle;
  background-color: #fff;
  border: 1px solid #666;
  width: 100%;
  height: 55px;
  margin-bottom: 10px;
  padding: 8px 12px;
  padding-left: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.42857;
  display: block;
  outline: var(--color-outline);
}

input::placeholder,
select::placeholder {
  opacity: 0.6;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
input[type="checkbox"][aria-invalid="true"] {
  border-color: var(--color-1) !important;
}

.error-msg {
  color: var(--color-1);
  font-size: 0.9em;
  margin-top: 4px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-outline);
}
.text-danger {
  color: var(--color-1);
}

.invalid-feedback[aria-hidden="true"] {
  display: none;
}
select[aria-invalid="true"] + .invalid-feedback,
input[aria-invalid="true"] + .invalid-feedback,
input[type="checkbox"][aria-invalid="true"] ~ .invalid-feedback {
  display: block;
  color: var(--color-1);
}

.cgu-container input {
  display: none;
}

.cgu-container label {
  position: relative;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 300;
  padding-left: 50px;
  margin-bottom: 0;
  display: inline-block;
  user-select: none;
}

.cgu-container label::before {
  position: absolute;
  top: 0px;
  left: 0px;
  color: transparent;
  content: "✔";
  font-size: 14px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(102, 102, 102);
  border-image: initial;
  transition: 0.3s;
  padding: 4px;
}

.cgu-container label.checked::before {
  color: var(--color-1);
  background-color: #fff;
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}

.submit-container {
  display: flex;
  justify-content: center;
}

.btn,
.btn.btn-block {
  display: block;
  width: fit-content !important;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 30px;
  border-radius: 40px;
  font-size: 1.1em;
  line-height: 1.5em;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  background-color: #000;
  cursor: pointer;
}

.alert.alert-success {
  padding: 2em;
  background-color: var(--bg-color-success);
}

.alert.alert-success p {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2em;
  color: #fff;
  text-align: center;
}

:disabled {
  opacity: 0.5;
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

@media (min-width: 1400px) {
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

.wsf-form {
  margin: 0 auto;
  width: 66.66%;
}

.loadingspinner, #results-container/*, .choosedconc*/ {
  display: none;
}

.concession_card {
  background-color: #ececec;
  border: 1px solid #0000;
  flex-direction: row;
  place-content: space-around space-between;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 20px 30px;
  transition: border-color 0.2s;
}

.concession_card:hover {
  border-color: #000;
}

.columns-2 {
  align-items: center;
  width: 100%;
  display: flex;
}

.concession__header {
  align-items: center;
  margin-bottom: 1.5rem;
  display: flex;
}

.concession__name {
  margin-top: -4px;
  padding-left: 1rem;
  font-weight: 400;
}

.concession__address {
  margin-bottom: 0;
}

.w-col {
  float: left;
  width: 100%;
  min-height: 1px;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
}

.w-col .w-col {
  padding-left: 0;
  padding-right: 0;
}

.w-col-9 {
  width: 75%;
}

.w-col-3 {
  width: 25%;
}

.btn {
  text-transform: uppercase;
  padding: 20px 40px;
  font-size: 0.875rem;
  font-weight: 400;
  transition: background-color 0.2s;
}

.btn.btn_2.has_icon.active {
  background-color: var(--color-1);
  border-color: var(--color-1);
}

.btn__text {
  color: #fff;
  line-height: 1em;
  text-decoration: none;
}

.icon {
  margin-left: 1.5rem;
}

.btn.btn_2.has_icon, .btn_2__light.has_icon {
  background-color: #000;
  flex-flow: row;
  place-content: space-between center;
  align-items: center;
  display: flex;
}

.choosedconc {
  z-index: 1;
  background-color: var(--body-text);
  color: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0.7rem;
  display: none;
  position: sticky;
  top: 0;
  opacity: 0;
  transition: opacity ease 300ms;
}

.text-span-2 {
  font-weight: 700;
}

.btn-more {
  margin: 0 auto;
  display: block;
  text-align: center;
  background: #ececec;
  color: #000;
  padding: 15px;
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
}

.conc-location {
  margin-bottom: 0 !important;
}

/* Container */
#conc-suggest {
  display: none;
  background: #fff;
  border: 1px solid #666;
  border-radius: 4px;
  max-height: 220px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

#conc-suggest.active {
  display: block;
}

/* Items */
#conc-suggest li {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  border-bottom: 1px solid #eee;
}

#conc-suggest li:last-child {
  border-bottom: none;
}

/* Hover */
#conc-suggest li:hover,
#conc-suggest li[aria-selected="true"] {
  background-color: #f4f4f4;
  color: #000;
}

@media screen and (min-width: 1400px) {
  .btn-more {
    width: 40%;
  }
}

.hidden,
.conc-choosed-container input,
.conc-choosed-container label {
  display: none;
}

.partnerBanner {
  max-width: 920px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: auto;
}

.partnerBanner img {
  max-width: 200px;
}

section {
  padding: 80px 30px;
}

.background_light {
  border-bottom: 1px solid rgb(228, 235, 243);
  background-color: rgb(245, 247, 250);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cards .card {
  width: calc(33% - .66rem);
  padding-bottom: 1.5rem;
  background: #ffffff;
}

.cards .card img {
  margin-bottom: 1rem;
}

.cards .card div {
  padding: 0 1rem;
}

.cards .card div h3 {
  min-height: 40px;
}

/* MEDIA QUERYS */

@media screen and (max-width: 991px) {
  .wsf-form {
    width: 100%;
  }

  .container {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .hero-content {
    padding-left: 5vw;
    padding-right: 5vw;
  }


  .hero-content .surtitle {
    margin-bottom: 2rem;
    display: block;
  }

  .price_col1 {
    border-bottom-style: none;
  }

  .btn.btn_2.has_icon,
  .btn.btn_2__light.has_icon {
    margin-left: 1rem;
  }

  .btn.btn_2__light.has_icon.bnt_header {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    color: #fff;
    border-color: #fff;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: none;
  }

  .btn__text {
    text-align: center;
    line-height: 1.5em;
  }

  .icon {
    display: none;
  }

  .bannercontainer {
    padding-left: 1.613rem;
    padding-right: 1.613rem;
  }

  .footer.has_background {
    padding-bottom: 200px;
  }

  .heading-3 {
    font-size: 1.5rem;
  }

  .cards .card {
    width: calc(50% - 0.5rem);
  }
}

@media screen and (max-width: 767px) {
  section {
    padding: 30px 30px;
  }

  .price_col1 {
    border-right-style: none;
    margin-right: 0;
    padding-right: 0;
  }

  .btn.btn_2.has_icon,
  .btn.btn_2__light.has_icon {
    margin-left: 0;
  }

  .btn.btn_2__light.has_icon.bnt_header {
    display: none;
  }

  .icon {
    display: block;
  }

  .cards .card {
    width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .hero-content {
    align-items: center;
    padding-left: 0;
    padding-right: 0;
    display: flex;
  }

  .hero-content___heading1 {
    text-align: center;
    width: 100%;
    line-height: 1.3em;
  }

  .hero-content .surtitle {
    margin-top: 0.5rem;
    font-size: 1.3rem;
  }

  .hero-content .offer-container {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .mt-2.inline-block {
    margin-top: 0.5rem;
  }

  .btn.btn_1.has_icon,
  .btn.btn_2.has_icon,
  .btn.btn_2__light.has_icon {
    padding-left: 25px;
    padding-right: 25px;
  }

  .content {
    padding-top: 30px;
  }

  .formgroup.has_2_col {
    display: block;
  }

  .formgroupchild {
    margin-top: 1.6rem;
  }

  .bannercontainer {
    padding: 1.013rem;
  }

  .bannerwrap {
    margin-top: 0;
  }

  .footer {
    padding-top: 30px;
  }

  .concession_card {
    padding-left: 17px;
    padding-right: 17px;
  }

  .navbarbtncontainer {
    display: none;
  }

  .hero_p_body {
    width: 100%;
  }

  .hero_p_top {
    width: 100%;
  }

  .logo-nissan {
    max-width: 90px;
  }
}

@media only screen and (min-width: 990px) and (max-width: 1360px) {
  .container {
    max-width: 940px !important;
  }
}




/**** Custom page ****/
#form-section .custom-page{
  padding-top: 2rem;
}

#form-section .custom-page h1{
  margin-bottom: 2rem;
}

#form-section .custom-page p{
  text-align: center;
}

#form-section .custom-page strong {
  text-align: center;
  font-weight: 900;
}

#form-section .custom-page button {
  width: 100%;
  margin: 15px auto 30px;
}