/**
 * CONTENTS
 *
 * Globals..............Body and top level resets.
 *
 * Layout...............Structural blocks.
 *
 * Typography...........Type elements.
 *
 * Buttons..............Buttons and links.
 *
 * Pages................Page specific.
 **/



/**
 = Globals
 */

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}


/**
 = ALERT OVERRIDE - REMOVE AFTER CHRISTMAS
 */
@media (max-width: 767px), only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
  div.alert-message {
    margin-top: 48px;
    margin-bottom: -48px;
    z-index:5;
  }
}



/**
 = Layout
 */

/* Global overrides */
.container,
#breadcrumb ul,
#footer #menu,
#footer #sub-menu,
#footer #bottom-menu {
  max-width: 960px;
  width: auto;
  padding-left: 15px;
  padding-right: 15px;
}

#content,
#tooltip-container {
  overflow: initial;
}

#mobile-toggle {
  display: none !important;
}

.clearfix::after {
  content: '';
  clear: both;
  display: table;
}

/* Thickboxes */
@media (max-width: 767px) {
  #TB_window {
    width: 100% !important;
    margin-left: 0 !important;
    left: 0;
  }
    #TB_iframeContent {
      width: 100% !important;
    }

    body.iframed fieldset#enewsletter-sub-form {
      width: 100%;
    }
}

#TB_iframeContent {
  width: 100% !important;
}

@media (min-width: 768px) {
  .responsive-video iframe,
  .responsive-video object {
    max-width: 100%;
  }
}

@media (max-width: 767px), only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
  .responsive-video {
    width: 100%;
    padding-bottom: 52.65%;
    position: relative;
    height: 0;
  }
    .responsive-video iframe,
    .responsive-video object {
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      height: 100% !important;
      width: 100% !important;
    }
}

/* Header */
  @media (max-width: 900px) {
    #header h1 a:hover,
    #header h1 a:focus,
    #header h1 a:active {
      text-decoration: none;
    }
  }

  @media (min-width: 410px) and (max-width: 900px), only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    #header h1 a {
      height: 41px;
      width: 277px;

      background: url('../images/Ligonier_Logo.png') no-repeat 0px 9px;
    }
  }

  @media (max-width: 410px) {
    #header h1 a {
      height: 40px;
      width: 35px;

      background: url('../images/Ligonier_Icon.png') no-repeat 0px 9px;
    }
  }

a#show-cart-dropdown {
  width: auto;
}
  a#show-cart-dropdown:hover {
    border-radius: 3px;
    background-position: 0 -2px;
  }

#nav {
  left: 10px;
}
  #nav li.nav-item a.top-nav {
    width: auto;
    margin-right: 1.25em;
  }
    #nav li.nav-item:last-of-type a.top-nav { margin-right: 0; }

  #nav #nav-give .mega-menu {
    left: -20px;
  }

  @media (min-width: 800px) {
    #nav li.nav-item a.top-nav {
      margin-right: 1.5em;
    }
  }

  @media (min-width: 850px) {
    #nav {
      left: -8px;
    }
      #nav li.nav-item a.top-nav {
        margin-right: 0;
      }

      #nav #nav-home a.top-nav        { width:  96px; }
      #nav #nav-learn a.top-nav       { width: 103px; }
      #nav #nav-ministries a.top-nav  { width: 150px; }
      #nav #nav-events a.top-nav      { width: 112px; }
      #nav #nav-give a.top-nav        { width:  84px; }
      #nav #nav-store a.top-nav       { width:  96px; }

      #nav #nav-give .mega-menu {
        left: 0;
      }
  }

form#search input, form.search input {
  height: 28px;
}

.mobile-nav-container #search fieldset {
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
}



@media (max-width: 767px), only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
  #global-contain {
    background: none;
  }

  /* Header */
  #header {
    position: fixed;
    height: 48px;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
  }
  #wrap {
    margin-top: 48px;
  }
  #header .container {
    height: 48px;
    padding-right: 0;
  }

  /* Mobile Navigation */
  .mobile-top-links {
    margin: 0;
    padding: 0;
    float: right;
  }
    .mobile-top-links a,
    .mobile-top-links .sep {
      display: block;
      float: left;
      position: relative;
      height: 48px;
      width: 48px;
      
    }
      .mobile-top-links .mobile-cart {
        background: url('../images/_mobile-cart.png') center no-repeat;
        color: #3e4313;
      }
        .mobile-cart span {
          position: absolute;
          right: calc(100% - 2px);
          top: 50%;

          font-family: "Lucida Grande", Georgia, serif;
          font-size: .8em;
          font-weight: bold;

          -webkit-transform: translateY(-50%);
             -moz-transform: translateY(-50%);
              -ms-transform: translateY(-50%);
                  transform: translateY(-50%);
        }

      .mobile-top-links .sep {
        height: 20px;
        width: 1px;
        margin-top: 14px;
        margin-left: 5px;

        background-color: #616a00;
      }

      .mobile-top-links .mobile-cart,
      .mobile-top-links .sep {
        display: none;
      }

        .page--store .mobile-top-links .mobile-cart,
        .page--store .mobile-top-links .sep {
          display: block;
        }


      .mobile-top-links .mobile-nav {
        background: url('../images/_mobile-burger.png') center no-repeat;
      }

  .mobile-nav-container,
  .mobile-cart-container {
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100vh - 48px);
    width: 100%;
    background-color: #f3f3f3;
    overflow: auto;
    opacity: 0;

    -webkit-transform: translateY(-200%);
       -moz-transform: translateY(-200%);
        -ms-transform: translateY(-200%);
            transform: translateY(-200%);

    -webkit-transition: .25s ease;
            transition: .25s ease;
  }
    .mobile-nav-container.is-visible,
    .mobile-cart-container.is-visible {
      opacity: 1;

      -webkit-transform: translateY(48px);
         -moz-transform: translateY(48px);
          -ms-transform: translateY(48px);
              transform: translateY(48px);
    }


    .mobile-nav-container::before,
    .mobile-cart-container::before {
      content: '';
      position: absolute;
      top: -8px;
      right: 15px;
      border-style: solid;
      border-width: 0 8px 8px 8px;
    }
      .mobile-nav-container::before {
        border-color: transparent transparent #e6e6e6 transparent;
      }
      .mobile-cart-container::before {
        right: 70px;
        border-color: transparent transparent #fff transparent;
      }

    .mobile-nav-container #search,
    .mobile-nav-container #nav {
      position: static;
    }

    .mobile-nav-container #search {
      width: 100%;
      padding: 10px;
      height: auto;
      background: #e6e6e6;
      border: none;
    }
      .mobile-nav-container.submenu-active #search {
        padding: 10px 0 10px 4px;
      }

      .mobile-nav-container #search fieldset {
        margin: 0;
        padding: 0;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 3px;
      }
        .mobile-nav-container.submenu-active #search fieldset {
          background: transparent;
          border-color: transparent;
        }

        .mobile-nav-container #search input,
        .mobile-nav-container form.search input {
          height: auto;
          margin: 0;
          padding: .5em 1em .5em .75em;
          width: calc(100% - 40px);
          background: transparent;
          border: none;
          color: #bfbfbf;
          font-size: 16px;

          -webkit-transition: .25s ease;
                  transition: .25s ease;
        }
          .mobile-nav-container.submenu-active #search input,
          .mobile-nav-container.submenu-active form.search input {
            width: 0;
            opacity: 0;
            padding: 0;
          }

        .mobile-nav-container form#search button,
        .mobile-nav-container form.search button {
          background: url('../images/_m-search-icon.png') no-repeat center;
          margin: 0;
          width: 40px;
          height: 34px;
          float: left;
        }

    .mobile-nav-container #nav {
      height: auto;
    }
      .mobile-nav-container #nav li.nav-item {
        display: block;
        float: none;
        height: auto;
        z-index: initial;
      }
        .mobile-nav-container #nav li.nav-item.has-menu::after {
          content: '';
          display: table;
          clear: both;
        }

        .mobile-nav-container.submenu-active #nav li.nav-item a.top-nav,
        .mobile-nav-container.submenu-active #nav li.nav-item .arrow {
          opacity: 0;
        }
        .mobile-nav-container.submenu-active #nav li.current {
          border-left-color: #f3f3f3;
        }

        .mobile-nav-container #nav li.current {
          background: none;
          border-left: 4px solid #9ca836;
        }

        .mobile-nav-container #nav li.nav-item.logged-in a.top-nav {
          width: 50%;
          float: left;
        }
          .mobile-nav-container #nav li.nav-item.logged-in a.top-nav:last-of-type {
            border-left: 1px solid #d9d9d9;
          }

      .mobile-nav-container #nav li.nav-item a.top-nav,
      .mobile-nav-container .nav-panel ul a,
      .mobile-nav-container .contain ul li {
        display: block;
        padding: 0 20px;
        margin-right: 0;
        position: relative;
        float: none;

        text-align: left;
        height: 48px;
        border-bottom: 1px solid #d9d9d9;
        color: #4b4b4b;
        font-size: 16px;
        font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
        line-height: 48px;

        -webkit-text-shadow: none;
                text-shadow: none;

        -webkit-transition: color .25s ease;
                transition: color .25s ease;
      }
        .mobile-nav-container #nav li.nav-item.has-menu a.top-nav {
          float: left;
          width: calc(100% - 51px);
        }
        .mobile-nav-container .nav-panel ul a,
        .mobile-nav-container .contain ul li {
          font-size: 14px;
          padding: 0 0 0 2em;
        }
        .mobile-nav-container .contain ul li,
        .mobile-nav-container .contain ul li a:not(.mobile-back) {
          display: block;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          padding-left: 0px;
        }
          .mobile-nav-container .contain ul li a:not(.mobile-back) {
            padding-left: 20px;
          }

          .mobile-nav-container .contain ul li a:not(.mobile-back) + a {
            padding-left: 0;
          }

          .mobile-nav-container #second-level-0 ul li:nth-child(2) a {
            display: inline;
          }

          .mobile-nav-container .nav-panel ul a::after {
            content: '';
            position: absolute;
            top: 50%; right: 15px;
            margin-top: -7px;
            border-style: solid;
            border-width: 7px 0 7px 9px;
            border-color: transparent transparent transparent #4b4b4b;
          }

          .mega-menu a.all {
            padding: 0 0 0 20px;
            margin-left: 15px;
          }

        .mobile-nav-container #nav .nav-panel a:hover,
        .mobile-nav-container #nav .nav-panel a:focus,
        .mobile-nav-container #nav .nav-panel a:active,
        .mobile-nav-container .contain ul a:hover,
        .mobile-nav-container .contain ul a:focus,
        .mobile-nav-container .contain ul a:active {
          background: #9ca836;
          color: #fff;
        }
          .mobile-nav-container .nav-panel ul a:hover::after,
          .mobile-nav-container .nav-panel ul a:focus::after,
          .mobile-nav-container .nav-panel ul a:active::after {
            border-color: transparent transparent transparent #fff;
          }

        @media (max-width: 400px) {
          .mobile-nav-container #nav li.nav-item a.top-nav {
            font-size: 14px;
            letter-spacing: 2px;
          }
        }
        .mobile-nav-container #nav li.nav-item.show-menu a.top-nav {
          z-index: initial;
        }

      .mobile-nav-container #nav li.nav-item .mega-menu {
        display: block;
        position: absolute;
        width: auto !important;
      }
        .mobile-nav-container #nav li.nav-item.show-menu .mega-menu {
          font: inherit;
          line-height: inherit;
        }
          .mobile-nav-container #nav .mega-menu .top,
          .mobile-nav-container #nav .mega-menu .contain,
          .mobile-nav-container #nav .mega-menu .bottom,
          .mobile-nav-container #nav .mega-menu .contain .category-browse,
          .mobile-nav-container #nav #nav-ministries .top,
          .mobile-nav-container #nav #nav-give .top,
          .mobile-nav-container #nav #nav-store .top,
          .mobile-nav-container #nav #nav-events .top,
          .mobile-nav-container #nav #nav-ministries .contain,
          .mobile-nav-container #nav #nav-give .contain,
          .mobile-nav-container #nav #nav-store .contain,
          .mobile-nav-container #nav #nav-events .contain,
          .mobile-nav-container #nav #nav-ministries .bottom,
          .mobile-nav-container #nav #nav-give .bottom,
          .mobile-nav-container #nav #nav-store .bottom,
          .mobile-nav-container #nav #nav-events .bottom,
          .mobile-nav-container #nav #nav-ministries .mega-menu .contain ul,
          .mobile-nav-container #nav #nav-give .mega-menu .contain ul,
          .mobile-nav-container #nav #nav-store .mega-menu .contain ul,
          .mobile-nav-container #nav #nav-events .mega-menu .contain ul {
            background: none;
          }

          .mega-menu ul.category-browse li.wide {
            border-left-width: 0;
          }

          #nav .mega-menu h3 {
            display: none;
          }

          #nav #nav-ministries .mega-menu ul,
          #nav #nav-give .mega-menu ul,
          #nav #nav-store .mega-menu ul,
          #nav #nav-events .mega-menu ul,
          #nav .mega-menu .category-browse ul.last {
            width: auto;
            margin: 0;
          }
            #nav .mega-menu .category-browse ul {
              margin: 0;
            }

            #nav #nav-ministries .mega-menu a,
            #nav #nav-events .mega-menu a,
            #nav #nav-give .mega-menu a,
            #nav #nav-store .mega-menu a {
              padding: 0 0 0 2em;
              font-size: 14px;
              color: #4b4b4b;
            }
              #nav #nav-ministries .mega-menu #nav-ministries-contain a span {
                display: none;
              }
  
          .mobile-nav-container #nav .mega-menu .top,
          .mobile-nav-container #nav #nav-ministries .top,
          .mobile-nav-container #nav #nav-give .top,
          .mobile-nav-container #nav #nav-store .top,
          .mobile-nav-container #nav #nav-events .top,
          .mobile-nav-container #nav .mega-menu .bottom,
          .mobile-nav-container #nav #nav-ministries .bottom,
          .mobile-nav-container #nav #nav-give .bottom,
          .mobile-nav-container #nav #nav-store .bottom,
          .mobile-nav-container #nav #nav-events .bottom { height: 0; }

          .mobile-nav-container #nav .mega-menu .contain {
            height: 100%;
            width: 100%;
          }


          .mobile-nav-container #nav .has-multi-col .mega-menu .category-browse {
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
            overflow: initial;
            clear: both;
          }
            .mobile-nav-container #nav .has-multi-col .mega-menu .category-browse > li,
            .mobile-nav-container #nav #nav-ministries .mega-menu .contain,
            .mobile-nav-container #nav #nav-give .mega-menu .contain,
            .mobile-nav-container #nav #nav-store .mega-menu .contain,
            .mobile-nav-container #nav #nav-events .mega-menu .contain,
            .mobile-nav-container #nav .nav-panel {
              display: block;
              margin: 0;
              padding: 0;
              position: fixed;
              top: 0; left: 50px;
              width: calc(100% - 50px);
              height: 100%;

              background: #fff;
              opacity: 0;
              overflow: initial;
              clear: both;
              z-index: 5;

              -webkit-transform: translateX(100%);
                 -moz-transform: translateX(100%);
                  -ms-transform: translateX(100%);
                      transform: translateX(100%);

              -webkit-transition: .25s ease;
                      transition: .25s ease;
            }
              .mobile-nav-container #nav .has-multi-col .mega-menu .category-browse > li.is-active,
              .mobile-nav-container #nav #nav-ministries .mega-menu .contain.is-active,
              .mobile-nav-container #nav #nav-give .mega-menu .contain.is-active,
              .mobile-nav-container #nav #nav-store .mega-menu .contain.is-active,
              .mobile-nav-container #nav #nav-events .mega-menu .contain.is-active,
              .mobile-nav-container #nav .nav-panel.is-active {
                opacity: 1;
                -webkit-transform: translateX(0);
                   -moz-transform: translateX(0);
                    -ms-transform: translateX(0);
                        transform: translateX(0);
              }

        #nav #nav-give .mega-menu form,
        #nav #nav-store .mega-menu form {
          height: auto;
          padding: 15px 15px 0;
        }
          #nav #nav-store .mega-menu form input[type=text],
          #nav #nav-give .mega-menu form input[type=text] {
            position: static;
            width: calc(100% - 121px);
            height: auto;
            margin: 0;
            float: left;
          }

          #nav #nav-store .mega-menu form input[type=submit],
          #nav #nav-give .mega-menu form input[type=submit] {
            position: static;
            float: right;
            display: block;
            margin: 2px 0 0 0;
          }

      .mobile-back,
      #nav #nav-ministries .mega-menu a.mobile-back,
      #nav #nav-events .mega-menu a.mobile-back,
      #nav #nav-give .mega-menu a.mobile-back,
      #nav #nav-store .mega-menu a.mobile-back {
        height: 56px;
        display: block;
        position: relative;
        padding: 0 0 0 2em;

        border-bottom: 1px solid #d9d9d9;
        color: #4b4b4b;
        cursor: pointer;
        font-size: 18px;
        font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
        line-height: 56px;
        text-transform: uppercase;
      }
        .mobile-back::before {
          content: '';
          position: absolute;
          top: 50%; left: 1em;
          margin-top: -7px;

          border-style: solid;
          border-width: 7px 9px 7px 0;
          border-color: transparent #4b4b4b transparent transparent;
        }

      #nav li.nav-item.has-menu .arrow {
        float: right;
        position: relative;
        height: 48px;
        width: 51px;
        border: 1px solid #d9d9d9;
        border-width: 0 0 1px 1px;
      }
        #nav li.nav-item.has-menu .arrow::after {
          content: '';
          position: absolute;
          top: 50%;
          left: 50%;
          margin-top: -7px;
          margin-left: -4.5px;
          border-style: solid;
          border-width: 7px 0 7px 9px;
          border-color: transparent transparent transparent #4b4b4b;
      }

      #nav li.nav-item.show-menu a.top-nav {
        background: none;
      }
      #nav li.nav-item a.top-nav:hover {
        background: #9ca836;
        color: #fff;
      }
        #nav li.nav-item.has-menu .arrow:hover {
          border-color: transparent transparent transparent #fff;
        }       


    #cart-dropdown {
      position: fixed;
      right: 0;
    } 
    

    /* Display Classes */
    .hide-on-mobile {
      display: none !important;
    }
    .hide-on-desktop {
      display: block !important;
    }
    .show-on-mobile-inline {
      display: inline-block !important;
    }
}

