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 - Event and online activities list with register button - Theme1
Documentation: https://developer.arlo.co/doc/webcontrols/eventtemplate
-->

<!-- Target elements -->
    <div class="arlo">
        <div id="event-template-list"></div>
    </div>

    <!-- Templates -->
    <script type='text/template' id='event-template-list-template'>

        <h3 class="arlo-name"><%- Name %></h3>
        <p class="arlo-text-color-normal arlo-summary"><%- Summary %></p>

        <%= showEventTemplateFilters({
            template: "#filtertemplate",
            loadImmediately: true,
            filterControlId: 1
        }) %>

        <%= showEventTemplateEventsList({
            template: "#eventtemplatedemo-eventstemplate",
            loadImmediately: true,
            includeLoadMoreButton: true,
            loadMoreButtonText: "Show More",
            maxCount: 3,
            filterControlId: 1,
            queryStringConfig: ["event"],
            noResultsText: "<span class='arlo-no-event-dates'><span class='arlo-no-results-text arlo-text-color-light'>No event dates</span></span>",
            customUrls:{
                eventtemplate: "http://theme1.demo.arlo.co/event-template/",
                venue: "http://theme1.demo.arlo.co/venue/",
                presenter: "http://theme1.demo.arlo.co/presenter/"
            },
            callbacks: {
                onRender: loadEvents
            }
        }) %>

        <div class="arlo-no-results">
            <div class="arlo-no-results-text arlo-text-color-lightest"></div>
        </div>

        <div class="arlo-register-interest-container arlo-bg-color-primary">

            <% if (RegisterPrivateInterestUri !== "") { %>
            <span class="arlo-register-private-interest">
                Want to run this course in-house?
                <a class="arlo-text-color-link" href="<%- RegisterPrivateInterestUri %>">
                    Enquire about running this course in-house
                </a>
            </span>
            <% } %>

            <% if (RegisterInterestUri !== "") { %>
            <span class="arlo-register-interest">
                None of these dates work for you?
                <a class="arlo-register-interest-link arlo-text-color-link" href="<%- RegisterInterestUri %>">Suggest another date & time</a>
            </span>
            <% } %>

        </div>

        <div class="arlo-online-activities">
            <%= showEventTemplateOnlineActivitiesList({
                template: "#eventtemplatedemo-onlineactivitiestemplate",
                loadImmediately: true,
                maxCount: 1
            }) %>
        </div>
    </script>

    <script type='text/template' id='eventtemplatedemo-eventstemplate'>
        <div class="arlo-eventlistitem-inner">
            <div class="arlo-item-header arlo-font-special arlo-text-color-darkest">
                <%= formatDate(StartDateTime, "ddd DD MMM") %>
            </div>

            <div class="arlo-details">
                <div class="arlo-duration arlo-text-color-normal">
                    <%= DurationDescription %>
                    <% if (typeof(Location.IsOnline) !== "undefined" && Location.IsOnline === true) { %>
                    <%- TimeZone %>
                    <% } %>
                </div>

                <% if (Notice !== "") { %>
                <div class="arlo-notice arlo-text-color-light"><%- Notice %></div>
                <% } %>

                <% if (Sessions.length > 1) { %>
                <div 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" 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>
                <% } %>

                <% if (typeof(Location.ViewUri) !== "undefined" && Location.ViewUri !== "") { %>
                <a class="arlo-text-color-link" href="<%- Location.ViewUri %>">
                    <% } else { %>
                    <div class="arlo-text-color-normal" href="<%- Location.ViewUri %>">
                        <% } %>

                        <% if (typeof(Location.IsOnline) !== "undefined" && Location.IsOnline === true) { %>
                        <div class="arlo-location arlo-online arlo-text-color-normal"><%- Location.Name %></div>
                        <% } %>

                        <% if (typeof(Location.IsOnline) === "undefined" || Location.IsOnline === false) { %>
                        <div class="arlo-location"><%- Location.Name %></div>
                        <% } %>

                        <% if (typeof(Location.ViewUri) !== "undefined" && Location.ViewUri !== "") { %>
                        </a>
                <% } else { %>
            </div>
            <% } %>

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

        <% if (PlacesRemaining !== "") { %>
        <span class="arlo-places-remaining arlo-text-color-light"><%= PlacesRemaining %> Places Remaining</span>
        <% } %>

        <% if (IsFull !== "") { %>
        <span class="arlo-places-remaining arlo-text-color-light"><%= EventFullMessage %></span>
        <% } %>

        <div class="arlo-register-section">
            <%= formatRegistrationInfo('link') %>

        </div>
    </script>

    <script type='text/template' id='eventtemplatedemo-onlineactivitiestemplate'>
        <div class="arlo-clearfix">
            <div class="arlo-details">
                <div class="arlo-item-header">
                    <%- ReferenceTerms.Singular %>
                </div>
                <div class="arlo-delivery-description">
                    <%- DeliveryDescription %>
                </div>
            </div>
            <div class="arlo-register">
                <%= formatRegistrationInfo('link') %>
            </div>
        </div>
    </script>

    <script id='eventtemplatefilter-template' type='text/template'>
        <%= showEventTemplateFilters({
        template: "#filtertemplate",
        loadImmediately: true,
        filterControlId: 1
        }) %>
    </script>


    <script type='text/template' id='filtertemplate'>
        <div class="arlo-filters arlo-font-primary">
            <div class="arlo-other-filters arlo-clearfix arlo-font-primary">
                <%= showFilter({filterCode: "locname"}) %>
                <%= showFilter({filterCode: "onlineorvenue", displayStyle: "ul", onlineOrVenueText: {online: "Live online", venue: "At a venue"},  callbacks: { onRender: "onFilterLoad" } }) %>
                <%= showTimezoneSelector() %>
            </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.0/init.js" charset="utf-8" defer="defer"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAQecSspMnsipB9oV0N4WKbqFNy5zhlNwg"></script>
            
          
