cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - 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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

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.

            
              
    <!-- Target Elements -->
    <div class="arlo">
        <div class="arlo-header">
            <div id="arlo-category-header"></div>
        </div>

        <div class="arlo-filters-container">
            <div class="arlo-filters">
                <div id="arlo-catalogue-filter"></div>
                <div id="arlo-tag-filter"></div>
                <div id="arlo-event-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 id="arlo-catalogue"></div>

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

    <!-- Templates -->
    <script type='text/template' id='catalogue-template'>
        <div class="arlo-category-name arlo-h1">
            <%= Name %>
        </div>
        <%= showCategoryEventTemplateCategoryItems({
            template: "#event-template-template",
            loadImmediately: true,
            maxCount: 4,
            includeLoadMoreButton: true,
            loadMoreButtonText: "Show More",
            callbacks: {onShow: "categoryItemsOnShow"},
            customUrls: {
                eventtemplate: "http://theme1.demo.arlo.co/event-template/",
                venue: "http://theme1.demo.arlo.co/venue/",
                presenter: "http://theme1.demo.arlo.co/presenter/"
            }
        }) %>
    </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 arlo-text-color-dark">
                <a href="<%= Uri %>" class="arlo-name arlo-text-color-dark arlo-h2">
                    <%- Title %>
                </a>
            </div>

            <div class="arlo-detail arlo-font-primary arlo-text-color-dark">
                <div class="arlo-summary arlo-text-color-light">
                    <%- Summary %>
                </div>

                <% if (AdvertisedDuration !== undefined && AdvertisedDuration !== '') { %>
                    <div class="arlo-advertisedduration">
                        <i class="fa fa-clock-o"></i> <%= AdvertisedDuration %>
                    </div>
                <% } %>

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

                <% if (Tags.length > 0) { %>
                <div class="arlo-delivery-title arlo-text-color-secondary">
                    Delivery
                </div>
                <div class="arlo-templatetags">
                    <%= formatCollection(Tags, "ul", true) %>
                </div>
                <% } %>

                <div class="arlo-next-running-title arlo-text-color-light">
                    Next Running
                </div>

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

                </div>

            </div>
        </div>
    </script>


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

    <script type='text/template' id='category-header-template'>
        <div class="arlo-page-header arlo-font-special arlo-text-color-contrast">
            <div class="arlo-page-title arlo-page-title-inner">
                <%- Name %>
            </div>
            <div class="arlo-font-primary arlo-page-title-inner">
                <%= Description.Text %>
            </div>
        </div>
    </script>

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

    <script type='text/template' id='filter-template'>
        <div class="arlo-locations-filter">
            <%= showFilter({filterCode: "locname", showCount: false, callbacks: {onRender: "onFilterLoad"} }) %>
        </div>
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.1/jquery.js"></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>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    
            
          
!
            
              @charset "UTF-8";
html {
  box-sizing: border-box; }

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

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