@media (max-width: 350px) {
  #cart-dropdown {
    width: 100%;
  }
    #cart-dropdown-content {
      padding: 0 20px 7px;
    }

}

.hide-on-desktop,
.show-on-mobile-inline {
  display: none;
}


/* Content */
#primary,
#secondary {
  width: 100%;
  float: none;
  margin: 0;
}

@media (max-width: 820px) {
  .mobile-column {
    width: 50%;
    float: left;
  }
}

@media (min-width: 820px) {
  #primary {
    width: 67%;
    float: left;
    margin-right: 2%;
  }
  #secondary {
    width: 31%;
    float: right;
  }
}

/* Main Content */
#primary .col-left { width: 30%; }

#primary .col-right,
#primary.store .col-right { width: 70%; }

#primary .col-right .variation,
#primary .variation {
  height: auto;
}

/* Footer */
#breadcrumb ul {
  padding-left: 0;
  padding-right: 0;
}
  #breadcrumb ul li {
    float: none;
    display: inline-block;
  }

  @media (max-width: 400px) {
    #breadcrumb {
      height: auto;
    }
      #breadcrumb ul {
        height: auto;
      }

        #breadcrumb ul li {
          height: 40px;
          padding: 0 0 0 6px;
        }
          #breadcrumb ul li a {
            height: 40px;
            padding-right: 0;
          }

          #breadcrumb ul li:last-of-type a {
            max-width: 80px;
            overflow: hidden;
            white-space: nowrap;
            -ms-text-overflow: ellipsis;
            text-overflow: ellipsis;
          }
  }

#footer #menu {
  text-align: center;
}
  @media (min-width: 350px) {
    #footer #menu { text-align: left; }
  }

#footer #menu .foot-column {
  width: 100%;
  margin-right: 0;
  margin-bottom: 2em;
}
  
  @media (min-width: 350px) {
    #footer #menu .foot-column {
      width: 45%;
      margin-right: 10%;
    }
    #footer #menu .foot-column:nth-child(even) {
      margin-right: 0;
    }
  }

  @media (min-width: 600px) {
    #footer #menu .foot-column {
      width: 21%;
      margin-right: 5%;
    }
    #footer #menu .foot-column:nth-child(even) {
      margin-right: 5%;
    }
    #footer #menu .foot-column:nth-of-type(2) {
      width: 18%;
    }
    #footer #menu .foot-column:last-of-type {
      width: 25%;
      margin-right: 0;
    }
  }

  p.give-blurb {
    max-width: 220px;
    margin: 0 auto 2em;
    width: auto;
  }
    @media (min-width: 400px) {
      p.give-blurb {
        margin: 0;
        line-height: normal;
      }
    }

  #footer #menu a.button {
    display: block;
    margin-bottom: 1em;
    width: auto;
  }
  #footer #menu p:last-of-type a.button {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }
    @media (min-width: 350px) {
      #footer #menu p:last-of-type a.button {
        margin-left: initial;
        margin-right: initial;
      }
    }
    @media (min-width: 600px) {
      #footer #menu a.button {
        display: inline-block;
        margin-bottom: 0;
      }
    }
    @media (min-width: 600px) and (max-width: 950px) {
      #footer #menu p:last-of-type a.button {
        display: block;
        max-width: 111px;
        margin-bottom: .75em;
      }
    }

  #footer #menu ul li a {
    padding: 8px 0;
    display: inline-block;
  }

  @media (min-width: 400px) {
    #footer #menu ul li a {
      padding: 0;
    }
  }

#sub-menu,
#bottom-menu {
  text-align: center;
}

#footer .generic-links,
#footer #sub-menu #social-links,
#footer #bottom-menu #copyright {
  float: none;
}
  #footer .generic-links { line-height: 40px; }

    @media (min-width: 400px) {
      #footer .generic-links { line-height: 30px; }
    }

  @media (min-width: 750px) {
    #sub-menu,
    #bottom-menu { text-align: left; }
    #footer .generic-links { float: left; }
    #footer #sub-menu #social-links,
    #footer #bottom-menu #copyright { float: right; }
  }

  #footer #sub-menu #social-links a {
    display: inline-block;
    float: none;
  }
    #footer #sub-menu #social-links a#instagram { width: 98px; }

  @media (min-width: 820px) {
    #footer #menu .foot-column:nth-child(3) ul:first-of-type a {
      white-space: nowrap;
    }
  }





/**
 = Buttons
 */