!
            
              html {
  box-sizing: border-box;
}

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

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

.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-no-results-found {
  text-align: center;
  font-size: 20px;
}

.arlo .arlo-no-results-found hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #ECECEC;
}

.arlo h3 {
  font-size: 42px;
  line-height: 45px;
  letter-spacing: 0;
  font-weight: normal;
  margin-bottom: 30px;
}

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

.arlo select:hover {
  opacity: 0.7;
}

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

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

.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: #f7f7f7;
}

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

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

.arlo .arlo-text-color-secondary {
  color: #ED017B;
}

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

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

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

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

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

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

.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-font-size-larger {
  font-size: 110%;
}

.arlo .arlo-clearfix:after,
.arlo .arlo-event-list: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 .arlo-filters[max-width~="550px"] .arlo-collapse-button {
  display: block;
}

.arlo .arlo-filters[max-width~="550px"] div[id^='filter-'] {
  width: 100%;
}

.arlo .arlo-filters[max-width~="550px"] div[id^='filter-'] * {
  width: 100%;
}

.arlo .arlo-filters .arlo-other-filters {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.arlo .arlo-filters .arlo-other-filters::after {
  clear: both;
  content: "";
  display: block;
}

.arlo .arlo-filters .arlo-onlineOrVenueFilterList {
  display: inline-block;
}

.arlo .arlo-filters .arlo-onlineOrVenueFilterList li {
  display: inline-block;
}

.arlo .arlo-filters .arlo-filter-unordered-list li {
  display: inline-block;
}

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

.arlo .arlo-filters select,
.arlo .arlo-filters input.arlo-search {
  border-radius: 30px;
  display: inline;
  background-color: #F1F7FB;
  border: none;
}

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

.arlo .arlo-filters .arlo-onlineOrVenueFilterList {
  margin: 0;
}

.arlo .arlo-filters .arlo-onlineOrVenueFilterList li {
  cursor: pointer;
  background-color: #F1F7FB;
  color: #636363;
  padding: 10px 20px;
}

.arlo .arlo-filters .arlo-filter-unordered-list li,
.arlo .arlo-filters .arlo-show-more {
  cursor: pointer;
  background-color: #F1F7FB;
  color: #636363;
  padding: 10px 20px;
}

.arlo .arlo-filters .arlo-onlineOrVenueFilterList li:hover,
.arlo .arlo-filters .arlo-filter-unordered-list li:hover {
  opacity: .7;
}

.arlo .arlo-filters .arlo-onlineOrVenueFilterList .arlo-onlineOrVenueListItem:first-child {
  border-radius: 15px 0 0 15px;
}

.arlo .arlo-filters .arlo-onlineOrVenueFilterList .arlo-onlineOrVenueListItem:last-child {
  border-radius: 0 15px 15px 0;
}

.arlo .arlo-filters .arlo-onlineOrVenueListItem.selected {
  color: #fff;
  background-color: #0186e3;
}

.arlo .arlo-filters .arlo-filter-unordered-list li {
  margin-right: 10px;
  border-radius: 30px;
  background-color: #F1F7FB;
  color: #636363;
  padding: 10px 20px;
  margin-bottom: 10px;
}

.arlo .arlo-filters .arlo-filter-unordered-list li.selected {
  color: #fff;
  background-color: #0186e3;
}

.arlo .arlo-filters .arlo-filter-select {
  color: #636363;
}

.arlo .arlo-filters .arlo-timezone-select {
  display: none;
  width: 400px;
  color: #636363;
  background-color: transparent;
}

.arlo .arlo-filters .arlo-timezone-select:focus {
  outline: none;
  background-color: transparent !important;
}

.arlo[min-width~="800px"] .arlo-eventtemplate-listitems {
  width: 800px;
  margin: 0;
}

.arlo .arlo-event-list[max-width~="499px"] .arlo-event-listitem {
  width: 100%;
  display: block;
  padding: 10px 0;
}

.arlo .arlo-event-list[min-width~="500px"] .arlo-event-listitem {
  width: 50%;
}

.arlo .arlo-event-list[min-width~="768px"] .arlo-event-listitem {
  width: 33.333333333%;
}

.arlo .arlo-event-list[min-width~="1024px"] .arlo-event-listitem {
  width: 25%;
}

.arlo .arlo-event-list[min-width~="1280px"] .arlo-event-listitem {
  width: 20%;
}

.arlo .arlo-event-list[min-width~="1520px"] .arlo-event-listitem {
  width: 16.666666666667%;
}

.arlo .arlo-main-content {
  max-width: 1220px;
  margin: 0 auto;
}

.arlo .arlo-main-content .arlo-summary {
  text-align: center;
  font-size: 130%;
  margin-bottom: 25px;
  font-weight: 600;
}

.arlo #event-list .arlo-event-listitem {
  text-align: initial;
}

