cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <!--
Arlo Web Control Demo - Cataloge - Theme1
Documentation: https://developer.arlo.co/doc/webcontrols/categorycatalogueadvanced
-->

    <!-- Target Elements -->
    <div class="arlo">
        <div class="arlo-catalogue-intro">
            <h1>Catalogue</h1>
            <p class="arlo-text-color-light">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque quis fringilla massa. Praesent vitae imperdiet felis. Nulla id porttitor velit, nec iaculis orci. Nulla blandit at tellus et semper. Cras hendrerit faucibus velit in commodo. </p>
        </div>

        <div class="arlo-side-filters">
            <div class="arlo-section">
                <h4>Catalogue</h4>
                <ul id="category-list" class="arlo-category-list"></ul>
            </div>
            <div class="arlo-section">
                <div id="side-filter"></div>
            </div>

            <div id="arlo-filter-toggle">
                <div class="arlo-filter-toggle-show">
                    Show filters <i class="fa fa-chevron-down"></i>
                </div>
                <div class="arlo-filter-toggle-hide">
                    Hide filters <i class="fa fa-chevron-up"></i>
                </div>
            </div>
        </div>

        <div class="arlo-main-catalogue">

            <div id="arlo-category-header"></div>

            <div id="arlo-catalogue-filter"></div>

            <div id="arlo-catalogue"></div>

            <div id="arlo-category-footer"></div>
        </div>
    </div>

    <script type='text/template' id='side-filter-template'>
        <%= showFilter({filterCode: "templatetag", displayStyle: "ul", showCount: false, callbacks: {onBeforeRender: "updateTemplateTagNames"}}) %>
    </script>

    <!-- Templates -->
    <script type='text/template' id='catalogue-template'>
    <div class="arlo-column-headers">
        <div class="arlo-title arlo-font-special">
            Course name
        </div>

        <div class="arlo-advertisedduration">
            Duration
        </div>

        <div class="arlo-offers">
            Price
        </div>

        <div class="arlo-next-running-wrapper">
            Next two dates running
        </div>
    </div>

        <%= showCategoryEventTemplateCategoryItems({
        template: "#event-template-template",
        loadImmediately: true,
        maxCount: 6,
        includeLoadMoreButton: true,
        loadMoreButtonText: "Show More",
        showDescendants: false,
        callbacks: {
            onShow: categoryItemsOnShow
        }
        }) %>
    </script>

    <script type='text/template' id='event-template-template'>
        <div class="arlo-listitem arlo-clearfix arlo-bg-color-highlist arlo-text-color-dark">
            <div class="arlo-title arlo-font-special">
                <a href="<%= Uri %>" class="arlo-name arlo-text-color-primary">
                    <%- Title %>
                </a>
            </div>

            <div class="arlo-advertisedduration">
                <%= AdvertisedDuration %>
            </div>

            <div class="arlo-offers">
                <%= formatAdvertisedOffers({showSingleOffer: true, freeText: "Free"}) %>
            </div>

            <div class="nextrunning-<%= EventTemplateID %> arlo-next-running-wrapper arlo-text-color-light" data-registeruri="<%= RegisterInterestUri %>" data-customuri="<%if(typeof ViewUri!=='undefined'){%><%=ViewUri %><%}%>">
            </div>

        </div>
    </script>


    <script type='text/template' id='event-template'>
        <div>
            <a href="<%= ViewUri %>" class="arlo-next-running arlo-bg-color-button"><%= formatDate(StartDateTime, "DD MMM YYYY") %></a> <%= Location.Name %> 
        </div>
    </script>

    <script type='text/template' id='category-header-template'>
        <div class="arlo-category-header">
            <h1 class="arlo-category-title">
                <%- Name %>
            </h1>
            <p class="arlo-font-primary">
                <%= Description.Text %>
            </p>
        </div>
    </script>

    <script type='text/template' id='category-footer-template'>
        <div class="arlo-category-footer arlo-text-color-normal">
            <%= Footer.Text %>
        </div>
    </script>

    <script type='text/template' id='filter-template'>
        <div class="arlo-locations-filter">
            <%= showFilter({filterCode: "locname", showCount: false }) %>
        </div>
    </script>

    <script id="category-list-template" type="text/html">
        <a href="<%= ViewUri %>">
             <%= Name %>
        </a>
        <ul class="category-children"></ul>
    </script>


    <script src="//code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" charset="utf-8"></script>
    <script type="text/javascript" src="//packages.arlocdn.net/jscontrols/1.0/resources/resizesensor.js" charset="utf-8"></script>
    <script type="text/javascript" src="//packages.arlocdn.net/jscontrols/1.0/resources/elementqueries.js" charset="utf-8"></script>
    <script type="text/javascript" src="//connect.arlocdn.net/jscontrols/1.0/init.js" charset="utf-8"  defer="defer"></script>
            
          
