/* Twelve-for-twelve & Free book modals */

.pf-widget.twelve-for-twelve .pf-widget-content,
.pf-widget.free-book .pf-widget-content {
  background: #fbfbfb;
  padding: 0;
  border-radius: 0;
}

.pf-widget.twelve-for-twelve .pf-widget-close,
.pf-widget.free-book .pf-widget-close {
  color: white;
}

.pf-widget.twelve-for-twelve.pf-widget-variant-2 .pf-widget-headline,
.pf-widget.free-book.pf-widget-variant-2 .pf-widget-headline {
  font-family: MiloBold, Arial, sans-serif;
  letter-spacing: 1px;
  font-size: 32px;
  line-height: 38px;
  color: white;
  margin: 0 0 10px 0;
}


.pf-widget.twelve-for-twelve.pf-widget-variant-2 .pf-widget-headline {
  height: 189px;
  background: #e20000 url('https://storage.googleapis.com/economist/12-for-12-modal/logo-large.png') no-repeat 30px 22px;
  background-size: 86px 44px;
  padding: 50px 0;
}

.pf-widget.free-book.pf-widget-variant-2 .pf-widget-headline {
  background: #e20000 url('https://storage.googleapis.com/economist/12-for-12-modal/free-book.png') no-repeat 0px 5px;
  background-size: 56px 38px;
  height: 140px;
  padding: 53px 0 0 31px;
  text-align: left;
}

.pf-widget.twelve-for-twelve.pf-widget-variant-2 .pf-widget-headline span {
  display: block;
}


.pf-widget.twelve-for-twelve .branding,
.pf-widget.free-book .branding {
 display: none;
}

.pf-widget.twelve-for-twelve.pf-widget-variant-2 .pf-widget-img,
.pf-widget.free-book.pf-widget-variant-2 .pf-widget-img {
  border-radius: 0;
  position: absolute;
  margin-left: 0;
  bottom: 0;
}


.pf-widget.twelve-for-twelve.pf-widget-variant-2 .pf-widget-img {
  width: 230px;
  height: 140px;
  left: 0;
  top: auto;
}

.pf-widget.free-book.pf-widget-variant-2 .pf-widget-img {
  width: 392px;
  height: 156px;
  right: 20px;
  left: auto;
  top: 20px;
}

.pf-widget.twelve-for-twelve .pf-widget-message {
  margin: 0;
}

.pf-widget.free-book .pf-widget-message {
  line-height: 39px;
  margin: 25px 10px 15px 20px;
  color: #2b2b2a;
  text-align: left;
  display: inline-block;
  font-family: EconSansRegular, Arial, sans-serif;
  font-size: 15px;
}

.pf-widget.twelve-for-twelve .pf-widget-btn.pf-widget-ok,
.pf-widget.free-book .pf-widget-btn.pf-widget-ok {
  background-color: #2b2b2a;
  color: white;
  float: right;
  line-height: 39px;
  padding: 0 22px 0 15px;
  border-radius: 0;
  font-size: 14px;
  box-shadow: none;
  font-family: EconSansMedium, Arial, sans-serif;
  text-transform: uppercase;
  position: relative;
}

.pf-widget.twelve-for-twelve .pf-widget-btn.pf-widget-ok {
  margin: 0 25px 10px 0;
}

.pf-widget.free-book .pf-widget-btn.pf-widget-ok {
  margin: 25px 25px 15px 0;
}

.pf-widget.twelve-for-twelve .pf-widget-btn.pf-widget-ok:after,
.pf-widget.free-book .pf-widget-btn.pf-widget-ok:after {
  content: '';
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid white;
  position: absolute;
  margin-left: 5px;
  top: 14px;
}

/* Space Hubs */

/* Modal Styles */
.pf-widget.space-hubs .pf-widget-content {
  background: #000 url("https://storage.googleapis.com/economist/spacehubs.jpg") no-repeat top center;
  background-size: 740px 370px;
  width: 740px;
  height: 370px;
  border-radius: 0;
  top: auto;
  box-shadow: none;
}
.pf-widget.space-hubs .branding {
  display: none;
}
.pf-widget.space-hubs .pf-widget-message {
  display: none;
}
.pf-widget.space-hubs .pf-widget-headline {
  display: none;
}
.pf-widget.space-hubs .pf-widget-img {
  display: none;
}
.pf-widget.space-hubs .pf-widget-btn.pf-widget-ok {
  color: none;
  padding: 15px 0 0 0;
  width: 740px;
  height: 370px;
  position: fixed;
  right: 0px;
  background-color: transparent;
  background-repeat: no-repeat;
  border: none !important;
  font-size: 0;
  cursor: pointer;
  overflow: hidden;
}

/* Food for Thought */

/* Modal Styles */
.pf-widget.food-for-thought .pf-widget-content {
  background: #000 url("https://storage.googleapis.com/economist/food-for-thought.jpg") no-repeat top center;
  background-size: 740px 191px;
  width: 740px;
  height: 191px;
  border-radius: 0;
  top: auto;
  box-shadow: none;
}
.pf-widget.food-for-thought .branding {
  display: none;
}
.pf-widget.food-for-thought .pf-widget-message {
  display: none;
}
.pf-widget.food-for-thought .pf-widget-headline {
  display: none;
}
.pf-widget.food-for-thought .pf-widget-img {
  display: none;
}
.pf-widget.food-for-thought .pf-widget-btn.pf-widget-ok {
  color: none;
  padding: 15px 0 0 0;
  width: 740px;
  height: 191px;
  position: fixed;
  right: 0px;
  background-color: transparent;
  background-repeat: no-repeat;
  border: none !important;
  font-size: 0;
  cursor: pointer;
  overflow: hidden;
}

/* Food for Thought */

/* Modal Styles */
.pf-widget.discover-our-best .pf-widget-content {
  background: #000 url("https://storage.googleapis.com/economist/discover-our-best.jpg") no-repeat top center;
  background-size: 740px 195px;
  width: 740px;
  height: 195px;
  border-radius: 0;
  top: auto;
  box-shadow: none;
}
.pf-widget.discover-our-best .branding {
  display: none;
}
.pf-widget.discover-our-best .pf-widget-message {
  display: none;
}
.pf-widget.discover-our-best .pf-widget-headline {
  display: none;
}
.pf-widget.discover-our-best .pf-widget-img {
  display: none;
}
.pf-widget.discover-our-best .pf-widget-btn.pf-widget-ok {
  color: none;
  padding: 15px 0 0 0;
  width: 740px;
  height: 195px;
  position: fixed;
  right: 0px;
  background-color: transparent;
  background-repeat: no-repeat;
  border: none !important;
  font-size: 0;
  cursor: pointer;
  overflow: hidden;
}