.arlo .arlo-item-header,
.arlo .arlo-content-field-name {
  margin-bottom: 7px;
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
  color: #565656;
  font-size: 20px;
  line-height: 25px;
  letter-spacing: 0;
  font-weight: 400;
}

.arlo .arlo-details {
  font-size: 14px;
  line-height: 21px;
  font-weight: normal;
}

.arlo .tooltipcontent {
  display: none;
}

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

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

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

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

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

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

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

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

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

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

.arlo .arlo-sessions li .arlo-session-name {
  display: block;
  font-style: italic;
  margin-top: 15px;
}

.arlo .arlo-sessions-link {
  margin-top: 7px;
}

.arlo .arlo-event-listitem .arlo-more-information .arlo-more-information-content .arlo-static-panel .arlo-sessions-link i.fa {
  font-size: 16px;
}

.arlo .arlo-sessions-link .arlo-showSessions {
  display: inline-block;
  margin-left: 4px;
  cursor: pointer;
}

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

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

.arlo .arlo-offer-container {
  font-style: italic;
  font-size: 20px;
  line-height: 25px;
  letter-spacing: 0;
  font-weight: 400;
  color: #00CDC1;
}

.arlo .arlo-show-more-container {
  clear: both;
  margin-bottom: 30px;
}

.arlo .arlo-show-more-container .arlo-show-more {
  margin: 0 auto;
  width: 215px;
  background-color: #D6D6D6 !important;
  line-height: 20px;
  margin-top: 15px;
  cursor: pointer;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 30px;
  color: #fff;
  font-size: 120%;
  font-weight: normal;
  font-size: 15px;
  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;
}

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

