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

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 - Upcoming - Theme1
Documentation: https://developer.arlo.co/doc/webcontrols/upcomingevents
-->


<!-- Target Elements -->
<div class="arlo arlo-upcoming">
    <div class="arlo-introduction">
        <h1><a href="#widget-upcoming">Upcoming events</a></h1>
        <p>Checkout what events are running at your location or <a href="/upcoming-events/">view all upcoming events</a>.</p>
    </div>
    <div id="filters"></div>
    <div id="upcoming-events"></div>
    <div class="arlo-view-all">
        <a href="/upcoming-events/">View all upcoming events</a>
    </div>
</div>

<!-- Templates -->
<script type='text/template' id='filter-template'>
    <div class="arlo-filters arlo-font-primary">

        <div class="arlo-location-selectors arlo-clearfix">
            <%= showFilter({filterCode: "locname", displayStyle: "ul", callbacks: {onRender: "locationfiltertoggle"}}) %>
        </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-date arlo-font-special">
            <div class="arlo-date-container arlo-text-color-dark">
                <div class="arlo-start-month arlo-bg-color-primary">
                    <%= SmartDateFields.startMonth %>
                </div>
                <div class="arlo-start-date arlo-text-color-lightest">
                    <%= SmartDateFields.startDay %>
                </div>
            </div>
        </div>

        <div class="arlo-title arlo-font-special">
            <div class="arlo-name arlo-text-color-dark arlo-h2">
                <a href="<%= ViewUri %>">
                    <%- Name %>
                </a>
            </div>
        </div>

        <div class="arlo-detail arlo-font-primary">
            <% if (typeof(Location.IsOnline) !== "undefined" && Location.IsOnline === true && (typeof(Location.Name) !== "undefined" && Location.Name !== "")) { %>
                <span class="arlo-text-color-lightest"><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-lightest"><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-link arlo-font-size-larger">
                        <%- Location.Name %>
                    </a>
                <% } else { %>
                    <span class="arlo-location arlo-text-color-normal arlo-font-size-larger"><%- Location.Name %></span>
                <% } %>
            <% } %>

            <span class="arlo-duration arlo-text-color-lightest">
                <i class="fa fa-clock-o"></i>
                <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>
                <% } %>
            </span>

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

            <% if (Sessions.length > 1) { %>
                <span class="arlo-sessions">
                    <span class="arlo-duration arlo-text-color-lightest">
                        <i class="fa fa-clock-o"></i>
                        <span class="arlo-session-info arlo-text-color-link 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>
                </span>
            <% } %>

            <div class="arlo-summary arlo-text-color-light">
                <%- Summary %>
            </div>

            <div class="arlo-offers">
                <%= formatAdvertisedOffers({ 
                    showPriceWithTaxInclusive: false,
                    showCurrencyCode: true,
                    }) %>
            </div>

            <%= formatRegistrationInfo('link') %>

            <div class="arlo-more-info-button">
                <a href="<%= ViewUri %>" class="arlo-bg-color-secondary">More Information</a>
            </div>

            <% if (PlacesRemaining !== "") { %>
                <span class="arlo-places-remaining arlo-text-color-primary 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>
            <% } %>

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

            
          
!
            
              html {
  box-sizing: border-box;
}

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

.arlo.arlo-upcoming {
  font-size: 16px;
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
}

.arlo.arlo-upcoming .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-upcoming .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-upcoming .arlo-loading-overlay:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.arlo.arlo-upcoming .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.arlo-upcoming html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

.arlo.arlo-upcoming body {
  margin: 0;
}

.arlo.arlo-upcoming article,
.arlo.arlo-upcoming aside,
.arlo.arlo-upcoming details,
.arlo.arlo-upcoming figcaption,
.arlo.arlo-upcoming figure,
.arlo.arlo-upcoming footer,
.arlo.arlo-upcoming header,
.arlo.arlo-upcoming main,
.arlo.arlo-upcoming menu,
.arlo.arlo-upcoming nav,
.arlo.arlo-upcoming section,
.arlo.arlo-upcoming summary {
  display: block;
}

