/* Copyright (C) WarpTheme, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */

/* Header uses BS4 col-8/col-4, which this Bootstrap 3 build doesn't define,
   so below 1200px the logo and menu columns stacked and the toggler fell out of the header */
@media (max-width: 1199px) {
  #sp-header > .container > .row { display: flex; align-items: center; }
  #sp-header #sp-logo { flex: 1 1 auto; min-width: 0; width: auto; }
  #sp-header #sp-logo img { max-width: 100%; height: auto; }
  #sp-header #sp-menu { flex: 0 0 auto; width: auto; }
  #sp-header .sp-megamenu-parent { display: none !important; }
}

/* Wider side margins for single-column article text.
   Wrap the text in <div class="article-text"> ... </div>,
   or put class="article-text" on a single <p>, <ul> or <ol>. */
.article-text { padding-left: 40px; padding-right: 40px; }
ul.article-text, ol.article-text { padding-left: 80px; }   /* 40px + normal bullet indent */
.paddle-page > .article-text { width: 100%; }               /* .paddle-page is a flex row */
@media (max-width: 991px) {
  .article-text { padding-left: 20px; padding-right: 20px; }
  ul.article-text, ol.article-text { padding-left: 60px; }
}
@media (max-width: 767px) {
  .article-text { padding-left: 0; padding-right: 0; }
  ul.article-text, ol.article-text { padding-left: 40px; }
}

/* Slideshow/banner inset to line up with the outer edges of the two
   .paddle-page columns (2 x 45% wide, centred -> 2.5% each side).
   Below 500px the columns are full width, so the inset is dropped too.
   Use: <div class="banner-inset"> {slideshow / image} </div>  (outside .paddle-page) */
@media (min-width: 500px) {
  .banner-inset { padding-left: 2.5%; padding-right: 2.5%; }
}

 