a.button.grey {
  background: linear-gradient(#4a4843, #33312d);
}
  a.button.grey:hover {
    background: linear-gradient(#5d5a54, #403d39);
  }





/**
 = Pages
 *
 * 1 - Store
 * 2 - Blog
 * 3 - Search
 */





/**
 * 1. Store
 */

.page--store #content .container {
  padding-left: 15px;
  padding-right: 15px;
}

#primary.store,
#secondary.store,
.blog #primary,
.blog #secondary,
.blog .blog-article #primary,
.blog .blog-article #secondary {
  width: 100%;
  float: none;
}

#primary.store,
.blog #primary,
.blog .blog-article #primary {
  margin: 0;
  padding: 0;
}

.blog .blog-article #primary {
  padding: 0;
}

#secondary.store,
.blog #secondary {
  margin-right: 0;
}

.blog .blog-article #secondary {
  margin-left: 0;
  position: relative;
}
  
  @media (min-width: 820px) {
    #primary.store,
    .blog #primary {
      width: 75%;
      float: left;
    }
    .blog .blog-article #primary {
      width: 85%;
      float: right;
      padding: 0 0 40px 40px;
    }
    #secondary.store,
    .blog #secondary {
      width: 25%;
      float: right;
    }
    .blog .blog-article #secondary {
      width: 15%;
      float: left;
      position: relative;
    }
  }

  #content { padding-top: 10px; }

  #secondary ul.sidebar.store {
    display: none;
    width: 100%;
  }

  .browse-filters {
    display: block;
    margin-top: .5em;
    margin-bottom: 3em;
  }
    @media (min-width: 820px) {
      #content { padding-top: 35px; }
      .browse-filters { display: none; }
      #secondary ul.sidebar.store { display: block; }
    }

    .browse-filters menu {
      margin: 0;
      padding: 1em;
      text-align: justify;
    }
      .browse-filters menu::after {
        content: '';
        display: inline-block;
        width: 100%;
      }

      .browse-filters menu a {
        position: relative;
        display: inline-block;
        font: bold 14px/24px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
      }
        .browse-filters a.is-active::after {
          content: '';
          position: absolute;
          bottom: -1em;
          left: 50%;
          margin-left: -6px;

          border-style: solid;
          border-color: transparent transparent #ccc;
          border-width: 0 6px 8px 6px;
        }

  .browse-tabs {
    position: relative;
  }

    .browse-tab {
      padding-top: 1em;
      padding-bottom: 1em;

      position: absolute;
      width: 100%;
      top: 0;
      left: 0;

      background: #fff;
      opacity: 0;
      pointer-events: none;
      text-align: center;
      z-index: 1;

      -webkit-box-shadow: 0 15px 24px rgba(0, 0, 0, 0.12), 0 19px 76px rgba(0, 0, 0, 0.15);
         -moz-box-shadow: 0 15px 24px rgba(0, 0, 0, 0.12), 0 19px 76px rgba(0, 0, 0, 0.15);
              box-shadow: 0 15px 24px rgba(0, 0, 0, 0.12), 0 19px 76px rgba(0, 0, 0, 0.15);
    }
      .browse-tab.is-active {
        opacity: 1;
        pointer-events: all;
      }

      .browse-tab a {
        display: block;
        padding-top: .75em;
        padding-bottom: .75em;
      }

      /* Portrait and Landscape */
      @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
        .browse-tab {
          -webkit-column-count: 3;
                  column-count: 3;
          
          -webkit-column-gap: 2em;
                  column-gap: 2em;

          padding-left: 1em;
          padding-right: 1em;
          text-align: left;
        }
      }


/* Catalog LI Display */

ul.grid.catalog li.catalog__item { height: auto; }

@media (min-width: 541px) {
  ul.grid.catalog li.catalog__item { width: calc(33% - 20px); }

  .catalog__item:nth-child(3n) { margin-right: 0; }
  .catalog__item:nth-child(3n+1) { clear: left; }
}

@media (min-width: 451px) and (max-width: 540px) {
  ul.grid.catalog li.catalog__item { width: calc(50% - 20px); }

  .catalog__item:nth-child(even) { margin-right: 0; }
  .catalog__item:nth-child(odd) { clear: left; }
}

@media (max-width: 540px) {
  ul.grid.catalog .tip {
    background-color: #fff !important;
    position: static !important;
    display: block !important;
    height: auto !important;
    width: auto !important;
  }
}

@media (max-width: 450px) {
  ul.grid.catalog li.catalog__item {
    float: none;
    margin-right: 0;
    margin-bottom: 50px;
    width: 100%;
  }

  ul.grid.catalog h3 { margin-bottom: .5em !important; }
  ul.grid.catalog .tip h3 { display: none; }
  ul.grid.catalog .tip em {
    display: inline-block;
    margin-bottom: .5em;
  }
  ul.grid.catalog .tip p:last-child { margin-top: .5em; }
}





/**
 * 2. Blog
 */

/* Global */
.blog span {
  color: inherit;
  font-family: inherit;
}

/* Dropdown Nav */
@media (max-width: 767px) {
  #dropdown-nav { display: none !important; }
}

/* Container */
.blog #primary,
.blog .blog-article #primary,
.blog .blog-article #article-footer {
  background: none;
}

  .blog #primary ul.article-listing li {
    position: relative;
  }

  .blog #primary #blog-featured img,
  .blog .blog-article #primary img {
    max-width: 100%;
  }

  @media (max-width: 767px), only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .blog #primary #blog-featured img,
    .blog .blog-article #primary img {
      width: 100%;
      max-width: 100%;
      height: auto;
    }
  }

  @media (min-width: 820px) {
    .blog #primary {
      background: url(../images/line-vert.png) top right repeat-y;
    }
    .blog .blog-article #primary {
      background: url(../images/line-vert.png) top left repeat-y;
    }
  }


/* Sidebar */
.blog #secondary {
  padding-bottom: 0;
}
.blog #secondary h3 { margin-left: 0; }
.blog .subscribe-links a {
  margin-left: 0;
  display: inline-block;
}
.blog #secondary ul.link-listing li { padding-left: 0em; }

@media (min-width: 480px) {
  .blog .subscribe-links a { margin-left: 1em; }
  .blog #secondary ul.link-listing li { padding-left: 1em; }
}

#content #bottom-fade { display: none; }

@media (max-width: 820px) {
  .blog-landing #secondary .twitter { display: none; }
}

.fb-like-container,
.gplus-container {
  width: 100%;
  overflow: hidden;
}


/* Blog Landing */

@media (max-width: 768px), only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
  .blog-landing .share-wrapper {
    display: none;
  }
}

.blog #blog-header {
  margin: 0 0 12px;
}
  .blog #blog-header h2 {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    line-height: 1.5;
    letter-spacing: 0;
  }
    .blog #blog-header h2 a {
      display: block;
    }
    .blog #blog-header h2 span {
      display: none;
    }

  .share-wrapper {
    float: right;
    position: relative !important;
    margin-top: 3px;
    margin-left: 5px;
    top: 0 !important;
    height: 31px;
  }

  .blog-article .share-wrapper {
    position: absolute !important;
    float: none;
    top: 0;
    right: 0;
  }
    .blog-back {
      margin-bottom: 0;
    }

  .blog .blog-article #primary p {
    margin: 0 0 20px 0;
    padding-right: 0;
  }

  .blog #primary ul#blog-featured li h2,
  .blog #primary #blog-list li h2 {
    margin: 0 0 14px;
  }
    .blog #primary ul#blog-featured li h2 a {
      font-size: 30px;
      line-height: 1.2;
    }
    .blog #primary #blog-list li h2 a {
      font-size: 21px;
      line-height: 1.2;
    }

    /*.blog #primary #blog-list li img {
      width: 100%;
      float: none;
      margin-right: 0;
    }*/

  .blog #primary h3,
  .blog #primary ul.article-listing li p {
    margin-left: 0;
  }

  .blog #primary .blog-excerpt {
    padding: 0;
  }

  .blog #primary #blog-list .list-filter {
    width: 100%;
    padding: 0;
  }
    .blog #primary #blog-list .list-filter ul {
      float: none;
    }
      .blog #primary #blog-list .list-filter ul li {
        width: calc(100% / 3);
        text-align: center;
        margin: 0;
      }
      .blog #primary #blog-list .list-filter ul li:last-of-type {
        margin-right: 0;
      }
        .blog #primary #blog-list .list-filter ul li:last-of-type a {
          border-right-width: 0;
        }
        .blog #primary #blog-list .list-filter ul li a {
          float: none;
          padding: 0;
          display: block;
          border-right: 1px solid #948980;
          font-size: 1em;
        }
          .blog #primary #blog-list .list-filter span {
            display: none;
          }

  .blog .more-posts {
    background-position: calc(50% + 70px);
    float: none;
    margin: 0;
    padding: 1em 40px 1em 0;
    text-align: center;
  }

  .blog .blog-article blockquote.tweet {
    max-width: 720px;
    width: 100%;
  }
    .blog .blog-article #primary blockquote.tweet p {
      max-width: 640px;
      width: calc(100% - 80px);
    }

    @media (max-width: 640px) {
      .blog .blog-article #primary blockquote.tweet p {
        font-size: 20px;
        padding: 25px 30px;
      }
    }

    @media (max-width: 500px) {
      .blog .blog-article #primary blockquote.tweet p {
        font-size: 18px;
      }
    }

    @media (max-width: 400px) {
      .blog .blog-article #primary blockquote.tweet p {
        font-size: 16px;
        padding: 15px 10px;
      }
    }

    @media (max-width: 340px) {
      .blog .blog-article #primary blockquote.tweet p {
        font-size: 14px;
      }
    }

  .blog .browse-nav {
    float: none;
  }
    .blog #primary div#pagination,
    #primary.store div#pagination,
    #primary div#pagination,
    div#pagination {
      width: 100%;
      overflow: initial;
    }
      .blog #primary div#pagination p,
      #primary div#pagination p,
      div#pagination p {
        position: relative;
        left: 0;
        padding: 0;
        text-align: center;
      }
      
      .blog #primary div#pagination p .nav-link,
      #primary div#pagination p .nav-link,
      div#pagination p .nav-link,
      div#pagination p .nav-link.prev,
      div#pagination p .nav-link.next {
        height: auto;
        width: auto;
        padding: .6em .8em;
        left: auto;

        background: none;
        border: 1px solid #e6e6e6;
        border-radius: .25em;
        color: #222;
        font-size: 1rem;
        line-height: 1;
        opacity: 1;
        text-indent: 0;

        -webkit-user-select: none;
           -moz-user-select: none;
            -ms-user-select: none;
                user-select: none;
      }
        .blog #primary div#pagination p .nav-link.disabled,
        #primary div#pagination p .nav-link.disabled,
        div#pagination p .nav-link.disabled {
          opacity: .4;
        }
        .blog #primary div#pagination p .nav-link:not(.disabled):hover,
        #primary div#pagination p .nav-link:not(.disabled):hover,
        div#pagination p .nav-link:not(.disabled):hover {
          background-color: #f2f2f2;
        }

        .blog #primary div#pagination p .nav-link:not(.disabled):active,
        #primary div#pagination p .nav-link:not(.disabled):active,
        div#pagination p .nav-link:not(.disabled):active {
          -webkit-transform: scale(.9);
             -moz-transform: scale(.9);
              -ms-transform: scale(.9);
                  transform: scale(.9);
        }

      /*div#pagination p span.page-numbers {
        display: none;
      }*/

.blog div.facebook,
.blog div.twitter,
.blog div.instagram { margin-left: 0; }