!
            
              html {
  box-sizing: border-box; }

*, *::after, *::before {
  box-sizing: inherit; }

/* ----- Breakpoints ----- */
/* ----- Sizes ----- */
/* ----- Colours ----- */
/* ----- Fonts ----- */
body {
  margin: 0; }

.arlo {
  font-size: 16px;
  overflow: auto;
  /* ----- Loader ----- */
  /* Absolute Center Spinner */
  /* Animation */
  /* ----- Normalize ----- */
  /*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
  /**
   * 1. Change the default font family in all browsers (opinionated).
   * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
   */
  /**
   * Remove the margin in all browsers (opinionated).
   */
  /* HTML5 display definitions
     ========================================================================== */
  /**
   * Add the correct display in IE <10.
   * Add the correct display in Edge, IE, and Firefox for `details` or `summary`.
   * Add the correct display in IE for `main`.
   */
  /**
   * Add the correct display in IE <10.
   */
  /**
   * Add the correct display and remove excess height in iOS 4-7.
   */
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  /**
   * Add the correct display in IE <11, Safari <8, and Firefox <22.
   * 1. Add the correct display in IE.
   */
  /* Links
     ========================================================================== */
  /**
   * 1. Remove the gray background on active links in IE 10.
   * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
   */
  /**
   * Remove the outline on focused links when they are also active or hovered
   * in all browsers (opinionated).
   */
  /* Text-level semantics
     ========================================================================== */
  /**
   * 1. Remove the bottom border in Firefox <40.
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  /**
   * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
   */
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  /**
   * Add the correct font style in Android <4.4.
   */
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  /**
   * Add the correct background and color in IE <10.
   */
  /**
   * Add the correct font size in all browsers.
   */
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  /* Embedded content
     ========================================================================== */
  /**
   * Remove the border on images inside links in IE <11.
   */
  /**
   * Hide the overflow in IE.
   */
  /* Grouping content
     ========================================================================== */
  /**
   * Add the correct margin in IE 8.
   */
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  /* Forms
     ========================================================================== */
  /**
   * Known issues:
   * - By default, Chrome on OS X and Safari on OS X allow very limited styling of
   *   select, unless a border property is set. The default font weight on
   *   optgroup elements cannot safely be changed in Chrome on OSX and Safari on
   *   OS X.
   * - It is recommended that you do not style checkbox and radio inputs as
   *   Firefox's implementation does not respect box-sizing, padding, or width.
   * - Certain font size values applied to number inputs cause the cursor style of
   *   the decrement button to change from default to text.
   * - The search input is not fully stylable by default. In Chrome and Safari on
   *   OSX/iOS you can't control font, padding, border, or background. In Chrome
   *   and Safari on Windows you can't control border properly. It will apply
   *   border-width but will only show a border color (which cannot be controlled)
   *   for the outer 1px of that border. Applying -webkit-appearance: textfield
   *   addresses these issues without removing the benefits of search inputs (e.g.
   *   showing past searches). Safari (but not Chrome) will clip the cancel button
   *   on when it has padding (and textfield appearance).
   */
  /**
   * 1. Change font properties to `inherit` in all browsers (opinionated).
   * 2. Remove the margin in Firefox and Safari.
   * 3. Address `font-family` inconsistency between `textarea` and other form in IE 7
   * 4. Improve appearance and consistency with IE 6/7.
   */
  /**
   * Show the overflow in IE.
   */
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  /**
   * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
   *    controls in Android 4.
   * 2. Correct the inability to style clickable types in iOS and Safari.
   */
  /**
   * Show the overflow in Edge.
   */
  /**
   * 1. Add the correct box sizing in IE <11.
   * 2. Remove the padding in IE <11.
   * 3. Remove excess padding in IE 7.
   *    Known issue: excess padding remains in IE 6.
   */
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  /**
   * Correct the text style of placeholders in Chrome, Edge, and Safari.
   */
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  /**
   * Change the border, margin, and padding in all browsers (opinionated).
   */
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   * 4. Correct alignment displayed oddly in IE 6/7.
   */
  /**
   * Restore the font weight unset by a previous rule.
   */
  /**
   * Remove the default vertical scrollbar in IE.
   */
  /* ----- Custom resets ----- */
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
  /* ----- Clearfix ----- */
  /* ----- Icons ----- */
  /* ----- Filters and category buttons ----- */
  /*TODO*/
  /* ----- Event list items ----- */ }
  .arlo .arlo-loading-overlay {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    bottom: 50%;
    top: 50%;
    left: 50%;
    right: 50%;
    /*
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    */
    /* Transparent Overlay */
    /* :not(:required) hides these rules from IE9 and below */ }
    .arlo .arlo-loading-overlay:before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, 0.3); }
    .arlo .arlo-loading-overlay:not(:required) {
      /* hide "loading..." text */
      font: 0/0 a;
      color: transparent;
      text-shadow: none;
      background-color: transparent;
      border: 0; }
    .arlo .arlo-loading-overlay:not(:required):after {
      content: '';
      display: block;
      font-size: 10px;
      width: 1em;
      height: 1em;
      margin-top: -0.5em;
      -webkit-animation: spinner 1500ms infinite linear;
      animation: spinner 1500ms infinite linear;
      border-radius: 0.5em;
      box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0; }
