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 - PD Points Widget - Theme1
Documentation: https://developer.arlo.co/doc/webcontrols/eventtemplatecatalogue
-->

<!-- Target Elements -->
<div class="arlo">
  <div class="arlo-pd-points">
    <div class="arlo-clearfix">
      <div class="arlo-description">
        <h2 class="arlo-text-color-primary">Achieve your required PD points</h2>
        <h1><a href="#widget-pd-points">Professional development (PD) Points</a></h1>
      </div>
      <ul class="arlo-delivery-buttons">
        <li>
          <a href="event-index#1-templatetag=[Web_Public]">
            <div class="arlo-icon-column">
              <span class="icons8 icons8-user-groups icon-size-45"></span>
            </div>
            <div class="arlo-content">
              <h1>Public workshops</h1>
              <p class="arlo-text-color-light">Attend a public workshop running at a location near you.</p>
            </div>
          </a>
        </li>
        <li>
          <a href="event-index#1-templatetag=[Web_LiveOnline]">
            <div class="arlo-icon-column">
              <span class="icons8 icons8-headset icon-size-45"></span>
            </div>
            <div class="arlo-content">
              <h1>Live online (webinar)</h1>
              <p class="arlo-text-color-light">Attend a public session run live online and interactive over a webinar. Choose a time convenient to you.</p>
            </div>
          </a>
        </li>
        <li>
          <a href="event-index#1-templatetag=[Web_SelfpacedOnline]">
            <div class="arlo-icon-column">
              <span class="icons8 icons8-tv-show icon-size-45"></span>
            </div>
            <div class="arlo-content">
              <h1>Self-paced online</h1>
              <p class="arlo-text-color-light">Complete an eLearning module at your own pace, online, and anytime.</p>
            </div>
          </a>
        </li>
        <li>
          <a href="https://mastertestdata1.arlo.co/register-interest?t=2">
            <div class="arlo-icon-column">
              <span class="icons8 icons8-home icon-size-45"></span>
            </div>
            <div class="arlo-content">
              <h1>Private onsite</h1>
              <p class="arlo-text-color-light">Run a custom course onsite at your place and be award the associated PD points. Enquire today!</p>
            </div>
          </a>
        </li>

      </ul>
      <div id="arlo-pd-points-list"></div>
    </div>
  </div>
</div>

<!-- Templates -->
<script type='text/template' id='pd-points-list-template'>
        <div class="arlo-listitem arlo-clearfix arlo-text-color-dark">
            <div class="arlo-detail arlo-font-primary arlo-text-color-dark">
                <div class="arlo-content">

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

                    <div class="arlo-pd-points-container arlo-bg-color-primary">
                        <div class="arlo-pd-points-value"><%- PDPoints %></div>
                        PD points
  </div>

                    <p class="arlo-summary arlo-text-color-light">
                        <%- Description.Summary %>
  </p>

  </div>

                <div class="arlo-buttons">
                    <a href="<%= ViewUri %>" class="arlo-button arlo-view-all">View delivery options</a>
  </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.0/init.js" charset="utf-8" defer="defer"></script>
            
          
!
            
              html {
  box-sizing: border-box;
}

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


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

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

.arlo .arlo-pd-points .arlo-loading-overlay:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.arlo .arlo-pd-points html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

.arlo .arlo-pd-points body {
  margin: 0;
}

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

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

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

.arlo .arlo-pd-points progress {
  vertical-align: baseline;
}

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

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

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

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

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

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

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

.arlo .arlo-pd-points dfn {
  font-style: italic;
}

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

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

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

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

.arlo .arlo-pd-points sub {
  bottom: -0.25em;
}

.arlo .arlo-pd-points sup {
  top: -0.5em;
}

.arlo .arlo-pd-points img {
  border-style: none;
}

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

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

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

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

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

.arlo .arlo-pd-points button {
  overflow: visible;
}

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

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

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

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

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

.arlo .arlo-pd-points input {
  overflow: visible;
}

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

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

.arlo .arlo-pd-points [type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
  /**
     * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
     */
}