.arlo.arlo-upcoming audio,
.arlo.arlo-upcoming canvas,
.arlo.arlo-upcoming progress,
.arlo.arlo-upcoming video {
  display: inline-block;
}

.arlo.arlo-upcoming audio:not([controls]) {
  display: none;
  height: 0;
}

.arlo.arlo-upcoming progress {
  vertical-align: baseline;
}

.arlo.arlo-upcoming template,
.arlo.arlo-upcoming [hidden] {
  display: none;
}

.arlo.arlo-upcoming a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  /* 2 */
}

.arlo.arlo-upcoming a:active,
.arlo.arlo-upcoming a:hover {
  outline-width: 0;
}

.arlo.arlo-upcoming abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

.arlo.arlo-upcoming b,
.arlo.arlo-upcoming strong {
  font-weight: inherit;
}

.arlo.arlo-upcoming b,
.arlo.arlo-upcoming strong {
  font-weight: bolder;
}

.arlo.arlo-upcoming code,
.arlo.arlo-upcoming kbd,
.arlo.arlo-upcoming samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

.arlo.arlo-upcoming dfn {
  font-style: italic;
}

.arlo.arlo-upcoming h1 {
  font-size: 2em;
  /* Set 1 unit of vertical rhythm on the top and bottom margins. */
  margin: 0.75em 0;
}

.arlo.arlo-upcoming mark {
  background-color: #ff0;
  color: #000;
}

.arlo.arlo-upcoming small {
  font-size: 80%;
}

.arlo.arlo-upcoming sub,
.arlo.arlo-upcoming sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

.arlo.arlo-upcoming sub {
  bottom: -0.25em;
}

.arlo.arlo-upcoming sup {
  top: -0.5em;
}

.arlo.arlo-upcoming img {
  border-style: none;
}

.arlo.arlo-upcoming svg:not(:root) {
  overflow: hidden;
}

.arlo.arlo-upcoming figure {
  margin: 1.5em 40px;
}

.arlo.arlo-upcoming hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

.arlo.arlo-upcoming pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

.arlo.arlo-upcoming button,
.arlo.arlo-upcoming input,
.arlo.arlo-upcoming optgroup,
.arlo.arlo-upcoming select,
.arlo.arlo-upcoming textarea {
  font: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
}

.arlo.arlo-upcoming button {
  overflow: visible;
}

.arlo.arlo-upcoming button,
.arlo.arlo-upcoming select {
  /* 1 */
  text-transform: none;
}

.arlo.arlo-upcoming button,
.arlo.arlo-upcoming html [type="button"],
.arlo.arlo-upcoming [type="reset"],
.arlo.arlo-upcoming [type="submit"] {
  -webkit-appearance: button;
  /* 2 */
}

.arlo.arlo-upcoming button,
.arlo.arlo-upcoming [type="button"],
.arlo.arlo-upcoming [type="reset"],
.arlo.arlo-upcoming [type="submit"] {
  /**
     * Remove the inner border and padding in Firefox.
     */
  /**
     * Restore the focus styles unset by the previous rule.
     */
}

