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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!--
Arlo Web Control Demo - Events list - Theme 2
Documentation: https://developer.arlo.co/doc/webcontrols/upcomingevents
-->

    <!-- Target Elements -->
    <div class="arlo">
        <div class="arlo-filters-container">
            <div id="filters"></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="upcoming-events"></div>
    </div>

    <!-- Templates -->
    <script type='text/template' id='filter-template'>
        <div class="arlo-filters arlo-font-primary">
            <div class="arlo-other-filters arlo-clearfix arlo-font-primary">
                <%= showFilter({filterCode: "templatecategory"}) %>
                    <%= showFilter({filterCode: "months"}) %>
                        <%= showFilter({filterCode: "onlineorvenue", displayStyle: "ul"}) %>
                            <%= showFilter({filterCode: "search", placeholderText: "Search"}) %>
            </div>

            <div class="arlo-category-selectors arlo-clearfix">
                <%= showFilter({filterCode: "locname", displayStyle: "ul", callbacks: {onRender: "locationfiltertoggle"}}) %>
            </div>
            <div class="arlo-row arlo-clearfix">
                <div class="arlo-filter-tags">
                    <%= showFilter({filterCode: "templatetag", displayStyle: "ul", showCount: false, callbacks: {onBeforeRender: "updateTemplateTagNames"}}) %>
                </div>

                <%= showTimezoneSelector() %>
            </div>
        </div>
    </script>

    <script type='text/template' id='event-template-template'>
        <%= ContentFields %>
            <div class="templateId" data-templateid="<%= TemplateID %>"></div>
    </script>

    <script type='text/template' id='upcoming-events-template'>
        <div class="arlo-listitem arlo-clearfix">
            <div class="arlo-heading">
                <div class="arlo-date arlo-font-special">
                    <div class="arlo-start-date-container">       
                        <div class="arlo-start-date">
                            <%= formatDate(StartDateTime, 'DD') %>
                        </div>
                        <div class="arlo-start-month">
                          <%= formatDate(StartDateTime, 'MMMM') %>
                        </div>
                    </div>

                    <% if(formatDate(StartDateTime, "D MMM") !== formatDate(EndDateTime, "D MMM")) { %>

                        <div class="arlo-end-date-container">

                            <div class="arlo-end-date">
                                <%= formatDate(EndDateTime, 'DD') %>
                            </div>
                            <% if(formatDate(StartDateTime, "MMM") !== formatDate(EndDateTime, "MMM")) { %>
                            <div class="arlo-end-month">
                              <%= formatDate(EndDateTime, 'MMM') %>
                            </div>
                            <% } %>
                        </div>
                    <% } %>
                </div>
                <div class="arlo-title">
                    <div class="arlo-name arlo-text-color-dark arlo-h2">
                        <a class="arlo-font-special" href="<%= ViewUri %>">
                            <%- Name %>
                        </a>
                    </div>
                    <% if (typeof(Provider.Name) !== "undefined" && Provider.Name !== "") { %>
                        <% if (typeof(Provider.WebsiteUri) !== "undefined" && Provider.WebsiteUri !== "") { %>
                            <div class="arlo-text-color-light arlo-provider-info">
                                Provided By
                                <a class="arlo-provider-name arlo-text-color-link" href="<%- Provider.WebsiteUri %>">
                                    <%- Provider.Name %>
                                </a>
                            </div>
                            <% } else { %>
                                <div class="arlo-text-color-light arlo-provider-info">Provided By <span class="arlo-provider-name"><%- Provider.Name %></span></div>
                                <% } %>
                                    <% } %>
                </div>
            </div>
            
            <div class="arlo-details">
                
                <div class="arlo-summary arlo-text-color-normal">
                    <%- Summary %>
                </div>
                <div class="arlo-info">
                    <div class="arlo-location">
                        <% if (typeof(Location.IsOnline) !== "undefined" && Location.IsOnline === true && (typeof(Location.Name) !== "undefined" && Location.Name !== "")) { %>
                            <span class="arlo-text-color-light"><i class="fa fa-desktop"></i></span>
                            <span class="arlo-online arlo-text-color-normal arlo-font-size-larger"><%- Location.Name %></span>
                            <% } else { %>
                                <span class="arlo-text-color-light"><i class="fa fa-map-marker"></i></span>
                                <% if (typeof(Location.ViewUri) !== "undefined" && Location.ViewUri !== "") { %>
                                    <a href="<%- Location.ViewUri %>" class="arlo-location arlo-text-color-secondary arlo-font-size-larger">
                                        <%- Location.Name %>
                                    </a>
                                    <% } else { %>
                                        <span class="arlo-text-color-normal arlo-font-size-larger"><%- Location.Name %></span>
                                        <% } %>
                                            <% } %>
                    </div>

                    <div class="arlo-duration">
                        <span class="arlo-text-color-light"><i class="fa fa-clock-o"></i></span>
                        <span class="arlo-text-color-normal arlo-font-size-larger"><%- DurationDescription %></span>
                        <% if (typeof(Location.IsOnline) !== "undefined" && Location.IsOnline === true) { %>
                            <span class="arlo-text-color-normal arlo-font-size-larger"><%- TimeZone %></span>
                            <% } %>
                    </div>

                    <% if (typeof(Notice) !== "undefined" && Notice !== "") { %>
                        <div class="arlo-notice arlo-text-color-light"><span class="arlo-text-color-light arlo-font-size-larger"><i><%- Notice %></i></span></div>
                        <% } %>

                        <% if (Sessions.length > 1) { %>
                        <span class="arlo-sessions">
                            <span class="arlo-duration arlo-text-color-light">
                                <i class="fa fa-clock-o"></i>
                                <span class="arlo-session-info arlo-text-color-secondary arlo-font-size-larger" data-toggle="tooltip" data-placement="bottom" data-html="true" title="" style="display: inline;" data-original-title="">
                                Show sessions
                            </span>
                            <div class="tooltipcontent">
                                <h4>Session details</h4>
                                <%= formatSessionsInformation({ fieldsToDisplay: ['Name', 'Day', 'Date', 'TimeSpan'] }) %>
                            </div>
                        </span>
                        <% } %>
                </div>

                

                <div class="arlo-offers">
                    <%= formatAdvertisedOffers() %>
                </div>

                <div class="arlo-register">
                    <% if (PlacesRemaining !== "") { %>
                        <span class="arlo-places-remaining arlo-text-color-secondary arlo-font-size-larger"><%= PlacesRemaining %> Places Remaining</span>
                        <% } %>

                            <% if (EventFullMessage !== "") { %>
                                <span class="arlo-places-remaining arlo-text-color-primary arlo-font-size-larger"><%= EventFullMessage %></span>
                                <% } %>

                                    <%= formatRegistrationInfo('link') %>
                </div>

                <span class="arlo-loadEventTemplateHiddenButtonContainer">
            	<%= showEventTemplateInformation({message:"View Template Details",
                        template:"#event-template-template", showLoadButton: false, targetElement: "arlo-eventTemplatetarget", callbacks: {onShow: "eventTemplateLoaded" } }) %>
      			</span>
            </div>
        </div>


        <div class="eventTemplateId" data-eventtemplateid="<%= EventTemplateID %>"></div>
        </div>
    </script>

    <!-- Dependencies -->
    <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.1/init.js" charset="utf-8" defer="defer"></script>

            
          
