.message {
  background: $black;
  padding: 1.875rem;
  text-align: center;

  p {
    font-size: 1.25rem;
    color: $white;
    margin: 0;
  }
}

// 'buttons
// ---- ---- ---- ---- ----

.button {
  border: 2px solid $black;
  color: $black;
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.1rem;
  outline: none;
  padding: 1rem 2rem;
  text-align: center;
  transition: all 0.1s ease-in;
  text-transform: uppercase;

  &:hover {
    background: $blue-1;
    border-color: $blue-1;
    color: $white;
  }

  &.btn-fill {
    background: $black;
    color: $white;

    &:hover {
      background: $white;
      color: $black;
    }
  }

  &.btn-white {
    border-color: $white;
    color: $white;
  }

  &.btn-blue {
    border-color: $blue-1;
    background: $blue-1;
    color: $white;

    &:hover {
      border-color: $blue-2;
      background: $blue-2;
    }
  }
}

.btn-round {
  display: inline-block;
  border: 2px solid $blue-1;
  border-radius: 25px;
  color: $black;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.1s ease-in;
  min-width: 100px;

  &:hover {
    background: $blue-1;
    border-color: $blue-1;
    color: $white;
  }

  &.active {
    background: $blue-2;
    color: $white;
  }
}

.cta-underline {
  color: $black;
  border-bottom: 2px solid $black;
  display: inline-block;
  font-weight: 700;
  line-height: normal;
  padding-bottom: 0.25rem;
  text-transform: uppercase;
  transition: all 0.1s ease-in-out;

  &.white {
    border-color: $white;
    color: $white;
  }
}

.btn-back {
  @extend .cta-underline;
  border: none;
  font-size: 1.125rem;
  padding: 0;

  i {
    font-size: 1rem;
    margin-right: 0.5rem;
  }
}

.swiper-button-next,
.swiper-button-prev {
  background: $black;
  border-radius: 50%;
  color: $white !important;
  height: 80px !important;
  width: 80px !important;
  z-index: 8 !important;

  &.swiper-button-disabled {
    display: none;
  }
}

.swiper-button-prev {
  left: 2% !important;
}

.swiper-button-next {
  right: 2% !important;
}

// 'inputs
// ---- ---- ---- ---- ----

.cb_bot {
  opacity: 0;
  height: 0;
  width: 0;
}

.input-container {
  label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;

    &.error {
      display: block;
      color: #cc0344;
      font-size: 0.875rem;
      margin-top: 0.875rem;
      text-align: right;
    }

    span {
      text-transform: none;
    }
  }

  input,
  select,
  textarea {
    background: $grey-1;
    border: 2px solid $grey-1;
    color: $black;
    font-family: $font;
    font-size: 1.125rem;
    outline: none;
    padding: 1.25rem;
    transition: all 0.1s ease-in;
    width: 100%;

    &:focus {
      border-color: $black;
    }

    &::placeholder {
      /* Chrome, Firefox, Opera, Safari 10.1+ */
      color: #bfbdbd;
      font-family: $font;
      font-weight: bold;
    }

    &:-ms-input-placeholder {
      /* Internet Explorer 10-11 */
      color: #bfbdbd;
      font-family: $font;
      font-weight: bold;
    }

    &::-ms-input-placeholder {
      /* Microsoft Edge */
      color: #bfbdbd;
      font-family: $font;
      font-weight: bold;
    }
  }

  textarea {
    height: 300px;
    resize: none;
  }

  &.file-upload {
    width: 100%;

    .flex-start {
      align-items: center;
    }

    label {
      margin-bottom: 0;
    }

    input[type='file'] {
      display: block;
      height: 1px;
      margin-top: -1px;
      padding: 0;
      width: 100%;
    }

    .btn-file {
      display: inline-block;
      background: $black;
      color: $white;
      cursor: pointer;
      padding: 0.75rem 1rem;
    }

    .filename {
      display: block;
      margin-left: 1rem;
    }
  }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