.arlo.arlo-upcoming button::-moz-focus-inner,
.arlo.arlo-upcoming [type="button"]::-moz-focus-inner,
.arlo.arlo-upcoming [type="reset"]::-moz-focus-inner,
.arlo.arlo-upcoming [type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

.arlo.arlo-upcoming button:-moz-focusring,
.arlo.arlo-upcoming [type="button"]:-moz-focusring,
.arlo.arlo-upcoming [type="reset"]:-moz-focusring,
.arlo.arlo-upcoming [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

.arlo.arlo-upcoming input {
  overflow: visible;
}

.arlo.arlo-upcoming [type="checkbox"],
.arlo.arlo-upcoming [type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

.arlo.arlo-upcoming [type="number"]::-webkit-inner-spin-button,
.arlo.arlo-upcoming [type="number"]::-webkit-outer-spin-button {
  height: auto;
}

.arlo.arlo-upcoming [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.arlo-upcoming [type="search"]::-webkit-search-cancel-button,
.arlo.arlo-upcoming [type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

.arlo.arlo-upcoming::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

.arlo.arlo-upcoming::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

.arlo.arlo-upcoming fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

.arlo.arlo-upcoming legend {
  box-sizing: border-box;
  /* 1 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  white-space: normal;
  /* 1 */
  color: inherit;
  /* 2 */
  padding: 0;
  /* 3 */
}

.arlo.arlo-upcoming optgroup {
  font-weight: bold;
}

.arlo.arlo-upcoming textarea {
  overflow: auto;
}

.arlo.arlo-upcoming ol,
.arlo.arlo-upcoming ul,
.arlo.arlo-upcoming li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.arlo.arlo-upcoming a {
  color: #ED017B;
}

.arlo.arlo-upcoming a:hover {
  color: #ED017B;
}

.arlo.arlo-upcoming .arlo-h2,
.arlo.arlo-upcoming .arlo-h3 {
  margin-bottom: 5px;
}

.arlo.arlo-upcoming .arlo-h2 {
  font-size: 140%;
}

.arlo.arlo-upcoming .arlo-h3 {
  font-size: 120%;
}

.arlo.arlo-upcoming 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;
  padding-right: 70px;
}

.arlo.arlo-upcoming select:hover {
  opacity: 0.7;
}

.arlo.arlo-upcoming .tooltipcontent {
  display: none;
}

.arlo.arlo-upcoming .arlo-session-info {
  cursor: pointer;
}

.arlo.arlo-upcoming .arlo-sessions li * {
  display: inline-block;
  word-wrap: normal;
}

.arlo.arlo-upcoming .arlo-sessions li .arlo-session-name {
  display: block;
}

.arlo.arlo-upcoming .arlo-bg-color-primary {
  background-color: #1DC6BC;
}

.arlo.arlo-upcoming .arlo-bg-color-secondary {
  background-color: #F1F7FB;
}

.arlo.arlo-upcoming .arlo-bg-color-filters {
  background-color: #F1F7FB;
}

.arlo.arlo-upcoming .arlo-bg-color-highlight {
  background-color: #FFFDF7;
}

.arlo.arlo-upcoming .arlo-bg-color-normal {
  background-color: #fcfcfc;
}

.arlo.arlo-upcoming .arlo-bg-color-darker {
  background-color: #f7f7f7;
}

.arlo.arlo-upcoming .arlo-bg-color-darkest {
  background-color: #f2f2f2;
}

.arlo.arlo-upcoming .arlo-text-color-primary {
  color: #1DC6BC;
}

.arlo.arlo-upcoming .arlo-text-color-secondary {
  color: #F1F7FB;
}

.arlo.arlo-upcoming .arlo-text-color-contrast {
  color: #FFFFFF;
}

.arlo.arlo-upcoming .arlo-text-color-lightest {
  color: #bcbcbc;
}

.arlo.arlo-upcoming .arlo-text-color-light {
  color: #969696;
}

.arlo.arlo-upcoming .arlo-text-color-normal {
  color: #636363;
}

.arlo.arlo-upcoming .arlo-text-color-dark {
  color: #565656;
}

.arlo.arlo-upcoming .arlo-text-color-link {
  color: #ED017B;
}

.arlo.arlo-upcoming .arlo-font-primary {
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
}

.arlo.arlo-upcoming .arlo-font-secondary {
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
}

.arlo.arlo-upcoming .arlo-font-special {
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
}

.arlo.arlo-upcoming .arlo-font-size-larger {
  font-size: 110%;
}

.arlo.arlo-upcoming h1 a,
.arlo.arlo-upcoming h1 a:hover {
  color: black;
  text-decoration: none;
  cursor: default;
}

.arlo.arlo-upcoming .arlo-clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.arlo.arlo-upcoming * html .arlo-clearfix {
  zoom: 1;
}

.arlo.arlo-upcoming * {
  box-sizing: border-box;
}

.arlo.arlo-upcoming *:first-child + html .arlo-clearfix {
  zoom: 1;
}

.arlo.arlo-upcoming .arlo-filters[max-width~="550px"] .arlo-collapse-button {
  display: block;
}

.arlo.arlo-upcoming .arlo-filters[max-width~="550px"] div[id^='filter-'] {
  padding-right: 0;
}

.arlo.arlo-upcoming .arlo-filters[max-width~="550px"] * {
  width: 100%;
}

.arlo.arlo-upcoming .arlo-filters[max-width~="550px"] li {
  margin-bottom: 10px;
}

.arlo.arlo-upcoming .arlo-filters[min-width~="551px"] div[id^="filter-"] {
  display: inline-block !important;
}

.arlo.arlo-upcoming .arlo-filters .arlo-location-selectors {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 20px;
}

.arlo.arlo-upcoming .arlo-filters div[id^='filter-'],
.arlo.arlo-upcoming .arlo-filters div[id*=' filter-'],
.arlo.arlo-upcoming .arlo-filters .arlo-checkbox-filter-option {
  display: inline-block;
}

.arlo.arlo-upcoming .arlo-filters select,
.arlo.arlo-upcoming .arlo-filters input.arlo-search {
  border-radius: 30px;
  display: inline;
  background-color: #F1F7FB;
  border: none;
  font-size: 15.4px;
  letter-spacing: 0;
  line-height: 20px;
  font-weight: 400;
}

.arlo.arlo-upcoming .arlo-filters input.arlo-search {
  padding: 10px 20px;
}

.arlo.arlo-upcoming .arlo-filters div[id^='filter-'],
.arlo.arlo-upcoming .arlo-filters div[id*=' filter-'] {
  padding-right: 10px;
  margin-bottom: 10px;
  vertical-align: bottom;
}

.arlo.arlo-upcoming .arlo-filters .arlo-filter-unordered-list li {
  margin-right: 10px;
  border-radius: 30px;
  position: relative;
  background-color: #1DC6BC;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  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;
  margin-bottom: 5px;
  display: inline-block;
}

.arlo.arlo-upcoming .arlo-filters .arlo-filter-unordered-list li:hover {
  opacity: 0.7;
}

.arlo.arlo-upcoming .arlo-filters .arlo-filter-unordered-list li.selected {
  padding-right: 25px;
  color: #fff;
  background-color: #0186e3;
}

.arlo.arlo-upcoming .arlo-filters .arlo-checkbox-filter-option input[id^="loccode"] {
  display: none;
}

.arlo.arlo-upcoming .arlo-filters .arlo-filter-unordered-list li.selected:after {
  content: "\f00c";
  font-family: FontAwesome;
  right: 5px;
  position: absolute;
  top: 12px;
}

.arlo.arlo-upcoming .arlo-region-selector select {
  cursor: pointer;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 30px;
  font-style: normal;
  display: inline-block;
  text-decoration: none;
  width: 30%;
  margin: 0 auto 40px;
  border: none;
  background-color: #F1F7FB;
  display: block;
}

.arlo.arlo-upcoming .tooltipcontent {
  display: none;
}

.arlo.arlo-upcoming .tooltip.bottom .tooltip-arrow {
  padding: 0 !important;
}

.arlo.arlo-upcoming .arlo-detail .tooltip .tooltip-inner {
  text-align: left;
  padding: 16px 20px;
  background: #09142f;
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
  max-width: 250px;
}

.arlo.arlo-upcoming .arlo-detail .tooltip .tooltip-inner li {
  border-bottom: 1px solid #1c253d;
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.arlo.arlo-upcoming .arlo-detail .tooltip .tooltip-inner li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.arlo.arlo-upcoming .arlo-detail .tooltip .tooltip-inner h4 {
  margin-top: 0;
  letter-spacing: 1px;
}

.arlo.arlo-upcoming .tooltip.in {
  opacity: 0.9;
}

.arlo.arlo-upcoming .arlo-title .arlo-name a {
  color: #333;
}

.arlo.arlo-upcoming .arlo-title .arlo-name a:hover {
  color: #6d6d6d;
}

.arlo.arlo-upcoming .arlo-sessions {
  margin: 0;
  font-size: 14px;
}

.arlo.arlo-upcoming .arlo-sessions .arlo-session .arlo-session-name {
  color: white;
  letter-spacing: 1px;
}

.arlo.arlo-upcoming .arlo-sessions .arlo-session .arlo-session * {
  line-height: 1;
  color: #9da1ac;
}

.arlo.arlo-upcoming .arlo-session-info {
  cursor: pointer;
}

.arlo.arlo-upcoming .arlo-sessions li * {
  display: inline-block;
  word-wrap: normal;
  color: white;
}

.arlo.arlo-upcoming .arlo-sessions li * .arlo-session-name {
  display: block;
}

.arlo.arlo-upcoming .arlo-no-results-found {
  text-align: center;
  font-size: 20px;
  margin: 0 0 40px;
}

.arlo.arlo-upcoming .arlo-no-results {
  display: none;
  text-align: center;
}

.arlo.arlo-upcoming .arlo-no-results hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

.arlo.arlo-upcoming .arlo-no-results a {
  text-align: center;
  text-decoration: none;
  font-size: 80%;
  line-height: 40px;
  border-radius: 30px;
  padding: 12px 20px;
  color: #fff;
  background-color: #ED017B;
  margin-left: 15px;
}

.arlo.arlo-upcoming .arlo-onlineOrVenueFilterList,
.arlo.arlo-upcoming .arlo-filter-unordered-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.arlo.arlo-upcoming .arlo-event-list {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  margin-top: 20px;
  overflow: auto;
}

.arlo.arlo-upcoming .arlo-event-list[max-width~="870px"] .arlo-event-listitem {
  width: 100%;
  padding-right: 0;
}

.arlo.arlo-upcoming .arlo-event-list[max-width~="550px"] .arlo-event-register,
.arlo.arlo-upcoming .arlo-event-list[max-width~="550px"] .arlo-more-info-button a,
.arlo.arlo-upcoming .arlo-event-list[max-width~="550px"] .arlo-more-info-button {
  width: 100%;
}

.arlo.arlo-upcoming .arlo-event-list[max-width~="550px"] .arlo-detail {
  clear: both;
  margin-left: 0;
  padding-top: 14px;
}

.arlo.arlo-upcoming .arlo-onlineOrVenueFilterList li,
.arlo.arlo-upcoming .arlo-filter-unordered-list li,
.arlo.arlo-upcoming .arlo-event-list > li {
  list-style: none;
}

.arlo.arlo-upcoming .arlo-show-more {
  text-align: center;
  width: 150px;
  margin: 0 auto;
  cursor: pointer;
  font-size: 15px;
  padding: 12px 30px;
  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;
}

.arlo.arlo-upcoming .arlo-show-more:hover {
  opacity: 0.7;
}

.arlo.arlo-upcoming .arlo-event-listitem {
  width: 50%;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  margin-bottom: 40px;
  font-size: 14px;
  float: left;
  padding-right: 55px;
}

.arlo.arlo-upcoming .arlo-event-listitem:last-child {
  padding-right: 0;
}

.arlo.arlo-upcoming .arlo-event-listitem::after {
  clear: both;
  content: "";
  display: table;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-listitem {
  position: relative;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-listitem .arlo-side-border {
  position: absolute;
  left: 0;
  width: 10px;
  height: 100%;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-duration {
  padding-right: 5px !important;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-register:hover {
  opacity: 0.7;
}

.arlo.arlo-upcoming .arlo-event-listitem .fa {
  margin-right: 3px;
  font-size: 14px;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-date {
  width: 60px;
  float: left;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-date .arlo-start-date {
  font-size: 32px;
  vertical-align: top;
  line-height: 1;
  padding: 10px;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-date .arlo-date-container {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  margin-top: 7px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin-left: 4px;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-date .arlo-start-month {
  text-transform: uppercase;
  font-size: 20px;
  padding-bottom: 3px;
  color: white;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-date .arlo-end-month {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-title,
.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail {
  margin-left: 85px;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-title {
  line-height: 30px;
  word-wrap: break-word;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-title .arlo-h2 {
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
  margin: 0 0 5px 0;
  display: inline;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 25px;
  line-height: 27px;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-title a {
  text-decoration: none;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail {
  line-height: 160%;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-location,
.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-duration,
.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-online {
  margin-right: 10px;
  text-decoration: none;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-duration,
.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-notice {
  display: inline-block;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail * {
  padding: 2px 0;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-offers {
  margin-bottom: 15px;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-original-price {
  text-decoration: line-through;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-discount-offer,
.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-original-price {
  color: #FFBD1F;
  font-style: italic;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-offer-ul {
  padding-left: 0;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-offer-ul .arlo-offer-li {
  list-style: none;
  padding: 2px;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-more-info-button {
  display: inline-block;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-more-info-button > a {
  cursor: pointer;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 30px;
  font-style: normal;
  display: inline-block;
  text-decoration: none;
  color: #333;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-more-info-button > a:hover {
  opacity: 0.7;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-places-remaining {
  margin-left: 20px;
  padding: 17px 16px;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-event-register {
  cursor: pointer;
  text-decoration: none;
  background: #F1F7FB;
  color: #ED017B;
  cursor: pointer;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 30px;
  font-style: normal;
  margin-right: 10px;
  margin-bottom: 7px;
  display: inline-block;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-event-register.arlo-waiting-list {
  background-color: #F1F7FB;
  color: #333;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-event-register:hover {
  opacity: 0.7;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-event-register-info {
  font-size: 12px;
  padding: 12px 20px;
  border-radius: 30px;
  background: #EAEAEA;
  color: #636363;
  display: inline-block;
  margin-left: 0;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-event-register-info a {
  text-decoration: none;
  color: #ED017B;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail .arlo-event-register-info p {
  display: inline-block;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-detail {
  font-style: italic;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-summary,
.arlo.arlo-upcoming .arlo-event-listitem .arlo-offers {
  font-style: normal;
}

.arlo.arlo-upcoming .arlo-event-listitem .arlo-offer-container,
.arlo.arlo-upcoming .arlo-event-listitem .arlo-offer-li {
  font-size: 20px;
  line-height: 25px;
}

.arlo.arlo-upcoming h1 {
  font-size: 2.7em;
  margin-bottom: 0;
  margin-top: 0;
  font-weight: normal;
}

.arlo.arlo-upcoming .arlo-introduction {
  text-align: center;
}

.arlo.arlo-upcoming .arlo-introduction h1 {
  margin: 10px 0 20px;
}

.arlo.arlo-upcoming .arlo-introduction p {
  margin-bottom: 35px;
}

.arlo.arlo-upcoming .arlo-view-all {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.arlo.arlo-upcoming .arlo-view-all a {
  display: inline-block;
  vertical-align: baseline;
  zoom: 1;
  *display: inline;
  *vertical-align: auto;
  position: relative;
  padding: 0 20px;
  color: #ED017B;
  text-transform: uppercase;
  font-size: 15px;
}

.arlo.arlo-upcoming .arlo-view-all a:hover {
  text-decoration: none;
  color: #1DC6BC;
}

.arlo.arlo-upcoming .arlo-view-all a:before,
.arlo.arlo-upcoming .arlo-view-all a:after {
  content: '';
  display: block;
  width: 1000px;
  position: absolute;
  top: 0.73em;
  border-top: 1px solid #efefef;
}

.arlo.arlo-upcoming .arlo-view-all a:before {
  right: 100%;
}

.arlo.arlo-upcoming .arlo-view-all a:after {
  left: 100%;
}

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%;
}
            
          
!
            
              (function ($, ElementQueries) {
    document.addEventListener("arlojscontrolsloaded", function () {
        var platformID = "websitetestdata.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: 2,
            filterControlId: 1,
            includeLoadMoreButton: false,
            includeArloLink: false,
            smartDateFormats: {
                startDay: "D"
            },
            customUrls: {
                eventtemplate: "http://theme1.demo.arlo.co/event-template/",
                venue: "http://theme1.demo.arlo.co/venue/",
                presenter: "http://theme1.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();

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

})(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