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.

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

<!-- Templates -->
<script type='text/template' id='event-template-template'>
    <div class="arlo-page-title arlo-font-special arlo-full-width">
        <div class="arlo-text-color-contrast arlo-page-title-inner">
            <%- Name %>
        </div>
        <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/597099/heading_separator.png">
    </div>

    <div class="arlo-main-content">
        <div class="arlo-text-color-normal arlo-font-primary arlo-summary">
            <%- Summary %>
        </div>
        <div class="arlo-template-events">
            <%= showEventTemplateFilters({
                template: "#filter-template",
                loadImmediately: true,
                filterControlId: 1
            }) %>

            <div class="arlo-loading-placeholder">
                <div class="arlo-placeholder-events clearfix" id="eventtemplate-event-placeholder-target">
                    <div class="arlo-placeholder-event">
                        <div class="arlo-placeholder-event-inner">
                            <div class="arlo-placeholder-event-details">
                                <div class="arlo-placeholder-date"></div>
                                <div class="arlo-placeholder-text"></div>
                                <div class="arlo-placeholder-text"></div>
                            </div>
                            <div class="arlo-placeholder-button"></div>
                        </div>
                    </div>
                    <div class="arlo-placeholder-event">
                        <div class="arlo-placeholder-event-inner">
                            <div class="arlo-placeholder-event-details">
                                <div class="arlo-placeholder-date"></div>
                                <div class="arlo-placeholder-text"></div>
                                <div class="arlo-placeholder-text"></div>
                            </div>
                            <div class="arlo-placeholder-button"></div>
                        </div>
                    </div>
                    <div class="arlo-placeholder-event">
                        <div class="arlo-placeholder-event-inner">
                            <div class="arlo-placeholder-event-details">
                                <div class="arlo-placeholder-date"></div>
                                <div class="arlo-placeholder-text"></div>
                                <div class="arlo-placeholder-text"></div>
                            </div>
                            <div class="arlo-placeholder-button"></div>
                        </div>
                    </div>
                    <div class="arlo-placeholder-event">
                        <div class="arlo-placeholder-event-inner">
                            <div class="arlo-placeholder-event-details">
                                <div class="arlo-placeholder-date"></div>
                                <div class="arlo-placeholder-text"></div>
                                <div class="arlo-placeholder-text"></div>
                            </div>
                            <div class="arlo-placeholder-button"></div>
                        </div>
                    </div>
                </div>
            </div>

            <%= showEventTemplateEventsList({
                template: "#event-template",
                loadImmediately: true,
                includeLoadMoreButton: true,
                loadMoreButtonText: "Load More",
                maxCount: 4,
                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: {
                    onShow: eventTemplateOnShow
                }
            }) %>

            <div class="arlo-register-interest-container">
                <% 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>
        <div class="arlo-online-activities">
            <%= showEventTemplateOnlineActivitiesList({
                template: "#online-activities-template",
                loadImmediately: true,
                maxCount: 1,
                callbacks: {
                    onRender: loadOnlineActivities
                }
            }) %>
        </div>

        <%= ContentFields %>
    </div>
</script>

<script type='text/template' id='event-template'>
    <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">
            <% } %>

            <% 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>
            <% } %>

            <% if (Presenters.length > 0) { %>
                <div class="arlo-presenter">
                    <span class="arlo-presenterlabel arlo-text-color-normal">Presented by </span>
                    <%= formatCollection(Presenters, "csv", true) %>
                </div>
            <% } %>

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

        </div>

        <%= formatRegistrationInfo('link') %>

        <% 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>
</script>

<script type='text/template' id='online-activities-template'>
    <div class="arlo-clearfix">
        <div class="arlo-details">
            <div class="arlo-item-header">
                <%- ReferenceTerms.Singular %>
            </div>
            <div class="arlo-delivery-description">
                <%- DeliveryDescription %>
            </div>
            <div class="arlo-offers">
                <%= formatAdvertisedOffers({ showPriceWithTaxInclusive: false }) %>
            </div>
        </div>

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

<script type='text/template' id='filter-template'>
    <div class="arlo-filters-container arlo-filters">
        <div class="arlo-other-filters arlo-clearfix arlo-font-primary" id="filters">
            <%= showFilter({filterCode: "locname"}) %>
            <%= showFilter({filterCode: "onlineorvenue", displayStyle: "ul", onlineOrVenueText: {online: "Live online", venue: "At a venue"},  callbacks: { onRender: "onFilterLoad" } }) %>
            <%= showTimezoneSelector() %>
        </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>
</script>

<!-- Template: Placeholder -->
<script type='text/template' id='eventtemplate-event-placeholder-template'>
    <div class="arlo-placeholder-event">
        <div class="arlo-placeholder-event-inner">
            <div class="arlo-placeholder-event-details">
                <div class="arlo-placeholder-date"></div>
                <div class="arlo-placeholder-text"></div>
                <div class="arlo-placeholder-text"></div>
            </div>
            <div class="arlo-placeholder-button"></div>
        </div>
    </div>
