/*
Theme Name: GoodRx Soaring Eagle
Theme URI: https://www.goodrx.com/blog
Author: Billy McClure
Author URI: https://i.imgur.com/ZIXM8b7.png
Description: Responsive design using Bootstrap v4.  Landing page with featured posts, channels, and post pages.
Version: 0.1
Text Domain: goodrx-soaringeagle
Tags: GoodRx
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
TODO: MAKE THE TABLE OF CONTENTS MATCH WHAT WE HAVE
1.0 Normalize
2.0 Accessibility
3.0 Alignments
4.0 Clearings
5.0 Typography
6.0 Forms
7.0 Formatting
8.0 Lists
9.0 Tables
10.0 Links
11.0 Featured Image Hover
12.0 Navigation
13.0 Layout
   13.1 Header
   13.2 Front Page
   13.3 Regular Content
   13.4 Posts
   13.5 Pages
   13.6 Footer
14.0 Comments
15.0 Widgets
16.0 Media
   16.1 Galleries
17.0 Customizer
18.0 SVGs Fallbacks
19.0 Media Queries
20.0 Print
--------------------------------------------------------------*/

/*--------------------------------------------------------------
>>> Normalize
----------------------------------------------------------------*/
body {
  color: rgba(0, 0, 0, 0.87);
  font-family: 'adelle-sans', sans-serif;
}

h1 {
  font-family: 'adelle', serif;
  font-size: 29px;
  font-weight: bold;
  line-height: 29px;
}

h2 {
  font-family: 'adelle', serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 36px;
  margin-top: 30px;
  margin-bottom: 6px;
}

h3 {
  font-family: 'adelle', serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 32px;
  margin-bottom: 6px;
  margin-top: 30px;
}

h4 {
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 20px;
}

a {
  color: #0071df;
}

.text-smallest {
  font-size: 16px;
}

a.no-style,
a.read-more:hover {
  text-decoration: none;
}

a.btn.read-more:hover {
  background-color: #d6dfe2;
}

h1.page-title {
  margin-left: 16px;
  margin-right: 16px;
}

.post ol,
.post ul {
  counter-reset: item;
  list-style: none;
}

.post ul {
  list-style: disc;
}

.post ol > li {
  margin-bottom: 10px;
  counter-increment: item;
  position: relative;
  padding-left: 10px;
}

.post ul > li {
  margin-bottom: 10px;
  padding-left: 10px;
}

.post ol > li::before {
  content: counter(item);
  background: #90a4ae;
  border-radius: 100%;
  width: 28px;
  display: inline-block;
  height: 28px;
  text-align: center;
  font-family: 'adelle', serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: bold;
  color: white;
  position: absolute;
  top: 3px;
  left: -40px;
}

.post table {
  margin-left: -16px;
  margin-right: -16px;
  font-size: 14px;
}

@media (min-width: 600px) {
  .post ol,
  .post ul {
    font-size: 18px;
    line-height: 30px;
  }

  .post ol > li {
    margin-bottom: 20px;
  }

  .post ul > li {
    margin-bottom: 20px;
  }

  .post table {
    font-size: 16px;
    margin: auto;
  }
}

.post table tr td,
.post table tr th {
  border: 0;
}

.post tr:nth-child(even) {
  background-color: #f0f3f5;
}

.post th,
.post td {
  padding: 15px 20px;
}

.post table thead tr {
  background-color: #ffee58 !important;
}

/*--------------------------------------------------------------
>>> Global Navigation Bar
----------------------------------------------------------------*/
.navbar {
  line-height: normal;
}