@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
  .arlo html {
    font-family: sans-serif;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */ }
  .arlo body {
    margin: 0; }
  .arlo article,
  .arlo aside,
  .arlo details,
  .arlo figcaption,
  .arlo figure,
  .arlo footer,
  .arlo header,
  .arlo main,
  .arlo menu,
  .arlo nav,
  .arlo section,
  .arlo summary {
    display: block; }
  .arlo audio,
  .arlo canvas,
  .arlo progress,
  .arlo video {
    display: inline-block; }
  .arlo audio:not([controls]) {
    display: none;
    height: 0; }
  .arlo progress {
    vertical-align: baseline; }
  .arlo template,
  .arlo [hidden] {
    display: none; }
  .arlo a {
    background-color: transparent;
    /* 1 */
    -webkit-text-decoration-skip: objects;
    /* 2 */ }
  .arlo a:active,
  .arlo a:hover {
    outline-width: 0; }
  .arlo abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */ }
  .arlo b,
  .arlo strong {
    font-weight: inherit; }
  .arlo b,
  .arlo strong {
    font-weight: bolder; }
  .arlo code,
  .arlo kbd,
  .arlo samp {
    font-family: monospace, monospace;
    font-size: 1em; }
  .arlo dfn {
    font-style: italic; }
  .arlo h1 {
    font-size: 2em;
    /* Set 1 unit of vertical rhythm on the top and bottom margins. */
    margin: 0.75em 0; }
  .arlo mark {
    background-color: #ff0;
    color: #000; }
  .arlo small {
    font-size: 80%; }
  .arlo sub,
  .arlo sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline; }
  .arlo sub {
    bottom: -0.25em; }
  .arlo sup {
    top: -0.5em; }
  .arlo img {
    border-style: none; }
  .arlo svg:not(:root) {
    overflow: hidden; }
  .arlo figure {
    margin: 1.5em 40px; }
  .arlo hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */ }
  .arlo pre {
    font-family: monospace, monospace;
    font-size: 1em; }
  .arlo button,
  .arlo input,
  .arlo optgroup,
  .arlo select,
  .arlo textarea {
    font: inherit;
    /* 1 */
    margin: 0;
    /* 2 */ }
  .arlo button {
    overflow: visible; }
  .arlo button,
  .arlo select {
    /* 1 */
    text-transform: none; }
  .arlo button,
  .arlo html [type="button"],
  .arlo [type="reset"],
  .arlo [type="submit"] {
    -webkit-appearance: button;
    /* 2 */ }
  .arlo button,
  .arlo [type="button"],
  .arlo [type="reset"],
  .arlo [type="submit"] {
    /**
     * Remove the inner border and padding in Firefox.
     */
    /**
     * Restore the focus styles unset by the previous rule.
     */ }
    .arlo button::-moz-focus-inner,
    .arlo [type="button"]::-moz-focus-inner,
    .arlo [type="reset"]::-moz-focus-inner,
    .arlo [type="submit"]::-moz-focus-inner {
      border-style: none;
      padding: 0; }
    .arlo button:-moz-focusring,
    .arlo [type="button"]:-moz-focusring,
    .arlo [type="reset"]:-moz-focusring,
    .arlo [type="submit"]:-moz-focusring {
      outline: 1px dotted ButtonText; }
  .arlo input {
    overflow: visible; }
  .arlo [type="checkbox"],
  .arlo [type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */ }
  .arlo [type="number"]::-webkit-inner-spin-button,
  .arlo [type="number"]::-webkit-outer-spin-button {
    height: auto; }
  .arlo [type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
    /**
     * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
     */ }
    .arlo [type="search"]::-webkit-search-cancel-button, .arlo [type="search"]::-webkit-search-decoration {
      -webkit-appearance: none; }
  .arlo ::-webkit-input-placeholder {
    color: inherit;
    opacity: 0.54; }
  .arlo ::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */ }
  .arlo fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em; }
  .arlo legend {
    box-sizing: border-box;
    /* 1 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    white-space: normal;
    /* 1 */
    color: inherit;
    /* 2 */
    padding: 0;
    /* 3 */ }
  .arlo optgroup {
    font-weight: bold; }
  .arlo textarea {
    overflow: auto; }
  .arlo ol, .arlo ul, .arlo li {
    list-style: none;
    padding: 0;
    margin: 0; }
  .arlo .arlo-h1 {
    font-size: 42px;
    line-height: 45px;
    letter-spacing: 0;
    font-weight: normal;
    color: #09142f; }
  .arlo .arlo-h2, .arlo .arlo-h3 {
    margin-bottom: 5px; }
  .arlo .arlo-h2 {
    font-size: 30px;
    line-height: 34px; }
  .arlo .arlo-h3 {
    font-size: 24px;
    line-height: 30px; }
  .arlo label {
    font-weight: normal; }
  .arlo select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    padding: 10px 70px 10px 24px;
    background-image: url(http://theme1.demo.arlo.co/wp-content/uploads/2016/07/dropdown-arrow-no-line.png);
    background-repeat: no-repeat;
    background-position: 90% center;
    cursor: pointer; }
  .arlo select:hover {
    opacity: 0.7; }
  .arlo .arlo-bg-color-primary {
    background-color: #ED017B; }
  .arlo .arlo-bg-color-secondary {
    background-color: #FFE260; }
  .arlo .arlo-bg-color-highlight {
    background-color: #FFE260; }
  .arlo .arlo-bg-color-normal {
    background-color: #fafafa; }
  .arlo .arlo-bg-color-darker {
    background-color: #ededed; }
  .arlo .arlo-bg-color-darkest {
    background-color: #e1e1e1; }
  .arlo .arlo-bg-color-button {
    background-color: #08cec2; }
  .arlo .arlo-text-color-primary {
    color: #ED017B; }
  .arlo .arlo-text-color-secondary {
    color: #FFD101; }
  .arlo .arlo-text-color-contrast {
    color: #FFFFFF; }
  .arlo .arlo-text-color-lightest {
    color: #2654c5; }
  .arlo .arlo-text-color-light {
    color: #adaeb3; }
  .arlo .arlo-text-color-normal {
    color: #09142f; }
  .arlo .arlo-text-color-dark {
    color: #050b1a; }
  .arlo .arlo-text-color-link {
    color: #FF1D87; }
  .arlo .arlo-font-primary {
    font-family: "Source Sans Pro", Arial, Tahoma, sans-serif; }
  .arlo .arlo-font-secondary {
    font-family: "Source Sans Pro", Arial, Tahoma, sans-serif; }
  .arlo .arlo-font-special {
    font-family: "Source Sans Pro", Arial, Tahoma, sans-serif; }
  .arlo .arlo-clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0; }
  .arlo * html .arlo-clearfix {
    zoom: 1; }
  .arlo * {
    box-sizing: border-box; }
  .arlo *:first-child + html .arlo-clearfix {
    zoom: 1; }
  .arlo .icons8 {
    display: inline-block; }
  .arlo .icon-size-36 {
    font-size: 36px; }
  .arlo .icon-size-30 {
    font-size: 30px; }
  .arlo .icon-size-24 {
    font-size: 24px; }
  .arlo a {
    color: #ED017B; }
  .arlo #arlo-filter-toggle {
    display: none; }
  .arlo[max-width~="799px"] .arlo-timezone-select {
    padding: 0 35px 0 0; }
  .arlo[max-width~="799px"] .arlo-collapse-button {
    display: block; }
  .arlo[max-width~="799px"] div[id^='filter-'] {
    padding-right: 0; }
  .arlo[max-width~="799px"] * {
    width: 100%; }
  .arlo[max-width~="799px"] li {
    margin-bottom: 10px; }
  .arlo[max-width~="799px"] #arlo-filter-toggle {
    display: block;
    cursor: pointer;
    background: #f1f7fb;
    border-radius: 10px;
    padding: 32px 26px;
    margin-bottom: 20px; }
    .arlo[max-width~="799px"] #arlo-filter-toggle i {
      float: right;
      width: auto; }
    .arlo[max-width~="799px"] #arlo-filter-toggle .arlo-filter-toggle-hide {
      display: none; }
    .arlo[max-width~="799px"] #arlo-filter-toggle .arlo-filter-toggle-show {
      display: block; }
  .arlo[max-width~="799px"] .arlo-side-filters .arlo-section {
    display: none; }
  .arlo[max-width~="799px"] .arlo-side-filters.arlo-show-filter .arlo-section {
    display: block; }
  .arlo[max-width~="799px"] .arlo-side-filters.arlo-show-filter #arlo-filter-toggle .arlo-filter-toggle-hide {
    display: block; }
  .arlo[max-width~="799px"] .arlo-side-filters.arlo-show-filter #arlo-filter-toggle .arlo-filter-toggle-show {
    display: none; }
  .arlo .arlo-parent-category {
    font-size: 20px; }
  .arlo .arlo-traversable-categories {
    list-style: none;
    clear: both;
    padding-top: 1em; }
  .arlo .arlo-category-breadcrumb {
    color: #ED017B; }
  .arlo .arlo-filter-select {
    display: inline-block;
    background-color: #F1F7FB;
    border-radius: 30px;
    color: #565656;
    border: none; }
  .arlo .arlo-traversable-category {
    background-color: #f7f7f7;
    color: #ED017B;
    border: none;
    padding: .5em .75em;
    margin-bottom: .5em; }
  .arlo .arlo-filter-select:focus {
    outline-width: 0; }
  .arlo .arlo-locations-filter {
    text-align: center;
    float: right; }
  .arlo .arlo-category-breadcrumb:hover {
    color: #0397d3;
    cursor: pointer;
    text-decoration: underline; }
  .arlo .arlo-traversable-category:hover {
    cursor: pointer;
    opacity: 0.7; }
  .arlo .arlo-category-breadcrumb:last-child {
    color: #2ad3c9; }
    .arlo .arlo-category-breadcrumb:last-child:first-child {
      display: none; }
    .arlo .arlo-category-breadcrumb:last-child:hover {
      color: #2ad3c9;
      cursor: default;
      text-decoration: none; }
  .arlo .arlo-traversable-breadcrumbs {
    margin-bottom: 5px; }
  .arlo .arlo-category-breadcrumb:after {
    content: '\00a0\003e\00a0';
    display: inline-block;
    text-decoration: none; }
  .arlo .arlo-category-breadcrumb:last-child:after {
    content: '';
    display: inline-block;
    text-decoration: none; }
  .arlo .arlo-filter-radio-buttons {
    text-align: center; }
  .arlo .arlo-radio-filter-option {
    display: inline-block; }
    .arlo .arlo-radio-filter-option input[id^="templatecategoryid"] + label {
      float: left;
      margin-right: 10px;
      border-radius: 30px;
      position: relative;
      margin-bottom: 10px;
      background-color: #F1F7FB;
      color: #636363;
      padding: 10px 20px;
      cursor: pointer; }
  .arlo .arlo-radio-filter-option input[id^="templatecategoryid"] {
    display: none; }
  .arlo .arlo-filter-unordered-list li {
    line-height: 36px;
    background-color: transparent;
    color: #FF1D87;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    vertical-align: middle;
    margin-bottom: 5px; }
    .arlo .arlo-filter-unordered-list li:before {
      display: inline-block;
      font-family: "Arlo-WP";
      font-style: normal;
      font-weight: normal;
      font-variant: normal;
      line-height: 1;
      text-decoration: inherit;
      text-rendering: optimizeLegibility;
      text-transform: none;
      -moz-osx-font-smoothing: grayscale;
      -webkit-font-smoothing: antialiased;
      font-smoothing: antialiased;
      font-size: 2em;
      vertical-align: inherit;
      margin-right: .2em; }
    .arlo .arlo-filter-unordered-list li.selected {
      background-color: #fe6fb9;
      color: white;
      padding: 10px; }
  .arlo .arlo-filters-container .arlo-filter-tag .arlo-filter-unordered-list li.selected {
    color: #fff;
    background-color: #FF91C4;
    padding: 10px; }
  .arlo .arlo-filter-unordered-list li[data-code="Web_DummyData"] {
    display: none; }
  .arlo .arlo-filter-unordered-list li[data-code="Web_Public"]:before {
    content: "\f118"; }
  .arlo .arlo-filter-unordered-list li[data-code="Web_LiveOnline"]:before {
    content: "\f10a"; }
  .arlo .arlo-filter-unordered-list li[data-code="Web_PrivateOnsite"]:before {
    content: "\f10b"; }
  .arlo .arlo-filter-unordered-list li[data-code="Web_SelfpacedOnline"]:before {
    content: "\f116"; }
  .arlo .arlo-column-headers > div,
  .arlo .arlo-listitem > div {
    display: inline-block;
    padding-right: 1em; }
  .arlo .arlo-column-headers[max-width~="800px"] > div,
  .arlo .arlo-listitem[max-width~="800px"] > div {
    width: 100%;
    text-align: left; }
  .arlo .arlo-column-headers .arlo-title,
  .arlo .arlo-listitem .arlo-title {
    width: 40%; }
  .arlo .arlo-column-headers .arlo-advertisedduration,
  .arlo .arlo-listitem .arlo-advertisedduration {
    width: 15%; }
  .arlo .arlo-column-headers .arlo-offers,
  .arlo .arlo-listitem .arlo-offers {
    width: 19%; }
  .arlo .arlo-column-headers .arlo-next-running-wrapper,
  .arlo .arlo-listitem .arlo-next-running-wrapper {
    width: 24%;
    text-align: right; }
  .arlo .arlo-column-headers > div {
    padding: 1em 0; }
  .arlo .arlo-column-headers[max-width~="800px"] > div {
    display: none; }
  .arlo .arlo-eventtemplatecategoryitems-listitem {
    background-color: #fffdf0;
    padding: .75em 1em;
    margin-bottom: .5em; }
    .arlo .arlo-eventtemplatecategoryitems-listitem .arlo-next-running-wrapper .arlo-next-running a,
    .arlo .arlo-eventtemplatecategoryitems-listitem .arlo-next-running-wrapper a.arlo-register-interest {
      background-color: transparent;
      color: #ED017B; }
  .arlo .arlo-main-catalogue {
    padding-left: 1em;
    float: left;
    width: 80%; }
  .arlo .arlo-side-filters {
    width: 20%;
    float: left;
    padding-top: 0; }
    .arlo .arlo-side-filters .arlo-section {
      background-color: #F1F7FB;
      border-radius: 10px;
      padding: 1em 1.5em;
      margin-bottom: 1em; }
  .arlo[max-width~="800px"] .arlo-main-catalogue,
  .arlo[max-width~="800px"] .arlo-side-filters {
    width: 100%;
    padding: 0; }
  .arlo .arlo-category-list > li:first-child > a {
    display: none; }
  .arlo .categorylist-listitem {
    padding: .5em 0; }
  .arlo .arlo-category-footer {
    margin-top: 1em; }
  .arlo .arlo-show-more-container {
    text-align: center; }
    .arlo .arlo-show-more-container .arlo-show-more {
      cursor: pointer;
      text-decoration: none;
      font-size: 15px;
      padding: 11px 25px;
      border-radius: 30px;
      box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
      background-image: url(http://theme1.demo.arlo.co/wp-content/themes/betheme/images/box_shadow_button.png);
      background-repeat: repeat-x;
      color: white;
      font-style: normal;
      display: inline-block;
      min-width: 200px; }
      .arlo .arlo-show-more-container .arlo-show-more:hover {
        opacity: 0.7; }
  .arlo .arlo-catalogue-intro {
    text-align: center;
    margin-bottom: 1em; }
    .arlo .arlo-catalogue-intro h1 {
      font-weight: bold; }
    .arlo .arlo-catalogue-intro p {
      font-size: 1.2em; }

/*# sourceMappingURL=catalogue-category-advanced.css.map */
body {
    overflow-y: scroll;
}

.arlo {
    max-width: 1300px;
    margin: 50px auto;
}

.arlo > *:first-child:not(.arlo-header) {
    padding-top: 30px;
}

.arlo .arlo-page-header,
.arlo .arlo-full-width {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

.arlo .arlo-page-title-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.arlo iframe {
    border: none;
    overflow: hidden;
}

iframe.widget {
    width: 100%;
}

.navbar-default .navbar-nav>li>a {
    padding-left: 12px;
    padding-right: 12px;
}
            
          
!
            
              (function ($, ElementQueries) {
    document.addEventListener("arlojscontrolsloaded", function () {
        var platformID = "websitetestdata2.arlo.co"; // Change platformID to point at your own account

        var categoryList = {
            moduleType: "CategoryList",
            targetElement: "#category-list",
            categoryTreeDepth: 1,
            maxCount: 5,
            template: "#category-list-template",
            callbacks: {
                onBeforeRender: 'categoryListOnBeforeRender'
            },
            includeArloLink: false
        };

        var sideFilter = {
            moduleType: "Filters",
            facetType: "Event",
            targetElement: "#side-filter",
            template: "#side-filter-template",
            filterControlId: 1
        };

        var catalogue = {
            moduleType: "CategoryCatalogue",
            targetElement: "#arlo-catalogue",
            template: "#catalogue-template",
            categoryFilterType: "traversable",
            categoryFilterTarget: "#arlo-catalogue-filter",
            categoryFilterCallbacks: {
                onRender: "filterOnRender"
            },
            nextRunningEventFilterControlId: 1,
            maxNextRunningEvents: 1,
            loadNextRunningButtonText: "Find Events",
            includeLoadMoreButton: false,
            loadMoreButtonText: "Show More Categories",
            nextRunningEventTemplate: "#event-template",
            showOnlyCurrentCategoryItems: true,
            maxCount: 200,
            header: {
                targetElement: "#arlo-category-header",
                template: "#category-header-template"
            },
            footer: {
                targetElement: "#arlo-category-footer",
                template: "#category-footer-template"
            },
            callbacks: {
                onShow: "catalogueOnShow"
            }
        };

        var app = new window.ArloWebControls();

        app.start({
            "platformID": platformID,
            "googleMapsAPIKey": "AIzaSyAQecSspMnsipB9oV0N4WKbqFNy5zhlNwg",
            "showDevErrors": false,
            "modules": [catalogue, categoryList, sideFilter]
        });
    });



    /* ----- Callback functions ----- */
    window.categoryListOnBeforeRender = function (eventsData, $) {
        // Change the ViewURI so that it goes to the catalogue page filtered by category ID
        $(eventsData).each(function (index, eventData) {
            var id = eventData.attributes.CategoryID;
            eventData.attributes.ViewUri = "catalogue-category-advanced.html#categoryfilter-traversablecategories=" + id;
        });

        // Only return the top 6 results
        var maxCount = 6;
        eventsData.splice(maxCount - 1, eventsData.length);
    };

    // Catalogue "OnShow" callback
    window.catalogueOnShow = function (getRenderCollectionElements, $) {
        $( "#arlo-filter-toggle" ).off( "click" );
        $('#arlo-filter-toggle').click(function () {
            $(this).parent().toggleClass('arlo-show-filter');
        });
    };

    // Events "OnShow" callback
    window.categoryItemsOnShow = function (getRenderCollectionElements, $) {
        ElementQueries.init();
        // Reset wrapper to static position
        $(".arlo-catalogue-wrapper").css("position", "static");
    };

    window.updateTemplateTagNames = function (filterModel, $) { //jshint unused:false
        var deleteFilterIndexes = [];
        $.each(filterModel.attributes.Values, function (index, filterValue) {
            switch (filterValue.Label) {
                case "Web_Public":
                    filterValue.Label = "Public";
                    break;
                case "Web_LiveOnline":
                    filterValue.Label = "Live Online";
                    break;
                case "Web_PrivateOnsite":
                    filterValue.Label = "Private Onsite";
                    break;
                case "Web_SelfpacedOnline":
                    filterValue.Label = "Self Paced Online";
                    break;
                default:
                    deleteFilterIndexes.push(index);
            }
        });

        $.each(deleteFilterIndexes, function (index, value) {
            filterModel.attributes.Values.splice(value - index, 1);
        });
    };

    window.filterOnRender = function(filters,$) {
        var interval = setInterval(function() {
            var categoriesContainerExists = $('.arlo-traversable-categories').length > 0;
            var categoryItemsContainerExists = $('.arlo-eventtemplatecategoryitems-listitems').length > 0;

            if (categoriesContainerExists && categoryItemsContainerExists) {
                clearInterval(interval);

                var nTemplates = $('.arlo-eventtemplatecategoryitems-listitem').length;
                var nFilters = $('.arlo-traversable-categories li').length;

                if (nFilters > 0 && nTemplates === 0) {
                    $(".arlo-categorycatalogue-listitem").hide();
                }
            }

        }, 10);

    };


})(jQuery, window.ElementQueries);
(function () {
    window.ArloDemoUtilities = {
        makeCollapsable: function (label, filter, $, showicon) {
            var collapseButtonId = "collapsebutton" + filter[0].id;

            if ($("#" + collapseButtonId).length === 0) {
                var clickToCollapse = $("<div id='" + collapseButtonId + "' class='arlo-collapse-button arlo-hidden'>Show " + label + "</div>");
                clickToCollapse.click(function () {
                    $(filter[0]).slideToggle();
                    if (clickToCollapse.hasClass('arlo-visible')) {
                        clickToCollapse.html("Show " + label);
                        clickToCollapse.removeClass('arlo-visible');
                        clickToCollapse.addClass('arlo-hidden');
                    }else{
                        clickToCollapse.html("Hide " + label);
                        clickToCollapse.removeClass('arlo-hidden');
                        clickToCollapse.addClass('arlo-visible');
                    }
                });

                $(filter[0]).click(function (e, a) {
                    if (clickToCollapse.hasClass('arlo-visible')) {
                        clickToCollapse.click();
                    }
                });

                $(filter[0]).hide();

                clickToCollapse.insertBefore($(filter[0]));

            }
        }
    };
}());


            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console