.arlo .arlo-register-interest-container {
  margin: 20px 0 0;
  clear: both;
}

.arlo .arlo-register-interest,
.arlo .arlo-register-interest-container {
  background: transparent;
  text-align: center;
}

.arlo .arlo-register-interest span,
.arlo .arlo-register-interest-container span {
  line-height: 1.5;
  display: inline-block;
  margin-bottom: 10px;
  width: 100%;
  background: #F1F7FB;
  padding: 13px 10px;
}

.arlo .arlo-register-interest .arlo-register-interest-link,
.arlo .arlo-register-interest-container .arlo-register-interest-link {
  text-decoration: none;
  display: inline-block;
}

.arlo .arlo-register-interest .arlo-register-interest-link:hover {
  text-decoration: underline;
}

.arlo .arlo-no-event-dates {
  text-align: center;
}

.arlo .arlo-no-event-dates a {
  background: #ED017B;
  padding: 12px 25px;
  font-size: 75%;
  margin-left: 20px;
  line-height: 20px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 30px;
  color: #fff;
  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;
}

.arlo ul.arlo-content-field-list {
  padding: 20px 0;
}

.arlo .arlo-content-field-text ul,
.arlo .arlo-profile-field-text ul,
.arlo .arlo-facilityinfo-field-text ul {
  margin-left: 30px;
  padding: 0;
}

.arlo .arlo-content-field-text ul li,
.arlo .arlo-profile-field-text ul li,
.arlo .arlo-facilityinfo-field-text ul li {
  list-style: disc;
  padding: 0;
  margin: 0;
}

.arlo .arlo-oa-listitems {
  margin: 0 auto;
}

.arlo .arlo-event-listitem {
  float: left;
  padding-right: 20px;
}

.arlo .arlo-eventlistitem-inner {
  width: 100%;
}

.arlo .arlo-online-activities li {
  margin: 20px auto 0;
  border-radius: 5px;
  box-shadow: 0 0 10px 5px #e6e6e6;
  padding: 16px;
  margin-bottom: 12px;
  background: white;
}

.arlo .arlo-eventlistitem-inner {
  border-radius: 5px;
  box-shadow: 0 0 10px 5px #e6e6e6;
  padding: 16px;
  margin-bottom: 12px;
  background: white;
}

.arlo .arlo-online-activities li .arlo-offers,
.arlo .arlo-eventlistitem-inner .arlo-offers {
  font-weight: 700;
  margin-bottom: 7px;
}

.arlo .arlo-online-activities li .arlo-offers .arlo-original-price,
.arlo .arlo-eventlistitem-inner .arlo-offers .arlo-original-price {
  text-decoration: line-through;
}

.arlo .arlo-online-activities li .arlo-offers .arlo-discount-offer,
.arlo .arlo-online-activities li .arlo-offers .arlo-original-price {
  color: #1DC6BC;
}

.arlo .arlo-eventlistitem-inner .arlo-offers .arlo-discount-offer,
.arlo .arlo-eventlistitem-inner .arlo-offers .arlo-original-price {
  color: #1DC6BC;
}

.arlo .arlo-original-price {
  display: block;
}

.arlo .arlo-online-activities li .arlo-offers .arlo-discount-offer {
  font-weight: 500;
}

.arlo .arlo-eventlistitem-inner .arlo-offers .arlo-discount-offer {
  font-weight: 500;
}

.arlo .arlo-eventlistitem-inner .arlo-offers .arlo-offer-ul .arlo-offer-li.arlo-discount-offer {
  color: #FFBD1F;
  font-size: 18px;
  line-height: 23px;
  font-style: italic;
  margin-top: 4px;
}

.arlo .arlo-online-activities li .arlo-offers .arlo-offer-ul,
.arlo .arlo-eventlistitem-inner .arlo-offers .arlo-offer-ul {
  padding: 0;
  margin: 0;
}

