Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

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

            
              <!--
Arlo Web Control Demo - Event template - Theme 2
Documentation: https://developer.arlo.co/doc/webcontrols/eventtemplate
-->

<!-- 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>
	</div>

	<div class="arlo-main-content">
		<div class="arlo-text-color-normal arlo-font-primary arlo-summary">
			<%- Summary %>
		</div>

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

			<%= 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://theme2.demo.arlo.co/event-template/",
                    venue: "http://theme2.demo.arlo.co/venue/",
                    presenter: "http://theme2.demo.arlo.co/presenter/"
                },
                callbacks: {
                    onRender: loadEvents
                }
            }) %>

				<div class="arlo-no-results">
					<div class="arlo-no-results-text arlo-text-color-lightest"></div>
				</div>
				
<% if (RegisterPrivateInterestUri !== "" || RegisterInterestUri !== "") { %>
				<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 class="arlo-online-activities">
					<%= showEventTemplateOnlineActivitiesList({
                template: "#online-activities-template",
                loadImmediately: true,
                maxCount: 1
                }) %>
				</div>

				<%= ContentFields %>

	</div>
</script>

<script type='text/template' id='event-template'>
	<div class="arlo-eventlistitem-inner">
		<div class="arlo-details">
		<div class="arlo-item-header arlo-font-special arlo-text-color-darkest">
			<%= formatDate(StartDateTime, "ddd D MMMM") %>
		</div>
		
			<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>
									<% } %>

										<% 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">
													<%= formatAdvertisedOffers({freeText: "Free"}) %>
												</div>

		</div>

		<div class="arlo-registration-wrap">
			<% if (PlacesRemaining !== "") { %>
				<div class="arlo-places-remaining arlo-text-color-secondary"><%= PlacesRemaining %> Places Remaining</div>
				<% } %>

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

		<%= formatRegistrationInfo('link') %>
	</div>
	</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>

<!-- Dependencies -->
<script src="//code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" charset="utf-8"></script>

<script type="text/javascript" src="//packages.arlocdn.net/jscontrols/1.0/resources/resizesensor.js" charset="utf-8"></script>
<script type="text/javascript" src="//packages.arlocdn.net/jscontrols/1.0/resources/elementqueries.js" charset="utf-8"></script>
<script type="text/javascript" src="//connect.arlocdn.net/jscontrols/1.1/init.js" charset="utf-8" defer="defer"></script>
            
          
!
            
              html {
	box-sizing: border-box;
}

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

*,
*::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 18px;
	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;
	border-radius: 4px;
	background-color: transparent;
	color: #55595c;
	border: 2px solid #ededed;
}

.arlo a,
.arlo .arlo-filters .arlo-filter-unordered-list li, 
.arlo .arlo-show-more-container .arlo-show-more,
.arlo .arlo-online-activities li .arlo-event-register:before, 
.arlo .arlo-eventlistitem-inner .arlo-event-register:before {
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
	text-decoration: none;
}

.arlo a:active,
.arlo a:hover {
	color: #f9b420;
	text-decoration: none;
}

.arlo .arlo-bg-color-primary {
	background-color: #343f56;
}

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

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

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

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

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

.arlo .arlo-text-color-light {
	color: #5e5e5e;
}

.arlo .arlo-text-color-normal {
	color: #5e5e5e;
}

.arlo .arlo-text-color-dark {
	color: #5e5e5e;
}

.arlo .arlo-text-color-link {
	color: #343f56;
}

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

.arlo .arlo-font-special {
	font-family: "Montserrat", Arial, Tahoma, sans-serif;
}

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

.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: #f5f5f5;
	padding: 18px 26px;
	margin-bottom: 14px;
}

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

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

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

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

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

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

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

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

.arlo .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 input.arlo-search {
	border-radius: 30px;
	font-family: "Montserrat", 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: #5e5e5e;
	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: #5e5e5e;
	padding: 10px 20px;
	font-size: 16px;
}

.arlo .arlo-filters .arlo-onlineOrVenueFilterList li:hover,
.arlo .arlo-filters .arlo-filter-unordered-list li:hover,
.arlo .arlo-show-more-container .arlo-show-more:hover {
	background-color: transparent;
	color: #343f56;
	transform: scale(1.1);
}

.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: #f9b420;
	border-color: #f9b420;
}

.arlo .arlo-filters .arlo-filter-unordered-list li,
.arlo .arlo-show-more-container .arlo-show-more {
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
    font-style: normal;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    border: 2px solid #f5f5f5;
    color: #687082;
    background-color: #f5f5f5;
    margin-bottom: 8px;
    margin-right: 8px;
}

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

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

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

.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;
	background-color: #343f56;
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/597099/bg-ptrn.png);
	padding: 3em 0;
	font-weight: bold;
	box-shadow: inset 0px 2px 5px #212733;
}