</script>


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

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

.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%;
}

.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;
	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 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;
	border-radius: 30px;
	background-color: #F1F7FB;
	border: none;
}

.arlo select:hover {
	opacity: 0.7;
}

.arlo .arlo-region-selector {
	margin: 1em 0;
	text-align: center;
}

.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-filter-toggle {
	display: none;
}

.arlo[max-width~="659px"] .arlo-filters-container {
	width: 100%;
}

.arlo[max-width~="659px"] .arlo-filters-container .arlo-timezone-select {
	padding: 0 35px 0 0;
}

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

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

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

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

.arlo[max-width~="659px"] .arlo-filters-container #arlo-filter-toggle {
	display: block;
	cursor: pointer;
	background: #f1f7fb;
	border-radius: 10px;
	padding: 18px 26px;
	margin-bottom: 20px;
}

.arlo[max-width~="659px"] .arlo-filters-container #arlo-filter-toggle i {
	float: right;
	width: auto;
}

.arlo[max-width~="659px"] .arlo-filters-container #arlo-filter-toggle .arlo-filter-toggle-hide {
	display: none;
}

.arlo[max-width~="659px"] .arlo-filters-container #arlo-filter-toggle .arlo-filter-toggle-show {
	display: block;
}

.arlo[max-width~="659px"] .arlo-filters-container #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 .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: table;
}

.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 {
	border-radius: 30px;
	font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
	display: inline;
	background-color: #F1F7FB;
	border: none;
	font-size: 16px;
}

.arlo .arlo-filters input.arlo-search {
	border-radius: 30px;
	font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
	display: inline;
	background-color: #F1F7FB;
	border: none;
	font-size: 16px;
	padding: 10px 24px;
}

.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;
	font-size: 16px;
}

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

.arlo .arlo-filters .arlo-onlineOrVenueFilterList li:hover,
.arlo .arlo-filters .arlo-filter-unordered-list li:hover {
	opacity: 0.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;
	background-color: transparent;
	width: 400px;
}

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

.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 .arlo-event-list:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 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.33333%;
}

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

.arlo .arlo-page-title {
	text-align: center;
	margin-bottom: 10px;
	font-weight: 700;
	text-transform: uppercase;
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/597099/home_software_pattern.png);
	background-color: #1DC6BC;
	padding-top: 54px;
	padding-bottom: 58px;
}

.arlo .arlo-page-title > div {
	font-size: 64px;
	line-height: 1.2;
}

.arlo .arlo-page-title[max-width~="550px"] {
	font-size: 130%;
	margin-bottom: 0;
}

.arlo .arlo-page-title[min-width~="551px"][max-width~="1279px"] {
	font-size: 160%;
}

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

.arlo .arlo-main-content .arlo-summary {
	text-align: center;
	font-size: 120%;
	margin-bottom: 25px;
	line-height: 27px;
	font-weight: normal;
}

.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 .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: 44px 0 30px 0;
	clear: both;
}

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

.arlo .arlo-register-interest span,
.arlo .arlo-register-interest-container span {
	line-height: 21px;
	display: block;
	font-size: 16px;
	margin-bottom: 10px;
	padding: 14px 21px;
}

.arlo .arlo-register-private-interest {
	background: #F1F7FB;
}

.arlo .arlo-register-interest {
	background: #F1F7FB;
}

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

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

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

.arlo .arlo-no-results-found a {
	display: inline-block;
	background: #ED017B;
	padding: 11px 25px;
	border-radius: 30px;
	color: #FFF;
	text-decoration: none;
	font-size: 75%;
	margin-left: 20px;
}

.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: 10px;
}

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

.arlo .arlo-online-activities li {
	margin: 0 auto;
	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-style: italic;
	font-size: 20px;
	line-height: 25px;
	letter-spacing: 0;
	font-weight: 400;
	margin-bottom: 10px;
}

.arlo .arlo-event-listitem .arlo-event-register-info {
	float: left;
	padding: 12px 20px;
	border-radius: 30px;
	background: #EAEAEA;
	color: #636363;
	display: block;
}

.arlo .arlo-event-listitem .arlo-event-register-info p {
	margin-bottom: 0;
}

.arlo .arlo-event-listitem .arlo-event-register-info a {
	font-size: inherit !important;
}

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

.arlo .arlo-eventlistitem-inner .arlo-offers .arlo-offer-ul .arlo-discount-offer.arlo-offer-li,
.arlo .arlo-eventlistitem-inner .arlo-offers .arlo-original-price {
	color: #FFBD1F;
}

.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,
.arlo .arlo-eventlistitem-inner .arlo-offers .arlo-offer-ul .arlo-offer-li {
	padding: 0;
	margin: 0;
	list-style: none;
	padding: 2px;
	color: #1DC6BC;
	font-size: 20px;
}

.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,
.arlo .arlo-eventlistitem-inner .arlo-sessions {
	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-color: #FFBD1F;
}

