/**
 * #.# Styles
 *
 * CSS for both Frontend+Backend.
 */

.wp-gosign-header-section {
  &.btn-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
  }

  .gosign-header-section {
    background-color: #e4e4e4;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    &.jarallax {
      position: relative;
      z-index: 0;
    }
    &.parallax-mouse {
      transition: transform 12s cubic-bezier(0.22, 0.63, 0.6, 0.88) 0s;
      background-size: calc(100% + 50px);
      background-position: -25px -50px;
    }
    /* Paddings top bottom */
    &.no-padding {
      padding: 0 50px;
    }
    &.small-padding {
      padding: 60px 50px;
    }
    &.large-padding {
      padding: 80px 50px;
    }
    &.huge-padding {
      padding: 100px 50px;
    }
    .overBg_overlay {
      height: 100%;
      width: 100%;
      position: absolute;
      left: 0;
      top: 0;
    }
    .outer-container {
      max-width: 1170px;
      width: 100%;
      display: flex;
      min-height: 600px;
      padding: 40px 0;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      &.enableDesc {
        min-height: 700px;
      }
      /* Paddings top bottom */
      &.no-padding {
        padding: 0 0;
      }
      &.small-padding {
        padding: 60px 0;
      }
      &.large-padding {
        padding: 80px 0;
      }
      &.huge-padding {
        padding: 100px 0;
      }
      /* horizonal content position */
      &.Hleft {
        justify-content: flex-start;
      }
      &.Hcenter {
        justify-content: center;
      }
      &.Hright {
        justify-content: flex-end;
      }
      /* vertical content position */
      &.Vleft {
        align-items: flex-start;
      }
      &.Vcenter {
        align-items: center;
      }
      &.Vright {
        align-items: flex-end;
      }
      .inner-container {
        width: 50%;
        header {
          h1, h2, h3 {
            margin-top: 0;
            margin-bottom: 15px;
          }
        }
        .backgroundtext {
          position: relative;
          p {
            padding: 15px;
            margin: 0;
          }
          .onlytextbg {
            opacity: 0.7;
            height: 100%;
            width: 100%;
            position: absolute;
            left: 0;
            top: 0;
            z-index: -1;
          }
        }
      }
    }
  }
}

@media (max-width: 1439px) {
  .wp-gosign-header-section {
    .gosign-header-section {
      .outer-container {
        max-width: 1100px;
      }
    }
  }
}

@media (max-width: 1279px) {
  .wp-gosign-header-section {
    .gosign-header-section {
      .outer-container {
        max-width: 914px;
        &.enableDesc {
          min-height: 650px;
        }
        .inner-container {
          width: 60%;
        }
      }
    }
  }
}

@media (max-width: 1023px) {
  .wp-gosign-header-section {
    .gosign-header-section {
      .outer-container {
        max-width: 708px;
        &.enableDesc {
          min-height: 600px;
        }
        .inner-container {
          width: 70%;
        }
      }
    }
  }
}

@media (max-width: 767px) {
  .wp-gosign-header-section {
    .gosign-header-section {
      .outer-container {
        max-width: 440px;
        justify-content: center !important;
        align-items: center !important;
        min-height: 450px !important;
        padding-bottom: 0 !important;
        padding-top: 90px !important;
        .inner-container {
          width: 100%;
          header {
            h1, h2, h3 { 
              text-align: center !important;
              font-size: 2.5em;
              margin: 0;
            }
          }
          .backgroundtext {
            display: none;
          }
        }
      }
    }
  }
}

@media (max-width: 479px) {
  .wp-gosign-header-section {
    .gosign-header-section {
      .outer-container {
        max-width: 280px;
        min-height: 415px !important;
      }
    }
  }
}