/* Firefox */
input[type='number'] {
  appearance: textfield;
}

label.error {
  display: block;
  color: #cc0344;
  font-size: 0.875rem;
  margin-top: 0.875rem;
  text-align: right;
}

.form-search {
  display: none;
  background: $white;
  border-radius: 20px;
  padding: 0 0.5rem 0 1rem;

  input:lang(fr) {
    min-width: 200px;
  }

  input,
  button {
    background: none;
    border: none;
    outline: none;
  }

  button {
    cursor: pointer;
  }
}

// 'bubble
// ---- ---- ---- ---- ----

.bubble {
  background: #2656b2;
  display: block;
  border-radius: 50%;
  height: 50px;
  width: 50px;

  &.bbl-blue {
    background: #2656b2;
  }

  &.bbl-green {
    background: #3cb878;
  }

  &.bbl-red {
    background: #a53632;
  }

  &.bbl-orange {
    background: #fbaf5d;
  }

  &.bbl-yellow {
    background: #fff568;
  }
}

// 'cards
// ---- ---- ---- ---- ----

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: $white;
  border-radius: 1.875rem;
  padding: 3.75rem;
  text-align: center;

  .quote {
    display: inline-block;
    color: $blue-1;
    font-size: size(150);
    font-weight: bold;
    font-style: italic;
    height: 100px;
  }
}

.doc-card {
  background: $grey-1;
  position: relative;
  transition: all 0.15s ease-in;

  &:hover {
    background: $grey-3;
  }

  &.mini-card {
    display: flex;

    .bubble {
      flex: 0 auto;
      height: 30px;
      width: 30px;
    }

    .doc-link {
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }

    .desc {
      margin-top: 0;
      margin-left: 2rem;
      width: calc(100% - 62px);

      h2 {
        font-size: 1.125rem;
      }
    }
  }

  .bubble {
    display: block;
  }

  .doc-link {
    display: block;
    padding: 2rem 2.5rem;
    width: 100%;
  }

  .desc {
    margin-top: 1rem;

    h2 {
      color: $black;
      text-transform: uppercase;
    }

    p {
      color: $black;
      margin: 0.5rem 0 0;
    }
  }
}

// 'scrollbar custom
// ---- ---- ---- ---- ----

.scrollbar {
  /* width */
  &::-webkit-scrollbar {
    height: 8px;
    width: 92%;
  }

  /* Track */
  &::-webkit-scrollbar-track {
    background: $grey-3;
  }

  /* Handle */
  &::-webkit-scrollbar-thumb {
    background: $blue-1;
  }
}

// 'social icons
// ---- ---- ---- ---- ----

.social-icons {
  a {
    display: inline-block;
    color: $black;
    font-size: 1.25rem;
    margin-right: 0.5rem;

    &:last-child {
      margin-right: 0;
    }
  }
}

// 'tablet pt
// ---- ---- ---- ---- ----

@media screen and (max-width: $screen-tablet-pt) {
  .btn-round {
    line-height: normal;
    padding: 0.5rem 1rem;
  }
}

// 'tablet sm
// ---- ---- ---- ---- ----

@media screen and (max-width: $screen-tablet-sm) {
  .input-container {
    input,
    select,
    textarea {
      font-size: 1rem;
    }
  }

  .bubble {
    height: 25px;
    width: 25px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    height: 50px !important;
    width: 50px !important;

    &:after {
      font-size: 1.5rem !important;
    }
  }
}

// 'mobile
// ---- ---- ---- ---- ----

@media screen and (max-width: $screen-mobile) {
  .message {
    padding: 1rem;

    p {
      font-size: 1rem;
    }
  }

  .btn-round {
    font-size: 1rem;
    min-width: 0;
  }

  .button {
    min-width: 0 !important;
    padding: 0.75rem 1rem;
  }
}