.arlo .arlo-pd-points [type="search"]::-webkit-search-cancel-button,
.arlo .arlo-pd-points [type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

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

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

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

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

.arlo .arlo-pd-points optgroup {
  font-weight: bold;
}

.arlo .arlo-pd-points textarea {
  overflow: auto;
}

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

.arlo .arlo-pd-points .arlo-bg-color-primary {
  background-color: #FF1D87;
}

.arlo .arlo-pd-points .arlo-bg-color-secondary {
  background-color: #0086E3;
}

.arlo .arlo-pd-points .arlo-bg-color-highlight {
  background-color: #0086E3;
}

.arlo .arlo-pd-points .arlo-bg-color-normal {
  background-color: #FF1D87;
}

.arlo .arlo-pd-points .arlo-bg-color-darker {
  background-color: #ff0479;
}

.arlo .arlo-pd-points .arlo-bg-color-darkest {
  background-color: #e9006d;
}

.arlo .arlo-pd-points .arlo-text-color-primary {
  color: #0086E3;
}

.arlo .arlo-pd-points .arlo-text-color-secondary {
  color: #FF1D87;
}

.arlo .arlo-pd-points .arlo-text-color-contrast {
  color: #fff;
}

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

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

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

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

.arlo .arlo-pd-points .arlo-text-color-link {
  color: #FF1D87;
}

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

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

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

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

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

.arlo .arlo-pd-points * {
  box-sizing: border-box;
}

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

.arlo .arlo-pd-points .icons8 {
  display: inline-block;
}

.arlo .arlo-pd-points .icon-size-45 {
  font-size: 45px;
}

.arlo .arlo-pd-points .arlo-next-running,
.arlo .arlo-pd-points .arlo-register-interest,
.arlo .arlo-pd-points .arlo-find-events,
.arlo .arlo-pd-points .arlo-show-more,
.arlo .arlo-pd-points .arlo-button {
  cursor: pointer;
  text-decoration: none;
  font-size: 15px;
  padding: 11px 25px;
  border-radius: 30px;
  color: white;
  font-style: normal;
  display: inline-block;
}

.arlo .arlo-pd-points .arlo-next-running:hover,
.arlo .arlo-pd-points .arlo-register-interest:hover,
.arlo .arlo-pd-points .arlo-find-events:hover,
.arlo .arlo-pd-points .arlo-show-more:hover,
.arlo .arlo-pd-points .arlo-button:hover {
  opacity: 0.7;
}

.arlo .arlo-pd-points .arlo-button-shadow,
.arlo .arlo-pd-points .arlo-find-events,
.arlo .arlo-pd-points .arlo-show-more,
.arlo .arlo-pd-points .arlo-next-running {
  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-pd-points h1 {
  font-size: 2.7em;
  margin-bottom: 0;
  margin-top: 0;
  font-weight: normal;
}

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

.arlo .arlo-pd-points h2 {
  font-size: 28px;
  margin-top: 10px;
  margin-bottom: 8px;
  font-weight: normal;
  text-transform: uppercase;
}

.arlo .arlo-pd-points h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 500;
}

.arlo .arlo-pd-points p {
  padding: 5px 0;
  font-size: 14px;
}

.arlo .arlo-pd-points a {
  color: #FF1D87;
  text-decoration: none;
}

.arlo .arlo-pd-points a:hover {
  text-decoration: none;
  color: #0086E3;
}

.arlo .arlo-pd-points .arlo-eventtemplatecatalogue-list {
  padding: 16px 16px 0;
}

.arlo .arlo-pd-points .arlo-eventtemplatecatalogue-list[max-width~="590px"] li.arlo-eventtemplatecatalogue-listitem {
  width: 100%;
}

.arlo .arlo-pd-points .arlo-eventtemplatecatalogue-list[max-width~="590px"] li.arlo-eventtemplatecatalogue-listitem .arlo-button {
  width: 100%;
}

.arlo .arlo-pd-points li.arlo-eventtemplatecatalogue-listitem[max-width~="370px"] .arlo-pd-points-container,
.arlo .arlo-pd-points .arlo-eventtemplatecatalogue-list[max-width~="855px"] .arlo-pd-points-container {
  height: auto;
  width: auto;
  bottom: 0;
  right: 0;
  font-size: 1em;
  padding: 8px 16px;
  display: inline-block;
  position: relative;
  margin-bottom: 15px;
  margin-top: 5px;
}

.arlo .arlo-pd-points li.arlo-eventtemplatecatalogue-listitem[max-width~="370px"] .arlo-pd-points-value,
.arlo .arlo-pd-points .arlo-eventtemplatecatalogue-list[max-width~="855px"] .arlo-pd-points-value {
  display: inline;
  font-size: 1.2em;
  font-weight: bold;
}

.arlo .arlo-pd-points li.arlo-eventtemplatecatalogue-listitem {
  width: 45%;
  margin-bottom: 15px;
  float: left;
  -ms-box-shadow: 0 0 8px 5px #e6e6e6;
  -o-box-shadow: 0 0 8px 5px #e6e6e6;
  box-shadow: 0 0 8px 5px #e6e6e6;
  border-radius: 5px;
  padding: 26px;
  background: white;
  position: relative;
  margin-right: 20px;
}

.arlo .arlo-pd-points li.arlo-eventtemplatecatalogue-listitem:first-child {
  margin-right: 6%;
}

.arlo .arlo-pd-points .arlo-description {
  margin-bottom: 40px;
  text-align: center;
}

.arlo .arlo-pd-points .arlo-name:hover {
  text-decoration: none;
  color: #FF1D87;
}

.arlo .arlo-pd-points .arlo-buttons {
  overflow: auto;
}

.arlo .arlo-pd-points .arlo-buttons .arlo-button,
.arlo .arlo-pd-points .arlo-buttons .arlo-register-interest {
  float: left;
  margin-right: 8px;
  margin-bottom: 7px;
}

.arlo .arlo-pd-points .arlo-buttons .arlo-view-all {
  background: #F1F7FB;
  color: #FF1D87;
}

.arlo .arlo-pd-points .arlo-pd-points-container {
  position: absolute;
  bottom: -30px;
  right: -35px;
  border-radius: 70px;
  line-height: 1;
  color: white;
  z-index: 9999;
  width: 140px;
  height: 140px;
  text-align: center;
  padding: 23px;
}

.arlo .arlo-pd-points .arlo-pd-points-container .arlo-pd-points-value {
  font-size: 4em;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons {
  overflow: auto;
  margin-bottom: 30px;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons li {
  width: 25%;
  float: left;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons[max-width~="1030px"] {
  margin-bottom: 0;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons[max-width~="1030px"] li {
  width: 50%;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons[max-width~="1030px"] li a {
  min-height: 0;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons[max-width~="590px"] li {
  width: 100%;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons a {
  display: block;
  padding: 22px;
  overflow: auto;
  margin: 1px;
  border-radius: 5px;
  line-height: 1;
  min-height: 150px;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons a:hover {
  background: #f9fcfd;
  color: #FF1D87;
  border: 1px solid #ddecf5;
  padding: 21px;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons .arlo-icon-column,
.arlo .arlo-pd-points ul.arlo-delivery-buttons .arlo-content {
  float: left;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons .arlo-icon-column {
  width: 65px;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons .arlo-content {
  float: none;
  width: auto;
  margin-left: 65px;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons h1 {
  font-size: 1.3em;
}

.arlo .arlo-pd-points ul.arlo-delivery-buttons p {
  margin-bottom: 0;
  line-height: 1.3em;
}



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 pdPointsList = {
            moduleType: "EventTemplateCatalogue",
            targetElement: "#arlo-pd-points-list",
            template: "#pd-points-list-template",
            includeLoadMoreButton: false,
            maxCount: 2,
            maxNextRunningEvents: 2, // Defaults to 1
            customUrls: {
                eventtemplate: "http://theme1.demo.arlo.co/event-template/",
                venue: "http://theme1.demo.arlo.co/venue/",
                presenter: "http://theme1.demo.arlo.co/presenter/"
            },
            filter: {
                templateID: [3,6]
            },
            callbacks: {
                onShow: pdPointsOnShow,
                onBeforeRender: pdPointsOnBeforeRender
            },
    includeArloLink: false
        };


        var app = new window.ArloWebControls();

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

        function pdPointsOnBeforeRender(eventTemplateData, $) {
            var pointsValue;
            $(eventTemplateData).each(function (index,template) {
                switch (template.attributes.TemplateID) {
                    case 3:
                        pointsValue = 40;
                        break;
                    case 6:
                        pointsValue = 20;
                        break;
                }
                template.attributes.PDPoints = pointsValue;
            });
        }

        function pdPointsOnShow(getRenderCollectionElements, $) {
            var listItems = getRenderCollectionElements();
            var listParent = $(listItems[0]).parent()[0];

            ElementQueries.init();

            function setListItemsHeight() {
                $(listParent).find(".arlo-listitem").height("auto");
                var tallestListItemHeight = 0;
                $.each($(listParent).find(".arlo-listitem"), function (index, listItem) {
                    // Get height from combining heights of list item elements (because of issue with using list items own height)
                    var height = 0;
                    height += $(listItem).find(".arlo-content").height();
                    height += $(listItem).find(".arlo-buttons").height();

                    if (height > tallestListItemHeight) {
                        tallestListItemHeight = height + 30;
                    }
                });
                $("#arlo-pd-points-list .arlo-detail").css("min-height", tallestListItemHeight);
            }

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

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

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