!
            
              @charset "UTF-8";

html {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-weight: 500;
}

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

/** Arlo reset style **/
.arlo {
  font-size: 16px;
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
}
.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;
  /* 1 */
  text-transform: none;
}
.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 select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  padding: 10px 70px 14px 18px;
  background-image: url(https://theme1.demo.arlo.co/wp-content/uploads/2016/07/dropdown-arrow-no-line.png);
  background-repeat: no-repeat;
  background-position: 90% center;
  cursor: pointer;
  border-radius: 4px;
  background-color: transparent;
  color: #55595c;
  border: 2px solid #ededed;
}
.arlo select:hover {
  opacity: 0.7;
}

/** End of Arlo reset style **/
/** Arlo theme style **/
.arlo .arlo-bg-color-primary {
  background-color: #343f56;
}
.arlo .arlo-bg-color-secondary {
  background-color: #f1992e;
}
.arlo .arlo-bg-color-filters {
  background-color: #f1f7fb;
}
.arlo .arlo-bg-color-highlight {
  background-color: #fffdf7;
}
.arlo .arlo-bg-color-normal {
  background-color: #fcfcfc;
}
.arlo .arlo-bg-color-darker {
  background-color: #565656;
}
.arlo .arlo-bg-color-darkest {
  background-color: #f2f2f2;
}
.arlo .arlo-text-color-primary {
  color: #343f56;
}
.arlo .arlo-text-color-secondary {
  color: #f1992e;
}
.arlo .arlo-text-color-contrast {
  color: #ffffff;
}
.arlo .arlo-text-color-lightest {
  color: #eaeaea;
}
.arlo .arlo-text-color-light {
  color: #bcbcbc;
}
.arlo .arlo-text-color-normal {
  color: #5e5e5e;
}
.arlo .arlo-text-color-dark {
  color: #565656;
}
.arlo .arlo-text-color-link {
  color: #687082;
}
.arlo .arlo-font-primary,
.arlo .arlo-font-secondary {
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
}
.arlo .arlo-font-special {
  font-family: "Montserrat", Arial, Tahoma, sans-serif;
}
.arlo .arlo-font-size-larger {
  font-size: 110%;
}