.arlo .arlo-page-title > div {
	font-size: 48px;
	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 .arlo-summary {
	text-align: center;
	margin-bottom: 3em;
	line-height: 1.5;
	font-weight: normal;
}

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

.arlo .arlo-item-header,
.arlo .arlo-content-field-name {
	margin-bottom: 7px;
	color: #343f56;
	font-size: 18px;
	line-height: 25px;
	letter-spacing: 0;
	font-weight: bold;
	text-transform: uppercase;
}

.arlo .arlo-details {
	font-size: 14px;
	line-height: 21px;
	padding: 22px 30px;
}

.arlo .arlo-show-more-container {
	clear: both;
	text-align: center;
}

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

.arlo .arlo-show-more-container .arlo-show-more {
	display: inline-block;
	border-color: #687082;
	background-color: transparent;
	color: #687082;
}

.arlo .arlo-show-more-container .arlo-show-more:hover {
	background-color: #687082;
	color: white;
}

.arlo .arlo-register-interest,
.arlo .arlo-register-interest-container {
	text-align: center;
	padding: 15px 0;
}

.arlo .arlo-register-interest span,
.arlo .arlo-register-interest-container span {
	line-height: 21px;
	display: block;
	font-size: 16px;
	padding: 10px 16px;
	margin: 5px 0;
	background-color: #eaeaea;
}
.arlo .arlo-register-interest-container .arlo-text-color-link {
	color: #f1992e;
}
.arlo .arlo-register-interest-container .arlo-text-color-link:hover {
	color: #f9b420;
}
.arlo .arlo-register-interest .arlo-register-interest-link,
.arlo .arlo-register-interest-container .arlo-register-interest-link {
	display: inline-block;
}

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

.arlo .arlo-no-event-dates a {
	display: inline-block;
	background: #343f56;
	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: 1px;
}

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

.arlo .arlo-online-activities li {
	margin: 0 auto;
}

.arlo .arlo-eventlistitem-inner,
.arlo .arlo-online-activities li {
	background-color: #f5f5f5;
	margin-bottom: 12px;
	overflow: auto;
	position: relative;
}

.arlo .arlo-online-activities li .arlo-offers,
.arlo .arlo-eventlistitem-inner .arlo-offers {
	font-size: 18px;
	line-height: 25px;
	letter-spacing: 0;
	font-weight: 400;
	margin-bottom: 10px;
	color: #343f56;
}

.arlo .arlo-event-listitem .arlo-event-register-info {
	float: left;
	padding: 0 0 0 20px;
	text-transform: uppercase;
	font-weight: bold;
	color: #687082;
}

.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 {
	font-weight: bold;
	text-transform: uppercase;
	font-size: .8em;
	line-height: 1.4;
}

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

.arlo span.arlo-offer-taxrate,
.arlo span.arlo-offer-taxrate-shortname {
    font-size: 14px;
}

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

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

.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 {
	display: inline-block;
	position: absolute;
	float: right;
	right: 0;
	bottom: 0;
	padding: 10px 25px;
	color: white;
	cursor: pointer;
	font-size: 16px;
	font-style: normal;
	font-weight: bold;
	line-height: 20px;
	text-decoration: none;
	text-transform: uppercase;
}

.arlo .arlo-online-activities li .arlo-event-register:before, 
.arlo .arlo-eventlistitem-inner .arlo-event-register:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 0;
    height: 40px;
    border-top: 40px solid transparent;
    border-right: 30px solid #f1992e;
}

.arlo .arlo-online-activities li .arlo-event-register,
.arlo .arlo-eventlistitem-inner .arlo-event-register {
	background-color: #f1992e;
}

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

.arlo .arlo-online-activities li .arlo-event-register.arlo-waiting-list:before,
.arlo .arlo-eventlistitem-inner .arlo-event-register.arlo-waiting-list:before {
	border-right-color: #687082;
}

.arlo .arlo-online-activities li .arlo-event-register:hover,
.arlo .arlo-eventlistitem-inner .arlo-event-register:hover {
	background-color: #f9b420;
}

.arlo .arlo-online-activities li .arlo-event-register:hover:before,
.arlo .arlo-eventlistitem-inner .arlo-event-register:hover:before {
	border-right-color: #f9b420;
}

.arlo .arlo-online-activities li .arlo-places-remaining,
.arlo .arlo-eventlistitem-inner .arlo-places-remaining {
	display: block;
	margin-left: 5px;
	margin-bottom: 10px;
	margin-right: 25px;
	font-size: 15px;
	line-height: 1;
	text-align: right;
	text-transform: uppercase;
}

.arlo .arlo-registration-wrap  {
	overflow: auto;
	height: 68px;
}

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

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

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

.arlo .arlo-content-field-listitem {
	margin: 0 0 2em;
}

.arlo .tooltipcontent {
	display: none;
}

.arlo .tooltip {
	position: absolute;
	z-index: 1070;
	display: block;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: left;
	text-align: start;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	word-break: normal;
	word-spacing: normal;
	word-wrap: normal;
	white-space: normal;
	filter: alpha(opacity=0);
	opacity: 0;
	line-break: auto;
}

