/* --- Center for Women Veterans GovDelivery Subscription Promo Block --- */
/* - Currently targeted for right-column of VHA Template, but the layout rules can be expanded to accommodate content area usage as well - */


#innerRightContent > .widget:nth-child(2) {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.widget .promo {
  /* Override of right column .widget(parent) container's 3px gap above and bottom padding */
  /* margin-top: -3px;
  margin-bottom: -3px; */
  padding-top: 0px;
  padding-bottom: 0px;
}
 
/* Container block for the promo */
#cwv-promo.promo {
  box-sizing: border-box;
  /* margin: 0px; */
  margin-top: -3px !important;
  margin-bottom: 12px;
  padding: 0px;
  font-family: "Myriad Pro Bold Condensed", "Arial Narrow", "Arial", sans-serif;
  font-weight: 500;
  border: 0px;
  font-family: unset !important;
  width: 100%;
  margin: 0px 0px 0px 0px;
}

#cwv-promo.promo > a {
  width: 100%;
  padding: 1em;
  background-color: #184579;
  color: #fff;
  text-decoration: none;
  transition-property: background-color, color;
  transition-duration: 0.25s;
}

#cwv-promo.promo > a:hover, #cwv-promo.promo > a:focus {
  background-color: #255fa2;
}

#cwv-promo.promo > a > span {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 6px 0px 0px 0px;
  padding: 0px;
  border: 0px;
  text-align: center;
  font-size: 1.5em;
  line-height: 1.25em;
  
}

#cwv-promo.promo > a > span:before {
  display: inline-flex;
  content: '';
  width: 160px;
  height: 40px;
  margin: 0px 0px 1em 0px;
  padding: 0px 0px 0px 0px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url('/WOMENSHEALTH/images/icon-envelope-outline-white-open-white.svg');
}

#cwv-promo.promo > a > span:after {
  display: none;
  content: unset;
}




@media screen and (max-width: 960px) and (min-width: 480px) { /*and (min-width: 769px) {*/
/* Change layout to be more horizontally oriented for mid-range display sizes */

  #cwv-promo.promo {
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
  }

  #cwv-promo.promo > a {
    width: 100%;
    margin: 0px;
    /* padding: 1em; */
  }

  #cwv-promo.promo > a > span {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 0px; 
    padding: 6px;
    border: 0px;
    text-align: left;
    font-size: 1.5em;
    background: none;
  }

  #cwv-promo.promo > a > span:before {
    width: 120px;
    height: 45px;
    padding: 0px 0px 0px 1em;
    margin: 0px 0px 0px 0px;
    background-position: center center;
  }

}
