/* ========================================================================== */
/* Orion footer/mobile hotfix v3                                              */
/* Scope: partner banners + footer only. Desktop remains untouched.           */
/* ========================================================================== */

@media (max-width: 767px) {
  /* ----------------------------------------------------------------------- */
  /* Partner banners                                                         */
  /* jCarousel is deliberately NOT initialized on mobile (see js/custom.js). */
  /* Keep every banner in normal document flow so the footer can only start  */
  /* after the last banner has ended.                                         */
  /* ----------------------------------------------------------------------- */
  body .page-carousel {
    display: block !important;
    position: relative !important;
    clear: both !important;
    float: none !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin-bottom: 32px !important;
  }

  body .page-carousel .brands-carousel {
    display: block !important;
    position: relative !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin-bottom: 0 !important;
  }

  body .brands-carousel .jcarousel-container,
  body .brands-carousel .jcarousel-container-horizontal,
  body .brands-carousel .jcarousel-clip,
  body .brands-carousel .jcarousel-clip-horizontal {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body .brands-carousel ul.brands-carousel-list,
  body .brands-carousel ul.brands-carousel-list.jcarousel-list,
  body .brands-carousel ul.brands-carousel-list.jcarousel-list-horizontal {
    position: static !important;
    display: block !important;
    float: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 8px 0 10px !important;
    list-style: none !important;
  }

  body .brands-carousel ul.brands-carousel-list > li,
  body .brands-carousel ul.brands-carousel-list > li.jcarousel-item,
  body .brands-carousel ul.brands-carousel-list > li.jcarousel-item-horizontal {
    position: static !important;
    display: block !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body .brands-carousel ul.brands-carousel-list > li:last-child {
    margin-bottom: 0 !important;
  }

  body .brands-carousel ul.brands-carousel-list > li > a {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    text-align: center !important;
  }

  body .brands-carousel ul.brands-carousel-list > li img {
    display: block !important;
    position: static !important;
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  body .brands-carousel .jcarousel-next,
  body .brands-carousel .jcarousel-prev {
    display: none !important;
  }

  /* ----------------------------------------------------------------------- */
  /* Footer                                                                  */
  /* Strong visual separation from the banners and explicit readable colors. */
  /* ----------------------------------------------------------------------- */
  body #footer-wrapper {
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 30px 0 0 !important;
    overflow: visible !important;
    background: #273e42 !important;
    color: #ffffff !important;
  }

  body #footer,
  body #footer-bottom {
    position: relative !important;
    clear: both !important;
    float: none !important;
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
  }

  body #footer > .row,
  body #footer-bottom > .row {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  body #footer > .row > .span3,
  body #footer-bottom .span6 {
    display: block !important;
    position: static !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body #footer > .row > .span3 {
    margin-bottom: 22px !important;
    padding-bottom: 22px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  }

  body #footer > .row > .span3:last-child {
    border-bottom: 0 !important;
    margin-bottom: 8px !important;
  }

  body #footer .widget {
    display: block !important;
    position: static !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    color: #ffffff !important;
  }

  body #footer .widget .title,
  body #footer .widget h1,
  body #footer .widget h2,
  body #footer .widget h3,
  body #footer .widget h4,
  body #footer .widget h5,
  body #footer .widget h6 {
    color: #ffffff !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
  }

  body #footer .widget,
  body #footer .widget p,
  body #footer .widget li,
  body #footer .widget span,
  body #footer .widget div,
  body #footer .widget .textwidget {
    color: #ffffff !important;
  }

  body #footer .widget a {
    color: #ffffff !important;
  }

  body #footer .widget a:hover,
  body #footer .widget a:focus {
    color: #33c7ec !important;
  }

  body #footer .widget ul,
  body #footer .widget ul li {
    position: static !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  body #footer .widget img,
  body #footer .textwidget img {
    position: static !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 10px auto !important;
  }

  body #footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    padding-top: 18px !important;
    padding-bottom: 14px !important;
  }

  body #footer-bottom p,
  body #footer-bottom .copyright,
  body #footer-bottom .designed-by,
  body #footer-bottom a {
    float: none !important;
    width: 100% !important;
    color: #dce5e7 !important;
    text-align: center !important;
    line-height: 1.55 !important;
    margin: 0 0 8px !important;
  }
}