/* Mobile Categories */
#primary .mobile-categories {
  display: block;
  width: auto;
  margin: 2em 0;
  padding: 0;
  position: relative;
}
  #primary .mobile-categories.is-multi {
    display: inline-block;
    width: calc(50% - 4px);
  }

  #primary .mobile-categories h3 {
    cursor: pointer;
    text-align: center;
  }
    #primary .mobile-categories h3 span {
      margin-left: 4px;
      padding: 0;
      border-style: solid;
      border-width: 6px 4px 0;
      border-color: #845d20 transparent transparent;
      font-size: 1px;
    }
    .blog #primary .mobile-categories h3 span {
      border-color: #cb4300 transparent transparent;
    }

  #primary .mobile-categories ul {
    position: absolute;
    top: 24px;
    left: 50%;
    right: 0;
    width: 60%;
    margin: 0;
    padding: 0;
    background-color: #fff;
    border: 1px solid #f6f6f6;
    border-radius: 3px;
    list-style: none;
    text-align: center;
    pointer-events: none;
    z-index: 6;

    opacity: 0;
    -webkit-transform: translate(-50%, -1em);
       -moz-transform: translate(-50%, -1em);
        -ms-transform: translate(-50%, -1em);
            transform: translate(-50%, -1em);

    -webkit-box-shadow: 0 15px 24px rgba(0, 0, 0, 0.12), 0 19px 76px rgba(0, 0, 0, 0.15);
            box-shadow: 0 15px 24px rgba(0, 0, 0, 0.12), 0 19px 76px rgba(0, 0, 0, 0.15);

    -webkit-transition: .25s ease;
            transition: .25s ease;
  }
    #primary .mobile-categories ul::after {
      content: '';
      position: absolute;
      top: -8px;
      left: 50%;
      margin-left: -6px;
      border-style: solid;
      border-color: transparent transparent #ccc;
      border-width: 0 6px 8px 6px;
    }

    #primary .mobile-category-menu ul {
      width: 60%;
    }
      #primary .mobile-category-menu.is-multi ul {
        width: 110%;
      }

    #primary .mobile-categories li {
      border-bottom: 1px solid #f6f6f6;
    }
      #primary .mobile-categories li:last-of-type {
        border-bottom-width: 0;
      }

      #primary .mobile-categories ul a {
        display: block;
        padding: .5em 0;

        -webkit-transition: .15s ease;
           -moz-transition: .15s ease;
                transition: .15s ease;
      }
        #primary .mobile-categories ul a:hover,
        #primary .mobile-categories ul a:focus {
          background-color: #f6f6f6;
        }

    #primary .mobile-categories h3.is-active span {
      position: relative;
      top: -6px;
      border-color: transparent transparent #845d20;
      border-width: 0 4px 6px;
    }
      .blog #primary .mobile-categories h3.is-active span {
        border-color: #cb4300 transparent transparent;
      }

    #primary .mobile-categories h3.is-active ~ ul {
      opacity: 1;
      pointer-events: all;
      -webkit-transform: translate(-50%, 0);
         -moz-transform: translate(-50%, 0);
          -ms-transform: translate(-50%, 0);
              transform: translate(-50%, 0);
    }

@media (min-width: 820px) {
  #primary .mobile-categories {
    display: none !important;
  }
}


/* Single Page */
@media (max-width: 540px) {
  .blog .blog-article #primary ol,
  .blog .blog-article #primary ul {
    margin: 0 0 20px 20px;
  }
}


/* Pagination */
@media (min-width: 320px) {
  .blog #primary div#pagination p .page-numbers,
  #primary div#pagination p .page-numbers,
  div#pagination p .page-numbers {
    left: 0;
    display: inline-block;
  }
}
@media (max-width: 379px) {
  .blog #primary div#pagination p .nav-link.prev,
  #primary div#pagination p .nav-link.prev,
  div#pagination p .nav-link.prev {
    float: left;
  }
  .blog #primary div#pagination p .nav-link.next,
  #primary div#pagination p .nav-link.next,
  div#pagination p .nav-link.next {
    float: right;
  }

  .blog #primary div#pagination p .page-numbers:not(.large-paginator) a:not(:last-of-type),
  #primary div#pagination p .page-numbers:not(.large-paginator) a:not(:last-of-type),
  div#pagination p .page-numbers:not(.large-paginator) a:not(:last-of-type) {
    display: none;
  }

  /* Large Paginator */
  div#pagination p span.page-numbers.large-paginator span.page:not(.current) {
    display: none;
  }

  div#pagination p span.page-numbers.large-paginator .page {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (min-width: 380px) and (max-width: 549px) {
  .blog #primary div#pagination p .page-numbers:not(.large-paginator) span.page:last-of-type ~ a:not(:nth-last-child(-n+2)),
  #primary div#pagination p .page-numbers:not(.large-paginator) span.page:last-of-type ~ a:not(:nth-last-child(-n+2)),
  div#pagination p .page-numbers:not(.large-paginator) span.page:last-of-type ~ a:not(:nth-last-child(-n+2)),
  .blog #primary div#pagination p .page-numbers:not(.large-paginator) a:nth-child(n+3):nth-child(-n+9),
  #primary div#pagination p .page-numbers:not(.large-paginator) a:nth-child(n+3):nth-child(-n+9),
  div#pagination p .page-numbers:not(.large-paginator) a:nth-child(n+3):nth-child(-n+9) {
    display: none;
  }
}

@media (max-width: 449px) {
  /* Large Paginator */
  .blog #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+2):nth-child(-n+18),
  #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+2):nth-child(-n+18),
  div#pagination p .page-numbers.large-paginator a:nth-child(n+2):nth-child(-n+18) {
    display: none;
  }
}

@media (min-width: 450px) and (max-width: 549px) {
  /* Large Paginator */
  .blog #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+3):nth-child(-n+17),
  #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+3):nth-child(-n+17),
  div#pagination p .page-numbers.large-paginator a:nth-child(n+3):nth-child(-n+17) {
    display: none;
  }
}

@media (min-width: 550px) and (max-width: 649px) {
  .blog #primary div#pagination p .page-numbers:not(.large-paginator) a:nth-child(n+5):nth-child(-n+9),
  #primary div#pagination p .page-numbers:not(.large-paginator) a:nth-child(n+5):nth-child(-n+9),
  div#pagination p .page-numbers:not(.large-paginator) a:nth-child(n+5):nth-child(-n+9) {
    display: none;
  }

  /* Large Paginator */
  .blog #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+3):nth-child(-n+8),
  .blog #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+12):nth-child(-n+17),
  #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+3):nth-child(-n+8),
  #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+12):nth-child(-n+17),
  div#pagination p .page-numbers.large-paginator a:nth-child(n+3):nth-child(-n+8),
  div#pagination p .page-numbers.large-paginator a:nth-child(n+12):nth-child(-n+17) {
    display: none;
  }
}

@media (min-width: 650px) and (max-width: 950px) {
  .blog #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+6):nth-child(-n+8),
  .blog #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+12):nth-child(-n+14),
  #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+6):nth-child(-n+8),
  #primary div#pagination p .page-numbers.large-paginator a:nth-child(n+12):nth-child(-n+14),
  div#pagination p .page-numbers.large-paginator a:nth-child(n+6):nth-child(-n+8),
  div#pagination p .page-numbers.large-paginator a:nth-child(n+12):nth-child(-n+14) {
    display: none;
  }
}

@media (min-width: 820px) {
  .blog .browse-nav {
    float: none;
  }
    .blog #primary div#pagination p .nav-link,
    #primary div#pagination p .nav-link,
    div#pagination p .nav-link,
    div#pagination p .nav-link.prev,
    div#pagination p .nav-link.next {
      height: 35px;
      width: 35px;
      padding: 0;
      border: 0;
      border-radius: 0;
      color: inherit;
      font-size: initial;
      line-height: auto;
      text-indent: -10000px;
      -webkit-user-select: initial;
      -moz-user-select: initial;
      -ms-user-select: initial;
      user-select: initial;
    }
      .blog #primary div#pagination p .nav-link.prev,
      #primary div#pagination p .nav-link.prev,
      div#pagination p .nav-link.prev {
        background: url(../images/page-prev.gif) no-repeat center center;
      }
      .blog #primary div#pagination p .nav-link.next,
      #primary div#pagination p .nav-link.next,
      div#pagination p .nav-link.next {
        background: url(../images/page-next.gif) no-repeat center center;
      }

      #primary div#pagination p .nav-link,
      #primary div#pagination p .page-numbers,
      .blog #primary div#pagination p .nav-link,
      .blog #primary div#pagination p .page-numbers {
        left: -5px;
      }
}

/*@media (min-width: 380px) and (max-width: 449px) {
  .blog #primary div#pagination p .page-numbers.left-heavy a:nth-child(n+2):nth-child(-n+14),
  #primary div#pagination p .page-numbers.left-heavy a:nth-child(n+2):nth-child(-n+14),
  div#pagination p .page-numbers.left-heavy a:nth-child(n+2):nth-child(-n+14) {
    display: none;
  }
}

@media (min-width: 450px) and (max-width: 799px) {
  .blog #primary div#pagination p .page-numbers.left-heavy a:nth-child(n+3):nth-child(-n+12),
  #primary div#pagination p .page-numbers.left-heavy a:nth-child(n+3):nth-child(-n+12),
  div#pagination p .page-numbers.left-heavy a:nth-child(n+3):nth-child(-n+12) {
    display: none;
  }

  .blog #primary div#pagination p .page-numbers.right-heavy a:nth-child(n+3):nth-child(-n+12),
  #primary div#pagination p .page-numbers.right-heavy a:nth-child(n+3):nth-child(-n+12),
  div#pagination p .page-numbers.right-heavy a:nth-child(n+3):nth-child(-n+12) {
    display: none;
  }
}

@media (min-width: 800px) {
  .blog #primary div#pagination p .page-numbers.left-heavy a:nth-child(n+7):nth-child(-n+12),
  #primary div#pagination p .page-numbers.left-heavy a:nth-child(n+7):nth-child(-n+12),
  div#pagination p .page-numbers.left-heavy a:nth-child(n+7):nth-child(-n+12) {
    display: none;
  }

  .blog #primary div#pagination p .page-numbers.right-heavy a:nth-child(n+12):nth-child(-n+15),
  #primary div#pagination p .page-numbers.right-heavy a:nth-child(n+12):nth-child(-n+15),
  div#pagination p .page-numbers.right-heavy a:nth-child(n+12):nth-child(-n+15) {
    display: none;
  }
}*/



/* Blog Container */
@media (min-width: 450px) {
  .blog #primary #blog-list li img {
    float: left;
    margin: 9px 20px 10px 0;
    width: auto;
  }
}

.blog #primary #blog-list li {
  margin-top: 2.5em;
  padding-top: 2.5em;
  /*background: url('../images/line-horiz.png') top left repeat-x;*/
}
  .blog #primary #blog-list li:first-of-type {
    margin-top: 0;
    padding-top: 0;
    background: none;
  }