.navbar button {
  background: none;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 15px;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

/*--------------------------------------------------------------
>>> GoodRx Navigation Bar
----------------------------------------------------------------*/
.navbar.goodrx {
  background: #ffee58;
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  padding-top: 7px;
  padding-bottom: 7px;
}

@media (min-width: 600px) {
  .navbar.goodrx {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.navbar.goodrx a {
  color: #756d28;
  text-decoration: none;
  display: inline-block;
}

.navbar.goodrx a.btn {
  color: #fff;
}

.navbar.goodrx a:hover {
  color: #333;
}

.navbar.goodrx a.btn:hover {
  color: #fff;
}

.navbar.goodrx form {
  padding-left: 30px;
  min-width: 390px;
}

.navbar.goodrx form input {
  background: white url(./assets/images/icon-search.png) no-repeat 10px center;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
  border: 1px solid white;
  padding: 8px 12px 8px 36px;
  line-height: normal;
}

.navbar.goodrx .signup a {
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  vertical-align: middle;
}

/* Makes the drop down menu in mobile responsive look like GoodRx's mobile */
@media (max-width: 960px) {
  .navbar.goodrx .navbar-collapse.collapsing {
    overflow: unset;
    transition: height;
  }

  .navbar.goodrx .navbar-collapse ul {
    background-color: #566166;
    margin-top: 10px;
    margin-right: -16px !important;
    margin-left: -16px !important;
  }

  .navbar.goodrx .navbar-collapse ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
    font-size: 18px;
    padding: 10px 10px;
  }

  .navbar.goodrx .navbar-collapse ul li a {
    color: #fff;
  }
}

@media (min-width: 960px) {
  .goodrx .navbar-collapse {
    padding-left: 20px;
  }
}

/*--------------------------------------------------------------
>>> Blog Navigation Bar
----------------------------------------------------------------*/
.navbar.blog {
  background: #f0f3f5;
  font-size: 16px;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 50px;
}

@media (min-width: 600px) {
  .navbar.blog {
    padding-left: 32px;
    padding-right: 32px;
  }

  .channel.header h2 {
    margin-top: 0;
  }
}

.navbar-brand {
  font-family: 'adelle', serif;
  font-size: 21px;
  font-weight: bold;
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar.blog .navbar-nav {
  justify-content: space-between;
  width: 100%;
}

@media (min-width: 768px) {
  .navbar.blog .navbar-brand {
    padding-right: 40px;
  }
}

.navbar.blog a {
  color: rgba(0, 0, 0, 0.87);
  text-decoration: none;
}

.navbar.blog button {
  text-transform: none;
  border: 0;
}

.navbar.blog button.navbar-toggler {
  background: url(./assets/images/arrow-down.png) no-repeat right center;
  padding-left: 0;
}

.navbar.blog .navbar-nav .nav-item {
  display: inline-block;
}

@media (min-width: 340px) {
  .navbar.blog .navbar-nav .nav-item {
    text-align: right;
  }
}

@media (min-width: 600px) {
  .navbar.blog .navbar-nav .nav-item {
    padding-left: 1em;
    margin-right: 12px;
    padding-right: 1em;
  }
}
@media (min-width: 960px) {
  .navbar.blog .navbar-nav .nav-item {
    text-align: center;
  }
}

.navbar.blog .navbar-nav .nav-item a {
  width: 100%;
}

/*
Stick to the bootstrap rules with the navigation instead
 of the 600/960 so the navigation reactions are normalized
 */
@media (min-width: 768px) {
  .navbar.blog a {
    display: inline-block;
    padding: 16px 0 8px;
    margin-right: 0;
  }
  .navbar.blog li {
    border-bottom: 8px solid #f0f3f5;
  }
  .navbar.blog li:hover {
    border-bottom: 8px solid #dce2e6;
  }
  .navbar.blog .active,
  .navbar.blog .active:hover {
    font-weight: bold;
    border-bottom: 8px solid #1a76d1;
  }
}

/*
Very specific sizes for shortening the titles of the
  navigation when the window breaks them into two lines.
See the php function get_responsive_channel_name()
 */
@media (min-width: 768px) {
  .navbar.blog .nav-item .nav-link span {
    display: none;
  }
}
@media (min-width: 1110px) {
  .navbar.blog .nav-item .nav-link span {
    display: inline;
  }

  .navbar.blog a {
    margin-right: 12px;
  }
}
/*--------------------------------------------------------------
>>> Footer
----------------------------------------------------------------*/

footer {
  background-color: #607d8b;
  font-size: 17px;
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  padding: 0;
  color: #cfd8dc;
}

footer h4 {
  font-size: 17px;
  font-weight: bold;
  color: #cfd8dc;
  margin-bottom: 18px;
}

footer a {
  color: #90caf9 !important;
}

footer a.no-style {
  color: #cfd8dc !important;
}

footer .row.directory {
  padding-left: 0;
  padding-right: 0;
}

footer .row.directory ul li {
  padding-left: 16px;
  padding-right: 16px;
}

footer .directory ul.list-unstyled {
  margin-bottom: 0;
}

footer .directory ul li.bt-1 {
  border-top: 1px solid #546e7a;
}

footer .directory ul li {
  border-bottom: 1px solid #546e7a;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

@media (min-width: 600px) {
  footer .row.directory {
    padding-left: 32px;
    padding-right: 32px;
  }

  footer .row.directory ul li {
    padding-left: 0;
    padding-right: 0;
  }

  footer .directory ul li.bt-1 {
    border-top: none;
  }

  footer .directory ul.list-unstyled {
    margin-bottom: 45px;
  }

  footer .directory ul li {
    border-bottom: none;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
}

footer .row {
  padding-left: 16px;
  padding-right: 16px;
}

footer hr {
  border-color: #546e7a;
}

footer .darker {
  background-color: #3e5059;
}

footer .darkest {
  background-color: #37474f;
}

footer .list-inline .list-inline-item {
  padding: 10px 10px 0 10px;
}

@media (max-width: 400px) {
  .list-inline-item:not(:last-child) {
    margin-right: 0;
  }

  footer .list-inline .list-inline-item {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.logos .list-inline {
  padding-left: 0;
  list-style: none;
  text-align: center;
}
.logos .list-inline-item {
  display: inline-block;
}
.logos .list-inline-item:not(:last-child) {
  margin-right: 1.5rem;
}
.logos .logo {
  background-image: url(./assets/images/logos-media@3x.png);
  width: 125px;
  height: 50px;
  background-repeat: no-repeat;
  background-size: cover;
  text-indent: -9999px;
}
.logos .logo.logo-abc-white {
  background-position: 0 0;
  width: 48px;
}
.logos .logo.logo-today-white {
  background-position: -125px 0;
  width: 54px;
}
.logos .logo.logo-forbes-white {
  background-position: -250px 0;
  width: 86px;
}
.logos .logo.logo-ft-white {
  background-position: -375px 0;
  width: 106px;
}
.logos .logo.logo-cbs-white {
  background-position: -500px 0;
  width: 92px;
}
.logos .logo.logo-npr-white {
  background-position: -625px 0;
  width: 86px;
}
.logos .logo.logo-cnnmoney-white {
  background-position: -750px 0;
  width: 122px;
}
footer .logos .list-inline .list-inline-item {
  padding: 0;
}

footer .section-legitscript {
  max-width: 550px;
  margin: auto;
}

footer .section-legitscript img {
  max-width: 150px;
  margin-left: 10px;
  margin-right: 10px;
}

/*--------------------------------------------------------------
>>> Channel
----------------------------------------------------------------*/

.channel.header {
  margin-left: 16px;
  margin-right: 16px;
}

.channel.header h1 {
  margin-bottom: 24px;
}

.channel.header p {
  font-family: 'adelle', serif;
  font-size: 22px;
  line-height: 35px;
  margin-top: 28px;
  margin-bottom: 28px;
}

@media (min-width: 600px) {
  .channel.header p {
    margin-top: 0;
  }
}

/*--------------------------------------------------------------
>>> Article Elements
----------------------------------------------------------------*/
.breadcrumbs-links {
  padding: 16px 32px;
  font-size: 14px;
  margin-top: -50px;
}

article {
  margin-bottom: 18px;
}

article h1 {
  font-family: 'adelle', serif;
  font-weight: bold;
  line-height: 32px;
  margin-bottom: 25px;
}

article a,
article a:hover,
article a:visited {
  color: #0071df;
}

article a.read-more {
  font-weight: bold;
}

article .first-paragraph {
  font-family: 'adelle', serif;
  font-size: 17px;
  line-height: 24px;
}

article .first-paragraph:first-letter {
  float: left;
  font-size: 64px;
  font-weight: bold;
  line-height: 48px;
  padding-top: 0;
  padding-right: 8px;
  padding-left: 0;
}

article.post {
  margin: 0 16px;
}

@media (min-width: 600px) {
  article h1 {
    font-size: 29px;
    line-height: 35px;
    margin-bottom: 32px;
  }

  article p {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 20px;
  }

  article p.first-paragraph {
    font-size: 22px;
    line-height: 30px;
  }

  article .first-paragraph:first-letter {
    line-height: 58px;
  }

  article .secondary p {
    font-size: 17px;
    line-height: 25px;
  }
}

/*--------------------------------------------------------------
>>> Article Meta
----------------------------------------------------------------*/
article .meta {
  font-family: 'adelle-sans', sans-serif;
  padding: 20px 16px;
}

@media (min-width: 600px) {
  article .meta {
    padding: 20px 0;
  }

  article.channel .meta {
    padding: 23px 0;
  }

  article.channel .secondary.meta {
    margin-top: 12px;
    margin-bottom: 24px;
    padding-top: 0;
    padding-bottom: 0;
  }

  article.channel .secondary.meta .title {
    margin-bottom: 3px;
  }
}

article.small .meta {
  padding: 0 12px;
}

article .title {
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  margin-bottom: 15px;
}

article.channel .title {
  margin-bottom: 3px;
}

article.small .title {
  font-size: 15px;
  margin-bottom: 8px;
}

footer article .title {
  font-weight: 500;
  margin-bottom: 0;
}

article .by-line {
  margin-bottom: 7px;
  opacity: 0.6;
  font-size: 15px;
  color: #000000;
}

article.channel .by-line {
  margin-bottom: 6px;
}

article.small .by-line {
  font-size: 13px;
}

@media (min-width: 600px) {
  article .featured .title {
    font-size: 23px;
  }

  article .secondary .title {
    margin-bottom: 10px;
  }

  article.channel .featured .title,
  article .secondary .title {
    font-size: 20px;
    line-height: 25px;
  }

  article.channel .secondary .title {
    font-size: 18px;
    line-height: 25px;
  }

  article.small .title {
    font-size: 17px;
    line-height: 20px;
  }

  article.small .title {
    margin-bottom: 8px;
  }

  article.small .meta {
    padding: 4px 0 0 12px;
  }

  article .featured .by-line {
    font-size: 17px;
  }

  article .secondary .by-line {
    font-size: 17px;
    margin-bottom: 5px;
  }

  article.channel .by-line {
    font-size: 15px;
  }

  article.small .by-line {
    font-size: 13px;
  }

  article.home .secondary .by-line {
    font-size: 15px;
  }

  article .featured .excerpt,
  article .secondary .excerpt,
  article.channel .featured .excerpt p {
    font-size: 17px;
    line-height: 25px;
  }

  .related-posts article .title {
    font-size: 17px;
    line-height: 25px;
    margin-bottom: 5px;
  }
}

footer article .by-line {
  color: #b0bec5;
}

article .excerpt {
  /* CHANGED FOR GOOGLE SEO, WAS 15 */
  font-size: 16px;
  line-height: 20px;
}

article.post .meta {
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
  padding: 0;
}

article.post .meta:after {
  content: '.';
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

article.post .author-link:hover .photo:hover {
  opacity: 0.9;
}

article.post div.photo {
  margin-right: 10px;
}

article.post .photo {
  background: #1a76d1;
  float: left;
  border-radius: 50px;
  padding: 4px;
}

article.post .photo.no-description img {
  width: 64px;
  height: 64px;
  padding: 2px;
}

.author .author-link:link,
.author .author-link:visited {
  color: #000;
}

article.post .author {
  font-size: 20px;
  font-weight: bold;
}

article.post .tagline {
  color: rgba(0, 0, 0, 0.6);
  font-style: italic;
  line-height: 20px;
  margin-top: 4px;
  margin-bottom: 4px;
}

article.post .pubdate {
  color: rgba(0, 0, 0, 0.6);
}

@media (min-width: 600px) {
  article.post div.photo {
    margin-right: 20px;
  }
}

/*--------------------------------------------------------------
>>> Article Images
----------------------------------------------------------------*/
.featured-flag {
  width: 130px;
  height: 46px;
  position: absolute;
  margin-top: 12px;
  margin-left: -9px;
}

article.small img {
  margin-top: 4px;
  width: 96px;
}

@media (min-width: 600px) {
  article.small img {
    width: 128px;
  }
}
/*--------------------------------------------------------------
>>> Wrappers for Articles
----------------------------------------------------------------*/
.article-set {
  margin-left: 16px;
  margin-right: 16px;
}

.article-set .meta {
  padding-left: 0;
  padding-right: 0;
}

.article-set a.btn {
  border-radius: 4px;
  border-color: #f5f6f7;
  background-color: #f5f6f7;
  font-size: 15px;
  color: #0074d8;
  padding: 8px 16px;
  margin-bottom: 40px;
}

/*--------------------------------------------------------------
>>> Post page specific
----------------------------------------------------------------*/
.related-posts-header {
  font-family: 'adelle', serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.33;
  margin-top: 18px;
  margin-bottom: 18px;
}

/*--------------------------------------------------------------
>>> Pagination
----------------------------------------------------------------*/

.page-numbers {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-numbers:hover {
  color: #0056b3;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

/*--------------------------------------------------------------
>>> Evergreen Content
----------------------------------------------------------------*/
.evergreen {
  font-family: 'adelle', serif;
  font-size: 20px;
  line-height: 28px;
  margin: 20px 16px 56px 16px;
}

.evergreen p {
  margin-bottom: 30px;
}

.evergreen .content {
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
  overflow: auto;
  white-space: nowrap;
}

.evergreen .content div {
  margin-right: 16px;
}

.evergreen .content img {
  height: 160px;
}

@media (min-width: 600px) {
  .evergreen {
    font-size: 22px;
    line-height: 35px;
  }

  .evergreen p {
    margin-bottom: 35px;
  }

  .evergreen .content {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .evergreen .content .d-inline-block {
    margin-left: 16px;
    margin-right: 0;
  }

  .evergreen .content .d-inline-block:first-child {
    margin: 0;
  }

  .evergreen .content img {
    width: 224px;
    height: 206px;
  }
}

@media (min-width: 960px) {
  .evergreen .content {
    overflow: unset;
  }

  .evergreen .content img {
    width: 250px;
    height: 234px;
  }
}

/*--------------------------------------------------------------
>>> Promos
----------------------------------------------------------------*/
.promo {
  font-family: 'adelle-sans', sans-serif;
  margin: 20px 16px 42px 16px;
  padding: 30px 0;
  /* this is due to old blog posts that have right-foated images */
  clear: both;
}

@media (min-width: 600px) {
  .promo {
    padding: 20px 0;
  }
}

.promo.fluid {
  padding-left: 16px;
  padding-right: 16px;
  margin-left: 0;
  margin-right: 0;
}

article.post .promo.fluid {
  margin-left: -16px;
  margin-right: -16px;
}

.promo.bordered {
  border-top: 1px solid #abbec6;
  border-bottom: 1px solid #abbec6;
}

.promo .title {
  font-size: 17px;
  font-weight: bold;
  line-height: 1.18;
}

.promo .text {
  font-size: 13px;
  line-height: 1.54;
}

.promo form {
  margin-top: 10px;
  margin-bottom: 10px;
}

.promo input,
footer input {
  font-size: 17px;
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px solid #c8cacc;
}

.promo input[type='submit'],
footer input[type='submit'] {
  background: #0074d8;
  color: white;
  font-weight: bold;
}

.promo input[type='submit'] {
  border: none;
}

footer input[type='submit'] {
  border: 1px solid #0074d8;
}

/*--------------------------------------------------------------
>>> Promos: Twitter
----------------------------------------------------------------*/
.promo.twitter {
  font-size: 17px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.promo.twitter img {
  margin: 5px 12.5px 20px 4px;
  width: 22px;
  vertical-align: top;
  float: left;
}

@media (min-width: 600px) {
  .promo.twitter {
    text-align: center;
  }

  .promo.twitter img {
    float: none;
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
>>> Promos: Newsletter
----------------------------------------------------------------*/
.promo.newsletter {
  background-color: #f5f6f7;
  margin-bottom: 52px;
}

.promo.newsletter .title {
  font-size: 23px;
}

.promo.newsletter .text {
  font-size: 17px;
  line-height: 1.47;
}

/* overwrite the goodrx styles */
.promo.newsletter input[type='submit'] {
  height: 47px !important;
  line-height: inherit !important;
}

@media (max-width: 796px) {
  footer div[data-grx-widget='subscribe-newsletter'] input,
  .promo.newsletter input {
    padding-left: 10px;
    padding-right: 10px;
  }

  footer div[data-grx-widget='subscribe-newsletter'] input[type='email'],
  .promo.newsletter input[type='email'] {
    width: 175px;
  }
}

@media (min-width: 600px) {
  .promo.newsletter {
    border-radius: 5px;
    border-left: solid 2px #d6dfe3;
    border-right: solid 2px #d6dfe3;
    padding-left: 30px;
    padding-right: 30px;
  }

  .promo.newsletter input[type='email'] {
    margin-right: 20px;
    min-width: 230px;
  }
}

@media (max-width: 796px) {
  .modal[data-grx-widget='subscribe-newsletter-modal'] .modal-header {
    background: url(./assets/images/pigg-bank@2x.png) #fff no-repeat;
    background-size: 56px 99px;
    background-position: 16px 4px;
    min-height: 100px;
  }
  .modal[data-grx-widget='subscribe-newsletter-modal'] .modal-title {
    padding-left: 88px;
    padding-top: 25px;
  }
}
@media (min-width: 796px) {
  .modal[data-grx-widget='subscribe-newsletter-modal'] .modal-content {
    background: url(./assets/images/pigg-bank@3x.png) #fff no-repeat;
    background-size: 118px 208px;
    background-position: 26px 29px;
  }
  .modal[data-grx-widget='subscribe-newsletter-modal'] .modal-header,
  .modal[data-grx-widget='subscribe-newsletter-modal'] .modal-body {
    padding-left: 192px;
  }
}
/*--------------------------------------------------------------
>>> Promos: App
----------------------------------------------------------------*/
.promo.app {
  padding: 18px;
  background-color: rgba(96, 125, 139, 0.12);
}

.promo.app .media-body {
  padding: 10px;
}

.promo.app .title {
  font-size: 17px;
  line-height: 20px;
  margin-bottom: 10px;
}

.promo.app .media-body {
  font-size: 13px;
  line-height: 20px;
}

.promo.app .promo-buttons {
  padding: 25px;
}

.promo.app .promo-buttons .promo-button-android {
  padding-bottom: 10px;
}

@media (min-width: 600px) {
  .promo.app {
    margin-bottom: 60px;
  }

  .promo.app .media-body .title {
    font-size: 23px;
    line-height: 30px;
    margin-bottom: 5px;
  }

  .promo.app .media-body .text {
    font-size: 18px;
    line-height: 30px;
  }
}

/*--------------------------------------------------------------
>>> Promos: Follow
----------------------------------------------------------------*/
.promo.follow {
  text-align: center;
}

.promo.follow .follow-icon {
  vertical-align: text-bottom;
}

.promo.follow img {
  width: 18px;
  display: inline-block;
  margin: 0 10px;
}

@media (min-width: 600px) {
  .promo.follow {
    font-size: 17px;
    padding: 30px 0;
  }
}

/*--------------------------------------------------------------
>>> Widgets
----------------------------------------------------------------*/

.widget {
  margin-left: 16px;
  margin-right: 16px;
}

.widget h3 {
  font-family: 'adelle-sans', sans-serif;
  font-size: 18px;
  line-height: 30px;
}

.outlined-boxes a:hover {
  text-decoration: none;
}

.outlined-boxes div div {
  border-radius: 4px;
  border: solid 1px #c8cacc;
  padding: 12px;
  margin-bottom: 8px;
}

.outlined-boxes div a div:hover,
.outlined-boxes div.d-inline-block:hover {
  background-color: #f5f6f7;
}

@media (min-width: 600px) {
  .outlined-boxes div div {
    font-size: 20px;
    margin-bottom: 20px;
    padding: 20px 25px;
  }
}

/*--------------------------------------------------------------
>>> Widgets: Coupon Overlay Link
----------------------------------------------------------------*/

.coupon-overlay {
  display: inline-block;
  background-color: #f0f3f5;
  padding: 0 10px;
  font-weight: bold;
}

.coupon-overlay:hover {
  background-color: #d6dfe2;
}

.coupon-overlay::after {
  background-image: url(./assets/images/icon-price-link@3x.png);
  background-size: 12px 12px;
  display: inline-block;
  width: 12px;
  height: 12px;
  content: '';
  margin-left: 5px;
}

.coupon-overlay:hover {
  text-decoration: none;
}

/*--------------------------------------------------------------
>>> Widgets: Coupon Overlay Widget
----------------------------------------------------------------*/

.coupon-overlay-wrapper {
  display: none;
  font-family: 'adelle-sans', sans-serif;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.5);
  border: solid 2px #0071df;
  position: absolute;
  left: 0;
  z-index: 10;
}

.coupon-overlay-wrapper .coupon-overlay-header {
  background-color: #f0f3f5;
  padding: 12px 15px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
}

.coupon-overlay-wrapper .coupon-overlay-header .coupon-overlay-title {
  font-size: 20px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.87);
}
.coupon-overlay-wrapper .coupon-overlay-header .coupon-overlay-subtitle {
  font-size: 17px;
  font-weight: normal;
  color: rgba(0, 0, 0, 0.54);
}
.coupon-overlay-wrapper .coupon-overlay-price-row {
  cursor: pointer;
  padding: 12px 15px;
  border-bottom: 1px solid #b0bec5;
  height: 75px;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}

.coupon-overlay-wrapper .coupon-overlay-price-row:hover {
  border: 1px solid #43a047;
}

.coupon-overlay-wrapper .coupon-overlay-price-row:hover .coupon-overlay-price {
  background-color: #378e3c;
}

.coupon-overlay-wrapper .coupon-overlay-price-row div {
  display: inline-block;
}

.coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-logo {
  display: none;
  text-align: center;
}
.coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-pharmacy {
  font-size: 20px;
}
.coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-logo,
.coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-retail {
  width: 75px;
}

.coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-price {
  width: 95px;
}
.coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-logo img {
  max-height: 45px;
  max-width: 45px;
  margin-right: 10px;
}
.coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-pharmacy {
  width: 180px;
}
.coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-retail {
  text-align: right;
}
.coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-price {
  text-align: center;
  float: right;
  background: #43a047;
  border-radius: 3px;
  color: white;
  padding-bottom: 3px;
  padding-top: 7px;
}

.coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-price-type {
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  display: block;
}
.coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-price-price {
  font-size: 17px;
  line-height: 25px;
  font-weight: bold;
}
.coupon-overlay-wrapper .coupon-overlay-footer {
  background-color: #f0f3f5;
  font-size: 15px;
  line-height: 20px;
  padding: 12px 15px;
  text-align: center;
}
@media (min-width: 600px) {
  .coupon-overlay-wrapper {
    width: 480px;
  }
  .coupon-overlay-wrapper .coupon-overlay-price-row .coupon-overlay-logo {
    display: inline;
  }
}

/*--------------------------------------------------------------
>>> Widgets: Featured Drugs (Post Page)
----------------------------------------------------------------*/
.widget.featured-drugs,
.widget.post-tags {
  font-size: 15px;
  line-height: 30px;
}

.widget.featured-drugs .featured-drug {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 20px;
}

.widget.featured-drugs .featured-drug .widget-featured-drugs-info {
  padding: 10px 0 12px 20px;
  display: flex;
  flex-direction: column;
  border-radius: 4px 0 0 4px;
  border: solid 1px #c8cacc;
  border-right: 0;
  flex-grow: 1;
}

.widget.featured-drugs .widget-featured-drugs-action-link {
  font-size: 14px;
  font-weight: bold;
  border-radius: 0 4px 4px 0;
  border: solid 1px #c8cacc;
  padding: 10px 20px 12px;
  display: flex;
  align-items: center;
}

.widget.featured-drugs .widget-featured-drugs-name,
.widget.post-tags .widget-post-tags-name {
  font-family: 'adelle-sans', sans-serif;
  font-weight: bold;
}

.widget.featured-drugs .widget-featured-drugs-price-info {
  font-size: 14px;
  color: #7a7a7a;
}

@media (min-width: 600px) {
  .widget.featured-drugs .widget-featured-drugs-name,
  .widget.post-tags .widget-post-tags-name {
    font-size: 18px;
  }
}
/*--------------------------------------------------------------
>>> Ads: Post Page
----------------------------------------------------------------*/
div[id^='div-gpt-ad-'] {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

/*----------------------------------------
>>> Modals
----------------------------------------*/
@media (min-width: 796px) {
  .modal-dialog {
    min-width: 796px;
  }
}

.modal-content {
  border-radius: 12px;
  border: solid 5px #ffee58;
}

.modal-header {
  border-bottom: none;
  padding-top: 20px;
  padding-bottom: 0;
}

.modal-title {
  font-size: 24px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.17;
  letter-spacing: normal;
  text-align: left;
  color: #444444;
}

.modal-header,
.modal-body,
.modal-footer {
  padding-left: 16px;
  padding-right: 16px;
}

.modal-footer {
  background-color: #f0f3f5;
  display: block;
}

.modal .modal-footer form.full input[type='email'] {
  width: 100%;
  display: block;
  font-size: 20px;
  padding: 19px 20px;
  border-radius: 4px;
  border: 1px solid #c8cacc;
}

.modal .modal-footer button {
  padding: 18px 34px;
  font-size: 20px;
  font-weight: bold;
}

.modal .modal-footer form.full button {
  vertical-align: baseline;
  width: 100%;
  display: block;
}

@media (min-width: 796px) {
  .modal-header button.close {
    position: relative;
    top: -44px;
    left: 64px;
    font-size: 2.5em;
    font-weight: 100;
  }

  .modal .modal-footer form.full input[type='email'] {
    display: inline;
    width: 447px;
  }
  .modal .modal-footer form.full button {
    display: inline;
    width: 160px;
  }

  .modal-header {
    padding-top: 60px;
  }

  .modal-title {
    font-size: 40px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 0.75;
    letter-spacing: normal;
    text-align: left;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 80px;
    padding-right: 80px;
  }
}

.modal .modal-footer .disclaimer {
  text-align: center;
  padding-top: 10px;
  color: #607d8b;
  font-size: 15px;
  margin-bottom: 5px;
}

/*--------------------------------------------------------------
>>> Archive Pages
----------------------------------------------------------------*/
.grx-container.archive .article-set article.small img {
  width: 96px;
}

@media (min-width: 600px) {
  .grx-container.archive .article-set article {
    margin-bottom: 30px;
  }

  .grx-container.archive .article-set .title {
    font-size: 20px;
    line-height: 25px;
  }

  .grx-container.archive .article-set .by-line {
    font-size: 15px;
  }

  .grx-container.archive .article-set .excerpt p {
    font-size: 17px;
    line-height: 25px;
  }

  .grx-container.archive .article-set article.small img {
    width: 140px;
  }

  .grx-container.archive .article-set .media-body {
    padding: 0 0 0 24px;
  }
}

/*--------------------------------------------------------------
>>> Maintenance Pages
----------------------------------------------------------------*/
.four-oh-four {
  margin-top: 60px;
}

.four-oh-four img {
  width: 100%;
}

@media (min-width: 600px) {
  .four-oh-four img {
    margin-bottom: 56px;
    width: 555px;
  }

  .four-oh-four p {
    max-width: 555px;
    margin: auto;
    margin-bottom: 24px;
    padding-left: 55px;
    padding-right: 55px;
  }
}

/*--------------------------------------------------------------
>>> Global responsive settings
----------------------------------------------------------------*/

.grx-container.gutters,
.grx-container.mobile-gutters {
  margin-left: 16px;
  margin-right: 16px;
}

@media (min-width: 600px) {
  .grx-container,
  .mobile-gutters,
  article.post,
  .promo,
  .promo-fluid,
  .evergreen,
  .channel.header,
  .widget,
  h1.page-title {
    margin-right: 80px !important;
    margin-left: 80px !important;
  }

  footer .row {
    padding-left: 32px;
    padding-right: 32px;
  }

  article .promo.fluid {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .promo.fluid.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }

  .grx-container.gutters {
    margin-right: 32px !important;
    margin-left: 32px !important;
  }

  .grx-container.related-posts {
    width: auto;
  }

  .article-set,
  .article-set article,
  footer article {
    margin-left: 0;
    margin-right: 0;
  }

  .channel.header {
    padding-left: 0;
    padding-right: 0;
  }

  .col-md-4 article {
    margin-bottom: 0;
  }

  .inside-padding .col-md-6:nth-child(even) {
    padding-left: 10px;
  }

  .inside-padding .col-md-6:nth-child(odd) {
    padding-right: 10px;
  }

  .pr-md-7 {
    padding-right: 100px !important;
  }
}

@media (min-width: 960px) {
  .grx-container,
  .mobile-gutters,
  .promo,
  .promo.fluid,
  .evergreen,
  .channel.header,
  .widget,
  h1.page-title {
    width: 796px;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  article.post,
  article.post .promo,
  article.post .evergreen,
  .post.grx-container {
    width: 632px;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  article .promo.fluid {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .grx-container.gutters {
    margin-right: 32px !important;
    margin-left: 32px !important;
  }

  .article-set,
  .article-set article,
  footer article {
    margin-left: 0;
    margin-right: 0;
  }

  .channel.header {
    padding-left: 0;
    padding-right: 0;
  }
}

/*--------------------------------------------------------------
>>> Helper classes
----------------------------------------------------------------*/
.btn.blue {
  background: #1976d2;
  color: white;
  border: none;
}

.btn.blue:hover {
  background: #1565c0;
  cursor: pointer;
}

.text-soft {
  color: #b0bec5;
}
.list-unstyled li {
  padding: 6px 0;
}

.inside-padding.grx-border-bottom div.col-12 {
  border-bottom: 2px solid rgba(96, 125, 139, 0.25);
}

.inside-padding.grx-border-bottom div.col-12:last-child {
  border-bottom: 0 !important;
}

.mb20 {
  margin-bottom: 20px;
}

.mb28 {
  margin-bottom: 28px;
}

.mb40 {
  margin-bottom: 40px !important;
}

.mb64 {
  margin-bottom: 68px !important;
}

.mb68 {
  margin-bottom: 68px !important;
}

.mb80 {
  margin-bottom: 68px !important;
}

.mb90 {
  margin-bottom: 90px !important;
}

.p32 {
  padding-top: 32px;
  padding-bottom: 32px;
}

.p48 {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 600px) {
  .breadcrumbs-links {
    padding: 16px;
  }

  .breadcrumbs-links .breadcrumb-link-1 {
    background: url('./assets/images/home.svg');
    text-indent: -9999em;
    display: inline-block;
    width: 16px;
    height: 14px;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    top: 3px;
  }

  .px-sm-16 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.gold-circle {
  border-radius: 6px;
  background-color: #ffc33a;
  border: 1px solid #ffc33a;
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 2px;
  margin-bottom: 3px;
}

/*--------------------------------------------------------------
>>> Old Blog Styles
----------------------------------------------------------------*/
.alignright {
  display: block;
  margin: 30px auto 30px auto;
  max-width: 100%;
  height: auto;
}

@media (min-width: 600px) {
  .alignright {
    float: right;
    margin: 30px 0 30px 30px;
  }
}

.aligncenter {
  display: block;
  margin: 30px auto 30px auto;
  max-width: 100%;
  height: auto;
}

.post table caption {
  caption-side: unset;
  text-align: center;
  color: #000;
}

.post table {
  width: auto !important;
  height: auto !important;
}

.post table.aligncenter {
  display: table;
}

/*--------------------------------------------------------------
>>> Plugins
----------------------------------------------------------------*/

/* Hide a little arrow under the share icon */
.heateorSssSharingArrow {
  display: none !important;
}
.heateor_sss_vertical_sharing {
  z-index: 9 !important;
}

/* make rounded icons on post page */
@media (min-width: 783px) {
  .heateor_sss_vertical_sharing .heateor_sss_sharing_ul li i {
    border-radius: 999px;
    margin-bottom: 33px !important;
  }
}

@media (min-width: 960px) {
  .heateor_sss_vertical_sharing {
    left: 40px !important;
  }
}

/* Facebook comments near footer on post page */
.heateor_ffc_facebook_comments {
  padding: 40px 16px;
}
@media (min-width: 600px) {
  .heateor_ffc_facebook_comments {
    padding-right: 80px;
    padding-left: 80px;
  }
}
@media (min-width: 960px) {
  .heateor_ffc_facebook_comments {
    padding-right: 171px;
    padding-left: 171px;
  }
}

/*--------------------------------------------------------------
>>> Typeahead
----------------------------------------------------------------*/

.twitter-typeahead {
  width: 100% !important;
}
.twitter-typeahead input {
  width: 100% !important;
}
.tt-menu {
  background: white;
  width: 100%;
  margin-top: 3px;
}
.tt-dataset-goodrx-drugs {
  font-size: 16px;
  line-height: 1.5;
}
.tt-dataset-goodrx-drugs .tt-suggestion {
  cursor: pointer;
  color: #0d47a1;
  display: block;
  height: 100%;
  padding: 8px 16px;
  text-decoration: none;
  width: 100%;
}
.tt-dataset-goodrx-drugs .tt-suggestion:hover,
.tt-dataset-goodrx-drugs .tt-suggestion.tt-cursor {
  background: #1194f6;
  color: #fff;
}

/*--------------------------------------------------------------
>>> Osano
----------------------------------------------------------------*/

div.osano-cm-window > div.osano-cm-info-dialog-wrapper > div > ul > li:nth-child(5) {
  display: none;
}

.osano-cm-dialog {
  display: none;
}

.osano-cm-widget {
  display: none;
}

.osano-link {
  background: none;
  border: none;
  color: #90caf9 !important;
  cursor: pointer;
}

.osano-link:hover {
  text-decoration: underline;
}
