/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  font-family: "Google Sans", Verdana, Arial, sans-serif;
  font-size: 20px;
}
body {
  font-family: "Google Sans", Verdana, Arial, sans-serif;
  font-size: 20px;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

.header {
  background-color: #0b5858;
  text-align: center;
  font-size: 100px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
  line-height: 120px;
  padding-bottom: 10px;
  .header-buttons {
    position: absolute;
    top: -12px;
    right: 30px;
    .btn-light {
      width: 215px;
      color: #797979;
      background-color: #ffffff;
      &:hover {
        background-color: #e6e6e6;
      }
    }
    .btn-success {
      color: #fff;
      background-color: #48b33d;
      &:hover {
        background-color: #36972c;
      }
    }
  }
}
.landing2 .header {
  text-align: left;
  font-size: 95px;
  text-transform: inherit;
  span {
    display: block;
    font-size: 40px;
    line-height: 0;
  }
}
.top-banner {
  .banner-gradient {
    background: linear-gradient(to bottom,  rgba(177,210,210,1) 0%,rgba(255,255,255,1) 50%,rgba(159,199,199,1) 100%);
    .col-4 {
      display: flex;
      flex-direction: column;
    }
    .top-dot-line {
      width: 6px;
      height: 25px;
      background-color: #0b5858;
      &.long {
        height: 92px;
      }
    }
    .top-dot {
      margin-top: -2px;
      width: 23px;
      height: 23px;
      background-color: #fff;
      border-radius: 50%;
      border: 6px solid #0b5858;
    }
    .bot-dot-line {
      width: 6px;
      height: 10px;
      background-color: #800808;
      &.long {
        height: 95px;
      }
    }
    .bot-dot {
      margin-top: -98px;
      width: 23px;
      height: 23px;
      background-color: #fff;
      border-radius: 50%;
      border: 6px solid #800808;
      &.short {
        margin-top: -13px;
      }
    }
    .banner-img-1 {
      width: 100%;
      max-width: 353px;
      margin-top: -70px;
    }
    .banner-img-2 {
      width: 100%;
      max-width: 315px;
      margin-bottom: 40px;
    }
    .banner-img-3 {
      width: 100%;
      max-width: 462px;
      margin-top: -68px;
      margin-bottom: 30px;
    }
    .banner-text {
      color: #fff;
      background-color: #800808;
      min-height: 78px;
      text-align: center;
      border-radius: 50px;
      font-size: 20px;
      &.img-1 {
        line-height: 70px;
        width: 110%;
        margin-left: -5%;
      }
      &.img-2, &.img-3 {
        padding: 10px;
        line-height: 24px;
        width: 110%;
        margin-left: -5%;
      }
    }
  }
  .banner-title {
    padding-top: 70px;
    font-size: 60px;
    line-height: 50px;
  }
}
.banner-mail-form {
  font-size: 28px;
  line-height: 32px;
  padding-top: 20px;
  padding-left: 70px;
  form {
    padding: 20px 20px 20px 0;
    input {
      border-radius: 50px;
      height: 70px;
      &::placeholder {
        font-size: 24px;
        color: #9f9f9f;
      }
    }
    .btn-banner-mail {
      height: 70px;
      border-radius: 50px;
      margin-top: 20px;
      width: 100%;
      font-weight: 600;
      font-size: 24px;
      text-align: center;
      text-transform: uppercase;
      color: #fff;
      background-color: #47b33d;
      -webkit-box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2) !important;
      -moz-box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2) !important;
      box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2) !important;
    }
  }
}
.step-gradient {
  background: linear-gradient(to bottom, rgb(222, 223, 222) 0%,rgba(255,255,255,1) 50%, rgb(222, 223, 222) 100%);
  padding-top: 20px;
  padding-bottom: 20px;
  h1 {
    margin-bottom: 20px;
  }
  .step-line {
    display: flex;
    flex-direction: row;
    justify-content: start;
    background-color: #c9e8e8;
    font-size: 24px;
    margin: 10px 0;
    p {
      margin-top: 10px;
      margin-bottom: 10px;
      margin-right: 10px;
    }
    .num {
      min-width: 52px;
      font-size: 36px;
      background-color: #1f8989;
      color: #fff;
      text-align: center;
      margin-right: 25px;
    }
  }
}
.land-img {
  width: 100%;
  max-width: 688px;
}
.after-banner-text {
  color: #fff;
  background-color: #800808;
  font-size: 100px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 90px;
  .container {
    div:last-child {
      text-align: right;
      padding-bottom: 10px;
    }
  }
  .text-small {
    line-height: 50px;
    text-align: center;
    font-size: 50px;
  }
}
.steps-container1, .steps-container2, .steps-container3 {
  padding-top: 40px;
  padding-bottom: 40px;
  .card.shadow {
    -webkit-box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2) !important;
    -moz-box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2) !important;
  }
  .card-body {
    line-height: 22px;
  }
  .title-block {
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    text-align: right;
    h1 {
      font-size: 44px;
      font-weight: 700;
    }
    p {
      line-height: 32px;
    }
  }
  .card-title {
    font-size: 28px;
    font-weight: 700;
    padding: 20px 0;
  }
  .label-green {
    position: absolute;
    top: -12px;
    left: 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 0 10px;
    background-color: #7bb800;
  }
  .label-violet {
    position: absolute;
    top: -12px;
    right: 8px;
    border-radius: 4px;
    color: #a94ad2;
    font-size: 16px;
    font-weight: 600;
    padding: 0 10px;
    background-color: #f6ebf9;
  }
  .label-red {
    position: absolute;
    top: -12px;
    right: 8px;
    border-radius: 4px;
    background-color: #ffeaea;
    font-size: 16px;
    font-weight: 600;
    padding: 0 10px;
    color: #ff0000;
  }
  .card-green {
    color: #fff;
    background-color: #47b33d;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-left: 10px;
    margin-right: 10px;
    border: none;
    padding-bottom: 5px;
  }
}
.steps-container1 {
  background-color: #1f8989;
  background-image: url("../img/step1_bg.png");
  background-position: 50% 40px;
  background-repeat: no-repeat;
  .title-block {
    padding-right: 160px;
    padding-top: 100px;
  }
}
.steps-container2 {
  background-color: #146f6f;
  background-image: url("../img/step2_bg.png");
  background-position: 50% 40px;
  background-repeat: no-repeat;
  .title-block {
    text-align: left;
    padding-left: 160px;
    padding-top: 70px;
    padding-bottom: 122px;
  }
}
.steps-container3 {
  background-color: #0b5858;
  background-image: url("../img/step3_bg.png");
  background-position: 50% 40px;
  background-repeat: no-repeat;
  .title-block {
    padding-right: 160px;
    padding-top: 70px;
    padding-bottom: 142px;
  }
}
.landing2 {
  footer {
    margin-top: 0;
  }
  .steps-container1, .steps-container2, .steps-container3 {
    background-image: none;
    .title-block {
      text-align: left;
      padding-top: 0;
      padding-bottom: 0;
      padding-right: 60px;
      h1 {
        margin-bottom: 60px;
        margin-top: 20px;
      }
    }
    .label-green {
      position: relative;
      display: inline-block;
      left: -60px;
      top: -1px;
      margin-right: -50px;
      border-radius: 4px;
      color: #fff;
      font-size: 18px;
      padding: 6px 6px;
      background-color: #7bb800;
    }
  }
  .small.d-block.ms-5 {
    font-size: 16px;
  }
  .text-green {
    color: #00a400;
    text-wrap: nowrap;
  }
  .steps-container2 {
    .title-block {
      padding-right: 0;
      padding-left: 60px;
    }
  }
  .with-photo {
    margin-top: 125px;
  }
  .card-photo {
    margin: -155px auto 20px auto;
    width: 267px;
    height: 267px;
    border-radius: 50%;
    background-color: #e4e4e4;
    overflow: hidden;
    img {
      width: 100%;
    }
  }
  .label-title {
    position: absolute;
    top: -12px;
    left: 8px;
    font-size: 16px;
    padding: 0 10px;
    background-color: #fff;
  }
  .card-btn-red, .card-btn-blue, .card-btn-green {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
    padding: 10px 2px;
    background-color: #a51313;
  }
  .card-btn-blue {
    background-color: #066fd1;
  }
  .card-btn-green {
    background-color: #48b33d;
  }
  .block-labels {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    min-height: 200px;
    height: 100%;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    border-radius: 6px;
    color: #fff;
    background-color: #369595;
  }
  .steps-container3 {
    .block-labels {
      min-height: 130px;
    }
  }
}
.hidePC {
  display: none;
}
.bottom-container {
  text-align: center;
  background-color: #adadad;
  position: relative;
  padding-top: 90px;
}
.btn-create {
  background-color: #a51313;
  min-height: 140px;
  width: 80%;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
  font-size: 40px;
  padding: 10px;
  border: none;
  border-radius: 80px;
  position: absolute;
  top: -70px;
  left: 10%;
  -webkit-box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2);
  &:hover {
    background-color: #b61616;
  }
}
.letter {
  background-color: #fff;
  -webkit-box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 4px 0px 2px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 40px 40px 60px 40px;
  margin-top: 60px;
  transform: rotate(-5deg);
  img {
    width: 100%;
    max-width: 1067px;
  }
}
footer {
  position: relative;
  background-color: #e5e8ea;
  margin-top: -70px;
  min-height: 160px;
  color: #7c7c7c;
  font-size: 14px;
  padding-top: 30px;
  padding-bottom: 30px;
  .container>.row>div {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .container>.row>div:first-child {
    border-right: 1px solid #cecece;
  }
  .btn-footer {
    color: #9d9d9d;
    font-size: 14px;
    font-weight: 600;
    width: 380px;
    -webkit-box-shadow: 0px 2px 0px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 0px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 0px 1px rgba(0, 0, 0, 0.2);
  }
}
.checkbox-img {
  max-width: 44px;
}
.modal-header {
  border-bottom: none !important;
}
.modal-footer {
  border-top: none !important;
}
.modal-body {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.form-control::placeholder {
  color: #aeaeae;
  font-size: 18px;
}
.btn-outline-secondary {
  border-color: #d5d5d5 !important;
}
@media (max-width: 1400px) {
  .top-banner {
    .banner-gradient {
      .banner-img-3 {
        margin-top: -24px;
      }
    }
  }
  .header {
    padding-bottom: 0;
    .header-buttons {
      position: relative;
      right: 0;
      top: 0;
      line-height: 40px;
      padding-bottom: 30px;
    }
  }
  .landing2 .header {
    font-size: 80px;
  }
}
@media (max-width: 1200px) {
  .top-banner {
    .banner-gradient {
      .banner-img-1 {
        margin-top: -44px;
        margin-bottom: 8px;
      }
    }
    .banner-title {
      padding-top: 30px;
      font-size: 45px;
      line-height: 40px;
    }
  }
  .banner-mail-form {
    font-size: 20px;
    line-height: 24px;
    padding-left: 40px;
    form {
      .btn-banner-mail {
        font-size: 20px;
      }
    }
  }
  .top-banner {
    .banner-gradient {
      .banner-img-3 {
        margin-bottom: 38px;
      }
    }
  }
  .landing2 .header {
    font-size: 65px;
  }
  .landing2 {
    .checkbox-img {
      max-width: 30px;
    }
    .col-10.fs-5.lh-1 {
      font-size: 20px !important;
      .label-green {
        font-size: 18px;
      }
    }
    .block-labels {
      font-size: 18px;
    }
  }
}

@media (max-width: 992px) {
  footer {
    .container>.row>div:first-child {
      border-right: none;
      border-bottom: 1px solid #cecece;
    }
    .btn-footer {
      width: 80%;
    }
  }
  .bottom-container {
    padding-top: 20px;
  }
  .btn-create {
    min-height: inherit;
    font-size: 32px;
    top: -35px;
    left: 5%;
    width: 90%;
  }
  .steps-container1, .steps-container2, .steps-container3 {
    background-image: none;
    .title-block {
      h1 {
        font-size: 32px;
      }
      p{
        font-size: 24px;
      }
      padding-right: 0;
      padding-left: 0;
      padding-top: 0;
      padding-bottom: 0;
      text-align: center;
    }
  }
  .landing2 {
    .steps-container1, .steps-container2, .steps-container3 {
      .title-block {
        padding-right: 0;
        padding-left: 0;
      }
    }
  }
  .steps-container3 {
    padding-bottom: 60px;
  }
  .hide992 {
    display: none !important;
  }
  .hidePC {
    display: block;
  }
  .top-banner {
    .banner-gradient {
      .banner-img-1 {
        margin-top: 0;
      }
      .banner-img-2 {
        margin-bottom: 0;
      }
      .banner-img-3 {
        margin-top: 0;
        margin-bottom: 0;
      }
      .banner-text {
        &.img-1, &.img-2, &.img-3 {
          width: 100%;
          margin-left: 0;
        }
        &.img-3 {
          margin-bottom: 20px;
        }
      }
    }
    .banner-title {
      padding-top: 20px;
    }
    .banner-mail-form {
      padding-left: 0;
      font-size: 20px;
      line-height: 24px;
      form {
        padding-right: 0;
      }
    }
  }
  .header {
    font-size: 80px;
  }
  .after-banner-text {
    text-align: center;
    font-size: 80px;
    .container {
      div:last-child {
        text-align: center;
      }
    }
    .text-small {
      font-size: 40px;
      line-height: 30px;
    }
  }
  .landing2 .header {
    font-size: 55px;
    line-height: 65px;
    text-align: center;
    span {
      line-height: 30px;
    }
  }
}
@media (max-width: 576px) {
  .after-banner-text {
    font-size: 50px;
    line-height: 50px;
    .text-small {
      font-size: 24px;
    }
  }
  .btn-create {
    font-size: 24px;
  }
  .landing2 .header {
    font-size: 36px;
    line-height: 45px;
    padding-bottom: 10px;
    span {
      font-size: 26px;
    }
  }
  .top-banner {
    .banner-title {
      font-size: 32px;
    }
  }
  .step-gradient {
    .step-line {
      font-size: 18px;
    }
  }
}
@media (max-width: 420px) {
  .add-m {
    margin-top: 20px!important;
  }
}
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