@media (min-width: 640px) {

  .blog #blog-header h2 {
    line-height: 28px;
    letter-spacing: 0.35em;
  }
    .blog #blog-header h2 a,
    .blog #blog-header h2 span {
      display: inline;
    }

  .blog #primary ul#blog-featured li h2 {
    margin: 0 25px 14px 116px;
  }

  .blog #primary #blog-list li {
    margin-bottom: 30px;
    margin-top: .5em;
    padding-top: .5em;
  }

  .blog #primary #blog-list li h2 {
    margin: 5px 20px 11px 116px;
  }

    .blog #primary ul#blog-featured li h2 a {
      font-size: 36px;
    }
    .blog #primary #blog-list li h2 a {
      font-size: 24px;
    }

  .blog #primary h3,
  .blog #primary ul.article-listing li p {
    margin-left: 118px;
  }

  .blog #primary .blog-excerpt {
    padding: 0 40px 0 116px;
  }

  .share-wrapper {
    position: absolute;
    float: left;
    margin-left: 0;
    height: auto;
  }
    .blog-article .share-wrapper.fixed-pos {
      position: fixed;
      top: 90px;
    }

  .blog #secondary { padding-bottom: 40px; }

  .blog #secondary h3,
  .blog .subscribe-links a {
    display: inline-block;
    margin-left: 30px;
  }
  .blog #secondary ul.link-listing li { padding-left: 30px; }

  .blog #primary #blog-list .list-filter {
    width: calc(100% - 1px);
    padding-left: 116px;
  }
    .blog #primary #blog-list .list-filter ul {
      float: left;
    }
      .blog #primary #blog-list .list-filter ul li {
        width: auto;
        text-align: left;
        margin-right: 12px;
      }
      .blog #primary #blog-list .list-filter ul li:last-of-type {
        margin-right: 0;
      }
        .blog #primary #blog-list .list-filter ul li a {
          float: left;
          padding-right: 12px;
          display: inline;
          border-right-width: 0;
          font-size: 16px;
        }
          .blog #primary #blog-list .list-filter span {
            display: inline;
          }

  .blog div.facebook,
  .blog div.twitter,
  .blog div.instagram {
    margin-left: 20px;
  }

  #content #bottom-fade { display: block; }
}

.blog #article-footer ul.store-thumbnails,
.blog #article-footer ul.store-thumbnails li,
.blog #article-footer ul.store-thumbnails ul li {
  float: none;
}
  .blog #article-footer ul.store-thumbnails li::after {
    content: '';
    clear: both;
    display: table;
  }

.blog #article-footer ul.store-thumbnails li a {
  max-width: 385px;
  width: 100%;
}

@media (min-width: 820px) {
  .blog .more-posts {
    background-position: right center;
    float: left;
    margin: 30px 0 0 122px;
    padding: 8px 38px 8px 0;
    text-align: left;
  }
  .blog-article .share-wrapper {
    position: relative !important;
    float: left;
    right: auto;
  }
  .blog-back {
    margin-bottom: 57px;
  }
  .blog .blog-article #primary p {
    margin: 0 100px 20px 0;
    padding-right: 40px;
  }
  .blog #secondary ul.sidebar.default {
    width: 90%;
    margin: auto;
  }
    .blog #secondary ul.sidebar.default li.advert.white {
      margin-left: 20px;
    }
}

.blog #secondary ul.sidebar.default {
  width: 90%;
  margin: auto;
}
.blog #secondary ul.sidebar.default li.advert.white {
  margin: 2em 1em;
}

#secondary ul.sidebar.default li.advert.white .contain .shadow-contain,
#secondary ul.sidebar.default li.advert.white .contain .shadow-contain img {
  width: 160px;
}

@media (max-width: 820px) {
  #article-footer-inner { margin-left: 0; }
  .col1,
  .col2 { width: 100%; float: none; }
}

#article-footer {
  float: none;
}
#article-footer::after {
  content: '';
  display: table;
  clear: both;
}




/**
 * 3. Learn
 */

div.page-header {
  margin: 0 0 20px;
}
#secondary ul.sidebar.default { width: auto; }

  #secondary ul.sidebar.default > li.linklist,
  #secondary ul.sidebar.default li.gray {
    background: #f1f0ec;
    border: 1px solid;
    border-color: #e4e2e0 #e4e2e0 #c6c5c2;
    border-radius: 4px;
  }
  
    #secondary ul.sidebar.default li .top,
    #secondary ul.sidebar.default li .bottom { height: 0; }

    #secondary ul.sidebar.default li .top,
    #secondary ul.sidebar.default li .contain,
    #secondary ul.sidebar.default li .bottom { background: none; }

    #secondary ul.sidebar.default li ul {
      width: 95%;
    }

    #secondary ul.sidebar.default li .author-bio p {
      width: 174px;
    }

    @media (max-width: 820px) {
      #secondary ul.sidebar.default li .author-bio {
        width: 100%;
      }
      #secondary ul.sidebar.default li .author-bio p {
        width: calc(100% - 54px);
      }
    }


@media (max-width: 767px) {
  #subnav { height: 50px; }
}
#subnav .container {
  padding-left: 0;
  padding-right: 0;
}

#subnav ul.subnav {
  float: none;
  left: auto;
  white-space: nowrap;
}
  
  #subnav ul li {
    float: none;
    right: auto;
    display: inline-block;
    vertical-align: top;
  }

  #subnav ul li:not(.has-menu) a { padding: 0 6px; }


.mobile-learn-subnav {
  padding: 1em;
}
  .mobile-learn-subnav h4,
  .mobile-learn-subnav select {
    display: inline-block;
  }

  .mobile-learn-subnav h4 {
    margin-right: 1em;
    font: 16px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  }


/* Daily Video */
.resource .media-wrapper,
.resource #media-nav {
  width: 100%;
  float: none;
  margin: 0;
}
  .jump::after {
    content: '';
    clear: both;
    display: table;
  }
  .jump select {
    margin-left: 0;
    width: calc(100% - 50px);
    float: right;
  }
  ul.jump-menu li a .title {
    width: auto;
  }

  @media (min-width: 900px) {
    .resource .media-wrapper,
    .resource #media-nav {
      float: left;
    }
    .resource .media-wrapper {
      width: 66%;
      position: relative;
    }
    .resource #media-nav {
      width: 32%;
      margin-left: 2%;
    }
  }

@media (min-width: 640px) and (max-width: 820px) {
  .daily-video #secondary .sidebar.default > li:not(.share-menu) {
    float: left;
    width: calc((100% / 3) - 20px);
    margin-right: 40px;
  }
  .page-series #secondary .sidebar.default > li:not(.share-menu) {
    float: left;
    width: calc((100% / 2) - 20px);
    margin-right: 40px;
  }
  #secondary .sidebar.default > li:not(.share-menu):last-of-type {
    margin-right: 0;
  }
}

  #secondary .sidebar.default .advert-img img { max-width: 100%; }
  #secondary .sidebar table {
    width: 100%;
    max-width: 270px;
  }
  #secondary ul.sidebar.default li.advert h3 {
    display: none;
  }
  #secondary ul.sidebar.default li.advert p {
    width: 100%;
    max-width: 210px;
  }

@media (max-width: 820px) {
  #primary .resource-list .col-left {
    width: auto;
    overflow: initial;
  }
    #primary .col-left #shadow-contain { width: auto !important; }

  #primary .resource-list .col-right {
    float: right;
    width: calc(100% - 154px);
  }

  #filter.mobile-filter ul {
    margin-bottom: 2em;
    text-align: justify;
  }
    #filter.mobile-filter ul::after {
      content: '';
      display: inline-block;
      width: 100%;
      padding: 0 22px;
    }

    #filter.mobile-filter ul li {
      padding-left: 0;
      display: inline-block;
    }
      #filter.mobile-filter ul li.current {
        background: none;
        text-decoration: underline;
      }
}

  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
    #primary .resource-list .col-left {
      width: 190px;
    }
  }

  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
    #primary .resource-list .col-right {
      width: calc(100% - 194px);
    }
  }

@media (max-width: 600px) {
  #primary .resource-list .col-left {
    width: auto;
    overflow: initial;
    float: none;
    text-align: center;
  }
    #primary .resource-list .col-left > a {
      display: inline-block;
    }

    #primary .col-left #shadow-contain { width: auto !important; }
    #primary .col-left img.thumbnail {
      margin: .5em 0;
    }

  #primary .resource-list .col-right {
    width: 100%;
    float: none;
  }
    #primary .col-right .variation,
    #primary .variation {
      display: block;
    }
}

#expanding-panel {
  width: 100%;
}

/* QAs */
#primary #qa-header {
  border-radius: 3px;
}
#primary #qa-header h2 { margin-top: 0; }
#primary .question-bottom { display: none; }


/* Teaching Series */
@media (max-width: 540px) {
  div#filter-menu {
    margin: 10px 0 20px;
  }
  div#filter-menu .filters {
    position: relative;
    float: none;
    text-align: justify;
  }
    div#filter-menu .filters::after {
      content: '';
      display: inline-block;
      width: 100%;
    }

    div#filter-menu .filters a {
      display: inline-block;
      padding: 0;
    }

  div#filter-menu .filter {
    float: none;
    display: block;
    margin-top: 1em;
  }

}
ul.series-list li {
  width: 100%;
  float: none;
  margin: 25px 0 0 0;
}
  @media (min-width: 480px) {
    ul.series-list li,
    ul.series-list li.last {
      width: calc((100% / 2) - 5%);
      float: left;
      margin: 35px 10% 0 0;
    }
    ul.series-list li:nth-child(even) {
      margin-right: 0;
    }
  }

  @media (min-width: 768px) {
    ul.series-list li,
    ul.series-list li.last,
    ul.series-list li:nth-child(even) {
      width: calc((100% / 3) - 6%);
      margin: 45px 9% 0 0;
    }
    ul.series-list li.last {
      margin-right: 0;
    }
  }

  ul.series-list li a {
    width: 100%;
    height: auto;
    margin: 0;
  }
  ul.series-list li img {
    width: 100%;
    position: static;
    display: block;
    height: auto;
  }

  ul.series-list li h2 {
    display: table;
    width: 100%;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
  }
    @media (max-width: 800px) {
      ul.series-list li h2 {
        font-size: 16px;
        line-height: 1.5;
      }
    }
    ul.series-list li span {
      display: table-cell;
      vertical-align: middle;
      width: 100%;
    }

/* Teaching Series */
.resource .media-wrapper {
  position: relative;
}
  .resource .media-wrapper > a img {
    width: 100%;
    max-width: 100%;
  }
  .resource .media-wrapper .text-overlay {
    width: 80%;
  }
  .resource .media-wrapper .text-overlay.purchase {
    height: 192px;
    width: 80%;
  }

  @media (max-width: 450px) {
    .resource .media-wrapper .text-overlay {
      position: static;
      width: 100%;
      height: auto;
      background: #f0f0f0;
      border-radius: 0;
    }
      .resource .media-wrapper .text-overlay ul {
        color: #39322a;
        list-style: disc;
      }
      .resource .media-wrapper .text-overlay ul li {
        padding-left: 0;
        background: none;
      }
      .resource .media-wrapper .text-overlay ul li a {
        color: #567717;
      }
  }

  @media (min-width: 451px) and (max-width: 499px) {
    .resource .media-wrapper .text-overlay {
      top: 0; right: 0; bottom: 0; left: 0;
      margin: auto;
      padding: 1em;
      width: 90%;
      height: 90%;
    }
  }

  @media (min-width: 500px) and (max-width: 768px) {
    .resource .media-wrapper .text-overlay {
      top: 0; right: 0; bottom: 0; left: 0;
      margin: auto;
      height: 80%;
    }
  }

ul.media-list.learn-progress li a {
  width: 100%;
}

@media (max-width: 640px) {
  ul#purchase-options li .price {
    clear: left;
    margin-left: 0;
  }
}

@media (max-width: 500px) {
  ul#purchase-options li .info,
  ul.media-list li .info {
    width: 100%;
    float: none;
  }
}


div.teacher-image {
  margin-left: 0;
}

div.teacher-info {
  max-width: 480px;
  width: 100%;
}

  @media (max-width: 620px) {
    div.teacher-image {
      margin-right: 0;
    }
    div.teacher-info {
      float: right;
      width: calc(100% - 100px);
    }
  }


