#fixedpencil-subs {
  display: none;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  padding: 0;
  width: 100%;
  position: fixed;
  z-index: 1049;
  border-top: none;
  height: 5rem;
}
#subspencil {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  max-width: 1280px;
  min-width: 320px;
  margin: 0 auto;
  height: inherit;
  -webkit-flexbox-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: visible;
  position: relative;
  background: #fdfef2;
}
#customPencil {
  background-image: url('https://www.theglobeandmail.com/files/cem/pencils/spring-bg.png?token=1');
  width: 100%;
  height: 100%;
  border: 1px solid #dcd9d7;
  border-bottom: none;
}
#subscription-pencil-area .custom-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  margin: 0 auto;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
#subscription-pencil-area .valueProp {
  color: #000;
}
#subscription-pencil-area .subs_valueprop {
  text-align: left;
  letter-spacing: 0.13rem;
  align-items: center;
  font-size: 0.85rem;
}
#subscription-pencil-area .valueProp span {
  font-size: 1.3rem;
  line-height: 18px;
}
#subscription-pencil-area .price-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}
#subscription-pencil-area .price {
  padding-top: 0.5rem;
  color: #d50202;
  font-size: 2.5rem;
}
#subscription-pencil-area .per {
  text-transform: uppercase;
  padding-left: 10px;
  font-size: 0.75rem;
  color: #000;
}
.logo {
  display: flex;
}
#subscription-pencil-area .cta{
  margin-top: 0.5rem;
}
#subscription-pencil-area .cancel-text{
  color: #000;
  text-transform: uppercase;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  display: block;
  text-align: center;
}

/* MOBILE */
#mb-customPencil {
  display: none;
  z-index: 1052;
  width: 100%;
  min-width: 320px;
  position: fixed;
  padding: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#mb-customPencil .mb-wrapper {
  background-image: url('https://www.theglobeandmail.com/files/cem/pencils/spring-bg.png?token=1');
  border-top: 1px solid #dcd9d7;
  max-height: 3rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-position: center;
}
#mb-customPencil .mb-wrapper .logo img {
  max-width: 3rem;
  padding: 5px;
}

#mb-customPencil .mb-cta {
  width: 3rem;
  height: 3rem;
  min-height: 3rem;
  min-width: 3rem;
  background: #d50202;
  transform: rotate(90deg);
}
#mb-customPencil .mb-cta a {
  cursor: pointer;
}
#mb-customPencil .mb-cta .icon {
  display: block;
  height: 50%;
  width: 50%;
  margin: 25%;
  padding: 0;
  fill: #fff;
}

@media (max-width: 320px) {
  #mb-customPencil {
    display: block;
  }
  #mb-customPencil .valueProp {
    display: none;
  }
  #mb-customPencil .price-wrapper {
    margin-left: 5px;
  }
}

@media (min-width: 320px) {
  #mb-customPencil,
  #mb-customPencil .per {
    display: block;
  }
  #mb-customPencil .valueProp {
    display: none;
  }
  #mb-customPencil .price-wrapper {
    margin-left: 5px;
    width: 60%;
  }
}

@media (min-width: 480px) {
  #mb-customPencil .valueProp {
    display: block;
  }
  .o-sub-pencil__offer__try-xs {
    display: none;
  }
  #mb-customPencil .mb-subs_valueprop:nth-child(3) {
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) {
  #mb-customPencil,
  #customPencil .valueProp span {
    display: none;
  }
  #fixedpencil-subs {
    display: block;
  }
  #customPencil .valueProp {
    display: block;
    width: 38%;
    margin: 0 10px 0 10px;
  }
  #customPencil .subs_valueprop {
    font-size: 1.2rem;
    line-height: 1.35rem;
  }
  #customPencil .price {
    font-size: 4rem;
  }
  #customPencil .per {
    font-size: 0.9rem;
    width: 60%;
  }
}

@media (min-width: 1024px) {
  #customPencil .valueProp {
    width: 42%;
  }
  #customPencil .subs_valueprop {
    font-size: 1.5rem;
  }
  #customPencil .valueProp span {
    display: block;
    font-size: 1rem;
  }
  #customPencil .per {
    font-size: 1.15rem;
  }
}

@media (min-width: 1280px) {
  #customPencil .valueProp {
    width: 55%;
  }
  #customPencil .subs_valueprop {
    font-size: 1.42rem;
    letter-spacing: 0.03rem;
  }
  #customPencil .valueProp span {
    font-size: 1.2rem;
    margin-top: 10px;
  }
}