/** End of theme style **/
.arlo {
  /********************************
   ** Filters
   ********************************/
  /********************************
   ** Event List
   ********************************/
}
.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%;
}
.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;
}
.arlo a,
.arlo .arlo-filters .arlo-filter-unordered-list li,
.arlo .arlo-show-more-container .arlo-show-more,
.arlo .arlo-event-listitem .arlo-event-register:before {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  text-decoration: none;
}
.arlo a:active, .arlo a:hover {
  color: #f9b420;
  text-decoration: none;
}
.arlo .arlo-clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.arlo * {
  box-sizing: border-box;
}
.arlo * html .arlo-clearfix, .arlo *:first-child + html .arlo-clearfix {
  zoom: 1;
}
.arlo #arlo-filter-toggle {
  display: none;
}
.arlo[max-width~="659px"] .arlo-filters-container {
  width: 100%;
}
.arlo[max-width~="659px"] .arlo-filters-container * {
  width: 100%;
}
.arlo[max-width~="659px"] .arlo-filters-container .arlo-timezone-select {
  padding: 0 35px 0 35px;
  width: 100%;
  max-width: 360px;
}
.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 .arlo-filters .arlo-filter-unordered-list li,
.arlo[max-width~="659px"] .arlo-filters-container .arlo-filters .arlo-filter-tags li {
  margin-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}