/* TOPICS */
body.index-topics .column {
  width: calc(19% - 10px);
  margin-right: 0;
}
  body.index-topics .column:nth-child(2) {
    width: 22%;
  }

  body.index-topics .column a { font-size: .95em; }

@media (min-width: 600px) and (max-width: 930px) {
  body.index-topics .column,
  body.index-topics .column:nth-child(2) {
    width: calc(33% - 10px);
  }

    body.index-topics .column:nth-child(4) { clear: both; }
    body.index-topics .column:nth-child(n+4) {
      width: calc(50% - 10px);
      margin-top: 2em;
    }
}

@media (min-width: 400px) and (max-width: 599px) {
  body.index-topics .column,
  body.index-topics .column:nth-child(2) {
    width: calc(50% - 10px);
  }

    body.index-topics .column:nth-child(odd) { clear: both; }
    body.index-topics .column:nth-child(n+3) { margin-top: 2em; }
    body.index-topics .column:last-child {
      float: none;
      width: 50%;
      margin-left: 25%;
    }
}

@media (max-width: 399px) {
  body.index-topics .column,
  body.index-topics .column:nth-child(2),
  body.index-topics .column:last-child {
    width: 100%;
    margin-top: 2em;
    margin-left: 0;
    float: none;
    text-align: center;
  }
}


/* Scripture */
#view.scripture { overflow: initial; }
body.index-scripture .column {
  max-width: 450px;
  width: 100%;
  padding: 0;
  float: none;
}
  body.index-scripture .column::after {
    content: '';
    clear: both;
    display: table;
  }
  body.index-scripture .column ul {
    width: 50%;
    margin-right: 0;
  }
    body.index-scripture .column ul li { position: relative; }

body.index-scripture .column.right {
  float: none;
  padding-left: 0;
  padding-top: 2em;
  margin-top: 1em;
  border-left: 0;
  border-top: 1px dashed #888;
}

  @media (max-width: 820px) {
    body.index-scripture .column ul:last-child li ul.chapters {
      right: 0;
    }
  }

@media (min-width: 500px) {
  body.index-scripture .column,
  body.index-scripture .column.right {
    width: 50%;
    float: left;
    margin-top: 0;
    border-top-width: 0;
  }
  body.index-scripture .column.right {
    padding-top: 0;
    padding-left: 2em;
    border-top-width: 0;
    border-left: 1px dashed #888;
  }
}


/* Teachers */
body.index-teachers .teachers ul::after {
  content: '';
  clear: both;
  display: table;
}
  @media (min-width: 821px) {
    body.index-teachers .teachers ul li {
      width: calc(100% / 6);
      margin: 0;
    }
  }

  @media (max-width: 820px) {
    body.index-teachers .teachers ul li {
      width: calc(100% / 5);
      margin: 0;
    }
  }

  @media (max-width: 640px) {
    body.index-teachers .teachers ul li {
      width: calc(100% / 4);
      margin: 0;
    }
  }

  @media (max-width: 520px) {
    body.index-teachers .teachers ul li {
      width: calc(100% / 3);
      margin: 0;
    }
  }

  @media (max-width: 360px) {
    body.index-teachers .teachers ul li {
      width: calc(100% / 2);
      margin: 0;
    }
  }


/* Keywords */
body.index-keywords div.tag-cloud a {
  height: 44px;
  line-height: 44px;
}

/* Articles */
@media (max-width: 540px) {
  div.article-header h1,
  body.page-devotional.devotional-single #content h1 {
    font-size: 30px;
    line-height: 1.5;
  }
}

/* Sermons */
#content #primary ul.resource-list h2 {
  margin-bottom: .25em;
}
ul.resource-list li p.meta a {
  color: #837f73;
}
  @media (max-width: 500px) {
    ul.resource-list li {
      text-align: center;
    }
    ul.resource-list li p:last-of-type a:not(.lbsBibleRef):not([target=_blank]) {
      display: block;
      max-width: 50%;
      margin: .5em auto 0;
      padding: .3em 2em;

      background: #f1f0ec;
      background: -moz-linear-gradient(top,  #f1f0ec 0%, #e1ded5 100%);
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f1f0ec), color-stop(100%,#e1ded5));
      background: -webkit-linear-gradient(top,  #f1f0ec 0%,#e1ded5 100%);
      background: -o-linear-gradient(top,  #f1f0ec 0%,#e1ded5 100%);
      background: -ms-linear-gradient(top,  #f1f0ec 0%,#e1ded5 100%);
      background: linear-gradient(to bottom,  #f1f0ec 0%,#e1ded5 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1f0ec', endColorstr='#e1ded5',GradientType=0 );

      border-radius: 3px;
      border: 1px solid #d8d5ca;
      border-bottom-color: #c5c0b4;
      color: #817437;
      font-size: 1em;
      text-shadow: #fff 0 1px 0;
    }
  }


#primary ul.tab-menu {
  height: auto;
  padding: 15px 0 0;
}
  #primary ul.tab-menu::after {
    content: '';
    display: table;
    clear: both;
  }
  ul.tab-menu li {
    display: block;
    float: left;
  }
    ul.tab-menu li.current {
      border-bottom: 1px solid white;
      position: relative;
      top: 1px;
    }
    ul.tab-menu li a {
      float: none;
      padding: 5px 15px;
      margin-left: 0;
      height: auto;
      line-height: 1.6;
    }

  @media (max-width: 540px) {
    ul.tab-menu li a { padding: 5px 10px; }
  }

  @media (max-width: 480px) {
    ul.tab-menu li {
      width: 19%;
      text-align: center;
    }
    ul.tab-menu li:first-of-type { width: 24%; }
  }

  @media (max-width: 400px) {
    ul.tab-menu li:first-child { word-break: break-all; }
    ul.tab-menu li a { font-size: .875em; }
  }




/**
 * 4. Store
 */

.shadow-contain {
  overflow: initial;
  padding: 0;
}
  .shadow-contain .left {
    left: -17px;
  }

  .shadow-contain .right {
    right: -17px;
  }

ul.resource-list li {
  overflow: initial;
}
  ul.resource-list li::after {
    content: '';
    display: table;
    clear: both;
  }

@media (max-width: 840px) {
  .page--store #primary .resource-list .col-right,
  .page--store #primary.search ul.resource-list li .col-right {
    width: calc(100% - 190px);
    float: right;
  }
}

@media (max-width: 600px) {
  .page--store #primary .col-left img.thumbnail {
    margin: .5em auto;
  }

  .page--store #primary .resource-list .col-right {
    width: 100%;
    float: none;
    margin-top: 1em;
  }
  .page--store #primary .resource-list .col-right .variation ~ br {
    display: none;
  }
  .page--store #primary .resource-list .col-right .variation {
    margin-bottom: 1em;
  }
}


@media (max-width: 540px) {
  #store-header {
    margin: 0;
  }

    #store-header .breadcrumb,
    #content .phone,
    #module-contain .phone {
      float: none;
      display: block;
    }

    #store-header ul.breadcrumb li:not(.current) {
      padding: 5px 14px 5px 3px;
      margin: 0px 3px 10px 0px;
    }

    #content .phone,
    #module-contain .phone {
      width: 100%;
      margin: 0 0 2em;
    }

  .page--store div#filter-menu .filters {
    text-align: left;
    float: left;
  }

  .page--store div#filter-menu div.dropdown {
    margin-top: .25em;
  }

  #primary table td.price,
  #primary table td.download {
    width: auto;
  }

}

@media (max-width: 400px) {
  div.page-header h1 {
    font-size: 24px;
    line-height: 1.5;
  }
  .page--store div#filter-menu .filters,
  .page--store div#filter-menu div.dropdown {
    text-align: left;
    float: none;
    width: 100%;
  }

  .page--store div#filter-menu div.dropdown select {
    float: left;
    margin-top: .25em;
  }

}



/* Store Detail */
.product .description {
  max-width: 670px;
  width: calc(100% - 275px);
}
  div.product ul,
  div.product ul li,
  .product.header ul li {
    width: 100%;
  }

  .product.header ul li .info {
    width: auto;
  }

@media (max-width: 840px) {
  #content .phone,
  #module-contain .phone {
    width: auto;
    margin-right: 0;
  }
    #content .phone .number,
    #module-contain .phone .number {
      width: auto;
    }
}

@media (max-width: 700px) {
  #store-header .breadcrumb,
  #content .phone,
  #module-contain .phone {
    width: 100%;
    float: none;
    margin-right: 0;
  }
    #store-header .breadcrumb::after,
    #content .phone::after,
    #module-contain .phone::after {
      content: '';
      clear: both;
      display: table;
    }

    #content .phone,
    #module-contain .phone {
      margin-bottom: 2em;
    }

  .product.header ul li.current {
    padding: .5em;
  }
    .product.header .description ul li.current {
      padding: 4px 0 4px 6px;
    }

  .product.header ul li .info,
  .product.header ul li .prices {
    width: 100%;
    float: none;
  }
    .product.header ul li .info::after,
    .product.header ul li .prices::after {
      content: '';
      display: table;
      clear: both;
    }

    .product.header ul li .info {
      margin: 0 0 .5em;
    }

    .product.header ul li .prices {
      padding-right: 0;
    }
}

