.svg-wrapper {
  display: inline-block;
  max-height: 20px;
  max-width: 25px;
  vertical-align: middle;
  margin-right: 10px;
}

.svg-wrapper > svg {
  max-width: 100%;
  width: 100%;
  max-height: 100%;
  height: 100%;
  display: inline-block;
}

.ebook-wrapper > div > * {
  height: 800px;
  position: relative;
  display: block;
}

.page-bg {
  background: currentColor !important;
  color: inherit !important;
}

.page-bg h1 {
  color: white;
  font-size: 24px;
  margin: 0;
  text-align: center;
  margin-top: 60px;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  font-weight: bold;
}

.inside-ebook {
  color: white;   
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  text-align: center;   
  margin-bottom: 60px;
  position: absolute;
  width: 100%;
  left: 0;   
  bottom: 0;
}

.page-bg .img-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left:0;
  right:0;
  line-height: 800px;
  margin: auto !important;
  display: inline-block;
  padding: 30px;
  max-width: 600px;
}

.ebook-wrapper > div > *:first-child + * {
  line-height: 800px;
  text-align: center;
}

.ebook-tag {
  position: absolute;
  left: 0;
  display: block;
  background: currentColor;
  margin-top: 60px;
  top: -6px;
  height: 46px;
  line-height: 46px;
  padding: 0 25px;
  font-weight: 600;
  font-size: 16px;
  width: 135px;
}

.ebook-tag:after, .ebook-tag:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 13px solid transparent;
  border-top: 23px solid currentColor;
  border-bottom: 23px solid currentColor;
  top: 0;
}

.ebook-tag:after {
  right:-13px;
}

.ebook-tag:before {
  left: -13px;
}

.ebook-tag span {
  color: white;
}

.ebook-tag .svg-wrapper {
  margin-top: -18px;
  max-width: 22px;
}

.content-wrapper {
  display: inline-block;
  vertical-align: middle;
  line-height: 22.8571434020996px;
  max-width: 570px;
  padding: 15px;
  text-align: left;
}

.content-wrapper h1 {
  font-weight: bold;
  font-size: 24px;
  line-height:28px;
  color: black;
}

.content-wrapper p {
  color: #596270;
  font-weight: 300;
  font-size: 16px;
}

.content-wrapper strong {
  font-weight: 600;
  color: #212D3A;
}

.social {
  display: block;
}

.social:after {
  content:'';
  clear: both;
  display:block;
}

.social > div {
  float: left;
  margin-right: 10px;
}

.content-wrapper p:last-of-type {
  margin: 30px 0;
}

.btn-primary + span {
  margin-left: 15px;
  color: #212D3A;
  font-weight: 600;
}

.btn-primary + span a {
  color: currentColor;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

@media all and (max-width: 991px) {
  .ebook-wrapper > div > * {
    height: auto !important;
  }

  .page-bg h1 {
    display: none;
  }

  .page-bg .img-wrapper {
    display: block;
    position: relative;
    height: auto !important;
    width:  auto !important;
    line-height: 1;
    text-align: center;
    padding: 20px;
    z-index: 100;
  }

  .page-bg .img-wrapper img {
    width:  auto !important;
    height: 130px;
  }

  .inside-ebook {
    display: none !important;
  }

  .ebook-tag {
    margin-top: 30px !important;
    width: 200px !important;
    right: -30px !important;
    left: auto !important;
    margin-top: 15px !important;
    z-index: 50;
  }

  .ebook-wrapper > div > *:first-child + * {
    line-height: 22.8571434020996px !important;
    padding-top: 30px;
    padding-bottom: 30px;
    position: static;
  }
}