.arlo .arlo-online-activities li .arlo-offers .arlo-offer-ul .arlo-offer-li {
  padding: 0;
  margin: 0;
  list-style: none;
  padding: 2px;
}

.arlo .arlo-eventlistitem-inner .arlo-offers .arlo-offer-ul .arlo-offer-li {
  padding: 0;
  margin: 0;
  list-style: none;
  padding: 2px;
  font-weight: normal;
  font-size: 20px;
  color: #00CDC1;
  font-style: italic;
}

.arlo .arlo-event-register-info a {
  line-height: 20px;
  margin-top: 13px;
  cursor: pointer;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 30px;
  color: #ED017B;
  font-weight: normal;
  display: inline-block;
  border: 1px solid #ED017B;
  font-size: 15px !important;
}

.arlo .arlo-event-register-info a:hover {
  background: #ED017B;
  color: white !important;
}

.arlo .arlo-online-activities li a,
.arlo .arlo-eventlistitem-inner a {
  text-decoration: none;
}

.arlo .arlo-online-activities li .arlo-notice,
.arlo .arlo-eventlistitem-inner .arlo-notice {
  font-style: italic;
}

.arlo .arlo-online-activities li .arlo-location,
.arlo .arlo-eventlistitem-inner .arlo-location {
  display: inline;
}

.arlo .arlo-online-activities li .arlo-location,
.arlo .arlo-online-activities li .arlo-duration,
.arlo .arlo-online-activities li .arlo-notice,
.arlo .arlo-online-activities li .arlo-presenter,
.arlo .arlo-online-activities li .arlo-offers {
  padding: 4px 0;
}

.arlo .arlo-eventlistitem-inner .arlo-location,
.arlo .arlo-eventlistitem-inner .arlo-duration,
.arlo .arlo-eventlistitem-inner .arlo-notice,
.arlo .arlo-eventlistitem-inner .arlo-presenter,
.arlo .arlo-eventlistitem-inner .arlo-offers {
  padding: 4px 0;
}

.arlo .arlo-online-activities li .arlo-event-register,
.arlo .arlo-eventlistitem-inner .arlo-event-register {
  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;
}

.arlo .arlo-online-activities li .arlo-event-register.arlo-waiting-list,
.arlo .arlo-eventlistitem-inner .arlo-event-register.arlo-waiting-list {
  background: #FFBD1F;
}

.arlo .arlo-online-activities li .arlo-event-register:hover,
.arlo .arlo-eventlistitem-inner .arlo-event-register:hover,
.arlo .arlo-no-event-dates a:hover {
  opacity: .7;
}

.arlo .arlo-online-activities li .arlo-places-remaining,
.arlo .arlo-eventlistitem-inner .arlo-places-remaining {
  font-style: italic;
  color: #FFBD1F;
}

.arlo .arlo-online-activities {
  width: 100%;
}

.arlo .arlo-online-activities li {
  padding: 20px;
}

.arlo .arlo-online-activities .arlo-details {
  float: left;
  font-size: 14px;
  line-height: 21px;
  font-weight: normal;
}

.arlo .arlo-online-activities .arlo-register {
  margin-top: 15px;
  float: right;
}

.arlo .arlo-online-activities .arlo-no-results-found {
    display: none;
}

.arlo .arlo-no-results-found {
  text-align: center;
  font-size: 20px;
  margin: 20px auto 0;
  border-radius: 5px;
  box-shadow: 0 0 10px 5px #e6e6e6;
  padding: 16px;
  margin-bottom: 12px;
  background: white;
}

.arlo .arlo-no-results-found hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #ECECEC;
}

.arlo .arlo-page-header,
.arlo .arlo-page-footer {
  margin: 0 auto;
  width: 100%;
  text-align: center;
  background: #ED017B;
  color: #fff;
  padding: 15px;
}

.arlo .arlo-page-header .arlo-page-title,
.arlo .arlo-page-footer .arlo-page-title {
  font-size: 50px;
  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-event-list:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}


/* Session tool tips */

.arlo-eventtemplate-listitem {
  padding-bottom: 20px !important;
  margin-bottom: 50px !important;
}