@media (max-width: 600px), only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
  .product.header .thumbnail,
  .product .description {
    float: none;
    width: 100%;
  }

  .product .description {
    margin-left: 0;
    margin-top: 2em;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
  .product .description {
    max-width: 100%;
  }

  ul.breadcrumb li.current {
    max-width: 300px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (min-width: 401px) and (max-width: 600px) {
  .product.header ul li .button.cart {
    float: right;
    position: relative;
    right: 1em;
    bottom: 1em;
  }
}

@media (max-width: 400px) {
  ul.breadcrumb li {
    float: none;
    display: inline-block;
    padding: 5px 12px 5px 3px;
    margin: 0px 7px 10px 0px;
  }
    ul.breadcrumb li a,
    ul.breadcrumb li.current {
      font-size: 10px;
    }

    ul.breadcrumb li.current {
      padding-right: 0;
      overflow: hidden;
      max-width: 80px;
      white-space: nowrap;
      -ms-text-overflow: ellipsis;
      text-overflow: ellipsis;
    }

  .product.header ul li {
    float: none;
    text-align: center;
  }

    .product.header ul li .prices {
      margin-left: 6px;
    }

      .product.header ul li .info.cd,
      .product.header ul li .info.cd-audio-book,
      .product.header ul li .info.dvd,
      .product.header ul li .info.mp3,
      .product.header ul li .info.download-stream,
      .product.header ul li .info.download-audio-book,
      .product.header ul li .info.download,
      .product.header ul li .info.hardcover,
      .product.header ul li .info.paperback,
      .product.header ul li .info.pocketbook,
      .product.header ul li .info.leather-black,
      .product.header ul li .info.leather-burgundy,
      .product.header ul li .info.leather-bonded,
      .product.header ul li .info.leather-imitation-tan,
      .product.header ul li .info.leather-imitation-black,
      .product.header ul li .info.study-guide,
      .product.header ul li .info.leather-imitation-gray,
      .product.header ul li .info.leather-like-light-gray,
      .product.header ul li .info.leather-like-light-brown,
      .product.header ul li .info.hardcover-white,
      .product.header ul li .info.hardcover-crimson,
      .product.header ul li .info.genuine-leather-black,
      .product.header ul li .info.genuine-leather-burgundy,
      .product.header ul li .info.premium-leather-black,
      .product.header ul li .info.magazine,
      .product.header ul li .info.course {
        background: none;
        padding-left: 0;
      }

        .product.header ul li .info.cd h3 a::before,
        .product.header ul li .info.cd-audio-book h3 a::before,
        .product.header ul li .info.dvd h3 a::before,
        .product.header ul li .info.mp3 h3 a::before,
        .product.header ul li .info.download-stream h3 a::before,
        .product.header ul li .info.download-audio-book h3 a::before,
        .product.header ul li .info.download h3 a::before,
        .product.header ul li .info.hardcover h3 a::before,
        .product.header ul li .info.paperback h3 a::before,
        .product.header ul li .info.pocketbook h3 a::before,
        .product.header ul li .info.leather-black h3 a::before,
        .product.header ul li .info.leather-burgundy h3 a::before,
        .product.header ul li .info.leather-bonded h3 a::before,
        .product.header ul li .info.leather-imitation-tan h3 a::before,
        .product.header ul li .info.leather-imitation-black h3 a::before,
        .product.header ul li .info.study-guide h3 a::before,
        .product.header ul li .info.leather-imitation-gray h3 a::before,
        .product.header ul li .info.leather-like-light-gray h3 a::before,
        .product.header ul li .info.leather-like-light-brown h3 a::before,
        .product.header ul li .info.hardcover-white h3 a::before,
        .product.header ul li .info.hardcover-crimson h3 a::before,
        .product.header ul li .info.genuine-leather-black h3 a::before,
        .product.header ul li .info.genuine-leather-burgundy h3 a::before,
        .product.header ul li .info.premium-leather-black h3 a::before,
        .product.header ul li .info.magazine h3 a::before,
        .product.header ul li .info.course h3 a::before {
          content: '';
          display: inline-block;
          position: relative;
          top: 2px;
          margin-right: .3em;
          width: 16px; height: 14px;
        }
        
        .product.header ul li .info.cd h3 a::before,
        .product.header ul li .info.cd-audio-book h3 a::before,
        .product.header ul li .info.dvd h3 a::before,
        .product.header ul li .info.mp3 h3 a::before {
          background: url('../images/store-cd.gif') no-repeat center left;
        }

        .product.header ul li .info.download-stream h3 a::before,
        .product.header ul li .info.download-audio-book a::before,
        .product.header ul li .info.download a::before {
          background: url('../images/download-link-grey.gif') no-repeat center left;
        }

        .product.header ul li .info.hardcover h3 a::before,
        .product.header ul li .info.paperback h3 a::before,
        .product.header ul li .info.pocketbook h3 a::before,
        .product.header ul li .info.leather-black h3 a::before,
        .product.header ul li .info.leather-burgundy h3 a::before,
        .product.header ul li .info.leather-bonded h3 a::before,
        .product.header ul li .info.leather-imitation-tan h3 a::before,
        .product.header ul li .info.leather-imitation-black h3 a::before,
        .product.header ul li .info.study-guide h3 a::before,
        .product.header ul li .info.leather-imitation-gray h3 a::before,
        .product.header ul li .info.leather-like-light-gray h3 a::before,
        .product.header ul li .info.leather-like-light-brown h3 a::before,
        .product.header ul li .info.hardcover-white h3 a::before,
        .product.header ul li .info.hardcover-crimson h3 a::before,
        .product.header ul li .info.genuine-leather-black h3 a::before,
        .product.header ul li .info.genuine-leather-burgundy h3 a::before,
        .product.header ul li .info.premium-leather-black h3 a::before,
        .product.header ul li .info.magazine h3 a::before,
        .product.header ul li .info.course h3 a::before {
          background: url('../images/store-dvd.gif') no-repeat center left;
        }

      .product.header .description ul li .prices {
        margin-left: 0;
      }
        .product.header ul li .prices .old-price {
          margin-right: 17px;
        }
        .product.header ul li .prices .new-price {
          margin-left: 0;
        }

      #content .product.header ul li .info h3 a {
        float: none;
        position: relative;
      }

      .product.header ul li .button.cart {
        display: block;
        margin: 1em auto;
      }

  .product .summary img {
    height: auto;
    width: auto;
  }

  p.share {
    text-align: center;
  }
    p.share a.button.share {
      margin: 1em 0;
    }

  .product.details table,
  .product.details table tbody,
  .product.details table th,
  .product.details table tr,
  .product.details table td {
    display: block;
  }
    .product.details table th,
    .product.details table td {
      border-bottom-width: 0;
    }

    .product.details table tr {
      border-bottom: 1px solid #e6e2db;
    }
    
    #primary .product.details table td.download {
      text-align: left;
    }
    #primary .product.details table td.download + td {
      text-align: right;
    }

    #primary .product.details table td.download,
    #primary .product.details table td.download + td {
      display: inline-block;
      width: calc(50% - 4px);
      padding-top: 0;
      padding-right: 0 !important;
    }
      .product.details table td.download span {
        display: none;
      }
}





/**
 * 5. Checkout
 */

.checkout #header .container {
  height: auto;
}
  .checkout .container {
    max-width: 850px;
    padding: 0;
  }

    .checkout #header h1,
    p.cart-status,
    ul.checkout-steps {
      position: static;
    }

    .checkout #header h1 {
      float: left;
      margin-left: 47px;
    }

    p.cart-status {
      float: right;
      margin-top: 25px;
      margin-right: 30px;
    }


    ul.checkout-steps {
      clear: left;
      margin-top: 1.4em;
      margin-right: 0;
      width: 100%;
      height: auto;
      font-size: 18px;
      line-height: 1;
    }
      ul.checkout-steps::after {
        content: '';
        clear: both;
        display: table;
      }
      
      ul.checkout-steps li {
        padding: .9em 19px;
      }


  div.checkout-form .container {
    padding: 30px 0 20px;
    margin: 0 auto;
    max-width: 750px;
    width: 100%;
  }

    div.dont-log-in,
    div.log-in {
      width: 100%;
      max-width: 48%;
    }

  .checkout #footer {
    width: 100%;
    max-width: 750px;
    margin: 0 auto 2em;
    height: auto;
    line-height: 1.5;
  }
    div#secure-logos {
      text-align: center;
    }


@media (max-width: 767px), only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
  .checkout #wrapper {
    margin-top: 0;
  }
    .checkout #header {
      position: static;
      height: auto;
      background: none;
    }
      .checkout #header .container {
        padding-top: 0;
      }

    .checkout .checkout-form {
      padding-left: 1em;
      padding-right: 1em;
    }
}

@media (max-width: 660px) {
  div.dont-log-in,
  div.log-in {
    float: none;
    width: 100%;
    max-width: 100%;
  }

    div.dont-log-in {
      margin-right: 0;
      margin-bottom: 25px;
      padding-right: 0;
      padding-bottom: 30px;
      border-right-width: 0;
      border-bottom: 1px dotted #cacaca;
    }

    div.log-in {
      padding-top: 0;
    }

    div.dont-log-in a.button,
    div.log-in a.button {
      display: inline-block;
    }
}

@media (max-width: 650px) {
  .checkout #footer p.need-help,
  .checkout #footer p.terms-of-use {
    display: block;
  }
}

@media (max-width: 540px) {
  p.cart-status {
    font-size: 14px;
    letter-spacing: 0;
  }
  ul.checkout-steps {
    font-size: 16px;
    height: auto;
  }
    ul.checkout-steps li {
      padding: 1em .75em;
    }
}

@media (max-width: 450px) {
  .checkout #header h1 {
    margin-left: 1em;
  }

  p.cart-status {
    margin-right: 1em;
  }
    p.cart-status #cartTotal {
      margin-right: .5em;
    }

    p.cart-status a.edit {
      padding: .25em 1em;
      background: #be4d23;
      border-radius: 3px;
      color: #fff;
    }
}

@media (max-width: 420px) {
  .hide-for-tiny,
  ul.checkout-steps li.step4 span {
    display: none;
  }
}

@media (max-width: 400px) {
  .checkout .checkout-form {
    text-align: center;
  }

    .checkout input#id_password {
      width: 100%;
    }

    .step1 .log-in button {
      margin-bottom: 1em;
    }

  .step1 button,
  .step1 .button {
    display: block;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 350px) {
  ul.checkout-steps li {
    padding: 1em .65em;
  }
}



/* Checkout - Shipping */
div.error-message-tip {
  left: 100% !important;
}

@media (max-width: 720px) {
  div.info.right {
    margin-bottom: 1em;
    position: static;
    width: 100%;
  }

  .checkout-form #id_email,
  .checkout-form #id_address1,
  .checkout-form #id_address2,
  .checkout-form #id_country,
  .checkout-form #id_card_number {
    width: 100%;
  }

  .checkout-form #id_city,
  .checkout-form #id_state,
  .checkout-form #id_province,
  .checkout-form #id_postal_code {
    width: 48%;
  }

  .checkout-form #id_first_name,
  .checkout-form #id_last_name {
    width: calc((100% - 76px) / 2);
  }
}

@media (max-width: 450px) {
  .checkout:not(.step1) button,
  .checkout:not(.step1) a.button,
  .checkout:not(.step1) input.button {
    display: block;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    padding-top: .75em;
    padding-bottom: .75em;
  }

  .checkout:not(.step1):not(.thankyou) .checkout-form ul li:not(.alert) {
    margin-bottom: 0;
  }

  .your-info ul {
    float: none;
  }

  .checkout-form fieldset {
    padding: 16px 1em 20px;
  }

  div.error-message-tip {
    position: static !important;
    width: 100%;
    background: none;
  }
    div.error-message-tip div.error {
      left: 0;
    }
}

@media (max-width: 400px) {
  ul#shipping-options {
    text-align: left;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}





/* Step 3 - Payment */

.checkout-form #tooltip-container {
  margin-bottom: 3em;
}

.section.two-column fieldset {
  width: calc(50% - 20px);
}
  .section.two-column fieldset.payment,
  .section.two-column fieldset#optional_donation,
  .section.two-column fieldset#coupon-code {
    margin-right: 0;
  }

.section.two-column fieldset.billing_address,
.section.two-column fieldset#optional_donation,
.section.two-column fieldset#gift-certificate,
.section.two-column fieldset#coupon-code {
  height: auto;
}

.section.two-column fieldset.billing_address {
  min-height: 394px;
}
  .step3 .checkout-form #id_first_name,
  .step3 .checkout-form #id_last_name {
    width: calc(50% - 36px);
  }

  .step3 .checkout-form #id_city,
  .step3 .checkout-form #id_state,
  .step3 .checkout-form #id_province,
  .step3 .checkout-form #id_postal_code {
    width: calc(50% - 5px);
  }

  .step3 .checkout-form #id_province,
  .step3 .checkout-form #id_last_name {
    margin-right: 0;
  }

.section.two-column fieldset#optional_donation {
  min-height: 165px;
}
  .section.two-column fieldset#optional_donation ul li:last-of-type {
    margin-bottom: 4px;
  }

  .step3 .checkout-form #id_email,
  .step3 .checkout-form #id_address1,
  .step3 .checkout-form #id_address2,
  .step3 .checkout-form #id_country,
  .step3 .checkout-form #id_card_number {
    width: 100%;
  }

.section.two-column fieldset#gift-certificate,
.section.two-column fieldset#coupon-code {
  min-height: 122px;
}
  .section.two-column fieldset#gift-certificate ul {
    margin-top: 19px;
  }
  .section.two-column fieldset#gift-certificate input#id_gc {
    width: calc(100% - 84px);
  }
  .section.two-column fieldset#gift-certificate button {
    margin-right: 0;
  }

  .section.two-column::after {
    content: '';
    clear: both;
    display: table;
  }