.arlo .tooltip.in {
	filter: alpha(opacity=90);
	opacity: .9;
}

.arlo .tooltip.top {
	padding: 5px 0;
	margin-top: -3px;
}

.arlo .tooltip.right {
	padding: 0 5px;
	margin-left: 3px;
}

.arlo .tooltip.bottom {
	padding: 5px 0;
	margin-top: 3px;
}

.arlo .tooltip.left {
	padding: 0 5px;
	margin-left: -3px;
}

.arlo .tooltip-inner {
	max-width: 200px;
	padding: 3px 8px;
	color: #fff;
	text-align: center;
	background-color: #000;
	border-radius: 4px;
}

.arlo .tooltip-arrow {
	position: absolute;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}

.arlo .tooltip.top .tooltip-arrow {
	bottom: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 5px 5px 0;
	border-top-color: #5e5e5e;
}

.arlo .tooltip.top-left .tooltip-arrow {
	right: 5px;
	bottom: 0;
	margin-bottom: -5px;
	border-width: 5px 5px 0;
	border-top-color: #5e5e5e;
}

.arlo .tooltip.top-right .tooltip-arrow {
	bottom: 0;
	left: 5px;
	margin-bottom: -5px;
	border-width: 5px 5px 0;
	border-top-color: #5e5e5e;
}

.arlo .tooltip.right .tooltip-arrow {
	top: 50%;
	left: 0;
	margin-top: -5px;
	border-width: 5px 5px 5px 0;
	border-right-color: #5e5e5e;
}

.arlo .tooltip.left .tooltip-arrow {
	top: 50%;
	right: 0;
	margin-top: -5px;
	border-width: 5px 0 5px 5px;
	border-left-color: #5e5e5e;
}

.arlo .tooltip.bottom .tooltip-arrow {
	top: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #5e5e5e;
}

.arlo .tooltip.bottom-left .tooltip-arrow {
	top: 0;
	right: 5px;
	margin-top: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #5e5e5e;
}

.arlo .tooltip.bottom-right .tooltip-arrow {
	top: 0;
	left: 5px;
	margin-top: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #5e5e5e;
}

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

.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: #5e5e5e;
	max-width: 250px;
}

.arlo .tooltip .tooltip-inner li {
	border-bottom: 1px solid #777777;
	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;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
}

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

            
          
!
            
              document.addEventListener("arlojscontrolsloaded", function() {
		var platformID = "websitetestdata"; // 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,
			callbacks: {
				onShow: function() {
					ElementQueries.init();
				}
			},
			filter: {
				code: "TC_11"
			}
		};

		var app = new window.ArloWebControls();

		app.start({
			"platformID": platformID,
			"showDevErrors": false,
			"modules": [eventTemplateDemo]
		});

	});

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

        // Get height from combined heights of list item elements (because of issue with using list items own height)
		function setListItemsHeight() {
			if (jQuery(".arlo").width() < 500) {
				jQuery(listParent).find(".arlo-details").height("auto");
				return;
			}
			
			jQuery(listParent).find(".arlo-event-listitem").height("auto");
			var tallestListItemHeight = 0;
			jQuery.each(jQuery(listParent).find(".arlo-event-listitem"), function(index, listItem) {
				var height = 0;
				height += jQuery(listItem).find(".arlo-item-header").height();
				height += jQuery(listItem).find(".arlo-duration").height();
				height += jQuery(listItem).find(".arlo-notice").height();
				height += jQuery(listItem).find(".arlo-location").height();
				height += jQuery(listItem).find(".arlo-presenter").height();
				height += jQuery(listItem).find(".arlo-offers").height();

				if (height > tallestListItemHeight) {
					tallestListItemHeight = height;
				}
			});
			// Set all list items to height of tallest item plus padding.
			jQuery(listParent).find(".arlo-details").height(tallestListItemHeight + 60);
		}

		setTimeout(function() {
			setListItemsHeight();
		    ElementQueries.init();
		}, 0);

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

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

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

        
        var nEvents = jQuery(listParent).find(".arlo-event-listitem").length;
        var eventTemplate = jQuery('.arlo-main-content');

        setTimeout(showRegisterInterestButton, 0);
        
        function showRegisterInterestButton() {
            
            // Show register interest button when there are no results
            if (nEvents === 0) {
                var noResultsContainer = jQuery(".arlo-no-event-dates");

                if (noResultsContainer.length !== 0) {
                    var registerInterestLink = jQuery(eventTemplate).find(".arlo-register-interest-link");

                    if (registerInterestLink.length !== 0) {
                        var registerLinkClone = registerInterestLink.clone();
                        registerLinkClone.html("Register Interest");
                        noResultsContainer.append(registerLinkClone);
                    }

                    jQuery(eventTemplate).find(".arlo-register-interest").hide();
                }
            } else {
                jQuery(eventTemplate).find(".arlo-register-interest").show();
            }

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

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

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

Console