﻿/* common border radius */
/* disable text selection */
section.gt-block.ebook {
  padding: 3.8rem 4.6rem;
  position: relative;
  -webkit-border-radius: 4rem;
  -moz-border-radius: 4rem;
  border-radius: 4rem;
  overflow: hidden;
  background: #FD7D23 url(../../images/star4bg.svg) no-repeat right -25rem top -13rem;
  background-size: 76rem auto;
}
section.gt-block.ebook:before {
  content: " ";
  width: 36rem;
  height: 36rem;
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  background: url(../../images/free-sticker.svg) no-repeat 0 bottom;
  background-size: 100% 100%;
}
section.gt-block.ebook .text {
  max-width: 50%;
}
section.gt-block.ebook .text h2 {
  margin: 0 0 2rem 0;
  color: white;
  font-size: 3.2rem;
  line-height: 4rem;
  font-weight: bold;
}
section.gt-block.ebook .text p {
  padding: 0 0 2.4rem 0;
  color: white;
  font-size: 2rem;
  line-height: 3.2rem;
  font-weight: 400;
}
section.gt-block.ebook .text ul {
  list-style: none;
  color: white;
  font-size: 1.6rem;
  line-height: 2.4rem;
  font-weight: 400;
}
section.gt-block.ebook .text ul li {
  padding: 0 0 1rem 3.2rem;
  position: relative;
}
section.gt-block.ebook .text ul li:last-of-type {
  padding-bottom: 0;
}
section.gt-block.ebook .text ul li:before {
  content: " " !important;
  width: 1.6rem;
  height: 1.6rem;
  position: absolute;
  left: 0;
  top: 0.4rem;
  display: block;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.166' height='15.616' viewBox='0 0 16.166 15.616'%3E%3Cpath d='M8.547,4.184a1.564,1.564,0,0,1,2.841,0l1.263,2.739,2.995.355a1.564,1.564,0,0,1,.878,2.7l-2.214,2.048.588,2.958a1.564,1.564,0,0,1-2.3,1.67L9.967,15.182,7.336,16.655a1.564,1.564,0,0,1-2.3-1.67l.588-2.958L3.411,9.98a1.564,1.564,0,0,1,.878-2.7l2.995-.355Z' transform='translate(-1.884 -2.275)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E%0A");
}
section.gt-block.ebook .text div.sent {
  max-height: 20rem;
  padding: 2rem 4rem;
  margin: 2rem 0 0 0;
  overflow: hidden;
  display: block;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  border-radius: 2rem;
  background: #3CB81F;
  font-weight: bold;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 1;
  color: white;
  font-size: 2rem;
  line-height: 3.2rem;
  font-weight: 600;
  text-align: center;
}
section.gt-block.ebook .text div.sent.hidden {
  max-height: 0px;
  padding: 0;
  margin: 0;
  opacity: 0;
}
section.gt-block.ebook form {
  max-width: 30rem;
  max-height: 40rem;
  padding: 3.8rem 0 0 0;
  opacity: 1;
  display: block;
  overflow: hidden;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
section.gt-block.ebook form.hidden {
  max-height: 0;
  padding: 0;
  opacity: 0;
}
section.gt-block.ebook form .input-field .error {
  max-height: 6rem;
  padding: 0.8rem 0 0 0;
  display: block;
  overflow: hidden;
  opacity: 1;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #FF0000;
  font-size: 1.4rem;
  line-height: 2rem;
  font-weight: 600;
}
section.gt-block.ebook form .input-field .error.hidden {
  max-height: 0;
  padding: 0;
  opacity: 0;
}
section.gt-block.ebook form .btn {
  margin: 2rem 0 0 0;
  display: block;
}
section.gt-block.ebook .loading-component {
  background: rgba(253, 125, 35, 0.6);
}
section.gt-block.ebook .loading-component .loading-animation span {
  background: white;
}
section.gt-block.ebook.loading .loading-component {
  height: calc(100% + 1rem);
  opacity: 1;
}
@media screen and (max-width: 700px) {
  section.gt-block.ebook {
    background-position: right -12rem top -8rem;
    background-size: 40rem auto;
  }
  section.gt-block.ebook:before {
    display: none;
  }
  section.gt-block.ebook .text {
    max-width: 100%;
  }
}
@media screen and (max-width: 500px) {
  section.gt-block.ebook {
    padding: 20px;
    -webkit-border-radius: 2rem;
    -moz-border-radius: 2rem;
    border-radius: 2rem;
  }
  section.gt-block.ebook form {
    max-width: 100%;
  }
  section.gt-block.ebook form .input-field input {
    width: 100%;
  }
}