form#payment_form input.button.submit-payment {
  left: 0;
}


@media (max-width: 670px) {
  fieldset select#id_title,
  .checkout-form #id_first_name,
  .checkout-form #id_last_name,
  fieldset select#id_card_type,
  fieldset#optional_donation input#id_donation {
    width: 100%;
    display: block;
  }

  .section.two-column li:not(.alert) {
    margin-bottom: 0;
  }

  .section.two-column select,
  .section.two-column input:not([type="checkbox"]) {
    margin-bottom: 1em;
  }
}

@media (max-width: 600px) {
  .section.two-column fieldset {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 450px) {
  .section.two-column fieldset#optional_donation input#id_donation {
    width: 100%;
    display: block;
  }

  .section.two-column fieldset#gift-certificate button,
  .section.two-column fieldset#coupon-code a.button {
    display: inline-block;
    width: auto;
  }

  form#payment_form input.button.submit-payment {
    left: 0;
    right: 0;
  }
}





/* Checkout 4 - Review Order */

.step4 .checkout-form table {
  width: 100%;
}

.step4 .checkout-form div#cart-coupon-form {
  max-width: 760px;
  width: 100%;
}

@media (max-width: 767px) {
  .blockUI.blockMsg.blockPage {
    width: 95% !important;
    max-width: 300px;
    top: 50% !important;
    left: 50% !important;

    -webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
  }
}

@media (max-width: 450px) {
  table#order-details,
  table#order-details tbody,
  table#order-details tr,
  table#order-details td {
    display: block;
  }

  table#order-details {
    width: 50%;
    margin: 0 auto;
  }
  table#order-details td {
    margin: 0 auto 2em;
  }
}

@media (max-width: 400px) {
  div#order-summary {
    text-align: center;
  }

    table#order-summary,
    table#order-details {
      width: 100%;
    }

      table#order-summary,
      table#order-summary tbody,
      table#order-summary tr,
      table#order-summary td {
        display: block;
      }

      table#order-summary td {
        padding-bottom: 20px;
        border-bottom-width: 0;
      }

      table#order-summary tr.total td,
      table#order-summary td.price {
        text-align: center;
      }

      table#order-summary td.price {
        padding-top: 0;
        margin-bottom: 10px;
        border-bottom-width: 1px;
      }

    div#order-summary > p {
      max-width: 75%;
      margin-left: auto;
      margin-right: auto;
    }

    div#order-summary p a {
      display: block;
      margin-top: .5em;
      margin-left: auto;
      margin-right: auto;
      padding: .25em 1em;
      max-width: 150px;

      background: #a46418;
      border-radius: 3px;
      color: #fff;
    }

    .step4 .submit {
      margin-top: 4em;
    }

    p.quiet {
      margin-top: 1em;
    }
}

@media (max-width: 350px) {
  div#order-summary > p {
    max-width: 90%;
  }
}


@media (max-width: 450px) {
  .checkout .checkout-form #id_email,
  .checkout .checkout-form .phone,
  .checkout .checkout-form #id_address1,
  .checkout .checkout-form #id_address2,
  .checkout .checkout-form #id_country,
  .checkout .checkout-form #id_card_number,
  .checkout .checkout-form #id_city,
  .checkout .checkout-form #id_state,
  .checkout .checkout-form #id_province,
  .checkout .checkout-form #id_postal_code,
  .checkout .checkout-form #id_first_name,
  .checkout .checkout-form #id_last_name,
  fieldset select#id_title {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1em;
  }
}





/* Thank you */

.checkout-promo::after {
  content: '';
  clear: both;
  display: table;
}
  .checkout-promo img {
    max-width: 471px;
    height: auto;
  }

@media (max-width: 767px) {
  .checkout-promo img {
    width: calc(65% - 47px);
  }
  .checkout-promo ul {
    width: 35%;
  }
}

@media (max-width: 610px) {
  .checkout-promo {
    text-align: center;
  }

    div.checkout-promo img,
    div.checkout-promo ul {
      float: none;
    }

    div.checkout-promo img {
      width: 100%;
      margin: auto;
    }
    .checkout-promo ul {
      width: 100%;
      max-width: 210px;
      margin-left: auto;
      margin-right: auto;
      text-align: left;
    }
}

@media (max-width: 400px) {
  .thankyou .container a {
    display: inline-block;
    padding: .5em 1em;
    background-color: #a46418;
    border-radius: 3px;
    color: #fff;
    white-space: nowrap;
  }
}




/**
 * 4. Search
 */

#primary.search div.page-header.full-width {
  max-width: 960px;
  width: 100%;
}

#primary.search {
  width: 73%;
}

  #primary.search ul.resource-list li .col-right {
    width: 70%;
  }

  @media (max-width: 820px) {
    #primary.search {
      width: 100%;
    }
  }

  @media (max-width: 600px) {
    .page--store #primary.search ul.resource-list li .col-right,
    #primary.search ul.resource-list li .col-right {
      width: 100%;
      float: none;
    }
  }





/**
 * 5. Cart
 */

.page--cart #cart-coupon-input label  { display: none; }
.page--cart #btnUpdate                { margin-right: 1em; }
.page--cart span#have-coupon          { text-decoration: none; }

@media (max-width: 500px) {
  .page--store.page--cart #content .container {
    padding-left: 0;
    padding-right: 0;
  }
  .page--cart .cart {
    padding: 20px 15px;
    background: none;
  }
    .page--cart table.checkout,
    .page--cart table.checkout tbody,
    .page--cart table.checkout tr,
    .page--cart table.checkout td {
      display: block;
    }

    .page--cart table.checkout thead {
      display: none;
    }

    .page--cart table.checkout tr {
      border-bottom: 1px solid #e6e2db;
      padding-top: 1em;
      padding-bottom: 1em;
    }

    .page--cart table.checkout td {
      padding-top: 0;
      border: none;
    }

      .page--cart table.checkout td:not(:first-of-type) {
        display: inline-block;
      }

      .page--cart table.checkout td:last-of-type {
        text-align: right;
      }

      .page--cart table.checkout tr.empty td {
        text-align: left;
      }

      .page--cart table.checkout td h3,
      .page--cart table.checkout p.desc {
        font-size: 14px;
      }
  
  div#cart-coupon-input {
    margin-bottom: 1em;
  }

    #cart-coupon-input input {
      width: calc(100% - 119px);
      font-size: 16px;
    }

  div#cart-footer #updating {
    position: fixed !important;
    top: 0; left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(239,243,219,.9) !important;
    font-size: 1em;
    z-index: 1;
  }
    div#cart-footer #updating div {
      position: absolute;
      top: 50%; left: 50%;

      -webkit-transform: translate(-50%,-50%);
         -moz-transform: translate(-50%,-50%);
          -ms-transform: translate(-50%,-50%);
              transform: translate(-50%,-50%);
    }

  .page--cart div#cart-footer .buttons::after {
    content: '';
    clear: both;
    display: table;
  }

    .page--cart div#cart-footer a#clear-cart,
    .page--cart button#check-out {
      display: block;
      margin: .5em 0;
    }
      .page--cart div#cart-footer a#clear-cart {
        margin-top: .75em;
        padding-left: 15px;
        float: left;
        background-position: left center;
        text-align: left;
      }

    .page--cart button#check-out {
      float: right;
      opacity: 1;
    }
}



/**
 * 6. Academy
 */

/*
.cycle {
  overflow: initial;
  width: 100%;
}

#ministry-subnav { width: 100%; }

  #ministry-subnav #subnav-title.academy {
    padding-left: 0;
    padding-right: 30px;
    margin-left: 54px;
  }

  #ministry-subnav #subnav-title.academy + ul.subnav {
    padding-left: 20px;
    margin-left: 0;
  }
    #ministry-subnav #subnav-title.academy + ul.subnav li {
    margin-right: 15px;
  }
*/

@media all and (-ms-high-contrast:none), (-ms-high-contract:active){
    .ministry-content {
        width: 100%;
        padding-left: 20px;
        padding-right: 30px;
        margin-right:15px;
    }
}

/**
 * 7. Home
*/

#home .slider-pro {
    margin-top: 10px;
}
.sp-buttons {
    padding-top: 20px !important;
}
.sp-button {
    border: 2px solid #A2A19D !important;
    background: #A2A19D;
}
.sp-selected-button {
    background: white !important;
}
.sp-arrow {
    height: 20px !important;
}
.sp-next-arrow:after,
.sp-next-arrow:before,
.sp-previous-arrow:after,
.sp-previous-arrow:before {
    width: 20% !important;
}
#home .resource-slide .header img {
    display: inline-block;
    max-height: 24px;
    height: 12px;
    width: 12px;
    position: relative;
    top: 2px;
    left: -3px;
}
#home .resource-slide .header {
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #8c8c8c;
    font-weight: bold;
    margin-top: 3px;
    font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
    font-size: 12px;
    text-shadow: 0px 0px 1px white;
}
#home .resource-slide .column {
    width: 31.5%;
    background: #F3F2F0 !important;
    box-shadow: 0px 0px 0px 1px #ECE9E5;
    border-top: 1px solid white;
    border-radius: 3px;
    height: auto;
    min-height: 182px;
}
#home .resource-slide .column:hover {
    background: #FAF9F7 !important;
}
#home #subpanels .column div.thumbnail {
    position: relative;
    top: 0px;
    left: 0;
    width: 170px;
    margin: 0px auto;
}
#home #subpanels .column div.content {
    position: relative;
    top: 0px;
    margin-top: 8px;
}
#home #subpanels .column div.thumbnail img.play-icon {
    position: absolute;
    top: 28px;
    left: 40%;
}
#subpanels.three-col .column {
    padding: 5px;
}
#subpanels {
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
    margin-left: 0px;
}
ul#resource-slides {
    width: 100%;
}
li.resource-slide {
    width: 100%;
}
#subpanels .column.devotional div.content {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    left: 0px;
}
#feature-slider {
    margin-bottom: 20px;
}
#feature-slider .sp-buttons {
	display: none;
}
#home #feature-slider .sp-buttons {
	display: inherit;
}
@media screen and (max-width: 900px) {
	a#resource-next { right: 70px; }
	a#resource-prev { left: 70px; }
}
@media screen and (max-width: 768px) {
    #subpanels.three-col {
        height: auto;
        background: #F4F4F4;
        width: 100%;
        padding-bottom: 3px;
        margin-bottom: 20px;
        box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.10);
        margin-top: 15px;
    }
    ul#resource-slides {
        height: auto;
    }
    li.resource-slide {
        height: auto;
        position: relative;
        width: 100%;
        padding-bottom: 5px;
        margin-right: 0px;
        padding: 15px;
    }
    #home .resource-slide .column {
        width: 100%;
        min-height: inherit;
        margin-left: 0px;
    }
    #subpanels.three-col h1 em {
        display: none !important;
    }
    #subpanels.three-col h1 .date {
        display: none !important;
    }
    #resource-prev {
        display: none !important;
    }
    #resource-next {
        display: none !important;
    }
    #subpanels.three-col h1 {
        width: 100%;
        background: none;
        margin-top: 5px;
    }
    .expanding .expand-content,
    .expanding-home .expand-content {
        width: 100%;
    }
    #content #primary ul.expanding-home {
        width: 100%;
    }
    .expanding p,
    .expanding-home p {
        width: 95%;
        display: none;
    }
    #primary .expanding li.open h4,
    #primary .expanding-home li.open h4,
    #employment .expanding li.open h4 {
        background: url(../images/expand.gif) 0px 6px no-repeat;
    }
}