/*
 * SupportHost Legacy
 * Temporary fixes for old components not yet migrated.
 * DELETE this file when migration is complete.
 *
 * When you migrate a component:
 * 1. Move its new styles to components.css
 * 2. Remove the legacy fix from here
 * 3. When this file is empty, delete it and dequeue from plugin
 */



 /** Hero section home **/  
  .ar-hero-section {
    display: grid;
    grid-template-columns: 8% auto 15% 4% auto 10%;
    grid-template-rows: 7% auto 7% repeat(2, auto) 8%;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto !important;
  }

  .ar-hero-section .wp-block-button__link  {
    background-color: var(--wp--preset--color--black)!important;
    color: var(--wp--preset--color--white);
  }

  .ar-hero-section .wp-block-button__link:hover {
    background-color: transparent!important;
    color: var(--wp--preset--color--black);
  }
  
  .violet-block h1 {
    font-size: clamp(2.8125rem, 2.25rem + 2.8125vw, 5.625rem) !important;
    line-height: 1;
    margin-bottom: 10px;
  }
  .violet-block {
    grid-area: 1 / 1 / 5 / 4;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 3;
  }
  .violet-block .wp-block-button__link {
    background-color: var(--wp--preset--color--section-bg);
  }
  .violet-block .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--black);
  }
  .orange-block {
    grid-area: 3 / 2 / 7 / 5;
    min-width: 645px;
    width: 100%;
  }
  .image-block {
    grid-area: 4 / 3 / 6 / 7;
    width: 100%;
    position: relative;
    top: 30px;
    left: 0;
    z-index: 4;
  }
  .text-block {
    grid-area: 2 / 3 / 4 / 7;
    position: relative;
    top: 0;
    left: 0;
    z-index: 5;
  }
  
  @media (max-width: 1023px) {
    .ar-hero-section-container {
      padding: 60px 0;
    }
    .ar-hero-section {
      padding-left: 15px;
      padding-right: 15px;
    }
    .ar-hero-section .image-block {
      display: none;
    }
    .violet-block {
      grid-area: 1 / 1 / 4 / 6;
      top: -35px;
      left: 0;
    }
    .violet-block .wp-block-group {
      padding-bottom: 70px !important;
    }
    .orange-block {
      grid-area: 2 / 1 / 5 / 7;
      margin-left: 25px !important;
      width: calc(100% - 25px);
    }
    .text-block {
      grid-area: 5 / 3 / 7 / 6;
      top: 20px;
      left: 40px;
    }
  }
  @media (max-width: 781px) {
    .ar-hero-section {
      display: flex !important;
      flex-direction: column;
      justify-content: center;
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
  
    .violet-block {
      position: relative;
      top: 0 !important;
      left: 0 !important;
      width: auto;
    }
  
    .violet-block .wp-block-group {
      padding: 50px 6vw !important;
    }
  
    .text-block {
      position: relative;
      top: 10px !important;
      left: 0 !important;
      z-index: 5;
    }
  
    .text-block .wp-block-group {
      padding-left: 0 !important;
    }
  }
  .stars {
    gap: 0;
  }
  .stars figure {
    line-height: 0;
  }
  /** End of Hero section home **/
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /** Free trial form **/
  form.free-trial {
    text-align: center;
  }
  label {
    display: block;
    margin-bottom: 10px;
    font-size: var(--wp--preset--font-size--small);
  }
  .free-trial select {
    padding: 15px 30px 15px 30px;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 400;
    line-height: 1.5em;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--wp--preset--color--gray-lines);
    border-radius: 30px 30px 30px 30px;
    max-width: 100%;
    transition: all 500ms ease;
    margin-bottom: 15px;
    margin-top: 5px;
  }
  .free-trial input[type="submit"] {
    padding: 15px 30px 15px 30px;
    font-size: var(--wp--preset--font-size--small);
    border-radius: 30px 30px 30px 30px;
    border-width: 1px 1px 1px 1px;
    line-height: 1.5em;
    font-weight: 400;
    background-color: var(--wp--preset--color--white);
    cursor: not-allowed;
  }
  .free-trial input[type="submit"]:not(:disabled) {
    font-weight: 400;
    padding: 15px 30px 15px 30px;
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--wp--preset--color--black);
    border-radius: 30px 30px 30px 30px;
    line-height: 1.5em;
    transition: all 500ms ease;
    cursor: pointer;
  }
  .free-trial input[type="submit"]:not(:disabled):hover {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
  }
/** End of Free trial form **/












/** Pricing table **/
  #period-selector {
    width: fit-content;
    gap: 0;
  }
  #period-selector p {
    padding: 10px 20px;
    border-radius: 15px;
    margin: 3px;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 500;
    transition: all .4s cubic-bezier(.215, .61, .355, 1);
    cursor: pointer;
  }
  #period-selector p.active {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
  }
  #period-selector p:not(.active):hover {
    background-color: var(--wp--preset--color--gray-lines);
  }
  .period-price:not(.active) {
    display: none;
  }
  .pricing-table-price .out-of-stock {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 400;
  }
  .decimal {
    font-size: var(--wp--preset--font-size--small);
  }
  .ar-price-table .currency-data {
    font-size: var(--wp--preset--font-size--x-large);
  }
  .pricing-table-price {
    font-size: var(--wp--preset--font-size--big);
    font-weight: 600;
    line-height: 1;
  }
  @media (max-width: 1023px) {
    .pricing-table-spacer {
      height: 0 !important;
    }
  }
  @media (max-width: 550px) {
    #period-selector {
      flex-direction: column;
    }
  }
/** End of pricing table **/












/* Tutorials */
  .tutorial-container {
    align-items: stretch !important;
  }
  .tutorial-box {
    width: 32%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  @media (max-width: 1024px) {
    .tutorial-box {
      width: 49%;
    }
  }
  @media (max-width: 991px) {
    .tutorial-box {
      width: 100%;
    }
  }
/* End of tutorials */












  /* Steps */
    .step-line {
      position: relative;
      height: 1px;
      background-color: var(--wp--preset--color--gray-text);
      margin-top: 75px;
      margin-bottom: 75px;
      width: 100%;
    }
    .step-number {
      width: 80px;
      height: 80px;
      position: absolute;
      top: -40px;
      left: calc(50% - 40px);
      text-align: center;
    }
    .step-number:before {
      background-color: var(--wp--preset--color--green);
      border-radius: 50%;
      width: 20px;
      height: 20px;
      position: absolute;
      top: 50%;
      left: 50%;
      margin-top: -10px;
      margin-left: -10px;
      transition-property: all;
      transition-timing-function: ease-out;
      transition-duration: 0.4s;
      content: "";
    }
    .step-inner {
      color: #fff;
      line-height: 80px;
      text-align: center;
      width: 100%;
      font-weight: 700;
      z-index: 9999;
      visibility: hidden;
      position: relative;
      transition-property: all;
      transition-timing-function: ease-out;
      transition-duration: 0.2s;
    }
    .step-box:hover .step-number:before {
      width: 70px;
      height: 70px;
      margin-left: -35px;
      margin-top: -35px;
    }
    .step-box:hover .step-inner {
      visibility: visible;
      font-size: 22.5px;
    }
/* End of Steps */
















/* Four columns */
  @media (max-width: 1023px) {
    .ar-four-columns {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 781px) {
    .ar-four-columns {
      display: grid;
      grid-template-columns: repeat(1, 1fr) !important;
    }
  }
/* End of four columns */