.arlo {
  font-size: 16px;

  /* ----- Custom resets ----- */
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
  /* ----- Clearfix ----- */
  /* ----- Icons ----- */
  /* ----- Filters and category buttons ----- */
  /* ----- 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: #ed007b; }
  .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: #ed007b; }
  .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 #arlo-filter-toggle {
    display: none; }
  .arlo[max-width~="659px"] .arlo-filters-container {
    width: 100%; }
    .arlo[max-width~="659px"] .arlo-filters-container .arlo-timezone-select {
      padding: 0 35px 0 0; }
    .arlo[max-width~="659px"] .arlo-filters-container .arlo-collapse-button {
      display: block; }
    .arlo[max-width~="659px"] .arlo-filters-container div[id^='filter-'] {
      padding-right: 0; }
    .arlo[max-width~="659px"] .arlo-filters-container * {
      width: 100%; }
    .arlo[max-width~="659px"] .arlo-filters-container li {
      margin-bottom: 10px; }
    .arlo[max-width~="659px"] .arlo-filters-container #arlo-filter-toggle {
      display: block;
      cursor: pointer;
      background: #f1f7fb;
      border-radius: 10px;
      padding: 18px 26px;
      margin-bottom: 20px; }
      .arlo[max-width~="659px"] .arlo-filters-container #arlo-filter-toggle i {
        float: right;
        width: auto; }
      .arlo[max-width~="659px"] .arlo-filters-container #arlo-filter-toggle .arlo-filter-toggle-hide {
        display: none; }
      .arlo[max-width~="659px"] .arlo-filters-container #arlo-filter-toggle .arlo-filter-toggle-show {
        display: block; }
    .arlo[max-width~="659px"] .arlo-filters-container .arlo-filters {
      display: none; }
    .arlo[max-width~="659px"] .arlo-filters-container.arlo-show-filter .arlo-filters {
      display: block; }
    .arlo[max-width~="659px"] .arlo-filters-container.arlo-show-filter #arlo-filter-toggle .arlo-filter-toggle-hide {
      display: block; }
    .arlo[max-width~="659px"] .arlo-filters-container.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; }
  .arlo .arlo-category-breadcrumb {
    color: #06c; }
  .arlo .arlo-traversable-category, .arlo .arlo-filter-select {
    display: inline-block;
    background-color: #F1F7FB;
    border-radius: 30px;
    color: #565656;
    border: none; }
  .arlo .arlo-filter-select:focus {
    outline-width: 0; }
  .arlo .arlo-locations-filter {
    text-align: center; }
  .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: #808080; }
    .arlo .arlo-category-breadcrumb:last-child:hover {
      color: #808080;
      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-filters {
    margin-bottom: 20px;
    overflow: auto; }
    .arlo .arlo-filters select {
      min-width: 280px; }
    .arlo .arlo-filters > div {
      float: left; }
      .arlo .arlo-filters > div:first-child {
        width: 75%; }
      .arlo .arlo-filters > div:last-child {
        width: 25%;
        margin-left: 20px; }
  .arlo .arlo-filter-radio-buttons {
    text-align: center; }
  .arlo .arlo-radio-filter-option {
    display: inline-block; }
    .arlo .arlo-radio-filter-option input[id^="categoryid"] + 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-filter-unordered-list li {
    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^="categoryid"] + label:hover {
    opacity: 0.7; }
  .arlo .arlo-radio-filter-option input[id^="categoryid"]:checked + label {
    padding-right: 25px;
    color: #fff;
    background-color: #0186e3; }
  .arlo .arlo-filter-unordered-list li.selected {
    padding-right: 25px;
    color: #fff;
    background-color: #0186e3; }
  .arlo .arlo-radio-filter-option input[id^="categoryid"] {
    display: none; }
  .arlo .arlo-collapse-button {
    display: none;
    background: #F1F7FB;
    margin: 10px 0;
    padding: 10px;
    border-radius: 15px;
    cursor: pointer;
    text-align: center; }
    .arlo .arlo-collapse-button.arlo-visible:after {
      margin-left: 10px;
      font-family: FontAwesome;
      content: ""; }
    .arlo .arlo-collapse-button.arlo-hidden:after {
      margin-left: 10px;
      font-family: FontAwesome;
      content: ""; }
  .arlo .arlo-filters[max-width~="550px"] .arlo-collapse-button {
    display: block; }
  .arlo .arlo-filters[max-width~="550px"] > div:first-child,
  .arlo .arlo-filters[max-width~="550px"] * {
    width: 100%; }
  .arlo .arlo-filters[min-width~="551px"] div[id^="filter-"] {
    display: inline-block !important; }
  .arlo .arlo-categorycatalogue {
    clear: both;
    padding-top: 60px; }
  .arlo .arlo-categorycatalogue-listitem {
    padding-bottom: 60px; }
  .arlo .arlo-templatetags ul li {
    display: inline-block;
    padding-right: 12px;
    color: #FFD101; }
  .arlo .arlo-next-running a,
  .arlo .arlo-register-interest,
  .arlo .arlo-find-events {
    text-decoration: none;
    float: right;
    cursor: pointer;
    font-size: 15px;
    padding: 11px 25px;
    border-radius: 30px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
    font-style: normal; }
  .arlo .arlo-next-running.arlo-next-running-online-activity a {
    background-color: #08cec2; }
  .arlo .arlo-next-running a,
  .arlo .arlo-find-events {
    background-image: url(http://theme1.demo.arlo.co/wp-content/themes/betheme/images/box_shadow_button.png);
    background-repeat: repeat-x;
    color: white; }
  .arlo .arlo-next-running a:hover, .arlo .arlo-find-events:hover, .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-detail .arlo-next-running div:hover {
    opacity: 0.7; }
  .arlo .arlo-register-interest {
    border: 1px solid #08cec2;
    color: #08cec2;
    background-color: transparent; }
    .arlo .arlo-register-interest:hover {
      background-color: #08cec2;
      color: white; }
  .arlo .arlo-next-running-title {
    vertical-align: baseline;
    color: #969696; }
  .arlo div[class^="nextrunning-"] {
    display: inline-block;
    vertical-align: baseline; }
  .arlo .arlo-show-more-container {
    margin-top: 10px;
    text-align: center; }
  .arlo .arlo-show-more {
    line-height: 20px;
    margin-top: 13px;
    cursor: pointer;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    background: #ED017B;
    color: #fff;
    font-size: 120%;
    font-weight: normal;
    font-size: 15px;
    display: inline-block;
    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;
    background: #FFD101; }
    .arlo .arlo-show-more:hover {
      opacity: 0.7; }
  .arlo .arlo-page-footer {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    background: #F1F7FB;
    padding: 15px; }
    .arlo .arlo-page-footer p {
      margin: 0; }
  .arlo .arlo-category-header ul, .arlo .arlo-category-header li, .arlo .arlo-category-footer li {
    list-style: disc; }
  .arlo .arlo-category-header ul,
.arlo .arlo-category-footer ul {
    display: inline-block;
		text-align: left;
}
  .arlo .arlo-page-header {
    text-align: center;
    margin-bottom: 10px;
    background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/597099/home_software_pattern.png);
    background-color: #FFD101;
    padding-top: 54px;
    padding-bottom: 58px; }
    .arlo .arlo-page-header .arlo-page-title {
      font-size: 64px;
      line-height: 50px;
      margin-bottom: 10px;
      font-weight: 700;
      margin-top: 0;
      text-transform: uppercase;
      letter-spacing: 2px; }
  .arlo .arlo-page-footer .arlo-page-title {
    font-size: 64px;
    line-height: 50px;
    margin-bottom: 10px;
    font-weight: 700;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 2px; }
  .arlo .arlo-page-header p, .arlo .arlo-page-footer p {
    font-size: 18px; }
  .arlo .arlo-page-header {
    margin-bottom: 20px; }
  .arlo .arlo-page-footer {
    margin-top: 20px; }
  .arlo .arlo-eventtemplatecategoryitems-listitems[max-width~="599px"] .arlo-eventtemplatecategoryitems-listitem {
    width: 100%;
    padding: 10px 5px; }
  .arlo .arlo-eventtemplatecategoryitems-listitems[min-width~="600px"] .arlo-eventtemplatecategoryitems-listitem {
    width: 50%; }
  .arlo .arlo-eventtemplatecategoryitems-listitems[min-width~="900px"] .arlo-eventtemplatecategoryitems-listitem {
    width: 33.33333%; }
  .arlo .arlo-eventtemplatecategoryitems-listitems[min-width~="1200px"] .arlo-eventtemplatecategoryitems-listitem {
    width: 25%; }
  .arlo .arlo-eventtemplatecategoryitems-listitems[min-width~="1500px"] .arlo-eventtemplatecategoryitems-listitem {
    width: 20%; }
  .arlo .arlo-eventtemplatecategoryitems-listitems[min-width~="1800px"] .arlo-eventtemplatecategoryitems-listitem {
    width: 16.66667%; }
  .arlo .arlo-category-name {
    margin-bottom: 25px; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    list-style: none;
    font-size: 12px;
    display: inline-block;
    vertical-align: top;
    padding: 10px 20px 10px 0;
    text-decoration: none; }
    .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem::after {
      clear: both;
      content: "";
      display: table; }
    .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-name:hover {
      color: #FF1D87;
      text-decoration: none; }
    .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-listitem {
      padding: 16px;
      position: relative;
      display: block;
      text-align: left;
      border-radius: 5px;
      text-decoration: none;
      box-shadow: 0 0 10px 5px #e6e6e6; }
      .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-listitem .arlo-side-border {
        position: absolute;
        left: 0;
        width: 10px;
        height: 100%; }
    .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .fa {
      margin-right: 3px;
      font-size: 14px; }
  .arlo .arlo-title {
    padding-bottom: 10px; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-title h2 {
    font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
    margin: 0 0 5px 0;
    font-size: 280%;
    font-weight: 400;
    display: inline;
    line-height: 30px; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-provider-info {
    display: inline;
    float: right;
    font-style: italic; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-start-date {
    font-size: 230%;
    font-weight: 700; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-name {
    margin: 0 0 5px 0;
    display: inline;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 25px;
    line-height: 27px;
    text-decoration: none; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-delivery-title {
    padding-top: 10px; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-detail .arlo-city {
    margin-right: 5px; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-detail .arlo-summary {
    padding: 5px 0;
    font-size: 14px; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-detail .arlo-original-price {
    text-decoration: line-through; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-detail .arlo-offer-ul {
    padding-left: 0; }
    .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-detail .arlo-offer-ul .arlo-offer-li {
      list-style: none; }
  .arlo .arlo-templatetags {
    margin-bottom: 16px; }
    .arlo .arlo-templatetags ul {
      margin-top: 0; }
  .arlo .arlo-register-interest {
    margin-bottom: 16px; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-detail .arlo-delivery-title, .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-detail .arlo-next-running-title {
    font-size: 14px;
    line-height: 18px; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-detail div {
    padding: 3px 0;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0;
    font-weight: 400; }
    .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-detail div.arlo-offers div.arlo-offer-container {
      font-size: 18px; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-listitem-buttons {
    position: absolute;
    bottom: 5px;
    width: 100%; }
  .arlo .arlo-offer-container {
    font-style: italic;
    font-size: 20px; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-listitem-buttons .arlo-more-info-button {
    cursor: pointer;
    padding: 4px 20px;
    font-size: 80%;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid #FFF;
    text-transform: uppercase;
    display: inline-block; }
    .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-listitem-buttons .arlo-more-info-button:hover {
      opacity: 0.7; }
  .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-listitem-buttons .arlo-event-register {
    padding: 5px 20px;
    font-size: 80%;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 5px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    background: #fff;
    color: #FFFDF0; }
    .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-listitem-buttons .arlo-event-register a {
      text-decoration: none; }
    .arlo .EventTemplateCategoryItems .arlo-eventtemplatecategoryitems-listitem .arlo-listitem-buttons .arlo-event-register:hover {
      opacity: 0.7; }
  .arlo .arlo-no-results-found {
    text-align: center;
    font-size: 20px; }

/*# sourceMappingURL=catalogue-category.css.map */
            
          
!
            
              (function ($, ElementQueries) {
    document.addEventListener("arlojscontrolsloaded", function () {
        var platformID = "websitetestdata"; // Change platformID to point at your own account

        var categoryEventFilter = {
            moduleType: "Filters",
            targetElement: "#arlo-event-filter",
            template: "#filter-template",
            filterControlId: 2
        };

        var catalogue = {
            moduleType: "CategoryCatalogue",
            targetElement: "#arlo-catalogue",
            template: "#catalogue-template",

            categoryFilterType: "facet",
            categoryFilterTarget: "#arlo-catalogue-filter",

            tagFilterType: "facet",
            tagFilterTarget: "#arlo-tag-filter",

            nextRunningEventFilterControlId: 2,
            maxNextRunningEvents: 1,
            loadNextRunningButtonText: "Find Events",
            includeLoadMoreButton: true,
            loadMoreButtonText: "Show More Categories",
            nextRunningEventTemplate: "#event-template",
            maxCount: 2,
            header: {
                targetElement: "#arlo-category-header",
                template: "#category-header-template"
            },
            footer: {
                targetElement: "#arlo-category-footer",
                template: "#category-footer-template"
            }
        };

        var app = new window.ArloWebControls();

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

        window.loadedFilters = 0;
    });




    /* ----- Callback functions ----- */

    // Events "OnShow" callback
    window.categoryItemsOnShow = function (getRenderCollectionElements, $) {
        var listItems = getRenderCollectionElements();
        var listParent = $(listItems[0]).parent()[0];

        ElementQueries.init();

        // Set all list items to height of tallest item plus padding
        function setEventTemplateListItemHeight() {
            if ($(listParent).width() < 600) { return; }
            $(listParent).find(".arlo-listitem").height("auto");
            var tallestListItemHeight = 0;
            $.each($(listParent).find(".arlo-listitem"), function (index, listItem) {
                // Get height from combining heights of list item elements (because of issue with using listitems own height)
                var height = 0;
                height += $(listItem).find(".arlo-title").height();
                height += $(listItem).find(".arlo-summary").height();
                height += $(listItem).find(".arlo-advertisedduration").height();
                height += $(listItem).find(".arlo-offer-container").height();
                height += $(listItem).find(".arlo-delivery-title").height();
                height += $(listItem).find(".arlo-templatetags").height();
                height += $(listItem).find(".arlo-next-running-title").height();

                if (height > tallestListItemHeight) {
                    tallestListItemHeight = height;
                }
            });
            $(listParent).find(".arlo-listitem").height(tallestListItemHeight + 125);
        }

        setTimeout(function () {
            setEventTemplateListItemHeight();
        }, 0);

        $(window).resize(function () {
            setEventTemplateListItemHeight();
        });

        // Reset wrapper to static position
        $(".arlo-catalogue-wrapper").css("position", "static");

        // Find template tags and convert them into icons
        $.each(listItems, function (index, listItem) {
            var tags = $(listItem).find(".arlo-templatetags ul li");

            $.each(tags, function (index, tag) {
                var $tag = $(tag);
                var tagText = $tag.html();
                switch (tagText) {
                    case "Web_DummyData":
                        $tag.remove();
                        break;
                    case "Web_Public":
                        $tag.html("");
                        $tag.addClass('icons8 icons8-user-groups icon-size-30');
                        break;
                    case "Web_LiveOnline":
                        $tag.html("");
                        $tag.addClass('icons8-headset icon-size-30');
                        break;
                    case "Web_SelfpacedOnline":
                        $tag.html("");
                        $tag.addClass('icons8-tv-show icon-size-30');
                        break;
                    case "Web_PrivateOnsite":
                        $tag.html("");
                        $tag.addClass('icons8-home icon-size-30');
                        break;
                    default:
                        $tag.remove();
                }
            });

            if ( $(listItem).find(".arlo-templatetags ul").is(':empty') ) {
                $(listItem).find(".arlo-delivery-title").remove();
            }
        });
    };

    window.onFilterLoad = function() {
        if(window.loadedFilters === 0) {
            $("#arlo-filter-toggle").click(function() {
                $(this).parent().toggleClass("arlo-show-filter");
            });
            window.loadedFilters ++;
        }
    };

})(jQuery, window.ElementQueries);
            
          
!
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