.arlo[max-width~="659px"] .arlo-filters-container .arlo-filters .arlo-filter-tags li {
  font-size: 14px;
}
.arlo[max-width~="659px"] .arlo-filters-container .arlo-filters .arlo-filter-tags li:before {
  margin-right: 5px;
}
.arlo[max-width~="659px"] .arlo-filters-container .arlo-filter-unordered-list.arlo-custom-ul {
  margin-left: 0;
}
.arlo[max-width~="659px"] .arlo-filters-container #arlo-filter-toggle {
  display: block;
  cursor: pointer;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 18px 26px;
  margin-bottom: 14px;
}
.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 #filters {
  display: none;
}
.arlo[max-width~="659px"] .arlo-filters-container.arlo-show-filter #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[max-width~="659px"] .arlo-show-more-container .arlo-show-more {
  width: 100%;
}
.arlo select,
.arlo .arlo-filters input.arlo-search {
  display: inline;
  background-color: #fcfcfc;
  border: 2px solid #ededed;
  border-radius: 4px;
  font-size: 15.4px;
  letter-spacing: 0;
  line-height: 20px;
  font-weight: 400;
}
.arlo .arlo-region-selector {
  margin: 1em 0;
  text-align: center;
}
.arlo .arlo-filters {
  text-align: center;
}
.arlo .arlo-filters .arlo-category-selectors,
.arlo .arlo-filters .arlo-other-filters {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.arlo .arlo-filters .arlo-category-selectors::after,
.arlo .arlo-filters .arlo-other-filters::after {
  clear: both;
  content: "";
  display: table;
}
.arlo .arlo-filters .arlo-filter-unordered-list.arlo-custom-ul {
  margin-left: 10px;
}
.arlo .arlo-filters .arlo-filter-unordered-list li {
  display: inline-block;
  position: relative;
  margin-right: 10px;
  padding: 10px 20px;
  background-color: #f5f5f5;
  border: 2px solid #f5f5f5;
  border-radius: 4px;
  color: #687082;
  cursor: pointer;
  font-weight: bold;
/*   text-transform: uppercase; */
}
.arlo .arlo-filters .arlo-filter-unordered-list li:hover {
  background-color: transparent;
  color: #343f56;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.arlo .arlo-filters .arlo-filter-unordered-list li.selected {
  padding-right: 25px;
  color: #fff;
  background-color: #f1992e;
  border-color: #f1992e;
}
.arlo .arlo-filters .arlo-category-selectors > div[id*=' filter-'] {
  margin-bottom: 0;
}
.arlo .arlo-filters .arlo-category-selectors .arlo-filter-unordered-list li {
  margin-bottom: 10px;
  padding: 5px 15px;
  font-size: 13px;
  font-weight: 500;
  text-transform: inherit;
}
.arlo .arlo-filters .arlo-category-selectors .arlo-filter-unordered-list li:last-child {
  margin-right: 0;
}
.arlo .arlo-filters input.arlo-search {
  padding: 10px 20px;
}
.arlo .arlo-filters div[id^='filter-'], .arlo .arlo-filters div[id*=' filter-'] {
  display: inline-block;
  margin-bottom: 10px;
  vertical-align: bottom;
}
.arlo .arlo-filters .arlo-row {
  text-align: center;
}
.arlo .arlo-filters .arlo-row div[id^='filter-'] {
  float: none;
}
.arlo .arlo-filters .arlo-timezone-select {
  display: none;
  max-width: 320px;
  background-color: transparent;
}
.arlo .arlo-filters .arlo-timezone-select:focus {
  background-color: transparent !important;
}
.arlo .arlo-filter-tags {
  display: inline-block;
  font-size: 14px;
}
.arlo .arlo-filter-tags .arlo-filter-unordered-list li {
  color: #f1992e;
  padding: 10px 20px;
  background-color: transparent;
  border: none;
}
.arlo .arlo-filter-tags .arlo-filter-unordered-list li:before {
  font-family: Arlo-WP;
  font-size: 20px;
  margin-right: 8px;
  line-height: 20px;
  display: inline-block;
  border-radius: 5px;
  vertical-align: top;
}
.arlo .arlo-filter-tags .arlo-filter-unordered-list li:not(.selected):hover {
  color: #f1992e;
}
.arlo .arlo-filter-tags .arlo-filter-unordered-list li[data-code="Web_DummyData"] {
  display: none;
}
.arlo .arlo-filter-tags .arlo-filter-unordered-list li[data-code="Web_Public"]:before {
  content: "";
}
.arlo .arlo-filter-tags .arlo-filter-unordered-list li[data-code="Web_LiveOnline"]:before {
  content: "";
}
.arlo .arlo-filter-tags .arlo-filter-unordered-list li[data-code="Web_PrivateOnsite"]:before {
  content: "";
}
.arlo .arlo-filter-tags .arlo-filter-unordered-list li[data-code="Web_SelfpacedOnline"]:before {
  content: "";
}
.arlo .arlo-filter-tags .arlo-filter-unordered-list li:last-child {
  margin-right: 0;
}
.arlo[max-width~="1100px"] .arlo-filter-tags .arlo-filter-unordered-list li {
  font-size: 0;
  padding-right: 20px;
}
.arlo[max-width~="1100px"] .arlo-filter-tags .arlo-filter-unordered-list li:before {
  margin-right: 0;
}
.arlo .arlo-event-list[min-width~="767px"] .arlo-event-listitem {
  width: 49%;
  margin-right: 1%;
}
.arlo .arlo-event-list[min-width~="1200px"] .arlo-event-listitem {
  width: 33%;
  margin-right: .3%;
}
.arlo .arlo-event-list[min-width~="1500px"] .arlo-event-listitem {
  width: 24.5%;
  margin-right: .5%;
}
.arlo .arlo-event-listitem {
  display: inline-block;
  width: 49.5%;
  margin-right: 1%;
  margin-bottom: 10px;
  padding-top: 30px;
  background-color: #f5f5f5;
  vertical-align: top;
}
.arlo .arlo-event-listitem:nth-of-type(2n) {
  margin-right: 0;
}
.arlo .arlo-event-list[max-width~="660px"] .arlo-event-listitem {
  width: 100%;
  margin-right: 0;
  margin-bottom: 10px;
}
.arlo .arlo-event-list .arlo-listitem {
  position: relative;
}
.arlo .arlo-event-list .arlo-heading {
  overflow: hidden;
}
.arlo .arlo-event-listitem .arlo-date {
  display: inline-block;
  position: relative;
  float: left;
  width: 20%;
  max-width: 80px;
  margin-right: 3%;
  text-align: center;
}
.arlo .arlo-event-listitem[max-width~="450px"] .arlo-date {
  width: 80px;
}
.arlo .arlo-event-listitem .arlo-start-date {
  margin-bottom: 5px;
  font-size: 4em;
  line-height: .8;
  color: #f1992e;
}
.arlo .arlo-event-listitem .arlo-start-month {
  font-size: .9em;
  line-height: 1.2em;
  background: transparent;
  color: #bcbcbc;
}
.arlo .arlo-event-listitem .arlo-end-date-container {
  position: absolute;
  top: 4px;
  right: -15px;
}
.arlo .arlo-event-listitem .arlo-end-date {
  font-size: 1em;
  line-height: .8;
  color: #f1992e;
  font-weight: 700;
}
.arlo .arlo-event-listitem .arlo-end-date:before {
  content: '-';
  display: inline;
}
.arlo .arlo-event-listitem .arlo-end-month {
  font-size: .6em;
  line-height: 1.2em;
  background: transparent;
  color: #bcbcbc;
  text-align: right;
  font-weight: 700;
}
.arlo .arlo-event-listitem .arlo-title {
  float: left;
  width: 75%;
  margin-left: 2%;
  word-wrap: break-word;
}
.arlo .arlo-event-listitem[max-width~="450px"] .arlo-title {
  width: 65%;
  margin-left: 4%;
}
.arlo .arlo-event-listitem[max-width~="330px"] .arlo-title {
  width: 100%;
  margin-left: 0;
}
.arlo .arlo-event-listitem .arlo-title .arlo-name {
  margin-top: 0;
  margin-bottom: 0;
}
.arlo .arlo-event-listitem .arlo-title .arlo-name a {
  margin: 0 0 5px 0;
  display: inline;
  font-size: 20px;
  font-weight: bold;
  color: #343f56;
}
.arlo .arlo-event-listitem .fa {
  width: 15px;
  margin-right: 3px;
  text-align: center;
  font-size: 14px;
}
.arlo .arlo-event-listitem .arlo-heading,
.arlo .arlo-event-listitem .arlo-details {
  padding-left: 20px;
  padding-right: 20px;
}
.arlo .arlo-event-listitem .arlo-details .arlo-location,
.arlo .arlo-event-listitem .arlo-details .arlo-duration,
.arlo .arlo-event-listitem .arlo-details .arlo-online {
  margin-right: 10px;
  text-decoration: none;
}
.arlo .arlo-event-listitem {
  font-size: 14px;
}
.arlo .arlo-event-listitem::after {
  clear: both;
  content: "";
  display: table;
}
.arlo .arlo-event-listitem .arlo-details .arlo-duration {
  padding-right: 5px;
}
.arlo .arlo-event-listitem .arlo-details .arlo-discount-offer.arlo-offer-li,
.arlo .arlo-event-listitem .arlo-details .arlo-offers .arlo-original-price {
  font-weight: bold;
  font-size: 14.4px;
  line-height: 1.4;
}
.arlo .arlo-event-listitem .arlo-details .arlo-offers {
  margin-top: 10px;
  margin-bottom: 5px;
}
.arlo .arlo-event-listitem .arlo-details .arlo-original-price {
  text-decoration: line-through;
}
.arlo .arlo-event-listitem .arlo-details .arlo-discount-offer,
.arlo .arlo-event-listitem .arlo-details .arlo-original-price {
  color: #f9b420;
  font-style: italic;
}
.arlo .arlo-event-listitem .arlo-details .arlo-offer-ul {
  padding-left: 0;
}
.arlo .arlo-event-listitem .arlo-details .arlo-offer-ul .arlo-offer-li {
  list-style: none;
  padding: 2px;
}
.arlo .arlo-event-listitem .arlo-summary {
  padding: 15px 0;
  color: #969696;
}
.arlo .tooltipcontent {
  display: none;
}
.arlo .arlo-session-info {
  cursor: pointer;
}
.arlo .arlo-sessions {
  margin: 0;
  font-size: 14px;
}
.arlo .arlo-sessions .arlo-session .arlo-session-name {
  display: block;
  color: white;
  letter-spacing: 1px;
}
.arlo .arlo-sessions li * {
  display: inline-block;
  word-wrap: normal;
  color: white;
}
.arlo .arlo-offer-container,
.arlo .arlo-offer-li {
  font-size: 18px;
  line-height: 25px;
}
.arlo .arlo-offer-taxrate,
.arlo .arlo-offer-taxrate-shortname {
  font-size: .7em;
}
.arlo .arlo-event-listitem .arlo-register {
  width: 100%;
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: right;
}
.arlo .arlo-event-list[max-width~="450px"] .arlo-register {
  position: static;
}
.arlo .arlo-event-list[max-width~="450px"] .arlo-event-register {
  margin-right: -20px;
}
.arlo .arlo-places-remaining {
  display: block;
  font-size: 15px;
  margin-right: 25px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.arlo .arlo-event-register,
.arlo .arlo-event-register-info {
  display: inline-block;
  position: relative;
  padding: 10px 25px;
  background-color: #f1992e;
  color: #ffffff;
  font-weight: bold; 
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
}
.arlo .arlo-event-register:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
  width: 0;
  height: 40px;
  border-top: 40px solid transparent;
  border-right: 30px solid #f1992e;
}

.arlo .arlo-event-register:hover,
.arlo .arlo-event-register.arlo-waiting-list:hover {
  background-color: #f9b420;
  color: #ffffff;
}
.arlo .arlo-event-register:hover:before,
.arlo .arlo-event-register.arlo-waiting-list:hover:before {
  border-right-color: #f9b420;
}
.arlo .arlo-event-register.arlo-waiting-list {
  background-color: #687082;
}
.arlo .arlo-event-register.arlo-waiting-list:before {
  border-right-color: #687082;
}
.arlo .arlo-event-register-info {
  width: 100%;
  background: #EAEAEA;
  color: #636363;
  text-align: center;
}
.arlo .arlo-event-register-info a {
  color: #f1992e;
}
.arlo .arlo-event-register-info p {
  display: inline-block;
  padding: 0;
  margin: 0;
  font-size: 15px;
}
.arlo .arlo-show-more-container {
  text-align: center;
}
.arlo .arlo-show-more {
  display: inline-block;
  margin: 0 auto;
  padding: 12px 30px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  background-color: transparent;
  border: 2px solid #687082;
  border-radius: 4px;
  color: #687082;
}
.arlo .arlo-show-more:hover {
  background-color: #687082;
  color: #ffffff;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.arlo .arlo-no-results-found {
  text-align: center;
  font-size: 20px;
  margin: 20px auto 0;
  border-radius: 5px;
  padding: 16px;
  margin-bottom: 12px;
  background: #f5f5f5;
  color: #969696;
}

@-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);
  }
}

            
          
