_index.scss 4.17 KB
.section-box-1 {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: url("../images/bk-kite.jpg");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;

  &.opacity-bg {
    background-image: url("../images/bk-white.png");
  }
  &.opacity-block {
    opacity: 0;
    transition: 1s;
  }
  &.timing {
    transition: 1.5s;

  }
}

.btn_, .hidden-form button {
  outline: none;
  border: 0;
  float: left;
  display: block;
  height: 63px;
  text-align: center;
  line-height: 63px;
  color: #fffefe;
  font-weight: 700;
  font-size: 16px;
  padding: 0 15px;
  border-radius: 63px;
cursor: pointer;
  background: #96cf58;
  background: -moz-linear-gradient(top, #96cf58 0%, #50ae39 100%);
  background: -webkit-linear-gradient(top, #96cf58 0%,#50ae39 100%);
  background: linear-gradient(to bottom, #96cf58 0%,#50ae39 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#96cf58', endColorstr='#50ae39',GradientType=0 );
  text-transform: uppercase;
  box-shadow: 0px 0px 12px 0px rgba(65, 87, 117, 0.35);
  transition: 0.2s;
  &:hover {

    background: #96cf58;
    background: -moz-linear-gradient(top, #50ae39 0%, #96cf58 100%);
    background: -webkit-linear-gradient(top, #50ae39 0%,#96cf58 100%);
    background: linear-gradient(to bottom, #50ae39 0%,#96cf58 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#50ae39', endColorstr='#96cf58',GradientType=0 );
  }
  &:active {
    box-shadow: none;
  }
}

.first-btn, .second-btn {
  width: 296px;
  position: absolute;
  left: 50%;
  margin-left: -(296 / 2) +px;
  top: 50%;
  margin-top: -73px;
}

.second-btn {
  margin-top: 10px;

}

.hidden-form button {
  width: 220px;
  float: none;
  margin: 0 auto;
}

.hidden-form {
  width: 294px;
  position: absolute;
  left: 50%;
  margin-left: -(294 / 2) +px;
  top: 50%;
  margin-top: -207px;
}

.input-wr {
  width: 100%;
  float: left;
  margin-top: 24px;
  position: relative;
  &:first-child {
    margin-top: 0;
  }
  input {
    width: 100%;
    float: left;
    height: 40px;
    background: #fff;
    padding: 0 15px;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    border: 1px solid #fff;
  }
  label {
    font-size: 16px;
    color: $main-color;
    position: absolute;
    left: 15px;
    top: 11px;
    font-weight: 700;
    transition: 1s;
    opacity: 1;
  }
}

.hidden-label {
  label {
    left: -15px;
    opacity: 0;
  }
}

.has-error {
  input {
    border: 1px solid #ea004a;
  }
  input, label {
    color: #ea004a;
  }
}

.submit-wr {
  margin-top: 40px;
}


.hidden-forms {
  .hidden-form {
    opacity: 0;
    transform: translate3d(0,-40%,0);
  }
}






.start {
  .first-btn {
    opacity: 0;
    transform: translate3d(-30%,0,0);
    transition: 2s;
  }

  .second-btn {
    opacity: 0;
    transform: translate3d(30%,0,0);
    transition: 2s;
  }

  .hidden-form {
    opacity: 1;
    transform: translate3d(0,0,0);
    transition: 2s;
    transition-duration: 1.5s;
    transition-delay: 0.5s;
  }
}

.opacity-remove {
  &.section-box-1 {
    background-image: url("../images/bk-kite.jpg");
    transition: 1s;
  }
}



[class*="section-box-"] {
  &.active {
    z-index: 3;
  }
}



/*********start map**********/
.section-box-map {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;

  iframe {
 z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }
}




.green-block {
  width: 307px;
  height: 85px;
  position: absolute;
  right: 24px;
  bottom: 10px;
  background: #50ae34;
  border-radius: 1px;
  text-align: center;
  z-index: 3;
  p {
    display: inline-block;
    width: 100%;
    font-weight: 700;
    font-size: 16px;
    color: $main-color;
    margin-top: 17px;

  }
  span, a {
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 0 12px;
    margin-top: 12px;
  }
  a {
    &:hover {
      text-decoration: underline;
    }
  }
}

/*********end map**********/



@media (max-height: 450px) {
  .hidden-form {

    margin-top: -(207 / 2) +px;
  }

  .first-btn {
    margin-top: 41px;
  }
}