.arlo .arlo-online-activities li .arlo-event-register:hover,
.arlo .arlo-eventlistitem-inner .arlo-event-register:hover {
	opacity: 0.7;
}

.arlo .arlo-online-activities li .arlo-places-remaining,
.arlo .arlo-eventlistitem-inner .arlo-places-remaining {
	font-style: italic;
	margin-left: 5px;
	color: #FFBD1F;
	font-size: 16px;
}

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

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

.arlo .arlo-online-activities .arlo-details {
	float: left;
}

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

.arlo .tooltipcontent {
	display: none;
}

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

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

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

.arlo li.arlo-session {
	color: white;
}

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

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


body {
    overflow-y: scroll;
}

.arlo {
    max-width: 1300px;
    margin: 0 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%;
}


/* Loading Placeholder */
.arlo {
	min-height: 100vh;
}

.arlo.arlo-loaded {
	min-height: auto;
}

.arlo .arlo-placeholder-filter {
    width: 100%;
    height: 40px;
    background-color: #f1f1f1;
}
  
.arlo .arlo-placeholder-events {
    margin-bottom: 10px;
}

.arlo .arlo-placeholder-event {
    float: left;
    width: 100%;
    padding: 10px;
}

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

.arlo[min-width~="768px"] .arlo-placeholder-event {
    width: 33.3333%;
}

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

.arlo .arlo-placeholder-event-inner {
    position: relative;
	height: 250px;
    padding: 20px;
    background: #f1f1f1;
}

.arlo[min-width~="500px"] .arlo-placeholder-event-inner {
	height: 300px;
}

.arlo .arlo-placeholder-date,
.arlo .arlo-placeholder-text,
.arlo .arlo-placeholder-button {
    background: #fafafa;
}

.arlo .arlo-placeholder-date {
    width: 150px;
    height: 40px;
    margin-bottom: 20px;
}

.arlo .arlo-placeholder-text {
    width: 200x;
    height: 20px;
    margin-bottom: 10px;
}

.arlo .arlo-placeholder-button {
    position: absolute;
    bottom: 20px;
    width: 100px;
    height: 40px;
}

.arlo #upcoming-events {
    display: none;
}

.arlo .arlo-template-eventlist {
    min-height: 375px;
}

.arlo .arlo-subcontrol.Filters {
    min-height: 48px;
}
.arlo .arlo-subcontrol.UpcomingEvents {
    opacity: 0;
}

.arlo .loadingContainer {
    display: none;
}

.arlo .arlo-loading-placeholder {
    margin-bottom: 45px;
}
            
          
!
            
              (function($, ElementQueries) {
    document.addEventListener("arlojscontrolsloaded", function() {
        var platformID = "websitetestdata.arlo.co"; // Change platformID to point at your own account

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

        var app = new window.ArloWebControls();

        app.start({
            platformID: platformID,
            showDevErrors: false,
            modules: [eventTemplateDemo]
        });
        window.loadedFilters = 0;
    });

    function appendRegisterInterest(eventTemplate) {
        var noResultsContainer = $(eventTemplate).find(".arlo-no-results-found");

        if (noResultsContainer.length !== 0) {
            var registerInterestLink = $(eventTemplate).find(".arlo-register-interest-link");
            if (registerInterestLink.length !== 0) {
                var registerLinkClone = registerInterestLink.clone();
                registerInterestLink.remove();
                registerLinkClone.html("Register Interest");
                noResultsContainer.append(registerLinkClone);
            }

            $(eventTemplate).find(".arlo-register-interest").hide();
        }
    }

    window.eventTemplateOnShow = function(getEventListItemElements) {
        window.loadedFilters++;
        var eventElements = getEventListItemElements();
        var listParent = eventElements.length === 0 ? $(".arlo-template-events") : $(eventElements).closest('.arlo-event-list');

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


        function afterRender() {
            ElementQueries.init();

            setListItemsHeight();

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

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

            });

            appendRegisterInterest($(listParent).closest('.arlo-eventtemplate-listitem'));
        }
			
			
        // Get height from combined 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 + 100);
        }

        // Load placeholder when page inits

        $(".arlo-loading-placeholder").hide();
        $(".UpcomingEvents").css("opacity", 1);
        $(".Filters").css("min-height", 0);
        $(".arlo-template-eventlist").css("min-height", 0);
    };

    window.loadOnlineActivities = function(getOAListItemElements) {
        var oaElements = getOAListItemElements();
        var listParent = oaElements.length === 0 ? $(".arlo-online-activities") : $(oaElements).closest('.arlo-oa-listitems');

        appendRegisterInterest($(listParent).closest('.arlo-eventtemplate-listitem'));
    };

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

    function loadPlaceholder(placeholderTemplate, placeholderTarget, maxCount) {
        var template = $(placeholderTemplate).html(),
            target = $(placeholderTarget),
            count = maxCount ? maxCount : 2;
        
        for(var i = 0; i < count; i ++) {
            target.append(template);
        }

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

Console