!
            
              document.addEventListener("arlojscontrolsloaded", function() {
  var platformID = "codependemocompany.arlo.co"; // Change platformID to point at your own account

  var filter = {
    moduleType: "Filters",
    targetElement: "#filters",
    template: "#filter-template",
    filterControlId: 1
  };

  var eventList = {
    moduleType: "UpcomingEvents",
    targetElement: "#upcoming-events",
    template: "#upcoming-events-template",
    maxCount: 10,
    filterControlId: 1,
    includeLoadMoreButton: true,
    loadMoreButtonText: "Show More",
    smartDateFormats: {
      startDay: "D"
    },
    customUrls: {
      eventtemplate: "http://theme2.demo.arlo.co/event-template/",
      venue: "http://theme2.demo.arlo.co/venue/",
      presenter: "http://theme2.demo.arlo.co/presenter/"
    },
    callbacks: {
      onShow: eventListOnShowCallback
    }
  };

  var app = new window.ArloWebControls();

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

  /* ----- Callback function ----- */
  // "OnShow" callback
  function eventListOnShowCallback(getEventListItemsFunction) {
    var listItems = getEventListItemsFunction();
    var listParent = $(listItems[0]).parent()[0];

    ElementQueries.init();

    // Hide timezone selector if there are no online events
    if ($(".arlo-online").length < 1) {
      $(".arlo-timezone-select").hide();
    } else {
      $(".arlo-timezone-select").show();
      $(".arlo-timezone-select").parent().css("float", "right");
    }

    // Set all list items to height of tallest item plus padding
    function setEventTemplateListItemHeight() {
      if ($(listParent).width() < 450) {
        $(listParent).find(".arlo-listitem").height("auto");
        return;
      }
      $(listParent).find(".arlo-listitem").height("auto");
      var tallestListItemHeight = 0;
      var tallestContentHeight = 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-heading").height() > 60
          ? $(listItem).find(".arlo-title").height()
          : 60;
        height += $(listItem).find(".arlo-summary").height();
        height += $(listItem).find(".arlo-info").height();
        height += $(listItem).find(".arlo-offers").height();
        height += $(listItem).find(".arlo-register").height();

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

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

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

    // Set up tooltips
    $.each(listItems, function(index, listItem) {
      var tooltipElement = $(listItem).find('[data-toggle="tooltip"]')[0];
      if (tooltipElement) {
        var toolTipContent = $(listItem).find(".tooltipcontent")[0];
        if (toolTipContent) {
          $(tooltipElement).attr(
            "data-original-title",
            $(toolTipContent).html()
          );
          $(tooltipElement).tooltip();
        }
      }
    });
  }
});

window.locationfiltertoggle = function(filter, $) {
  //jshint unused:false
  window.ElementQueries.init();
};

window.updateTemplateTagNames = function(filterModel, $) {
  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);
  });

  $("#arlo-filter-toggle").click(function() {
    $(this).parent().toggleClass("arlo-show-filter");
  });
};

            
          
!
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.

Console