.ebook-banner {
  border-radius: 4px;
  padding: 13px 15px;
  border: 1px solid #ccc;
  position: relative;
  margin-bottom: 20px;
}

.ebook-banner.square {
  max-width: 300px;
}

.ebook-banner.large {
  margin-top: 80px;
}

.ebook-banner.square.alt {
  border: 2px solid #4CB7D2;
}

.ebook-banner .text,
.ebook-banner .button {
  position: relative;
  z-index: 2;
}

.ebook-banner .text {
  line-height: 28px;
  padding-top: 5px;
}

.ebook-banner.square .text {
  max-width: 120px;
  min-height: 125px;
}

.ebook-banner .text EM {
  display: block;
  color: #8B8A84;
  font-size: 12px;
  font-style: normal;
}

.ebook-banner.large .text EM {
  font-size: 15px;
}

.ebook-banner .text A {
  display: block;
  color: #71C3DA;
  text-decoration: none;
  font-weight: bold;
  font-size: 19px;
}

.ebook-banner.large .text A {
  font-size: 24px;
}

.ebook-banner .text A:hover {
  text-decoration: underline;
}

.ebook-banner.large .text P {
  font-size: 12px;
  color: #8B8A84;
  margin: 0;
  line-height: 18px;
  margin-top: 5px;
  margin-bottom: 0 !important;
}

.ebook-banner .image {
  position: absolute;
  bottom: 10px;
  right: 20px;
  z-index: 1;
  display: block;
  border: 0;
  outline: 0;
}

.ebook-banner .image IMG {
  display: block;
  height: auto;
  border: 0;
}

.ebook-banner.square .image IMG {
  width: 120px;
}

.ebook-banner.large .image IMG {
  width: 170px;
}

.ebook-banner .button A {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 18px;
  padding: 10px;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 15px;
  position: relative;
  outline: none;
  -webkit-font-smoothing: antialiased;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
/*  border: 1px solid #0E851E;
  border-radius: 5px;
  background: #70d13d;
  background: -moz-linear-gradient(top,  #70d13d 0%, #50b500 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#70d13d), color-stop(100%,#50b500));
  background: -webkit-linear-gradient(top,  #70d13d 0%,#50b500 100%);
  background: -o-linear-gradient(top,  #70d13d 0%,#50b500 100%);
  background: -ms-linear-gradient(top,  #70d13d 0%,#50b500 100%);
  background: linear-gradient(to bottom,  #70d13d 0%,#50b500 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#70d13d', endColorstr='#50b500',GradientType=0 );
  text-align: center;
  text-shadow: 0 -1px 1px rgba(0,0,0,0.2);
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  position: relative;
  font-size: 15px;*/

  border-color: #6ea30e;
  box-shadow: inset 0 1px 2px #e8fba0;
  background-color: #c8ee87;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #c8ee87),color-stop(100%, #79b70f));
  background-image: -webkit-linear-gradient(top, #c8ee87,#79b70f);
  background-image: -moz-linear-gradient(top, #c8ee87,#79b70f);
  background-image: -ms-linear-gradient(top, #c8ee87,#79b70f);
  background-image: -o-linear-gradient(top, #c8ee87,#79b70f);
  background-image: linear-gradient(top, #c8ee87,#79b70f);
  color: #256d12;
  text-shadow: 0 1px #b5d686;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  position: relative;
  text-decoration: none;
}

.ebook-banner .button A:active {
  background: #79b70f;
  background: -moz-linear-gradient(bottom,  #c8ee87 0%, #79b70f 100%);
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0%,#c8ee87), color-stop(100%,#79b70f));
  background: -webkit-linear-gradient(bottom,  #c8ee87 0%,#79b70f 100%);
  background: -o-linear-gradient(bottom,  #c8ee87 0%,#79b70f 100%);
  background: -ms-linear-gradient(bottom,  #c8ee87 0%,#79b70f 100%);
  background: linear-gradient(to top,  #c8ee87 0%,#79b70f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#79b70f', endColorstr='#c8ee87',GradientType=0 );
}

.ebook-banner .button A:after {
  display: block;
  content: " ";
  position: absolute;
  width: 8px;
  height: 13px;
  margin-top: -7px;
  top: 50%;
  right: 10px;
  background: url("images/banners/banner-arrow@2x.png") center right no-repeat;
  background-size: 8px 13px;
}

.ebook-banner.large .text,
.ebook-banner.large .button A {
  margin-right: 220px;
}

.ebook-banner.large .button A {
  max-width: 300px;
}

.ebook-banner.large .button {
  padding-top: 10px;
}

@media (max-width: 890px) {
  .ebook-banner.large {
    margin-top: 30px;
  }

  .ebook-banner.square .text,
  .ebook-banner.large .text {
    max-width: 100%;
    min-height: 0;
    padding-top: 0;
    line-height: 22px;
    text-align: center;
  }

  .ebook-banner.large .text,
  .ebook-banner.large .button A {
    margin-right: 0;
  }

  .ebook-banner.large .button A {
    max-width: 100%;
  }

  .ebook-banner .image {
    position: relative;
    bottom: auto;
    right: auto;
    padding: 10px 0;
  }
  .ebook-banner .image IMG {
    margin: 0 auto;
  }
}

.mobile-banner {
  display: none;
}

@media (max-width: 580px) {
  .no-mobile {
    display: none
  }

  .mobile-banner {
    display: block;
    padding: 8px;
  }

  .mobile-banner .image {
    width: 60px;
    padding: 0;
    position: absolute;
    top: auto;
    bottom: 5px;
    left: 10px;
  }

  .mobile-banner .image IMG {
    width: 100%;
    height: auto;
  }

  .mobile-banner .text,
  .mobile-banner .button {
    margin-left: 75px
  }

  .mobile-banner .text {
    padding-top: 0;
    padding-bottom: 10px;
    min-height: 40px;
  }

  .mobile-banner .text A {
    font-size: 16px;
    line-height: 20px;
  }

}