.arlo-eventtemplate-listitem:last-child {
  border-bottom: 0;
}

.arlo .arlo-eventtemplate-listitem .arlo-summary {
  font-size: 15.4px;
  color: #626262;
  letter-spacing: 0;
  line-height: 27px;
}


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"; // Change platformID to point at your own account

        var eventTemplateDemo = {
            moduleType: "EventTemplate",
            targetElement: "#event-template-list",
            template: "#event-template-list-template",
            queryStringConfig: ["eventtemplate"],
            maxCount: 10,
            includeLoadMoreButton: false,
            callbacks: {
                onShow: function () {
                    ElementQueries.init();
                }
            },
            filter: {
                categoryId: 12
            }
        };

        var eventTemplateFilter = {
            moduleType: "EventTemplate",
            targetElement: "#event-template-filter",
            template: "#eventtemplatefilter-template",
            queryStringConfig: ["eventtemplate"],
            maxCount: 1,
            includeLoadMoreButton: false
        };

        var app = new window.ArloWebControls();
        app.start({
            "platformID": platformID,
            "googleMapsAPIKey": "AIzaSyAQecSspMnsipB9oV0N4WKbqFNy5zhlNwg",
            "showDevErrors": false,
            "modules": [eventTemplateDemo, eventTemplateFilter]
        });

    });

    window.loadEvents = function (getEventListItemElements) {
        var eventElements = getEventListItemElements();
        var listParent = $(eventElements[0]).parent()[0];

        ElementQueries.init();

        // Get height from combining heights of list item elements (because of issue with using list items own height)
        function setListItemsHeight() {

            if ($(listParent).width() < 500) {
                return;
            }
            $(listParent).find(".arlo-event-listitem").height("auto");
            var tallestListItemHeight = 0;
            $.each($(listParent).find(".arlo-event-listitem"), function (index, listItem) {
                var height = 0;
                height += $(listItem).find(".arlo-item-header").height();
                height += $(listItem).find(".arlo-duration").height();
                height += $(listItem).find(".arlo-notice").height();
                height += $(listItem).find(".arlo-location").height();
                height += $(listItem).find(".arlo-presenter").height();
                height += $(listItem).find(".arlo-offers").height();
                height += $(listItem).find(".arlo-event-register").height();

                if (height > tallestListItemHeight) {
                    tallestListItemHeight = height;
                }

            });

            // Set all list items to height of tallest item plus padding
            $(listParent).find(".arlo-eventlistitem-inner").height(tallestListItemHeight + 130);
        }

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

        $(window).bind('resize', function () {
            setTimeout(function () {
                setListItemsHeight();
            }, 100);
        });

        // 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(eventElements, 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();
                }
            }
        });

        var nEvents = $(listParent).find(".arlo-event-listitem").length;
        var eventTemplate = $(listParent).parent().parent();

        // Show register interest button when there are no results
        if (nEvents === 0) {
            var noResultsContainer = $(eventTemplate).find('.arlo-no-event-dates');

            if (noResultsContainer.length !== 0) {
                var registerInterestLinkElement = $(eventTemplate).find(".arlo-register-interest a");

                if (registerInterestLinkElement.length !== 0 && $(eventTemplate).find('.arlo-no-event-dates').find('.arlo-register-interest-link').length === 0) {
                    var registerLinkCopy = registerInterestLinkElement.clone();
                    registerLinkCopy.html("Register Interest");
                    $(eventTemplate).find('.arlo-no-event-dates').append(registerLinkCopy);
                }

                $(eventTemplate).find('.arlo-register-interest').hide();
            }
        } else {
            $(eventTemplate).find('.arlo-register-interest').show();
        }

        // Hide the events section if this event is online only
        var onlineActivities = $(eventTemplate).find('.arlo-oa-listitems').children();
        if (onlineActivities.length !== 0 && nEvents === 0) {
            $(eventTemplate).find('.arlo-no-results-found').hide();
            $(eventTemplate).find('.arlo-filters').hide();
        }
    };

    window.onFilterLoad = function () {
        ElementQueries.init();
    };
})(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