CINXE.COM

Tips and Tools Archives - NonProfit PRO

<!DOCTYPE HTML> <!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]--> <!--[if lt IE 7 ]><html class="no-js ie6" lang="en"><![endif]--> <!--[if IE 7 ]><html class="no-js ie7" lang="en"><![endif]--> <!--[if IE 8 ]><html class="no-js ie8" lang="en"><![endif]--> <!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Tips and Tools Archives - NonProfit PRO</title> <!-- W3TC-include-css --> <!-- ///// LOAD JS & CSS, etc. ///// --> <!-- Google Tag Manager --> <script>(function(w, d, s, l, i){w[l] = w[l] || []; w[l].push({'gtm.start':new Date().getTime(), event:'gtm.js'}); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer'?'&l=' + l:''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-T4L67HW');</script> <!-- End Google Tag Manager --> <meta name='robots' content='noindex, follow' /> <!-- This site is optimized with the Yoast SEO plugin v21.5 - https://yoast.com/wordpress/plugins/seo/ --> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Tips and Tools - Archive" /> <meta property="og:url" content="https://www.nonprofitpro.com/editorial_type/tips-and-tools/" /> <meta property="og:site_name" content="NonProfit PRO" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:title" content="Tips and Tools - Archive" /> <meta name="twitter:site" content="@non_profit_pro" /> <script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://www.nonprofitpro.com/editorial_type/tips-and-tools/","url":"https://www.nonprofitpro.com/editorial_type/tips-and-tools/","name":"Tips and Tools Archives - NonProfit PRO","isPartOf":{"@id":"https://www.nonprofitpro.com/#website"},"primaryImageOfPage":{"@id":"https://www.nonprofitpro.com/editorial_type/tips-and-tools/#primaryimage"},"image":{"@id":"https://www.nonprofitpro.com/editorial_type/tips-and-tools/#primaryimage"},"thumbnailUrl":"https://www.nonprofitpro.com/wp-content/uploads/sites/8/2024/01/happy-donor-laptop-donation-scaled.jpg","breadcrumb":{"@id":"https://www.nonprofitpro.com/editorial_type/tips-and-tools/#breadcrumb"},"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https://www.nonprofitpro.com/editorial_type/tips-and-tools/#primaryimage","url":"https://www.nonprofitpro.com/wp-content/uploads/sites/8/2024/01/happy-donor-laptop-donation-scaled.jpg","contentUrl":"https://www.nonprofitpro.com/wp-content/uploads/sites/8/2024/01/happy-donor-laptop-donation-scaled.jpg","width":2560,"height":1707,"caption":"happy donor on laptop making donation with credit card computer"},{"@type":"BreadcrumbList","@id":"https://www.nonprofitpro.com/editorial_type/tips-and-tools/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.nonprofitpro.com/"},{"@type":"ListItem","position":2,"name":"Tips and Tools"}]},{"@type":"WebSite","@id":"https://www.nonprofitpro.com/#website","url":"https://www.nonprofitpro.com/","name":"NonProfit PRO","description":"Tactical Leadership &amp; Strategy for the Modern NonProfit","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://www.nonprofitpro.com/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}</script> <!-- / Yoast SEO plugin. --> <meta property="og:image" content="https://www.nonprofitpro.com/social-shares/nonprofit_pro_1200x628.png" /> <meta property="twitter:image" content="https://www.nonprofitpro.com/social-shares/nonprofit_pro_1200x628.png" /> <meta property="napcoId" content="76"> <meta property="napcoWebsiteId" content="3"> <meta property="pageType" content="_archive_page"> <meta property="pageId" content="1"> <script type="text/javascript"> /* <![CDATA[ */ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.nonprofitpro.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.4.1"}}; /*! This file is auto-generated */ !function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83e\udef1\ud83c\udffb\u200d\ud83e\udef2\ud83c\udfff","\ud83e\udef1\ud83c\udffb\u200b\ud83e\udef2\ud83c\udfff")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings); /* ]]> */ </script> <link rel='stylesheet' id='dashicons-css' href='https://network.napco.com/non-profit-pro/wp-includes/css/dashicons.min.css?ver=6.4.1' type='text/css' media='all' /> <link rel='stylesheet' id='thickbox-css' href='https://network.napco.com/non-profit-pro/wp-includes/js/thickbox/thickbox.css?ver=6.4.1' type='text/css' media='all' /> <link rel='stylesheet' id='font-napco-1-css' href='https://www.nonprofitpro.com/wp-content/themes/napco-editorial/css/bin/napco-font.css?x35551&amp;url=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DOswald%3A400%2C700&#038;swaps%5BOswald%5D=Napco_1' type='text/css' media='all' /> <link rel='stylesheet' id='font-napco-2-css' href='https://www.nonprofitpro.com/wp-content/themes/napco-editorial/css/bin/napco-font.css?x35551&amp;url=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DRoboto%3A900%2C400%2C700%2C400italic%2C900italic%2C700italic%2C500italic%2C500%2C300%2C300italic&#038;swaps%5BRoboto%5D=Napco_2' type='text/css' media='all' /> <link rel='stylesheet' id='mediaelement-css' href='https://network.napco.com/non-profit-pro/wp-includes/js/mediaelement/mediaelementplayer-legacy.min.css?ver=4.2.17' type='text/css' media='all' /> <link rel='stylesheet' id='resource-category-archive-resource-css' href='https://www.nonprofitpro.com/wp-content/themes/napco-editorial/modules/resource/css/resource.css?x35551&amp;ver=1701370946' type='text/css' media='all' /> <style id='wp-emoji-styles-inline-css' type='text/css'> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 0.07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='stylesheet' id='wp-block-library-css' href='https://network.napco.com/non-profit-pro/wp-includes/css/dist/block-library/style.min.css?ver=6.4.1' type='text/css' media='all' /> <style id='classic-theme-styles-inline-css' type='text/css'> /*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} </style> <style id='global-styles-inline-css' type='text/css'> body{--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}body .is-layout-flex{flex-wrap: wrap;align-items: center;}body .is-layout-flex > *{margin: 0;}body .is-layout-grid{display: grid;}body .is-layout-grid > *{margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} .wp-block-navigation a:where(:not(.wp-element-button)){color: inherit;} :where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;} :where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;} .wp-block-pullquote{font-size: 1.5em;line-height: 1.6;} </style> <link rel='stylesheet' id='napco-gdpr-css' href='https://www.nonprofitpro.com/wp-content/plugins/napco-wp-gdpr/assets/gdpr.css?x35551&amp;ver=6.4.1' type='text/css' media='all' /> <script type="text/javascript" id="jquery-core-js-extra"> /* <![CDATA[ */ var napco_data = {"ajaxurl":"https:\/\/www.nonprofitpro.com\/wp-admin\/admin-ajax.php"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.nonprofitpro.com/wp-includes/js/jquery/jquery.min.js?x35551&amp;ver=3.7.1" id="jquery-core-js"></script> <script type="text/javascript" src="https://www.nonprofitpro.com/wp-includes/js/jquery/jquery-migrate.min.js?x35551&amp;ver=3.4.1" id="jquery-migrate-js"></script> <script type="text/javascript" id="napco-gdpr-js-extra"> /* <![CDATA[ */ var napco_gdpr = {"ajaxurl":"https:\/\/www.nonprofitpro.com\/wp-admin\/admin-ajax.php"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.nonprofitpro.com/wp-content/plugins/napco-wp-gdpr/assets/gdpr.js?x35551&amp;ver=6.4.1" id="napco-gdpr-js"></script> <script type="text/javascript" src="https://www.nonprofitpro.com/wp-content/plugins/napco-wp-gdpr/assets/jquery.cookie.js?x35551&amp;ver=6.4.1" id="jquery-cookie-js"></script> <link rel="https://api.w.org/" href="https://www.nonprofitpro.com/wp-json/" /><!-- BEGIN wp-parsely Plugin Version 1.7 --> <meta name='wp-parsely_version' id='wp-parsely_version' content='1.7' /> <!-- parsleyPage is not defined / has no attributes. What kind of page are you loading? --> <!-- END wp-parsely Plugin Version 1.7 --> <!-- lytics tracker --> <script type="text/javascript"> !function(){"use strict";var o=window.jstag||(window.jstag={}),r=[];function n(e){o[e]=function(){for(var n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];r.push([e,t])}}n("send"),n("mock"),n("identify"),n("pageView"),n("unblock"),n("getid"),n("setid"),n("loadEntity"),n("getEntity"),n("on"),n("once"),n("call"),o.loadScript=function(n,t,i){var e=document.createElement("script");e.async=!0,e.src=n,e.onload=t,e.onerror=i;var o=document.getElementsByTagName("script")[0],r=o&&o.parentNode||document.head||document.body,c=o||r.lastChild;return null!=c?r.insertBefore(e,c):r.appendChild(e),this},o.init=function n(t){return this.config=t,this.loadScript(t.src,function(){if(o.init===n)throw new Error("Load error!");o.init(o.config),function(){for(var n=0;n<r.length;n++){var t=r[n][0],i=r[n][1];o[t].apply(o,i)}r=void 0}()}),this}}(); // Define config and initialize Lytics tracking tag. // - The setup below will disable the automatic sending of Page Analysis Information (to prevent duplicative sends, as this same information will be included in the jstag.pageView() call below, by default) jstag.init({ src: 'https://c.lytics.io/api/tag/bf5cfb723c2209601891f63b3f3257a4/latest.min.js', pageAnalysis: { dataLayerPull: { disabled: true } } }); // You may need to send a page view, depending on your use-case jstag.pageView(); </script><script>const ajax_object = {ajaxurl:"https://www.nonprofitpro.com/wp-admin/admin-ajax.php"};</script> <!-- napco theme styles (wp-content/themes/napco-editorial/css/structure) --> <style>html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,abbr, address, cite, code,del, dfn, em, img, ins, kbd, q, samp,small, strong, sub, sup, var,b, i,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, figcaption, figure,footer, header, hgroup, menu, nav, section, summary,time, mark, audio, video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section{display:block}nav ul{list-style:none}blockquote, q{quotes:none}blockquote:before, blockquote:after,q:before, q:after{content:'';content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}ins{background-color:transparent;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr[title], dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{clear:both;display:block;height:1px;border:0;border-top:1px solid #cccccc;margin:1em 0;padding:0}input, select{vertical-align:middle}.ad-pushdown-container{background:#0c3b6f}.ad-pushdown{display:block;clear:both;padding:3px 0;width:970px;margin:0 auto}.ad-pushdown a{max-width:970px;display:block;margin:0 auto}.ad-bot-banner{padding:30px 0}.ad-bot-banner a{display:block;max-width:1000px;margin:0 auto}.ad-bot-banner.top{padding-top:11px;padding-bottom:0}.ad-textstyle .widget,.ad-pushdown .widget,.ad-bot-banner .widget{width:auto;max-width:none;margin-bottom:0;text-align:center}.col-sm-12.textad{padding-left:7px;padding-right:7px}.ad-textstyle{text-align:left;/*font-size:0.75em;color:#2397db;*/ font-weight:300;padding:12px 0;border:solid 1px #bdbdbd;border-left:none;border-right:none}.ad-textstyle a{color:#2397db}.eyebrow{display:block;background:black;height:38px}.eyebrow .centerizer{padding-left:0;padding-right:0}.eyebrow .socials.top{float:left;width:25%;max-width:230px}.eyebrow .socials.top li{width:20%;text-align:center;border-left:1px solid #555}.eyebrow .socials.top li:first-child{border-left:none}.eyebrow .extra-nav{font-family:'Napco_2';font-size:0.875em;width:72%;float:right;list-style-type:none;text-align:right}.eyebrow .extra-nav .nav-item{display:inline-block;border-left:1px solid #555}.eyebrow .extra-nav a{line-height:38px;display:block;color:white;padding:0 10px 0 11px}@media (max-width:850px){.eyebrow .extra-nav a{padding:0 8px 0 9px}}@media (max-width:768px){.eyebrow .extra-nav{width:56%}.eyebrow .extra-nav .more-trigger{position:relative;display:inline-block !important;padding-right:25px}.eyebrow .extra-nav .more-trigger em{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;width:12px;height:8px;position:absolute;right:6px;top:50%;margin-top:-2px;background-position:-71px -83px}}@media only screen and (max-width:768px) and (-webkit-min-device-pixel-ratio:2){.eyebrow .extra-nav .more-trigger em{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}@media (max-width:768px){.eyebrow .extra-nav .more-wrap{position:relative}.eyebrow .extra-nav .more-menu{position:absolute;display:none;z-index:10;background:black;top:28px;right:0;width:140px;padding:10px;text-align:left;border-top:1px solid #555}.eyebrow .extra-nav .more-menu .nav-item{display:block !important;clear:both;border:0}.eyebrow .extra-nav .more-menu .nav-item a{line-height:2em}.eyebrow .extra-nav .more-wrap:hover .more-menu{display:block}.eyebrow .socials.top{width:40%}}.control-wrap.touch-sticky{position:fixed;top:0;left:0;width:100%;background:#336699;z-index:101;-webkit-transition:left 700ms ease;-moz-transition:left 700ms ease;-o-transition:left 700ms ease;transition:left 700ms ease}.pusher.active .control-wrap.touch-sticky{left:252px}.extras-holder{padding-top:20px}.ad-300 .ad-wrap{display:block;margin:0 auto;max-width:300px}.ad-300 a{display:block}.ad-300 img{display:block;width:100%;height:auto}#right-rail .napco-ad{text-align:center;border:1px #ccc solid;padding:.5em}#NAPCO-prestitial-modal-ad .widget{max-width:none}.ad-textstyle, .ad-textstyle a{color:inherit}.widget .ad img{max-width:100%;height:auto}.textad .widget.doubleclick{background:none}.widget.doubleclick{max-width:none}.widget.doubleclick div[id^="gpt_unit_"] div,.widget.doubleclick div[id^="gpt_unit_"] ins{margin:0 auto}.ad-pushdown .widget.doubleclick div[id^="gpt_unit_"] ins{line-height:0}@media (max-width:768px){.widget.doubleclick div[id^="google_ads_iframe_"], .widget.doubleclick div[id^="gpt_unit_"] div, .widget.doubleclick div[id^="gpt_unit_"] ins{width:100% !important}}.sponsor-ad{display:none}.attachment{font-family:arial, sans-serif}.attachment .image-navigation{margin:20px 0 10px 0;display:flex;justify-content:space-between}.attachment .image-navigation span{flex:1}.attachment .image-navigation .nav-previous{text-align:left}.attachment .image-navigation .nav-next{text-align:right}.attachment .image-navigation .nav-current{text-align:center}.attachment #media-gallery-image{text-align:center;margin:10px 0 2px 0}.attachment #media-gallery-image img{border:1px #aaa solid;width:auto;height:auto}.attachment .attachment-meta{text-align:right;font-size:10px}.attachment .attachment-caption{font-size:22px;font-weight:bold}.attachment .attachment-description{font-size:16px}.attachment #media-gallery-parent-post{font-size:15px;margin:26px 0 16px 0;font-weight:bold}nav.media-gallery{margin-bottom:20px}nav.media-gallery ul li{float:left;margin:0 7px 5px 0;height:100px;width:112px;text-align:center}nav.media-gallery ul li:last-child{margin-right:0}nav.media-gallery ul li.current img{display:block}nav.media-gallery ul li.current img{opacity:0.4;filter:alpha(opacity=40)}nav.media-gallery ul li:hover{background-color:#ff0}nav.media-gallery ul li img:hover{opacity:0.4;filter:alpha(opacity=40)}.contributors-container .author-listing.blog .img{border:solid 1px #c2c2c2;display:inline-block}.contributors-container .author-listing.blog .bio{font-size:0.875em;line-height:1.6}.contributors-container .author-listing.blog .bio p{padding-bottom:1em}.contributors-container .author-listing.blog .author-heading strong{font-size:1.75em;font-weight:900}.contributors-container .author-listing.blog .author-heading .page-link{font-size:0.875em;width:40%;padding-bottom:16px;margin-bottom:16px;border-bottom:solid 1px #c2c2c2}.bloggers .text{margin-bottom:16px}.bloggers .img{border:solid 1px #c2c2c2;display:inline-block}.bloggers.tertiary-blogger .h6{display:block;line-height:1.2}.bloggers .label.img-float{bottom:5px}.bloggers.main-blogger .label.img-float{bottom:20px}@media (max-width:600px){.bloggers.main-blogger .label.img-float{bottom:5px}}.bloggers.sub-blogger .job-stats{width:100%}.job-stats{padding-bottom:10px;margin-bottom:10px;border-bottom:solid 1px #c2c2c2;max-width:220px;width:80%}.blog-description p{margin-bottom:10px}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.container{width:750px}}@media (min-width:769px){.container{width:970px}}@media (min-width:901px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container-fluid:after{content:".";display:block;height:0;clear:both;visibility:hidden}.row{margin-left:-15px;margin-right:-15px}.row:after{content:".";display:block;height:0;clear:both;visibility:hidden}.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12{float:left}.col-xs-1{width:8.33333%}.col-xs-2{width:16.66667%}.col-xs-3{width:25%}.col-xs-4{width:33.33333%}.col-xs-5{width:41.66667%}.col-xs-6{width:50%}.col-xs-7{width:58.33333%}.col-xs-8{width:66.66667%}.col-xs-9{width:75%}.col-xs-10{width:83.33333%}.col-xs-11{width:91.66667%}.col-xs-12{width:100%}.col-xs-pull-0{right:0%}.col-xs-pull-1{right:8.33333%}.col-xs-pull-2{right:16.66667%}.col-xs-pull-3{right:25%}.col-xs-pull-4{right:33.33333%}.col-xs-pull-5{right:41.66667%}.col-xs-pull-6{right:50%}.col-xs-pull-7{right:58.33333%}.col-xs-pull-8{right:66.66667%}.col-xs-pull-9{right:75%}.col-xs-pull-10{right:83.33333%}.col-xs-pull-11{right:91.66667%}.col-xs-pull-12{right:100%}.col-xs-push-0{left:0%}.col-xs-push-1{left:8.33333%}.col-xs-push-2{left:16.66667%}.col-xs-push-3{left:25%}.col-xs-push-4{left:33.33333%}.col-xs-push-5{left:41.66667%}.col-xs-push-6{left:50%}.col-xs-push-7{left:58.33333%}.col-xs-push-8{left:66.66667%}.col-xs-push-9{left:75%}.col-xs-push-10{left:83.33333%}.col-xs-push-11{left:91.66667%}.col-xs-push-12{left:100%}.col-xs-offset-0{margin-left:0%}.col-xs-offset-1{margin-left:8.33333%}.col-xs-offset-2{margin-left:16.66667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333%}.col-xs-offset-5{margin-left:41.66667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333%}.col-xs-offset-8{margin-left:66.66667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333%}.col-xs-offset-11{margin-left:91.66667%}.col-xs-offset-12{margin-left:100%}@media (min-width:481px){.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12{float:left}.col-sm-1{width:8.33333%}.col-sm-2{width:16.66667%}.col-sm-3{width:25%}.col-sm-4{width:33.33333%}.col-sm-5{width:41.66667%}.col-sm-6{width:50%}.col-sm-7{width:58.33333%}.col-sm-8{width:66.66667%}.col-sm-9{width:75%}.col-sm-10{width:83.33333%}.col-sm-11{width:91.66667%}.col-sm-12{width:100%}.col-sm-pull-0{right:0%}.col-sm-pull-1{right:8.33333%}.col-sm-pull-2{right:16.66667%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.33333%}.col-sm-pull-5{right:41.66667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.33333%}.col-sm-pull-8{right:66.66667%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.33333%}.col-sm-pull-11{right:91.66667%}.col-sm-pull-12{right:100%}.col-sm-push-0{left:0%}.col-sm-push-1{left:8.33333%}.col-sm-push-2{left:16.66667%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.33333%}.col-sm-push-5{left:41.66667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.33333%}.col-sm-push-8{left:66.66667%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.33333%}.col-sm-push-11{left:91.66667%}.col-sm-push-12{left:100%}.col-sm-offset-0{margin-left:0%}.col-sm-offset-1{margin-left:8.33333%}.col-sm-offset-2{margin-left:16.66667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333%}.col-sm-offset-5{margin-left:41.66667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333%}.col-sm-offset-8{margin-left:66.66667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333%}.col-sm-offset-11{margin-left:91.66667%}.col-sm-offset-12{margin-left:100%}}@media (min-width:769px){.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12{float:left}.col-md-1{width:8.33333%}.col-md-2{width:16.66667%}.col-md-3{width:25%}.col-md-4{width:33.33333%}.col-md-5{width:41.66667%}.col-md-6{width:50%}.col-md-7{width:58.33333%}.col-md-8{width:66.66667%}.col-md-9{width:75%}.col-md-10{width:83.33333%}.col-md-11{width:91.66667%}.col-md-12{width:100%}.col-md-pull-0{right:0%}.col-md-pull-1{right:8.33333%}.col-md-pull-2{right:16.66667%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.33333%}.col-md-pull-5{right:41.66667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.33333%}.col-md-pull-8{right:66.66667%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.33333%}.col-md-pull-11{right:91.66667%}.col-md-pull-12{right:100%}.col-md-push-0{left:0%}.col-md-push-1{left:8.33333%}.col-md-push-2{left:16.66667%}.col-md-push-3{left:25%}.col-md-push-4{left:33.33333%}.col-md-push-5{left:41.66667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.33333%}.col-md-push-8{left:66.66667%}.col-md-push-9{left:75%}.col-md-push-10{left:83.33333%}.col-md-push-11{left:91.66667%}.col-md-push-12{left:100%}.col-md-offset-0{margin-left:0%}.col-md-offset-1{margin-left:8.33333%}.col-md-offset-2{margin-left:16.66667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333%}.col-md-offset-5{margin-left:41.66667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333%}.col-md-offset-8{margin-left:66.66667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333%}.col-md-offset-11{margin-left:91.66667%}.col-md-offset-12{margin-left:100%}}@media (min-width:901px){.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12{float:left}.col-lg-1{width:8.33333%}.col-lg-2{width:16.66667%}.col-lg-3{width:25%}.col-lg-4{width:33.33333%}.col-lg-5{width:41.66667%}.col-lg-6{width:50%}.col-lg-7{width:58.33333%}.col-lg-8{width:66.66667%}.col-lg-9{width:75%}.col-lg-10{width:83.33333%}.col-lg-11{width:91.66667%}.col-lg-12{width:100%}.col-lg-pull-0{right:0%}.col-lg-pull-1{right:8.33333%}.col-lg-pull-2{right:16.66667%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.33333%}.col-lg-pull-5{right:41.66667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.33333%}.col-lg-pull-8{right:66.66667%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.33333%}.col-lg-pull-11{right:91.66667%}.col-lg-pull-12{right:100%}.col-lg-push-0{left:0%}.col-lg-push-1{left:8.33333%}.col-lg-push-2{left:16.66667%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.33333%}.col-lg-push-5{left:41.66667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.33333%}.col-lg-push-8{left:66.66667%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.33333%}.col-lg-push-11{left:91.66667%}.col-lg-push-12{left:100%}.col-lg-offset-0{margin-left:0%}.col-lg-offset-1{margin-left:8.33333%}.col-lg-offset-2{margin-left:16.66667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333%}.col-lg-offset-5{margin-left:41.66667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333%}.col-lg-offset-8{margin-left:66.66667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333%}.col-lg-offset-11{margin-left:91.66667%}.col-lg-offset-12{margin-left:100%}}.video-embed{position:relative;padding-bottom:56.25%;margin-bottom:20px}.video-embed .BrightcoveExperience, .video-embed iframe, .video-embed .video-js{position:absolute;top:0;left:0;width:100%;height:100%}p > .video-js{width:100%;height:280px}@media handheld, only screen and (max-width:768px){p > .video-js{height:350px}}@media handheld, only screen and (max-width:350px){p > .video-js{height:130px}}.bucket-carousel{position:relative}.bucket-carousel .swiper-container{margin:0 30px;width:auto}.bucket-carousel.related-carousel article .text{font-size:0.875em;font-weight:normal}.bucket-carousel.webinars .swiper-container, .bucket-carousel.xc .swiper-container, .bucket-carousel.related-carousel .swiper-container{margin:0 20px}.bucket-carousel .bc-next, .bucket-carousel .bc-prev{position:absolute;width:24px;height:135px;top:0;background:#6289b2;z-index:10;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bucket-carousel .bc-next em, .bucket-carousel .bc-prev em{position:absolute;width:10px;height:20px;top:50%;margin-top:-10px}.bucket-carousel .bc-next{right:15px}.bucket-carousel .bc-next em{right:50%;margin-right:-6px;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/carousel-arrow-right-x2.png) center center no-repeat;background-size:10px 15px}.bucket-carousel .bc-prev{left:15px}.bucket-carousel .bc-prev em{left:50%;margin-left:-6px;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/carousel-arrow-left-x2.png) center center no-repeat;background-size:10px 15px}.bucket > p{font-size:0.9em;font-weight:300}.bucket-carousel.webinars .bc-next, .bucket-carousel.xc .bc-next, .bucket-carousel.related-carousel .bc-next{right:0}.bucket-carousel.webinars .bc-prev, .bucket-carousel.xc .bc-prev, .bucket-carousel.related-carousel .bc-prev{left:0}.bucket-carousel.webinars .bc-next, .bucket-carousel.webinars .bc-prev, .bucket-carousel.xc .bc-next, .bucket-carousel.xc .bc-prev, .bucket-carousel.related-carousel .bc-next, .bucket-carousel.related-carousel .bc-prev{width:18px}.bucket-carousel.webinars .bc-next em, .bucket-carousel.webinars .bc-prev em, .bucket-carousel.xc .bc-next em, .bucket-carousel.xc .bc-prev em, .bucket-carousel.related-carousel .bc-next em, .bucket-carousel.related-carousel .bc-prev em{background-size:8px 12px}.bucket-carousel .bc-next.disabled, .bucket-carousel .bc-prev.disabled{opacity:.3}@media handheld, only screen and (max-width:480px){.bucket-carousel .bc-prev, .bucket-carousel .bc-next{display:none}.bucket-carousel .swiper-slide.col-sm-4{width:275px !important}}@media handheld, only screen and (max-width:400px){.bucket-carousel .swiper-slide.col-sm-4{width:200px !important}}.bgcolor.alt .post-title a{color:#fff}.bucket-carousel-top-row{margin-bottom:20px}.bucket-carousel-top-row .inner{padding:0 25px 0 15px}.bucket-carousel-top-row .logo{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/xchange-logo-x2.png) no-repeat;background-size:226px 33px;width:226px;height:33px;margin-right:20px}.bucket-carousel-top-row .text{color:#fff;font-family:'Napco_1';font-size:0.9375em;line-height:1;height:15px;padding:9px 0}@media handheld, only screen and (max-width:1100px){.bucket-carousel-top-row .button-holder{margin-top:20px}}.comment-bubble-container{margin-bottom:5px}.comment-bubble-container .com-count{background:#336699;font-size:0.75em;color:white;font-weight:bold;padding:0 7px;line-height:21px;height:21px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-khtml-border-radius:4px;margin-right:5px;position:relative}.comment-bubble-container .com-count:after{display:block;content:"";height:7px;width:100%;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/bubble-bottom_x2.png) right bottom no-repeat;background-size:10px 7px;position:absolute;right:4px;top:21px}.comment-bubble-container .com-count a{color:white}.comment-bubble-container .com-label{font-weight:bold}.button.blue{display:inline-block;background:#2397db;color:#fff;font-family:'Napco_1';font-size:1em;font-weight:bold;text-transform:none;padding:2px 7px;text-decoration:none;border-width:0}.more-button-holder{text-align:center;position:relative}.more-button-holder .more.button{display:inline-block;background:#2397db;color:#fff;font-family:'Napco_1';font-size:0.8125em;font-weight:bold;text-transform:uppercase;padding:0px 22px;text-decoration:none;margin:0 auto;height:28px;line-height:28px;border:none;cursor:pointer}.more-button-holder .more.button[disabled='disabled']{cursor:default;opacity:.3}.more-button-holder .more.button.full-width{display:block;text-align:center;width:100%}.more-button-holder .more.button:after{display:block;content:"";height:16px;width:100%;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/show-more-arrow-down.png) center bottom no-repeat;background-size:44px 16px;position:absolute;top:28px;left:0}.more-button-holder .more.button.expanded:after{background:none}.more-button-holder .more.button.expanded{margin-top:20px}.more-button-holder .more.button.expanded:before{display:block;content:"";height:16px;width:100%;background:none;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/show-more-arrow-up.png) center bottom no-repeat;background-size:44px 16px;position:absolute;left:0;top:-16px}.more-button-holder .contributor-up-arrow.button:before{display:block;content:"";height:16px;width:100%;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/less.png) center bottom no-repeat;background-size:44px 16px;position:absolute;left:0;top:-15px}.more-button-holder .contributor-up-arrow.button:after{display:none}select.styled{height:35px}.select-wrap{display:block;clear:both;position:relative}.select-wrap select{max-width:300px}.customSelect{background-color:#fff;background-image:url("../images/bg_select.png");background-repeat:no-repeat;background-position:right center;border:1px solid #000;height:35px;width:100%}@media only screen and (-webkit-min-device-pixel-ratio:2){.customSelect{background-image:url("../images/bg_select_2x.png") !important;-webkit-background-size:500px 34px;background-size:500px 34px}}.customSelect.customSelectHover{}.customSelect.customSelectOpen{}.customSelect.customSelectFocus{}.customSelect.customSelectDisabledOption{}.customSelect.customSelectDisabled{}.customSelectInner{color:#959595;line-height:35px;padding:0 5px;width:100% !important}#social-floater .widget,.main #social-floater .napco-ad{border-width:0;background-color:transparent;padding:0;margin-bottom:0}.essential-resources{margin-top:50px;text-transform:none !important;text-align:left}.essential-resources,.widget.doubleclick div[id^="gpt_unit_"] div.essential-resources{margin-top:24px}.essential-resources .disclosure{color:#ccc;text-transform:uppercase;text-align:center;width:100%;font-size:.6em}.essential-resources .h2{background-color:#c91b26;color:white;font-size:1.2em;text-align:center;margin-bottom:10px;text-transform:uppercase;padding:5px}.essential-resources .headline{text-transform:capitalize}.essential-resources .button{background-color:#ffd92a;float:right;margin-top:10px;padding:0 10px;font-weight:600}.widget.doubleclick div[id^="gpt_unit_"] div @media (max-width:900px){.essential-resources{margin-bottom:45px !important}.essential-resources .button{margin-top:25px}}.footer{position:relative;z-index:100}.footer.bgcolor1{background:#0c3b6f}.footer.bgcolor2{background:#336699}footer .top-level{display:block;clear:both;padding:20px}footer .logo{float:left;max-width:215px;width:20%}footer .socials.bot{float:left;width:40%;margin-top:4px}footer .socials.bot li{margin-left:6%}footer ul.socials li{display:block;margin-bottom:10px}footer ul.socials li a{display:block;height:26px;line-height:26px}footer ul.socials img{width:26px;height:26px;display:inline-block;margin-right:10px}footer .footer-toggle{float:right;color:white;font-family:'Napco_1';padding-right:30px;position:relative;font-weight:700;font-size:1.125em;margin-top:8px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}footer .footer-toggle em{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;width:24px;height:24px;position:absolute;right:0px;top:50%;margin-top:-12px}@media only screen and (-webkit-min-device-pixel-ratio:2){footer .footer-toggle em{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}footer .footer-toggle.collapsed em{background-position:-28px -158px}footer .footer-toggle.expanded em{background-position:0px -158px}footer .bot-level{display:none;color:white;clear:both;position:relative}footer .bot-level .v-line{width:1px;background:#404040;left:50%;top:0;height:100%;position:absolute}footer .bot-level .col a{color:white;font-family:"Napco_2";font-weight:normal;font-size:1em}footer .bot-level .col a:hover{color:#2397db;text-decoration:none}footer .bot-level .col{float:left;width:32%}footer .bot-level .group{margin-bottom:10px}footer .bot-level .title{font-family:"Napco_1";font-size:1.125em;font-weight:bold}footer .bot-level .col-head{display:block;text-align:center;padding:15px 0;font-weight:700;font-size:0.875em;text-transform:uppercase;border-top:1px solid #404040;border-bottom:1px solid #404040}footer .bot-level .col-head strong{display:block;clear:both}footer .bot-level .bot-select{display:none;clear:both;width:250px;margin:0 auto;margin-top:15px;margin-bottom:15px}footer .bot-level .link-list{list-style-type:none;-webkit-column-count:2;-webkit-column-gap:10px;-moz-column-count:2;-moz-column-gap:10px;column-count:2;column-gap:10px}footer .bot-level .link-list li{display:block;margin-bottom:10px}footer .bot-level .link-list a{font-size:1.25em;font-weight:700}footer .bot-level .link-block{float:left;width:45%;margin-right:5%;margin-bottom:20px;font-size:1.125em}footer .bot-level .link-block:last-child{margin-right:0}footer .bot-level .link-block strong{display:block;text-transform:uppercase;font-family:'Napco_1'}footer .bot-level .link-block a{display:block;clear:both}footer .col{float:left;width:20%;padding-left:2%}footer .col a{color:white;display:block;clear:left}footer .col-1 a{font-size:1.25em;font-family:'Napco_1', sans-serif;font-weight:bold;line-height:1.5}.below-footer{padding:20px;display:block;clear:both;color:white}.below-footer a{color:#fff}.below-footer .logo{float:left;width:20%;max-width:225px}.below-footer .logo a{display:block}.below-footer .logo img{display:block;width:100%;height:auto}.below-footer .copy{margin-top:5px;float:right;text-align:right;margin-left:2%;width:76%;font-size:0.8125em}.below-footer .copy span, .below-footer .copy address{display:inline}.below-footer .copy .credits{padding-right:10px}.below-footer .copy address{font-style:normal}footer nav li{list-style-type:none;padding:0}.from-partners .inner-pad{padding-top:15px;display:block}.from-partners.resources .inner-pad{padding:15px}.from-partners.resources .inner-pad .post-preview{padding-left:0;padding-right:0}.from-partners.resources .inner-pad article.post-preview{border-top:solid #ccc 1px}.from-partners.resources .inner-pad .post-preview:first-child{border-top:none}.from-partners .post-preview{padding:10px 0px}.from-partners .post-preview:first-child{border-top:none}.from-partners .post-thumb-half{width:auto;max-width:120px}.from-partners time{font-size:.875em;margin-bottom:5px}@charset "UTF-8";.red, .red a{color:#2397db}.lightgray, .lightgray a{color:darkgray}.gray, .gray a{color:#666666}.charcoal, .charcoal a{color:#333333}.black, .black a{color:black}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}::-moz-selection{background:#eee;color:black;text-shadow:none}::selection{background:#eee;color:black;text-shadow:none}a{cursor:pointer;text-decoration:none;color:black}a:hover{text-decoration:underline}a:active{outline:none}a:focus{outline:none}textarea{resize:none}html.touch select:focus{font-size:0.0625em !important}button::-moz-focus-inner,input[type="reset"]::-moz-focus-inner,input[type="button"]::-moz-focus-inner,input[type="submit"]::-moz-focus-inner,input[type="file"] > input[type="button"]::-moz-focus-inner{border:none}::-webkit-input-placeholder{color:#999}input:-moz-placeholder{color:#999}input[type="text"], input[type="email"], input[type="tel"], input[type="submit"], textarea{-webkit-appearance:none;border-radius:0}select.styled{height:35px}fieldset{display:block}img{max-width:100%;height:auto;vertical-align:middle}.img img{width:100%}figure{display:block;clear:both}figure a{display:block;position:relative;margin-bottom:5px}figure a img{display:block;width:100%;height:auto}figure figcaption{font-size:1.25em;padding:3px 0 6px 0;font-weight:700}.expand{position:absolute;bottom:0;right:0;width:28px;height:28px;background:#2397db}.expand:after{content:'';position:absolute;width:14px;height:14px;top:50%;left:50%;margin-top:-7px;margin-left:-7px;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/icn-arrow-expand-x2.png) center center no-repeat;background-size:14px}.socials{list-style-type:none}.socials .social-btn{float:left}.socials .social-btn a{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;height:38px;display:inline-block !important}@media only screen and (-webkit-min-device-pixel-ratio:2){.socials .social-btn a{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.socials .social-btn.fb a{width:8px;background-position:-12px 0}.socials .social-btn.fb a:hover{background-position:-12px -42px}.socials .social-btn.twtr a{width:17px;background-position:-51px 0}.socials .social-btn.twtr a:hover{background-position:-51px -42px}.socials .social-btn.pin a{width:17px;background-position:-101px 0}.socials .social-btn.pin a:hover{background-position:-101px -42px}.socials .social-btn.lin a{width:18px;background-position:-147px 0}.socials .social-btn.lin a:hover{background-position:-147px -42px}.socials .social-btn.gplus a{width:17px;background-position:-194px 0}.socials .social-btn.gplus a:hover{background-position:-194px -42px}.white-line{background:white;border:0;height:1px solid;margin:0;display:block;clear:both}.gray-line{margin:0;padding-top:0;padding-bottom:0;height:1px;display:block;clear:both;background:#d2d2d2}.thick-line{border:0;display:block;clear:both;height:4px;background:#eee;margin:1em 0}.line-pad{padding:0;height:1px;display:block;clear:both;background:#ebebeb;margin:30px 0}.double-line{display:block;clear:both;background:white;height:6px;border-top:3px solid #ebebeb;border-bottom:1px solid #ebebeb;margin:30px 0}.post-more{color:#2397db;font-weight:700;white-space:nowrap}.more-link{text-align:right}.narrow-more{color:#333 !important;font-family:'Napco_1';font-weight:700}.sticker{background:black;color:white;position:absolute;top:-4px;left:-4px;padding:4px 8px;text-transform:uppercase;font-size:0.875em;font-weight:700;z-index:100;font-family:'Napco_1'}.sticker a{color:white;text-decoration:none}.sticker.new{background:#2397db;color:white;padding:4px 10px}time{display:block;font-size:0.75em}.btn-block-red{background:#2397db;color:white;text-transform:uppercase;border:0;font-size:1em;font-weight:700;font-family:'Napco_1';cursor:pointer}.btn-block-red:hover{background:#d22029;text-decoration:none}.no-pad.u{padding-top:0 !important}.no-pad.d{padding-bottom:0 !important}.no-pad.l{padding-left:0 !important}.no-pad.r{padding-right:0 !important}.no-margin.u{margin-top:0 !important}.no-margin.d{margin-bottom:0 !important}.no-margin.l{margin-left:0 !important}.no-margin.r{margin-right:0 !important}.job-list .job{border-top:1px solid #e3e3e3;padding:15px 0}.job-list .job span{display:block;clear:both}.job-list .job .location{font-size:.875em}.job-list .job:first-child{border-top:none;padding-top:0}.job-list .job:last-child{padding-bottom:0}.bucket .post-thumb-full{display:block;clear:both;margin-bottom:15px}.bucket .post-thumb-full.with-label{position:relative}.bucket .post-thumb-full .label{background:#2397db;color:#fff;font-family:'Napco_1';font-size:0.875em;font-weight:bold;text-transform:none;float:left;padding:6px 7px;position:absolute;top:7px;-webkit-box-shadow:4px 4px 15px 0px rgba(0, 0, 0, 0.37);-moz-box-shadow:4px 4px 15px 0px rgba(0, 0, 0, 0.37);box-shadow:4px 4px 15px 0px rgba(0, 0, 0, 0.37);min-width:50px;text-align:center}.bucket .post-title{display:block;clear:both;margin-bottom:15px;line-height:1.2em;font-size:1.25em;font-weight:900}.author-feature .post-thumb-half{margin-top:5px}.author-feature small{text-transform:uppercase;font-family:'Napco_2 Condensed';font-size:.875em;font-weight:700}.author-feature .h4{padding-bottom:10px}.home-post-preview{display:block}.home-post-preview .double-line{margin:40px 0 30px 0}.section-head{margin-left:-6px;margin-bottom:-28px}.section-head.empty-section-head{margin-top:16px}.home-page hr{margin-bottom:40px}a.padded-anchor{display:block;position:relative;top:-65px;visibility:hidden}article:first-child .label.sponsored-content,.label.sponsored-content{padding:0 0 4px 0;text-transform:uppercase}.disclaimer{font-size:10px;font-weight:normal;margin-top:10px;line-height:1.4}.use-touch-sticky header .top-layer .logo{float:left}::-webkit-scrollbar{width:12px}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3);border-radius:10px}::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.5)}/*Global gravity form styles for gravity forms*/ /* Created on:Apr 30, 2015, 11:26:31 AM Author:NAPCO*/ .post-body ul.gform_fields li{background:none;padding-left:0}.gf_error{font-style:italic;color:red}.gf_notice{color:green}.newsletter.no-mag select{color:#aaa}.newsletter.no-mag select option{color:#000}.post-body ul.gform_fields li .gfield_label{float:left;width:200px}.post-body ul.gform_fields li .ginput_container:after{content:'';display:block;clear:both}.post-body .gform_wrapper ul li.gfield{clear:both;padding:0.5em 0.5em;margin:0}/*.post-body .gform_wrapper ul li.gfield:nth-child(odd){background-color:#efefef}.post-body .gform_wrapper ul li.gfield.gfield_error:nth-child(odd){background-color:#ffdfe0}*/ ul.gform_fields input, .gform_wrapper select{border-radius:4px;border:1px solid #666;border-width:1px;font-size:1em}ul.gform_fields input.small, ul.gform_fields input.medium, ul.gform_fields input.large{font-size:1em}.post .main .gform_footer{text-align:right}.gform_footer.left_label{text-align:right}.gform_footer input[type="submit"]{padding:0.4em 2.7em;border-width:0;font-weight:bold;font-family:Napco_1}.gform_wrapper .left_label label.gfield_label{font-weight:normal}.gform_heading .gform_description{font-size:1.4em;font-weight:900 !important}.gform_prompt{margin:1em 0;font-weight:900;font-size:1.4em}.ginput_container.default_newsletter_container,.ginput_container.newsletter_checkbox{border:1px #666 solid;border-radius:4px;background-color:#eff8ff;padding:1.7em;margin-top:10px}.ginput_container.default_newsletter_container{padding:1em}.gform_wrapper select{height:30px;background-color:#fff}.ginput_container.default_newsletter_container label,.ginput_container.newsletter_checkbox label{font-weight:bold}.gform_wrapper select option{font-size:14px}.gform_fileupload_multifile{float:left}img.gform_ajax_spinner{display:none}.signup-all .gform_confirmation_message{padding:8px}.hide-label label.gfield_label{display:none!important}@media (max-width:768px){.gform_wrapper .left_label input.medium{width:100% !important}}@media (max-width:641px){.gform_wrapper .ginput_container.default_newsletter_container span{display:inline !important}}@media (max-width:510px){.post-body ul.gform_fields li .gfield_label{width:100% !important;float:none !important}.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium .gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium{width:100% !important}}html.no-touch header .bot-layer.no-touch-sticky{position:fixed;top:-65px;left:0;width:100%;height:60px;z-index:102;background:#336699;-webkit-box-shadow:0 1px 1px 1px rgba(0, 0, 0, 0.4);box-shadow:0 1px 1px 1px rgba(0, 0, 0, 0.15)}html.no-touch header .bot-layer.no-touch-sticky .sticky-wrap{max-width:1200px;display:block;clear:both;margin:0 auto}html.no-touch header .bot-layer.no-touch-sticky.staged{-webkit-transition:top 500ms ease;-moz-transition:top 500ms ease;-o-transition:top 500ms ease;transition:top 500ms ease;top:0}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view{width:58%;display:none}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view .main-menu > li > .sub-menu{top:58px}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view .main-menu > li > a{height:59px;line-height:59px}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view .sponsor{height:60px;display:none}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view .item-1{width:14%}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view .item-2{width:14%}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view .item-3{width:17%}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view .item-4{width:14%}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view .item-5{width:14%}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view .item-6{width:19%}html.no-touch header .bot-layer.no-touch-sticky.staged .sticky-logo{width:15%}html.no-touch header .bot-layer.no-touch-sticky.staged .sticky-logo a{margin-top:12px}html.no-touch header .bot-layer.no-touch-sticky.staged nav.no-touch-view{width:80%;display:block}html.no-touch header .bot-layer.no-touch-sticky.staged nav.no-touch-view .item-1{width:12%}html.no-touch header .bot-layer.no-touch-sticky.staged nav.no-touch-view .item-2{width:12%}html.no-touch header .bot-layer.no-touch-sticky.staged nav.no-touch-view .item-3{width:14%}html.no-touch header .bot-layer.no-touch-sticky.staged nav.no-touch-view .item-4{width:12%}html.no-touch header .bot-layer.no-touch-sticky.staged nav.no-touch-view .item-5{width:12%}html.no-touch header .bot-layer.no-touch-sticky.staged nav.no-touch-view .item-6{width:15%}html.no-touch header .bot-layer.no-touch-sticky.staged nav.no-touch-view .item-7{width:22%}html.no-touch header .bot-layer.no-touch-sticky.staged nav.no-touch-view .img a{line-height:54px}html.no-touch header .bot-layer.no-touch-sticky .search-bar .mag{margin-top:20px}html.no-touch header .bot-layer.no-touch-sticky .sticky-logo{width:22%;float:left;display:block;padding-top:7px;height:60px;position:relative}html.no-touch header .bot-layer.no-touch-sticky .sticky-logo a{width:85%;display:block;margin:0 auto}html.no-touch header .bot-layer.no-touch-sticky .sticky-logo a img{display:block;width:100%;height:auto}.sm-display{display:none !important}header{display:block;clear:both}header .top-layer{display:block;padding:37px 15px}header .top-layer .logo{float:left;width:50%;max-width:500px}header .top-layer .logo a{display:block;clear:both}header .top-layer .logo a img{display:block;width:100%;height:auto;max-width:352px}header .top-layer .logo small{font-family:'Napco_1';font-weight:400;display:block;text-align:left;font-size:0.9375em;color:white}@media (max-width:1120px){header .top-layer .logo small{}}@media (max-width:1025px){header .top-layer .logo small{}html.touch header .top-layer .logo small{display:none}header .top-layer .logo{float:left}header .top-layer .logo a img{max-width:150px}}@media (max-width:920px){header .top-layer .logo small{letter-spacing:.075em}}@media (max-width:800px){header .top-layer .logo small{letter-spacing:.04em}}header .top-layer .ad-top-banner{float:right;width:68%;max-width:728px}header .top-layer .ad-top-banner a{display:block}header .top-layer .ad-top-banner a img{display:block;width:100%;height:auto}header .top-layer .socials-container{width:40%;float:right;text-align:right;margin-top:27px}header .top-layer .socials-container img{display:block;width:100%}header .top-layer .socials-container .soc-top-row{margin-bottom:10px}header .top-layer .socials-container .soc-top-row .icn-email{width:24px;display:inline-block;height:17px;padding-top:3px}header .top-layer .socials-container .soc-top-row a{color:white;font-family:'Napco_2';text-transform:uppercase;font-size:0.875em;font-weight:bold;display:block;height:17px;line-height:17px}header .top-layer .socials-container .soc-bot-row{height:26px}header .top-layer .socials-container .soc-bot-row a{display:inline-block;width:26px;margin:0 3px}.search-bar input[type="text"]{margin:6px 43px 0 0;font-family:'Napco_2';font-size:0.875em;line-height:34px;border:0;float:right;width:70%;padding:0 10px;line-height:28px;height:28px}.search-bar.desktop input[type="text"]{font-family:'Napco_2';font-size:0.875em;line-height:34px;border:0;margin:0;padding:0 10px;color:#000;line-height:28px;width:150px;background:#fff;text-align:right;height:28px}.search-bar input[type="text"]:focus{outline:none}.search-bar .mag{cursor:pointer;position:absolute;border:0;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/icn-mag-x2.png) center center no-repeat;background-size:18px 18px;width:28px;height:28px;top:50%;margin-top:-11px;right:15px;display:block;text-indent:-9999em}.search-bar.desktop .mag{cursor:pointer;border:0;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/icn-mag-x2.png) center center no-repeat;background-size:18px 18px;margin-top:7px;right:0;position:relative;text-indent:-9999em}.search-bar .search-outer{box-shadow:0 6px 7px 0 rgba(50, 50, 50, 0.37);position:absolute;margin-top:28px;margin-left:-125px;padding:5px;display:none;background:#2d2d2d;z-index:-1}.staged .search-bar .search-outer{margin-top:35px}.search-bar.mobile, .trigger-main-nav{display:none}@media (max-width:768px){header .search-bar.desktop{display:none}}header .search-bar{float:right}@media (max-width:768px){.centerizer.header{padding:0}header .top-layer{padding:0}header .top-layer .trigger-main-nav{width:8%;max-width:60px;height:60px;float:left;border:0;background:none;position:relative;border-right:1px solid black;border-bottom:none;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block}header .top-layer .trigger-main-nav:focus{outline:none}header .top-layer .trigger-main-nav span{position:absolute;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;background-position:0 -190px;width:35px;height:24px;top:50%;margin-top:-12px;left:50%;margin-left:-17px;background-position:-39px -190px}}@media only screen and (max-width:768px) and (-webkit-min-device-pixel-ratio:2){header .top-layer .trigger-main-nav span{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}@media (max-width:768px){header .top-layer .trigger-main-nav.active{background:#2496dc}header .top-layer .trigger-main-nav.active span{position:absolute;/*@include sprite;background-position:-39px -190px;*/ width:35px;height:24px;top:50%;margin-top:-12px;left:50%;margin-left:-17px}header .top-layer .logo{height:60px;border-bottom:none;max-width:none;width:67%;padding:8px}header .top-layer .logo a{float:left;max-width:220px;width:50%}header .top-layer .logo small{float:left;width:46%;padding-top:0px;padding-left:8px;letter-spacing:0;line-height:1.2}header .top-layer .ad-top-banner{float:none;display:block;clear:both;width:100%;margin:0 auto;padding:10px}header .search-bar.mobile{width:25%;border-bottom:none;border-left:1px solid black;height:60px;padding-top:10px;display:block}}header .bot-layer{display:block;clear:both;/*border-top:1px solid #555;border-bottom:1px solid #555;*/ position:relative;z-index:101;background:#336799}header .bot-layer .sticky-logo{display:none}html.touch .centerizer.header{padding:0}html.touch header .bot-layer{border-bottom:none;border-top:none}html.touch header .search-bar.desktop{display:none}html.touch header .control-wrap{display:block;clear:both;border-bottom:1px solid black}html.touch header .control-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}html.touch header .top-layer{padding:0}html.touch header .top-layer .trigger-main-nav{width:8%;max-width:60px;height:60px;float:left;border:0;background:none;position:relative;border-right:1px solid black;border-bottom:none;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block}html.touch header .top-layer .trigger-main-nav:focus{outline:none}html.touch header .top-layer .trigger-main-nav span{position:absolute;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;background-position:0 -190px;width:35px;height:24px;top:50%;margin-top:-12px;left:50%;margin-left:-17px}@media screen and (orientation:landscape){.search-bar .mag{background:none !important}}@media only screen and (-webkit-min-device-pixel-ratio:2){html.touch header .top-layer .trigger-main-nav span{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}html.touch header .top-layer .trigger-main-nav.active{background:#414141}html.touch header .top-layer .trigger-main-nav.active span{position:absolute;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;background-position:-39px -190px;width:35px;height:24px;top:50%;margin-top:-12px;left:50%;margin-left:-17px}@media only screen and (-webkit-min-device-pixel-ratio:2){html.touch header .top-layer .trigger-main-nav.active span{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}html.touch header .top-layer .logo{height:60px;border-bottom:none;max-width:none;width:67%;padding:8px}html.touch header .top-layer .logo a{float:left;max-width:220px;width:50%}html.touch header .top-layer .logo small{float:left;width:50%;padding-top:14px}html.touch header .top-layer .ad-top-banner{float:none;display:block;clear:both;width:100%;margin:0 auto;padding:10px}html.touch header .search-bar.mobile{width:25%;border-bottom:none;border-left:1px solid black;height:60px;padding-top:10px;display:block}html.touch .toggle-search{display:none}body{-webkit-text-size-adjust:none}.section-head{display:block;clear:both;position:relative;margin-bottom:-27px;z-index:100;float:left;background:#2397db;margin-left:-5px}.section-head.no-protrude{margin-bottom:0px;margin-left:0;float:none;display:inline-block}.section-head.no-border{border-bottom:none;margin-bottom:10px}.section-head.small-push{margin-bottom:3px}.section-head .h2{display:block;color:white;font-weight:bold;font-family:"Napco_1", sans-serif;font-size:1.125em;padding:7px 10px;text-transform:uppercase}.section-head a{right:0;bottom:6px;font-weight:700;color:#7a7a7a}.section-head .gray{font-size:0.5625em;color:#666666;font-weight:300}.rss-2 .widget{background:none repeat scroll 0 0 #ebebeb;margin-top:10px}.rss-2 .widget ul{list-style:outside none none;padding:10px}.rss-2 .clearfix li{margin-top:15px;padding-left:8px}.section-head-and-link .link-holder{height:34px;line-height:34px}.content-wrapper{display:block}.main, aside{padding-top:20px}.main:after, aside:after{content:".";display:block;height:0;clear:both;visibility:hidden}.no-line .main, .no-line aside{padding-top:0px}.row.bgcolor{background:#e5e5e5;color:#000;margin-left:0;margin-right:0;padding-top:13px;padding-left:0;padding-bottom:20px}.row.bgcolor .col-sm-7.col-block{padding-left:15px}.row.bgcolor .col-sm-5.col-block{padding-right:20px}.row.bgcolor.alt{background:#142739;color:#fff}.row.bgcolor.alt2, .rail-container .widget .row.bgcolor.alt2{background:#336699;color:#fff}.row.bgcolor figure{margin-left:-15px;margin-top:5px}.row.bgcolor figcaption{padding-left:15px}.col-sm-6.bgcolor, div.bgcolor{background:#e5e5e5}.rail-carousel.bgcolor{background:#e5e5e5}.sponsor-bar .data{width:66%}.sponsor-bar .logo{margin-bottom:10px}.body-main ol{padding-left:25px}.body-main ol li{margin-bottom:10px;font-size:1em;font-weight:300;line-height:1.4}#issue-single-cover{float:right;margin:0 0 1em 1em}#issue-single-cover img{max-width:200px}#issue-all-issues{text-align:center;font-weight:bold;font-size:1.2em}.magazine-issue .section-head{float:none;display:inline-block}.issues-archive .button-holder{float:right}.issues-archive .pagination.clearfix{clear:none;float:left}.large-feed{display:block;clear:both}.large-feed .start-feed{display:block}.large-feed article{display:block;clear:both;padding:1.1em 0}.large-feed article:after{content:".";display:block;height:0;clear:both;visibility:hidden}.large-feed article .thumb{float:left;width:35%;display:block}.large-feed article .thumb img{display:block;width:100%;height:auto}.large-feed article .text-wrap{float:right;width:62%}.large-feed article .h4{line-height:1.2em;display:block;margin-bottom:.5em}.large-feed article p{line-height:1.4em}.large-feed article.no-thumb .text-wrap{width:100%}@media (max-width:480px){.large-feed article{margin-bottom:1em}.large-feed article .thumb, .large-feed article .text-wrap{display:block;clear:both;width:auto;float:none}.large-feed article .thumb{margin-bottom:1em}}.insert-more{display:block;clear:both;background:#2397db;position:relative;color:white;text-align:center;font-family:'Napco_1';font-size:1.5em;font-weight:700;padding:8px 0;margin:1.5em 0}.insert-more:hover{text-decoration:none;background:#dd1c20}.insert-more:before, .insert-more:after{content:'';width:24px;height:24px;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;background-position:-28px -158px;display:block;top:50%;margin-top:-12px;position:absolute}@media only screen and (-webkit-min-device-pixel-ratio:2){.insert-more:before, .insert-more:after{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.insert-more:before{left:15px}.insert-more:after{right:15px}.list-filters .label{font-size:1em;font-weight:900;display:inline;padding:0;height:18px;line-height:18px;text-transform:none;margin-right:10px;margin-top:4px}.list-filters .filter-row{margin-bottom:10px}.list-filters .filter-row:last-child{margin-bottom:6px}.list-filters .filter-row .pull-left{width:50%}.list-filters .filter-row .pull-left .label{width:60px;display:inline-block}.list-filters .filter-row.sort{border-top:1px #ccc solid;padding-top:8px}.list-filters input[type=submit]{border-width:0;background-color:#6289b1;color:#fff;font-weight:bold;font-size:1em;width:100px;text-transform:uppercase}.list-filters #search_terms{padding:0 5px;border:1px solid #aaa;cursor:text;width:250px;height:25px;color:#999}.lytics-widget-image-1 .pf-widget-text{}.lytics-widget-image-1 .pf-widget-img{width:auto !important;height:auto !important;position:static !important;top:0 !important;margin:0 !important;padding:0 !important;border-radius:0 !important;display:none !important}.lytics-widget-image-1 .pf-widget-content{padding:0 !important;width:auto !important;border:3px #fff solid !important;background-color:#C70F1E !important}.lytics-widget-image-1 .pf-widget-footer{display:none !important}.lytics-widget-image-1 #pf-widget-headline{/*position:absolute;top:0;left:2px;width:100%;height:218px;*/ background:rgba(255,0,255,.3);background:#000;;margin:0 auto;padding:0.6em 1em;color:#fff;font-weight:bold!important;letter-spacing:-1px}.lytics-widget-image-1 #pf-widget-message{margin:1em auto;color:#fff;font-weight:bold;letter-spacing:-1px;padding:1em}.lytics-widget-image-1 .pf-va-middle{/*position:absolute !important;top:100px !important;width:100% !important;left:0 !important;*/}.lytics-widget-image-1 .pf-widget-btn{position:static !important;padding:0.9em 2em !important;line-height:1 !important;margin:0 0 31px 0 !important;font-weight:bold!important;text-transform:uppercase;width:260px;border-radius:0;box-shadow:3px 4px 6px rgba(33,33,33);font-size:20px !important;padding:0.66em 2em !important}.lytics-widget-image-1 .pf-widget-close{z-index:100}.lytics-widget-image-1.pf-widget-modal{}.lytics-widget-image-1.pf-widget.button-bg-yellow .pf-widget-btn.pf-widget-ok{background-color:#EDEB33!important}.lytics-widget-image-1.pf-widget.button-fg-black .pf-widget-btn.pf-widget-ok{color:#000!important}.lytics-widget-image-2 .pf-widget-img{width:auto !important;height:auto !important;position:static !important;top:0 !important;margin:0 !important;padding:0 !important;border-radius:0 !important}.lytics-widget-image-2 .pf-widget-content{padding:0 !important;width:auto !important;border:3px #fff solid !important;border-radius:0 !important}.lytics-widget-image-2 .pf-widget-footer{display:none !important}.lytics-widget-image-2 #pf-widget-message,.lytics-widget-image-2 #pf-widget-headline{display:none}.lytics-widget-image-2 .pf-widget-close{z-index:100 !important;padding:0em 0.2em !important;border-radius:50% !important;background-color:#fff !important;color:#000 !important}.lytics-widget-image-2 .pf-widget-btn.pf-widget-ok{margin:0!important;position:absolute !important;top:0;left:0;width:100%;height:100%;background-color:transparent!important;text-indent:-9999px;z-index:5}@media (max-width:900px){.lytics-widget-image-2 .pf-widget-content{width:80%!important}}@media handheld, only screen and (max-width:768px){.ad-pushdown, .no-touch-view{display:none}header .control-wrap{display:block;clear:both;border-bottom:1px solid #000}header .control-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}header .top-layer .logo, header .top-layer .search-bar, header .top-layer .trigger-main-nav{border-bottom:none}header .top-layer .socials-container{margin-right:15px;margin-top:10px;margin-bottom:10px}header .toggle-search{display:none}#right-rail{margin:0 auto}#right-rail .ad.napco-ad iframe, .doubleclick iframe{width:100%}.row{margin:0}#NAPCO-prestitial-modal, #NAPCO-prestitial-control, #NAPCO-prestitial-modal-ad, #pres_wrapper, #offer, #NAPCO-prestitial-bg{display:none !important}}@media (max-width:979px){body{font-size:.9em}embed, .ad img, object, .body-main .BrightcoveExperience{width:100%}.main .napco-webinars-carousel_single.widget_napco-webinars, .main .widget.napco-webinars-carousel_multi{width:100%;margin-bottom:10px}}@media handheld, only screen and (max-width:768px) and (min-width:650px){.grid-sizer{width:48%}.gutter-sizer{width:3%}aside{margin:0 auto}}@media handheld, only screen and (max-width:650px){.h1{font-size:2.250em}.subhead{font-size:1.250em}header .top-layer .logo, html.touch header .top-layer .logo{width:74%;max-width:none;float:left;margin:0 auto;padding:0;padding-top:6px}header .top-layer .logo a, html.touch header .top-layer .logo a{width:90%;max-width:225px;display:block;margin:0 auto;float:none}header .top-layer .logo small, html.touch header .top-layer .logo small{display:none}header .top-layer .trigger-main-nav, html.touch header .top-layer .trigger-main-nav{width:13%;max-width:none;background:#336699}header .control-wrap, html.touch header .control-wrap{display:block;clear:both;border-bottom:1px solid #000}header .control-wrap:after, html.touch header .control-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}header .search-bar.mobile, html.touch header .search-bar.mobile{position:relative;width:13%;height:60px;float:left;padding-top:0}header .toggle-search, html.touch header .toggle-search{display:block;width:100%;height:60px;position:relative;background:#336699;border:none;cursor:pointer}header .toggle-search:focus, html.touch header .toggle-search:focus{outline:none}header .toggle-search .mag, html.touch header .toggle-search .mag{position:absolute;right:50%;margin-right:-14px}header .toggle-search.active, html.touch header .toggle-search.active{background:#2496dc}header .toggle-search.active .mag, html.touch header .toggle-search.active .mag{background-position:-100px -158px;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/icn-mag-x2.png) center center no-repeat}header .touch-search, html.touch header .touch-search{position:absolute;display:none;background:#336699;width:320px;padding:10px;z-index:110;border-top:4px solid #2496dc}header .touch-search input[type="text"], html.touch header .touch-search input[type="text"]{background:#fff;width:100%;margin:0}header .touch-search input[type="submit"], html.touch header .touch-search input[type="submit"]{display:none}header .touch-search.open, html.touch header .touch-search.open{display:block}.centerizer.footer{padding-left:0;padding-right:0}footer .logo{float:none;display:block;clear:both;width:210px;margin:0 auto;margin-bottom:15px}footer .socials.bot{float:none;display:block;clear:both;width:205px;margin:0 auto}footer .socials.bot li{margin-left:22px}footer .footer-toggle{display:none}footer .bot-level{display:block !important}footer .bot-level .col{display:block;clear:both;float:none;width:auto}footer .bot-level .bot-select{display:block}footer .v-line{display:none}footer .col-body{display:none}.below-footer .logo{float:none;display:block;clear:both;width:220px;margin:0 auto;margin-bottom:15px}.below-footer .copy{text-align:center;margin:0;float:none;display:block;clear:both;width:auto;margin-bottom:20px}.below-footer .copy span, .below-footer .copy address{display:block;clear:both}}@media handheld, only screen and (max-width:650px){html.touch header .search-bar.mobile{padding-top:0}html.touch header .top-layer .logo, header .top-layer .logo{width:76%;padding-top:10px}html.touch header .top-layer .logo a, header .top-layer .logo a{max-width:200px;width:90%;display:block;margin:0 auto}html.touch header .top-layer .trigger-main-nav, header .top-layer .trigger-main-nav{width:12%}html.touch header .search-bar.mobile, header .search-bar.mobile{width:12%}footer .col{float:none !important;width:auto !important;padding:0 !important;text-align:center}footer .bot-level .group{display:none}div#comments, div#disqus_thread{width:auto;margin:0 2em}}@media handheld, only screen and (max-width:600px){.grid-sizer{width:auto}}@media handheld, only screen and (max-width:320px){html.touch header .top-layer .logo, header .top-layer .logo{width:64%;padding-top:12px}html.touch header .top-layer .trigger-main-nav, header .top-layer .trigger-main-nav{width:18%}html.touch header .search-bar.mobile, header .search-bar.mobile{width:18%}.centerizer{padding-left:8px !important;padding-right:8px !important}header .centerizer{padding-left:0 !important;padding-right:0 !important}}@media handheld, only screen and (max-width:480px){html.touch header .top-layer .logo, header .top-layer .logo{width:70%}html.touch header .top-layer .trigger-main-nav, header .top-layer .trigger-main-nav{width:15%}html.touch header .search-bar.mobile, header .search-bar.mobile{width:15%}.main, aside{padding-top:15px}.section-head{padding-bottom:5px}.section-head .h2{text-align:center;width:100%}.section-head a{display:none}.section-head .gray{display:block;clear:both}.post-preview figure{margin-bottom:10px}.feed .lead-post{text-align:center}.post-preview-carousel{display:block;clear:both;margin-bottom:20px}.col-block{display:block;clear:both;margin-bottom:30px}.home-post-preview .double-line{margin:30px 0 20px 0}.bucket-list .bucket{display:block;clear:both;margin-bottom:30px;text-align:center}.bucket-list .bucket .post-title{margin-bottom:10px}.bucket-list .bucket:last-child{margin-bottom:0}.industry-jobs{display:block;clear:both;margin-bottom:40px}.brochures .bucket a{max-width:200px;margin:0 auto;margin-bottom:10px}}.site-container.pusher-active{overflow:hidden}.pusher{position:relative;top:0;left:0;-webkit-transition:left 700ms ease;-moz-transition:left 700ms ease;-o-transition:left 700ms ease;transition:left 700ms ease}.pusher.active{left:252px}.exit-touch-menu{position:fixed;width:100%;height:100%;background:white;top:0;left:0;opacity:0;-ms-filter:"alpha(opacity=0)";-webkit-transition:all 700ms ease;-moz-transition:all 700ms ease;-o-transition:all 700ms ease;transition:all 700ms ease;z-index:-10}.pusher.active .exit-touch-menu{opacity:.5;-ms-filter:"alpha(opacity=50)";position:fixed;left:252px;z-index:9999}nav.touch-view.wp-menu{position:fixed;left:-250px;top:0px;height:100%;background:#336699;width:250px;border-top:5px solid #2496dc;font-size:1.125em;overflow:hidden;opacity:0;-ms-filter:"alpha(opacity=0)";-webkit-transition:all 700ms ease;-moz-transition:all 700ms ease;-o-transition:all 700ms ease;transition:all 700ms ease}nav.touch-view.wp-menu.open{opacity:1;-ms-filter:"alpha(opacity=100)";left:0}nav.touch-view.wp-menu ul.menu{display:block}nav.touch-view.wp-menu ul.menu > li{display:block}nav.touch-view.wp-menu ul.menu > li > a, nav.touch-view.wp-menu ul.sub-menu a, nav.touch-view.wp-menu .menu-back{display:block;clear:both;position:relative;color:white;padding:15px;border-top:1px solid #2496dc;border-bottom:1px solid white;-webkit-transition:background 200ms ease-in-out;-moz-transition:background 200ms ease-in-out;-o-transition:background 200ms ease-in-out;transition:background 200ms ease-in-out}nav.touch-view.wp-menu ul.menu > li > a:hover, nav.touch-view.wp-menu ul.sub-menu a:hover, nav.touch-view.wp-menu .menu-back:hover{text-decoration:none;background:#4cabe2}nav.touch-view.wp-menu ul.sub-menu{position:fixed;top:0;left:-252px;background:#336699;width:252px;height:100%;min-height:100%;z-index:12;overflow:auto;-webkit-transition:left 500ms ease;-moz-transition:left 500ms ease;-o-transition:left 500ms ease;transition:left 500ms ease}nav.touch-view.wp-menu ul.sub-menu ul.sub-menu{background:#336699}nav.touch-view.wp-menu ul.menu > li.menu-item-has-children > a:after, nav.touch-view.wp-menu ul.sub-menu li.menu-item-has-children > a:after{content:'';position:absolute;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;width:8px;height:12px;top:50%;margin-top:-6px;right:10px;background-position:-44px -113px}@media only screen and (-webkit-min-device-pixel-ratio:2){nav.touch-view.wp-menu ul.menu > li.menu-item-has-children > a:after, nav.touch-view.wp-menu ul.sub-menu li.menu-item-has-children > a:after{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}nav.touch-view.wp-menu ul.sub-menu.open{left:0}nav.touch-view.wp-menu .menu-back{background:#2496dc;text-align:right;text-transform:uppercase;font-weight:700;font-size:0.875em !important;cursor:pointer;position:relative}nav.touch-view.wp-menu .menu-back:before{content:'';position:absolute;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;width:8px;height:12px;top:50%;margin-top:-6px;left:10px;background-position:-33px -113px}@media only screen and (-webkit-min-device-pixel-ratio:2){nav.touch-view.wp-menu .menu-back:before{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}nav.touch-view.wp-menu .sponsor{display:none !important}@media (max-width:768px){#fmenuclose{content:'';position:absolute;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/close-ico.png) no-repeat;display:block;text-indent:-9999em;width:34px;height:34px;top:1%;margin-top:0;right:0px;background-size:32px}header .bot-layer{display:block;clear:both;border:none}.sponsor{display:none !important}}nav.no-touch-view.wp-menu{float:left;width:95%}nav.no-touch-view.wp-menu ul.menu > li{float:none;display:inline-block;vertical-align:middle;text-align:center;position:relative;width:10%;cursor:pointer}nav.no-touch-view.wp-menu ul.menu > li:first-child{border-left:none}nav.no-touch-view.wp-menu ul.menu > li:hover{background:#2496dc}nav.no-touch-view.wp-menu ul.menu > li.img a{/* display:block;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/pixLogo_navBar.png) center center no-repeat;background-size:130px 25px;*/ padding-left:10px;padding-right:20px;line-height:35px;display:block}nav.no-touch-view.wp-menu ul.menu > li.item-1{width:10%}nav.no-touch-view.wp-menu ul.menu > li.item-2{width:13%}nav.no-touch-view.wp-menu ul.menu > li.item-3{width:14%}nav.no-touch-view.wp-menu ul.menu > li.item-4{width:14%}nav.no-touch-view.wp-menu ul.menu > li.item-5{width:14%}nav.no-touch-view.wp-menu ul.menu > li.item-6{width:15%}nav.no-touch-view.wp-menu ul.menu > li.item-7{width:19%;padding-right:15px}nav.no-touch-view.wp-menu ul.menu > li > a{font-family:'Napco_1', sans-serif;font-size:1.25em;color:white;font-weight:700;position:relative;height:40px;line-height:40px;display:inline-block}nav.no-touch-view.wp-menu ul.menu > li.menu-item-has-children > a{padding-right:20px}@media (max-width:850px){nav.no-touch-view.wp-menu ul.menu > li > a{font-size:1em}}nav.no-touch-view.wp-menu ul.menu > li > a:hover{text-decoration:none}nav.no-touch-view.wp-menu ul.sub-menu li.menu-item-has-children > a:after{content:'';position:absolute;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;width:10px;height:32px;top:50%;margin-top:-16px;right:18px;margin-right:-1px;background-position:0px -218px;z-index:10}@media only screen and (-webkit-min-device-pixel-ratio:2){nav.no-touch-view.wp-menu ul.sub-menu li.menu-item-has-children > a:after{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}nav.no-touch-view.wp-menu ul.sub-menu li:hover{background-color:#4cabe2}nav.no-touch-view.wp-menu ul.sub-menu li:hover li{background-color:transparent}nav.no-touch-view.wp-menu ul.sub-menu li:hover a:after{content:'';position:absolute;height:32px;top:50%;margin-top:-16px;margin-right:-1px;z-index:10}nav.no-touch-view.wp-menu .menu > li.menu-item-has-children > a:after{content:'';position:absolute;width:12px;height:8px;top:50%;margin-top:-3px;right:0px;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/menu-arrow-x2.png) right center no-repeat;background-size:8px 5px}nav.no-touch-view.wp-menu ul.menu > li > .no-dropdown{padding-right:0}nav.no-touch-view.wp-menu ul.menu > li > .no-dropdown:after{background:none !important}nav.no-touch-view.wp-menu ul.menu > li > ul.sub-menu{border-top:5px solid #2496dc;background:#2496dc}nav.no-touch-view.wp-menu ul.sub-menu{display:none;position:absolute;left:0;top:40px;background:#2496dc;text-align:left;min-width:220px;width:auto}nav.no-touch-view.wp-menu ul.sub-menu a{font-family:'Napco_2';display:block;position:relative;padding:10px 16px;-webkit-transition:all 200ms ease-in-out;-moz-transition:all 200ms ease-in-out;-o-transition:all 200ms ease-in-out;transition:all 200ms ease-in-out;font-size:0.9375em;color:white;font-weight:400}@media (max-width:850px){nav.no-touch-view.wp-menu ul.sub-menu a{font-size:1em}}nav.no-touch-view.wp-menu ul.sub-menu a:hover{background:#4cabe2;text-decoration:none}nav.no-touch-view.wp-menu ul.sub-menu > li{position:relative}nav.no-touch-view.wp-menu ul.sub-menu ul.sub-menu{left:100%;top:0}nav.no-touch-view.wp-menu ul.sub-menu.open{display:block}nav.no-touch-view.wp-menu .menu-back, nav.no-touch-view.wp-menu .new-item{display:none !important}nav.no-touch-view.wp-menu .sponsor a{line-height:normal !important;height:auto !important;padding:0 !important}.current_link{text-decoration:underline}.aside_page_nav a{display:inline;margin-right:3px}@media all and (device-width:768px) and (device-height:1024px){.touch-sticky .search-bar .mag{background:none}header .top-layer .logo a img{margin-left:10px}header .top-layer .logo{width:55% !important;padding:1.2em 5px !important}header .top-layer .logo a img{}}@media all and (device-width:768px) and (device-height:1024px) and (orientation:landscape){html.touch header .top-layer .trigger-main-nav, header .top-layer .trigger-main-nav{right:12px}.touch-sticky .search-bar .mag{background:none}header .top-layer .logo a img{margin-left:10px}header .top-layer .logo{width:55% !important;padding:1.2em 5px !important}header .top-layer .logo a img{}}nav.no-touch-view.wp-menu ul.menu > li{width:auto !important;padding:0 10px 0 10px}nav.no-touch-view.wp-menu ul.menu > li > a{padding:0 12px 0 12px}@media only screen and (min-width:1024px) and (max-height:1366px) and (-webkit-min-device-pixel-ratio:1.5){nav.no-touch-view.wp-menu ul.menu > li > a{padding:0 7px 0 7px}html.touch header .search-bar.mobile .mag{display:none !important}html.touch header .top-layer .trigger-main-nav, header .top-layer .trigger-main-nav{right:12px !important}header .top-layer .logo a img{margin-top:7px;margin-left:7px}nav.no-touch-view.wp-menu ul.menu > li{padding:0 7px 0 7px}}@media only screen and (min-device-width:810px) and (max-device-width:1080px) and (-webkit-min-device-pixel-ratio:2){.search-bar .mag{display:none !important}}.staged nav.no-touch-view.wp-menu ul.menu > li{padding:0px 0px}header .search-bar.mobile, html.touch header .search-bar.mobile{float:left !important;border-right:1px solid #000000;border-left:none}html.touch header .top-layer .trigger-main-nav, header .top-layer .trigger-main-nav{float:right !important;border-left:1px solid #000 !important;border-right:none !important}#fmenuclose{content:'';position:absolute;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/close-ico.png) no-repeat;display:block;text-indent:-9999em;width:34px;height:34px;top:1%;margin-top:0;right:0px;background-size:32px}.news-grid{display:block;clear:both;margin-bottom:25px;display:table;table-layout:fixed;width:100%;margin-top:30px}.news-grid caption, .news-grid .news-grid-caption{border-top:1px solid #e3e3e3;font-family:'Napco_2 Condensed';font-weight:700;font-size:1.500em;text-align:center}.news-grid .label{padding-bottom:0;text-transform:none}.news-grid td{width:33%;border-bottom:1px solid #cccccc;border-left:1px solid #cccccc;padding:0 15px}@media handheld, only screen and (max-width:480px){.news-grid td{display:block;width:100%;clear:both;border-left:none;padding:0}}.news-grid.people td{border:none}.news-grid .more-link{text-align:left;margin-bottom:10px;line-height:12px}.news-grid .more-link .post-more{font-size:0.75em}.news-grid .inner-pad{padding:2%}.news-grid tr td:first-child{border-left:none}.news-grid tr:last-child td{border-bottom:0}.news-grid .topic-title{display:block;clear:both;margin-bottom:10px;font-weight:900;font-size:1em;text-transform:uppercase;color:#6289b1;margin-bottom:5px;line-height:1.2}@media handheld, only screen and (max-width:480px){.news-grid .topic-title{font-size:1.5em}}.news-grid .topic-text{font-size:0.875em;font-weight:600}.news-grid .topic-text.splitWithImg{width:55%;display:block;float:right}.news-grid.people .topic-text{font-size:1em}.news-grid article{display:block;clear:both;margin-bottom:10px;line-height:1.4;margin-bottom:20px}.news-grid article:after{content:".";display:block;height:0;clear:both;visibility:hidden}.news-grid article .topic-image{float:left;width:40%;margin:0}.news-grid article .topic-image img{width:100%}.news-grid.people article .topic-image{margin:0 10px 10px 0}.news-grid.people article p{font-weight:normal;font-size:0.875em}.news-grid.people article li{font-weight:normal;font-size:0.875em;margin-left:.6em}.news-grid td article:nth-of-type(1){font-weight:700}.row .news-grid:last-child{margin-bottom:0}#newsletter-landing-wrapper body .main{float:none;margin:0 auto}#newsletter-landing-wrapper .gfield_radio{-webkit-column-count:3;-moz-column-count:3;column-count:3}#newsletter-landing-wrapper .post-body ul li{background:none;padding-left:0}#newsletter-landing-wrapper .gform_wrapper .gfield_required{color:#f00}#newsletter-landing-wrapper .gform_footer input[type="submit"]{border:1px #D02630 solid;padding:6px 24px;background-color:#D02630;color:#fff;cursor:pointer;height:auto;font-family:napco_2}#newsletter-landing-wrapper input[type=submit]:hover{background-color:#fff;color:#D02630}#newsletter-landing-wrapper .gf_minmax{padding-left:20px;font-size:.8em}#newsletter-landing-wrapper #gf_error{color:#f00;text-align:center;font-size:28px;margin-top:20px;display:none}#newsletter-landing-wrapper .gform_wrapper .top_label textarea.textarea{width:365px}#newsletter-landing-wrapper .word-count-wrapper{display:inline-block}#newsletter-landing-wrapper .header-wrapper{min-height:200px;background-repeat:no-repeat;background-color:#0F0B0A;background-size:cover}#newsletter-landing-wrapper .gform_confirmation_wrapper{color:white !important;text-align:center}#newsletter-landing-wrapper .gf_notice{color:white;font-size:20px}#newsletter-landing-wrapper .signup-all.no-mag{background:none;border:none}#newsletter-landing-wrapper .secondary{display:none}#newsletter-landing-wrapper h1{text-align:center;margin:40px 0;font-size:20px}#newsletter-landing-wrapper table{width:100%}#newsletter-landing-wrapper table td{padding:20px;text-align:center}#newsletter-landing-wrapper table td img{width:90px;margin-bottom:13px}#newsletter-landing-wrapper table h2{color:#ed1c24;text-transform:uppercase}#newsletter-landing-wrapper span{color:#ed1c24}#newsletter-landing-wrapper .subscribe-holder{width:520px;margin:auto;padding-top:37px}#newsletter-landing-wrapper .subscribe-holder img{}#newsletter-landing-wrapper section{padding:30px 20px}#newsletter-landing-wrapper section > div{max-width:850px;margin:auto}#newsletter-landing-wrapper section.content-area-bottom{background-color:#E3E3DF;width:auto;min-height:100px}#newsletter-landing-wrapper .gform_footer input{border:none !important}#newsletter-landing-wrapper .widget{max-width:none}#newsletter-landing-wrapper p.subscribe-more-info.gf_notice{clear:left;float:left}#newsletter-landing-wrapper .gform_wrapper{float:left;width:525px}#newsletter-landing-wrapper .widget ul li{display:inline-block}#newsletter-landing-wrapper .gform_wrapper form{float:left;width:525px}#newsletter-landing-wrapper .gform_footer input[type="submit"]{background-color:red !important;color:white !important;text-transform:uppercase;width:100px !important;font-weight:normal;margin-top:0;float:left;margin-bottom:10px;padding:8px 0px}#newsletter-landing-wrapper .gform_body{float:left;margin-bottom:10px}#newsletter-landing-wrapper .gform_wrapper .gform_ajax_spinner{margin-bottom:10px}#newsletter-landing-wrapper p{font-weight:bold;margin-bottom:10px;line-height:1.1}#newsletter-landing-wrapper table tr td p{width:auto;margin:auto}#newsletter-landing-wrapper table tr td.width-one p{width:130px}#newsletter-landing-wrapper p.title{margin-bottom:10px}#newsletter-landing-wrapper hr{height:15px;background-color:#ed1c24;margin-left:45%;margin-right:45%}#newsletter-landing-wrapper h3{text-align:center}#newsletter-landing-wrapper td.width-three{width:33%}#newsletter-landing-wrapper td.width-two{width:50%}#newsletter-landing-wrapper .gdpr-agreement{display:none}#newsletter-landing-wrapper aside.widget_napco-newsletters .widget{background-color:transparent}#newsletter-landing-wrapper .tight-squeeze{max-width:600px;margin:auto}#newsletter-landing-wrapper p.bio-text{font-size:13px;font-weight:normal}#newsletter-landing-wrapper .ginput_container{float:left}#newsletter-landing-wrapper .gform_body.gform_footer{clear:none !important;margin-top:12px !important}#newsletter-landing-wrapper .gform_footer{max-width:none !important;width:525px}#newsletter-landing-wrapper .ginput_container{margin-right:20px;width:400px}#newsletter-landing-wrapper .breakup{width:90px;margin:auto;line-height:1}#newsletter-landing-wrapper::-webkit-input-placeholder{text-transform:uppercase}#newsletter-landing-wrapper::-moz-placeholder{text-transform:uppercase}#newsletter-landing-wrapper:-ms-input-placeholder{text-transform:uppercase}#newsletter-landing-wrapper:-moz-placeholder{text-transform:uppercase}@media handheld, only screen and (max-width:700px){#newsletter-landing-wrapper table td{padding:10px}}@media handheld, only screen and (max-width:640px){#newsletter-landing-wrapper table td.width-four{width:auto !important}#newsletter-landing-wrapper .gform_footer{max-width:none !important;width:auto}#newsletter-landing-wrapper table tr td{display:block}#newsletter-landing-wrapper td.width-three, #newsletter-landing-wrapper td.width-two{width:auto}#newsletter-landing-wrapper .gform_body{margin-bottom:10px}#newsletter-landing-wrapper .gform_wrapper .gform_ajax_spinner{display:none}#newsletter-landing-wrapper .gform_wrapper{float:none;margin:auto !important}#newsletter-landing-wrapper aside.widget_napco-newsletters .widget{margin:0 auto !important}#newsletter-landing-wrapper .subscribe-holder img{display:block;margin-left:auto;margin-right:auto}#newsletter-landing-wrapper .subscribe-holder{width:90%}#newsletter-landing-wrapper .gform_body{width:100%;float:none}#newsletter-landing-wrapper .gform_body, #newsletter-landing-wrapper .gform_footer input[type="submit"]{clear:both}#newsletter-landing-wrapper .gform_wrapper, #newsletter-landing-wrapper .gform_wrapper form{width:100%}#newsletter-landing-wrapper .ginput_container{width:100%;margin:auto}aside.widget_napco-newsletters .widget{margin:0 30px !important}#newsletter-landing-wrapper .widget{min-width:0}#newsletter-landing-wrapper .gform_body{float:left}#newsletter-landing-wrapper .widget ul li{display:inline}.gform_wrapper{max-width:100%}}.signup-head{padding-top:2em;display:block;margin-bottom:1.5em}.signup-head .logo{display:block;max-width:500px;margin:0 auto;margin-bottom:.5em}.signup-head .trusted{display:block;clear:both;font-family:'Napco_1';font-size:1.25em;text-align:center;text-transform:uppercase;letter-spacing:.25em;margin-bottom:1.5em}.signup-box{text-align:center}.signup-box .inner-pad{padding:15px 10px;border:1px solid #ccc;background:#eee}.signup-box .h5{display:block;margin-bottom:.5em}.signup-box input{display:block;clear:both;width:100%;height:38px;line-height:36px}.signup-box input[type="text"], .signup-box input[type="email"]{border:1px solid #ccc;font-family:'Georgia';font-size:1em;text-align:center;font-style:italic;margin-bottom:.5em}.signup-box fieldset{clear:both;margin-bottom:.5em}.signup-box .sub{display:block;clear:both;font-size:0.875em}.signup-box .sub a{font-weight:700}.signup-box.col-sm-12{margin-bottom:2em}.signup-box.col-sm-12 fieldset{width:80%;display:block;margin:0 auto}.signup-box.col-sm-12 fieldset:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (max-width:480px){.signup-box.col-sm-12 fieldset{width:100%}}.signup-box.col-sm-12 input{clear:none;display:inline}.signup-box.col-sm-12 input[type="text"], .signup-box.col-sm-12 input[type="email"]{float:left;width:78%;text-align:left;padding:0 15px}.signup-box.col-sm-12 input[type="submit"]{float:right;width:20%}.signup-message .inner-pad{padding:2% 4%;text-align:center}.signup-message .h3{line-height:1.3em;display:block;margin-bottom:1em;font-weight:400;font-size:1.625em}.signup-message p{font-style:italic}.signup-option{margin-bottom:2em}.signup-option .inner-pad{padding:10px 10px 10px 40px;border:1px solid #ccc;position:relative;background-color:white;-webkit-transition:background-color 400ms ease-in-out;-moz-transition:background-color 400ms ease-in-out;-o-transition:background-color 400ms ease-in-out;transition:background-color 400ms ease-in-out}.signup-option input[type="checkbox"]{position:absolute;top:18px;left:12px}.signup-option .h4{display:block;margin-bottom:.4em;line-height:1.2em}.signup-option small{font-size:0.75em;clear:both;display:block}.signup-option p{display:block;margin-bottom:.5em}.signup-option .see-example{color:#2397db;font-family:'Napco_1';text-transform:uppercase;font-weight:700;float:left;clear:both;margin-bottom:.5em}.signup-option.selected .inner-pad{background-color:#eee}.newsletter{background:#336699 url(/wp-content/themes/napco-editorial/css/structure/../../images/mag-cover.jpg) 16px bottom no-repeat;min-height:120px}.newsletter.no-mag{background-image:none;min-height:inherit}.newsletter.no-mag .inner-pad{margin-left:0;padding-top:35px;position:relative}.newsletter.no-mag .logo{text-align:center;max-width:300px;min-width:155px}.newsletter .inner-pad{padding:10px;border:none;margin-left:135px}.newsletter .text{line-height:1}.newsletter .text .top{font-size:1em}.newsletter .text .bot{font-size:0.875em;font-weight:bold;margin-bottom:5px}.newsletter .text p{padding:0 0 10px 0;margin:0;font-size:0.75em;font-weight:normal}.newsletter .button{font-size:0.875em}.newsletter form{display:block;clear:both;margin-bottom:15px;margin-top:5px}.newsletter .checks{display:block;list-style-type:none;-webkit-column-count:3;-webkit-column-gap:10px;-moz-column-count:3;-moz-column-gap:10px;column-count:3;column-gap:10px;font-size:.875em;margin-bottom:5px}@media (max-width:1160px){.newsletter .checks{-webkit-column-count:2;-webkit-column-gap:10px;-moz-column-count:2;-moz-column-gap:10px;column-count:2;column-gap:10px}}.newsletter li{margin-bottom:5px}.newsletter fieldset input{height:35px;line-height:35px;float:left;font-size:1.125em}.newsletter input[type="email"], .newsletter input[type="text"]{width:66%;margin-right:2%;background:#fff;border:none;padding:0 2%;font-family:'Napco_2';font-size:0.6875em}.newsletter input[type="submit"]{background:#2397db;color:#fff;text-transform:uppercase;text-align:center;font-family:'Napco_1';font-weight:bold;font-size:0.875em;border:0;width:32%;line-height:30px;cursor:pointer;text-transform:none}.newsletter .terms{display:block;text-align:center;font-family:'Napco_2';font-size:.875em}.newsletter .terms a{font-weight:700}.signup-all .all-top{display:block;margin-bottom:20px}.signup-all .all-top .icon{float:left;width:25%}.signup-all .all-top .icon img{display:block;width:100%;height:auto}.signup-all .all-top .text-wrap{float:right;width:71%;line-height:1.2em}.signup-all .all-top .h5{font-family:'Napco_2 Condensed';font-weight:400;margin-bottom:5px}.signup-one .one-top{display:block;margin-bottom:15px}.signup-one .one-top .cover{float:right;width:30%}.signup-one .one-top .text-wrap{float:left;width:68%}.signup-one .one-top .h5{font-family:'Napco_2 Condensed';font-weight:400;margin-bottom:0px;line-height:1.2em}.signup-all.no-mag{background-color:#eee;border:1px #999 solid;padding-top:15px}.slider-wrap{position:relative;display:block;clear:both;height:20px;margin-top:15px}.slider-wrap .slider-bg{position:absolute;background:url("../images/bg_uislider.png") repeat-x;height:25px;left:0;width:100%;top:-11px;z-index:-1}.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-user-select:none;-ms-touch-action:none;-ms-user-select:none;-moz-user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-base{width:100%;height:100%;position:relative}.noUi-origin{position:absolute;right:0;top:0;left:0;bottom:0}.noUi-handle{position:relative;z-index:1}.noUi-stacking .noUi-handle{z-index:10}.noUi-stacking + .noUi-origin{*z-index:-1}.noUi-state-tap .noUi-origin{-webkit-transition:left 0.3s, top 0.3s;transition:left 0.3s, top 0.3s}.noUi-state-drag *{cursor:inherit !important}.noUi-horizontal{height:5px}.noUi-horizontal.noUi-extended{padding:0 15px}.noUi-horizontal.noUi-extended .noUi-origin{right:-15px}.noUi-background{background:#e1e1e1}.noUi-connect{background:#bb1b25;-webkit-transition:background 450ms;transition:background 450ms}.noUi-dragable{cursor:w-resize}.noUi-handle{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;background-position:0 -358px;cursor:default;width:25px;height:25px;left:-12px;top:-10px}@media only screen and (-webkit-min-device-pixel-ratio:2){.noUi-handle{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.sort{display:block;margin-bottom:2em}.sort .h5{display:block;margin-bottom:5px}.view-options{display:block;clear:both;margin-bottom:1.5em}.view-options .view-links{margin-top:5px;display:block;clear:both;border-top:1px solid #333;border-bottom:1px solid #333;padding:5px 0}.view-options a{font-size:1em;color:#333}.view-options a.active{font-weight:700;color:black}.view-options i{color:#333;font-style:normal;margin:0 .5%}.pagination{display:block;clear:both;margin-bottom:1.8em;text-align:left;position:relative;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pagination span, .pagination a{display:inline-block}.pagination span{color:#adadad}.pagination .spread{display:inline-block;position:relative;padding:0 30px}.pagination .spread span, .pagination .spread .num, .pagination .spread .page-numbers{margin:0 0 .8em 1px}.pagination .spread .num, .pagination .spread .page-numbers{min-width:34px;height:34px;line-height:34px;color:black;text-align:center;font-weight:700;background:#e5e5e5;-webkit-transition:all 200ms ease-in-out;-moz-transition:all 200ms ease-in-out;-o-transition:all 200ms ease-in-out;transition:all 200ms ease-in-out}.pagination .spread .num.current, .pagination .spread .page-numbers.current{background:#2397db;color:white}.pagination .spread .num:hover{background:#2397db;text-decoration:none;color:white}.pagination .prev-page, .pagination .next-page{width:14px;height:20px;position:absolute;top:50%;margin-top:-10px}.pagination .prev-page, .pagination .page-numbers.prev{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/pag-prev-x2.png) center center no-repeat;background-size:12px 14px;left:0}.pagination .next-page, .pagination .page-numbers.next{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/pag-next-x2.png) center center no-repeat;background-size:12px 14px;right:0}.pagination .results-count{display:block;clear:both;color:#333;font-size:0.875em;text-align:right;font-weight:700;margin-top:5px;text-transform:uppercase}.post-body .pagination{margin-top:1em}.more-from{font-weight:700;border:1px solid #ccc;float:left;clear:both;padding:8px 12px;font-family:'Napco_1';font-size:1.5em}.pagination .page-numbers.prev, .pagination .page-numbers.next{text-indent:-9999px;width:34px}.pagination span.page-numbers.dots{color:#ADADAD;background:none !important}.pagination .page-numbers{padding:2px;min-width:36px}a.qp_disabled{color:#888}.qp_prev{padding-left:10px;width:50px}.qp_counter{margin:10px}.qp_next{width:50px;padding-right:5px}.pixbox-small .logo-box{width:100%;max-width:200px;margin:0 auto;margin-bottom:10px}.pixbox-small .text{font-family:"Napco_1", sans-serif;color:white;line-height:1.1;font-weight:bold;font-size:0.875em;margin-bottom:30px;min-height:66px;text-align:center}@media (max-width:885px){.pixbox-small .text{min-height:0;margin-bottom:10px}}.pixbox-small .button-holder{text-align:center}.pix-head .widget.doubleclick{clear:none;float:right;width:270px;margin:0;border-bottom-width:0}.pix-head .widget.doubleclick .napco-ad{border:none;margin-bottom:0}.pix-head .inner{padding:10px 0}.pix-head .pix-logo{width:60%;max-width:349px}@media (max-width:400px){.pix-head .pix-logo{width:100%;margin-bottom:10px}}.pix-head .sponsor-logo{width:117px}.pix-head .label{margin-right:14px;color:#000;text-transform:none;text-align:right;padding-right:10px;padding-top:19px}@media (max-width:600px){.pix-head .label{display:none}}.video-channel-name{margin-bottom:20px}.video-channel-name .h2{display:block;color:white;font-weight:bold;font-family:"Napco_1", sans-serif;font-size:1.125em;padding:9px 12px;text-transform:uppercase;background:#336699}.video-channel-description{margin-top:20px}.video-player{margin-top:20px}.widget .pix{padding:0}.widget .pix .inner-pad{padding:16px}.widget .pix.pix-upnext article{border-bottom:solid 1px #b0b0b0;padding-bottom:20px}.widget .pix.pix-upnext article img{height:66px;margin-right:16px}.widget .pix.pix-upnext p{font-size:0.875em}.widget .pix.pix-load article{line-height:34px;margin-top:6px;border:none !important;padding:0 !important}.widget .pix.pix-load article img{width:34px;height:34px;margin-right:16px}.widget .pix.pix-load .push-down-20{height:125px;overflow:hidden;margin-bottom:0}.widget .pix-load .more-button-holder{margin-top:20px}#load_more_pix_channels_button.disabled_load_more_pix_channels_button{background:#c7c7c7;cursor:default}#load_more_pix_channels_button.disabled_load_more_pix_channels_button:after{background:none}.rail-container .widget .widget.pix-upnext article.post-preview{padding-top:10px !important;border-bottom:1px solid #b0b0b0 !important;padding-bottom:20px;margin-bottom:10px;border-top:none}.rail-container .widget .widget.pix-upnext article.hide-upnext{display:none}.rail-container .widget .widget.pix-upnext{min-height:148px}.rail-container.pix .row.pix-otherchannels{margin-top:-15px}.video-excerpt.post-body .body-main div a:not(.post-more){color:red}.powered-by.row.bgcolor{margin:0 15px;border:none;display:none;background-color:transparent}.powered-by.row.bgcolor .widget.doubleclick{float:right;width:240px;margin:0;background-color:transparent;border:none}.powered-by.row.bgcolor .label{color:#000;text-align:right;padding-right:10px;padding-top:19px}.sponsor-string{font-weight:bold}.product-search .inner{padding:20px 10px 0 10px}.product-search table{width:100%;table-layout:fixed}.product-search table td.button{width:70px}.product-search input{border:none;width:100%}.product-search input[type='text']{padding-left:10px;padding-right:10px;height:28px}.product-search .button input{margin-left:5px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.widget .promo .inner-pad{padding:33px 14px 16px 14px}.widget .promo .post-preview{padding:0}.widget .promo .button{margin-top:10px}.widget .promo.pix p{font-size:0.875em;font-weight:normal}.widget .promo.pix .inner-pad{padding-top:16px}.widget .promo.pix .subtitle{font-family:"Napco_1";font-size:14px;font-weight:bold;margin-top:10px;display:block;text-align:center;margin-bottom:20px}.widget .promo.pix .label{padding-top:0}.widget .promo.pix .h6{display:block;line-height:1.2;padding:5px 0}.widget .rail-carousel.single-only .swiper-container{margin-left:5px;margin-right:5px}.widget .rail-carousel.single-only .button-holder{margin-top:10px}.widget .rail-carousel.single-only .inner-pad{padding-left:8px;padding-right:8px;padding-bottom:0}.widget .rail-carousel .inner-pad{padding:32px 14px 16px 14px}.widget .rail-carousel .title{display:block;margin-bottom:8px}.widget .rail-carousel p{font-size:0.75em}.widget .rail-carousel .bucket-carousel article{padding:0 4px !important;/*@media handheld, only screen and (max-width:480px){width:inherit !important}*/}.widget .rail-carousel .bucket-carousel .post-title{font-weight:normal;font-size:0.75em;margin-bottom:0}.widget .rail-carousel .bucket-carousel .post-thumb-full{margin-bottom:10px}.widget .rail-carousel .bucket-carousel .bc-next,.widget .rail-carousel .bucket-carousel .bc-prev{display:block}.widget .rail-carousel .bottom{margin-top:10px}.widget .rail-carousel.promo .bottom{margin-top:20px}@media (max-width:649px){.rail-container{max-width:400px;margin:0 auto}}.rail-container .widget .bgcolor{background:#ebebeb}.rail-container .widget .bgcolor .inner-pad{padding:20px}.rail-container .pix.bgcolor{background:#142738;color:#fff;padding:0}.rail-container .widget .bordered{border:solid 1px #d4d4d4}.rail-container.pix .pix.bgcolor{background:#ebebeb}.rail-container.pix .widget.resources{background:#ebebeb}.rail-container .widget .widget.pix-upnext article.hide-upnext-video{display:none}/*Note:This gets loaded into all pages, not just resources*/ .categories-trigger,.resource-widget-cta{margin:1em 0;text-align:center;font-size:.9em}.categories-trigger span,.resource-widget-cta a{color:#017ca8 !important;cursor:pointer;font-weight:bold}.resources .widget ul.bottom-categories{display:none}.hero-header{width:100%;height:300px;background-color:#cccccc;text-align:center;padding:60px 0;position:relative;display:table;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover !important}.resource-nav select{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;outline:0;box-shadow:none;border:0 !important;background:#509FBE;background-image:none}.resource-nav .select{position:relative;display:block;width:20em;height:46px;line-height:2;margin:5px;background:#509FBE;overflow:hidden;border-radius:.25em;float:left}.resource-nav select{width:100%;height:100%;margin:0;padding:10px;color:#fff;cursor:pointer}.resource-nav select::-ms-expand{display:none}.resource-nav select:focus{/* background-color:#FED929;color:#509FBE;*/}select#cat-slct option, select#type-slct option{background-color:#fff;color:#000}.resource-nav .select::after{content:'\25BC';position:absolute;top:0;right:0;bottom:0;padding:.5em 1em;background:#509FBE;pointer-events:none}.resource-nav .select:hover::after{color:#cccccc}.resource-nav .select::after{-webkit-transition:.25s all ease;-o-transition:.25s all ease;transition:.25s all ease}.resource-nav select, html.touch select#type-slct:focus, html.touch select#cat-slct:focus, .select#type-slct, select#cat-slct option{font-size:16px !important}.resource-nav{color:#ffffff;background-color:#1680AA;padding:10px}#resource-filter{width:1115px;margin:0 auto}.resource-nav .search-bar.desktop{float:right;margin-right:15px}.hero-header .ribbon{display:table-cell;vertical-align:middle;background-color:blue;width:100%;padding:1% 20%;background-color:rgb(18,102,136);background-color:rgba(18,102,136, 0.7);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)"}.hero-header h1{top:150px;text-align:center;color:#ffffff;font-size:45px}.hero-header.vresource h1{top:150px;text-align:center;color:#ffffff;font-size:3.5em}.hero-header.vresource h2{top:150px;text-align:center;color:#ffffff;font-size:1.35em;text-transform:none}.resource.listing{float:left;margin:1em;min-height:300px}.resource.listing .h6a{margin:.5em 0;font-size:1.4em}.resource.listing .thumb{border:3px #eee solid;margin-top:6px;height:201px}.spotlight .resource.listing .thumb{border:3px #fff solid}.resource.listing .info{width:100%}.resource.listing .info.with-thumb{margin-top:.5em}.resource.listing .post-more{text-align:right;margin-top:.3em}.search-block{display:block;clear:both;margin-bottom:1em}.search-block .h5{display:block;margin-bottom:5px}.results-page .search-wrap input[type="text"]{height:34px;line-height:34px;font-size:1em}.text-input{position:relative;display:block;border:1px solid #b7b7b7}.text-input input[type="text"]{margin:0;background:none;font-family:'Georgia';font-size:1.125em;font-style:italic;line-height:34px;border:0;float:left;width:90%;padding:0 10px;line-height:40px;height:40px}.text-input input[type="text"]:focus{outline:none}.text-input .mag{cursor:pointer;position:absolute;border:0;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;background-position:-55px -158px;width:20px;height:20px;top:50%;margin-top:-10px;right:15px}@media only screen and (-webkit-min-device-pixel-ratio:2){.text-input .mag{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.new-search{border-bottom:1px solid black;padding-bottom:1.5em}.advanced-search{position:relative}.advanced-search .matching{font-size:0.875em;display:block}.advanced-search .clear-filters{color:#2397db;font-family:'Napco_1';font-size:0.875em;text-transform:uppercase;font-weight:700;text-decoration:underline;cursor:pointer}@media (max-width:900px){.advanced-search{border-bottom:1px solid black;padding-bottom:1em}.advanced-search .clear-filters{display:none}}.toggle-filters{display:none;position:absolute;top:2px;right:5px;width:40px;height:40px;background:black;border:none;cursor:pointer}.toggle-filters:focus{outline:none}.toggle-filters:after{content:'';position:absolute;top:50%;left:50%;margin-left:-8px;margin-top:-8px;width:16px;height:16px;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;background-position:-75px -358px}@media only screen and (-webkit-min-device-pixel-ratio:2){.toggle-filters:after{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}@media (max-width:900px){.toggle-filters{display:block}}.toggle-filters.active:after{background-position:-113px -358px}.filters{display:block;clear:both;margin-bottom:2em}@media (max-width:900px){.filters{display:none}}.filters .options{display:block;background:#eee;margin-bottom:1.3em}.filters .options .top{position:relative;padding:10px 10px 10px 35px;border-bottom:1px solid white}.filters .options .bot{padding:10px}.filters .options #only-checked{position:absolute;top:13px;left:10px}.filters .options .show-selected{font-size:0.875em;font-weight:700}.filters .red-list{list-style-type:none}.filters .red-list li{margin-bottom:3px}.filters .red-list a{color:#2397db;text-transform:uppercase;font-family:'Napco_1';font-size:0.875em;font-weight:700;padding-left:25px;position:relative}.filters .red-list a:after{content:'';position:absolute;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;width:8px;height:12px;left:6px;top:4px;background-position:-30px -358px}@media only screen and (-webkit-min-device-pixel-ratio:2){.filters .red-list a:after{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.filters .radius .range{display:block;font-size:0.875em;margin-bottom:.8em}.filters .radius .inst{display:block;clear:both;font-size:0.875em;line-height:1.3em}.filters fieldset{clear:both;margin-bottom:1.5em;position:relative}.filters fieldset select{display:block;width:100%}.filters fieldset label{display:block;margin-bottom:3px}.filters fieldset .show-letters{color:#2397db;text-decoration:underline;float:left;clear:left;margin-top:5px}.filters .btn-block-red{display:block;clear:both;width:100%;padding:10px 0;margin-top:10px}.letters{display:block;position:absolute;bottom:0;left:0;width:98%;max-width:300px;background:#222;color:white;font-size:0.875em;padding:10px;border:3px solid #2397db;z-index:-500;opacity:0;-ms-filter:"alpha(opacity=0)";-webkit-transition:opacity 300ms linear;-moz-transition:opacity 300ms linear;-o-transition:opacity 300ms linear;transition:opacity 300ms linear}.letters .letter-links{display:block;padding:15px;text-align:center;clear:both;cursor:pointer}.letters .letter-links a{color:white;margin-right:4px}.letters .close-letters{float:right;margin-left:10px;margin-bottom:6px;color:white;width:20px;height:20px;background:#2397db;text-transform:uppercase;position:relative}.letters .close-letters:after{content:'';display:block;position:absolute;left:2px;top:2px;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;width:15px;height:15px;background-position:-59px -128px}@media only screen and (-webkit-min-device-pixel-ratio:2){.letters .close-letters:after{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.letters.open{z-index:2;opacity:1;-ms-filter:"alpha(opacity=100)"}.filter-group{display:block}.filter-group .group-head{display:block;background:#eee;color:black;position:relative;height:60px;border-bottom:1px solid white;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.filter-group .group-head .h5{margin:0;display:block;line-height:60px;padding:0 12px}.filter-group .group-head:after{content:'';width:16px;height:16px;display:block;position:absolute;right:15px;top:50%;margin-top:-8px;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;background-position:-56px -358px}@media only screen and (-webkit-min-device-pixel-ratio:2){.filter-group .group-head:after{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.filter-group .group-head:hover{background:#dedede}.filter-group .group-body{display:none;clear:both;background:#747474;padding:12px;color:white}.filter-group .checks{list-style-type:none;display:block}.filter-group .checks li{margin-bottom:5px;font-size:0.875em;display:block;clear:both;width:100%}.filter-group.open .group-head{background:#464646;color:white}.filter-group.open .group-head:after{background-position:-113px -358px}.filter-group.open .group-head:hover{background:#3b3b3b}.results-list{display:block;clear:both;margin-bottom:2em}.results-page .main{padding-top:10px}.results-page aside{padding-top:20px}.result{display:block;clear:both;margin-bottom:2em;border:1px solid black}.result .inner-pad{position:relative}.result .pick-result{position:absolute}.result .rating{font-size:0.875em}.result .featured-tag{display:none}.result .head{display:block;clear:both;margin-bottom:1em}.result .preview{display:block;clear:both;float:left;width:35%;position:relative}.result .thumb{display:block}.result .thumb img{display:block;width:100%;height:auto}.result table.standard{width:100%}.result .quick-view-link{display:block;clear:both;text-align:center;background:black;color:white;font-family:'Napco_1';font-weight:700;font-size:0.875em;text-transform:uppercase;padding:4px 0}.result .quick-view-link:hover{background:#222;text-decoration:none}.result .contact{display:block}.result .excerpt{display:block;clear:both;margin-bottom:1em}.result .excerpt p{font-family:'Napco_2'}.result .bonus{display:block;clear:both;border-top:1px solid #e3e3e3;padding-top:1em}.result .bonus .left{float:left;width:65%}.result .bonus .left strong, .result .bonus .left .h4{display:block}.result .bonus .right{float:right;width:30%}.result .bonus .btn-block-red{float:right;padding:6px 35px;margin-bottom:10px}@media (max-width:480px){.result .bonus .left{width:55%}.result .bonus .right{width:40%}}.result .view-map{clear:both;float:right;position:relative;text-decoration:underline;font-weight:700;padding-right:18px;cursor:pointer}.result .view-map:after{content:'';display:block;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;width:10px;height:18px;background-position:-42px -358px;position:absolute;right:0;top:2px}@media only screen and (-webkit-min-device-pixel-ratio:2){.result .view-map:after{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.result .map-wrap{display:none;clear:both;padding:0 3% 3% 3%}.result .map-wrap .map{display:block;border:1px solid #bfbfbf;margin-bottom:1em}.result .map-wrap .btn-block-red{float:right;padding:6px 20px}.result.detail-view .inner-pad, .result.quick-view .inner-pad{padding:4% 4% 4% 8%}.result.detail-view .pick-result, .result.quick-view .pick-result{left:2%;top:3%}.result.detail-view .rating, .result.quick-view .rating{float:left}.result.detail-view .preview, .result.quick-view .preview{width:35%;float:left}.result.detail-view .text-wrap, .result.quick-view .text-wrap{float:right;width:61%}.result.detail-view .result-title, .result.quick-view .result-title{font-size:1.5em;font-weight:700;display:block;clear:both;line-height:1.2em;margin-bottom:.5em}.result.detail-view table.standard, .result.quick-view table.standard{margin-bottom:5px}.result.detail-view .cruise-ext-link, .result.quick-view .cruise-ext-link{color:#2397db;font-weight:700;float:left;clear:both;margin-bottom:.5em}.result.cruise.detail-view .excerpt, .result.cruise.quick-view .excerpt{border-top:1px solid #bfbfbf;padding-top:1em}.result.cruise.detail-view .bonus, .result.cruise.quick-view .bonus{border-top:none}.result.cruise.detail-view .bonus .btn-block-red, .result.cruise.quick-view .bonus .btn-block-red{float:left}.result.cruise.detail-view .bonus .view-map, .result.cruise.quick-view .bonus .view-map{margin-top:5px}.result.featured{border-color:#2397db;background:#f7f7f7}.result.featured .featured-tag{display:block;padding:2px 0;color:white;background:#2397db;text-align:center;font-weight:700;font-family:'Napco_1';text-transform:uppercase}.result.featured .preview{width:48%}.result.featured .quick-view-link{padding:8px 0;font-size:1em}.result.featured .text-wrap{width:48%}.result.block-view .inner-pad{padding:3% 3% 3% 8%}.result.block-view .pick-result{left:2%;top:15px}.result.block-view .rating{float:right;width:35%;min-height:50px}.result.block-view .text-wrap{float:left;width:60%}.result.block-view .result-title{display:block;line-height:1.2em}.result.block-view small{display:block;clear:both;font-size:0.875em}@media only screen and (max-width:320px){.result.block-view .inner-pad{padding:3% 3% 3% 10%}.result.block-view .pick-result{top:8px}}.result.cruise.block-view .text-wrap{width:100%}.result.cruise.block-view .result-title{margin-bottom:.4em}.result.cruise.block-view .lead{margin-bottom:.5em}.result.quick-view{max-width:680px;width:100%;border:none}.result.quick-view .qv-nav{display:block;height:35px;background:black}.result.quick-view .inner-pad{padding:20px;overflow:auto;max-height:800px}.result.quick-view .pager{float:left;margin:6px 0 0 10px}.result.quick-view .pager a, .result.quick-view .pager i{color:white;font-style:normal;float:left;position:relative}.result.quick-view .pager i{margin:0 5px}.result.quick-view .pager a:hover{color:#2397db}.result.quick-view .pager a:after{content:'';width:10px;height:16px;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;position:absolute;top:50%;margin-top:-8px}@media only screen and (-webkit-min-device-pixel-ratio:2){.result.quick-view .pager a:after{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.result.quick-view .pager .prev-modal{padding-left:15px}.result.quick-view .pager .prev-modal:after{background-position:-33px -128px;left:0}.result.quick-view .pager .next-modal{padding-right:15px}.result.quick-view .pager .next-modal:after{background-position:-45px -128px;right:0}.result.quick-view .close-modal{float:right;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;width:15px;height:15px;display:block;margin:10px 10px 0 0;background-position:-59px -128px}@media only screen and (-webkit-min-device-pixel-ratio:2){.result.quick-view .close-modal{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.result.quick-view .preview{max-width:200px;position:relative}.result.quick-view .modal-img-next, .result.quick-view .modal-img-prev{width:30px;height:30px;background:rgba(0, 0, 0, 0.5);display:block;position:absolute;top:50%;margin-top:-15px;z-index:2}.result.quick-view .modal-img-next:after, .result.quick-view .modal-img-prev:after{content:'';display:block;background:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;width:10px;height:16px;position:absolute;top:50%;margin-top:-8px;left:50%}@media only screen and (-webkit-min-device-pixel-ratio:2){.result.quick-view .modal-img-next:after, .result.quick-view .modal-img-prev:after{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.result.quick-view .modal-img-next.disabled, .result.quick-view .modal-img-prev.disabled{opacity:.2;-ms-filter:"alpha(opacity=20)"}.result.quick-view .modal-img-prev{left:0}.result.quick-view .modal-img-prev:after{background-position:-33px -128px;margin-left:-6px}.result.quick-view .modal-img-next{right:0}.result.quick-view .modal-img-next:after{background-position:-45px -128px;margin-left:-4px}.result.quick-view .lead{display:block;clear:both;margin-bottom:20px}.result.quick-view .text-wrap{float:left;margin-left:20px}.result.quick-view .bonus{border:1px solid #a6a6a6;padding:15px 20px;margin-bottom:20px}.result.quick-view .btn-block-red{margin-top:20px;margin-bottom:0}.result.quick-view .post-body p{font-size:1em;font-family:'Napco_2';padding-bottom:1.5em;line-height:1.5em}.result.quick-view .cruise-detail-link{float:left;clear:left;padding:6px 25px;margin-bottom:20px}@media (max-width:900px){#social-floater.scroll-to-fixed-fixed{position:relative !important;left:initial !important;top:initial !important}#social-floater.scroll-to-fixed-fixed ~ div{display:none !important}#social-floater .share-bar{padding:10px;margin-bottom:40px;height:46px}#social-floater .share-bar .share-btn{display:inline-block;margin-bottom:0}#social-floater .share-bar .share-btn a{margin-left:10px}#social-floater .share-bar .share-btn .label{display:none}}.share-bar{text-transform:uppercase;width:100%;min-width:140px;background:#2397db;padding:16px 0 5px 0}.share-bar .title{text-align:center;display:block;color:white;margin-bottom:2px;height:36px;line-height:36px}.share-bar .share-btn{display:block;clear:both;margin-bottom:5px}.share-bar .share-btn:after{content:".";display:block;height:0;clear:both;visibility:hidden}.share-bar .share-btn a{float:left;width:26px;height:26px;margin-left:20px}.share-bar .share-btn .label{float:left;width:auto;height:26px;margin:-21px 22px 0 28px;font-size:0.8125em;color:white;padding:0 10px}.share-bar .share_icon{display:block;text-indent:-9999em;width:26px;height:26px}.share-bar .share_icon.share_fb{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/icn-soc-fb-x2.png) center center no-repeat;background-size:26px 26px}.share-bar .share_icon.share_twtr{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/icn-soc-tw-x2.png) center center no-repeat;background-size:26px 26px}.share-bar .share_icon.share_li{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/icn-soc-li-x2.png) center center no-repeat;background-size:26px 26px}.share-bar .share_icon.share_gp{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/icn-soc-gp-x2.png) center center no-repeat;background-size:26px 26px}.share-bar .share_icon.share_email{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/icn-soc-em-x2.png) center center no-repeat;background-size:26px 26px}.share-bar .share_icon.share_count{background:url(/wp-content/themes/napco-editorial/css/structure/../../images/icn-soc-blank-x2.png) center center no-repeat;background-size:26px 26px;overflow:hidden;text-indent:0;text-align:center;line-height:26px;color:#2397db;font-size:0.875em;font-weight:900}.share-bar .share-btn .comment_label.label{margin-left:47px}#webinar-link{display:inline-block;text-decoration:none;color:white;font-weight:700;padding:6px 0}.squares{display:block;clear:both;border:1px solid #ccc;padding:2%}.squares .title{display:block;clear:both;margin-bottom:25px}.squares .square{float:left;width:31.3%;margin-right:3%;margin-bottom:3%;position:relative;overflow:hidden;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.squares .square:nth-of-type(3n){margin-right:0}@media (max-width:480px){.squares .square{width:48.5%}.squares .square:nth-of-type(3n){margin-right:3%}.squares .square:nth-of-type(2n){margin-right:0%}}.squares .shade{-webkit-transition:height 400ms ease-in-out;-moz-transition:height 400ms ease-in-out;-o-transition:height 400ms ease-in-out;transition:height 400ms ease-in-out;position:absolute;left:0;bottom:0;width:100%;height:35%;background:rgba(0, 0, 0, 0.7);color:#fff;text-decoration:none !important}.squares .shade .inner-pad{padding:10px}.squares .shade a{color:#fff;display:block}.squares .shade p{-webkit-transition:opacity 400ms ease-in-out;-moz-transition:opacity 400ms ease-in-out;-o-transition:opacity 400ms ease-in-out;transition:opacity 400ms ease-in-out;opacity:0}@media (max-width:480px){.squares .shade{font-size:.875em}}@media (max-width:320px){.squares .shade{font-size:.750em}}.squares .square.on-css .shade{height:100%}.squares .square.on-css .shade p{opacity:1}.expstickybar{position:fixed;color:#ddd;padding:5px;right:0;left:0;visibility:hidden;z-index:10000;background-color:#333;-moz-box-shadow:0 0 4px 2px #888;-webkit-box-shadow:0 0 4px 2px #888;box-shadow:0 0 4px 2px #888;filter:"progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.30)";zoom:1}.expstickybar a{color:#ddd;font-weight:700}#stickybar .close{position:absolute;top:0;right:0;padding-right:10px;padding-top:3px;display:block;cursor:pointer}#sticky{text-align:center;padding-top:3px;width:87%;margin:0 auto}#stickymore{margin-top:10px}.open{display:block}.close{display:none}#sticky .widget{margin:0;max-width:none}#sticky .widget.doubleclick{background-color:transparent}/* * Swiper 2.6.1 * Mobile touch slider and framework with hardware accelerated transitions * * http://www.idangero.us/sliders/swiper/ * * Copyright 2010-2014, Vladimir Kharlampidi * The iDangero.us * http://www.idangero.us/ * * Licensed under GPL & MIT * * Released on:May 6, 2014*/.swiper-container{position:relative;overflow:hidden;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-wrapper{position:relative;width:100%;-webkit-transition-property:-webkit-transform, left, top;-webkit-transition-duration:0s;-webkit-transform:translate3d(0px, 0, 0);-webkit-transition-timing-function:ease;-moz-transition-property:-moz-transform, left, top;-moz-transition-duration:0s;-moz-transform:translate3d(0px, 0, 0);-moz-transition-timing-function:ease;-o-transition-property:-o-transform, left, top;-o-transition-duration:0s;-o-transform:translate3d(0px, 0, 0);-o-transition-timing-function:ease;-o-transform:translate(0px, 0px);-ms-transition-property:-ms-transform, left, top;-ms-transition-duration:0s;-ms-transform:translate3d(0px, 0, 0);-ms-transition-timing-function:ease;transition-property:transform, left, top;transition-duration:0s;transform:translate3d(0px, 0, 0);transition-timing-function:ease;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.swiper-free-mode > .swiper-wrapper{-webkit-transition-timing-function:ease-out;-moz-transition-timing-function:ease-out;-ms-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{float:left}.swiper-wp8-horizontal{-ms-touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x}/* ===============================================================Your custom styles, here you need to specify container's and slide'ssizes, pagination, etc.================================================================*/.swiper-container{/*width:200px;height:100px;*/}.swiper-slide{/*width:100%;height:100%;*/}.swiper-slide-active{}.swiper-slide-visible{}/* ===============================================================Pagination Styles================================================================*/.swiper-pagination-switch{}.swiper-active-switch{}.swiper-visible-switch{}.tab-content > .tab-pane{display:none}.tab-content > .active{display:block}.fade{opacity:0;-webkit-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height 0.35s ease;transition:height 0.35s ease}ul.bjqs{position:relative;list-style:none;padding:0;margin:0;overflow:hidden;display:none;text-align:center}li.bjqs-slide{position:absolute;display:none}li.bjqs-slide img{height:100%}ul.bjqs-controls{list-style:none;margin:0;padding:0;z-index:9999}ul.bjqs-controls.v-centered li a{position:absolute;font-size:1.7em;color:#fff;text-shadow:1px 1px 1px #000}ul.bjqs-controls.v-centered li.bjqs-next a{right:6px}ul.bjqs-controls.v-centered li.bjqs-prev a{left:6px}ol.bjqs-markers{list-style:none;padding:0;margin:0;width:100%}ol.bjqs-markers.h-centered{text-align:center;margin:1em 0}ol.bjqs-markers li{display:inline}ol.bjqs-markers li a{display:inline-block;margin-right:.4em}p.bjqs-caption{display:block;width:96%;margin:0 !important;padding:2%;position:absolute;bottom:0;background-color:rgba(0,0,0,0.65);color:#fff;font-weight:bold;font-size:1.7em}.centerizer{display:block;width:100%;max-width:1170px;margin:0 auto;padding-left:15px;padding-right:15px}.pull-left{float:left !important}.pull-right{float:right !important}.swap-right{float:right}@media handheld, only screen and (max-width:480px){.swap-right{float:none}}.break{display:block;clear:both}.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}*:first-child + html .clearfix{zoom:1}.cf:before,.cf:after{content:" ";display:table}.cf:after{clear:both}/** * For IE 6/7 only * Include this rule to trigger hasLayout and contain floats. */.cf{*zoom:1}.img-responsive{display:block;width:100%;height:auto}.push-down-10{margin-bottom:10px;/*@media handheld, only screen and (max-width:480px){margin-bottom:10px}*/}.push-down-20{margin-bottom:20px;/*@media handheld, only screen and (max-width:480px){margin-bottom:10px}*/}.push-down-30{margin-bottom:30px;/*@media handheld, only screen and (max-width:480px){margin-bottom:15px}*/}.push-down-40{margin-bottom:40px;/*@media handheld, only screen and (max-width:480px){margin-bottom:20px}*/}.push-down-50{margin-bottom:50px;/*@media handheld, only screen and (max-width:480px){margin-bottom:25px}*/}.push-right-20{margin-right:20px}.bottom-border{border-bottom:solid 1px #ababab}.bottom-border.padded{padding-bottom:30px}.no-side-pad{padding-left:0 !important;padding-right:0 !important}.no-side-marg{margin-left:0 !important;margin-right:0 !important}.pad-up-down{padding-top:18px;padding-bottom:18px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important;visibility:hidden !important}input[type=checkbox].css-checkbox{position:absolute;z-index:-1000;left:-1000px;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0}input[type=checkbox].css-checkbox + label.css-label{padding-left:25px;height:18px;display:inline-block;line-height:18px;background-repeat:no-repeat;background-position:0 0;font-size:0.875em;vertical-align:middle;cursor:pointer;font-weight:bold}input[type=checkbox].css-checkbox:checked + label.css-label{background-position:0 -18px}label.css-label{background-image:url(/wp-content/themes/napco-editorial/css/structure/../../images/checkbox-all.png);-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-right:20px}select.css-select{background:#fff;border:solid 1px #000;height:26px;font-size:0.875em;font-weight:bold;min-width:276px}@-ms-viewport{width:device-width}.visible-xs, .visible-sm, .visible-md, .visible-lg{display:none !important}@media (max-width:480px){.visible-xs{display:block !important}table.visible-xs{display:table}tr.visible-xs{display:table-row !important}th.visible-xs, td.visible-xs{display:table-cell !important}}@media (min-width:481px) and (max-width:768px){.visible-sm{display:block !important}table.visible-sm{display:table}tr.visible-sm{display:table-row !important}th.visible-sm, td.visible-sm{display:table-cell !important}}@media (min-width:769px) and (max-width:900px){.visible-md{display:block !important}table.visible-md{display:table}tr.visible-md{display:table-row !important}th.visible-md, td.visible-md{display:table-cell !important}}@media (min-width:901px){.visible-lg{display:block !important}table.visible-lg{display:table}tr.visible-lg{display:table-row !important}th.visible-lg, td.visible-lg{display:table-cell !important}}@media (max-width:480px){.hidden-xs{display:none !important}}@media (min-width:481px) and (max-width:768px){.hidden-sm{display:none !important}}@media (min-width:769px) and (max-width:900px){.hidden-md{display:none !important}}@media (min-width:901px){.hidden-lg{display:none !important}}.visible-print{display:none !important}@media print{.visible-print{display:block !important}table.visible-print{display:table}tr.visible-print{display:table-row !important}th.visible-print, td.visible-print{display:table-cell !important}}@media print{.hidden-print{display:none !important}}.widget{display:block;clear:both;margin-bottom:45px;position:relative;width:100%;max-width:360px}@media handheld, only screen and (max-width:768px){.widget{max-width:300px;min-width:300px;width:auto}}@media handheld, only screen and (max-width:649px){.widget{float:none;display:block;clear:both;max-width:400px;width:auto;margin:0 auto;margin-bottom:30px}.main .post-list-template-A, .main .post-list-template-B, .main .post-list-template-C, .main .post-list-template-F, .main .post-list-template-G, .main .post-list-template-P{width:100% !important;margin-bottom:10px !important}}.widget .post-thumb-half{width:130px !important;max-width:130px !important}.widget .post-thumb-half.quarter{width:113px !important;max-width:113px !important}.widget .post-thumb-half.bordered{width:128px !important;max-width:128px !important;border:solid 1px #d4d4d4}.widget .post-thumb-half.quarter.bordered{width:111px !important;max-width:111px !important}.widget .post-thumb-full.bordered{border:solid 1px #d4d4d4}.widget .feed-col .label.img-float{padding-bottom:6px;padding-top:6px}.widget .promo p{font-size:0.75em;font-weight:900}.rail-container .widget{margin-bottom:20px}.rail-container .widget .bgcolor[class*=list-widget]{}.rail-container .widget .bordered article.post-preview,.rail-container .widget .bgcolor article.post-preview{border-top:solid #ccc 1px;padding:10px 0px;font-family:Napco_2, sans-serif}.rail-container .widget .bordered article.post-preview:first-child,.rail-container .widget .bgcolor article.post-preview:first-child{border-width:0;padding-top:0}.rail-container .widget .bordered .inner-pad,.rail-container .widget .bgcolor .inner-pad{padding:32px 20px}.rail-container .widget .bgcolor .more-link{text-align:right;font-weight:bold}.rail-container .widget .shaded .label,.rail-container .widget .bgcolor .label{padding:0 0 8px 0}.rail-container .widget .shaded .h5b,.rail-container .widget .bgcolor .h5b{display:block;padding:0 0 8px 0}.rail-container .widget .textwidget article,.rail-container .newsletter.signup-all .inner-pad{padding:10px}.rail-container .widget .textwidget article{padding-top:35px;background-color:#ebebeb}.rail-container .product-search .push-down-20{margin-bottom:0}[role=main] .widget{max-width:none}/* ===============================================================Default Right Sidebar Styles================================================================*/.rail-container.bgcolor .widget{background:none repeat scroll 0 0 #ebebeb}.rail-container.bordered .widget{border:1px solid #d4d4d4}.rail-container.bgcolor.pix .widget{background:none repeat scroll 0 0 #142738;color:#fff;padding:0}.widget.rail-carousel .bucket-carousel .post-title{font-size:0.75em;font-weight:normal;margin-bottom:0}.rail-container.bgcolor .widget .inner-pad{padding:20px}.generic-right-widget{margin-top:20px}#right-rail .col-sm-6{width:auto}.rail-container.napco-partner-jobs .widget .bgcolor .inner-pad{}.rail-container.napco-partner-jobs .widget .bgcolor .label{padding-bottom:3px}.rail-container.napco-partner-jobs .widget .bgcolor p{margin-bottom:1em}.widget .textwidget .h2{font-size:1.25em;font-weight:900;line-height:1.2;color:black}.rsswidget{font-size:1em;font-weight:700}.rss-2 .clearfix li:last-child{margin-bottom:20px}.section-head .h2 a.rsswidget{color:white}.widget ul{font-size:0.875em;font-weight:normal;margin-left:20px;margin-top:10px}.widget ul li{margin-bottom:.9em}.rail-container.taxonomy-terms .widget .bgcolor article.post-preview{border-width:0}.rail-container.taxonomy-terms .widget .bgcolor article.post-preview img.pull-left{margin-right:.5em}.rail-container.taxonomy-terms .feed-col{height:100px;overflow:hidden}.feed-col article:first-child{border:medium none;padding-top:0}.feed-col .post-preview{padding:10px 0}.feed-col .post-preview{border-top:1px solid #ccc}.main .widget-container{background-color:#fff;margin-bottom:1em}.main .widget-container .widget:last-child{float:right;margin-right:0}@media (max-width:768px){.main .widget-container .widget:last-child{float:none}}.rail-container .magazine.signup-all.no-mag .inner-pad{padding:14px 10px 0}.rail-container .magazine.signup-all.no-mag .inner-pad .logo{float:left;margin:7px 10px 10px 0}[id*=list-widget].CarouselMultiImageTaxonomyTitle{margin-top:26px}[id*=list-widget].CarouselMultiImageTaxonomyTitle .section-head{}[id*=list-widget].CarouselLogoTextCTAMultiImageTaxonomyTitle .section-head{top:23px;left:256px;background-color:transparent}[id*=list-widget].CarouselLogoTextCTAMultiImageTaxonomyTitle .section-head .h2{color:#fff;font-family:'Napco_1';font-size:0.9375em;line-height:1;height:15px;padding:9px 0}[id*=list-widget].post-list-template-S .section-head{margin-bottom:-20px}[id*=list-widget].post-list-template-Q .section-head{margin-bottom:-15px}#page-brand_extension .widget,.home-page .widget{margin-bottom:0px}.main .post-list-template-A .col-sm-6,.main .post-list-template-B .col-sm-6,.main .post-list-template-C .col-sm-6,.main .post-list-template-F .col-sm-6,.main .post-list-template-G .col-sm-6,.main .post-list-template-P .col-sm-6, .main .post-list-template-T .col-sm-6{width:100%}.main .post-list-template-A,.main .post-list-template-B,.main .post-list-template-C,.main .post-list-template-F,.main .post-list-template-G,.main .post-list-template-P,.main .post-list-template-T, .main .napco-webinars-carousel_multi, .main .napco-webinars-carousel_single, .main .widget.popular-posts{display:inline-block;width:47%;vertical-align:top;margin-right:15px}.main .widget-container .widget.popular-posts{margin-right:15px !important}.home-page .CarouselMultiImageTaxonomyTitle .swiper-outter-conttainer{padding-top:19px}.post-list-template-G .feed .feed-col article:first-child, .post-list-template-F .feed .feed-col article:first-child{padding-top:15px}.post-list-template-S .more-link{margin:1em 0 2em 0}.post-list-template-S .push-down-40{margin-bottom:20px}.post-list-template-S .more-button-holder{padding-bottom:60px}.rail-container.resources .widget{padding:2em 1em 0 1em}.rail-container.resources input[type=text]{border:1px #ccc solid;width:80%;font-size:1em;padding:0.3em}.rail-container.resources h4{margin-bottom:.4em}.rail-container.resources ul{margin:0 0 1em 0;-webkit-column-count:2;-moz-column-count:2;column-count:2}.rail-container.resources li{list-style-type:none;padding:0;margin:0 0 .4em 0;font-size:.9em;display:inline-block;width:100%}/*.rail-container.resources li input[type=checkbox]{float:left}.rail-container.resources li a{float:left;width:85%;margin-left:.2em}*/</style> <!-- napco theme styles (wp-content/themes/napco-editorial/css/post-styles) --> <style>/* ===============================================================About US page content section Styles================================================================*/#about-us-content ul li{background:url(/wp-content/themes/napco-editorial/css/post-styles/../../../images/listicon_sprite.gif) no-repeat scroll left top rgba(0, 0, 0, 0);padding-left:25px;list-style:none;background-position:7px 4px}#about-us-content a{color:black;cursor:pointer;text-decoration:none}#about-us-content ul li{margin:8px 0;overflow:hidden}#about-us-content a{border-bottom:1px dotted #999}#about-us-content a, #about-us-content p{color:#000;font-family:Arial,Helvetica,sans-serif;font-weight:normal}.author-listing .list-item{margin-bottom:14px}.author-listing img.pull-left{margin-right:16px}.author-listing .page-link{display:block;color:#2397db;font-size:0.75em;width:75%}.author-listing .bio{font-size:0.75em;line-height:1.4;display:block}.author-listing .share_icon{display:inline-block;text-indent:-9999px;width:24px;height:24px;margin-left:2px}.author-listing .share_icon.share_em{background:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/icn-soc-em-blue-x2.png) center center no-repeat;background-size:24px}.author-listing .share_icon.share_fb{background:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/icn-soc-fb-blue-x2.png) center center no-repeat;background-size:24px}.author-listing .share_icon.share_tw{background:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/icn-soc-tw-blue-x2.png) center center no-repeat;background-size:24px}.author-listing .share_icon.share_li{background:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/icn-soc-li-x2.png) center center no-repeat;background-size:24px}.author-listing .post-avatar{margin-right:16px;float:left}.media-head .hud{display:block;clear:both;margin-bottom:1.5em}.media-head .media-selector a{display:inline-block;line-height:35px;background:#d8d8d8;color:#656565;font-family:'Napco_1';text-transform:uppercase;padding:0 12px}.media-head .media-selector a:hover{text-decoration:none;background:#e4e4e4}.media-head .media-selector a.active{background:black;color:white;font-weight:700}.media-head .sort-by{display:block;text-align:right}.media-head .sort-by label{display:inline-block;line-height:35px;color:#2397db;font-family:'Napco_1';text-transform:uppercase;padding-right:6px}.media-head .choose{display:block;clear:both;margin-bottom:2em}.media-head .choose .h3{float:left}.media-head .choose .dropdown{float:left;min-width:200px;margin:5px 0 0 20px}.media-head .choose .customSelectInner{width:100% !important}@media (max-width:600px){.media-head .hud{margin-bottom:0}.media-head .sort-by{text-align:center}.media-head .media-selector{margin-bottom:1.2em;display:block;text-align:center}.media-head .choose{width:250px;margin:0 auto;display:block;margin-bottom:1.5em}.media-head .choose .h3{text-align:center;float:none;display:block;clear:both}.media-head .choose .dropdown{clear:both;float:none;display:block;margin:0 auto}}.media-post .media-thumb{position:relative;display:block;margin-bottom:.5em;cursor:pointer}.media-post .media-thumb a{display:block;position:absolute;left:0;top:0;width:100%;height:100%}.media-post .media-thumb a img{display:block;width:100%;height:auto}.media-post .media-thumb a:after{content:'';position:absolute;height:28px;top:50%;left:50%;margin-top:-14px;background:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;z-index:4;opacity:1;-ms-filter:"alpha(opacity=100)";-webkit-transition:opacity 500ms ease;-moz-transition:opacity 500ms ease;-o-transition:opacity 500ms ease;transition:opacity 500ms ease}@media only screen and (-webkit-min-device-pixel-ratio:2){.media-post .media-thumb a:after{background-image:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.media-post .media-thumb a:before{content:'';position:absolute;width:100%;height:100%;top:0;left:0;background:rgba(0, 0, 0, 0.4);z-index:3;-webkit-transition:opacity 500ms ease;-moz-transition:opacity 500ms ease;-o-transition:opacity 500ms ease;transition:opacity 500ms ease}.media-post .media-thumb:hover a:before, .media-post .media-thumb:hover a:after{opacity:0;-ms-filter:"alpha(opacity=0)"}.media-post .media-title{display:block;clear:both;line-height:1.2em}.media-post.type-video .media-thumb a:after{width:28px;margin-left:-14px;background-position:-241px 0}.media-post.type-ss .media-thumb a:after{width:35px;margin-left:-17px;background-position:-308px 0}.media-post.type-audio .media-thumb a:after{width:28px;margin-left:-14px;background-position:-274px 0}.featured-media .media-post .media-thumb a:before{width:70px;height:70px;background:rgba(0, 0, 0, 0.8);z-index:1;left:50%;margin-left:-35px;top:50%;margin-top:-35px}@media (max-width:600px){.featured-media .media-post{text-align:center}.featured-media .media-post:first-child{margin-bottom:2em}}.media-page .double-line{margin:2.5em 0}.media-feed .media-post{height:180px}@media (max-width:480px){.media-feed .media-post{height:150px}}.media-feed .media-title{font-size:1em;font-weight:700}.media-feed .line{margin:2em 0}.media-detail-top{background:white;padding-top:1em;display:block}.media-detail-top .search-nav-wrap{display:block;clear:both;margin-bottom:1.2em}.media-detail-top .back-to-media{float:left;color:white;background:#2397db;height:44px;line-height:44px;font-family:'Napco_1';font-weight:700;padding:0 12px 0 40px;font-size:1.5em;position:relative}.media-detail-top .back-to-media:hover{background:#d22029;text-decoration:none}.media-detail-top .back-to-media:after{content:'';display:block;position:absolute;background:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;width:24px;height:24px;background-position:-147px -158px;left:8px;top:50%;margin-top:-12px}@media only screen and (-webkit-min-device-pixel-ratio:2){.media-detail-top .back-to-media:after{background-image:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.media-detail-top .search-block{float:right;width:40%;clear:none}@media (max-width:480px){.media-detail-top .back-to-media{float:none;display:block;margin:0 auto;text-align:center;margin-bottom:1em}.media-detail-top .search-block{float:none;width:auto;display:block;clear:both}}.media-detail-mid{background:black;padding:2em 0;display:block;clear:both;color:white}.media-detail-mid .video-wrap{display:block;clear:both;margin-bottom:1em}.media-detail-mid h1{display:block;clear:both;margin-bottom:0.8em}.media-detail-mid .ad-300{display:block;clear:both;max-width:300px;margin:0 auto}.media-detail-mid .ad-300.top{margin-bottom:1.5em}@media (max-width:480px){.media-detail-mid .content-area{margin-bottom:1.2em}}.media-detail-bot{background:white;display:block;clear:both;padding:1.5em 0}.wp-gallery{margin:.4em 0 2em 0}.wp-gallery ol.bjqs-markers{display:none}.post-body .wp-gallery ul li{list-style-type:none;background:none;padding:0;margin:0}.lead-post figure{max-height:300px;overflow:hidden}.posts-swiper{text-align:center}.blog-label-link{color:#6289B1 !important;display:block;font-weight:700 !important;line-height:1.2 !important;text-transform:uppercase}.post-more.newer-posts{float:left !important}.list-industry-centers #results{margin-bottom:10px}/* ===============================================================Post template content section Styles================================================================*/.post-blog-cat-label{color:#6289b1;display:inline;list-style:none;font-weight:700;line-height:1.2;padding:10px 0;text-transform:uppercase}div.newsletter-intro h3 a{color:#233982;font-size:14px;font-weight:bold}#newsletter-main div.newsletter-intro{border-bottom:1px solid #ccc;clear:both;margin:0 0 10px;padding:0 0 10px;width:640px}.staff-content ul li{background:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/listicon_sprite.gif) no-repeat scroll left top rgba(0, 0, 0, 0);padding-left:25px;list-style:none;background-position:7px 4px}.staff-content .contact{margin:10px 0}.staff-content{line-height:1.4em}.blog-channel-slider{border:1px solid #d4d4d4;margin-left:0;margin-right:0;padding-bottom:20px;padding-top:20px}.main .napco-ad{text-align:center;border:1px #ccc solid;padding:.5em;margin-bottom:40px}.main .textad .napco-ad{border-width:0}.rail-container.doubleclick span.h2{display:none}/* ===============================================================Blogs template content section Styles================================================================*//*.blog-author-first-img img{width:164px;height:224px}.blog-author-img img{width:100px;height:140px}.blog-slider-author-img img{height:125px;width:118px}*/.author-info{margin-bottom:16px}.author-name-link{color:#6289b1}.other-cat-bloggers:last-child{border-bottom:none}.main-author{border-bottom:1px solid #c2c2c2;padding-bottom:16px}.author-listing .author-bio{margin-top:16px;padding-top:16px}/* ===============================================================Blog_channel template slider section Styles================================================================*/.term-name-link{color:#6289b1;display:block;font-size:0.75em;font-weight:700;line-height:1.2;padding-top:10px;text-transform:uppercase}.sitenewsletter-contents{padding:.5em;margin:1em .4em;border:1px #999 solid;background-color:#efefef}.sitenewsletter-contents h4{margin-bottom:.4em;font-size:1.3em}.sitenewsletter-contents h5{margin-bottom:.4em}#aggregatedcontent-links{margin-bottom:24px;font-weight:500}#aggregatedcontent-external{float:left}#aggregatedcontent-source{float:right}#comments-container{margin-top:3px}.blog-channel-slider .term-name-link-label{margin-bottom:0}.audio-embed{margin-bottom:20px;text-align:center}.body-main .BrightcoveExperience{min-height:312px}.post-media-slider{margin-bottom:0}.post-body .post-media-slider{margin-bottom:1em}.body-main .post-media-slider .row.push-down-40{margin-bottom:0;padding:0}.post-media-slider img{margin-bottom:10px}.industrycener-other-news article:first-child{padding:20px 0 !important}.webinar-listing h4.webinar-title{font-size:1.4em}#webinars-archive-more{text-align:right;font-weight:bold;font-size:1.2em}#webinar-archive-pagination{float:right;padding:15px}.spinner{background:url('/wp-admin/images/wpspin_light.gif') no-repeat;float:right;opacity:.9;filter:alpha(opacity=90);width:16px;height:16px}.spinner-big{background:url('/wp-admin/images/wpspin_light-2x.gif') no-repeat;float:right;opacity:.9;filter:alpha(opacity=90);width:32px;height:32px}#sponsored-video-placeholder, #sponsored-resource-placeholder, #upnext-video-placeholder{width:10px;margin:0 auto}#upnext-video-header{display:none}.bio.author-bio p{font-size:1em;font-weight:300;line-height:1.4;margin-bottom:1em}#search-results article > ul{margin-left:30px;margin-top:10px}.type-industrycenter .industrycenter-intro{margin:14px}body.mce-content-body{background-image:none}.post-body{display:block;clear:both;margin-bottom:1.8em}.post-body .body-main p{font-size:1em;font-weight:300;line-height:1.4}.post-body p{font-size:1.125em;padding-bottom:1.75em;line-height:1.75em}.post-body p a, .post-body li a{color:#2397db}.post-body .related{font-size:0.8125em;font-weight:bold}.post-body .related a{color:#2397db}.post-body .highlights, .post-body .insert{width:33%;background:#e5e5e5;color:black;padding:15px;margin-bottom:1em}@media handheld, only screen and (max-width:500px){.post-body .highlights, .post-body .insert{width:50%}}@media handheld, only screen and (max-width:700px){.post-body iframe{width:100% !important}}@media handheld, only screen and (max-width:320px){.post-body .highlights, .post-body .insert{width:100%;display:block;clear:both}}.post-body .highlights .h4, .post-body .insert .h4{line-height:1.2em;display:block;padding-bottom:.8em}.post-body .highlights p, .post-body .insert p{font-size:0.875em;font-weight:300;padding-bottom:1em;line-height:1.28}.post-body .highlights p:last-child, .post-body .insert p:last-child{padding-bottom:0}.post-body .insert{background:#eee;color:black}.post-body .insert .thumb{display:block;margin-bottom:1em}.post-body .insert .thumb a{display:block;margin-bottom:5px}.post-body .insert cite{display:block;clear:both;font-size:0.75em}.post-body .related-content{background:#5b5b5b;color:white;width:50%;padding:10px}@media handheld, only screen and (max-width:320px){.post-body .related-content{width:100%;display:block;clear:both}}.post-body .related-content .title{display:block;clear:both;margin-bottom:10px;text-transform:uppercase;font-weight:700;font-family:'Napco_1';font-size:1.125em}.post-body .rc-preview{display:block}.post-body .rc-preview .rc-thumb{float:left;width:25%;max-width:80px}.post-body .rc-preview .text-wrap{float:right;width:73%}.post-body .rc-preview .h5{line-height:1.3em;display:block;margin-bottom:3px}.post-body .rc-preview .h5 a{color:white}.post-body .rc-preview time:before{background-position:-124px -158px}.post-body figure{margin-bottom:1.8em}.post-body.type-lrg{font-size:120%}.post-body.type-sma{font-size:80%}.post-body.type-sma p{line-height:1.6em}.post-body .alignright,.post-body .align-right{float:right;margin-left:1em;margin-bottom:0.7em}.post-body .alignleft,.post-body .align-left{float:left;margin-right:1em;margin-bottom:0.7em}.post-body .aligncenter,.post-body .align-center{float:none !important;display:block;clear:both;margin:0 auto;margin-bottom:2em}.post-body figure{display:block;clear:both}.post-body figure.width-50{width:50%}.post-body figure.width-33{width:33.33%}@media (max-width:350px){.post-body figure.width-33{width:50%}}.post-body figure.width-100{display:block;clear:both}.post-body .video-embed{display:block;clear:both;margin-bottom:1.8em}.post-body .comment-box{font-size:0.875em;padding:25px 35px;background:#e5e5e5}.post-body .comment-box p{padding-top:4px}.post-body .comment-box .comment-bubble-container .com-label{font-size:1.14286em}.post-body .comment-box .comment-bubble-container .com-count{font-size:0.85714em}.post-body .insert.photobox{padding:0;background:none;width:45%;margin-right:5%;line-height:1.1}.post-body .insert.photobox a{display:block;position:relative;margin-bottom:5px}.post-body .insert.photobox cite{padding:5px 0;font-size:0.85714em}.post-body .body-main .wp-caption p,.post-body .insert.photobox .caption{padding-bottom:0;font-size:0.875em;color:#949494;font-weight:normal;margin-top:.2em}.post-body .insert.tweetbox{width:61%;margin-left:5%;font-weight:300;padding:25px 28px;font-size:1.3125em;margin-top:16px}.post-body .insert.tweetbox .tweet-link{display:block}.post-body .insert.tweetbox .tweet-link a{color:#2397db;text-transform:uppercase;font-size:0.57143em;font-weight:bold;padding-left:24px;background:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/icn-tweet-this-x2.png) left center no-repeat;background-size:17px 14px}.post-body .insert.relatedbox{width:61%;margin-right:5%;font-size:0.875em;margin-top:16px}.post-body .insert.relatedbox .title{display:block;text-transform:uppercase;font-weight:bold;margin-bottom:10px}.post-body .insert.relatedbox .related-item{margin-bottom:20px;display:block}.post-body .insert.relatedbox .item-title{font-weight:bold;display:block}.post-body .insert.relatedbox .item-text{font-weight:300}.post-body .insert.relatedbox img.pull-left{margin-right:10px}.post-body .insert.relatedbox .item-link{display:block}.post-body .insert.relatedbox .item-link a{font-weight:bold}.post-body .insert.relatedbox{width:100%;margin-right:0}.post-body .insert.relatedbox.relatedbooks .related-item{width:250px;float:left}.post-body .insert.relatedbox.relatedbooks .relatedbooks-items .related-item:first-child{margin-right:23px}.post-body .post-deck{margin-bottom:1em;font-size:1.1em;font-weight:bold}.post-body iframe{max-width:515px}.tweet-quote{display:block;clear:both;position:relative;margin-bottom:1.8em}.tweet-quote .bar{background:#2397db;position:absolute;left:0;top:0;width:12%;height:100%}.tweet-quote .bar:after{position:absolute;left:0;width:100%;text-align:center;content:'“';color:white;font-family:'Gerogia';font-weight:700;font-size:6em;top:50%;margin-top:-.6em}@media (max-width:480px){.tweet-quote .bar:after{font-size:3em}}.tweet-quote .quote{float:right;width:85%}.tweet-quote .quote p{font-family:'Napco_2';font-style:italic;color:black;font-weight:700;font-size:1.875em;line-height:1.3em;padding-bottom:1.3em}.tweet-quote .quote p:last-child{padding-bottom:0}@media (max-width:480px){.tweet-quote .quote p{font-size:1.25em}}.tweet-quote .tweet-this{display:block;clear:both;text-align:right;padding-top:10px;text-transform:uppercase;font-family:'Napco_1';font-weight:700}.tweet-quote .tweet-this a{color:#2397db}.embed-tweet{display:block;clear:both;margin-bottom:1.75em}.embed-tweet iframe{width:100% !important;border:0 !important;box-shadow:none !important}.category{background:#2397db;color:white;text-transform:uppercase;font-family:'Napco_1';font-weight:700;font-size:1.125em;padding:4px 8px}.category a{display:block;color:white}.subhead{display:block;clear:both;font-family:'Georgia';font-style:italic;font-size:1.5em;color:black}.kicker{display:block;clear:both;margin-bottom:10px;font-family:'Napco_2';font-style:italic;font-size:1.125em;color:#525252}.post-body .body-main blockquote{border-left:3px #ccc solid;padding-left:1em;margin:0 3em 1.75em 1em;font-family:arial, sans-serif;font-size:.9em;font-weight:normal}.post-body .body-main blockquote p{font-weight:normal}.post-body .body-main blockquote p:last-of-type{margin-bottom:0;padding-bottom:0}.post-body .sponsor-bar{margin-left:17px;margin-bottom:17px}.post-body .sponsor-bar .logo{margin-right:10px}.post-body .sponsor-bar .logo .napco-ad{border:none;padding:0;margin-bottom:0}.post-body .sponsor-bar .logo .napco-ad{border:none;padding:0;margin-bottom:0}.post-body .sponsor-bar .widget.doubleclick{margin-bottom:0}.post-body .sponsor-bar .data .text{font-size:0.75em}.post-body .sponsor-bar .data a{color:#2397db}.post-digest{padding:.8em;background-color:#efefef;border:1px #ddd solid;margin-bottom:2em}.post-body .post-digest ul{margin-bottom:0}.post-body .post-digest li:last-of-type{margin-bottom:0}.body-main h1{font-size:2.2em}.body-main h2{font-size:1.4em}.body-main h3{font-size:1.3em}.body-main h4{font-size:1.2em}.body-main h5{font-size:1.1em}.body-main h6{font-size:1em}.post-body .video-house{margin:1em 0;text-align:center;float:none;clear:both;width:100%;position:relative;padding-bottom:56.25%;height:0}.post-thumb-half{float:right;position:relative;margin:0px 0 5px 12px;display:block;width:45%}.post-thumb-half img{display:block;width:100%;height:auto}.post-thumb-half.pull-left{float:left;margin-left:0;margin-right:12px}.post-thumb-half.quarter{width:34%}.post-title .post-thumb-half.quarter{width:30%;float:left;margin:0px 12px 5px 0px;padding-bottom:10px}.post-title .post-thumb-half.quarter .label{background:#2397db;color:#fff;font-family:'Napco_1';font-size:0.875em;font-weight:bold;text-transform:none;float:left;padding:6px 7px;position:absolute;bottom:17px;-webkit-box-shadow:4px 4px 15px 0px rgba(0, 0, 0, 0.37);-moz-box-shadow:4px 4px 15px 0px rgba(0, 0, 0, 0.37);box-shadow:4px 4px 15px 0px rgba(0, 0, 0, 0.37)}.post-title .author-name{font-size:0.875em;font-weight:900;color:#6289b1;margin-top:8px}.post-title .author-title{font-size:0.875em;margin-bottom:8px}.post-thumb-full{display:block;clear:both;position:relative}.post-thumb-full img{display:block;width:100%;height:auto}.cap-link{clear:both;text-align:center;background:#000;color:#fff;line-height:60px;height:60px;display:block;font-family:'Napco_2 Condensed';font-size:1.125em;font-weight:700;text-transform:uppercase}.cap-link:hover{text-decoration:none;background:#333}.cap-link span{display:inline-block;position:relative;padding-right:15px}.cap-link span:after{content:'';background:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;position:absolute;width:10px;height:16px;right:0;top:50%;margin-top:-8px;background-position:-45px -128px}@media only screen and (-webkit-min-device-pixel-ratio:2){.cap-link span:after{background-image:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.post-column{border-right:1px solid #d2d2d2}@media handheld, only screen and (max-width:500px){.post-column{border-right:none}}.post-column .outlined-hd{display:block;clear:both;text-align:center;border-bottom:1px solid #d2d2d2;padding:5px 0}.post-column .post-list-bd{background:darkgray}.post-column article{display:block;padding:15px;border-top:1px solid #fff}.post-column article:first-child{border-top:none}.post-column article .post-title{display:block;clear:both;margin-bottom:10px;line-height:1.2em;font-size:1.125em}.post-column article .post-title a{font-weight:700}.post-column article .post-thumb-half{margin:0 10px 5px 0;max-width:85px}.post-column article .post-thumb-half img{display:block}.post-column article p{font-size:.875em}@media handheld, only screen and (max-width:480px){.post-column article .post-title{margin-bottom:0}.post-column article .post-thumb-half, .post-column article p{display:none}}.main .post-column{margin-top:-30px}@media handheld, only screen and (max-width:480px){.main .post-column{margin-top:0}}.post-head .category{float:left;clear:left;margin-bottom:20px}.post-head h1{display:block;clear:both}.post-head .subhead{margin-bottom:15px}.post-head .meta{display:block;clear:both;margin-bottom:0px;padding:10px 0}.post-head .meta .left{float:left;font-size:1em;line-height:1;width:auto}.post-head .meta .left .label,.post-head .meta .left .label .post-blog-cat-label{padding:0}.post-head .meta .right{float:right;width:auto;text-align:right;color:#999999;font-weight:900;line-height:1}.post .author{line-height:51px}.post .author a{color:#2397db;font-weight:900}.post .row.authors-row{margin:0.6em 0 0 0}.post-head .meta time{clear:none;padding:0}.post-head .meta time:before{display:none}.post-head .post-media-content{margin-top:20px}.post-head .post-deck{font-weight:bold;color:#656565}.post-head figure cite a{display:inline;margin-bottom:0;position:initial;color:#949494;text-decoration:underline}.post-controls{text-align:right}.post-controls .meta-btn{float:right;height:30px;width:25px;margin-right:10px;position:relative}.post-controls .next-post{width:auto;background:#444;color:white;font-family:'Napco_1';font-size:0.875em;font-weight:700;text-transform:uppercase;line-height:30px;padding:0 18px;margin-right:0}.post-controls .next-post:hover{text-decoration:none;background:#666}.post-controls .font-larger:after, .post-controls .font-smaller:after, .post-controls .print:after{content:'';background:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;height:10px;position:absolute;top:50%;margin-top:-5px;left:50%}.pull-left.head-pic{margin-right:10px}.syndicated-content-note{border:1px #ccc solid;padding:.5em;background-color:#efefef;margin-bottom:1em;font-size:.9em}.syndicated-content-note p{padding-bottom:.4em}.syndicated-content-note p:last-of-type{padding-bottom:0}.post-body .syndicated-content-note p a{color:#2397db !important}@media only screen and (-webkit-min-device-pixel-ratio:2){.post-controls .font-larger:after, .post-controls .font-smaller:after, .post-controls .print:after{background-image:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.post-controls .font-larger:after{background-position:-33px -291px;width:15px;margin-left:-7px}.post-controls .font-smaller:after{background-position:-52px -291px;width:15px;margin-left:-7px}.post-controls .print:after{background-position:0px -290px;width:12px;margin-left:-6px;height:11px}.post-controls .font-larger.active, .post-controls .font-smaller.active{opacity:.4;-ms-filter:"alpha(opacity=40)"}@media (max-width:480px){.post-controls .print, .post-controls .font-smaller, .post-controls .font-larger{display:none}}.post-media .hero{margin-bottom:10px}.post-media .hero img{width:100%;border:1px #ccc solid}.post-media .hero cite{font-size:14px}.post-media .audio{display:block;clear:both;margin-bottom:3em;position:relative}.post-media .audio .label{background:black;position:absolute;top:0;left:0;height:100%;width:25%}.post-media .audio .icon-podcast{position:absolute;width:84%;top:50%;margin-top:-15px;left:50%;margin-left:-42%}.post-media .audio .player{float:right;width:75%;border:1px solid #ccc}.post-media .audio .caption{display:block;padding:5px;clear:both;font-size:0.875em;text-align:center;font-weight:700}.post-media .audio .caption cite{font-weight:400}@media (max-width:480px){.post-media .audio .label, .post-media .audio .player{float:none;width:auto;display:block;clear:both}.post-media .audio .label{position:relative;margin:0;padding:5px 0}.post-media .audio .icon-podcast{max-width:200px;display:block;position:relative;margin:0 auto;top:auto;left:auto}}.feed .feed-col .post-preview{padding:20px 0}.feed .feed-col .post-title{padding:10px 0}.feed .feed-col article{border-top:1px solid #ccc}.feed .feed-col article:first-child{border:none;padding-top:0}.feed .feed-col article:last-child{padding-bottom:0}.feed .feed-col article.blog{border-top:none;margin-bottom:5px}.post-preview figure{margin-bottom:15px;position:relative}.post-preview .h3{display:block;clear:both;margin-bottom:20px;font-family:'Napco_2';line-height:1.2em}.post-preview .h4{display:block;padding-bottom:15px;line-height:1.2em}.post-preview .h5{display:block;padding-bottom:10px;line-height:1.2em}.post-preview .head{margin-bottom:10px;display:block}.post-preview .head .post-thumb{width:40%;margin:0}.post-preview .head .post-thumb img{display:block;width:100%;height:auto}.post-preview .head .post-title{float:left;clear:none;display:inline;width:50%}.post-preview.blockbuster{margin-bottom:1em;display:block;clear:both}.post-preview.blockbuster .h1{line-height:1.1em;display:block;clear:both;margin-bottom:.5em}.post-preview.blockbuster figure{width:70%;float:left;margin-right:1em;margin-bottom:1em}@media (max-width:480px){.post-preview.blockbuster figure{float:none;display:block;clear:both;margin-bottom:1em;margin-right:0;width:auto}}.post-preview.swiper-slide{max-height:500px}.article-carousel-wrapper{display:block;clear:both;position:relative}.post-preview-carousel .swiper-next-post, .post-preview-carousel .swiper-prev-post{position:absolute;width:50px;height:50px;top:20%;background:rgba(0, 0, 0, 0.75);-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-preview-carousel .swiper-next-post em, .post-preview-carousel .swiper-prev-post em{background:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/sprite_ui.png) no-repeat;display:block;text-indent:-9999em;position:absolute;width:13px;height:20px;left:50%;top:50%;margin-top:-10px}@media only screen and (-webkit-min-device-pixel-ratio:2){.post-preview-carousel .swiper-next-post em, .post-preview-carousel .swiper-prev-post em{background-image:url(/wp-content/themes/napco-editorial/css/post-styles/../../images/sprite_ui_2x.png) !important;-webkit-background-size:800px 800px;background-size:800px 800px}}.post-preview-carousel .swiper-next-post{right:0px}.post-preview-carousel .swiper-next-post em{margin-left:-5px;background-position:-16px -108px}.post-preview-carousel .swiper-prev-post{left:0px}.post-preview-carousel .swiper-prev-post em{margin-left:-7px;background-position:0px -108px}.post-preview-carousel .swiper-next-post.disabled, .post-preview-carousel .swiper-prev-post.disabled{opacity:.3}body{font-size:16px;font-family:'Napco_2', sans-serif;line-height:1.42857;-webkit-font-smoothing:antialiased;color:#000}p{font-size:1em}p.small-text, div.small-text{font-size:0.875em}.general-copy p{margin-bottom:16px}.general-copy a{color:#336699}.general-copy .img{border:solid 1px #c2c2c2;display:inline-block}article.blog p.small-text{line-height:1.6;margin-bottom:16px}input, textarea, button{font-family:'Napco_2';-webkit-font-smoothing:antialiased}.body-lg{font-size:1.250em}.body-md{font-size:1em}.body-sm{font-size:0.875em}.h1, .h2, .h3, .h3b, .h4, .h5, article.blog .h6a{font-family:'Napco_2';font-weight:700;color:#333333;line-height:1.1428;padding-bottom:10px;display:block}h1{line-height:1.1em}.thin{font-weight:300}.label{color:#6289b1;font-size:0.75em;font-weight:700;display:block;padding:10px 0;text-transform:uppercase;line-height:1.2}.post-preview .label{padding-bottom:0}.label.no-top-pad{padding-top:0}.label.alt{color:#000;text-transform:none;font-weight:normal;font-size:0.875em;margin-bottom:5px}.label.img-float{background:#2397db;color:#fff;font-family:'Napco_1';font-size:0.875em;font-weight:bold;text-transform:none;float:left;padding:6px 7px;position:absolute;bottom:17px}.label.partner{color:#a9a9a9}.feed-col .label{padding-bottom:0;padding-top:0}article:first-child .label{padding-top:10px}article.swiper-slide .label{padding-top:0}cite{font-weight:normal;font-size:0.6em;color:#949494;display:block;font-style:normal}.date{font-size:0.75em;padding:10px 0}.h1{font-size:2.8125em;font-weight:900}.h2{font-size:2em}.h3{font-size:1.875em}.h3b{font-size:1.75em;font-weight:900}.h4{font-size:1.5em}.h5{font-size:1.25em}.h5b{font-size:1.25em;font-weight:900;line-height:1.2}.highlights .h5{font-size:1.1875em}.h6a{font-size:1.125em;font-weight:bold;line-height:1.2}article.blog .h6a{font-weight:900}.h6,.bucket .post-title.h6{font-size:1em;font-weight:900}.h6.centered{text-align:center}.page-head .h2{display:block;line-height:1.2;background:#336699;text-transform:uppercase;color:white;padding:12px 18px;font-family:'Napco_1', sans-serif;font-weight:bold}.page-head .h2 a{color:#fff}.body-main ul{list-style-position:inside;margin-left:10px;list-style:none;margin-bottom:1.3em}.body-main ol{margin-left:10px;margin-bottom:1.3em;font-weight:300}.post-body ul li{background:url('/wp-content/themes/napco-editorial/css/post-styles/../../images/li-arrow.png') no-repeat;background-position:7px 6px;padding-left:25px;font-weight:300;margin:10px 0;overflow:auto}.body-main .taxonomy-terms ul{margin:0}ul#recent-comment-list{list-style:none;margin-left:0px}ul#recent-comment-list li{padding-left:0}.taxonomy-terms ul li, ul#recent-comment-list li{background:none;list-style:none;float:left;margin:0 5px 5px 0;padding:0}.post-body sup{vertical-align:super;font-size:.65em;line-height:normal}/* ===============================================================Article/Post page content section Styles================================================================*/.figure-img{width:auto;max-width:100% !important}.post-body .highlights{background:none repeat scroll 0 0 #e5e5e5;color:black;margin-bottom:1em;padding:15px;width:33% !important}table.data{border:1px #000 solid}table.data td{border:1px #000 solid;padding:.25em;font-size:.75em;font-family:tahoma, sans-serif}table.data tr.header td{background-color:#000;color:#fff}table.data tr:not(.header):nth-child(odd) td{background-color:#efefef}.taxonomy-terms .tax-row{margin-bottom:6px}.taxonomy-terms .title{font-weight:900;display:block;padding:5px 0;margin-bottom:0;margin-right:10px}.taxonomy-terms ul{display:block;list-style:none}.taxonomy-terms ul:after{content:".";display:block;height:0;clear:both;visibility:hidden}.taxonomy-terms ul li{list-style:none;float:left;margin:0 5px 5px 0}.taxonomy-terms ul li a{display:block;padding:5px 10px;color:black;font-weight:900;font-size:0.875em;background:#e5e5e5}</style> <!-- napco theme styles (wp-content/themes/npp/css/structure) --> <style>/** Light Blue:#00afec;Yellow:#ccff66;Light Grey:#e9e9e9;Dark Grey:#333;Red:#eb212e;*/ /*Red Foreground*/.author-listing .page-link,.post-body li a,.post-body p a,.widget a.post-more{color:#2397DB}/*Red Background*/.bucket-carousel .bc-next, .bucket-carousel .bc-prev,.bucket-carousel .bc-next, .bucket-carousel .bc-prev,nav.no-touch-view.wp-menu ul.menu > li:hover,.page-head .h2,.newsletter input[type="submit"],.pagination .spread .num.current, .pagination .spread .page-numbers.current{background-color:#147A99}input.gform_button{background-color:#147A99;color:#fff}a,.ad-textstyle,.ad-textstyle a,.author-name-link,.blog-label-link,.button.blue,footer .bot-level .col a:hover,.label,.post-blog-cat-label,.post-body .insert.tweetbox .tweet-link a,.post-body li a,.post-body p a,.post-body .related a,.post-head .meta .author a,.post-head .sponsor-bar .data a,.post-blog-cat-label,.red,.red a,.term-name-link,.tweet-quote .tweet-this a{color:#9f61a5}.advanced-search .clear-filters,.btn-block-red,.bucket .post-thumb-full .label,.category,.expand,.filters .red-list a,.filters fieldset .show-letters,.insert-more,.label.img-float,.letters .close-letters,.list-filters input[type=submit],.media-detail-top .back-to-media,.media-head .sort-by label,.newsletter input[type="submit"],.post-title .post-thumb-half.quarter .label,.result.detail-view .cruise-ext-link,.result.featured .featured-tag,.result.quick-view .cruise-ext-link,.result.quick-view .pager a:hover,.section-head,.signup-option .see-example,.sticker.new,.tweet-quote .bar{background-color:#00afec}.more-button-holder .more.button{background-color:#147A99;outline:none}.newsletter{background:#fff url(/wp-content/themes/npp/css/structure/../../images/mag-cover.png) 16px bottom no-repeat}.signup-all.no-mag{background-color:#147a99}.newsletter.no-mag .text{color:white;font-size:.9em}.magazine.no-mag .text{color:#fff}.signup-all.no-mag .gf_notice{color:#fff}.rail-container .widget,.widget{background-color:#fff;border:0px #ccc solid}.widget-container.shaded, .col-sm-6.bgcolor,div.bgcolor,.widget.bgcolor-outer .widget,.widget.bgcolor-outer,.rail-container .widget .bgcolor,.widget-container.shaded .widget,.widget-container.shaded .col-sm-6.bgcolor,.widget-container.shaded div.bgcolor,.widget-container.shaded .widget.bgcolor-outer .widget,.widget-container.shaded .widget.bgcolor-outer{background-color:#333333;color:#fff}.rail-container .widget .bgcolor a,.widget-container.shaded .widget a,.widget.bgcolor-outer .widget a{color:#fff}.rail-container.doubleclick .widget{background-color:transparent}.widget a{color:#000}.post-title .author-name{color:#555}.letters,.result.featured{border-color:#00afec}.more-button-holder .more.button:after{background:url(/wp-content/themes/npp/css/structure/../../images/show-more-arrow-down.png) center bottom no-repeat}.more-button-holder .more.button.expanded::before{background:url(/wp-content/themes/npp/css/structure/../../images/show-more-arrow-up.png) center bottom no-repeat;background-size:44px 16px}html.no-touch header .bot-layer.no-touch-sticky,header .bot-layer,.footer.bgcolor1{background-color:#2d2d2d}.control-wrap.touch-sticky{background-color:#fff}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view.wp-menu ul.menu > li > a{color:#fff}html.no-touch header .bot-layer.no-touch-sticky nav.no-touch-view.wp-menu ul.menu > li:hover > a{color:#000}.rail-container .widget .bordered{border-color:#fff}/*Yellow Background*/.newsletter-subscription-widget input[type="submit"],nav.no-touch-view.wp-menu ul.sub-menu a:hover,nav.no-touch-view.wp-menu ul.sub-menu li:hover,nav.no-touch-view.wp-menu ul.menu > li:hover,.button.blue{background-color:#e3fbb4;color:#000}nav.no-touch-view.wp-menu ul.menu > li:hover > a{color:#000}nav.no-touch-view.wp-menu ul.menu > li > ul.sub-menu,nav.no-touch-view.wp-menu ul.sub-menu{background-color:#ffface}nav.touch-view.wp-menu{background-color:#fff;border-top-color:#147A99}nav.no-touch-view.wp-menu ul.menu > li > ul.sub-menu{border-top-color:#ffface}nav.touch-view.wp-menu ul.menu > li > a, nav.touch-view.wp-menu ul.sub-menu a, nav.touch-view.wp-menu .menu-back{border-top-color:#147A99}nav.touch-view.wp-menu ul.menu > li > a, nav.touch-view.wp-menu ul.sub-menu a, nav.touch-view.wp-menu .menu-back{color:#000}nav.no-touch-view.wp-menu ul.sub-menu a{color:#000}nav.touch-view.wp-menu ul.menu > li > a:hover, nav.touch-view.wp-menu ul.sub-menu a:hover, nav.touch-view.wp-menu .menu-back, nav.touch-view.wp-menu .menu-back:hover{background-color:#147A99;color:#fff}.ad-pushdown-container{background:#e9e9e9}.header header, nav.touch-view.wp-menu ul.sub-menu{background-color:#fff;color:#000}header .top-layer .logo small{color:#000}#header-toolbar{background-color:#e9e9e9}.newsletter .text, #header-toolbar a, .author-listing .page-link, .post-body li a, .post-body p a, .widget a.post-more{color:#9f61a5}.footer.bgcolor2{background-color:#e9e9e9;color:#333}.below-footer,.below-footer a, .newsletter .text p{color:#333}.section-head{background-color:#147A99}.main .section-head{background-color:transparent}.main .section-head .h2{color:#147A99}#right-rail .section-head .h2{font-weight:600}.post-head .label{color:#00afec}.main .widget .row.bgcolor{background-color:transparent;border-width:0}.newsletter input[type="email"], .newsletter input[type="text"]{border:1px #ccc solid}.centerizer.content-wrapper,.widget.doubleclick{background-color:#e9e9e9}.news-grid .topic-title{color:#000000}.share-bar{background-color:#fff}.share-bar .share-btn{padding-bottom:5px;border-bottom:1px #ccc solid}.share-bar .share-btn .label{color:#333}.share-bar .share_icon.share_count{color:#fff}#bg-content .bg-breadcrumbs a, #bg-content nav.bg-breadcrumbs ul li:not(:last-child)::after, .bg-section h2 a, .bg-breadcrumbs ul li{color:#0066b3}#buyers-guide-alpaha-nav a, #bg-content a{color:#000}#bg-content .bg-tools.bg-header input[type="text"], #bg-content .bg-tools.bg-footer input[type="text"]{width:140px}#bg-content .row .col-sm-12{padding:0}a.button.blue{color:#000;padding:8px 27px}.webinar-button a{color:#9F61A5;font-weight:bold;font-size:16px}.body-main .ad.napco-ad{background-color:#fff}@media (max-width:768px){header .top-layer .trigger-main-nav.active{background-color:#147A99}}@media handheld, only screen and (max-width:650px){header .touch-search, html.touch header .touch-search, header .top-layer .trigger-main-nav, html.touch header .top-layer .trigger-main-nav, header .toggle-search, html.touch header .toggle-search{background-color:#147A99}header .touch-search, html.touch header .touch-search{background-color:#2d2d2d;border-top-color:#147A99}header .toggle-search.active, html.touch header .toggle-search.active{background-color:#147A99}}@media (max-width:900px){.share-bar .share-btn{padding-bottom:0px;border-bottom:0px #ccc solid}}.comment-bubble-container .com-count{background-color:#147A99}.comment-bubble-container .com-count:after{background-image:url(/wp-content/themes/npp/images/bubble-bottom_x2.png)}nav.touch-view.wp-menu ul.sub-menu ul.sub-menu{background-color:#fff}#header-toolbar{background-color:#e9e9e9;color:#333;line-height:0;padding:.25em 0}#header-toolbar a{font-family:Napco_1, sans-serif;font-weight:300}#header-toolbar-left{float:left;margin-left:1.4em;margin-top:5px}#header-toolbar-right{float:right;display:table-cell;vertical-align:middle;margin-right:1.4em;line-height:1.3}#header-toolbar-right li{list-style-type:none;display:inline-block;margin-left:1.4em}#header-toolbar-right li:last-of-type a:before{content:'';display:inline-block;height:24px;width:24px;background-image:url(/wp-content/themes/npp/css/structure/../../images/info_circle.png);background-repeat:no-repeat;position:relative;top:5px;left:-6px}#header-toolbar-left.socials-container a{display:inline-block}#header-toolbar-left.socials-container a:not(:last-of-type){padding-right:10px}#header-toolbar-left.socials-container img{display:block;width:100%}#header-toolbar-right .icn-email{width:24px;display:inline-block;height:17px;padding-top:3px}#header-toolbar-right .icn-email img{display:block;width:100%}@media screen and (orientation:landscape){.search-bar .mag{background:url(/wp-content/themes/npp/css/structure/../../images/icn-mag-x2.png) center center no-repeat !important;background-size:auto;background-size:18px 18px !important}}header .search-bar.mobile, html.touch header .search-bar.mobile, html.touch header .top-layer .trigger-main-nav, header .top-layer .trigger-main-nav{background-color:#147A99}/*nav.no-touch-view.wp-menu ul.menu > li:last-child > a{text-indent:-9999px;padding-left:10px;padding-right:20px;line-height:35px;display:block;width:150px;background-image:url(/wp-content/themes/npp/css/structure/../../images/np-power.png);background-size:140px 28px;background-position:center center;background-repeat:no-repeat}nav.no-touch-view.wp-menu ul.menu > li:last-child:hover > a{background-color:#444}nav.no-touch-view.wp-menu .menu > li:last-child.menu-item-has-children > a:after{right:-10px}nav.touch-view.wp-menu ul.menu > li:last-child{background-color:#000}nav.touch-view.wp-menu ul.menu > li:last-child > a{text-indent:-9999px;padding-left:10px;padding-right:20px;line-height:35px;display:block;background-image:url(/wp-content/themes/npp/css/structure/../../images/np-power.png);background-size:185px 41px;background-position:15px center;background-repeat:no-repeat}*/ header .bot-layer, html.no-touch header .bot-layer.no-touch-sticky{border-top:2px #3d3d3d solid}nav.no-touch-view.wp-menu ul.menu > li > a{font-size:1.3em;font-weight:300}.search-bar input[type="text"]::webkit-input-placeholder,.search-bar input[name=s]::moz-placeholder,.search-bar input[name=s]::ms-input-placeholder,.search-bar input:-moz-placeholder{color:#f00;text-transform:uppercase;font-weight:bold;font-size:.7em}nav.no-touch-view.wp-menu ul.menu > li.menu-item-has-children > a{padding-right:14px}html.no-touch header .bot-layer.no-touch-sticky{height:62px}nav.no-touch-view.wp-menu ul.menu > li{margin-right:20px;width:auto}nav.no-touch-view.wp-menu ul.menu > li:last-child{border-right:none}.bot-layer.no-touch-sticky nav.no-touch-view.wp-menu ul.menu > li{margin-right:12px}#newsletter-landing-wrapper .gform_footer input[type="submit"], #newsletter-landing-wrapper hr{background-color:#1780AB !important}#newsletter-landing-wrapper table h2, #newsletter-landing-wrapper span{color:#1780AB !important}a{color:#000000}.label{color:#2397DB}.row{margin-left:0;margin-right:0}footer{color:#fff}header .top-layer{text-align:center;padding:20px 0 12px 0;background-color:#fff}header .top-layer .logo small{text-align:center;width:650px;margin:10px auto 0 auto}header .top-layer .logo{float:none}header .top-layer .logo a img{display:inline}html.no-touch header .bot-layer.no-touch-sticky.staged .sticky-logo a{margin-top:0}.section-head{display:table;margin:0 auto;float:none}.section-head .h2{font-size:1.3em;font-weight:900;text-transform:uppercase;padding:10px 20px}.main .section-head{margin:0;display:inline-block;margin-top:1em}.row.bgcolor{}.main .section-head .h2{font-size:1.8em;text-transform:uppercase;padding:0;font-weight:600}.rail-container .widget{top:-1em}.rail-container .widget .textwidget article{padding-top:30px}.rail-container .newsletter.signup-all.no-mag .inner-pad{padding:18px 10px 0}nav.no-touch-view.wp-menu ul.menu > li{padding:0 5px}.main{background-color:#fff;margin-top:20px}.main.home-page{background-color:transparent;margin-top:0px}#blog-post-more-div .bgcolor{color:#000}.home-page .CarouselMultiImageTaxonomyTitle .swiper-outter-conttainer{padding-top:0}.video-channel-name .h2{background:#691318}.powered-by.row{margin:0 15px;border:none;display:none}.video-player{margin-top:0}.rail-container .widget .widget.pix-upnext article.post-preview{border-bottom:none !important;margin-bottom:0;padding:20px 0 0 0 !important}.rail-container.pix .row.pix-otherchannels{margin-top:10px}.pix-otherchannels{position:relative;top:15px;margin-top:0}.newsletter.no-mag .logo{position:relative;width:auto;top:0;right:0;margin:0 0 .75em 0;float:left}.newsletter .text .top{font-weight:normal;margin-bottom:.6em}html.no-touch header .bot-layer.no-touch-sticky.staged .sticky-logo{padding-top:22px}html.no-touch header .bot-layer.no-touch-sticky .sticky-logo a img{width:74%}.home-page .widget{margin-bottom:10px}.news-grid td{border-left-color:#fff}.rail-container .newsletter.signup-all .inner-pad{padding:31px 10px 10px 10px}@media handheld, only screen and (max-width:400px){#header-toolbar{display:none}header .top-layer{padding:0}header .top-layer .logo{padding-top:13px}.control-wrap.touch-sticky{border-bottom:1px #000 solid}}@media handheld, only screen and (max-width:650px){header .control-wrap{border-bottom-width:0}#header-toolbar-right li:last-of-type a:before{display:none}}@media (max-width:768px){header .top-layer .logo{float:left}header .top-layer .logo small{display:none}}footer .col-3 nav li{margin-bottom:10px}.search-results .label{color:#000000}#scoper-1 .sb-gallery-entry:hover .sb-gallery-entry-hover .desk,#scoper-1 .sb-gallery-entry:active .sb-gallery-entry-hover .desk{top:42% !important}.rail-container .widget .bordered, .rail-container .newsletter{border-width:4px}#right-rail .napco-ad{border-width:0}.rail-container.pix .pix.bgcolor{background:#FFFFFF}.rail-container.pix .pix.bgcolor a{color:#000000}.rail-container .newsletter{padding:25px}.newsletter.no-mag{padding:0}.newsletter .inner-pad{margin-left:170px}.newsletter .text{text-transform:uppercase}.newsletter .text p{font-weight:bold;text-transform:none;font-size:1em}.newsletter.no-mag .text p{font-weight:normal}.newsletter.no-mag .text{text-transform:none}.share-bar .share_icon.share_fb{background:url(/wp-content/themes/npp/css/structure/../../images/sharebar-fb.png) center center no-repeat;background-size:26px 26px}.share-bar .share_icon.share_twtr{background:url(/wp-content/themes/npp/css/structure/../../images/sharebar-tw.png) center center no-repeat;background-size:26px 26px}.share-bar .share_icon.share_li{background:url(/wp-content/themes/npp/css/structure/../../images/sharebar-li.png) center center no-repeat;background-size:26px 26px}.share-bar .share_icon.share_gp{background:url(/wp-content/themes/npp/css/structure/../../images/sharebar-gp.png) center center no-repeat;background-size:26px 26px}.share-bar .share_icon.share_email{background:url(/wp-content/themes/npp/css/structure/../../images/sharebar-email.png) center center no-repeat;background-size:26px 26px}.share-bar .share_icon.share_count{background:url(/wp-content/themes/npp/css/structure/../../images/sharebar-blank.png) center center no-repeat;background-size:26px 26px}</style> <!-- napco theme styles (extras) --> <style>aside.content_widget{border:1px #333 solid}aside.content_widget .aside_inner{padding:.7em}aside.content_widget.post_sidebar{float:right;width:300px;margin-left:1em;border-color:#ccc;background-color:#efefef}aside.content_widget.post_factbox, aside.content_widget.post_sidebar{margin-bottom:1em}aside.content_widget.pull_quote{float:none;width:100%;padding:0 0 0 0;margin:0 0 0 0;border:2px #999 solid;border-width:2px 0;background-color:#efefef;margin:3em 0}aside.content_widget.pull_quote .aside_content{font-size:1.6em}aside.content_widget.pull_quote p{line-height:1.5;padding:0 .5em;font-weight:400}[itemprop="content"] aside.content_widget.pull_quote{margin:0 0 2em 0}#post-info{border:.1em #000 solid;border-width:.1em 0;font-size:.8em;margin-bottom:1em}#post-info h4{font-size:1.1em;text-transform:uppercase;margin-bottom:.5em;display:inline-block;margin:0}#post-info ul#post-info-nav{margin:.7em 0 0 2em;padding:0;display:none}#post-info ul#post-info-nav li{float:left;list-style-type:none;margin:0 2em 0 0;padding:0;font-weight:bold;text-transform:uppercase;cursor:pointer;color:#ccc}#post-info ul#post-info-nav li:first-child{margin-right:1em;cursor:default;color:#000}#post-info ul#post-info-nav li:not(:first-child):hover,#post-info ul#post-info-nav li.current{color:#900}#post-info #post-info-header{cursor:pointer;padding:.5em}#post-info #post-info-header:hover{background-color:#ffc}#post-info #post-info-header strong{padding-left:2em}#post-info #post-info-thumb{float:right;max-width:200px;margin-left:.7em}#post-info #post-info-properties{display:none;margin-top:1em;padding:.3em}#post-info-properties ul{-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:40px;-moz-column-gap:40px;column-gap:40px}#post-info-properties ul li{word-break:break-all;list-style-type:none}#post-info-properties ul li strong:after{content:':'}#post-info-properties li.blank-property{display:none}#post-info-properties li.blank-property strong{color:#ccc;font-weight:normal}/* * Boxer v3.1.0 - 2014-05-07 * A jQuery plugin for displaying images, videos or content in a modal overlay. Part of the Formstone Library. * http://formstone.it/boxer/ * * Copyright 2014 Ben Plum;MIT Licensed */ .boxer-open{}.boxer-lock{overflow:hidden !important}#boxer-overlay{-webkit-transition:opacity 0.25s linear;transition:opacity 0.25s linear}#boxer *{-webkit-transition:none;transition:none}#boxer.animating{-webkit-transition:left 0.25s ease, opacity 0.25s linear, top 0.25s ease;transition:left 0.25s ease, opacity 0.25s linear, top 0.25s ease}#boxer.animating .boxer-container{-webkit-transition:height 0.25s ease, width 0.25s ease;transition:height 0.25s ease, width 0.25s ease}#boxer.animating .boxer-content{-webkit-transition:opacity 0.25s linear;transition:opacity 0.25s linear}#boxer-overlay{background:#000;height:100%;left:0;opacity:0;position:fixed;top:0;width:100%;z-index:105}#boxer{background:#fff;border-radius:3px;box-shadow:0 0 25px #000;opacity:0;padding:10px;position:absolute;z-index:105}#boxer.inline{padding:20px}#boxer.quick-view-modal{padding:0;border-radius:0}.boxer-open #boxer-overlay{opacity:0.75}.boxer-open #boxer, .boxer-open #boxer .boxer-content{opacity:1}.boxer-open #boxer.loading .boxer-content{opacity:0}#boxer .boxer-close{background:#fff url(jquery.fs.boxer-icons.png) no-repeat -70px 10px;border-radius:100%;cursor:pointer;display:block;height:30px;position:absolute;padding:0;right:-8px;top:-8px;width:30px;text-indent:-99999px;z-index:106}#boxer .boxer-container{background:#fff;height:100%;overflow:hidden;position:relative;width:100%;z-index:105;zoom:1}#boxer .boxer-content{background:#fff;opacity:0;overflow:hidden;padding:0;width:10000px}#boxer .boxer-image{float:left}#boxer .boxer-video{height:100%;width:100%}#boxer .boxer-iframe{border:none;float:left;height:100%;overflow:auto;width:100%}#boxer .boxer-meta{clear:both}#boxer .boxer-control{background:#fff url(jquery.fs.boxer-icons.png) no-repeat 0 0;border-radius:100%;box-shadow:0 0 6px rgba(0, 0, 0, 0.4);cursor:pointer;display:block;height:40px;margin-right:auto;margin-left:auto;position:absolute;text-indent:-99999px;top:0;width:40px;-webkit-transition:opacity 0.25s linear;transition:opacity 0.25s linear}#boxer .boxer-control.previous{left:20px}#boxer .boxer-control.next{background-position:-40px 0;right:20px}#boxer .boxer-control.disabled{opacity:0.3}#boxer .boxer-position{color:#999;font-size:11px;margin:0;padding:15px 10px 5px}#boxer .boxer-caption p{margin:0;padding:15px 10px 10px 10px}#boxer .boxer-caption.gallery p{padding-top:0}#boxer.loading .boxer-container{background:#fff url(jquery.fs.boxer-loading.gif) no-repeat center}#boxer.mobile{background:#000;border-radius:0;height:100%;left:0;padding:30px 0 0;position:fixed;top:0;width:100%}#boxer.mobile .boxer-close{background-color:#000;background-position:-70px -60px;border-radius:0;right:0;top:0}#boxer.quick-view-modal .boxer-close{display:none}#boxer.mobile .boxer-container{background:#000;position:relative}#boxer.mobile .boxer-content{background-color:#000}#boxer.mobile .boxer-control{background-color:transparent;border-radius:0;box-shadow:none;margin:-20px 0 0;top:50%}#boxer.mobile .boxer-control.previous{background-position:0 -40px;float:left;left:0}#boxer.mobile .boxer-control.next{background-position:-40px -40px;float:right;right:0}#boxer.mobile .boxer-control.disabled{opacity:0.3}#boxer.mobile .boxer-meta{bottom:0;background-color:rgba(0, 0, 0, 0.75);left:0;padding:15px 50px 10px;position:absolute;width:100%}#boxer.mobile .boxer-position{padding:0}#boxer.mobile .boxer-caption p{color:#eee;padding:10px 0 0}#boxer.mobile .boxer-image{-webkit-transition:none !important;transition:none !important;-webkit-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}#boxer.mobile.animated .boxer-image{-webkit-transition:-webkit-transform 0.25s ease-out !important;transition:transform 0.25s ease-out !important}#boxer.mobile.loading .boxer-container{background:#000 url(jquery.fs.boxer-loading-dark.gif) no-repeat center}#boxer.mobile.inline .boxer-content, #boxer.mobile.iframe .boxer-content{overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch}@media screen and (min-width:980px){#boxer .boxer-close:hover{background-position:-70px -20px}#boxer .boxer-control, #boxer .boxer-control.disabled{opacity:0}#boxer .boxer-content:hover .boxer-control{opacity:0.75}#boxer .boxer-content:hover .boxer-control:hover{opacity:1}#boxer .boxer-content:hover .boxer-control.disabled{opacity:0.3;cursor:default !important}#boxer.mobile .boxer-control{opacity:1 !important}#boxer.mobile .boxer-control.disabled{opacity:0.3 !important}}@media screen and (max-width:980px){#boxer.mobile{position:fixed}}#prestitial-modal{position:fixed;top:0;left:0;bottom:0;right:0;background-color:#fff;width:640px;height:512px;text-align:center;overflow:hidden;z-index:10001;border:2px #999 solid;margin:auto;font-size:10px}#prestitial-control{margin:8px 0;font-size:14px}#prestitial-close{text-align:center;color:#0070C0;cursor:pointer;margin-top:6px}#prestitial-close:hover{color:red}#prestitial-counter{font-weight:700}#prestitial-mask{height:100%;width:100%;position:absolute;z-index:10000;top:0;background-color:#fff;filter:alpha(opacity=86);opacity:.86;-moz-opacity:.86}@media (max-width:650px){#prestitial-modal, #prestitial-mask{display:none !important}}#prescroller-modal{position:absolute;top:0;left:0;bottom:0;right:0;background-color:#fff;width:640px;height:484px;text-align:center;overflow:hidden;z-index:10001;border:2px #999 solid;margin:auto;font-size:10px}#prescroller-control{display:none;margin:8px 0;font-size:14px}#prescroller-close{text-align:center;color:#0070C0;cursor:pointer;margin-top:6px}#prescroller-close:hover{color:red}#prescroller-counter{font-weight:700}#prescroller-mask{height:0;width:100%;position:relative;z-index:10000;top:0;background-color:#fff;filter:alpha(opacity=86);opacity:1;-moz-opacity:1}.prescroller-modal-banner{background-color:#000;color:#fff;padding:.5em 0;line-height:1;text-align:center;font-weight:bold}#prescroller-modal-bottom{position:absolute;width:100%;bottom:0}.prescroller-arrow{font-size:.8em}@media (max-width:650px){#prescroller-modal, #prescroller-mask{display:none !important}}#overlay-modal{position:fixed;top:0;left:0;bottom:0;right:0;background-color:#fff;width:640px;height:512px;text-align:center;overflow:hidden;z-index:10001;border:2px #999 solid;margin:auto;font-size:10px}#overlay-control{margin:8px 0;font-size:14px}#overlay-close{position:absolute;z-index:3001;top:-4px;right:-3px;background-color:#fff;padding:0.5em;border:1px #000 solid;font-weight:bold;font-size:16px;color:#000;line-height:1;cursor:pointer}#overlay-close:hover{color:red}#overlay-counter{font-weight:700}#overlay-mask{height:100%;width:100%;position:absolute;z-index:10000;top:0;left:0;background-color:#fff;filter:alpha(opacity=86);opacity:.86;-moz-opacity:.86}@media (max-width:650px){#overlay-modal, #overlay-mask{display:none !important}}/*!Chosen, a Select Box Enhancer for jQuery and Prototypeby Patrick Filler for Harvest, http://getharvest.com Version 1.2.0Full source at https://github.com/harvesthq/chosenCopyright (c) 2011-2014 Harvest http://getharvest.com MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.mdThis file is generated by `grunt build`, do not edit it by hand.*/ .chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;zoom:1;*display:inline;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chosen-container *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0, 0, 0, 0.15)}.chosen-container.chosen-with-drop .chosen-drop{left:0}.chosen-container a{cursor:pointer}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));background:-webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);background:-moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);background:-o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);background:linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url('chosen-sprite.png') -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url('chosen-sprite.png') no-repeat 0px 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type="text"]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:white url('chosen-sprite.png') no-repeat 100% -20px;background:url('chosen-sprite.png') no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));background-image:-webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);background-image:-moz-linear-gradient(#3875d7 20%, #2a62bc 90%);background-image:-o-linear-gradient(#3875d7 20%, #2a62bc 90%);background-image:linear-gradient(#3875d7 20%, #2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:bold;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto !important;height:1%;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));background-image:-webkit-linear-gradient(#eeeeee 1%, #ffffff 15%);background-image:-moz-linear-gradient(#eeeeee 1%, #ffffff 15%);background-image:-o-linear-gradient(#eeeeee 1%, #ffffff 15%);background-image:linear-gradient(#eeeeee 1%, #ffffff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type="text"]{margin:1px 0;padding:0;height:25px;outline:0;border:0 !important;background:transparent !important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eeeeee;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));background-image:-webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);background-image:-moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);background-image:-o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);background-image:linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url('chosen-sprite.png') -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));background-image:-webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);background-image:-moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);background-image:-o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);background-image:linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0, 0, 0, 0.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));background-image:-webkit-linear-gradient(#eeeeee 20%, #ffffff 80%);background-image:-moz-linear-gradient(#eeeeee 20%, #ffffff 80%);background-image:-o-linear-gradient(#eeeeee 20%, #ffffff 80%);background-image:linear-gradient(#eeeeee 20%, #ffffff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:transparent}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0, 0, 0, 0.3)}.chosen-container-active .chosen-choices li.search-field input[type="text"]{color:#222 !important}.chosen-disabled{opacity:0.5 !important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type="text"]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single-nosearch .chosen-search,.chosen-rtl .chosen-drop{left:9999px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type="text"]{padding:4px 5px 4px 20px;background:white url('chosen-sprite.png') no-repeat -30px -20px;background:url('chosen-sprite.png') no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:2), only screen and (min-resolution:144dpi){.chosen-rtl .chosen-search input[type="text"], .chosen-container-single .chosen-single abbr, .chosen-container-single .chosen-single div b, .chosen-container-single .chosen-search input[type="text"], .chosen-container-multi .chosen-choices .search-choice .search-choice-close, .chosen-container .chosen-results-scroll-down span, .chosen-container .chosen-results-scroll-up span{background-image:url('chosen-sprite@2x.png') !important;background-size:52px 37px !important;background-repeat:no-repeat !important}}</style> <!-- napco scripts --> <script>/* Modernizr 2.8.3 (Custom Build) | MIT & BSD * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-ie8compat-load */ ;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a){var e=a[d];if(!G(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return J("flexWrap")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.borderradius=function(){return J("borderRadius")},s.boxshadow=function(){return J("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var L in s)C(s,L)&&(x=L.toLowerCase(),e[x]=s[L](),v.push((e[x]?"":"no-")+x));return e.input||K(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},D(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function q(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return s.shivMethods?o(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function r(a){a||(a=b);var c=n(a);return s.shivCSS&&!g&&!c.hasCSS&&(c.hasCSS=!!l(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),k||q(a,c),a}var c="3.7.0",d=a.html5||{},e=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g,h="_html5shiv",i=0,j={},k;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest("ie8compat",function(){return!window.addEventListener&&document.documentMode&&document.documentMode===7});/* * Basic jQuery Slider plug-in v.1.3 * * http://www.basic-slider.com * * Authored by John Cobb * http://www.johncobb.name * @john0514 * * Copyright 2011, John Cobb * License: GNU General Public License, version 3 (GPL-3.0) * http://www.opensource.org/licenses/gpl-3.0.html * */ ;(function($) { "use strict"; $.fn.bjqs = function(o) { // slider default settings var defaults = { // w + h to enforce consistency width : 700, height : 300, // transition valuess animtype : 'fade', animduration : 450, // length of transition animspeed : 4000, // delay between transitions automatic : true, // enable/disable automatic slide rotation // control and marker configuration showcontrols : true, // enable/disable next + previous UI elements centercontrols : true, // vertically center controls nexttext : 'Next', // text/html inside next UI element prevtext : 'Prev', // text/html inside previous UI element showmarkers : true, // enable/disable individual slide UI markers centermarkers : true, // horizontally center markers // interaction values keyboardnav : true, // enable/disable keyboard navigation hoverpause : true, // enable/disable pause slides on hover // presentational options usecaptions : true, // enable/disable captions using img title attribute randomstart : false, // start from a random slide responsive : false // enable responsive behaviour }; // create settings from defauls and user options var settings = $.extend({}, defaults, o); // slider elements var $wrapper = this, $slider = $wrapper.find('ul.bjqs'), $slides = $slider.children('li'), // control elements $c_wrapper = null, $c_fwd = null, $c_prev = null, // marker elements $m_wrapper = null, $m_markers = null, // elements for slide animation $canvas = null, $clone_first = null, $clone_last = null; // state management object var state = { slidecount : $slides.length, // total number of slides animating : false, // bool: is transition is progress paused : false, // bool: is the slider paused currentslide : 1, // current slide being viewed (not 0 based) nextslide : 0, // slide to view next (not 0 based) currentindex : 0, // current slide being viewed (0 based) nextindex : 0, // slide to view next (0 based) interval : null // interval for automatic rotation }; var responsive = { width : null, height : null, ratio : null }; // helpful variables var vars = { fwd : 'forward', prev : 'previous' }; // run through options and initialise settings var init = function() { // differentiate slider li from content li $slides.addClass('bjqs-slide'); // conf dimensions, responsive or static if( settings.responsive ){ conf_responsive(); } else{ conf_static(); } // configurations only avaliable if more than 1 slide if( state.slidecount > 1 ){ // enable random start if (settings.randomstart){ conf_random(); } // create and show controls if( settings.showcontrols ){ conf_controls(); } // create and show markers if( settings.showmarkers ){ conf_markers(); } // enable slidenumboard navigation if( settings.keyboardnav ){ conf_keynav(); } // enable pause on hover if (settings.hoverpause && settings.automatic){ conf_hoverpause(); } // conf slide animation if (settings.animtype === 'slide'){ conf_slide(); } } else { // Stop automatic animation, because we only have one slide! settings.automatic = false; } if(settings.usecaptions){ conf_captions(); } // TODO: need to accomodate random start for slide transition setting if(settings.animtype === 'slide' && !settings.randomstart){ state.currentindex = 1; state.currentslide = 2; } // slide components are hidden by default, show them now $slider.show(); $slides.eq(state.currentindex).show(); // Finally, if automatic is set to true, kick off the interval if(settings.automatic){ state.interval = setInterval(function () { go(vars.fwd, false); }, settings.animspeed); } }; var conf_responsive = function() { responsive.width = $wrapper.outerWidth(); responsive.ratio = responsive.width/settings.width, responsive.height = settings.height * responsive.ratio; if(settings.animtype === 'fade'){ // initial setup $slides.css({ 'height' : settings.height, 'width' : '100%' }); $slides.children('img').css({ 'height' : settings.height, 'width' : '100%' }); $slider.css({ 'height' : settings.height, 'width' : '100%' }); $wrapper.css({ 'height' : settings.height, 'max-width' : settings.width, 'position' : 'relative' }); if(responsive.width < settings.width){ $slides.css({ 'height' : responsive.height }); $slides.children('img').css({ 'height' : responsive.height }); $slider.css({ 'height' : responsive.height }); $wrapper.css({ 'height' : responsive.height }); } $(window).resize(function() { // calculate and update dimensions responsive.width = $wrapper.outerWidth(); responsive.ratio = responsive.width/settings.width, responsive.height = settings.height * responsive.ratio; $slides.css({ 'height' : responsive.height }); $slides.children('img').css({ 'height' : responsive.height }); $slider.css({ 'height' : responsive.height }); $wrapper.css({ 'height' : responsive.height }); }); } if(settings.animtype === 'slide'){ // initial setup $slides.css({ 'height' : settings.height, 'width' : settings.width }); $slides.children('img').css({ 'height' : settings.height, 'width' : settings.width }); $slider.css({ 'height' : settings.height, 'width' : settings.width * settings.slidecount }); $wrapper.css({ 'height' : settings.height, 'max-width' : settings.width, 'position' : 'relative' }); if(responsive.width < settings.width){ $slides.css({ 'height' : responsive.height }); $slides.children('img').css({ 'height' : responsive.height }); $slider.css({ 'height' : responsive.height }); $wrapper.css({ 'height' : responsive.height }); } $(window).resize(function() { // calculate and update dimensions responsive.width = $wrapper.outerWidth(), responsive.ratio = responsive.width/settings.width, responsive.height = settings.height * responsive.ratio; $slides.css({ 'height' : responsive.height, 'width' : responsive.width }); $slides.children('img').css({ 'height' : responsive.height, 'width' : responsive.width }); $slider.css({ 'height' : responsive.height, 'width' : responsive.width * settings.slidecount }); $wrapper.css({ 'height' : responsive.height }); $canvas.css({ 'height' : responsive.height, 'width' : responsive.width }); resize_complete(function(){ go(false,state.currentslide); }, 200, "some unique string"); }); } }; var resize_complete = (function () { var timers = {}; return function (callback, ms, uniqueId) { if (!uniqueId) { uniqueId = "Don't call this twice without a uniqueId"; } if (timers[uniqueId]) { clearTimeout (timers[uniqueId]); } timers[uniqueId] = setTimeout(callback, ms); }; })(); // enforce fixed sizing on slides, slider and wrapper var conf_static = function() { $slides.css({ 'height' : settings.height, 'width' : settings.width }); $slider.css({ 'height' : settings.height, 'width' : settings.width }); $wrapper.css({ 'height' : settings.height, 'width' : settings.width, 'position' : 'relative' }); }; var conf_slide = function() { // create two extra elements which are clones of the first and last slides $clone_first = $slides.eq(0).clone(); $clone_last = $slides.eq(state.slidecount-1).clone(); // add them to the DOM where we need them $clone_first.attr({'data-clone' : 'last', 'data-slide' : 0}).appendTo($slider).show(); $clone_last.attr({'data-clone' : 'first', 'data-slide' : 0}).prependTo($slider).show(); // update the elements object $slides = $slider.children('li'); state.slidecount = $slides.length; // create a 'canvas' element which is neccessary for the slide animation to work $canvas = $('<div class="bjqs-wrapper"></div>'); // if the slider is responsive && the calculated width is less than the max width if(settings.responsive && (responsive.width < settings.width)){ $canvas.css({ 'width' : responsive.width, 'height' : responsive.height, 'overflow' : 'hidden', 'position' : 'relative' }); // update the dimensions to the slider to accomodate all the slides side by side $slider.css({ 'width' : responsive.width * (state.slidecount + 2), 'left' : -responsive.width * state.currentslide }); } else { $canvas.css({ 'width' : settings.width, 'height' : settings.height, 'overflow' : 'hidden', 'position' : 'relative' }); // update the dimensions to the slider to accomodate all the slides side by side $slider.css({ 'width' : settings.width * (state.slidecount + 2), 'left' : -settings.width * state.currentslide }); } // add some inline styles which will align our slides for left-right sliding $slides.css({ 'float' : 'left', 'position' : 'relative', 'display' : 'list-item' }); // 'everything.. in it's right place' $canvas.prependTo($wrapper); $slider.appendTo($canvas); }; var conf_controls = function() { // create the elements for the controls $c_wrapper = $('<ul class="bjqs-controls"></ul>'); $c_fwd = $('<li class="bjqs-next"><a href="#" data-direction="'+ vars.fwd +'">' + settings.nexttext + '</a></li>'); $c_prev = $('<li class="bjqs-prev"><a href="#" data-direction="'+ vars.prev +'">' + settings.prevtext + '</a></li>'); // bind click events $c_wrapper.on('click','a',function(e){ e.preventDefault(); var direction = $(this).attr('data-direction'); if(!state.animating){ if(direction === vars.fwd){ go(vars.fwd,false); } if(direction === vars.prev){ go(vars.prev,false); } } }); // put 'em all together $c_prev.appendTo($c_wrapper); $c_fwd.appendTo($c_wrapper); $c_wrapper.appendTo($wrapper); // vertically center the controls if (settings.centercontrols) { $c_wrapper.addClass('v-centered'); // calculate offset % for vertical positioning var offset_px = ($wrapper.height() - $c_fwd.children('a').outerHeight()) / 2, ratio = (offset_px / settings.height) * 100, offset = ratio + '%'; $c_fwd.find('a').css('top', offset); $c_prev.find('a').css('top', offset); } }; var conf_markers = function() { // create a wrapper for our markers $m_wrapper = $('<ol class="bjqs-markers"></ol>'); // for every slide, create a marker $.each($slides, function(key, slide){ var slidenum = key + 1, gotoslide = key + 1; if(settings.animtype === 'slide'){ // + 2 to account for clones gotoslide = key + 2; } var marker = $('<li><a href="#">'+ slidenum +'</a></li>'); // set the first marker to be active if(slidenum === state.currentslide){ marker.addClass('active-marker'); } // bind the click event marker.on('click','a',function(e){ e.preventDefault(); if(!state.animating && state.currentslide !== gotoslide){ go(false,gotoslide); } }); // add the marker to the wrapper marker.appendTo($m_wrapper); }); $m_wrapper.appendTo($wrapper); $m_markers = $m_wrapper.find('li'); // center the markers if (settings.centermarkers) { $m_wrapper.addClass('h-centered'); var offset = (settings.width - $m_wrapper.width()) / 2; $m_wrapper.css('left', offset); } }; var conf_keynav = function() { $(document).keyup(function (event) { if (!state.paused) { clearInterval(state.interval); state.paused = true; } if (!state.animating) { if (event.keyCode === 39) { event.preventDefault(); go(vars.fwd, false); } else if (event.keyCode === 37) { event.preventDefault(); go(vars.prev, false); } } if (state.paused && settings.automatic) { state.interval = setInterval(function () { go(vars.fwd); }, settings.animspeed); state.paused = false; } }); }; var conf_hoverpause = function() { $wrapper.hover(function () { if (!state.paused) { clearInterval(state.interval); state.paused = true; } }, function () { if (state.paused) { state.interval = setInterval(function () { go(vars.fwd, false); }, settings.animspeed); state.paused = false; } }); }; var conf_captions = function() { $.each($slides, function (key, slide) { var caption = $(slide).children('img:first-child').attr('title'); // Account for images wrapped in links if(!caption){ caption = $(slide).children('a').find('img:first-child').attr('title'); } if (caption) { caption = $('<p class="bjqs-caption">' + caption + '</p>'); caption.appendTo($(slide)); } }); }; var conf_random = function() { var rand = Math.floor(Math.random() * state.slidecount) + 1; state.currentslide = rand; state.currentindex = rand-1; }; var set_next = function(direction) { if(direction === vars.fwd){ if($slides.eq(state.currentindex).next().length){ state.nextindex = state.currentindex + 1; state.nextslide = state.currentslide + 1; } else{ state.nextindex = 0; state.nextslide = 1; } } else{ if($slides.eq(state.currentindex).prev().length){ state.nextindex = state.currentindex - 1; state.nextslide = state.currentslide - 1; } else{ state.nextindex = state.slidecount - 1; state.nextslide = state.slidecount; } } }; var go = function(direction, position) { // only if we're not already doing things if(!state.animating){ // doing things state.animating = true; if(position){ state.nextslide = position; state.nextindex = position-1; } else{ set_next(direction); } // fade animation if(settings.animtype === 'fade'){ if(settings.showmarkers){ $m_markers.removeClass('active-marker'); $m_markers.eq(state.nextindex).addClass('active-marker'); } // fade out current $slides.eq(state.currentindex).fadeOut(settings.animduration); // fade in next $slides.eq(state.nextindex).fadeIn(settings.animduration, function(){ // update state variables state.animating = false; state.currentslide = state.nextslide; state.currentindex = state.nextindex; }); } // slide animation if(settings.animtype === 'slide'){ if(settings.showmarkers){ var markerindex = state.nextindex-1; if(markerindex === state.slidecount-2){ markerindex = 0; } else if(markerindex === -1){ markerindex = state.slidecount-3; } $m_markers.removeClass('active-marker'); $m_markers.eq(markerindex).addClass('active-marker'); } // if the slider is responsive && the calculated width is less than the max width if(settings.responsive && ( responsive.width < settings.width ) ){ state.slidewidth = responsive.width; } else{ state.slidewidth = settings.width; } $slider.animate({'left': -state.nextindex * state.slidewidth }, settings.animduration, function(){ state.currentslide = state.nextslide; state.currentindex = state.nextindex; // is the current slide a clone? if($slides.eq(state.currentindex).attr('data-clone') === 'last'){ // affirmative, at the last slide (clone of first) $slider.css({'left': -state.slidewidth }); state.currentslide = 2; state.currentindex = 1; } else if($slides.eq(state.currentindex).attr('data-clone') === 'first'){ // affirmative, at the fist slide (clone of last) $slider.css({'left': -state.slidewidth *(state.slidecount - 2)}); state.currentslide = state.slidecount - 1; state.currentindex = state.slidecount - 2; } state.animating = false; }); } } }; // lets get the party started :) init(); }; })(jQuery); /* * Swiper 2.6.1 * Mobile touch slider and framework with hardware accelerated transitions * * http://www.idangero.us/sliders/swiper/ * * Copyright 2010-2014, Vladimir Kharlampidi * The iDangero.us * http://www.idangero.us/ * * Licensed under GPL & MIT * * Released on: May 6, 2014 */ var Swiper=function(a,b){"use strict";function c(a,b){return document.querySelectorAll?(b||document).querySelectorAll(a):jQuery(a,b)}function d(a){return"[object Array]"===Object.prototype.toString.apply(a)?!0:!1}function e(){var a=F-I;return b.freeMode&&(a=F-I),b.slidesPerView>C.slides.length&&!b.centeredSlides&&(a=0),0>a&&(a=0),a}function f(){function a(a){var c=new Image;c.onload=function(){C&&void 0!==C.imagesLoaded&&C.imagesLoaded++,C.imagesLoaded===C.imagesToLoad.length&&(C.reInit(),b.onImagesReady&&C.fireCallback(b.onImagesReady,C))},c.src=a}var d=C.h.addEventListener,e="wrapper"===b.eventTarget?C.wrapper:C.container;if(C.browser.ie10||C.browser.ie11?(d(e,C.touchEvents.touchStart,p),d(document,C.touchEvents.touchMove,q),d(document,C.touchEvents.touchEnd,r)):(C.support.touch&&(d(e,"touchstart",p),d(e,"touchmove",q),d(e,"touchend",r)),b.simulateTouch&&(d(e,"mousedown",p),d(document,"mousemove",q),d(document,"mouseup",r))),b.autoResize&&d(window,"resize",C.resizeFix),g(),C._wheelEvent=!1,b.mousewheelControl){if(void 0!==document.onmousewheel&&(C._wheelEvent="mousewheel"),!C._wheelEvent)try{new WheelEvent("wheel"),C._wheelEvent="wheel"}catch(f){}C._wheelEvent||(C._wheelEvent="DOMMouseScroll"),C._wheelEvent&&d(C.container,C._wheelEvent,j)}if(b.keyboardControl&&d(document,"keydown",i),b.updateOnImagesReady){C.imagesToLoad=c("img",C.container);for(var h=0;h<C.imagesToLoad.length;h++)a(C.imagesToLoad[h].getAttribute("src"))}}function g(){var a,d=C.h.addEventListener;if(b.preventLinks){var e=c("a",C.container);for(a=0;a<e.length;a++)d(e[a],"click",n)}if(b.releaseFormElements){var f=c("input, textarea, select",C.container);for(a=0;a<f.length;a++)d(f[a],C.touchEvents.touchStart,o,!0)}if(b.onSlideClick)for(a=0;a<C.slides.length;a++)d(C.slides[a],"click",k);if(b.onSlideTouch)for(a=0;a<C.slides.length;a++)d(C.slides[a],C.touchEvents.touchStart,l)}function h(){var a,d=C.h.removeEventListener;if(b.onSlideClick)for(a=0;a<C.slides.length;a++)d(C.slides[a],"click",k);if(b.onSlideTouch)for(a=0;a<C.slides.length;a++)d(C.slides[a],C.touchEvents.touchStart,l);if(b.releaseFormElements){var e=c("input, textarea, select",C.container);for(a=0;a<e.length;a++)d(e[a],C.touchEvents.touchStart,o,!0)}if(b.preventLinks){var f=c("a",C.container);for(a=0;a<f.length;a++)d(f[a],"click",n)}}function i(a){var b=a.keyCode||a.charCode;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey)){if(37===b||39===b||38===b||40===b){for(var c=!1,d=C.h.getOffset(C.container),e=C.h.windowScroll().left,f=C.h.windowScroll().top,g=C.h.windowWidth(),h=C.h.windowHeight(),i=[[d.left,d.top],[d.left+C.width,d.top],[d.left,d.top+C.height],[d.left+C.width,d.top+C.height]],j=0;j<i.length;j++){var k=i[j];k[0]>=e&&k[0]<=e+g&&k[1]>=f&&k[1]<=f+h&&(c=!0)}if(!c)return}M?((37===b||39===b)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),39===b&&C.swipeNext(),37===b&&C.swipePrev()):((38===b||40===b)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),40===b&&C.swipeNext(),38===b&&C.swipePrev())}}function j(a){var c=C._wheelEvent,d=0;if(a.detail)d=-a.detail;else if("mousewheel"===c)if(b.mousewheelControlForceToAxis)if(M){if(!(Math.abs(a.wheelDeltaX)>Math.abs(a.wheelDeltaY)))return;d=a.wheelDeltaX}else{if(!(Math.abs(a.wheelDeltaY)>Math.abs(a.wheelDeltaX)))return;d=a.wheelDeltaY}else d=a.wheelDelta;else if("DOMMouseScroll"===c)d=-a.detail;else if("wheel"===c)if(b.mousewheelControlForceToAxis)if(M){if(!(Math.abs(a.deltaX)>Math.abs(a.deltaY)))return;d=-a.deltaX}else{if(!(Math.abs(a.deltaY)>Math.abs(a.deltaX)))return;d=-a.deltaY}else d=Math.abs(a.deltaX)>Math.abs(a.deltaY)?-a.deltaX:-a.deltaY;if(b.freeMode){var f=C.getWrapperTranslate()+d;if(f>0&&(f=0),f<-e()&&(f=-e()),C.setWrapperTransition(0),C.setWrapperTranslate(f),C.updateActiveSlide(f),0===f||f===-e())return}else(new Date).getTime()-U>60&&(0>d?C.swipeNext():C.swipePrev()),U=(new Date).getTime();return b.autoplay&&C.stopAutoplay(!0),a.preventDefault?a.preventDefault():a.returnValue=!1,!1}function k(a){C.allowSlideClick&&(m(a),C.fireCallback(b.onSlideClick,C,a))}function l(a){m(a),C.fireCallback(b.onSlideTouch,C,a)}function m(a){if(a.currentTarget)C.clickedSlide=a.currentTarget;else{var c=a.srcElement;do{if(c.className.indexOf(b.slideClass)>-1)break;c=c.parentNode}while(c);C.clickedSlide=c}C.clickedSlideIndex=C.slides.indexOf(C.clickedSlide),C.clickedSlideLoopIndex=C.clickedSlideIndex-(C.loopedSlides||0)}function n(a){return C.allowLinks?void 0:(a.preventDefault?a.preventDefault():a.returnValue=!1,b.preventLinksPropagation&&"stopPropagation"in a&&a.stopPropagation(),!1)}function o(a){return a.stopPropagation?a.stopPropagation():a.returnValue=!1,!1}function p(a){if(b.preventLinks&&(C.allowLinks=!0),C.isTouched||b.onlyExternal)return!1;if(b.noSwiping&&(a.target||a.srcElement)&&s(a.target||a.srcElement))return!1;if($=!1,C.isTouched=!0,Z="touchstart"===a.type,!Z||1===a.targetTouches.length){C.callPlugins("onTouchStartBegin"),Z||C.isAndroid||(a.preventDefault?a.preventDefault():a.returnValue=!1);var c=Z?a.targetTouches[0].pageX:a.pageX||a.clientX,d=Z?a.targetTouches[0].pageY:a.pageY||a.clientY;C.touches.startX=C.touches.currentX=c,C.touches.startY=C.touches.currentY=d,C.touches.start=C.touches.current=M?c:d,C.setWrapperTransition(0),C.positions.start=C.positions.current=C.getWrapperTranslate(),C.setWrapperTranslate(C.positions.start),C.times.start=(new Date).getTime(),H=void 0,b.moveStartThreshold>0&&(W=!1),b.onTouchStart&&C.fireCallback(b.onTouchStart,C,a),C.callPlugins("onTouchStartEnd")}}function q(a){if(C.isTouched&&!b.onlyExternal&&(!Z||"mousemove"!==a.type)){var c=Z?a.targetTouches[0].pageX:a.pageX||a.clientX,d=Z?a.targetTouches[0].pageY:a.pageY||a.clientY;if("undefined"==typeof H&&M&&(H=!!(H||Math.abs(d-C.touches.startY)>Math.abs(c-C.touches.startX))),"undefined"!=typeof H||M||(H=!!(H||Math.abs(d-C.touches.startY)<Math.abs(c-C.touches.startX))),H)return void(C.isTouched=!1);if(a.assignedToSwiper)return void(C.isTouched=!1);if(a.assignedToSwiper=!0,b.preventLinks&&(C.allowLinks=!1),b.onSlideClick&&(C.allowSlideClick=!1),b.autoplay&&C.stopAutoplay(!0),!Z||1===a.touches.length){if(C.isMoved||(C.callPlugins("onTouchMoveStart"),b.loop&&(C.fixLoop(),C.positions.start=C.getWrapperTranslate()),b.onTouchMoveStart&&C.fireCallback(b.onTouchMoveStart,C)),C.isMoved=!0,a.preventDefault?a.preventDefault():a.returnValue=!1,C.touches.current=M?c:d,C.positions.current=(C.touches.current-C.touches.start)*b.touchRatio+C.positions.start,C.positions.current>0&&b.onResistanceBefore&&C.fireCallback(b.onResistanceBefore,C,C.positions.current),C.positions.current<-e()&&b.onResistanceAfter&&C.fireCallback(b.onResistanceAfter,C,Math.abs(C.positions.current+e())),b.resistance&&"100%"!==b.resistance){var f;if(C.positions.current>0&&(f=1-C.positions.current/I/2,C.positions.current=.5>f?I/2:C.positions.current*f),C.positions.current<-e()){var g=(C.touches.current-C.touches.start)*b.touchRatio+(e()+C.positions.start);f=(I+g)/I;var h=C.positions.current-g*(1-f)/2,i=-e()-I/2;C.positions.current=i>h||0>=f?i:h}}if(b.resistance&&"100%"===b.resistance&&(C.positions.current>0&&(!b.freeMode||b.freeModeFluid)&&(C.positions.current=0),C.positions.current<-e()&&(!b.freeMode||b.freeModeFluid)&&(C.positions.current=-e())),!b.followFinger)return;if(b.moveStartThreshold)if(Math.abs(C.touches.current-C.touches.start)>b.moveStartThreshold||W){if(!W)return W=!0,void(C.touches.start=C.touches.current);C.setWrapperTranslate(C.positions.current)}else C.positions.current=C.positions.start;else C.setWrapperTranslate(C.positions.current);return(b.freeMode||b.watchActiveIndex)&&C.updateActiveSlide(C.positions.current),b.grabCursor&&(C.container.style.cursor="move",C.container.style.cursor="grabbing",C.container.style.cursor="-moz-grabbin",C.container.style.cursor="-webkit-grabbing"),X||(X=C.touches.current),Y||(Y=(new Date).getTime()),C.velocity=(C.touches.current-X)/((new Date).getTime()-Y)/2,Math.abs(C.touches.current-X)<2&&(C.velocity=0),X=C.touches.current,Y=(new Date).getTime(),C.callPlugins("onTouchMoveEnd"),b.onTouchMove&&C.fireCallback(b.onTouchMove,C,a),!1}}}function r(a){if(H&&C.swipeReset(),!b.onlyExternal&&C.isTouched){C.isTouched=!1,b.grabCursor&&(C.container.style.cursor="move",C.container.style.cursor="grab",C.container.style.cursor="-moz-grab",C.container.style.cursor="-webkit-grab"),C.positions.current||0===C.positions.current||(C.positions.current=C.positions.start),b.followFinger&&C.setWrapperTranslate(C.positions.current),C.times.end=(new Date).getTime(),C.touches.diff=C.touches.current-C.touches.start,C.touches.abs=Math.abs(C.touches.diff),C.positions.diff=C.positions.current-C.positions.start,C.positions.abs=Math.abs(C.positions.diff);var c=C.positions.diff,d=C.positions.abs,f=C.times.end-C.times.start;5>d&&300>f&&C.allowLinks===!1&&(b.freeMode||0===d||C.swipeReset(),b.preventLinks&&(C.allowLinks=!0),b.onSlideClick&&(C.allowSlideClick=!0)),setTimeout(function(){b.preventLinks&&(C.allowLinks=!0),b.onSlideClick&&(C.allowSlideClick=!0)},100);var g=e();if(!C.isMoved&&b.freeMode)return C.isMoved=!1,b.onTouchEnd&&C.fireCallback(b.onTouchEnd,C,a),void C.callPlugins("onTouchEnd");if(!C.isMoved||C.positions.current>0||C.positions.current<-g)return C.swipeReset(),b.onTouchEnd&&C.fireCallback(b.onTouchEnd,C,a),void C.callPlugins("onTouchEnd");if(C.isMoved=!1,b.freeMode){if(b.freeModeFluid){var h,i=1e3*b.momentumRatio,j=C.velocity*i,k=C.positions.current+j,l=!1,m=20*Math.abs(C.velocity)*b.momentumBounceRatio;-g>k&&(b.momentumBounce&&C.support.transitions?(-m>k+g&&(k=-g-m),h=-g,l=!0,$=!0):k=-g),k>0&&(b.momentumBounce&&C.support.transitions?(k>m&&(k=m),h=0,l=!0,$=!0):k=0),0!==C.velocity&&(i=Math.abs((k-C.positions.current)/C.velocity)),C.setWrapperTranslate(k),C.setWrapperTransition(i),b.momentumBounce&&l&&C.wrapperTransitionEnd(function(){$&&(b.onMomentumBounce&&C.fireCallback(b.onMomentumBounce,C),C.callPlugins("onMomentumBounce"),C.setWrapperTranslate(h),C.setWrapperTransition(300))}),C.updateActiveSlide(k)}return(!b.freeModeFluid||f>=300)&&C.updateActiveSlide(C.positions.current),b.onTouchEnd&&C.fireCallback(b.onTouchEnd,C,a),void C.callPlugins("onTouchEnd")}G=0>c?"toNext":"toPrev","toNext"===G&&300>=f&&(30>d||!b.shortSwipes?C.swipeReset():C.swipeNext(!0)),"toPrev"===G&&300>=f&&(30>d||!b.shortSwipes?C.swipeReset():C.swipePrev(!0));var n=0;if("auto"===b.slidesPerView){for(var o,p=Math.abs(C.getWrapperTranslate()),q=0,r=0;r<C.slides.length;r++)if(o=M?C.slides[r].getWidth(!0,b.roundLengths):C.slides[r].getHeight(!0,b.roundLengths),q+=o,q>p){n=o;break}n>I&&(n=I)}else n=E*b.slidesPerView;"toNext"===G&&f>300&&(d>=n*b.longSwipesRatio?C.swipeNext(!0):C.swipeReset()),"toPrev"===G&&f>300&&(d>=n*b.longSwipesRatio?C.swipePrev(!0):C.swipeReset()),b.onTouchEnd&&C.fireCallback(b.onTouchEnd,C,a),C.callPlugins("onTouchEnd")}}function s(a){var c=!1;do a.className.indexOf(b.noSwipingClass)>-1&&(c=!0),a=a.parentElement;while(!c&&a.parentElement&&-1===a.className.indexOf(b.wrapperClass));return!c&&a.className.indexOf(b.wrapperClass)>-1&&a.className.indexOf(b.noSwipingClass)>-1&&(c=!0),c}function t(a,b){var c,d=document.createElement("div");return d.innerHTML=b,c=d.firstChild,c.className+=" "+a,c.outerHTML}function u(a,c,d){function e(){var f=+new Date,l=f-g;h+=i*l/(1e3/60),k="toNext"===j?h>a:a>h,k?(C.setWrapperTranslate(Math.round(h)),C._DOMAnimating=!0,window.setTimeout(function(){e()},1e3/60)):(b.onSlideChangeEnd&&("to"===c?d.runCallbacks===!0&&C.fireCallback(b.onSlideChangeEnd,C):C.fireCallback(b.onSlideChangeEnd,C)),C.setWrapperTranslate(a),C._DOMAnimating=!1)}var f="to"===c&&d.speed>=0?d.speed:b.speed,g=+new Date;if(C.support.transitions||!b.DOMAnimation)C.setWrapperTranslate(a),C.setWrapperTransition(f);else{var h=C.getWrapperTranslate(),i=Math.ceil((a-h)/f*(1e3/60)),j=h>a?"toNext":"toPrev",k="toNext"===j?h>a:a>h;if(C._DOMAnimating)return;e()}C.updateActiveSlide(a),b.onSlideNext&&"next"===c&&C.fireCallback(b.onSlideNext,C,a),b.onSlidePrev&&"prev"===c&&C.fireCallback(b.onSlidePrev,C,a),b.onSlideReset&&"reset"===c&&C.fireCallback(b.onSlideReset,C,a),("next"===c||"prev"===c||"to"===c&&d.runCallbacks===!0)&&v(c)}function v(a){if(C.callPlugins("onSlideChangeStart"),b.onSlideChangeStart)if(b.queueStartCallbacks&&C.support.transitions){if(C._queueStartCallbacks)return;C._queueStartCallbacks=!0,C.fireCallback(b.onSlideChangeStart,C,a),C.wrapperTransitionEnd(function(){C._queueStartCallbacks=!1})}else C.fireCallback(b.onSlideChangeStart,C,a);if(b.onSlideChangeEnd)if(C.support.transitions)if(b.queueEndCallbacks){if(C._queueEndCallbacks)return;C._queueEndCallbacks=!0,C.wrapperTransitionEnd(function(c){C.fireCallback(b.onSlideChangeEnd,c,a)})}else C.wrapperTransitionEnd(function(c){C.fireCallback(b.onSlideChangeEnd,c,a)});else b.DOMAnimation||setTimeout(function(){C.fireCallback(b.onSlideChangeEnd,C,a)},10)}function w(){var a=C.paginationButtons;if(a)for(var b=0;b<a.length;b++)C.h.removeEventListener(a[b],"click",y)}function x(){var a=C.paginationButtons;if(a)for(var b=0;b<a.length;b++)C.h.addEventListener(a[b],"click",y)}function y(a){for(var b,c=a.target||a.srcElement,d=C.paginationButtons,e=0;e<d.length;e++)c===d[e]&&(b=e);C.swipeTo(b)}function z(){_=setTimeout(function(){b.loop?(C.fixLoop(),C.swipeNext(!0)):C.swipeNext(!0)||(b.autoplayStopOnLast?(clearTimeout(_),_=void 0):C.swipeTo(0)),C.wrapperTransitionEnd(function(){"undefined"!=typeof _&&z()})},b.autoplay)}function A(){C.calcSlides(),b.loader.slides.length>0&&0===C.slides.length&&C.loadSlides(),b.loop&&C.createLoop(),C.init(),f(),b.pagination&&C.createPagination(!0),b.loop||b.initialSlide>0?C.swipeTo(b.initialSlide,0,!1):C.updateActiveSlide(0),b.autoplay&&C.startAutoplay(),C.centerIndex=C.activeIndex,b.onSwiperCreated&&C.fireCallback(b.onSwiperCreated,C),C.callPlugins("onSwiperCreated")}if(document.body.__defineGetter__&&HTMLElement){var B=HTMLElement.prototype;B.__defineGetter__&&B.__defineGetter__("outerHTML",function(){return(new XMLSerializer).serializeToString(this)})}if(window.getComputedStyle||(window.getComputedStyle=function(a){return this.el=a,this.getPropertyValue=function(b){var c=/(\-([a-z]){1})/g;return"float"===b&&(b="styleFloat"),c.test(b)&&(b=b.replace(c,function(){return arguments[2].toUpperCase()})),a.currentStyle[b]?a.currentStyle[b]:null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){for(var c=b||0,d=this.length;d>c;c++)if(this[c]===a)return c;return-1}),(document.querySelectorAll||window.jQuery)&&"undefined"!=typeof a&&(a.nodeType||0!==c(a).length)){var C=this;C.touches={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,diff:0,abs:0},C.positions={start:0,abs:0,diff:0,current:0},C.times={start:0,end:0},C.id=(new Date).getTime(),C.container=a.nodeType?a:c(a)[0],C.isTouched=!1,C.isMoved=!1,C.activeIndex=0,C.centerIndex=0,C.activeLoaderIndex=0,C.activeLoopIndex=0,C.previousIndex=null,C.velocity=0,C.snapGrid=[],C.slidesGrid=[],C.imagesToLoad=[],C.imagesLoaded=0,C.wrapperLeft=0,C.wrapperRight=0,C.wrapperTop=0,C.wrapperBottom=0,C.isAndroid=navigator.userAgent.toLowerCase().indexOf("android")>=0;var D,E,F,G,H,I,J={eventTarget:"wrapper",mode:"horizontal",touchRatio:1,speed:300,freeMode:!1,freeModeFluid:!1,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,slidesPerView:1,slidesPerGroup:1,slidesPerViewFit:!0,simulateTouch:!0,followFinger:!0,shortSwipes:!0,longSwipesRatio:.5,moveStartThreshold:!1,onlyExternal:!1,createPagination:!0,pagination:!1,paginationElement:"span",paginationClickable:!1,paginationAsRange:!0,resistance:!0,scrollContainer:!1,preventLinks:!0,preventLinksPropagation:!1,noSwiping:!1,noSwipingClass:"swiper-no-swiping",initialSlide:0,keyboardControl:!1,mousewheelControl:!1,mousewheelControlForceToAxis:!1,useCSS3Transforms:!0,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,loop:!1,loopAdditionalSlides:0,roundLengths:!1,calculateHeight:!1,cssWidthAndHeight:!1,updateOnImagesReady:!0,releaseFormElements:!0,watchActiveIndex:!1,visibilityFullFit:!1,offsetPxBefore:0,offsetPxAfter:0,offsetSlidesBefore:0,offsetSlidesAfter:0,centeredSlides:!1,queueStartCallbacks:!1,queueEndCallbacks:!1,autoResize:!0,resizeReInit:!1,DOMAnimation:!0,loader:{slides:[],slidesHTMLType:"inner",surroundGroups:1,logic:"reload",loadAllSlides:!1},slideElement:"div",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",wrapperClass:"swiper-wrapper",paginationElementClass:"swiper-pagination-switch",paginationActiveClass:"swiper-active-switch",paginationVisibleClass:"swiper-visible-switch"};b=b||{};for(var K in J)if(K in b&&"object"==typeof b[K])for(var L in J[K])L in b[K]||(b[K][L]=J[K][L]);else K in b||(b[K]=J[K]);C.params=b,b.scrollContainer&&(b.freeMode=!0,b.freeModeFluid=!0),b.loop&&(b.resistance="100%");var M="horizontal"===b.mode,N=["mousedown","mousemove","mouseup"];C.browser.ie10&&(N=["MSPointerDown","MSPointerMove","MSPointerUp"]),C.browser.ie11&&(N=["pointerdown","pointermove","pointerup"]),C.touchEvents={touchStart:C.support.touch||!b.simulateTouch?"touchstart":N[0],touchMove:C.support.touch||!b.simulateTouch?"touchmove":N[1],touchEnd:C.support.touch||!b.simulateTouch?"touchend":N[2]};for(var O=C.container.childNodes.length-1;O>=0;O--)if(C.container.childNodes[O].className)for(var P=C.container.childNodes[O].className.split(/\s+/),Q=0;Q<P.length;Q++)P[Q]===b.wrapperClass&&(D=C.container.childNodes[O]);C.wrapper=D,C._extendSwiperSlide=function(a){return a.append=function(){return b.loop?a.insertAfter(C.slides.length-C.loopedSlides):(C.wrapper.appendChild(a),C.reInit()),a},a.prepend=function(){return b.loop?(C.wrapper.insertBefore(a,C.slides[C.loopedSlides]),C.removeLoopedSlides(),C.calcSlides(),C.createLoop()):C.wrapper.insertBefore(a,C.wrapper.firstChild),C.reInit(),a},a.insertAfter=function(c){if("undefined"==typeof c)return!1;var d;return b.loop?(d=C.slides[c+1+C.loopedSlides],d?C.wrapper.insertBefore(a,d):C.wrapper.appendChild(a),C.removeLoopedSlides(),C.calcSlides(),C.createLoop()):(d=C.slides[c+1],C.wrapper.insertBefore(a,d)),C.reInit(),a},a.clone=function(){return C._extendSwiperSlide(a.cloneNode(!0))},a.remove=function(){C.wrapper.removeChild(a),C.reInit()},a.html=function(b){return"undefined"==typeof b?a.innerHTML:(a.innerHTML=b,a)},a.index=function(){for(var b,c=C.slides.length-1;c>=0;c--)a===C.slides[c]&&(b=c);return b},a.isActive=function(){return a.index()===C.activeIndex?!0:!1},a.swiperSlideDataStorage||(a.swiperSlideDataStorage={}),a.getData=function(b){return a.swiperSlideDataStorage[b]},a.setData=function(b,c){return a.swiperSlideDataStorage[b]=c,a},a.data=function(b,c){return"undefined"==typeof c?a.getAttribute("data-"+b):(a.setAttribute("data-"+b,c),a)},a.getWidth=function(b,c){return C.h.getWidth(a,b,c)},a.getHeight=function(b,c){return C.h.getHeight(a,b,c)},a.getOffset=function(){return C.h.getOffset(a)},a},C.calcSlides=function(a){var c=C.slides?C.slides.length:!1;C.slides=[],C.displaySlides=[];for(var d=0;d<C.wrapper.childNodes.length;d++)if(C.wrapper.childNodes[d].className)for(var e=C.wrapper.childNodes[d].className,f=e.split(/\s+/),i=0;i<f.length;i++)f[i]===b.slideClass&&C.slides.push(C.wrapper.childNodes[d]);for(d=C.slides.length-1;d>=0;d--)C._extendSwiperSlide(C.slides[d]);c!==!1&&(c!==C.slides.length||a)&&(h(),g(),C.updateActiveSlide(),C.params.pagination&&C.createPagination(),C.callPlugins("numberOfSlidesChanged"))},C.createSlide=function(a,c,d){c=c||C.params.slideClass,d=d||b.slideElement;var e=document.createElement(d);return e.innerHTML=a||"",e.className=c,C._extendSwiperSlide(e)},C.appendSlide=function(a,b,c){return a?a.nodeType?C._extendSwiperSlide(a).append():C.createSlide(a,b,c).append():void 0},C.prependSlide=function(a,b,c){return a?a.nodeType?C._extendSwiperSlide(a).prepend():C.createSlide(a,b,c).prepend():void 0},C.insertSlideAfter=function(a,b,c,d){return"undefined"==typeof a?!1:b.nodeType?C._extendSwiperSlide(b).insertAfter(a):C.createSlide(b,c,d).insertAfter(a)},C.removeSlide=function(a){if(C.slides[a]){if(b.loop){if(!C.slides[a+C.loopedSlides])return!1;C.slides[a+C.loopedSlides].remove(),C.removeLoopedSlides(),C.calcSlides(),C.createLoop()}else C.slides[a].remove();return!0}return!1},C.removeLastSlide=function(){return C.slides.length>0?(b.loop?(C.slides[C.slides.length-1-C.loopedSlides].remove(),C.removeLoopedSlides(),C.calcSlides(),C.createLoop()):C.slides[C.slides.length-1].remove(),!0):!1},C.removeAllSlides=function(){for(var a=C.slides.length-1;a>=0;a--)C.slides[a].remove()},C.getSlide=function(a){return C.slides[a]},C.getLastSlide=function(){return C.slides[C.slides.length-1]},C.getFirstSlide=function(){return C.slides[0]},C.activeSlide=function(){return C.slides[C.activeIndex]},C.fireCallback=function(){var a=arguments[0];if("[object Array]"===Object.prototype.toString.call(a))for(var c=0;c<a.length;c++)"function"==typeof a[c]&&a[c](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);else"[object String]"===Object.prototype.toString.call(a)?b["on"+a]&&C.fireCallback(b["on"+a],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]):a(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},C.addCallback=function(a,b){var c,e=this;return e.params["on"+a]?d(this.params["on"+a])?this.params["on"+a].push(b):"function"==typeof this.params["on"+a]?(c=this.params["on"+a],this.params["on"+a]=[],this.params["on"+a].push(c),this.params["on"+a].push(b)):void 0:(this.params["on"+a]=[],this.params["on"+a].push(b))},C.removeCallbacks=function(a){C.params["on"+a]&&(C.params["on"+a]=null)};var R=[];for(var S in C.plugins)if(b[S]){var T=C.plugins[S](C,b[S]);T&&R.push(T)}C.callPlugins=function(a,b){b||(b={});for(var c=0;c<R.length;c++)a in R[c]&&R[c][a](b)},!C.browser.ie10&&!C.browser.ie11||b.onlyExternal||C.wrapper.classList.add("swiper-wp8-"+(M?"horizontal":"vertical")),b.freeMode&&(C.container.className+=" swiper-free-mode"),C.initialized=!1,C.init=function(a,c){var d=C.h.getWidth(C.container,!1,b.roundLengths),e=C.h.getHeight(C.container,!1,b.roundLengths);if(d!==C.width||e!==C.height||a){C.width=d,C.height=e;var f,g,h,i,j,k,l;I=M?d:e;var m=C.wrapper;if(a&&C.calcSlides(c),"auto"===b.slidesPerView){var n=0,o=0;b.slidesOffset>0&&(m.style.paddingLeft="",m.style.paddingRight="",m.style.paddingTop="",m.style.paddingBottom=""),m.style.width="",m.style.height="",b.offsetPxBefore>0&&(M?C.wrapperLeft=b.offsetPxBefore:C.wrapperTop=b.offsetPxBefore),b.offsetPxAfter>0&&(M?C.wrapperRight=b.offsetPxAfter:C.wrapperBottom=b.offsetPxAfter),b.centeredSlides&&(M?(C.wrapperLeft=(I-this.slides[0].getWidth(!0,b.roundLengths))/2,C.wrapperRight=(I-C.slides[C.slides.length-1].getWidth(!0,b.roundLengths))/2):(C.wrapperTop=(I-C.slides[0].getHeight(!0,b.roundLengths))/2,C.wrapperBottom=(I-C.slides[C.slides.length-1].getHeight(!0,b.roundLengths))/2)),M?(C.wrapperLeft>=0&&(m.style.paddingLeft=C.wrapperLeft+"px"),C.wrapperRight>=0&&(m.style.paddingRight=C.wrapperRight+"px")):(C.wrapperTop>=0&&(m.style.paddingTop=C.wrapperTop+"px"),C.wrapperBottom>=0&&(m.style.paddingBottom=C.wrapperBottom+"px")),k=0;var p=0;for(C.snapGrid=[],C.slidesGrid=[],h=0,l=0;l<C.slides.length;l++){f=C.slides[l].getWidth(!0,b.roundLengths),g=C.slides[l].getHeight(!0,b.roundLengths),b.calculateHeight&&(h=Math.max(h,g));var q=M?f:g;if(b.centeredSlides){var r=l===C.slides.length-1?0:C.slides[l+1].getWidth(!0,b.roundLengths),s=l===C.slides.length-1?0:C.slides[l+1].getHeight(!0,b.roundLengths),t=M?r:s;if(q>I){if(b.slidesPerViewFit)C.snapGrid.push(k+C.wrapperLeft),C.snapGrid.push(k+q-I+C.wrapperLeft);else for(var u=0;u<=Math.floor(q/(I+C.wrapperLeft));u++)C.snapGrid.push(0===u?k+C.wrapperLeft:k+C.wrapperLeft+I*u);C.slidesGrid.push(k+C.wrapperLeft)}else C.snapGrid.push(p),C.slidesGrid.push(p);p+=q/2+t/2}else{if(q>I)if(b.slidesPerViewFit)C.snapGrid.push(k),C.snapGrid.push(k+q-I);else if(0!==I)for(var v=0;v<=Math.floor(q/I);v++)C.snapGrid.push(k+I*v);else C.snapGrid.push(k);else C.snapGrid.push(k);C.slidesGrid.push(k)}k+=q,n+=f,o+=g}b.calculateHeight&&(C.height=h),M?(F=n+C.wrapperRight+C.wrapperLeft,m.style.width=n+"px",m.style.height=C.height+"px"):(F=o+C.wrapperTop+C.wrapperBottom,m.style.width=C.width+"px",m.style.height=o+"px")}else if(b.scrollContainer)m.style.width="",m.style.height="",i=C.slides[0].getWidth(!0,b.roundLengths),j=C.slides[0].getHeight(!0,b.roundLengths),F=M?i:j,m.style.width=i+"px",m.style.height=j+"px",E=M?i:j;else{if(b.calculateHeight){for(h=0,j=0,M||(C.container.style.height=""),m.style.height="",l=0;l<C.slides.length;l++)C.slides[l].style.height="",h=Math.max(C.slides[l].getHeight(!0),h),M||(j+=C.slides[l].getHeight(!0));g=h,C.height=g,M?j=g:(I=g,C.container.style.height=I+"px")}else g=M?C.height:C.height/b.slidesPerView,b.roundLengths&&(g=Math.round(g)),j=M?C.height:C.slides.length*g;for(f=M?C.width/b.slidesPerView:C.width,b.roundLengths&&(f=Math.round(f)),i=M?C.slides.length*f:C.width,E=M?f:g,b.offsetSlidesBefore>0&&(M?C.wrapperLeft=E*b.offsetSlidesBefore:C.wrapperTop=E*b.offsetSlidesBefore),b.offsetSlidesAfter>0&&(M?C.wrapperRight=E*b.offsetSlidesAfter:C.wrapperBottom=E*b.offsetSlidesAfter),b.offsetPxBefore>0&&(M?C.wrapperLeft=b.offsetPxBefore:C.wrapperTop=b.offsetPxBefore),b.offsetPxAfter>0&&(M?C.wrapperRight=b.offsetPxAfter:C.wrapperBottom=b.offsetPxAfter),b.centeredSlides&&(M?(C.wrapperLeft=(I-E)/2,C.wrapperRight=(I-E)/2):(C.wrapperTop=(I-E)/2,C.wrapperBottom=(I-E)/2)),M?(C.wrapperLeft>0&&(m.style.paddingLeft=C.wrapperLeft+"px"),C.wrapperRight>0&&(m.style.paddingRight=C.wrapperRight+"px")):(C.wrapperTop>0&&(m.style.paddingTop=C.wrapperTop+"px"),C.wrapperBottom>0&&(m.style.paddingBottom=C.wrapperBottom+"px")),F=M?i+C.wrapperRight+C.wrapperLeft:j+C.wrapperTop+C.wrapperBottom,b.cssWidthAndHeight||(parseFloat(i)>0&&(m.style.width=i+"px"),parseFloat(j)>0&&(m.style.height=j+"px")),k=0,C.snapGrid=[],C.slidesGrid=[],l=0;l<C.slides.length;l++)C.snapGrid.push(k),C.slidesGrid.push(k),k+=E,b.cssWidthAndHeight||(parseFloat(f)>0&&(C.slides[l].style.width=f+"px"),parseFloat(g)>0&&(C.slides[l].style.height=g+"px"))}C.initialized?(C.callPlugins("onInit"),b.onInit&&C.fireCallback(b.onInit,C)):(C.callPlugins("onFirstInit"),b.onFirstInit&&C.fireCallback(b.onFirstInit,C)),C.initialized=!0}},C.reInit=function(a){C.init(!0,a)},C.resizeFix=function(a){C.callPlugins("beforeResizeFix"),C.init(b.resizeReInit||a),b.freeMode?C.getWrapperTranslate()<-e()&&(C.setWrapperTransition(0),C.setWrapperTranslate(-e())):(C.swipeTo(b.loop?C.activeLoopIndex:C.activeIndex,0,!1),b.autoplay&&(C.support.transitions&&"undefined"!=typeof _?"undefined"!=typeof _&&(clearTimeout(_),_=void 0,C.startAutoplay()):"undefined"!=typeof ab&&(clearInterval(ab),ab=void 0,C.startAutoplay()))),C.callPlugins("afterResizeFix")},C.destroy=function(){var a=C.h.removeEventListener,c="wrapper"===b.eventTarget?C.wrapper:C.container;C.browser.ie10||C.browser.ie11?(a(c,C.touchEvents.touchStart,p),a(document,C.touchEvents.touchMove,q),a(document,C.touchEvents.touchEnd,r)):(C.support.touch&&(a(c,"touchstart",p),a(c,"touchmove",q),a(c,"touchend",r)),b.simulateTouch&&(a(c,"mousedown",p),a(document,"mousemove",q),a(document,"mouseup",r))),b.autoResize&&a(window,"resize",C.resizeFix),h(),b.paginationClickable&&w(),b.mousewheelControl&&C._wheelEvent&&a(C.container,C._wheelEvent,j),b.keyboardControl&&a(document,"keydown",i),b.autoplay&&C.stopAutoplay(),C.callPlugins("onDestroy"),C=null},C.disableKeyboardControl=function(){b.keyboardControl=!1,C.h.removeEventListener(document,"keydown",i)},C.enableKeyboardControl=function(){b.keyboardControl=!0,C.h.addEventListener(document,"keydown",i)};var U=(new Date).getTime();if(C.disableMousewheelControl=function(){return C._wheelEvent?(b.mousewheelControl=!1,C.h.removeEventListener(C.container,C._wheelEvent,j),!0):!1},C.enableMousewheelControl=function(){return C._wheelEvent?(b.mousewheelControl=!0,C.h.addEventListener(C.container,C._wheelEvent,j),!0):!1},b.grabCursor){var V=C.container.style;V.cursor="move",V.cursor="grab",V.cursor="-moz-grab",V.cursor="-webkit-grab"}C.allowSlideClick=!0,C.allowLinks=!0;var W,X,Y,Z=!1,$=!0;C.swipeNext=function(a){!a&&b.loop&&C.fixLoop(),!a&&b.autoplay&&C.stopAutoplay(!0),C.callPlugins("onSwipeNext");var c=C.getWrapperTranslate(),d=c;if("auto"===b.slidesPerView){for(var f=0;f<C.snapGrid.length;f++)if(-c>=C.snapGrid[f]&&-c<C.snapGrid[f+1]){d=-C.snapGrid[f+1];break}}else{var g=E*b.slidesPerGroup;d=-(Math.floor(Math.abs(c)/Math.floor(g))*g+g)}return d<-e()&&(d=-e()),d===c?!1:(u(d,"next"),!0)},C.swipePrev=function(a){!a&&b.loop&&C.fixLoop(),!a&&b.autoplay&&C.stopAutoplay(!0),C.callPlugins("onSwipePrev");var c,d=Math.ceil(C.getWrapperTranslate());if("auto"===b.slidesPerView){c=0;for(var e=1;e<C.snapGrid.length;e++){if(-d===C.snapGrid[e]){c=-C.snapGrid[e-1];break}if(-d>C.snapGrid[e]&&-d<C.snapGrid[e+1]){c=-C.snapGrid[e];break}}}else{var f=E*b.slidesPerGroup;c=-(Math.ceil(-d/f)-1)*f}return c>0&&(c=0),c===d?!1:(u(c,"prev"),!0)},C.swipeReset=function(){C.callPlugins("onSwipeReset");{var a,c=C.getWrapperTranslate(),d=E*b.slidesPerGroup;-e()}if("auto"===b.slidesPerView){a=0;for(var f=0;f<C.snapGrid.length;f++){if(-c===C.snapGrid[f])return;if(-c>=C.snapGrid[f]&&-c<C.snapGrid[f+1]){a=C.positions.diff>0?-C.snapGrid[f+1]:-C.snapGrid[f];break}}-c>=C.snapGrid[C.snapGrid.length-1]&&(a=-C.snapGrid[C.snapGrid.length-1]),c<=-e()&&(a=-e())}else a=0>c?Math.round(c/d)*d:0;return b.scrollContainer&&(a=0>c?c:0),a<-e()&&(a=-e()),b.scrollContainer&&I>E&&(a=0),a===c?!1:(u(a,"reset"),!0)},C.swipeTo=function(a,c,d){a=parseInt(a,10),C.callPlugins("onSwipeTo",{index:a,speed:c}),b.loop&&(a+=C.loopedSlides);var f=C.getWrapperTranslate();if(!(a>C.slides.length-1||0>a)){var g;return g="auto"===b.slidesPerView?-C.slidesGrid[a]:-a*E,g<-e()&&(g=-e()),g===f?!1:(d=d===!1?!1:!0,u(g,"to",{index:a,speed:c,runCallbacks:d}),!0)}},C._queueStartCallbacks=!1,C._queueEndCallbacks=!1,C.updateActiveSlide=function(a){if(C.initialized&&0!==C.slides.length){C.previousIndex=C.activeIndex,"undefined"==typeof a&&(a=C.getWrapperTranslate()),a>0&&(a=0);var c;if("auto"===b.slidesPerView){if(C.activeIndex=C.slidesGrid.indexOf(-a),C.activeIndex<0){for(c=0;c<C.slidesGrid.length-1&&!(-a>C.slidesGrid[c]&&-a<C.slidesGrid[c+1]);c++);var d=Math.abs(C.slidesGrid[c]+a),e=Math.abs(C.slidesGrid[c+1]+a);C.activeIndex=e>=d?c:c+1}}else C.activeIndex=Math[b.visibilityFullFit?"ceil":"round"](-a/E);if(C.activeIndex===C.slides.length&&(C.activeIndex=C.slides.length-1),C.activeIndex<0&&(C.activeIndex=0),C.slides[C.activeIndex]){if(C.calcVisibleSlides(a),C.support.classList){var f;for(c=0;c<C.slides.length;c++)f=C.slides[c],f.classList.remove(b.slideActiveClass),C.visibleSlides.indexOf(f)>=0?f.classList.add(b.slideVisibleClass):f.classList.remove(b.slideVisibleClass);C.slides[C.activeIndex].classList.add(b.slideActiveClass)}else{var g=new RegExp("\\s*"+b.slideActiveClass),h=new RegExp("\\s*"+b.slideVisibleClass);for(c=0;c<C.slides.length;c++)C.slides[c].className=C.slides[c].className.replace(g,"").replace(h,""),C.visibleSlides.indexOf(C.slides[c])>=0&&(C.slides[c].className+=" "+b.slideVisibleClass);C.slides[C.activeIndex].className+=" "+b.slideActiveClass}if(b.loop){var i=C.loopedSlides;C.activeLoopIndex=C.activeIndex-i,C.activeLoopIndex>=C.slides.length-2*i&&(C.activeLoopIndex=C.slides.length-2*i-C.activeLoopIndex),C.activeLoopIndex<0&&(C.activeLoopIndex=C.slides.length-2*i+C.activeLoopIndex),C.activeLoopIndex<0&&(C.activeLoopIndex=0)}else C.activeLoopIndex=C.activeIndex;b.pagination&&C.updatePagination(a)}}},C.createPagination=function(a){if(b.paginationClickable&&C.paginationButtons&&w(),C.paginationContainer=b.pagination.nodeType?b.pagination:c(b.pagination)[0],b.createPagination){var d="",e=C.slides.length,f=e;b.loop&&(f-=2*C.loopedSlides);for(var g=0;f>g;g++)d+="<"+b.paginationElement+' class="'+b.paginationElementClass+'"></'+b.paginationElement+">";C.paginationContainer.innerHTML=d}C.paginationButtons=c("."+b.paginationElementClass,C.paginationContainer),a||C.updatePagination(),C.callPlugins("onCreatePagination"),b.paginationClickable&&x()},C.updatePagination=function(a){if(b.pagination&&!(C.slides.length<1)){var d=c("."+b.paginationActiveClass,C.paginationContainer); if(d){var e=C.paginationButtons;if(0!==e.length){for(var f=0;f<e.length;f++)e[f].className=b.paginationElementClass;var g=b.loop?C.loopedSlides:0;if(b.paginationAsRange){C.visibleSlides||C.calcVisibleSlides(a);var h,i=[];for(h=0;h<C.visibleSlides.length;h++){var j=C.slides.indexOf(C.visibleSlides[h])-g;b.loop&&0>j&&(j=C.slides.length-2*C.loopedSlides+j),b.loop&&j>=C.slides.length-2*C.loopedSlides&&(j=C.slides.length-2*C.loopedSlides-j,j=Math.abs(j)),i.push(j)}for(h=0;h<i.length;h++)e[i[h]]&&(e[i[h]].className+=" "+b.paginationVisibleClass);b.loop?void 0!==e[C.activeLoopIndex]&&(e[C.activeLoopIndex].className+=" "+b.paginationActiveClass):e[C.activeIndex].className+=" "+b.paginationActiveClass}else b.loop?e[C.activeLoopIndex]&&(e[C.activeLoopIndex].className+=" "+b.paginationActiveClass+" "+b.paginationVisibleClass):e[C.activeIndex].className+=" "+b.paginationActiveClass+" "+b.paginationVisibleClass}}}},C.calcVisibleSlides=function(a){var c=[],d=0,e=0,f=0;M&&C.wrapperLeft>0&&(a+=C.wrapperLeft),!M&&C.wrapperTop>0&&(a+=C.wrapperTop);for(var g=0;g<C.slides.length;g++){d+=e,e="auto"===b.slidesPerView?M?C.h.getWidth(C.slides[g],!0,b.roundLengths):C.h.getHeight(C.slides[g],!0,b.roundLengths):E,f=d+e;var h=!1;b.visibilityFullFit?(d>=-a&&-a+I>=f&&(h=!0),-a>=d&&f>=-a+I&&(h=!0)):(f>-a&&-a+I>=f&&(h=!0),d>=-a&&-a+I>d&&(h=!0),-a>d&&f>-a+I&&(h=!0)),h&&c.push(C.slides[g])}0===c.length&&(c=[C.slides[C.activeIndex]]),C.visibleSlides=c};var _,ab;C.startAutoplay=function(){if(C.support.transitions){if("undefined"!=typeof _)return!1;if(!b.autoplay)return;C.callPlugins("onAutoplayStart"),b.onAutoplayStart&&C.fireCallback(b.onAutoplayStart,C),z()}else{if("undefined"!=typeof ab)return!1;if(!b.autoplay)return;C.callPlugins("onAutoplayStart"),b.onAutoplayStart&&C.fireCallback(b.onAutoplayStart,C),ab=setInterval(function(){b.loop?(C.fixLoop(),C.swipeNext(!0)):C.swipeNext(!0)||(b.autoplayStopOnLast?(clearInterval(ab),ab=void 0):C.swipeTo(0))},b.autoplay)}},C.stopAutoplay=function(a){if(C.support.transitions){if(!_)return;_&&clearTimeout(_),_=void 0,a&&!b.autoplayDisableOnInteraction&&C.wrapperTransitionEnd(function(){z()}),C.callPlugins("onAutoplayStop"),b.onAutoplayStop&&C.fireCallback(b.onAutoplayStop,C)}else ab&&clearInterval(ab),ab=void 0,C.callPlugins("onAutoplayStop"),b.onAutoplayStop&&C.fireCallback(b.onAutoplayStop,C)},C.loopCreated=!1,C.removeLoopedSlides=function(){if(C.loopCreated)for(var a=0;a<C.slides.length;a++)C.slides[a].getData("looped")===!0&&C.wrapper.removeChild(C.slides[a])},C.createLoop=function(){if(0!==C.slides.length){C.loopedSlides="auto"===b.slidesPerView?b.loopedSlides||1:b.slidesPerView+b.loopAdditionalSlides,C.loopedSlides>C.slides.length&&(C.loopedSlides=C.slides.length);var a,c="",d="",e="",f=C.slides.length,g=Math.floor(C.loopedSlides/f),h=C.loopedSlides%f;for(a=0;g*f>a;a++){var i=a;if(a>=f){var j=Math.floor(a/f);i=a-f*j}e+=C.slides[i].outerHTML}for(a=0;h>a;a++)d+=t(b.slideDuplicateClass,C.slides[a].outerHTML);for(a=f-h;f>a;a++)c+=t(b.slideDuplicateClass,C.slides[a].outerHTML);var k=c+e+D.innerHTML+e+d;for(D.innerHTML=k,C.loopCreated=!0,C.calcSlides(),a=0;a<C.slides.length;a++)(a<C.loopedSlides||a>=C.slides.length-C.loopedSlides)&&C.slides[a].setData("looped",!0);C.callPlugins("onCreateLoop")}},C.fixLoop=function(){var a;C.activeIndex<C.loopedSlides?(a=C.slides.length-3*C.loopedSlides+C.activeIndex,C.swipeTo(a,0,!1)):("auto"===b.slidesPerView&&C.activeIndex>=2*C.loopedSlides||C.activeIndex>C.slides.length-2*b.slidesPerView)&&(a=-C.slides.length+C.activeIndex+C.loopedSlides,C.swipeTo(a,0,!1))},C.loadSlides=function(){var a="";C.activeLoaderIndex=0;for(var c=b.loader.slides,d=b.loader.loadAllSlides?c.length:b.slidesPerView*(1+b.loader.surroundGroups),e=0;d>e;e++)a+="outer"===b.loader.slidesHTMLType?c[e]:"<"+b.slideElement+' class="'+b.slideClass+'" data-swiperindex="'+e+'">'+c[e]+"</"+b.slideElement+">";C.wrapper.innerHTML=a,C.calcSlides(!0),b.loader.loadAllSlides||C.wrapperTransitionEnd(C.reloadSlides,!0)},C.reloadSlides=function(){var a=b.loader.slides,c=parseInt(C.activeSlide().data("swiperindex"),10);if(!(0>c||c>a.length-1)){C.activeLoaderIndex=c;var d=Math.max(0,c-b.slidesPerView*b.loader.surroundGroups),e=Math.min(c+b.slidesPerView*(1+b.loader.surroundGroups)-1,a.length-1);if(c>0){var f=-E*(c-d);C.setWrapperTranslate(f),C.setWrapperTransition(0)}var g;if("reload"===b.loader.logic){C.wrapper.innerHTML="";var h="";for(g=d;e>=g;g++)h+="outer"===b.loader.slidesHTMLType?a[g]:"<"+b.slideElement+' class="'+b.slideClass+'" data-swiperindex="'+g+'">'+a[g]+"</"+b.slideElement+">";C.wrapper.innerHTML=h}else{var i=1e3,j=0;for(g=0;g<C.slides.length;g++){var k=C.slides[g].data("swiperindex");d>k||k>e?C.wrapper.removeChild(C.slides[g]):(i=Math.min(k,i),j=Math.max(k,j))}for(g=d;e>=g;g++){var l;i>g&&(l=document.createElement(b.slideElement),l.className=b.slideClass,l.setAttribute("data-swiperindex",g),l.innerHTML=a[g],C.wrapper.insertBefore(l,C.wrapper.firstChild)),g>j&&(l=document.createElement(b.slideElement),l.className=b.slideClass,l.setAttribute("data-swiperindex",g),l.innerHTML=a[g],C.wrapper.appendChild(l))}}C.reInit(!0)}},A()}};Swiper.prototype={plugins:{},wrapperTransitionEnd:function(a,b){"use strict";function c(){if(a(e),e.params.queueEndCallbacks&&(e._queueEndCallbacks=!1),!b)for(d=0;d<g.length;d++)e.h.removeEventListener(f,g[d],c)}var d,e=this,f=e.wrapper,g=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"];if(a)for(d=0;d<g.length;d++)e.h.addEventListener(f,g[d],c)},getWrapperTranslate:function(a){"use strict";var b,c,d,e,f=this.wrapper;return"undefined"==typeof a&&(a="horizontal"===this.params.mode?"x":"y"),this.support.transforms&&this.params.useCSS3Transforms?(d=window.getComputedStyle(f,null),window.WebKitCSSMatrix?e=new WebKitCSSMatrix("none"===d.webkitTransform?"":d.webkitTransform):(e=d.MozTransform||d.OTransform||d.MsTransform||d.msTransform||d.transform||d.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),b=e.toString().split(",")),"x"===a&&(c=window.WebKitCSSMatrix?e.m41:parseFloat(16===b.length?b[12]:b[4])),"y"===a&&(c=window.WebKitCSSMatrix?e.m42:parseFloat(16===b.length?b[13]:b[5]))):("x"===a&&(c=parseFloat(f.style.left,10)||0),"y"===a&&(c=parseFloat(f.style.top,10)||0)),c||0},setWrapperTranslate:function(a,b,c){"use strict";var d,e=this.wrapper.style,f={x:0,y:0,z:0};3===arguments.length?(f.x=a,f.y=b,f.z=c):("undefined"==typeof b&&(b="horizontal"===this.params.mode?"x":"y"),f[b]=a),this.support.transforms&&this.params.useCSS3Transforms?(d=this.support.transforms3d?"translate3d("+f.x+"px, "+f.y+"px, "+f.z+"px)":"translate("+f.x+"px, "+f.y+"px)",e.webkitTransform=e.MsTransform=e.msTransform=e.MozTransform=e.OTransform=e.transform=d):(e.left=f.x+"px",e.top=f.y+"px"),this.callPlugins("onSetWrapperTransform",f),this.params.onSetWrapperTransform&&this.fireCallback(this.params.onSetWrapperTransform,this,f)},setWrapperTransition:function(a){"use strict";var b=this.wrapper.style;b.webkitTransitionDuration=b.MsTransitionDuration=b.msTransitionDuration=b.MozTransitionDuration=b.OTransitionDuration=b.transitionDuration=a/1e3+"s",this.callPlugins("onSetWrapperTransition",{duration:a}),this.params.onSetWrapperTransition&&this.fireCallback(this.params.onSetWrapperTransition,this,a)},h:{getWidth:function(a,b,c){"use strict";var d=window.getComputedStyle(a,null).getPropertyValue("width"),e=parseFloat(d);return(isNaN(e)||d.indexOf("%")>0)&&(e=a.offsetWidth-parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-left"))-parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-right"))),b&&(e+=parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-left"))+parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-right"))),c?Math.round(e):e},getHeight:function(a,b,c){"use strict";if(b)return a.offsetHeight;var d=window.getComputedStyle(a,null).getPropertyValue("height"),e=parseFloat(d);return(isNaN(e)||d.indexOf("%")>0)&&(e=a.offsetHeight-parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-top"))-parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-bottom"))),b&&(e+=parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-top"))+parseFloat(window.getComputedStyle(a,null).getPropertyValue("padding-bottom"))),c?Math.round(e):e},getOffset:function(a){"use strict";var b=a.getBoundingClientRect(),c=document.body,d=a.clientTop||c.clientTop||0,e=a.clientLeft||c.clientLeft||0,f=window.pageYOffset||a.scrollTop,g=window.pageXOffset||a.scrollLeft;return document.documentElement&&!window.pageYOffset&&(f=document.documentElement.scrollTop,g=document.documentElement.scrollLeft),{top:b.top+f-d,left:b.left+g-e}},windowWidth:function(){"use strict";return window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:void 0},windowHeight:function(){"use strict";return window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:void 0},windowScroll:function(){"use strict";return"undefined"!=typeof pageYOffset?{left:window.pageXOffset,top:window.pageYOffset}:document.documentElement?{left:document.documentElement.scrollLeft,top:document.documentElement.scrollTop}:void 0},addEventListener:function(a,b,c,d){"use strict";"undefined"==typeof d&&(d=!1),a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},removeEventListener:function(a,b,c,d){"use strict";"undefined"==typeof d&&(d=!1),a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)}},setTransform:function(a,b){"use strict";var c=a.style;c.webkitTransform=c.MsTransform=c.msTransform=c.MozTransform=c.OTransform=c.transform=b},setTranslate:function(a,b){"use strict";var c=a.style,d={x:b.x||0,y:b.y||0,z:b.z||0},e=this.support.transforms3d?"translate3d("+d.x+"px,"+d.y+"px,"+d.z+"px)":"translate("+d.x+"px,"+d.y+"px)";c.webkitTransform=c.MsTransform=c.msTransform=c.MozTransform=c.OTransform=c.transform=e,this.support.transforms||(c.left=d.x+"px",c.top=d.y+"px")},setTransition:function(a,b){"use strict";var c=a.style;c.webkitTransitionDuration=c.MsTransitionDuration=c.msTransitionDuration=c.MozTransitionDuration=c.OTransitionDuration=c.transitionDuration=b+"ms"},support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){"use strict";return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){"use strict";var a=document.createElement("div").style;return"webkitPerspective"in a||"MozPerspective"in a||"OPerspective"in a||"MsPerspective"in a||"perspective"in a}(),transforms:window.Modernizr&&Modernizr.csstransforms===!0||function(){"use strict";var a=document.createElement("div").style;return"transform"in a||"WebkitTransform"in a||"MozTransform"in a||"msTransform"in a||"MsTransform"in a||"OTransform"in a}(),transitions:window.Modernizr&&Modernizr.csstransitions===!0||function(){"use strict";var a=document.createElement("div").style;return"transition"in a||"WebkitTransition"in a||"MozTransition"in a||"msTransition"in a||"MsTransition"in a||"OTransition"in a}(),classList:function(){"use strict";var a=document.createElement("div").style;return"classList"in a}()},browser:{ie8:function(){"use strict";var a=-1;if("Microsoft Internet Explorer"===navigator.appName){var b=navigator.userAgent,c=new RegExp(/MSIE ([0-9]{1,}[\.0-9]{0,})/);null!==c.exec(b)&&(a=parseFloat(RegExp.$1))}return-1!==a&&9>a}(),ie10:window.navigator.msPointerEnabled,ie11:window.navigator.pointerEnabled}},(window.jQuery||window.Zepto)&&!function(a){"use strict";a.fn.swiper=function(b){var c=new Swiper(a(this)[0],b);return a(this).data("swiper",c),c}}(window.jQuery||window.Zepto),"undefined"!=typeof module&&(module.exports=Swiper),"function"==typeof define&&define.amd&&define([],function(){"use strict";return Swiper});(function(a){a.isScrollToFixed=function(b){return !!a(b).data("ScrollToFixed")};a.ScrollToFixed=function(d,i){var l=this;l.$el=a(d);l.el=d;l.$el.data("ScrollToFixed",l);var c=false;var G=l.$el;var H;var E;var e;var y;var D=0;var q=0;var j=-1;var f=-1;var t=null;var z;var g;function u(){G.trigger("preUnfixed.ScrollToFixed");k();G.trigger("unfixed.ScrollToFixed");f=-1;D=G.offset().top;q=G.offset().left;if(l.options.offsets){q+=(G.offset().left-G.position().left)}if(j==-1){j=q}H=G.css("position");c=true;if(l.options.bottom!=-1){G.trigger("preFixed.ScrollToFixed");w();G.trigger("fixed.ScrollToFixed")}}function n(){var I=l.options.limit;if(!I){return 0}if(typeof(I)==="function"){return I.apply(G)}return I}function p(){return H==="fixed"}function x(){return H==="absolute"}function h(){return !(p()||x())}function w(){if(!p()){t.css({display:G.css("display"),width:G.outerWidth(true),height:G.outerHeight(true),"float":G.css("float")});cssOptions={"z-index":l.options.zIndex,position:"fixed",top:l.options.bottom==-1?s():"",bottom:l.options.bottom==-1?"":l.options.bottom,"margin-left":"0px"};if(!l.options.dontSetWidth){cssOptions.width=G.width()}G.css(cssOptions);G.addClass(l.options.baseClassName);if(l.options.className){G.addClass(l.options.className)}H="fixed"}}function b(){var J=n();var I=q;if(l.options.removeOffsets){I="";J=J-D}cssOptions={position:"absolute",top:J,left:I,"margin-left":"0px",bottom:""};if(!l.options.dontSetWidth){cssOptions.width=G.width()}G.css(cssOptions);H="absolute"}function k(){if(!h()){f=-1;t.css("display","none");G.css({"z-index":y,width:"",position:E,left:"",top:e,"margin-left":""});G.removeClass("scroll-to-fixed-fixed");if(l.options.className){G.removeClass(l.options.className)}H=null}}function v(I){if(I!=f){G.css("left",q-I);f=I}}function s(){var I=l.options.marginTop;if(!I){return 0}if(typeof(I)==="function"){return I.apply(G)}return I}function A(){if(!a.isScrollToFixed(G)){return}var K=c;if(!c){u()}else{if(h()){D=G.offset().top;q=G.offset().left}}var I=a(window).scrollLeft();var L=a(window).scrollTop();var J=n();if(l.options.minWidth&&a(window).width()<l.options.minWidth){if(!h()||!K){o();G.trigger("preUnfixed.ScrollToFixed");k();G.trigger("unfixed.ScrollToFixed")}}else{if(l.options.maxWidth&&a(window).width()>l.options.maxWidth){if(!h()||!K){o();G.trigger("preUnfixed.ScrollToFixed");k();G.trigger("unfixed.ScrollToFixed")}}else{if(l.options.bottom==-1){if(J>0&&L>=J-s()){if(!x()||!K){o();G.trigger("preAbsolute.ScrollToFixed");b();G.trigger("unfixed.ScrollToFixed")}}else{if(L>=D-s()){if(!p()||!K){o();G.trigger("preFixed.ScrollToFixed");w();f=-1;G.trigger("fixed.ScrollToFixed")}v(I)}else{if(!h()||!K){o();G.trigger("preUnfixed.ScrollToFixed");k();G.trigger("unfixed.ScrollToFixed")}}}}else{if(J>0){if(L+a(window).height()-G.outerHeight(true)>=J-(s()||-m())){if(p()){o();G.trigger("preUnfixed.ScrollToFixed");if(E==="absolute"){b()}else{k()}G.trigger("unfixed.ScrollToFixed")}}else{if(!p()){o();G.trigger("preFixed.ScrollToFixed");w()}v(I);G.trigger("fixed.ScrollToFixed")}}else{v(I)}}}}}function m(){if(!l.options.bottom){return 0}return l.options.bottom}function o(){var I=G.css("position");if(I=="absolute"){G.trigger("postAbsolute.ScrollToFixed")}else{if(I=="fixed"){G.trigger("postFixed.ScrollToFixed")}else{G.trigger("postUnfixed.ScrollToFixed")}}}var C=function(I){if(G.is(":visible")){c=false;A()}};var F=function(I){(!!window.requestAnimationFrame)?requestAnimationFrame(A):A()};var B=function(){var J=document.body;if(document.createElement&&J&&J.appendChild&&J.removeChild){var L=document.createElement("div");if(!L.getBoundingClientRect){return null}L.innerHTML="x";L.style.cssText="position:fixed;top:100px;";J.appendChild(L);var M=J.style.height,N=J.scrollTop;J.style.height="3000px";J.scrollTop=500;var I=L.getBoundingClientRect().top;J.style.height=M;var K=(I===100);J.removeChild(L);J.scrollTop=N;return K}return null};var r=function(I){I=I||window.event;if(I.preventDefault){I.preventDefault()}I.returnValue=false};l.init=function(){l.options=a.extend({},a.ScrollToFixed.defaultOptions,i);y=G.css("z-index");l.$el.css("z-index",l.options.zIndex);t=a("<div />");H=G.css("position");E=G.css("position");e=G.css("top");if(h()){l.$el.after(t)}a(window).bind("resize.ScrollToFixed",C);a(window).bind("scroll.ScrollToFixed",F);if("ontouchmove" in window){a(window).bind("touchmove.ScrollToFixed",A)}if(l.options.preFixed){G.bind("preFixed.ScrollToFixed",l.options.preFixed)}if(l.options.postFixed){G.bind("postFixed.ScrollToFixed",l.options.postFixed)}if(l.options.preUnfixed){G.bind("preUnfixed.ScrollToFixed",l.options.preUnfixed)}if(l.options.postUnfixed){G.bind("postUnfixed.ScrollToFixed",l.options.postUnfixed)}if(l.options.preAbsolute){G.bind("preAbsolute.ScrollToFixed",l.options.preAbsolute)}if(l.options.postAbsolute){G.bind("postAbsolute.ScrollToFixed",l.options.postAbsolute)}if(l.options.fixed){G.bind("fixed.ScrollToFixed",l.options.fixed)}if(l.options.unfixed){G.bind("unfixed.ScrollToFixed",l.options.unfixed)}if(l.options.spacerClass){t.addClass(l.options.spacerClass)}G.bind("resize.ScrollToFixed",function(){t.height(G.height())});G.bind("scroll.ScrollToFixed",function(){G.trigger("preUnfixed.ScrollToFixed");k();G.trigger("unfixed.ScrollToFixed");A()});G.bind("detach.ScrollToFixed",function(I){r(I);G.trigger("preUnfixed.ScrollToFixed");k();G.trigger("unfixed.ScrollToFixed");a(window).unbind("resize.ScrollToFixed",C);a(window).unbind("scroll.ScrollToFixed",F);G.unbind(".ScrollToFixed");t.remove();l.$el.removeData("ScrollToFixed")});C()};l.init()};a.ScrollToFixed.defaultOptions={marginTop:0,limit:0,bottom:-1,zIndex:1000,baseClassName:"scroll-to-fixed-fixed"};a.fn.scrollToFixed=function(b){return this.each(function(){(new a.ScrollToFixed(this,b))})}})(jQuery);/*! * Bootstrap v3.2.0 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=6b02f88c61ac5c1d2918) * Config saved to config.json and https://gist.github.com/6b02f88c61ac5c1d2918 */ if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";function n(n){return this.each(function(){var i=t(this),s=i.data("bs.tab");s||i.data("bs.tab",s=new e(this)),"string"==typeof n&&s[n]()})}var e=function(n){this.element=t(n)};e.VERSION="3.2.0",e.prototype.show=function(){var n=this.element,e=n.closest("ul:not(.dropdown-menu)"),i=n.data("target");if(i||(i=n.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!n.parent("li").hasClass("active")){var s=e.find(".active:last a")[0],a=t.Event("show.bs.tab",{relatedTarget:s});if(n.trigger(a),!a.isDefaultPrevented()){var o=t(i);this.activate(n.closest("li"),e),this.activate(o,o.parent(),function(){n.trigger({type:"shown.bs.tab",relatedTarget:s})})}}},e.prototype.activate=function(n,e,i){function s(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),n.addClass("active"),o?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu")&&n.closest("li.dropdown").addClass("active"),i&&i()}var a=e.find("> .active"),o=i&&t.support.transition&&a.hasClass("fade");o?a.one("bsTransitionEnd",s).emulateTransitionEnd(150):s(),a.removeClass("in")};var i=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=i,this},t(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(e){e.preventDefault(),n.call(t(this),"show")})}(jQuery),+function(t){"use strict";function n(n){return this.each(function(){var i=t(this),s=i.data("bs.collapse"),a=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);!s&&a.toggle&&"show"==n&&(n=!n),s||i.data("bs.collapse",s=new e(this,a)),"string"==typeof n&&s[n]()})}var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.transitioning=null,this.options.parent&&(this.$parent=t(this.options.parent)),this.options.toggle&&this.toggle()};e.VERSION="3.2.0",e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e=t.Event("show.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.$parent&&this.$parent.find("> .panel > .in");if(i&&i.length){var s=i.data("bs.collapse");if(s&&s.transitioning)return;n.call(i,"hide"),s||i.data("bs.collapse",null)}var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return o.call(this);var r=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(350)[a](this.$element[0][r])}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return t.support.transition?void this.$element[e](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(350):i.call(this)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var i=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var i,s=t(this),a=s.attr("data-target")||e.preventDefault()||(i=s.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""),o=t(a),r=o.data("bs.collapse"),l=r?"toggle":s.data(),d=s.attr("data-parent"),c=d&&t(d);r&&r.transitioning||(c&&c.find('[data-toggle="collapse"][data-parent="'+d+'"]').not(s).addClass("collapsed"),s[o.hasClass("in")?"addClass":"removeClass"]("collapsed")),n.call(o,l)})}(jQuery),+function(t){"use strict";function n(){var t=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var e in n)if(void 0!==t.style[e])return{end:n[e]};return!1}t.fn.emulateTransitionEnd=function(n){var e=!1,i=this;t(this).one("bsTransitionEnd",function(){e=!0});var s=function(){e||t(i).trigger(t.support.transition.end)};return setTimeout(s,n),this},t(function(){t.support.transition=n(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(n){return t(n.target).is(this)?n.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery);/*! * Masonry PACKAGED v3.1.5 * Cascading grid layout library * http://masonry.desandro.com * MIT License * by David DeSandro */ !function(a){function b(){}function c(a){function c(b){b.prototype.option||(b.prototype.option=function(b){a.isPlainObject(b)&&(this.options=a.extend(!0,this.options,b))})}function e(b,c){a.fn[b]=function(e){if("string"==typeof e){for(var g=d.call(arguments,1),h=0,i=this.length;i>h;h++){var j=this[h],k=a.data(j,b);if(k)if(a.isFunction(k[e])&&"_"!==e.charAt(0)){var l=k[e].apply(k,g);if(void 0!==l)return l}else f("no such method '"+e+"' for "+b+" instance");else f("cannot call methods on "+b+" prior to initialization; attempted to call '"+e+"'")}return this}return this.each(function(){var d=a.data(this,b);d?(d.option(e),d._init()):(d=new c(this,e),a.data(this,b,d))})}}if(a){var f="undefined"==typeof console?b:function(a){console.error(a)};return a.bridget=function(a,b){c(b),e(a,b)},a.bridget}}var d=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],c):c(a.jQuery)}(window),function(a){function b(b){var c=a.event;return c.target=c.target||c.srcElement||b,c}var c=document.documentElement,d=function(){};c.addEventListener?d=function(a,b,c){a.addEventListener(b,c,!1)}:c.attachEvent&&(d=function(a,c,d){a[c+d]=d.handleEvent?function(){var c=b(a);d.handleEvent.call(d,c)}:function(){var c=b(a);d.call(a,c)},a.attachEvent("on"+c,a[c+d])});var e=function(){};c.removeEventListener?e=function(a,b,c){a.removeEventListener(b,c,!1)}:c.detachEvent&&(e=function(a,b,c){a.detachEvent("on"+b,a[b+c]);try{delete a[b+c]}catch(d){a[b+c]=void 0}});var f={bind:d,unbind:e};"function"==typeof define&&define.amd?define("eventie/eventie",f):"object"==typeof exports?module.exports=f:a.eventie=f}(this),function(a){function b(a){"function"==typeof a&&(b.isReady?a():f.push(a))}function c(a){var c="readystatechange"===a.type&&"complete"!==e.readyState;if(!b.isReady&&!c){b.isReady=!0;for(var d=0,g=f.length;g>d;d++){var h=f[d];h()}}}function d(d){return d.bind(e,"DOMContentLoaded",c),d.bind(e,"readystatechange",c),d.bind(a,"load",c),b}var e=a.document,f=[];b.isReady=!1,"function"==typeof define&&define.amd?(b.isReady="function"==typeof requirejs,define("doc-ready/doc-ready",["eventie/eventie"],d)):a.docReady=d(a.eventie)}(this),function(){function a(){}function b(a,b){for(var c=a.length;c--;)if(a[c].listener===b)return c;return-1}function c(a){return function(){return this[a].apply(this,arguments)}}var d=a.prototype,e=this,f=e.EventEmitter;d.getListeners=function(a){var b,c,d=this._getEvents();if(a instanceof RegExp){b={};for(c in d)d.hasOwnProperty(c)&&a.test(c)&&(b[c]=d[c])}else b=d[a]||(d[a]=[]);return b},d.flattenListeners=function(a){var b,c=[];for(b=0;b<a.length;b+=1)c.push(a[b].listener);return c},d.getListenersAsObject=function(a){var b,c=this.getListeners(a);return c instanceof Array&&(b={},b[a]=c),b||c},d.addListener=function(a,c){var d,e=this.getListenersAsObject(a),f="object"==typeof c;for(d in e)e.hasOwnProperty(d)&&-1===b(e[d],c)&&e[d].push(f?c:{listener:c,once:!1});return this},d.on=c("addListener"),d.addOnceListener=function(a,b){return this.addListener(a,{listener:b,once:!0})},d.once=c("addOnceListener"),d.defineEvent=function(a){return this.getListeners(a),this},d.defineEvents=function(a){for(var b=0;b<a.length;b+=1)this.defineEvent(a[b]);return this},d.removeListener=function(a,c){var d,e,f=this.getListenersAsObject(a);for(e in f)f.hasOwnProperty(e)&&(d=b(f[e],c),-1!==d&&f[e].splice(d,1));return this},d.off=c("removeListener"),d.addListeners=function(a,b){return this.manipulateListeners(!1,a,b)},d.removeListeners=function(a,b){return this.manipulateListeners(!0,a,b)},d.manipulateListeners=function(a,b,c){var d,e,f=a?this.removeListener:this.addListener,g=a?this.removeListeners:this.addListeners;if("object"!=typeof b||b instanceof RegExp)for(d=c.length;d--;)f.call(this,b,c[d]);else for(d in b)b.hasOwnProperty(d)&&(e=b[d])&&("function"==typeof e?f.call(this,d,e):g.call(this,d,e));return this},d.removeEvent=function(a){var b,c=typeof a,d=this._getEvents();if("string"===c)delete d[a];else if(a instanceof RegExp)for(b in d)d.hasOwnProperty(b)&&a.test(b)&&delete d[b];else delete this._events;return this},d.removeAllListeners=c("removeEvent"),d.emitEvent=function(a,b){var c,d,e,f,g=this.getListenersAsObject(a);for(e in g)if(g.hasOwnProperty(e))for(d=g[e].length;d--;)c=g[e][d],c.once===!0&&this.removeListener(a,c.listener),f=c.listener.apply(this,b||[]),f===this._getOnceReturnValue()&&this.removeListener(a,c.listener);return this},d.trigger=c("emitEvent"),d.emit=function(a){var b=Array.prototype.slice.call(arguments,1);return this.emitEvent(a,b)},d.setOnceReturnValue=function(a){return this._onceReturnValue=a,this},d._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},d._getEvents=function(){return this._events||(this._events={})},a.noConflict=function(){return e.EventEmitter=f,a},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return a}):"object"==typeof module&&module.exports?module.exports=a:this.EventEmitter=a}.call(this),function(a){function b(a){if(a){if("string"==typeof d[a])return a;a=a.charAt(0).toUpperCase()+a.slice(1);for(var b,e=0,f=c.length;f>e;e++)if(b=c[e]+a,"string"==typeof d[b])return b}}var c="Webkit Moz ms Ms O".split(" "),d=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return b}):"object"==typeof exports?module.exports=b:a.getStyleProperty=b}(window),function(a){function b(a){var b=parseFloat(a),c=-1===a.indexOf("%")&&!isNaN(b);return c&&b}function c(){for(var a={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},b=0,c=g.length;c>b;b++){var d=g[b];a[d]=0}return a}function d(a){function d(a){if("string"==typeof a&&(a=document.querySelector(a)),a&&"object"==typeof a&&a.nodeType){var d=f(a);if("none"===d.display)return c();var e={};e.width=a.offsetWidth,e.height=a.offsetHeight;for(var k=e.isBorderBox=!(!j||!d[j]||"border-box"!==d[j]),l=0,m=g.length;m>l;l++){var n=g[l],o=d[n];o=h(a,o);var p=parseFloat(o);e[n]=isNaN(p)?0:p}var q=e.paddingLeft+e.paddingRight,r=e.paddingTop+e.paddingBottom,s=e.marginLeft+e.marginRight,t=e.marginTop+e.marginBottom,u=e.borderLeftWidth+e.borderRightWidth,v=e.borderTopWidth+e.borderBottomWidth,w=k&&i,x=b(d.width);x!==!1&&(e.width=x+(w?0:q+u));var y=b(d.height);return y!==!1&&(e.height=y+(w?0:r+v)),e.innerWidth=e.width-(q+u),e.innerHeight=e.height-(r+v),e.outerWidth=e.width+s,e.outerHeight=e.height+t,e}}function h(a,b){if(e||-1===b.indexOf("%"))return b;var c=a.style,d=c.left,f=a.runtimeStyle,g=f&&f.left;return g&&(f.left=a.currentStyle.left),c.left=b,b=c.pixelLeft,c.left=d,g&&(f.left=g),b}var i,j=a("boxSizing");return function(){if(j){var a=document.createElement("div");a.style.width="200px",a.style.padding="1px 2px 3px 4px",a.style.borderStyle="solid",a.style.borderWidth="1px 2px 3px 4px",a.style[j]="border-box";var c=document.body||document.documentElement;c.appendChild(a);var d=f(a);i=200===b(d.width),c.removeChild(a)}}(),d}var e=a.getComputedStyle,f=e?function(a){return e(a,null)}:function(a){return a.currentStyle},g=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],d):"object"==typeof exports?module.exports=d(require("get-style-property")):a.getSize=d(a.getStyleProperty)}(window),function(a,b){function c(a,b){return a[h](b)}function d(a){if(!a.parentNode){var b=document.createDocumentFragment();b.appendChild(a)}}function e(a,b){d(a);for(var c=a.parentNode.querySelectorAll(b),e=0,f=c.length;f>e;e++)if(c[e]===a)return!0;return!1}function f(a,b){return d(a),c(a,b)}var g,h=function(){if(b.matchesSelector)return"matchesSelector";for(var a=["webkit","moz","ms","o"],c=0,d=a.length;d>c;c++){var e=a[c],f=e+"MatchesSelector";if(b[f])return f}}();if(h){var i=document.createElement("div"),j=c(i,"div");g=j?c:f}else g=e;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return g}):window.matchesSelector=g}(this,Element.prototype),function(a){function b(a,b){for(var c in b)a[c]=b[c];return a}function c(a){for(var b in a)return!1;return b=null,!0}function d(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}function e(a,e,f){function h(a,b){a&&(this.element=a,this.layout=b,this.position={x:0,y:0},this._create())}var i=f("transition"),j=f("transform"),k=i&&j,l=!!f("perspective"),m={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[i],n=["transform","transition","transitionDuration","transitionProperty"],o=function(){for(var a={},b=0,c=n.length;c>b;b++){var d=n[b],e=f(d);e&&e!==d&&(a[d]=e)}return a}();b(h.prototype,a.prototype),h.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},h.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},h.prototype.getSize=function(){this.size=e(this.element)},h.prototype.css=function(a){var b=this.element.style;for(var c in a){var d=o[c]||c;b[d]=a[c]}},h.prototype.getPosition=function(){var a=g(this.element),b=this.layout.options,c=b.isOriginLeft,d=b.isOriginTop,e=parseInt(a[c?"left":"right"],10),f=parseInt(a[d?"top":"bottom"],10);e=isNaN(e)?0:e,f=isNaN(f)?0:f;var h=this.layout.size;e-=c?h.paddingLeft:h.paddingRight,f-=d?h.paddingTop:h.paddingBottom,this.position.x=e,this.position.y=f},h.prototype.layoutPosition=function(){var a=this.layout.size,b=this.layout.options,c={};b.isOriginLeft?(c.left=this.position.x+a.paddingLeft+"px",c.right=""):(c.right=this.position.x+a.paddingRight+"px",c.left=""),b.isOriginTop?(c.top=this.position.y+a.paddingTop+"px",c.bottom=""):(c.bottom=this.position.y+a.paddingBottom+"px",c.top=""),this.css(c),this.emitEvent("layout",[this])};var p=l?function(a,b){return"translate3d("+a+"px, "+b+"px, 0)"}:function(a,b){return"translate("+a+"px, "+b+"px)"};h.prototype._transitionTo=function(a,b){this.getPosition();var c=this.position.x,d=this.position.y,e=parseInt(a,10),f=parseInt(b,10),g=e===this.position.x&&f===this.position.y;if(this.setPosition(a,b),g&&!this.isTransitioning)return void this.layoutPosition();var h=a-c,i=b-d,j={},k=this.layout.options;h=k.isOriginLeft?h:-h,i=k.isOriginTop?i:-i,j.transform=p(h,i),this.transition({to:j,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},h.prototype.goTo=function(a,b){this.setPosition(a,b),this.layoutPosition()},h.prototype.moveTo=k?h.prototype._transitionTo:h.prototype.goTo,h.prototype.setPosition=function(a,b){this.position.x=parseInt(a,10),this.position.y=parseInt(b,10)},h.prototype._nonTransition=function(a){this.css(a.to),a.isCleaning&&this._removeStyles(a.to);for(var b in a.onTransitionEnd)a.onTransitionEnd[b].call(this)},h.prototype._transition=function(a){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(a);var b=this._transn;for(var c in a.onTransitionEnd)b.onEnd[c]=a.onTransitionEnd[c];for(c in a.to)b.ingProperties[c]=!0,a.isCleaning&&(b.clean[c]=!0);if(a.from){this.css(a.from);var d=this.element.offsetHeight;d=null}this.enableTransition(a.to),this.css(a.to),this.isTransitioning=!0};var q=j&&d(j)+",opacity";h.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:q,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(m,this,!1))},h.prototype.transition=h.prototype[i?"_transition":"_nonTransition"],h.prototype.onwebkitTransitionEnd=function(a){this.ontransitionend(a)},h.prototype.onotransitionend=function(a){this.ontransitionend(a)};var r={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};h.prototype.ontransitionend=function(a){if(a.target===this.element){var b=this._transn,d=r[a.propertyName]||a.propertyName;if(delete b.ingProperties[d],c(b.ingProperties)&&this.disableTransition(),d in b.clean&&(this.element.style[a.propertyName]="",delete b.clean[d]),d in b.onEnd){var e=b.onEnd[d];e.call(this),delete b.onEnd[d]}this.emitEvent("transitionEnd",[this])}},h.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(m,this,!1),this.isTransitioning=!1},h.prototype._removeStyles=function(a){var b={};for(var c in a)b[c]="";this.css(b)};var s={transitionProperty:"",transitionDuration:""};return h.prototype.removeTransitionStyles=function(){this.css(s)},h.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},h.prototype.remove=function(){if(!i||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var a=this;this.on("transitionEnd",function(){return a.removeElem(),!0}),this.hide()},h.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var a=this.layout.options;this.transition({from:a.hiddenStyle,to:a.visibleStyle,isCleaning:!0})},h.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var a=this.layout.options;this.transition({from:a.visibleStyle,to:a.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},h.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},h}var f=a.getComputedStyle,g=f?function(a){return f(a,null)}:function(a){return a.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],e):(a.Outlayer={},a.Outlayer.Item=e(a.EventEmitter,a.getSize,a.getStyleProperty))}(window),function(a){function b(a,b){for(var c in b)a[c]=b[c];return a}function c(a){return"[object Array]"===l.call(a)}function d(a){var b=[];if(c(a))b=a;else if(a&&"number"==typeof a.length)for(var d=0,e=a.length;e>d;d++)b.push(a[d]);else b.push(a);return b}function e(a,b){var c=n(b,a);-1!==c&&b.splice(c,1)}function f(a){return a.replace(/(.)([A-Z])/g,function(a,b,c){return b+"-"+c}).toLowerCase()}function g(c,g,l,n,o,p){function q(a,c){if("string"==typeof a&&(a=h.querySelector(a)),!a||!m(a))return void(i&&i.error("Bad "+this.constructor.namespace+" element: "+a));this.element=a,this.options=b({},this.constructor.defaults),this.option(c);var d=++r;this.element.outlayerGUID=d,s[d]=this,this._create(),this.options.isInitLayout&&this.layout()}var r=0,s={};return q.namespace="outlayer",q.Item=p,q.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},b(q.prototype,l.prototype),q.prototype.option=function(a){b(this.options,a)},q.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),b(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},q.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},q.prototype._itemize=function(a){for(var b=this._filterFindItemElements(a),c=this.constructor.Item,d=[],e=0,f=b.length;f>e;e++){var g=b[e],h=new c(g,this);d.push(h)}return d},q.prototype._filterFindItemElements=function(a){a=d(a);for(var b=this.options.itemSelector,c=[],e=0,f=a.length;f>e;e++){var g=a[e];if(m(g))if(b){o(g,b)&&c.push(g);for(var h=g.querySelectorAll(b),i=0,j=h.length;j>i;i++)c.push(h[i])}else c.push(g)}return c},q.prototype.getItemElements=function(){for(var a=[],b=0,c=this.items.length;c>b;b++)a.push(this.items[b].element);return a},q.prototype.layout=function(){this._resetLayout(),this._manageStamps();var a=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,a),this._isLayoutInited=!0},q.prototype._init=q.prototype.layout,q.prototype._resetLayout=function(){this.getSize()},q.prototype.getSize=function(){this.size=n(this.element)},q.prototype._getMeasurement=function(a,b){var c,d=this.options[a];d?("string"==typeof d?c=this.element.querySelector(d):m(d)&&(c=d),this[a]=c?n(c)[b]:d):this[a]=0},q.prototype.layoutItems=function(a,b){a=this._getItemsForLayout(a),this._layoutItems(a,b),this._postLayout()},q.prototype._getItemsForLayout=function(a){for(var b=[],c=0,d=a.length;d>c;c++){var e=a[c];e.isIgnored||b.push(e)}return b},q.prototype._layoutItems=function(a,b){function c(){d.emitEvent("layoutComplete",[d,a])}var d=this;if(!a||!a.length)return void c();this._itemsOn(a,"layout",c);for(var e=[],f=0,g=a.length;g>f;f++){var h=a[f],i=this._getItemLayoutPosition(h);i.item=h,i.isInstant=b||h.isLayoutInstant,e.push(i)}this._processLayoutQueue(e)},q.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},q.prototype._processLayoutQueue=function(a){for(var b=0,c=a.length;c>b;b++){var d=a[b];this._positionItem(d.item,d.x,d.y,d.isInstant)}},q.prototype._positionItem=function(a,b,c,d){d?a.goTo(b,c):a.moveTo(b,c)},q.prototype._postLayout=function(){this.resizeContainer()},q.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var a=this._getContainerSize();a&&(this._setContainerMeasure(a.width,!0),this._setContainerMeasure(a.height,!1))}},q.prototype._getContainerSize=k,q.prototype._setContainerMeasure=function(a,b){if(void 0!==a){var c=this.size;c.isBorderBox&&(a+=b?c.paddingLeft+c.paddingRight+c.borderLeftWidth+c.borderRightWidth:c.paddingBottom+c.paddingTop+c.borderTopWidth+c.borderBottomWidth),a=Math.max(a,0),this.element.style[b?"width":"height"]=a+"px"}},q.prototype._itemsOn=function(a,b,c){function d(){return e++,e===f&&c.call(g),!0}for(var e=0,f=a.length,g=this,h=0,i=a.length;i>h;h++){var j=a[h];j.on(b,d)}},q.prototype.ignore=function(a){var b=this.getItem(a);b&&(b.isIgnored=!0)},q.prototype.unignore=function(a){var b=this.getItem(a);b&&delete b.isIgnored},q.prototype.stamp=function(a){if(a=this._find(a)){this.stamps=this.stamps.concat(a);for(var b=0,c=a.length;c>b;b++){var d=a[b];this.ignore(d)}}},q.prototype.unstamp=function(a){if(a=this._find(a))for(var b=0,c=a.length;c>b;b++){var d=a[b];e(d,this.stamps),this.unignore(d)}},q.prototype._find=function(a){return a?("string"==typeof a&&(a=this.element.querySelectorAll(a)),a=d(a)):void 0},q.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var a=0,b=this.stamps.length;b>a;a++){var c=this.stamps[a];this._manageStamp(c)}}},q.prototype._getBoundingRect=function(){var a=this.element.getBoundingClientRect(),b=this.size;this._boundingRect={left:a.left+b.paddingLeft+b.borderLeftWidth,top:a.top+b.paddingTop+b.borderTopWidth,right:a.right-(b.paddingRight+b.borderRightWidth),bottom:a.bottom-(b.paddingBottom+b.borderBottomWidth)}},q.prototype._manageStamp=k,q.prototype._getElementOffset=function(a){var b=a.getBoundingClientRect(),c=this._boundingRect,d=n(a),e={left:b.left-c.left-d.marginLeft,top:b.top-c.top-d.marginTop,right:c.right-b.right-d.marginRight,bottom:c.bottom-b.bottom-d.marginBottom};return e},q.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},q.prototype.bindResize=function(){this.isResizeBound||(c.bind(a,"resize",this),this.isResizeBound=!0)},q.prototype.unbindResize=function(){this.isResizeBound&&c.unbind(a,"resize",this),this.isResizeBound=!1},q.prototype.onresize=function(){function a(){b.resize(),delete b.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var b=this;this.resizeTimeout=setTimeout(a,100)},q.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},q.prototype.needsResizeLayout=function(){var a=n(this.element),b=this.size&&a;return b&&a.innerWidth!==this.size.innerWidth},q.prototype.addItems=function(a){var b=this._itemize(a);return b.length&&(this.items=this.items.concat(b)),b},q.prototype.appended=function(a){var b=this.addItems(a);b.length&&(this.layoutItems(b,!0),this.reveal(b))},q.prototype.prepended=function(a){var b=this._itemize(a);if(b.length){var c=this.items.slice(0);this.items=b.concat(c),this._resetLayout(),this._manageStamps(),this.layoutItems(b,!0),this.reveal(b),this.layoutItems(c)}},q.prototype.reveal=function(a){var b=a&&a.length;if(b)for(var c=0;b>c;c++){var d=a[c];d.reveal()}},q.prototype.hide=function(a){var b=a&&a.length;if(b)for(var c=0;b>c;c++){var d=a[c];d.hide()}},q.prototype.getItem=function(a){for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];if(d.element===a)return d}},q.prototype.getItems=function(a){if(a&&a.length){for(var b=[],c=0,d=a.length;d>c;c++){var e=a[c],f=this.getItem(e);f&&b.push(f)}return b}},q.prototype.remove=function(a){a=d(a);var b=this.getItems(a);if(b&&b.length){this._itemsOn(b,"remove",function(){this.emitEvent("removeComplete",[this,b])});for(var c=0,f=b.length;f>c;c++){var g=b[c];g.remove(),e(g,this.items)}}},q.prototype.destroy=function(){var a=this.element.style;a.height="",a.position="",a.width="";for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];d.destroy()}this.unbindResize(),delete this.element.outlayerGUID,j&&j.removeData(this.element,this.constructor.namespace)},q.data=function(a){var b=a&&a.outlayerGUID;return b&&s[b]},q.create=function(a,c){function d(){q.apply(this,arguments)}return Object.create?d.prototype=Object.create(q.prototype):b(d.prototype,q.prototype),d.prototype.constructor=d,d.defaults=b({},q.defaults),b(d.defaults,c),d.prototype.settings={},d.namespace=a,d.data=q.data,d.Item=function(){p.apply(this,arguments)},d.Item.prototype=new p,g(function(){for(var b=f(a),c=h.querySelectorAll(".js-"+b),e="data-"+b+"-options",g=0,k=c.length;k>g;g++){var l,m=c[g],n=m.getAttribute(e);try{l=n&&JSON.parse(n)}catch(o){i&&i.error("Error parsing "+e+" on "+m.nodeName.toLowerCase()+(m.id?"#"+m.id:"")+": "+o);continue}var p=new d(m,l);j&&j.data(m,a,p)}}),j&&j.bridget&&j.bridget(a,d),d},q.Item=p,q}var h=a.document,i=a.console,j=a.jQuery,k=function(){},l=Object.prototype.toString,m="object"==typeof HTMLElement?function(a){return a instanceof HTMLElement}:function(a){return a&&"object"==typeof a&&1===a.nodeType&&"string"==typeof a.nodeName},n=Array.prototype.indexOf?function(a,b){return a.indexOf(b)}:function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],g):a.Outlayer=g(a.eventie,a.docReady,a.EventEmitter,a.getSize,a.matchesSelector,a.Outlayer.Item)}(window),function(a){function b(a,b){var d=a.create("masonry");return d.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var a=this.cols;for(this.colYs=[];a--;)this.colYs.push(0);this.maxY=0},d.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var a=this.items[0],c=a&&a.element;this.columnWidth=c&&b(c).outerWidth||this.containerWidth}this.columnWidth+=this.gutter,this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth),this.cols=Math.max(this.cols,1)},d.prototype.getContainerWidth=function(){var a=this.options.isFitWidth?this.element.parentNode:this.element,c=b(a);this.containerWidth=c&&c.innerWidth},d.prototype._getItemLayoutPosition=function(a){a.getSize();var b=a.size.outerWidth%this.columnWidth,d=b&&1>b?"round":"ceil",e=Math[d](a.size.outerWidth/this.columnWidth);e=Math.min(e,this.cols);for(var f=this._getColGroup(e),g=Math.min.apply(Math,f),h=c(f,g),i={x:this.columnWidth*h,y:g},j=g+a.size.outerHeight,k=this.cols+1-f.length,l=0;k>l;l++)this.colYs[h+l]=j;return i},d.prototype._getColGroup=function(a){if(2>a)return this.colYs;for(var b=[],c=this.cols+1-a,d=0;c>d;d++){var e=this.colYs.slice(d,d+a);b[d]=Math.max.apply(Math,e)}return b},d.prototype._manageStamp=function(a){var c=b(a),d=this._getElementOffset(a),e=this.options.isOriginLeft?d.left:d.right,f=e+c.outerWidth,g=Math.floor(e/this.columnWidth);g=Math.max(0,g);var h=Math.floor(f/this.columnWidth);h-=f%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var i=(this.options.isOriginTop?d.top:d.bottom)+c.outerHeight,j=g;h>=j;j++)this.colYs[j]=Math.max(i,this.colYs[j])},d.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var a={height:this.maxY};return this.options.isFitWidth&&(a.width=this._getContainerFitWidth()),a},d.prototype._getContainerFitWidth=function(){for(var a=0,b=this.cols;--b&&0===this.colYs[b];)a++;return(this.cols-a)*this.columnWidth-this.gutter},d.prototype.needsResizeLayout=function(){var a=this.containerWidth;return this.getContainerWidth(),a!==this.containerWidth},d}var c=Array.prototype.indexOf?function(a,b){return a.indexOf(b)}:function(a,b){for(var c=0,d=a.length;d>c;c++){var e=a[c];if(e===b)return c}return-1};"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],b):a.Masonry=b(a.Outlayer,a.getSize)}(window);/*! * imagesLoaded PACKAGED v3.1.8 * JavaScript is all like "You images are done yet or what?" * MIT License */ (function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("wolfy87-eventemitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function f(e){this.img=e}function c(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=u!==void 0,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var r=n.querySelectorAll("img"),o=0,s=r.length;s>o;o++){var f=r[o];this.addImage(f)}}},s.prototype.addImage=function(e){var t=new f(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),f.prototype=new t,f.prototype.check=function(){var e=v[this.img.src]||new c(this.img.src);if(e.isConfirmed)return this.confirm(e.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},f.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return c.prototype=new t,c.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},c.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},c.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},c.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},c.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s});/* * Boxer v3.1.0 - 2014-05-07 * A jQuery plugin for displaying images, videos or content in a modal overlay. Part of the Formstone Library. * http://formstone.it/boxer/ * * Copyright 2014 Ben Plum; MIT Licensed */ !function(a,b){"use strict";function c(b){return L.formatter=j,I=a("body"),G=F(),H=G!==!1,H||(G="transitionend.boxer"),a(this).on("click.boxer",a.extend({},L,b||{}),d)}function d(c){var d=a(this),f=c.data.$object,g=d[0].attributes?d.attr("href")||"":"",i=g.toLowerCase().split(".").pop().split(/\#|\?/),j=i[0],l="",m="image"===l||a.inArray(j,c.data.extensions)>-1||"data:image"===g.substr(0,10),o=g.indexOf("youtube.com/embed")>-1||g.indexOf("player.vimeo.com/video")>-1,p="url"===l||!m&&!o&&"http"===g.substr(0,4),w="element"===l||!m&&!o&&!p&&"#"===g.substr(0,1),x="undefined"!=typeof f;if(!(a("#boxer").length>1)&&(m||o||p||w||x)){if(C(c),J=a.extend({},{$window:a(b),$body:a("body"),$target:d,$object:f,visible:!1,resizeTimer:null,touchTimer:null,gallery:{active:!1},isMobile:K||c.data.mobile,isAnimating:!0,oldContentHeight:0,oldContentWidth:0},c.data),J.margin*=2,J.containerHeight=J.height,J.containerWidth=J.width,J.type=m?"image":o?"video":"element",m||o){var y=J.$target.data("gallery")||J.$target.attr("rel");"undefined"!=typeof y&&y!==!1&&(J.gallery.active=!0,J.gallery.id=y,J.gallery.$items=a("a[data-gallery= "+J.gallery.id+"], a[rel= "+J.gallery.id+"]"),J.gallery.index=J.gallery.$items.index(J.$target),J.gallery.total=J.gallery.$items.length-1)}var z="";return J.isMobile||(z+='<div id="boxer-overlay" class="'+J.customClass+'"></div>'),z+='<div id="boxer" class="loading animating '+J.customClass,J.isMobile&&(z+=" mobile"),p&&(z+=" iframe"),(w||x)&&(z+=" inline"),z+='"',J.fixed===!0&&(z+=' style="position: fixed;"'),z+=">",z+='<span class="boxer-close">'+J.labels.close+"</span>",z+='<div class="boxer-container" style="',z+=J.isMobile?"height: 100%; width: 100%":"height: "+J.height+"px; width: "+J.width+"px",z+='">',z+='<div class="boxer-content">',(m||o)&&(z+='<div class="boxer-meta">',J.gallery.active?(z+='<div class="boxer-control previous">'+J.labels.previous+"</div>",z+='<div class="boxer-control next">'+J.labels.next+"</div>",z+='<p class="boxer-position"',J.gallery.total<1&&(z+=' style="display: none;"'),z+=">",z+='<span class="current">'+(J.gallery.index+1)+"</span> "+J.labels.count+' <span class="total">'+(J.gallery.total+1)+"</span>",z+="</p>",z+='<div class="boxer-caption gallery">'):z+='<div class="boxer-caption">',z+=J.formatter.apply(J.$body,[J.$target]),z+="</div></div>"),z+="</div></div></div>",J.$body.append(z),J.$overlay=a("#boxer-overlay"),J.$boxer=a("#boxer"),J.$container=J.$boxer.find(".boxer-container"),J.$content=J.$boxer.find(".boxer-content"),J.$meta=J.$boxer.find(".boxer-meta"),J.$position=J.$boxer.find(".boxer-position"),J.$caption=J.$boxer.find(".boxer-caption"),J.$controls=J.$boxer.find(".boxer-control"),J.paddingVertical=parseInt(J.$boxer.css("paddingTop"),10)+parseInt(J.$boxer.css("paddingBottom"),10),J.paddingHorizontal=parseInt(J.$boxer.css("paddingLeft"),10)+parseInt(J.$boxer.css("paddingRight"),10),h(),J.gallery.active&&r(),J.$window.on("resize.boxer",M.resize).on("keydown.boxer",s),J.$body.on("touchstart.boxer click.boxer","#boxer-overlay, #boxer .boxer-close",e).on("touchmove.boxer",C),J.gallery.active&&J.$boxer.on("touchstart.boxer click.boxer",".boxer-control",q),J.$boxer.on(G,function(b){C(b),a(b.target).is(J.$boxer)&&(J.$boxer.off(G),m?k(g):o?n(g):p?u(g):w?t(g):x?v(J.$object):a.error("BOXER: '"+g+"' is not valid."))}),I.addClass("boxer-open"),H||J.$boxer.trigger(G),x?J.$boxer:void 0}}function e(b){C(b),"undefined"!=typeof J.$boxer&&(J.$boxer.on(G,function(b){C(b),a(b.target).is(J.$boxer)&&(J.$boxer.off(G),J.$overlay.remove(),J.$boxer.remove(),J={})}).addClass("animating"),I.removeClass("boxer-open"),H||J.$boxer.trigger(G),E(J.resizeTimer),J.$window.off("resize.boxer").off("keydown.boxer"),J.$body.off(".boxer").removeClass("boxer-open"),J.gallery.active&&J.$boxer.off(".boxer"),J.isMobile&&"image"===J.type&&J.gallery.active&&J.$container.off(".boxer"),J.$window.trigger("close.boxer"))}function f(){{var b=i(),c=0;J.isMobile?0:J.duration}J.isMobile||(c=J.$controls.outerHeight(),J.$controls.css({marginTop:(J.contentHeight-c)/2})),!J.visible&&J.isMobile&&J.gallery.active&&J.$content.on("touchstart.boxer",".boxer-image",y),(J.isMobile||J.fixed)&&J.$body.addClass("boxer-open"),J.$boxer.css({left:b.left,top:b.top}),J.$container.on(G,function(b){C(b),a(b.target).is(J.$container)&&(J.$container.off(G),J.$content.on(G,function(b){C(b),a(b.target).is(J.$content)&&(J.$content.off(G),J.$boxer.removeClass("animating"),J.isAnimating=!1)}),J.$boxer.removeClass("loading"),H||J.$content.trigger(G),J.visible=!0,J.callback.apply(J.$boxer),J.$window.trigger("open.boxer"),J.gallery.active&&p())}).css({height:J.containerHeight,width:J.containerWidth});var d=J.oldContentHeight!==J.contentHeight||J.oldContentWidth!==J.contentWidth;!J.isMobile&&H&&d||J.$container.trigger(G),J.oldContentHeight=J.contentHeight,J.oldContentWidth=J.contentWidth}function g(a){if(a=a||!1,J.visible){var b=i(),c=0;J.isMobile||(c=J.$controls.outerHeight(),J.$controls.css({marginTop:(J.contentHeight-c)/2})),J.$boxer.css({left:b.left,top:b.top}),J.$container.css({height:J.containerHeight,width:J.containerWidth})}}function h(){var a=i();J.$boxer.css({left:a.left,top:a.top})}function i(){if(J.isMobile)return{left:0,top:0};var a={left:(J.$window.width()-J.containerWidth-J.paddingHorizontal)/2,top:J.top<=0?(J.$window.height()-J.containerHeight-J.paddingVertical)/2:J.top};return J.fixed!==!0&&(a.top+=J.$window.scrollTop()),a}function j(a){var b=a.attr("title");return""!==b&&void 0!==b?'<p class="caption">'+b+"</p>":""}function k(b){J.$image=a("<img />"),J.$image.one("load.boxer",function(){var a=B(J.$image);J.naturalHeight=a.naturalHeight,J.naturalWidth=a.naturalWidth,J.retina&&(J.naturalHeight/=2,J.naturalWidth/=2),J.$content.prepend(J.$image),""===J.$caption.html()?J.$caption.hide():J.$caption.show(),l(),f()}).attr("src",b).addClass("boxer-image"),(J.$image[0].complete||4===J.$image[0].readyState)&&J.$image.trigger("load")}function l(){var a=0;for(J.windowHeight=J.viewportHeight=J.$window.height(),J.windowWidth=J.viewportWidth=J.$window.width(),J.containerHeight=1/0,J.contentHeight=0,J.containerWidth=1/0,J.contentWidth=0,J.imageMarginTop=0,J.imageMarginLeft=0;J.containerHeight>J.viewportHeight&&2>a;)J.imageHeight=0===a?J.naturalHeight:J.$image.outerHeight(),J.imageWidth=0===a?J.naturalWidth:J.$image.outerWidth(),J.metaHeight=0===a?0:J.metaHeight,0===a&&(J.ratioHorizontal=J.imageHeight/J.imageWidth,J.ratioVertical=J.imageWidth/J.imageHeight,J.isWide=J.imageWidth>J.imageHeight),J.imageHeight<J.minHeight&&(J.minHeight=J.imageHeight),J.imageWidth<J.minWidth&&(J.minWidth=J.imageWidth),J.isMobile?(J.$meta.css({width:J.windowWidth}),J.metaHeight=J.$meta.outerHeight(!0),J.contentHeight=J.viewportHeight,J.contentWidth=J.viewportWidth,J.containerHeight=J.viewportHeight-J.paddingVertical,J.containerWidth=J.viewportWidth-J.paddingHorizontal,m(),J.imageMarginTop=(J.containerHeight-J.targetImageHeight-J.metaHeight)/2,J.imageMarginLeft=(J.containerWidth-J.targetImageWidth)/2):(0===a&&(J.viewportHeight-=J.margin+J.paddingVertical,J.viewportWidth-=J.margin+J.paddingHorizontal),J.viewportHeight-=J.metaHeight,m(),J.containerHeight=J.contentHeight=J.targetImageHeight,J.containerWidth=J.contentWidth=J.targetImageWidth),J.$content.css({height:J.isMobile?J.contentHeight:"auto",width:J.contentWidth}),J.$meta.css({width:J.contentWidth}),J.$image.css({height:J.targetImageHeight,width:J.targetImageWidth,marginTop:J.imageMarginTop,marginLeft:J.imageMarginLeft}),J.isMobile||(J.metaHeight=J.$meta.outerHeight(!0),J.containerHeight+=J.metaHeight),a++}function m(){var a=J.isMobile?J.containerHeight-J.metaHeight:J.viewportHeight,b=J.isMobile?J.containerWidth:J.viewportWidth;J.isWide?(J.targetImageWidth=b,J.targetImageHeight=J.targetImageWidth*J.ratioHorizontal,J.targetImageHeight>a&&(J.targetImageHeight=a,J.targetImageWidth=J.targetImageHeight*J.ratioVertical)):(J.targetImageHeight=a,J.targetImageWidth=J.targetImageHeight*J.ratioVertical,J.targetImageWidth>b&&(J.targetImageWidth=b,J.targetImageHeight=J.targetImageWidth*J.ratioHorizontal)),(J.targetImageWidth>J.imageWidth||J.targetImageHeight>J.imageHeight)&&(J.targetImageHeight=J.imageHeight,J.targetImageWidth=J.imageWidth),(J.targetImageWidth<J.minWidth||J.targetImageHeight<J.minHeight)&&(J.targetImageWidth<J.minWidth?(J.targetImageWidth=J.minWidth,J.targetImageHeight=J.targetImageWidth*J.ratioHorizontal):(J.targetImageHeight=J.minHeight,J.targetImageWidth=J.targetImageHeight*J.ratioVertical))}function n(b){J.$videoWrapper=a('<div class="boxer-video-wrapper" />'),J.$video=a('<iframe class="boxer-video" seamless="seamless" />'),J.$video.attr("src",b).addClass("boxer-video").prependTo(J.$videoWrapper),J.$content.prepend(J.$videoWrapper),o(),f()}function o(){J.windowHeight=J.viewportHeight=J.contentHeight=J.$window.height()-J.paddingVertical,J.windowWidth=J.viewportWidth=J.contentWidth=J.$window.width()-J.paddingHorizontal,J.videoMarginTop=0,J.videoMarginLeft=0,J.isMobile?(J.$meta.css({width:J.windowWidth}),J.metaHeight=J.$meta.outerHeight(!0),J.viewportHeight-=J.metaHeight,J.targetVideoWidth=J.viewportWidth,J.targetVideoHeight=J.targetVideoWidth*J.videoRatio,J.targetVideoHeight>J.viewportHeight&&(J.targetVideoHeight=J.viewportHeight,J.targetVideoWidth=J.targetVideoHeight/J.videoRatio),J.videoMarginTop=(J.viewportHeight-J.targetVideoHeight)/2,J.videoMarginLeft=(J.viewportWidth-J.targetVideoWidth)/2):(J.viewportHeight=J.windowHeight-J.margin,J.viewportWidth=J.windowWidth-J.margin,J.targetVideoWidth=J.videoWidth>J.viewportWidth?J.viewportWidth:J.videoWidth,J.targetVideoWidth<J.minWidth&&(J.targetVideoWidth=J.minWidth),J.targetVideoHeight=J.targetVideoWidth*J.videoRatio,J.contentHeight=J.targetVideoHeight,J.contentWidth=J.targetVideoWidth),J.$content.css({height:J.isMobile?J.contentHeight:"auto",width:J.contentWidth}),J.$meta.css({width:J.contentWidth}),J.$videoWrapper.css({height:J.targetVideoHeight,width:J.targetVideoWidth,marginTop:J.videoMarginTop,marginLeft:J.videoMarginLeft}),J.containerHeight=J.contentHeight,J.containerWidth=J.contentWidth,J.isMobile||(J.metaHeight=J.$meta.outerHeight(!0),J.containerHeight=J.targetVideoHeight+J.metaHeight)}function p(){var b="";J.gallery.index>0&&(b=J.gallery.$items.eq(J.gallery.index-1).attr("href"),b.indexOf("youtube.com/embed")<0&&b.indexOf("player.vimeo.com/video")<0&&a('<img src="'+b+'">')),J.gallery.index<J.gallery.total&&(b=J.gallery.$items.eq(J.gallery.index+1).attr("href"),b.indexOf("youtube.com/embed")<0&&b.indexOf("player.vimeo.com/video")<0&&a('<img src="'+b+'">'))}function q(b){C(b);var c=a(this);J.isAnimating||c.hasClass("disabled")||(J.isAnimating=!0,J.gallery.index+=c.hasClass("next")?1:-1,J.gallery.index>J.gallery.total&&(J.gallery.index=J.gallery.total),J.gallery.index<0&&(J.gallery.index=0),J.$content.on(G,function(b){if(C(b),a(b.target).is(J.$content)){J.$content.off(G),"undefined"!=typeof J.$image&&J.$image.remove(),"undefined"!=typeof J.$videoWrapper&&J.$videoWrapper.remove(),J.$target=J.gallery.$items.eq(J.gallery.index),J.$caption.html(J.formatter.apply(J.$body,[J.$target])),J.$position.find(".current").html(J.gallery.index+1);var c=J.$target.attr("href"),d=c.indexOf("youtube.com/embed")>-1||c.indexOf("player.vimeo.com/video")>-1;d?n(c):k(c),r()}}),J.$boxer.addClass("loading animating"),H||J.$content.trigger(G))}function r(){J.$controls.removeClass("disabled"),0===J.gallery.index&&J.$controls.filter(".previous").addClass("disabled"),J.gallery.index===J.gallery.total&&J.$controls.filter(".next").addClass("disabled")}function s(a){!J.gallery.active||37!==a.keyCode&&39!==a.keyCode?27===a.keyCode&&J.$boxer.find(".boxer-close").trigger("click"):(C(a),J.$controls.filter(37===a.keyCode?".previous":".next").trigger("click"))}function t(b){var c=a(b).find(">:first-child").clone();v(c)}function u(b){b+=b.indexOf("?")>-1?"&"+L.requestKey+"=true":"?"+L.requestKey+"=true";var c=a('<iframe class="boxer-iframe" src="'+b+'" />');v(c)}function v(a){J.$content.append(a),w(a),f()}function w(a){J.windowHeight=J.$window.height()-J.paddingVertical,J.windowWidth=J.$window.width()-J.paddingHorizontal,J.objectHeight=a.outerHeight(!0),J.objectWidth=a.outerWidth(!0),J.targetHeight=J.targetHeight||J.$target.data("boxer-height"),J.targetWidth=J.targetWidth||J.$target.data("boxer-width"),J.maxHeight=J.windowHeight<0?L.minHeight:J.windowHeight,J.isIframe=a.is("iframe"),J.objectMarginTop=0,J.objectMarginLeft=0,J.isMobile||(J.windowHeight-=J.margin,J.windowWidth-=J.margin),J.contentHeight=void 0!==J.targetHeight?J.targetHeight:J.isIframe||J.isMobile?J.windowHeight:J.objectHeight,J.contentWidth=void 0!==J.targetWidth?J.targetWidth:J.isIframe||J.isMobile?J.windowWidth:J.objectWidth,J.isIframe&&J.isMobile&&(J.contentHeight=J.windowHeight,J.contentWidth=J.windowWidth),x(J)}function x(a){a.containerHeight=a.contentHeight,a.containerWidth=a.contentWidth,a.$content.css({height:a.contentHeight,width:a.contentWidth})}function y(a){if(C(a),E(J.touchTimer),!J.isAnimating){var b="undefined"!=typeof a.originalEvent.targetTouches?a.originalEvent.targetTouches[0]:null;J.xStart=b?b.pageX:a.clientX,J.leftPosition=0,J.touchMax=1/0,J.touchMin=-1/0,J.edge=.25*J.contentWidth,0===J.gallery.index&&(J.touchMax=0),J.gallery.index===J.gallery.total&&(J.touchMin=0),J.$boxer.on("touchmove.boxer",z).one("touchend.boxer",A)}}function z(a){var b="undefined"!=typeof a.originalEvent.targetTouches?a.originalEvent.targetTouches[0]:null;J.delta=J.xStart-(b?b.pageX:a.clientX),J.delta>20&&C(a),J.canSwipe=!0;var c=-J.delta;c<J.touchMin&&(c=J.touchMin,J.canSwipe=!1),c>J.touchMax&&(c=J.touchMax,J.canSwipe=!1),J.$image.css({transform:"translate3D("+c+"px,0,0)"}),J.touchTimer=D(J.touchTimer,300,function(){A(a)})}function A(a){C(a),E(J.touchTimer),J.$boxer.off("touchmove.boxer touchend.boxer"),J.delta&&(J.$boxer.addClass("animated"),J.swipe=!1,J.canSwipe&&(J.delta>J.edge||J.delta<-J.edge)?(J.swipe=!0,J.delta<=J.leftPosition?J.$image.css({transform:"translate3D("+J.contentWidth+"px,0,0)"}):J.$image.css({transform:"translate3D("+-J.contentWidth+"px,0,0)"})):J.$image.css({transform:"translate3D(0,0,0)"}),J.swipe&&J.$controls.filter(J.delta<=J.leftPosition?".previous":".next").trigger("click"),D(J.resetTimer,J.duration,function(){J.$boxer.removeClass("animated")}))}function B(a){var b=a[0],c=new Image;return"undefined"!=typeof b.naturalHeight?{naturalHeight:b.naturalHeight,naturalWidth:b.naturalWidth}:"img"===b.tagName.toLowerCase()?(c.src=b.src,{naturalHeight:c.height,naturalWidth:c.width}):!1}function C(a){a.preventDefault&&(a.stopPropagation(),a.preventDefault())}function D(a,b,c){return E(a),setTimeout(c,b)}function E(a){a&&(clearTimeout(a),a=null)}function F(){var a={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},b=document.createElement("div");for(var c in a)if(a.hasOwnProperty(c)&&c in b.style)return a[c];return!1}var G,H,I=null,J={},K=/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(b.navigator.userAgent||b.navigator.vendor||b.opera),L={callback:a.noop,customClass:"",extensions:["jpg","sjpg","jpeg","png","gif"],fixed:!1,formatter:a.noop,height:100,labels:{close:"Close",count:"of",next:"Next",previous:"Previous"},margin:50,minHeight:100,minWidth:100,mobile:!1,opacity:.75,retina:!1,requestKey:"boxer",top:0,videoRatio:.5625,videoWidth:600,width:100},M={close:function(){"undefined"!=typeof J.$boxer&&(J.$boxer.off(".boxer"),J.$overlay.trigger("click"))},defaults:function(b){return L=a.extend(L,b||{}),a(this)},destroy:function(){return a(this).off(".boxer")},resize:function(b){return"undefined"!=typeof J.$boxer&&("object"!=typeof b&&(J.targetHeight=arguments[0],J.targetWidth=arguments[1]),"element"===J.type?w(J.$content.find(">:first-child")):"image"===J.type?l():"video"===J.type&&o(),g()),a(this)}};a.fn.boxer=function(a){return M[a]?M[a].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof a&&a?this:c.apply(this,arguments)},a.boxer=function(c,e){return M[c]?M[c].apply(b,Array.prototype.slice.call(arguments,1)):c instanceof a?d.apply(b,[{data:a.extend({$object:c},L,e||{})}]):void 0}}(jQuery,window);/*! * jquery.customSelect() - v0.5.1 * http://adam.co/lab/jquery/customselect/ * 2014-04-19 * * Copyright 2013 Adam Coulombe * @license http://www.opensource.org/licenses/mit-license.html MIT License * @license http://www.gnu.org/licenses/gpl.html GPL2 License */ (function(a){a.fn.extend({customSelect:function(c){if(typeof document.body.style.maxHeight==="undefined"){return this}var e={customClass:"customSelect",mapClass:true,mapStyle:true},c=a.extend(e,c),d=c.customClass,f=function(h,k){var g=h.find(":selected"),j=k.children(":first"),i=g.html()||"&nbsp;";j.html(i);if(g.attr("disabled")){k.addClass(b("DisabledOption"))}else{k.removeClass(b("DisabledOption"))}setTimeout(function(){k.removeClass(b("Open"));a(document).off("mouseup.customSelect")},60)},b=function(g){return d+g};return this.each(function(){var g=a(this),i=a("<span />").addClass(b("Inner")),h=a("<span />");g.after(h.append(i));h.addClass(d);if(c.mapClass){h.addClass(g.attr("class"))}if(c.mapStyle){h.attr("style",g.attr("style"))}g.addClass("hasCustomSelect").on("render.customSelect",function(){f(g,h);g.css("width","");var k=parseInt(g.outerWidth(),10)-(parseInt(h.outerWidth(),10)-parseInt(h.width(),10));h.css({display:"inline-block"});var j=h.outerHeight();if(g.attr("disabled")){h.addClass(b("Disabled"))}else{h.removeClass(b("Disabled"))}i.css({width:k,display:"inline-block"});g.css({"-webkit-appearance":"menulist-button",width:h.outerWidth(),position:"absolute",opacity:0,height:j,fontSize:h.css("font-size")})}).on("change.customSelect",function(){h.addClass(b("Changed"));f(g,h)}).on("keyup.customSelect",function(j){if(!h.hasClass(b("Open"))){g.trigger("blur.customSelect");g.trigger("focus.customSelect")}else{if(j.which==13||j.which==27){f(g,h)}}}).on("mousedown.customSelect",function(){h.removeClass(b("Changed"))}).on("mouseup.customSelect",function(j){if(!h.hasClass(b("Open"))){if(a("."+b("Open")).not(h).length>0&&typeof InstallTrigger!=="undefined"){g.trigger("focus.customSelect")}else{h.addClass(b("Open"));j.stopPropagation();a(document).one("mouseup.customSelect",function(k){if(k.target!=g.get(0)&&a.inArray(k.target,g.find("*").get())<0){g.trigger("blur.customSelect")}else{f(g,h)}})}}}).on("focus.customSelect",function(){h.removeClass(b("Changed")).addClass(b("Focus"))}).on("blur.customSelect",function(){h.removeClass(b("Focus")+" "+b("Open"))}).on("mouseenter.customSelect",function(){h.addClass(b("Hover"))}).on("mouseleave.customSelect",function(){h.removeClass(b("Hover"))}).trigger("render.customSelect")})}})})(jQuery);/* $.Link (part of noUiSlider) - WTFPL */ (function(c){function m(a,c,d){if((a[c]||a[d])&&a[c]===a[d])throw Error("(Link) '"+c+"' can't match '"+d+"'.'");}function r(a){void 0===a&&(a={});if("object"!==typeof a)throw Error("(Format) 'format' option must be an object.");var h={};c(u).each(function(c,n){if(void 0===a[n])h[n]=A[c];else if(typeof a[n]===typeof A[c]){if("decimals"===n&&(0>a[n]||7<a[n]))throw Error("(Format) 'format.decimals' option must be between 0 and 7.");h[n]=a[n]}else throw Error("(Format) 'format."+n+"' must be a "+typeof A[c]+ ".");});m(h,"mark","thousand");m(h,"prefix","negative");m(h,"prefix","negativeBefore");this.r=h}function k(a,h){"object"!==typeof a&&c.error("(Link) Initialize with an object.");return new k.prototype.p(a.target||function(){},a.method,a.format||{},h)}var u="decimals mark thousand prefix postfix encoder decoder negative negativeBefore to from".split(" "),A=[2,".","","","",function(a){return a},function(a){return a},"-","",function(a){return a},function(a){return a}];r.prototype.a=function(a){return this.r[a]}; r.prototype.L=function(a){function c(a){return a.split("").reverse().join("")}a=this.a("encoder")(a);var d=this.a("decimals"),n="",k="",m="",r="";0===parseFloat(a.toFixed(d))&&(a="0");0>a&&(n=this.a("negative"),k=this.a("negativeBefore"));a=Math.abs(a).toFixed(d).toString();a=a.split(".");this.a("thousand")?(m=c(a[0]).match(/.{1,3}/g),m=c(m.join(c(this.a("thousand"))))):m=a[0];this.a("mark")&&1<a.length&&(r=this.a("mark")+a[1]);return this.a("to")(k+this.a("prefix")+n+m+r+this.a("postfix"))};r.prototype.w= function(a){function c(a){return a.replace(/[\-\/\\\^$*+?.()|\[\]{}]/g,"\\$&")}var d;if(null===a||void 0===a)return!1;a=this.a("from")(a);a=a.toString();d=a.replace(RegExp("^"+c(this.a("negativeBefore"))),"");a!==d?(a=d,d="-"):d="";a=a.replace(RegExp("^"+c(this.a("prefix"))),"");this.a("negative")&&(d="",a=a.replace(RegExp("^"+c(this.a("negative"))),"-"));a=a.replace(RegExp(c(this.a("postfix"))+"$"),"").replace(RegExp(c(this.a("thousand")),"g"),"").replace(this.a("mark"),".");a=this.a("decoder")(parseFloat(d+ a));return isNaN(a)?!1:a};k.prototype.K=function(a,h){this.method=h||"html";this.j=c(a.replace("-tooltip-","")||"<div/>")[0]};k.prototype.H=function(a){this.method="val";this.j=document.createElement("input");this.j.name=a;this.j.type="hidden"};k.prototype.G=function(a){function h(a,c){return[c?null:a,c?a:null]}var d=this;this.method="val";this.target=a.on("change",function(a){d.B.val(h(c(a.target).val(),d.t),{link:d,set:!0})})};k.prototype.p=function(a,h,d,k){this.g=d;this.update=!k;if("string"=== typeof a&&0===a.indexOf("-tooltip-"))this.K(a,h);else if("string"===typeof a&&0!==a.indexOf("-"))this.H(a);else if("function"===typeof a)this.target=!1,this.method=a;else{if(a instanceof c||c.zepto&&c.zepto.isZ(a)){if(!h){if(a.is("input, select, textarea")){this.G(a);return}h="html"}if("function"===typeof h||"string"===typeof h&&a[h]){this.method=h;this.target=a;return}}throw new RangeError("(Link) Invalid Link.");}};k.prototype.write=function(a,c,d,k){if(!this.update||!1!==k)if(this.u=a,this.F=a= this.format(a),"function"===typeof this.method)this.method.call(this.target[0]||d[0],a,c,d);else this.target[this.method](a,c,d)};k.prototype.q=function(a){this.g=new r(c.extend({},a,this.g instanceof r?this.g.r:this.g))};k.prototype.J=function(a){this.B=a};k.prototype.I=function(a){this.t=a};k.prototype.format=function(a){return this.g.L(a)};k.prototype.A=function(a){return this.g.w(a)};k.prototype.p.prototype=k.prototype;c.Link=k})(window.jQuery||window.Zepto);/* $.fn.noUiSlider - WTFPL - refreshless.com/nouislider/ */ (function(c){function m(e){return"number"===typeof e&&!isNaN(e)&&isFinite(e)}function r(e){return c.isArray(e)?e:[e]}function k(e,b){e.addClass(b);setTimeout(function(){e.removeClass(b)},300)}function u(e,b){return 100*b/(e[1]-e[0])}function A(e,b){if(b>=e.d.slice(-1)[0])return 100;for(var a=1,c,f,d;b>=e.d[a];)a++;c=e.d[a-1];f=e.d[a];d=e.c[a-1];c=[c,f];return d+u(c,0>c[0]?b+Math.abs(c[0]):b-c[0])/(100/(e.c[a]-d))}function a(e,b){if(100<=b)return e.d.slice(-1)[0];for(var a=1,c,f,d;b>=e.c[a];)a++;c= e.d[a-1];f=e.d[a];d=e.c[a-1];c=[c,f];return 100/(e.c[a]-d)*(b-d)*(c[1]-c[0])/100+c[0]}function h(a,b){for(var c=1,g;(a.dir?100-b:b)>=a.c[c];)c++;if(a.m)return g=a.c[c-1],c=a.c[c],b-g>(c-g)/2?c:g;a.h[c-1]?(g=a.h[c-1],c=a.c[c-1]+Math.round((b-a.c[c-1])/g)*g):c=b;return c}function d(a,b){if(!m(b))throw Error("noUiSlider: 'step' is not numeric.");a.h[0]=b}function n(a,b){if("object"!==typeof b||c.isArray(b))throw Error("noUiSlider: 'range' is not an object.");if(void 0===b.min||void 0===b.max)throw Error("noUiSlider: Missing 'min' or 'max' in 'range'."); c.each(b,function(b,g){var d;"number"===typeof g&&(g=[g]);if(!c.isArray(g))throw Error("noUiSlider: 'range' contains invalid value.");d="min"===b?0:"max"===b?100:parseFloat(b);if(!m(d)||!m(g[0]))throw Error("noUiSlider: 'range' value isn't numeric.");a.c.push(d);a.d.push(g[0]);d?a.h.push(isNaN(g[1])?!1:g[1]):isNaN(g[1])||(a.h[0]=g[1])});c.each(a.h,function(b,c){if(!c)return!0;a.h[b]=u([a.d[b],a.d[b+1]],c)/(100/(a.c[b+1]-a.c[b]))})}function E(a,b){"number"===typeof b&&(b=[b]);if(!c.isArray(b)||!b.length|| 2<b.length)throw Error("noUiSlider: 'start' option is incorrect.");a.b=b.length;a.start=b}function I(a,b){a.m=b;if("boolean"!==typeof b)throw Error("noUiSlider: 'snap' option must be a boolean.");}function J(a,b){if("lower"===b&&1===a.b)a.i=1;else if("upper"===b&&1===a.b)a.i=2;else if(!0===b&&2===a.b)a.i=3;else if(!1===b)a.i=0;else throw Error("noUiSlider: 'connect' option doesn't match handle count.");}function D(a,b){switch(b){case "horizontal":a.k=0;break;case "vertical":a.k=1;break;default:throw Error("noUiSlider: 'orientation' option is invalid."); }}function K(a,b){if(2<a.c.length)throw Error("noUiSlider: 'margin' option is only supported on linear sliders.");a.margin=u(a.d,b);if(!m(b))throw Error("noUiSlider: 'margin' option must be numeric.");}function L(a,b){switch(b){case "ltr":a.dir=0;break;case "rtl":a.dir=1;a.i=[0,2,1,3][a.i];break;default:throw Error("noUiSlider: 'direction' option was not recognized.");}}function M(a,b){if("string"!==typeof b)throw Error("noUiSlider: 'behaviour' must be a string containing options.");var c=0<=b.indexOf("snap"); a.n={s:0<=b.indexOf("tap")||c,extend:0<=b.indexOf("extend"),v:0<=b.indexOf("drag"),fixed:0<=b.indexOf("fixed"),m:c}}function N(a,b,d){a.o=[b.lower,b.upper];a.g=b.format;c.each(a.o,function(a,e){if(!c.isArray(e))throw Error("noUiSlider: 'serialization."+(a?"upper":"lower")+"' must be an array.");c.each(e,function(){if(!(this instanceof c.Link))throw Error("noUiSlider: 'serialization."+(a?"upper":"lower")+"' can only contain Link instances.");this.I(a);this.J(d);this.q(b.format)})});a.dir&&1<a.b&&a.o.reverse()} function O(a,b){var f={c:[],d:[],h:[!1],margin:0},g;g={step:{e:!1,f:d},start:{e:!0,f:E},connect:{e:!0,f:J},direction:{e:!0,f:L},range:{e:!0,f:n},snap:{e:!1,f:I},orientation:{e:!1,f:D},margin:{e:!1,f:K},behaviour:{e:!0,f:M},serialization:{e:!0,f:N}};a=c.extend({connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal"},a);a.serialization=c.extend({lower:[],upper:[],format:{}},a.serialization);c.each(g,function(c,d){if(void 0===a[c]){if(d.e)throw Error("noUiSlider: '"+c+"' is required."); return!0}d.f(f,a[c],b)});f.style=f.k?"top":"left";return f}function P(a,b){var d=c("<div><div/></div>").addClass(f[2]),g=["-lower","-upper"];a.dir&&g.reverse();d.children().addClass(f[3]+" "+f[3]+g[b]);return d}function Q(a,b){b.j&&(b=new c.Link({target:c(b.j).clone().appendTo(a),method:b.method,format:b.g},!0));return b}function R(a,b){var d,f=[];for(d=0;d<a.b;d++){var k=f,h=d,m=a.o[d],n=b[d].children(),r=a.g,s=void 0,v=[],s=new c.Link({},!0);s.q(r);v.push(s);for(s=0;s<m.length;s++)v.push(Q(n,m[s])); k[h]=v}return f}function S(a,b,c){switch(a){case 1:b.addClass(f[7]);c[0].addClass(f[6]);break;case 3:c[1].addClass(f[6]);case 2:c[0].addClass(f[7]);case 0:b.addClass(f[6])}}function T(a,b){var c,d=[];for(c=0;c<a.b;c++)d.push(P(a,c).appendTo(b));return d}function U(a,b){b.addClass([f[0],f[8+a.dir],f[4+a.k]].join(" "));return c("<div/>").appendTo(b).addClass(f[1])}function V(d,b,m){function g(){return t[["width","height"][b.k]]()}function n(a){var b,c=[q.val()];for(b=0;b<a.length;b++)q.trigger(a[b], c)}function u(d,p,e){var g=d[0]!==l[0][0]?1:0,H=x[0]+b.margin,k=x[1]-b.margin;e&&1<l.length&&(p=g?Math.max(p,H):Math.min(p,k));100>p&&(p=h(b,p));p=Math.max(Math.min(parseFloat(p.toFixed(7)),100),0);if(p===x[g])return 1===l.length?!1:p===H||p===k?0:!1;d.css(b.style,p+"%");d.is(":first-child")&&d.toggleClass(f[17],50<p);x[g]=p;b.dir&&(p=100-p);c(y[g]).each(function(){this.write(a(b,p),d.children(),q)});return!0}function B(a,b,c){c||k(q,f[14]);u(a,b,!1);n(["slide","set","change"])}function w(a,c,d,e){a= a.replace(/\s/g,".nui ")+".nui";c.on(a,function(a){var c=q.attr("disabled");if(q.hasClass(f[14])||void 0!==c&&null!==c)return!1;a.preventDefault();var c=0===a.type.indexOf("touch"),p=0===a.type.indexOf("mouse"),F=0===a.type.indexOf("pointer"),g,k,l=a;0===a.type.indexOf("MSPointer")&&(F=!0);a.originalEvent&&(a=a.originalEvent);c&&(g=a.changedTouches[0].pageX,k=a.changedTouches[0].pageY);if(p||F)F||void 0!==window.pageXOffset||(window.pageXOffset=document.documentElement.scrollLeft,window.pageYOffset= document.documentElement.scrollTop),g=a.clientX+window.pageXOffset,k=a.clientY+window.pageYOffset;l.C=[g,k];l.cursor=p;a=l;a.l=a.C[b.k];d(a,e)})}function C(a,c){var b=c.b||l,d,e=!1,e=100*(a.l-c.start)/g(),f=b[0][0]!==l[0][0]?1:0;var k=c.D;d=e+k[0];e+=k[1];1<b.length?(0>d&&(e+=Math.abs(d)),100<e&&(d-=e-100),d=[Math.max(Math.min(d,100),0),Math.max(Math.min(e,100),0)]):d=[d,e];e=u(b[0],d[f],1===b.length);1<b.length&&(e=u(b[1],d[f?0:1],!1)||e);e&&n(["slide"])}function s(a){c("."+f[15]).removeClass(f[15]); a.cursor&&c("body").css("cursor","").off(".nui");G.off(".nui");q.removeClass(f[12]);n(["set","change"])}function v(a,b){1===b.b.length&&b.b[0].children().addClass(f[15]);a.stopPropagation();w(z.move,G,C,{start:a.l,b:b.b,D:[x[0],x[l.length-1]]});w(z.end,G,s,null);a.cursor&&(c("body").css("cursor",c(a.target).css("cursor")),1<l.length&&q.addClass(f[12]),c("body").on("selectstart.nui",!1))}function D(a){var d=a.l,e=0;a.stopPropagation();c.each(l,function(){e+=this.offset()[b.style]});e=d<e/2||1===l.length? 0:1;d-=t.offset()[b.style];d=100*d/g();B(l[e],d,b.n.m);b.n.m&&v(a,{b:[l[e]]})}function E(a){var c=(a=a.l<t.offset()[b.style])?0:100;a=a?0:l.length-1;B(l[a],c,!1)}var q=c(d),x=[-1,-1],t,y,l;if(q.hasClass(f[0]))throw Error("Slider was already initialized.");t=U(b,q);l=T(b,t);y=R(b,l);S(b.i,q,l);(function(a){var b;if(!a.fixed)for(b=0;b<l.length;b++)w(z.start,l[b].children(),v,{b:[l[b]]});a.s&&w(z.start,t,D,{b:l});a.extend&&(q.addClass(f[16]),a.s&&w(z.start,q,E,{b:l}));a.v&&(b=t.find("."+f[7]).addClass(f[10]), a.fixed&&(b=b.add(t.children().not(b).children())),w(z.start,b,v,{b:l}))})(b.n);d.vSet=function(){var a=Array.prototype.slice.call(arguments,0),d,e,g,h,m,s,t=r(a[0]);"object"===typeof a[1]?(d=a[1].set,e=a[1].link,g=a[1].update,h=a[1].animate):!0===a[1]&&(d=!0);b.dir&&1<b.b&&t.reverse();h&&k(q,f[14]);a=1<l.length?3:1;1===t.length&&(a=1);for(m=0;m<a;m++)h=e||y[m%2][0],h=h.A(t[m%2]),!1!==h&&(h=A(b,h),b.dir&&(h=100-h),!0!==u(l[m%2],h,!0)&&c(y[m%2]).each(function(a){if(!a)return s=this.u,!0;this.write(s, l[m%2].children(),q,g)}));!0===d&&n(["set"]);return this};d.vGet=function(){var a,c=[];for(a=0;a<b.b;a++)c[a]=y[a][0].F;return 1===c.length?c[0]:b.dir?c.reverse():c};d.destroy=function(){c.each(y,function(){c.each(this,function(){this.target&&this.target.off(".nui")})});c(this).off(".nui").removeClass(f.join(" ")).empty();return m};q.val(b.start)}function W(a){if(!this.length)throw Error("noUiSlider: Can't initialize slider on empty selection.");var b=O(a,this);return this.each(function(){V(this, b,a)})}function X(a){return this.each(function(){var b=c(this).val(),d=this.destroy(),f=c.extend({},d,a);c(this).noUiSlider(f);d.start===f.start&&c(this).val(b)})}function B(){return this[0][arguments.length?"vSet":"vGet"].apply(this[0],arguments)}var G=c(document),C=c.fn.val,z=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove", end:"mouseup touchend"},f="noUi-target noUi-base noUi-origin noUi-handle noUi-horizontal noUi-vertical noUi-background noUi-connect noUi-ltr noUi-rtl noUi-dragable noUi-state-drag noUi-state-tap noUi-active noUi-extended noUi-stacking".split(" ");c.fn.val=function(){var a=arguments,b=c(this[0]);return arguments.length?this.each(function(){(c(this).hasClass(f[0])?B:C).apply(c(this),a)}):(b.hasClass(f[0])?B:C).call(b)};c.noUiSlider={Link:c.Link};c.fn.noUiSlider=function(a,b){return(b?X:W).call(this, a)}})(window.jQuery||window.Zepto); /* jshint devel:true */ /* global Modernizr, Masonry, imagesLoaded:true */ /// FUNCTION TO CHECK IF ELEMENTS EXIST / DOESN'T /////////////////////////////////// jQuery.fn.exists = function() { return this.length > 0; }; //////////////////////////////////////////////////////// ///// GLOBAL FUNCTIONS //////////////////////////////////////////////////////// /** * Some sites switch off the scrolling, this variable allows for that. */ var scroll_nav = (scroll_nav === undefined) ? true : scroll_nav; (function($) { // global JS object var jsGlobal = function() { //global vars //var _this; return{ init: function() { //napco_set_login_status(); napco_window_targets(); /// DELAY TIMER /////////////////////////////////// var delaytimer; function delay(callback, ms) { clearTimeout(delaytimer); delaytimer = setTimeout(callback, ms); } /// EXPANDING FOOTER /////////////////////////////////// var footerToggle = $('.footer-toggle'); footerToggle.on('click', function() { if (footerToggle.hasClass('collapsed')) { $(this).removeClass('collapsed'); $(this).addClass('expanded'); $('footer .bot-level').slideDown(400); // after expand, scroll down to see delay(function() { $("html, body").animate({ scrollTop: $(document).height() }, "slow"); }, 400); // change copy //$('.footer-toggle span').html('Less Information'); if ($('html').hasClass('ie8')) { $('footer .bot-level .link-list').columnize({ columns: 2 }); } } else { $(this).removeClass('expanded'); $(this).addClass('collapsed'); $('footer .bot-level').slideUp(); // change copy //$('.footer-toggle span').html('More Information'); } }); /// PLACEHOLDER FIX FOR UNSUPPORTED BROWSERS ////////////////////////////////////////////// if (!Modernizr.input.placeholder) { $("input, textarea").each( function() { if ($(this).val() === "" && $(this).attr("placeholder") !== "") { $(this).val($(this).attr("placeholder")); $(this).focus(function() { if ($(this).val() === $(this).attr("placeholder")) { $(this).val(""); } }); $(this).blur(function() { if ($(this).val() === "") { $(this).val($(this).attr("placeholder")); } }); } }); } /// STOP SEARCH FORM IF EMPTY ////////////////////////////////////////////// $('.search-bar form').on('submit', function(e) { if ($(this).find('input[type="text"]').val().length < 1) { e.preventDefault(); } }); /// STYLE SELECTS ///////////////////////////////////////////// if ($.fn.customSelect) { $('.styled').customSelect(); } /// COLUMNIZER (IE8) ///////////////////////////////////////////// //////////////////////////////////////////////////////////////// //////// This is for the blog more posts ajax call //////////// ////////////////////////////////////////////////////////////// $(document).on('click', '#blog-post-more, #blog-post-newer-more', function() { var limit = jQuery( '#blog-posts-limit' ).val(); var start = jQuery( '#blog-posts-start' ).val(); var blog_column_option = jQuery( '#blog-column-option' ).val(); var taxonomy_term_id = jQuery( '#taxonomy-term-id' ).val(); var taxonomy_name = jQuery( '#taxonomy-name' ).val(); var id = $(this).attr('id'); var more_posts = ''; if ( id == 'blog-post-newer-more' ) { more_posts = 'newer'; } else if ( id == 'blog-post-more' ) { more_posts = 'older'; } // This does the ajax request jQuery.ajax({ type: 'POST', url: ajax_object.ajaxurl, data: { action:'ajax_blog_more_posts', limit: limit, start: start, blog_column_option: blog_column_option, taxonomy_name: taxonomy_name, taxonomy_term_id: taxonomy_term_id, more_posts: more_posts }, success:function(data) { if( data != 'error' ) { $('#blog-post-more-div').html(data); } else { if ( blog_column_option == 2 ) { $('#blog-post-more-div').html( '<div class="row feed push-down-40"><div class="col-sm-6"><div class="feed-col">No older posts are there.</div></div></div>' );//code } else if ( blog_column_option == 3 ) { $('#blog-post-more-div').html( '<div class="row feed bgcolor no-pad d"><div class="col-sm-6"><div class="feed-col">No older posts are there.</div></div></div>' );//code } } } }); }); $(document).on('click', '#author-post-more, #author-post-newer-more', function() { var limit = jQuery( '#blog-posts-limit' ).val(); var start = jQuery( '#blog-posts-start' ).val(); var blog_column_option = jQuery( '#blog-column-option' ).val(); var author_id = jQuery( '#author-id' ).val(); var id = $(this).attr('id'); var more_posts = ''; var trigger = $(this); var trigger_text_folder = trigger.text(); if ( id == 'author-post-newer-more' ) { more_posts = 'newer'; } else if ( id == 'author-post-more' ) { more_posts = 'older'; } $('#blog-post-more-div').css('opacity', .25); trigger.text('Loading...'); // This does the ajax request jQuery.ajax({ type: 'POST', url: ajax_object.ajaxurl, data: { action:'ajax_author_more_posts', limit: limit, start: start, blog_column_option: blog_column_option, author_id: author_id, more_posts: more_posts }, success:function(data) { $('#blog-post-more-div').css('opacity', 1); $('html, body').animate({ scrollTop: $('#blog-post-more-div').offset().top - 100 }, 250); trigger.text(trigger_text_folder); if( data != 'error' ) { $('#blog-post-more-div').html(data); } else { if ( blog_column_option == 2 ) { $('#blog-post-more-div').html( '<div class="row feed push-down-40"><div class="col-sm-6"><div class="feed-col">No older posts are there.</div></div></div>' );//code } else if ( blog_column_option == 3 ) { $('#blog-post-more-div').html( '<div class="row feed bgcolor no-pad d"><div class="col-sm-6"><div class="feed-col">No older posts are there.</div></div></div>' );//code } } } }); }); $('.newsletter-subscription-widget').on('submit', function(e){ e.preventDefault(); var $form = $(this); $(this).css({'opacity':'1'}); $form.find('[type=email]').css({backgroundColor:'#fff'}); email_address = $form.find('[type=email]').val(); sitenewsletter = $form.find('[name="sitenewsletter"]').val(); if ( ! email_address ) { $form.find('[type=email]').css({backgroundColor:'#fcc'}); return; } data = { action : 'sitenewsletter_add_subscribe', email_address : email_address, sitenewsletter : sitenewsletter, } $(this).css({'opacity':'0.5'}); jQuery.post(napco_data.ajaxurl, data, function(response) { if ( 'OK' == response ) { msg = '<h1>Thank you for subscribing.</h1>'; } else { msg = ''; } $form.parent('.inner-pad').html('<div class="text">'+ msg +'</div>'); }); }); /* //tax term widget, 3 at a time, some css changes would be necessary as well such as hiding the article elements function show_more_items( $list, limit ) { i = 0; $list.find('article').each(function(){ if ( i == limit ) return false; if ( $(this).is(':hidden') ) { $(this).show(); i++; } }); } $('.rail-container.taxonomy-terms .feed-col').each(function(){ limit = 3; show_more_items( $(this), limit ); }); $('.load_more.button').on('click', function(){ $list = $(this).parents().find('.feed-col'); limit = 3; show_more_items( $list, limit ); }); //tax term widget, 3 at a time - end */ function collapse_term_taxonomy_widget($frame) { frame_offset = $frame.offset(); //frame_height = $frame.height(); $third_item = $frame.find('article.post-preview:eq(2)'); if ( ! $third_item.length ) return; third_item_offset = $third_item.offset(); third_item_height = $third_item.outerHeight(); third_item_bottom = third_item_offset.top + third_item_height; frame_new_height = third_item_bottom - frame_offset.top; $frame.height(frame_new_height); } $('.rail-container.taxonomy-terms .feed-col').each(function(){ collapse_term_taxonomy_widget( $(this) ); }); $('.load_more.button').on('click', function(){ $list = $(this).parent().parent().find('.feed-col'); if ( 'expand' == $(this).attr('data-action') ) { $list.slideDown('slow', function() { $(this).css('height', 'inherit'); }); $(this).attr('data-action', 'collapse').text('Show Fewer '+ $(this).data('label')).addClass('expanded'); } else { collapse_term_taxonomy_widget($list); $(this).attr('data-action', 'expand').text('Show More '+ $(this).data('label')).removeClass('expanded'); } }); /** * Convert footer menu items to headers when appropriate. */ $('.footer nav li:first-of-type').each(function(){ $a_tag = $('a', this); href = $a_tag.attr('href'); if ( ! href || '#' == href ) { $a_tag.replaceWith($a_tag.html()); $(this).wrapInner('<strong>'); } }); /** * Hide ad widgets without ads. */ $('aside.doubleclick:has(.ad.napco-ad)').each(function(){ if (!$(this).find('div').length && !$(this).find('script').length) { $(this).hide(); } }); } }; }(); // load on document ready jQuery(function() { jsGlobal.init(); }); })(jQuery); //////////////////////////////////////////////////////// ///// Responsive Nav //////////////////////////////////////////////////////// (function($) { // global JS object var jsNav = function() { //global vars var self, resizeTimer, navItems, activeNav; return{ init: function() { // insert menu back buttons $('.menu-item-has-children .sub-menu').prepend('<li class="menu-back menu-item menu-item-type-post_type menu-item-object-page">Back To Main Menu</li>'); $('.menu-item-has-children .sub-menu .sub-menu li.menu-back').html('Back'); self = this; navItems = $('ul.menu .nav-item'); //console.log(navItems); // hover states for no-touch nav $(document).on('mouseenter', '.no-touch-view ul.menu li', self.menuOpen); $(document).on('mouseleave', '.no-touch-view ul.menu li', self.menuClose); // touch toggles $('.trigger-main-nav').click(self.touchButton); $('.toggle-search').click(self.touchSearch); // navigate touch menus $(document).on('click', '.touch-view ul.menu a', self.menuOpenMobile); $('ul.menu .menu-back').click(self.menuCloseBack); // exit touch menu $('.exit-touch-menu').click(self.touchButton); // This for slider $('.wp-gallery').bjqs({ 'width' : '100%', 'responsive' : false, 'automatic' : false, 'nexttext' : '&raquo;', 'prevtext' : '&laquo;', 'text-align': 'center' }); // This is for author listing toggle on category/blog channel page page $('#load_more_button').on('click', function() { holdSpot = this; topOfElement = $(holdSpot).offset().top; topOfScroll = $(window).scrollTop(); effectiveHeight = topOfElement - topOfScroll; $('.author-listing-div').slideToggle('slow', function() { $('#load_more_button').toggleClass('contributor-up-arrow'); topOfElement = $(holdSpot).offset().top; //finds new position of element $(window).scrollTop(topOfElement - effectiveHeight); //sets scrollTop to position of element minus the original height difference }); $(this).text( $(this).text() == 'Show More Contributors' ? "Show Fewer Contributors" : "Show More Contributors"); }); // $('nav.no-touch-view ul#menu-header-menu li.menu-item').on('click', function() { // $('a:first-child', this)[0].click(); // }); // sticky nav $(window).scroll(function() { // check if header is there first and for scroll_nav boolean if ($('header').length > 0 && scroll_nav) { if ($('html').hasClass('use-touch-sticky')) { if ($(window).scrollTop() > $('.top-stick').offset().top - 0) { $('.control-wrap').addClass('touch-sticky'); } else { $('.control-wrap').removeClass('touch-sticky'); } } else { if ($(window).scrollTop() > $('.bot-stick').offset().top - 1) { $('.bot-layer').addClass('no-touch-sticky'); $('.bot-stick').css({ 'height': '42px', 'display': 'block' }); napco_adminbar_padding('32px'); } else { $('.bot-layer').removeClass('no-touch-sticky'); $('.bot-stick').css({ 'height': '0px', 'display': 'block' }); napco_adminbar_padding(0); } if ( $('.share-floater-div').length ) { if ($(window).scrollTop() > $('.share-floater-div').offset().top - 1) { $('.share-bar').css({ 'position': 'fixed', 'top': '95px', 'width': '166px' }); } else { $('.share-bar').css({ 'position': 'relative', 'top': '2px', 'width': '100%' }); } } if ($(window).scrollTop() > 260) { $('.bot-layer').addClass('staged'); } else { $('.bot-layer').removeClass('staged'); } } } }); // resize $(window).on('resize', function() { clearTimeout(resizeTimer); resizeTimer = setTimeout(function() { self.resizeEnd(); }, 100); }); // set nav class on init if ($('html').hasClass('no-touch') && ($(window).width() > 768)) { $('.wp-menu').removeClass('touch-view'); $('.wp-menu').addClass('no-touch-view'); } else { $('.wp-menu').removeClass('no-touch-view'); $('.wp-menu').addClass('touch-view'); $('html').addClass('use-touch-sticky'); } /*if ($('html').hasClass('touch') && ($(window).width() > 768)) { $('html').removeClass('touch'); $('html').addClass('no-touch'); }*/ //create headers self.createMenuHeaders(); }, createMenuHeaders: function() { var thisMenuItems = $('.menu-item-has-children a'); thisMenuItems.each(function() { var thisMenu = $(this).next(); var thisItem = $(thisMenu).find('> .menu-back'); //new placeholder $(thisItem).after('<li class="new-item"></li>'); var packet = $(this).clone(); $(packet).removeClass('menu-item'); packet.prependTo($(thisMenu).find('.new-item')); }); }, resizeEnd: function() { if ($('html').hasClass('touch')) { $('.wp-menu').removeClass('no-touch-view'); $('.wp-menu').addClass('touch-view'); $('html').addClass('use-touch-sticky'); } else { if ($(window).width() <= 768) { $('.wp-menu').removeClass('no-touch-view'); $('.wp-menu').addClass('touch-view'); $('html').addClass('use-touch-sticky'); if ( scroll_nav ) { $('.bot-layer').removeClass('no-touch-sticky'); $('.bot-layer').removeClass('staged'); } } else { $('.wp-menu').removeClass('touch-view'); $('.wp-menu').addClass('no-touch-view'); $('.pusher').removeClass('active'); $('.site-container').removeClass('pusher-active'); $('.trigger-main-nav').removeClass('active'); $('.control-wrap').removeClass('touch-sticky'); $('.wp-menu').removeClass('open'); $('html').removeClass('use-touch-sticky'); } } }, menuOpen: function(e) { $(this).children('a').addClass('hoveron'); if (self.hasSubNav($(this).parent())) { //console.log('has a sub nav'); //open the subnav e.preventDefault(); activeNav = $(this).children('.sub-menu'); //console.log(activeNav); $(activeNav).addClass('open'); } else { //console.log('no sub nav'); } }, menuOpenMobile: function(e) { $(this).addClass('hoveron'); if (self.hasSubNav($(this).parent())) { //console.log('has a sub nav'); //open the subnav e.preventDefault(); activeNav = $(this).next('.sub-menu'); //console.log(activeNav); $(activeNav).addClass('open'); } else { //console.log('no sub nav'); } }, menuClose: function() { $(this).children().removeClass('hoveron'); //console.log(openNav); var openNav = $(this).children('.sub-menu'); var delaytimer; function delay(callback, ms) { clearTimeout(delaytimer); delaytimer = setTimeout(callback, ms); } delay(function() { $(openNav).removeClass('open'); }, 100); }, menuCloseBack: function() { //console.log(openNav); var openNav = $(this).parent(); $(openNav).removeClass('open'); }, hasSubNav: function(element) { if ($(element).find('.sub-menu').length > 0) { return true; } }, touchButton: function() { if ($('.touch-view').hasClass('open')) { $('.trigger-main-nav').removeClass('active'); $('.wp-menu').removeClass('open'); $('.pusher').removeClass('active'); $('.site-container').removeClass('pusher-active'); $('.sub-menu').removeClass('open'); } else { $('.wp-menu').addClass('open'); $('.trigger-main-nav').addClass('active'); $('.pusher').addClass('active'); $('.site-container').addClass('pusher-active'); } }, touchSearch: function() { if ($('.touch-search').hasClass('open')) { $('.toggle-search').removeClass('active'); $('.touch-search').removeClass('open'); } else { $('.touch-search').addClass('open'); $('.toggle-search').addClass('active'); } } }; }(); // load on document ready jQuery(function() { jsNav.init(); }); })(jQuery); //Commenting out for now. Issue found where only the first nav item was being affected. Most likely an easy fix. //@todo fix this // //(function ($) { // // $(document).on('mouseenter', '.no-touch-view ul.menu a:first', function () { // $("#menu-header-menu li > ul:first li:nth-child(10)").after('<li><a style="font-style: italic;" class="nav-load-more">Load More..</a></li>'); // var x = -2; // // $("#menu-header-menu li > ul:first > li").each(function () { // if (x > 8) { // // $(this).hide(); // } else { // $(this).show(); // } // x++; // // }); // }); // // $(document).on('mouseleave', '.no-touch-view', function () { // $(".nav-load-more").remove(); // $(".nav-load-less").remove(); // }); // // $(document).on('click', '.nav-load-more', function () { // // $(this).remove(); // // var x = -2; // $("#menu-header-menu li > ul:first > li").each(function () { // if (x < 8) { // // $(this).hide(); // } else { // $(this).show(); // } // x++; // }); // // $("#menu-header-menu li > ul:first").append('<li><a style="font-style: italic;" class="nav-load-less">Load Previous..</a></li>'); // // }); // // $(document).on('click', '.nav-load-less', function () { // // $(this).remove(); // // var x = -2; // $("#menu-header-menu li > ul:first > li").each(function () { // if (x < 8) { // // $(this).show(); // } else { // $(this).hide(); // // } // x++; // }); // // $("#menu-header-menu li > ul:first li:nth-child(10)").after('<li><a style="font-style: italic;" class="nav-load-more">Load More..</a></li>'); // // }); // //})(jQuery); //////////////////////////////////////////////////////// ///// Masonry (for widgets in tablet view only) //////////////////////////////////////////////////////// (function($) { // global JS object var masonry = function() { //global vars var _this, resizeTimer, container, isActive, msnry; return{ init: function() { _this = this; isActive = false; msnry = ''; container = document.querySelector('#right-rail'); // resize $(window).on('resize', function() { clearTimeout(resizeTimer); resizeTimer = setTimeout(function() { _this.resizeEnd(); }, 100); }); // set nav class on init if (($(window).width() < 769) && ($(window).width() > 649)) { if ($('html').hasClass('ie8')) { imagesLoaded(container, function() { _this.msnry = new Masonry(container, { itemSelector: '.rail-container', gutter: '.gutter-sizer', isFitWidth: true, isInitLayout: false }); }); } else { imagesLoaded(container, function() { _this.msnry = new Masonry(container, { itemSelector: '.rail-container', gutter: '.gutter-sizer', isFitWidth: true, isInitLayout: true }); }); } _this.isActive = true; } }, resizeEnd: function() { if (($(window).width() < 769) && ($(window).width() > 649)) { if (_this.isActive) { //nothing } else { _this.msnry = new Masonry(container, { itemSelector: '.rail-container', gutter: '.gutter-sizer', isFitWidth: true }); _this.isActive = true; } } else { if (_this.isActive) { _this.msnry.destroy(); _this.isActive = false; } } } }; }(); // load on document ready jQuery(function() { if ($('aside').exists()) { masonry.init(); } }); })(jQuery); //////////////////////////////////////////////////////// ///// Squares //////////////////////////////////////////////////////// (function($) { // global JS object var squares = function() { //global vars var _this, css3 = Modernizr.csstransitions; return{ init: function() { _this = this; $('.square').mouseenter(_this.shadeUp); $('.square').mouseleave(_this.shadeDown); }, shadeUp: function() { if (css3) { $(this).addClass('on-css'); } else { $(this).addClass('on-js'); $(this).find('.shade').animate({ "height": "100%" }, 400); $(this).find('.shade p').animate({ "opacity": "1" }, 400); } }, shadeDown: function() { if (css3) { $(this).removeClass('on-css'); } else { $(this).removeClass('on-js'); $(this).find('.shade').animate({ "height": "35%" }, 400); $(this).find('.shade p').animate({ "opacity": "0" }, 400); } } }; }(); // load on document ready jQuery(function() { squares.init(); }); })(jQuery); //////////////////////////////////////////////////////// ///// FILTERED SEARCH //////////////////////////////////////////////////////// (function($) { // global JS object var filters = function() { //global vars var _this, panel, resizeTimer; return{ init: function() { _this = this; panel = $('.filters .group-head'); panel.click(_this.slidePanel); // noUiSlider required if ($('#radius-slider').exists()) { $("#radius-slider").noUiSlider({ start: 10, range: { 'min': 5, 'max': 100 }, serialization: { lower: [ $.Link({ target: $("#search-radius"), method: 'val', format: { decimals: 0 } }) ] } }); } // resize $(window).on('resize', function() { clearTimeout(resizeTimer); resizeTimer = setTimeout(function() { _this.resizeEnd(); }, 100); }); // letters popup $('.show-letters').click(_this.letters); $('.close-letters').click(_this.letters); // toggle map $('.view-map').click(_this.map); $('.toggle-filters').click(_this.slideFilters); }, slidePanel: function() { if ($(this).parent('.filter-group').hasClass('open')) { $('.filter-group').removeClass('open'); $('.group-body').slideUp(400); } else { $('.filter-group').removeClass('open'); $('.group-body').slideUp(400); $(this).parent('.filter-group').addClass('open'); $(this).next('.group-body').slideDown(400); } }, letters: function() { if ($('.letters').hasClass('open')) { $('.letters').removeClass('open'); } else { $('.letters').addClass('open'); } }, map: function() { var mapWrap = $(this).closest('.result').find('.map-wrap'); if (mapWrap.hasClass('open')) { mapWrap.removeClass('open'); mapWrap.slideUp(400); $(this).html('View on Map'); } else { mapWrap.addClass('open'); mapWrap.slideDown(400); $(this).html('Close Map'); } }, slideFilters: function() { if ($('.toggle-filters').hasClass('active')) { $('.toggle-filters').removeClass('active'); } else { $('.toggle-filters').addClass('active'); } if ($('.filters').hasClass('open')) { $('.filters').removeClass('open').slideUp(600); $('.clear-filters').hide(); } else { $('.filters').addClass('open').slideDown(600); $('.clear-filters').show(); } }, resizeEnd: function() { if (($(window).width() > 900)) { $('.toggle-filters').addClass('active'); $('.filters').addClass('open').show(); } else { $('.toggle-filters').removeClass('active'); $('.filters').removeClass('open').hide(); } } }; }(); // load on document ready jQuery(function() { filters.init(); }); })(jQuery); //////////////////////////////////////////////////////// ///// BOXER (MODAL SETTINGS) //////////////////////////////////////////////////////// (function($) { // global JS object var boxer = function() { //global vars var _this, ssModal; return{ init: function() { _this = this; ssModal = ''; $('.boxer').boxer({ //mobile: true }); $('.show-cruise').boxer({ }); $('.qv-modal').boxer({ top: 40, customClass: 'quick-view-modal', callback: function() { $('.close-modal').on('click', function() { $.boxer('close'); }); $('.boxer-container .modal-swiper').attr('id', 'modal-swiper-live'); _this.modalSwiper(); } }); }, modalSwiper: function() { var ssModal = $('#modal-swiper-live').swiper({ mode: 'horizontal', loop: false, calculateHeight: true, visibilityFullFit: true }); // set buttons $('.modal-img-prev').on('click', function(e) { e.preventDefault(); ssModal.swipePrev(); }); $('.modal-img-next').on('click', function(e) { e.preventDefault(); ssModal.swipeNext(); }); // destroy swiper on modal close $('.close-modal, .prev-modal, .next-modal').on('click', function() { if (ssModal) { $('.boxer-container .modal-swiper').attr('id', ''); ssModal.destroy(); } }); } }; }(); // load on document ready jQuery(function() { boxer.init(); }); })(jQuery); //////////////////////////////////////////////////////// ///// Posts ( Media Gallery Bucket Slider ) //////////////////////////////////////////////////////// (function($) { // global JS object var bucketCarouselPostMedia = function() { //global vars var self, resizeTimer; return{ init: function(){ self = this; // resize $(window).on('resize', function() { clearTimeout(resizeTimer); resizeTimer = setTimeout(function(){ $(window).trigger('resizeend'); },1000); }); $(window).on('resizeend', self.resizeEnd); $(window).trigger('resizeEnd'); // load swiper self.pickSize(); }, resizeEnd: function(){ self.pickSize(); }, pickSize: function(){ if ( $('.bucket-carousel-post-media').length ) { //config for desktop if ( $(window).width() > 480 ) { $('.bucket-carousel-post-media').each(function(i,v){ //get the a unique identifier to be used by JS to identifier //individual sliders when there are multiple sliders on a page var swiper_id = $(v).data('swiper-id'); var bucketCarouselPostMedia = $(v).swiper({ mode:'horizontal', loop: false, slidesPerView: 1, calculateHeight: true, onInit : function() { var imgHeight = $('.bucket-carousel.post-media-images .bucket img').height(); $('.bucket-carousel.post-media-images.'+ swiper_id +' .bc-next, .bucket-carousel.post-media-images.'+ swiper_id +' .bc-prev').height(imgHeight); $('.bucket-carousel.post-media-images.'+ swiper_id +' .bc-prev').addClass('disabled'); }, onSlideChangeEnd: function() { if ( bucketCarouselPostMedia.activeIndex === ( bucketCarouselPostMedia.slides.length - 1 ) ) { $('.bucket-carousel.post-media-images.'+ swiper_id +' .bc-next').addClass('disabled'); } else { $('.bucket-carousel.post-media-images.'+ swiper_id +' .bc-next').removeClass('disabled'); } if ( bucketCarouselPostMedia.activeIndex === 0 ) { $('.bucket-carousel.post-media-images.'+ swiper_id +' .bc-prev').addClass('disabled'); } else { $('.bucket-carousel.post-media-images.'+ swiper_id +' .bc-prev').removeClass('disabled'); } } }); bucketCarouselPostMedia.reInit(); // swiper buttons $('.bucket-carousel.post-media-images.'+ swiper_id +' .bc-prev').on('click', function(e){ e.preventDefault(); bucketCarouselPostMedia.swipePrev(); }); $('.bucket-carousel.post-media-images.'+ swiper_id +' .bc-next').on('click', function(e){ e.preventDefault(); bucketCarouselPostMedia.swipeNext(); }); }); //config for mobile } else { var bucketCarouselPostMedia = $('.bucket-carousel-post-media').swiper({ mode:'horizontal', loop: false, calculateHeight: true, freeMode: true, freeModeFluid: true }); bucketCarouselPostMedia.reInit(); } } } }; }(); // load on document ready jQuery(function() { bucketCarouselPostMedia.init(); }); })(jQuery); //////////////////////////////////////////////////////// ///// Blog_channel ( more blogs bucket Slider ) //////////////////////////////////////////////////////// (function($) { // global JS object var bucketCarouselBlogChannelMoreBlogs = function() { //global vars var self, resizeTimer; return{ init: function() { self = this; // resize $(window).on('resize', function() { clearTimeout(resizeTimer); resizeTimer = setTimeout(function() { $(window).trigger('resizeend'); }, 1000 ); }); $(window).on('resizeend', self.resizeEnd); $(window).trigger('resizeEnd'); // load swiper self.pickSize(); }, resizeEnd: function() { self.pickSize(); }, pickSize: function() { //config for desktop if ($('#bucket-carousel-more-blogs').length){ if ($(window).width() > 480) { var bucketCarouselBlogChannelMoreBlogs = $('#bucket-carousel-more-blogs').swiper({ mode: 'horizontal', loop: false, slidesPerView: 3, calculateHeight: true, onInit: function() { var imgHeight = $('.bucket-carousel.other-staff-writers .bucket img').height(); $('.bucket-carousel.other-staff-writers .bc-next, .bucket-carousel.other-staff-writers .bc-prev').height(imgHeight); $('.bucket-carousel.other-staff-writers .bc-prev').addClass('disabled'); }, onSlideChangeEnd: function() { if (bucketCarouselBlogChannelMoreBlogs.activeIndex === (bucketCarouselBlogChannelMoreBlogs.slides.length - 3)) { $('.bucket-carousel.other-staff-writers .bc-next').addClass('disabled'); } else { $('.bucket-carousel.other-staff-writers .bc-next').removeClass('disabled'); } if (bucketCarouselBlogChannelMoreBlogs.activeIndex === 0) { $('.bucket-carousel.other-staff-writers .bc-prev').addClass('disabled'); } else { $('.bucket-carousel.other-staff-writers .bc-prev').removeClass('disabled'); } } }); bucketCarouselBlogChannelMoreBlogs.reInit(); // swiper buttons $('.bucket-carousel.other-staff-writers .bc-prev').on('click', function(e) { e.preventDefault(); bucketCarouselBlogChannelMoreBlogs.swipePrev(); }); $('.bucket-carousel.other-staff-writers .bc-next').on('click', function(e) { e.preventDefault(); bucketCarouselBlogChannelMoreBlogs.swipeNext(); }); //config for mobile } else { var bucketCarouselBlogChannelMoreBlogs = $('#bucket-carousel-more-blogs').swiper({ mode: 'horizontal', loop: false, calculateHeight: true, freeMode: true, freeModeFluid: true }); bucketCarouselBlogChannelMoreBlogs.reInit(); } } } }; }(); // load on document ready jQuery(function() { bucketCarouselBlogChannelMoreBlogs.init(); }); })(jQuery); var napco_user_logged_in = false; function napco_set_login_status() { var data = { action: 'is_user_logged_in' }; jQuery.post(napco_data.ajaxurl, data, function(response) { if (response == 'yes') { napco_user_logged_in = true; napco_adminbar_padding('32px'); } }); } function napco_admin_post_info(post_id) { return; var data = { action: 'admin_post_info_bar', post_id: post_id }; jQuery.get(napco_data.ajaxurl, data, function(response) { jQuery('#post-info-holder').html(response); }); } function napco_adminbar_padding(padding) { if ( napco_user_logged_in && jQuery('#wpadminbar').length ) { //always reset the move again if staged jQuery('html.no-touch header .bot-layer').css('top', 0); jQuery('html.no-touch header .bot-layer.staged').css('top', padding); } } function napco_post_stat(args) { return; args.action = 'napco_post_stat'; jQuery.ajax( { type: 'POST', url: '/wp-admin/admin-ajax.php', cache: false, async: true, data: args, success: function(data){ //console.log(data); } } ); } function napco_window_targets() { jQuery("a[href^=http]").each(function() { var parts = location.hostname.split('.'); var subdomain = parts.shift(); var upperleveldomain = parts.join('.'); //var sndleveldomain = parts.slice(-2).join('.'); //domains list var exclude_domains = [ location.hostname, 'jobs.'+ upperleveldomain ]; skip_this_one = false; for(i=0; i<exclude_domains.length; i++) { if(this.href.indexOf(exclude_domains[i]) > -1) { skip_this_one = true; continue; } } if ( ! skip_this_one ) { jQuery(this).attr({ target: "_blank", title: "Opens in a new window" }); } }); } jQuery(document).ready(function($) { $('.search-bar.desktop .mag').click(function (event) { if ($('.search-bar.desktop input[type=text]').val() === '') { if ($('.search-bar.desktop .search-outer').is(':hidden')) { $('.search-bar.desktop .search-outer').fadeIn(); $('.search-bar.desktop input[type=text]').focus(); } else { $('.search-bar.desktop .search-outer').fadeOut(); } } else { $('.search-bar.desktop form').submit(); } }); }); jQuery(document).ready(function ($) { $( "nav.touch-view.wp-menu ul.menu > li:first-child > a" ).after( "<span id='fmenuclose'></span>" ); $('#fmenuclose').click(function () { event.preventDefault(); $('.pusher').removeClass('active'); $('.trigger-main-nav').removeClass('active'); $('.touch-view').removeClass('open'); self.menuClose; }); $("#load-more.button").click(function (page) { $(this).hide(); //hide show more button on click $('.animation_image').show(); //show loading image var limit = 8; var offset = $('.main article.resource').length; var category = $('#cat-slct option:selected').val(); var type = ( $('#editorial_type').length ) ? $('#editorial_type').val() : $('#type-slct option:selected').val(); var s = $('#search_terms').text(); jQuery.ajax({ type: 'GET', url: '/wp-admin/admin-ajax.php', cache: false, async: true, data: { action: 'load_more_resources', limit: limit, offset: offset, category: category, type: type, s: s }, success: function (data) { result = JSON.parse(data); $.each(result.posts, function (i, post) { out = ''; out += '<article class="resource listing">'; out += '<div class="thumb">'; out += '<a href="' + post.href + '"><img src="' + post.thumb.widget_thumb_src + '"></a>'; out += '</div>'; out += '<div class="info with-thumb">'; if (typeof post.first_category.name !== 'undefined') { out += '<p><a href="/resources/category/' + post.first_category.name + '" class="post-blog-cat-label">' + post.first_category.name + '</a></p>'; } post_title = (post.truncated_title) ? post.truncated_title : post.post_title; out += '<h3 class="h6a"><a title="' + post.post_title + '" href="' + post.href + '">' + post_title + '</a></h3>'; out += '</div>'; out += '</article>'; out += '<div class="hr"></div>'; $('.main.resource-archive').append(out);//code }); if (result.more_pages) { $("#load-more.button").show(); //hide show more button on click } $('.animation_image').hide(); //show loading image } } ); }); //track outbound links $("a").on("click", function(e) { // abandon if link already aborted or analytics is not available if (e.isDefaultPrevented() || typeof _gaq !== "object") return; // abandon if no active link or link within domain var link = $(this); if (link.length != 1 || window.location.host == link[0].host || ! $(this).attr('href') || $(this).attr('href').indexOf('javascript:') > -1 ) return; e.preventDefault(); // cancel event and record outbound link var fakeLink = document.createElement('a'); fakeLink.href = $(this).attr('href'); if ($('#post_type').length) { pageType = $('#post_type').val(); } else { pageType = getMetaTagContentByProperty('pageType'); } console.log('Tracking Outbound Link: '+ pageType +' : '+ fakeLink.hostname); _gaq.push(['_trackEvent', pageType, 'External URL Clicked', fakeLink.hostname]); //redirect after time to make sure it hits to GA setTimeout(function() { window.open( fakeLink.href ); }, 200); }); }); function disqus_config() { this.callbacks.onNewComment = [function(comment) { args = { action: 'disqus_comment_inserted', comment_id: comment.id, post_id: getMetaTagContentByProperty('pageId'), } jQuery.ajax( { type: 'GET', url: napco_data.ajaxurl, cache: false, async: true, data: args, success: function(result) { console.log(result); } } ) }]; } function gatedCookieCheck(cookie_val) { return; i = 0; var x = setInterval(function () { if (jQuery.cookie('x') == cookie_val) { url = window.location.href +'/thank-you/'; window.location.replace(url); } i++; console.log(i); if (i > 100) clearInterval(x); }, 200); }jQuery(document).ready(function($){ $(document).on('click', '#post-info #post-info-header', function(e){ if( e.target !== this ) return; $('#post-info #post-info-properties, #post-info #post-info-nav').toggle(); }) $(document).on('click', '#post-info-nav li', function(){ action = $(this).data('properties'); if ( ! action ) return; $('#post-info-nav li').removeClass('current'); $(this).addClass('current'); if ( 'all' == action) { $('#post-info-properties li').show(); } if ( 'core' == action) { $('#post-info-properties li').hide(); $('#post-info-properties li.core-property').show(); } if ( 'populated' == action) { $('#post-info-properties li.blank-property').hide(); } }); }); jQuery(document).ready(function($) { var i = 20; var t = $('#prestitial-counter').text(); var closePrestitial = function() { $('#prestitial-mask, #prestitial-modal').addClass('invisible'); }; var openPrestitial = function() { $('#prestitial-mask, #prestitial-modal').removeClass('invisible'); }; var startPrestitialTimer = function() { var tid = setInterval(function() { $('#prestitial-counter').html(--t); if (!t) { clearInterval(tid); closePrestitial(); } }, 1000); } //run the interval var iid = setInterval(function() { //'google_ads_iframe' matches when DFP async tags are running. //element must be looked for within the interval function since the code is //being loaded dynamically and is not always available on document.ready. $prestitial_ad_element = $('#prestitial-modal div[id^="google_ads_iframe_"] iframe').contents().find('#NAPCOprestitial'); if (!$prestitial_ad_element.length) { $prestitial_ad_element = $('#prestitial-modal div[id^="gpt_unit_"]'); } if (!$prestitial_ad_element.length) { $prestitial_ad_element = $('#prestitial-modal div[id^="google_ads_iframe_"] iframe').contents().find('body *'); //$prestitial_ad_element = $('#prestitial-modal div[id^="google_ads_iframe_"] iframe'); } if (!$prestitial_ad_element.length) { $prestitial_ad_element = $('#NAPCOprestitial'); } if (!--i || $prestitial_ad_element.length) { clearInterval(iid); if ($prestitial_ad_element.length) { openPrestitial(); startPrestitialTimer(); } } }, 250); //close modal controls $('#prestitial-close').on('click', closePrestitial); $(document).keyup(function(e) { if (e.keyCode == 27) { closePrestitial(); } }); });jQuery(document).ready(function($) { var i = 20; var t = $('#prescroller-counter').text(); var closePrescroller = function() { $('#prescroller-mask, #prescroller-modal').fadeOut('fast').addClass('invisible'); }; var openPrescroller = function() { $('#prestitial-modal, #prestitial-mask').detach(); $('#prescroller-mask, #prescroller-modal, .prescroller-modal-banner').removeClass('invisible'); setPrescrollerHeight(); $(window).on('resize', function(){ setPrescrollerHeight(); }); $(window).on('scroll', function(){ $el = $('#prescroller-mask'); if ($el.length) { //where does the element end? var el_bottom = $el.position().top + $el.outerHeight(true);// passing "true" will also include the top and bottom margin //where is the scrolling? var scrollTop = $(window).scrollTop(); // makes the div disappear slightly before the scrolling finishes. gives a better feel. var accelerator = 1.3; //calc the new opacity var percent = 1 - (parseFloat(scrollTop/el_bottom).toFixed(2)*accelerator); //set the opacity $('#prescroller-mask').css('opacity', percent); //if scrolling is past the ad then remove it if(scrollTop >= el_bottom) { $('#prescroller-mask').detach(); } } }); }; var startPrescrollerTimer = function() { var tid = setInterval(function() { $('#prescroller-counter').html(--t); if (!t) { clearInterval(tid); closePrescroller(); } }, 1000); } var setPrescrollerHeight = function() { $('#prescroller-mask').height(window.innerHeight); } //run the interval var iid = setInterval(function() { //'google_ads_iframe' matches when DFP async tags are running. //element must be looked for within the interval function since the code is //being loaded dynamically and is not always available on document.ready. $prescroller_ad_element = $('#prescroller-modal div[id^="google_ads_iframe_"] iframe').contents().find('#NAPCOprescroller'); if (!$prescroller_ad_element.length) { $prescroller_ad_element = $('#prescroller-modal div[id^="gpt_unit_"]'); } if (!$prescroller_ad_element.length) { $prescroller_ad_element = $('#prescroller-modal div[id^="google_ads_iframe_"] iframe').contents().find('body *'); //$prescroller_ad_element = $('#prescroller-modal div[id^="google_ads_iframe_"] iframe'); } if (!$prescroller_ad_element.length) { $prescroller_ad_element = $('#NAPCOprescroller'); } if (!--i || $prescroller_ad_element.length) { clearInterval(iid); if ($prescroller_ad_element.length) { openPrescroller(); startPrescrollerTimer(); } } }, 250); //close modal controls /*$('#prescroller-close').on('click', closePrescroller); $(document).keyup(function(e) { if (e.keyCode == 27) { closePrescroller(); } });*/ });jQuery(document).ready(function($) { function find_max_dimensions(parent, children) { var widest = 0; var tallest = 0; var width = 0; var height = 0; var widest_ad_element = false; var tallest_ad_element = false; $.each(children, function(i, v) { // find the widest and tallest element parent.find(v).each(function() { width = $(this).width(); height = $(this).height(); if (width > widest) { widest = width; widest_ad_element = $(this); } if (height > tallest) { tallest = height; tallest_ad_element = $(this); } }); }); data = { width: parseInt(widest) + 'px', height: parseInt(tallest) + 'px', widest_ad_element: widest_ad_element, tallest_ad_element: tallest_ad_element } return data; }//find_max_dimensions() /** * Run the animation to move the overlay from offscreen to center. */ window.overlay_animate = function($el, data) { var data = data || {}; var defaults = { delay: 2500, speed: 500 } var data = $.extend(defaults, data); //element vars var el_width = $el.width(); //hold this for later var el_top = $el[0].getBoundingClientRect().top; var el_height = $el.outerHeight(); var el_bottom = el_top + el_height; //window height var win_height = $(window).height(); //calculate how much to move var pushdown = ((win_height - el_height) / 2) + el_bottom; //set to zero in order to animate it $el.width(0); //push it down $el.css('margin-top', pushdown + 'px'); //bring it back up and expand it $el.delay(data.delay).animate({ marginTop: +el_top, width: el_width }, data.speed, 'swing'); //keep it centered on resize $(window).on('resize', function() { $el.css('margin-top', 'auto'); }); };//$.fn.overlay_animate //'google_ads_iframe' matches when DFP async tags are running. var $overlay_ad_element = ($('#overlay-modal div[id^="google_ads_iframe_"] iframe').length) ? $('#overlay-modal div[id^="google_ads_iframe_"] iframe').contents().find('.napco-overlay') : $('#overlay-modal .napco-overlay'); var i = 20; var t = $('#overlay-counter').text(); var closeOverlay = function() { $('#overlay-mask, #overlay-modal').addClass('invisible'); }; var openOverlay = function() { $('#overlay-mask, #overlay-modal').removeClass('invisible'); //get the size information dimension_data = find_max_dimensions($overlay_ad_element, ['img', 'object', 'iframe', 'div']); //set the modal size $('#overlay-modal, #overlay-modal iframe').css({ width: dimension_data.width, height: dimension_data.height }); //change the modal bg color? custom_bgcolor = $overlay_ad_element.attr('data-bgcolor'); if (custom_bgcolor != '') { $('#overlay-mask').css('background', custom_bgcolor); } //animate the opening overlay_animate(jQuery("#overlay-modal"), { delay: 10, speed: 1000 }); }; //run the interval var iid = setInterval(function() { if (!--i || $overlay_ad_element.length) { clearInterval(iid); if ($overlay_ad_element.length) { setTimeout(function(){ openOverlay(); }, parseInt($("#overlay-modal").data('delay'))*1000); } } }, 250); //close modal controls $('#overlay-close').on('click', closeOverlay); $(document).keyup(function(e) { if (e.keyCode == 27) { closeOverlay(); } }); });/** * JQuery Plugins - Napco Sticky - Renders a div as a sticky bar * @param string externalcontent - url for external content * @param int scrollPixels - no.of pixels to scroll before displaying sticky bar e.g. after 1000 pixels or * set to 0 pixels to display immediately */ jQuery.fn.napcoSticky = function(distanceTop, externalcontent) { var stickybar = jQuery(this); var stickyid = stickybar.attr('id'); externalcontent = typeof (externalcontent) != 'undefined' ? externalcontent : ''; /** * Configure Expandable sticky bar settings * id of stickybar div * top or bottom * 'mouseover' or 'manual' * minumum number of pixels to reveal when sticky bar is collapsed * path to sticky bar content file on your server, or "" if content is defined inline on the page * speed:200 duration of animation (in millisecs) */ var expstickybarobj = new expstickybar({ id: stickyid, position: 'bottom', revealtype: 'manual', peekamount: 0, //externalcontent: externalcontent, speed: 200 }); jQuery(document).ready(function($) { //on document.ready //expstickybarobj.init($); jQuery(window).scroll(function($) { //how far from the top the scroll bar appears/disappears distanceTop = (typeof (distanceTop) != 'undefined' && distanceTop) ? distanceTop : 0; //set up the animation actions var barAnimations = { open: function($) { //set up variables $stickybar = jQuery('#stickybar'); bgcolor = jQuery('#stickybar #NAPCOstickyfooter').data('bgcolor'); fgcolor = jQuery('#stickybar #NAPCOstickyfooter').data('fgcolor'); //run the method to display the sticky and fade it in expstickybarobj.showhide('show', 'fadein'); //raise the bottom so nothing is cut off jQuery('body').css('margin-bottom', $stickybar.height() + 'px'); //set the bg color of the sticky if (bgcolor) { $stickybar.css('background-color', bgcolor); } //set the fg color of the sticky if (fgcolor) { $stickybar.css('color', fgcolor); $stickybar.find('a').css('color', fgcolor); } }, close: function($) { //close the sticky expstickybarobj.showhide('hide', 'fadeout'); //returnthe body margin to normal jQuery('body').css('margin-bottom', 0); } } //run the "testing" on each scroll event if (typeof expstickybarobj !== "undefined") { if (jQuery(window).scrollTop() > distanceTop && (jQuery('#stickybar #NAPCOstickyfooter').length)) { barAnimations.open($); } else { barAnimations.close($); } } }); }); } /*Expandable Sticky Bar (Initial: Nov 1st, 2010) * This notice must stay intact for usage * Author: Dynamic Drive at http://www.dynamicdrive.com/ * Visit http://www.dynamicdrive.com/ for full source code */ jQuery.noConflict() function expstickybar(usersetting) { var setting = jQuery.extend({position: 'bottom', peekamount: 30, revealtype: 'mouseover', speed: 200}, usersetting) var thisbar = this var cssfixedsupport = !document.all || document.all && document.compatMode == "CSS1Compat" && window.XMLHttpRequest //check for CSS fixed support if (!cssfixedsupport || window.opera) return jQuery(function($) { //on document.ready if (setting.externalcontent) { thisbar.$ajaxstickydiv = $('<div id="ajaxstickydiv_' + setting.id + '"></div>').appendTo(document.body) //create blank div to house sticky bar DIV thisbar.loadcontent($, setting) } else thisbar.init($, setting) }) } expstickybar.prototype = { loadcontent: function($, setting) { var thisbar = this var ajaxfriendlyurl = setting.externalcontent.replace(/^http:\/\/[^\/]+\//i, "http://" + window.location.hostname + "/") $.ajax({ url: ajaxfriendlyurl, //path to external content async: true, error: function(ajaxrequest) { alert('Error fetching Ajax content.<br />Server Response: ' + ajaxrequest.responseText) }, success: function(content) { thisbar.$ajaxstickydiv.html(content) thisbar.init($, setting) } }) }, showhide: function(keyword, anim) { var thisbar = this, $ = jQuery var finalpx = (keyword == "show") ? 0 : -(this.height - this.setting.peekamount) var positioncss = (this.setting.position == "bottom") ? {bottom: finalpx} : {top: finalpx} this.$stickybar.stop().animate(positioncss, (anim) ? this.setting.speed : 0, function() { thisbar.$indicators.each(function() { var $indicator = $(this) $indicator.attr('src', (thisbar.currentstate == "show") ? $indicator.attr('data-closeimage') : $indicator.attr('data-openimage')) }) }) thisbar.currentstate = keyword }, toggle: function() { var state = (this.currentstate == "show") ? "hide" : "show" this.showhide(state, true) }, init: function($, setting) { var thisbar = this this.$stickybar = $('#' + setting.id).css('visibility', 'visible') this.height = this.$stickybar.outerHeight() this.currentstate = "hide" setting.peekamount = Math.min(this.height, setting.peekamount) this.setting = setting if (setting.revealtype == "mouseover") this.$stickybar.bind("mouseenter mouseleave", function(e) { thisbar.showhide((e.type == "mouseenter") ? "show" : "hide", true) }) this.$indicators = this.$stickybar.find('img[data-openimage]') //find images within bar with data-openimage attribute this.$stickybar.find('a[href="#togglebar"]').click(function() { //find links within bar with href=#togglebar and assign toggle behavior to them thisbar.toggle() return false }) this.$stickybar.find('.close').click(function() { //find links within bar with href=#togglebar and assign toggle behavior to them thisbar.$stickybar.hide(); }) setTimeout(function() { thisbar.height = thisbar.$stickybar.outerHeight() //refetch height of bar after 1 second (last change to properly get height of sticky bar) }, 1000) this.showhide("hide") } }///// SIDEBAR PAGINATION IS HERE ////////////////////////////////////////////// jQuery(document).ready(function ($) { p_count = ($('.post_sidebar .aside_content p').length > 0) ? $('.post_sidebar .aside_content p').length : 0; ul_count = ($('.post_sidebar .aside_content ul').length > 0) ? $('.post_sidebar .aside_content ul').length : 0; ol_count = ($('.post_sidebar .aside_content ol').length > 0) ? $('.post_sidebar .aside_content ol').length : 0; var total_paragraphs = p_count + ul_count + ol_count; //Because we are not breaking up uls and ols automatically do a math floor calculation if the content has either var per_page = (total_paragraphs <= 4 && ul_count == 0 && ol_count == 0) ? 4 : Math.floor(total_paragraphs / 3); var total_pages = 0; var pages = $('<div class="aside_page_nav"></div>'); function manual_placement() { var manual = false; $('.post_sidebar .aside_content').contents().map(function () { var e = $(this); var test = $(this).html(); var pattern = new RegExp('<!--nextpage-->'); if (is_valid_element(e) && pattern.test(test)) { manual = true; } }); return manual; } var manual_placement = manual_placement(); /** * Elements we are conditionally showing and hiding for the pagination effect to work * These elements are the only elements allowed to be broken into pages */ function is_valid_element(e) { return (e.is('p,ol,ul,blockquote,strong,h1,h2,h3,h4,h5,h6,del')) ? true : false; } if (manual_placement) { // Sometimes the nextpage tags get stuck inside paragraphs containing text and other stuff. This messes things up. //This loop cleans up the comment tags by placing them outside of the offending $('.post_sidebar:not(.full) .aside_content').contents().map(function () { var str = $(this).html(); var pattern = /(.*?)(<!--nextpage-->)(.*?)/; var match = pattern.exec(str); if (match !== null) { $(this).html(str.replace(/(.*?)(<!--nextpage-->)(.*?)/, "$1$3")); $(this).after("<p><!--nextpage--></p>") } }); total_pages++; var is_current_page = true; $('.post_sidebar:not(.full) .aside_content').contents().map(function () { var e = $(this); if (e.html() === "<!--nextpage-->") { is_current_page = false; total_pages++; } //Will always set the first page as active since manual_placement is true only after the first page marker is found if (is_valid_element(e) && is_current_page) { e.addClass('active_sidebar_page'); } else { e.addClass('hidden'); } }); } else { $('.post_sidebar:not(.full) .aside_content').contents().map(function () { var e = $(this); var index = e.index(); if (is_valid_element(e)) { //Logic to automatically paginate //On initial load hide ell elements after first page contents if (index > (per_page - 1)) { e.addClass('hidden'); } //increment the number of pages when there enough elements to satisfy it if (index % per_page === 0) { total_pages++; } } }); } //Time to draw the pagination links if (total_pages > 1) { var i = 0; while (i < total_pages) { var page = i + 1; if (i === 0) { pages.append('<a class="current_link" href="#">' + page + '</a>'); } else { pages.append('<a href="#">' + page + '</a>'); } i++; } } $('.post_sidebar:not(.full) .aside_content').append(pages); //WHEN USER CLICKS ON THE PAGE DO THE PAGINATION LOGIC ////////////////////////////////////////////////////// $(document.body).on('click', '.aside_page_nav a', function (e) { e.preventDefault(); var manual_placement = false; var index = $(this).index(); var page = $(this).index() + 1; var offset = (page - 1) * per_page + 1; $('.post_sidebar .aside_content').contents().map(function () { var e = $(this); if (is_valid_element(e) && $(this).html() === "<!--nextpage-->") { manual_placement = true; } }); //We need to handle the pagination differently if being placed manually if (manual_placement) { current_page_increment = 1; $('.post_sidebar:not(.full) .aside_content').contents().map(function () { var el = $(this); if (is_valid_element(el)) { if (el.html() === "<!--nextpage-->") { current_page_increment++; } if (page === current_page_increment) { el.removeClass('hidden'); el.addClass('active_sidebar_page'); } else { el.addClass('hidden'); el.removeClass('active_sidebar_page'); } if (el.index() === current_page_increment) { el.addClass('active_sidebar_page'); } } }); } else { var offset = (page - 1) * per_page + 1; $('.post_sidebar:not(.full) .aside_content').contents().map(function () { var el = $(this); if (is_valid_element(el)) { if (el.index() >= (offset - 1) && el.index() <= (offset + (per_page - 2))) { el.removeClass('hidden'); } else { el.addClass('hidden'); } } }); } //Some finishing toughes to the UI var top_offset = $('aside.post_sidebar').offset().top; $('html, body').animate({scrollTop: top_offset - 100}, 'slow'); $('.aside_page_nav a').each(function () { if ($(this).index() === index) { $(this).addClass('current_link'); } else if ($(this).hasClass('current_link')) { $(this).removeClass('current_link'); } }); }); //END SIDEBAR PAGINATION LOGIC ////////////////////////////// }); /*! * jQuery Cookie Plugin v1.4.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2006, 2014 Klaus Hartl * Released under the MIT license */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD define(['jquery'], factory); } else if (typeof exports === 'object') { // CommonJS factory(require('jquery')); } else { // Browser globals factory(jQuery); } }(function ($) { var pluses = /\+/g; function encode(s) { return config.raw ? s : encodeURIComponent(s); } function decode(s) { return config.raw ? s : decodeURIComponent(s); } function stringifyCookieValue(value) { return encode(config.json ? JSON.stringify(value) : String(value)); } function parseCookieValue(s) { if (s.indexOf('"') === 0) { // This is a quoted cookie as according to RFC2068, unescape... s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); } try { // Replace server-side written pluses with spaces. // If we can't decode the cookie, ignore it, it's unusable. // If we can't parse the cookie, ignore it, it's unusable. s = decodeURIComponent(s.replace(pluses, ' ')); return config.json ? JSON.parse(s) : s; } catch(e) {} } function read(s, converter) { var value = config.raw ? s : parseCookieValue(s); return $.isFunction(converter) ? converter(value) : value; } var config = $.cookie = function (key, value, options) { // Write if (arguments.length > 1 && !$.isFunction(value)) { options = $.extend({}, config.defaults, options); if (typeof options.expires === 'number') { var days = options.expires, t = options.expires = new Date(); t.setTime(+t + days * 864e+5); } return (document.cookie = [ encode(key), '=', stringifyCookieValue(value), options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE options.path ? '; path=' + options.path : '', options.domain ? '; domain=' + options.domain : '', options.secure ? '; secure' : '' ].join('')); } // Read var result = key ? undefined : {}; // To prevent the for loop in the first place assign an empty array // in case there are no cookies at all. Also prevents odd result when // calling $.cookie(). var cookies = document.cookie ? document.cookie.split('; ') : []; for (var i = 0, l = cookies.length; i < l; i++) { var parts = cookies[i].split('='); var name = decode(parts.shift()); var cookie = parts.join('='); if (key && key === name) { // If second argument (value) is a function it's a converter... result = read(cookie, value); break; } // Prevent storing a cookie that we couldn't decode. if (!key && (cookie = read(cookie)) !== undefined) { result[name] = cookie; } } return result; }; config.defaults = {}; $.removeCookie = function (key, options) { if ($.cookie(key) === undefined) { return false; } // Must not alter options, thus extending a fresh object... $.cookie(key, '', $.extend({}, options, { expires: -1 })); return !$.cookie(key); }; }));/* Chosen v1.2.0 | (c) 2011-2014 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */ !function(){var a,AbstractChosen,Chosen,SelectParser,b,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};SelectParser=function(){function SelectParser(){this.options_index=0,this.parsed=[]}return SelectParser.prototype.add_node=function(a){return"OPTGROUP"===a.nodeName.toUpperCase()?this.add_group(a):this.add_option(a)},SelectParser.prototype.add_group=function(a){var b,c,d,e,f,g;for(b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:this.escapeExpression(a.label),children:0,disabled:a.disabled}),f=a.childNodes,g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},SelectParser.prototype.add_option=function(a,b,c){return"OPTION"===a.nodeName.toUpperCase()?(""!==a.text?(null!=b&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},SelectParser.prototype.escapeExpression=function(a){var b,c;return null==a||a===!1?"":/[\&\<\>\"\'\`]/.test(a)?(b={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},c=/&(?!\w+;)|[\<\>\"\'\`]/g,a.replace(c,function(a){return b[a]||"&amp;"})):a},SelectParser}(),SelectParser.select_to_array=function(a){var b,c,d,e,f;for(c=new SelectParser,f=a.childNodes,d=0,e=f.length;e>d;d++)b=f[d],c.add_node(b);return c.parsed},AbstractChosen=function(){function AbstractChosen(a,b){this.form_field=a,this.options=null!=b?b:{},AbstractChosen.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers())}return AbstractChosen.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0},AbstractChosen.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||AbstractChosen.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||AbstractChosen.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||AbstractChosen.default_no_result_text},AbstractChosen.prototype.mouse_enter=function(){return this.mouse_on_container=!0},AbstractChosen.prototype.mouse_leave=function(){return this.mouse_on_container=!1},AbstractChosen.prototype.input_focus=function(){var a=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return a.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},AbstractChosen.prototype.input_blur=function(){var a=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return a.blur_test()},100))},AbstractChosen.prototype.results_option_build=function(a){var b,c,d,e,f;for(b="",f=this.results_data,d=0,e=f.length;e>d;d++)c=f[d],b+=c.group?this.result_add_group(c):this.result_add_option(c),(null!=a?a.first:void 0)&&(c.selected&&this.is_multiple?this.choice_build(c):c.selected&&!this.is_multiple&&this.single_set_selected_text(c.text));return b},AbstractChosen.prototype.result_add_option=function(a){var b,c;return a.search_match?this.include_option_in_results(a)?(b=[],a.disabled||a.selected&&this.is_multiple||b.push("active-result"),!a.disabled||a.selected&&this.is_multiple||b.push("disabled-result"),a.selected&&b.push("result-selected"),null!=a.group_array_index&&b.push("group-option"),""!==a.classes&&b.push(a.classes),c=document.createElement("li"),c.className=b.join(" "),c.style.cssText=a.style,c.setAttribute("data-option-array-index",a.array_index),c.innerHTML=a.search_text,this.outerHTML(c)):"":""},AbstractChosen.prototype.result_add_group=function(a){var b;return a.search_match||a.group_match?a.active_options>0?(b=document.createElement("li"),b.className="group-result",b.innerHTML=a.search_text,this.outerHTML(b)):"":""},AbstractChosen.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},AbstractChosen.prototype.reset_single_select_options=function(){var a,b,c,d,e;for(d=this.results_data,e=[],b=0,c=d.length;c>b;b++)a=d[b],a.selected?e.push(a.selected=!1):e.push(void 0);return e},AbstractChosen.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},AbstractChosen.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},AbstractChosen.prototype.winnow_results=function(){var a,b,c,d,e,f,g,h,i,j,k,l;for(this.no_results_clear(),d=0,f=this.get_search_text(),a=f.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),i=new RegExp(a,"i"),c=this.get_search_regex(a),l=this.results_data,j=0,k=l.length;k>j;j++)b=l[j],b.search_match=!1,e=null,this.include_option_in_results(b)&&(b.group&&(b.group_match=!1,b.active_options=0),null!=b.group_array_index&&this.results_data[b.group_array_index]&&(e=this.results_data[b.group_array_index],0===e.active_options&&e.search_match&&(d+=1),e.active_options+=1),(!b.group||this.group_search)&&(b.search_text=b.group?b.label:b.text,b.search_match=this.search_string_match(b.search_text,c),b.search_match&&!b.group&&(d+=1),b.search_match?(f.length&&(g=b.search_text.search(i),h=b.search_text.substr(0,g+f.length)+"</em>"+b.search_text.substr(g+f.length),b.search_text=h.substr(0,g)+"<em>"+h.substr(g)),null!=e&&(e.group_match=!0)):null!=b.group_array_index&&this.results_data[b.group_array_index].search_match&&(b.search_match=!0)));return this.result_clear_highlight(),1>d&&f.length?(this.update_results_content(""),this.no_results(f)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},AbstractChosen.prototype.get_search_regex=function(a){var b;return b=this.search_contains?"":"^",new RegExp(b+a,"i")},AbstractChosen.prototype.search_string_match=function(a,b){var c,d,e,f;if(b.test(a))return!0;if(this.enable_split_word_search&&(a.indexOf(" ")>=0||0===a.indexOf("["))&&(d=a.replace(/\[|\]/g,"").split(" "),d.length))for(e=0,f=d.length;f>e;e++)if(c=d[e],b.test(c))return!0},AbstractChosen.prototype.choices_count=function(){var a,b,c,d;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,d=this.form_field.options,b=0,c=d.length;c>b;b++)a=d[b],a.selected&&(this.selected_option_count+=1);return this.selected_option_count},AbstractChosen.prototype.choices_click=function(a){return a.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},AbstractChosen.prototype.keyup_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(a.preventDefault(),this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},AbstractChosen.prototype.clipboard_event_checker=function(){var a=this;return setTimeout(function(){return a.results_search()},50)},AbstractChosen.prototype.container_width=function(){return null!=this.options.width?this.options.width:""+this.form_field.offsetWidth+"px"},AbstractChosen.prototype.include_option_in_results=function(a){return this.is_multiple&&!this.display_selected_options&&a.selected?!1:!this.display_disabled_options&&a.disabled?!1:a.empty?!1:!0},AbstractChosen.prototype.search_results_touchstart=function(a){return this.touch_started=!0,this.search_results_mouseover(a)},AbstractChosen.prototype.search_results_touchmove=function(a){return this.touch_started=!1,this.search_results_mouseout(a)},AbstractChosen.prototype.search_results_touchend=function(a){return this.touch_started?this.search_results_mouseup(a):void 0},AbstractChosen.prototype.outerHTML=function(a){var b;return a.outerHTML?a.outerHTML:(b=document.createElement("div"),b.appendChild(a),b.innerHTML)},AbstractChosen.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:/iP(od|hone)/i.test(window.navigator.userAgent)?!1:/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent)?!1:!0},AbstractChosen.default_multiple_text="Select Some Options",AbstractChosen.default_single_text="Select an Option",AbstractChosen.default_no_result_text="No results match",AbstractChosen}(),a=jQuery,a.fn.extend({chosen:function(b){return AbstractChosen.browser_is_supported()?this.each(function(){var c,d;c=a(this),d=c.data("chosen"),"destroy"===b&&d instanceof Chosen?d.destroy():d instanceof Chosen||c.data("chosen",new Chosen(this,b))}):this}}),Chosen=function(c){function Chosen(){return b=Chosen.__super__.constructor.apply(this,arguments)}return d(Chosen,c),Chosen.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},Chosen.prototype.set_up_html=function(){var b,c;return b=["chosen-container"],b.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&b.push(this.form_field.className),this.is_rtl&&b.push("chosen-rtl"),c={"class":b.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(c.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("<div />",c),this.is_multiple?this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>'):this.container.html('<a class="chosen-single chosen-default" tabindex="-1"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("chosen:ready",{chosen:this})},Chosen.prototype.register_observers=function(){var a=this;return this.container.bind("touchstart.chosen",function(b){a.container_mousedown(b)}),this.container.bind("touchend.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mousedown.chosen",function(b){a.container_mousedown(b)}),this.container.bind("mouseup.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mouseenter.chosen",function(b){a.mouse_enter(b)}),this.container.bind("mouseleave.chosen",function(b){a.mouse_leave(b)}),this.search_results.bind("mouseup.chosen",function(b){a.search_results_mouseup(b)}),this.search_results.bind("mouseover.chosen",function(b){a.search_results_mouseover(b)}),this.search_results.bind("mouseout.chosen",function(b){a.search_results_mouseout(b)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(b){a.search_results_mousewheel(b)}),this.search_results.bind("touchstart.chosen",function(b){a.search_results_touchstart(b)}),this.search_results.bind("touchmove.chosen",function(b){a.search_results_touchmove(b)}),this.search_results.bind("touchend.chosen",function(b){a.search_results_touchend(b)}),this.form_field_jq.bind("chosen:updated.chosen",function(b){a.results_update_field(b)}),this.form_field_jq.bind("chosen:activate.chosen",function(b){a.activate_field(b)}),this.form_field_jq.bind("chosen:open.chosen",function(b){a.container_mousedown(b)}),this.form_field_jq.bind("chosen:close.chosen",function(b){a.input_blur(b)}),this.search_field.bind("blur.chosen",function(b){a.input_blur(b)}),this.search_field.bind("keyup.chosen",function(b){a.keyup_checker(b)}),this.search_field.bind("keydown.chosen",function(b){a.keydown_checker(b)}),this.search_field.bind("focus.chosen",function(b){a.input_focus(b)}),this.search_field.bind("cut.chosen",function(b){a.clipboard_event_checker(b)}),this.search_field.bind("paste.chosen",function(b){a.clipboard_event_checker(b)}),this.is_multiple?this.search_choices.bind("click.chosen",function(b){a.choices_click(b)}):this.container.bind("click.chosen",function(a){a.preventDefault()})},Chosen.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},Chosen.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},Chosen.prototype.container_mousedown=function(b){return this.is_disabled||(b&&"mousedown"===b.type&&!this.results_showing&&b.preventDefault(),null!=b&&a(b.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents("a.chosen-single").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},Chosen.prototype.container_mouseup=function(a){return"ABBR"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},Chosen.prototype.search_results_mousewheel=function(a){var b;return a.originalEvent&&(b=a.originalEvent.deltaY||-a.originalEvent.wheelDelta||a.originalEvent.detail),null!=b?(a.preventDefault(),"DOMMouseScroll"===a.type&&(b=40*b),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},Chosen.prototype.blur_test=function(){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},Chosen.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},Chosen.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},Chosen.prototype.test_active_click=function(b){var c;return c=a(b.target).closest(".chosen-container"),c.length&&this.container[0]===c[0]?this.active_field=!0:this.close_field()},Chosen.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=SelectParser.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},Chosen.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){if(this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight(),b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(f>c)return this.search_results.scrollTop(c)}},Chosen.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},Chosen.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},Chosen.prototype.update_results_content=function(a){return this.search_results.html(a)},Chosen.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},Chosen.prototype.set_tab_index=function(){var a;return this.form_field.tabIndex?(a=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=a):void 0},Chosen.prototype.set_label_behavior=function(){var b=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0?this.form_field_label.bind("click.chosen",function(a){return b.is_multiple?b.container_mousedown(a):b.activate_field()}):void 0},Chosen.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},Chosen.prototype.search_results_mouseup=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c.length?(this.result_highlight=c,this.result_select(b),this.search_field.focus()):void 0},Chosen.prototype.search_results_mouseover=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c?this.result_do_highlight(c):void 0},Chosen.prototype.search_results_mouseout=function(b){return a(b.target).hasClass("active-result")?this.result_clear_highlight():void 0},Chosen.prototype.choice_build=function(b){var c,d,e=this;return c=a("<li />",{"class":"search-choice"}).html("<span>"+b.html+"</span>"),b.disabled?c.addClass("search-choice-disabled"):(d=a("<a />",{"class":"search-choice-close","data-option-array-index":b.array_index}),d.bind("click.chosen",function(a){return e.choice_destroy_link_click(a)}),c.append(d)),this.search_container.before(c)},Chosen.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},Chosen.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),a.parents("li").first().remove(),this.search_field_scale()):void 0},Chosen.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},Chosen.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},Chosen.prototype.result_select=function(a){var b,c;return this.result_highlight?(b=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?b.removeClass("active-result"):this.reset_single_select_options(),c=this.results_data[b[0].getAttribute("data-option-array-index")],c.selected=!0,this.form_field.options[c.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(c):this.single_set_selected_text(c.text),(a.metaKey||a.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[c.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale())):void 0},Chosen.prototype.single_set_selected_text=function(a){return null==a&&(a=this.default_text),a===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").text(a)},Chosen.prototype.result_deselect=function(a){var b;return b=this.results_data[a],this.form_field.options[b.options_index].disabled?!1:(b.selected=!1,this.form_field.options[b.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[b.options_index].value}),this.search_field_scale(),!0)},Chosen.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")):void 0},Chosen.prototype.get_search_text=function(){return this.search_field.val()===this.default_text?"":a("<div/>").text(a.trim(this.search_field.val())).html()},Chosen.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first(),null!=a?this.result_do_highlight(a):void 0},Chosen.prototype.no_results=function(b){var c;return c=a('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>'),c.find("span").first().html(b),this.search_results.append(c),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},Chosen.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},Chosen.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(a):void 0:this.results_show()},Chosen.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},Chosen.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(a=this.search_container.siblings("li.search-choice").last(),a.length&&!a.hasClass("search-choice-disabled")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},Chosen.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},Chosen.prototype.keydown_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:this.results_showing&&a.preventDefault();break;case 32:this.disable_search&&a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},Chosen.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){for(d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],i=0,j=g.length;j>i;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return b=a("<div />",{style:f}),b.text(this.search_field.val()),a("body").append(b),h=b.width()+25,b.remove(),c=this.container.outerWidth(),h>c-10&&(h=c-10),this.search_field.css({width:h+"px"})}},Chosen}(AbstractChosen)}.call(this);function aqsGetParameterByName(name, url) { if (!url) { url = window.location.href; } name = name.replace(/[\[\]]/g, "\\$&"); var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)", "i"), results = regex.exec(url); if (!results) return null; if (!results[2]) return ''; return decodeURIComponent(results[2].replace(/\+/g, " ")); } //the name of the cookie to look for var napco_aqs_cookie_name = 'aqs'; //will store any key-values already in the cookie var aqs_cookie_vars = {}; //the value of the cookie var aqs_cookie = jQuery.cookie(napco_aqs_cookie_name); //the keys we care about var aqs_keys = [ "utm_source", "utm_medium", "utm_campaign", "utm_content", "utm_name", "utm_term", "utm_id", "src", "InvitesVIP", ]; //if the cookie has a value, decode it and parse it into an object if (aqs_cookie !== undefined) { aqs_cookie_vars = JSON.parse(atob(aqs_cookie)); } //if (!jQuery.cookie(napco_aqs_cookie_name)) { //the object to store key-values to update the cookie var dough = {}; //loop through the keys and add anything from the url into the dough jQuery.each(aqs_keys, function (k, v) { if (x = aqsGetParameterByName(v)) { dough[v] = x; } //if not in the url see if it already exists in the cookie and add if so add it to the dough else if (aqs_cookie_vars[v]) { dough[v] = aqs_cookie_vars[v]; } }); //bake the dough into a cookie jQuery.cookie(napco_aqs_cookie_name, btoa(JSON.stringify(dough)), { expires: 1, //expires in 1 day path: '/' }); //} //automatically attach to key-values to compusystems links jQuery(document).ready(function ($) { //if (jQuery.cookie(napco_aqs_cookie_name)) { $('a[href*="compusystems"]').each(function () { href = $(this).attr('href'); $.each(aqs_keys, function (k, v) { if (href.indexOf('?') == -1) url_char = '?'; else url_char = '&'; if (dough[v] !== undefined) { href = href + url_char + v + '=' + encodeURIComponent(dough[v]); } }); $(this).attr('href', href); $('#results').html(href); }); //} });</script> <!-- ///// IE COMPAT ///// --> <!--[if IE]> <meta http-equiv="X-UA-Compatible" content="IE=10"> <![endif]--> <!--[if IE 8]> <link rel="stylesheet" href="css/ie/ie8.css" type="text/css" media="screen"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <script type="text/javascript" src="js/compat/html5shiv.min.js"></script> <script type="text/javascript" src="js/compat/respond.js"></script> <script type="text/javascript" src="js/compat/jquery.columnizer.js"></script> <![endif]--> <script async="async" src="https://www.googletagservices.com/tag/js/gpt.js"></script> <script> var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; (function() { var gads = document.createElement("script"); gads.async = true; gads.type = "text/javascript"; var useSSL = "https:" == document.location.protocol; gads.src = (useSSL ? "https:" : "http:") + "//www.googletagservices.com/tag/js/gpt.js"; var node = document.getElementsByTagName("script")[0]; node.parentNode.insertBefore(gads, node); })(); googletag.cmd.push(function() { /******************** Ad Slot definitions - start ********************/ /******************** Ad Slot definitions - end **********************/ /** * Enable DFP */ googletag.enableServices(); googletag.pubads().enableSingleRequest(); }); </script> <!-- Google Optimize Code --> <!-- End Google Optimize Code --> <!-- Start VWO Async SmartCode --> <link rel="preconnect" href="https://dev.visualwebsiteoptimizer.com" /> <script type='text/javascript' id='vwoCode'> window._vwo_code || (function() { var account_id=911441, version=2.1, settings_tolerance=2000, hide_element='body', hide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important', /* DO NOT EDIT BELOW THIS LINE */ f=false,w=window,d=document,v=d.querySelector('#vwoCode'),cK='_vwo_'+account_id+'_settings',cc={};try{var c=JSON.parse(localStorage.getItem('_vwo_'+account_id+'_config'));cc=c&&typeof c==='object'?c:{}}catch(e){}var stT=cc.stT==='session'?w.sessionStorage:w.localStorage;code={use_existing_jquery:function(){return typeof use_existing_jquery!=='undefined'?use_existing_jquery:undefined},library_tolerance:function(){return typeof library_tolerance!=='undefined'?library_tolerance:undefined},settings_tolerance:function(){return cc.sT||settings_tolerance},hide_element_style:function(){return'{'+(cc.hES||hide_element_style)+'}'},hide_element:function(){if(performance.getEntriesByName('first-contentful-paint')[0]){return''}return typeof cc.hE==='string'?cc.hE:hide_element},getVersion:function(){return version},finish:function(e){if(!f){f=true;var t=d.getElementById('_vis_opt_path_hides');if(t)t.parentNode.removeChild(t);if(e)(new Image).src='https://dev.visualwebsiteoptimizer.com/ee.gif?a='+account_id+e}},finished:function(){return f},addScript:function(e){var t=d.createElement('script');t.type='text/javascript';if(e.src){t.src=e.src}else{t.text=e.text}d.getElementsByTagName('head')[0].appendChild(t)},load:function(e,t){var i=this.getSettings(),n=d.createElement('script'),r=this;t=t||{};if(i){n.textContent=i;d.getElementsByTagName('head')[0].appendChild(n);if(!w.VWO||VWO.caE){stT.removeItem(cK);r.load(e)}}else{var o=new XMLHttpRequest;o.open('GET',e,true);o.withCredentials=!t.dSC;o.responseType=t.responseType||'text';o.onload=function(){if(t.onloadCb){return t.onloadCb(o,e)}if(o.status===200){_vwo_code.addScript({text:o.responseText})}else{_vwo_code.finish('&e=loading_failure:'+e)}};o.onerror=function(){if(t.onerrorCb){return t.onerrorCb(e)}_vwo_code.finish('&e=loading_failure:'+e)};o.send()}},getSettings:function(){try{var e=stT.getItem(cK);if(!e){return}e=JSON.parse(e);if(Date.now()>e.e){stT.removeItem(cK);return}return e.s}catch(e){return}},init:function(){if(d.URL.indexOf('__vwo_disable__')>-1)return;var e=this.settings_tolerance();w._vwo_settings_timer=setTimeout(function(){_vwo_code.finish();stT.removeItem(cK)},e);var t;if(this.hide_element()!=='body'){t=d.createElement('style');var i=this.hide_element(),n=i?i+this.hide_element_style():'',r=d.getElementsByTagName('head')[0];t.setAttribute('id','_vis_opt_path_hides');v&&t.setAttribute('nonce',v.nonce);t.setAttribute('type','text/css');if(t.styleSheet)t.styleSheet.cssText=n;else t.appendChild(d.createTextNode(n));r.appendChild(t)}else{t=d.getElementsByTagName('head')[0];var n=d.createElement('div');n.style.cssText='z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;';n.setAttribute('id','_vis_opt_path_hides');n.classList.add('_vis_hide_layer');t.parentNode.insertBefore(n,t.nextSibling)}var o='https://dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(d.URL)+'&vn='+version;if(w.location.search.indexOf('_vwo_xhr')!==-1){this.addScript({src:o})}else{this.load(o+'&x=true')}}};w._vwo_code=code;code.init();})(); </script> <!-- End VWO Async SmartCode --> <link rel="shortcut icon" type="image/x-icon" href="https://www.nonprofitpro.com/wp-content/themes/npp/images/favicon.ico?x35551"> <link rel="icon" type="image/x-icon" href="https://www.nonprofitpro.com/wp-content/themes/npp/images/favicon.ico?x35551"> </head> <body> <div class="site-container"> <div class="pusher"> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-T4L67HW" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <!-- =========================== PRESTITIAL ========================= --> <!-- =========================== /PRESTITIAL ======================== --> <!-- ============================ TOOLBAR =========================== --> <div id="header-toolbar" class="clearfix"> <div id="header-toolbar-left" class="socials-container"> <div class="soc-bot-row"> <a class="soc-fb" href="https://www.facebook.com/nonprofitpromag/"><img src="https://www.nonprofitpro.com/wp-content/themes/npp/images/fb_circle.png?x35551"></a> <a class="soc-tw" href="https://www.twitter.com/non_profit_pro"><img src="https://www.nonprofitpro.com/wp-content/themes/npp/images/twitter_circle.png?x35551"></a> <a class="soc-tw" href="https://www.linkedin.com/company/nonprofit-pro/"><img src="https://www.nonprofitpro.com/wp-content/themes/npp/images/linkedin_circle.png?x35551"></a> </div> </div> <div id="header-toolbar-right"> <li id="menu-item-51520" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-51520"><a href="https://www.nonprofitpro.com/research/">Research</a></li> <li id="menu-item-43408" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-43408"><a href="http://www.nonprofitpro.com/resourceguide/">Resource Guide</a></li> <li id="menu-item-22828" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-22828"><a href="https://www.nonprofitpro.com/advertising-info/">Advertise</a></li> </div> <div class="clearfix"></div> </div><!-- =========================== /TOOLBAR =========================== --> <!-- ============================ EYEBROW =========================== --> <!-- =========================== /EYEBROW =========================== --> <div class="header"> <!-- ============================ HEADER ============================ --> <header role="banner"> <span class="exit-touch-menu"></span> <div class="top-stick"></div> <div class="centerizer top-layer clearfix"> <div class="control-wrap"> <div class="search-bar mobile"> <button class="toggle-search"> <span class="mag"></span> </button> <form class="touch-search" method="get" action="https://www.nonprofitpro.com/resources/search/results/"> <fieldset class="clearfix"> <input type="text" name="s[terms]" placeholder="Search"> <input type="submit" class="mag"> </fieldset> </form> </div> <span class="logo clearfix"> <a href="https://www.nonprofitpro.com"><img src="https://www.nonprofitpro.com/wp-content/themes/npp/images/logo-nonprofitpro-x2.png?x35551"></a> </span> <button class="trigger-main-nav"> <span></span> </button> </div> </div> <!-- /TOP LAYER --> <div class="bot-layer clearfix"> <div class="centerizer"> <div class="sticky-wrap"> <!-- STICKY ONLY --> <span class="sticky-logo clearfix"> <a href="https://www.nonprofitpro.com"><img src="https://www.nonprofitpro.com/wp-content/themes/npp/images/logo-nonprofitpro-white-x2.png?x35551"></a> </span> <!-- STICKY ONLY --> <nav class="clearfix wp-menu no-touch-view"> <ul id="menu-header-menu" class="main-menu menu clearfix"> <li id="menu-item-22768" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-22768"><a href="#">Topics</a> <ul class="sub-menu"> <li id="menu-item-32521" class="menu-item menu-item-type-post_type menu-item-object-industrycenter menu-item-32521"><a href="https://www.nonprofitpro.com/topic/data-management/">Data Management</a></li> <li id="menu-item-32522" class="menu-item menu-item-type-post_type menu-item-object-industrycenter menu-item-has-children menu-item-32522"><a href="https://www.nonprofitpro.com/topic/development/">Development</a> <ul class="sub-menu"> <li id="menu-item-32530" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32530"><a href="https://www.nonprofitpro.com/category/capital-campaigns/">Capital Campaigns</a></li> <li id="menu-item-32531" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32531"><a href="https://www.nonprofitpro.com/category/donor-relationship-management/">Donor Relationship Management</a></li> <li id="menu-item-32533" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32533"><a href="https://www.nonprofitpro.com/category/foundations/">Foundations</a></li> <li id="menu-item-32534" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32534"><a href="https://www.nonprofitpro.com/category/grants/">Grants</a></li> <li id="menu-item-32536" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32536"><a href="https://www.nonprofitpro.com/category/major-gifts/">Major Gifts</a></li> <li id="menu-item-32537" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32537"><a href="https://www.nonprofitpro.com/category/membership/">Membership</a></li> </ul> </li> <li id="menu-item-32523" class="menu-item menu-item-type-post_type menu-item-object-industrycenter menu-item-has-children menu-item-32523"><a href="https://www.nonprofitpro.com/topic/direct-marketing/">Direct Marketing</a> <ul class="sub-menu"> <li id="menu-item-32541" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32541"><a href="https://www.nonprofitpro.com/category/creative/">Creative</a></li> <li id="menu-item-32540" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32540"><a href="https://www.nonprofitpro.com/category/direct-mail/">Direct Mail</a></li> <li id="menu-item-32542" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32542"><a href="https://www.nonprofitpro.com/category/multichannel/">Multichannel</a></li> </ul> </li> <li id="menu-item-32524" class="menu-item menu-item-type-post_type menu-item-object-industrycenter menu-item-has-children menu-item-32524"><a href="https://www.nonprofitpro.com/topic/e-philanthropy/">E-Philanthropy</a> <ul class="sub-menu"> <li id="menu-item-32546" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32546"><a href="https://www.nonprofitpro.com/category/social-media/">Social Media</a></li> <li id="menu-item-32547" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32547"><a href="https://www.nonprofitpro.com/category/software-technology/">Software/Technology</a></li> <li id="menu-item-32548" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32548"><a href="https://www.nonprofitpro.com/category/video/">Video</a></li> </ul> </li> <li id="menu-item-32525" class="menu-item menu-item-type-post_type menu-item-object-industrycenter menu-item-has-children menu-item-32525"><a href="https://www.nonprofitpro.com/topic/leadership-management/">Leadership Management</a> <ul class="sub-menu"> <li id="menu-item-32549" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32549"><a href="https://www.nonprofitpro.com/category/board/">Board</a></li> <li id="menu-item-32550" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32550"><a href="https://www.nonprofitpro.com/category/branding/">Branding</a></li> <li id="menu-item-32551" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32551"><a href="https://www.nonprofitpro.com/category/executive-issues/">Executive Issues</a></li> <li id="menu-item-32552" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32552"><a href="https://www.nonprofitpro.com/category/staffing-human-resources/">Staffing &amp; Human Resources</a></li> <li id="menu-item-32553" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32553"><a href="https://www.nonprofitpro.com/category/tax-legal-compliance/">Tax, Legal &amp; Compliance</a></li> <li id="menu-item-32554" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-32554"><a href="https://www.nonprofitpro.com/category/volunteers/">Volunteers</a></li> </ul> </li> </ul> </li> <li id="menu-item-22778" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-22778"><a href="/webinars">Webinars</a></li> <li id="menu-item-22777" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-22777"><a href="#">Events</a> <ul class="sub-menu"> <li id="menu-item-32631" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-32631"><a href="https://www.nonprofitpro.com/conferences/">Live Events</a> <ul class="sub-menu"> <li id="menu-item-50196" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-50196"><a href="http://power.nonprofitpro.com">NonProfit POWER<br>Dec. 2nd &#8211; 4th</a></li> </ul> </li> <li id="menu-item-32629" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-32629"><a href="https://www.nonprofitpro.com/awards/">Awards</a></li> </ul> </li> <li id="menu-item-22782" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-22782"><a href="/blogs">Blogs</a></li> <li id="menu-item-52287" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-52287"><a href="https://www.nonprofitpro.com/podcast/the-nonprofit-voice/">Podcast</a></li> <li id="menu-item-22830" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-22830"><a href="http://www.nonprofitpro.com/resources">Resources</a> <ul class="sub-menu"> <li id="menu-item-70599" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-70599"><a href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_nonp33&#038;ch=ADNB">2024 Nonprofit Fundraising Study</a></li> <li id="menu-item-68490" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-68490"><a href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_nonp31&#038;ch=ADNB">40 Nonprofit Trends for 2024</a></li> <li id="menu-item-65210" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-65210"><a href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_nonp32&#038;ch=ADNB">2024 Nonprofit Leadership Impact Study</a></li> <li id="menu-item-44069" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-44069"><a title="Browse and search insightful research and whitepapers." href="http://www.nonprofitpro.com/resources">Browse Resources</a></li> <li id="menu-item-44070" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-44070"><a title="Contribute your great content to the marketing community!" target="_blank" rel="noopener" href="http://www.nonprofitpro.com/resources/request/">Add a Resource</a></li> </ul> </li> <li id="menu-item-32508" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-32508"><a href="#">Subscribe</a> <ul class="sub-menu"> <li id="menu-item-32511" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-32511"><a target="_blank" rel="noopener" href="http://www.nonprofitpro.com/newsletter/nonprofit-pro-today/subscribe/?src=ADNB*YEAR*">NonProfit PRO Today newsletter</a></li> </ul> </li> </ul> </nav><div class="search-bar desktop" role="search"> <form method="get" action="https://www.nonprofitpro.com/search/results"> <div class="search-outer"><input type="text" name="s[terms]" placeholder="Enter term(s)"></div> <span class="mag"></span> </form> </div> </div> </div> </div> <!-- /BOT LAYER --> <div class="bot-stick"></div> </header><!-- role="banner" --> <!-- ============================ /HEADER =========================== --> </div><!-- /CENTERIZER --> <div class="hero-header " style="background: url('https://www.nonprofitpro.com/wp-content/themes/napco-editorial/modules/resource/images/resource-hero-header.jpg') no-repeat 50% fixed;"> <div class="ribbon category-archive"> <h1>The nonprofit's premier source for best practices, case studies, and more.</h1> </div> </div> <div class="resource-nav clearfix"> <div id="resource-filter"> <form id="resource-filter-form" action="/resources/" method="GET" > <div class="select"> <select name="category" id="cat-slct"> <option value="">Filter By Category</option> <option value="accountability" >Accountability</option> <option value="acquisition" >Acquisition</option> <option value="analytics" >Analytics</option> <option value="animals" >Animals</option> <option value="annual-campaigns" >Annual Campaigns</option> <option value="arts-culture-humanities" >Arts, Culture &amp; Humanities</option> <option value="artsculture" >Arts/Culture</option> <option value="auctions" >Auctions</option> <option value="board" >Board</option> <option value="branding" >Branding</option> <option value="capital-campaigns" >Capital Campaigns</option> <option value="cause-marketing" >Cause Marketing</option> <option value="cause-marketingcorporate-partnerships" >Cause Marketing/Corporate Partnerships</option> <option value="children-youth" >Children/Youth</option> <option value="corporate-relations-engagement" >Corporate Relations &amp; Engagement</option> <option value="creative" >Creative</option> <option value="data-mining" >Data Mining</option> <option value="database-marketing" >Database Marketing</option> <option value="direct-mail" >Direct Mail</option> <option value="direct-response" >Direct Response</option> <option value="disaster-relief" >Disaster Relief</option> <option value="donor-demographics" >Donor Demographics</option> <option value="donor-relationship-management" >Donor Relationship Management</option> <option value="donor-segments" >Donor Segments</option> <option value="e-mail" >E-mail</option> <option value="e-philanthropy" >E-Philanthropy</option> <option value="education" >Education</option> <option value="environment" >Environment</option> <option value="ethicsaccountability" >Ethics/Accountability</option> <option value="event-management" >Event Management</option> <option value="events" >Events</option> <option value="executive-issues" >Executive Issues</option> <option value="faith-based-religion-churches" >Faith Based/Religion/Churches</option> <option value="financial-services" >Financial Services</option> <option value="foundations" >Foundations</option> <option value="fundraiser-education" >Fundraiser Education</option> <option value="fundraising" >Fundraising</option> <option value="giving-pyramid" >Giving Pyramid</option> <option value="grants" >Grants</option> <option value="guerrilla-fundraising" >Guerrilla Fundraising</option> <option value="health" >Health</option> <option value="hungerhomelessness" >Hunger/Homelessness</option> <option value="incentives" >Incentives</option> <option value="international-affairs" >International Affairs</option> <option value="international-fundraising" >International Fundraising</option> <option value="lapsed-donors" >Lapsed Donors</option> <option value="list-management" >List Management</option> <option value="major-gifts" >Major Gifts</option> <option value="membership" >Membership</option> <option value="metrics" >Metrics</option> <option value="mobile" >Mobile</option> <option value="multichannel" >Multichannel</option> <option value="newsstatsstudies" >News/Stats/Studies</option> <option value="nonprofit-pro" >NonProfit Pro</option> <option value="online-fundraising" >Online Fundraising</option> <option value="paper" >Paper</option> <option value="peer-to-peer" >Peer to Peer</option> <option value="personalization" >Personalization</option> <option value="planned-giving" >Planned Giving</option> <option value="politics" >Politics</option> <option value="postal" >Postal</option> <option value="printingproduction" >Printing/Production</option> <option value="prospects" >Prospects</option> <option value="recurring-donations" >Recurring Donations</option> <option value="retention" >Retention</option> <option value="segmentation" >Segmentation</option> <option value="social-media" >Social Media</option> <option value="social-servicepublic-welfarehuman-services" >Social Service/Public Welfare/Human Services</option> <option value="software-technology" >Software/Technology</option> <option value="softwaretechnology" >Software/Technology</option> <option value="staffing-human-resources" >Staffing &amp; Human Resources</option> <option value="strategic-planning" >Strategic Planning</option> <option value="testing" >Testing</option> <option value="video" >Video</option> <option value="volunteers" >Volunteers</option> <option value="web-design" >Web Design</option> <option value="women" >Women</option> </select> </div> <div class="select"> <select name="type" id="type-slct"> <option value="">Filter By Type</option> <option value="best-practices" >Best Practices</option> <option value="case-studies" >Case Studies</option> <option value="how-to-guides" >How-to Guides</option> <option value="industry-sector-reports" >Industry Sector Reports</option> <option value="research" >Research</option> <option value="special-reports" >Special Reports</option> <option value="tips-and-tools" selected>Tips and Tools</option> <option value="trendsanalysis" >Trends/Analysis</option> <option value="webinars" >Webinars</option> <option value="white-papers" >White Papers</option> </select> </div> <div class="submit"> <input type="submit" value="Apply" /> </div> </form> <div class="search-bar desktop" role="search"> <form method="get" action="/resources/search/results/"> <div class="search-outer" style="display: none;"><input type="text" name="s[terms]" placeholder="Enter term(s)"></div> <span class="mag"></span> <input type="hidden" name="post_type" value="resource" /> </form> </div> </div> </div> <div class="centerizer content-wrapper"> <div class="row"> <div class="col-sm-12 break"> <!-- =========================== AD BANNER ========================== --> <div class="ad-bot-banner top"> </div> <!-- =========================== /AD BANNER ========================= --> </div> </div> <!-- Remove padding --> <div class="row" id="columns-wrapper"> <!-- =========================== OVERLAY ============================ --> <!-- ============================ /OVERLAY ========================== --> <div class="label resource-breadcrumb"><a class="post-blog-cat-label" href="https://www.nonprofitpro.com/resources/">Resource Library</a><span> : Type >> Tips and Tools</span></div> <div class="main resource-archive" role="main"> <article class="resource listing" data-post-id="57731"> <div class="thumb"> <a href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_nort02"><img src="https://www.nonprofitpro.com/thumb/?src=/wp-content/uploads/sites/8/2021/06/w_defa1384c8.jpg&w=250&h=200&a=top"></a> </div> <div class="info with-thumb"> <p><a href="/resources/category/events" class="post-blog-cat-label">Events</a></p> <h3 class="h6a"><a title="Bid from the Green: Winning Golf Fundraising Strategies" href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_nort02">Bid from the Green: Winning Golf Fundraising Strategies</a></h3> </div> </article> <div class="hr"></div> <article class="resource listing" data-post-id="57729"> <div class="thumb"> <a href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_nort03"><img src="https://www.nonprofitpro.com/thumb/?src=/wp-content/uploads/sites/8/2021/06/w_defa1387c8.jpg&w=250&h=200&a=top"></a> </div> <div class="info with-thumb"> <p><a href="/resources/category/online-fundraising" class="post-blog-cat-label">Online Fundraising</a></p> <h3 class="h6a"><a title="Raise More &amp; Reach More: The Ultimate Guide to Giving &amp; Awareness Days" href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_nort03">Raise More &amp; Reach More: The Ultimate Guide to Giving&hellip;</a></h3> </div> </article> <div class="hr"></div> <article class="resource listing" data-post-id="57725"> <div class="thumb"> <a href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_nort05"><img src="https://www.nonprofitpro.com/thumb/?src=/wp-content/uploads/sites/8/2021/06/w_defa1389c8-2.jpg&w=250&h=200&a=top"></a> </div> <div class="info with-thumb"> <p><a href="/resources/category/fundraising" class="post-blog-cat-label">Fundraising</a></p> <h3 class="h6a"><a title="15 Hot Outdoor Fundraising Ideas" href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_nort05">15 Hot Outdoor Fundraising Ideas</a></h3> </div> </article> <div class="hr"></div> <article class="resource listing" data-post-id="65345"> <div class="thumb"> <a href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_foub52"><img src="https://www.nonprofitpro.com/thumb/?src=/wp-content/uploads/sites/8/2023/04/w_foub52c8.jpg&w=250&h=200&a=top"></a> </div> <div class="info with-thumb"> <p><a href="/resources/category/e-mail" class="post-blog-cat-label">E-mail</a></p> <h3 class="h6a"><a title="Before You Hit Send" href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_foub52">Before You Hit Send</a></h3> </div> </article> <div class="hr"></div> <article class="resource listing" data-post-id="60186"> <div class="thumb"> <a href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_defa2245"><img src="https://www.nonprofitpro.com/thumb/?src=/wp-content/uploads/sites/8/2022/02/w_defa2245c8.jpg&w=250&h=200&a=top"></a> </div> <div class="info with-thumb"> <p><a href="/resources/category/database-marketing" class="post-blog-cat-label">Database Marketing</a></p> <h3 class="h6a"><a title="Infographic: Printing with Variable Data" href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_defa2245">Infographic: Printing with Variable Data</a></h3> </div> </article> <div class="hr"></div> <article class="resource listing" data-post-id="60184"> <div class="thumb"> <a href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_defa2247"><img src="https://www.nonprofitpro.com/thumb/?src=/wp-content/uploads/sites/8/2022/02/w_defa2247c8.jpg&w=250&h=200&a=top"></a> </div> <div class="info with-thumb"> <p><a href="/resources/category/multichannel" class="post-blog-cat-label">Multichannel</a></p> <h3 class="h6a"><a title="Infographic: Omnichannel Marketing Statistics" href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_defa2247">Infographic: Omnichannel Marketing Statistics</a></h3> </div> </article> <div class="hr"></div> <article class="resource listing" data-post-id="60182"> <div class="thumb"> <a href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_defa2246"><img src="https://www.nonprofitpro.com/thumb/?src=/wp-content/uploads/sites/8/2022/02/w_defa2246c8.jpg&w=250&h=200&a=top"></a> </div> <div class="info with-thumb"> <p><a href="/resources/category/direct-mail" class="post-blog-cat-label">Direct Mail</a></p> <h3 class="h6a"><a title="Infographic: 7 Direct Mail Stats You Need to Know" href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_defa2246">Infographic: 7 Direct Mail Stats You Need to Know</a></h3> </div> </article> <div class="hr"></div> <article class="resource listing" data-post-id="60180"> <div class="thumb"> <a href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_defa2248"><img src="https://www.nonprofitpro.com/thumb/?src=/wp-content/uploads/sites/8/2022/02/w_defa2248c8.jpg&w=250&h=200&a=top"></a> </div> <div class="info with-thumb"> <p><a href="/resources/category/mobile" class="post-blog-cat-label">Mobile</a></p> <h3 class="h6a"><a title="Infographic: 12 Different Uses for QR Codes" href="https://nonprofitpro.tradepub.com/c/pubRD.mpl?pc=w_defa2248">Infographic: 12 Different Uses for QR Codes</a></h3> </div> </article> <div class="hr"></div> </div> <div class="more-button-holder" align="center"> <button id="load-more" class="more button">Load More</button> <div class="animation_image" style="display:none;"><img src="https://www.nonprofitpro.com/wp-content/themes/napco-editorial/images/ajax-loader.gif?x35551&amp;x31303"> Loading...</div> </div> <!-- ============================= ASIDE ============================ --> <!-- ============================= /ASIDE =========================== --> <div class="row push-down-40"> <div class="col-sm-12"> <div class="ad-bottom-img"> <!-- =========================== AD BANNER ========================== --> <div class="ad-bot-banner"> </div> <!-- =========================== /AD BANNER ========================= --> </div> </div> <!-- /COL12--> </div> <!-- /ROW --> </div><!-- /.main.col-md-8" role="main" --> <!-- ============================= /MAIN ============================ --> </div><!-- /ROW --> </div><!-- /CENTERIZER --> <a href="https://w2.napco.com/webuser/pixel/"><img src="https://www.nonprofitpro.com/wp-content/themes/napco-editorial/images/trans.gif?x35551" border="0" style="width: 1px; height: 1px;"></a> <div class="rubber-band">Have great content to share? <a href="/resources/request/">Contact us!</a></div> <!-- ============================ FOOTER ============================ --> <div class="footer bgcolor1"> <div class="centerizer break "> <footer> <div class="top-level clearfix"> <div class="wrapper"> <div class="pad clearfix"> <div class="col col-1"> <nav class="menu-footer-menu-1-container"><li id="menu-item-32639" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-32639"><a href="/webinars">Webinars</a></li> <li id="menu-item-32640" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-32640"><a href="/blogs">Blogs</a></li> <li id="menu-item-34686" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-34686"><a href="http://jobs.nonprofitpro.com">Jobs</a></li> </nav> </div> <div class="col col-2"> <nav class="menu-footer-menu-2-container"><li id="menu-item-37882" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-37882"><a href="https://www.nonprofitpro.com/about-us/">About Us</a></li> <li id="menu-item-43261" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-43261"><a href="https://www.nonprofitpro.com/editstaff/">Meet the Staff</a></li> <li id="menu-item-37883" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-37883"><a href="https://www.nonprofitpro.com/advertising-info/">Advertising Info</a></li> <li id="menu-item-43262" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-43262"><a href="https://www.nonprofitpro.com/reprint-info/">Reprints</a></li> <li id="menu-item-43062" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-43062"><a href="https://www.nonprofitpro.com/listrental/">List Rental</a></li> <li id="menu-item-41241" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-41241"><a href="http://www.napco.com/customer-service/">Customer Service</a></li> <li id="menu-item-37885" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-37885"><a target="_blank" rel="noopener" href="http://www.napco.com/privacypolicy">Privacy Policy</a></li> </nav> </div> <div class="col col-3"> <nav class="menu-footer-menu-3-container"><li id="menu-item-37888" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-37888"><a target="_blank" rel="noopener" href="http://www.nonprofitpro.com/newsletter/nonprofit-pro-today/subscribe/?src=ADFT*YEAR*">Subscribe to <em>NonProfit PRO Today</em> newsletter</a></li> <li id="menu-item-37886" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-37886"><a target="_blank" rel="noopener" href="http://www.nonprofitpro.com/feed">RSS Feed</a></li> <li id="menu-item-37889" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-37889"><a target="_blank" rel="noopener" href="http://www.promomarkit.com">Find Branded Merchandise</a></li> </nav> <nav> <li><a href="https://www.napco.com/ccpa/">Do Not Sell</a></li> </nav> </div> <div class="col col-4"> </div> <div class="col col-5"> <ul class="socials"> <li class="fb-link"><a class="soc-link soc-fb" href="https://www.facebook.com/nonprofitpromag/"><img src="https://www.nonprofitpro.com/wp-content/themes/npp/images/icn-soc-fb-x2.png?x35551"> Facebook</a></li> <li class="twtr-link"><a class="soc-link soc-tw" href="https://www.twitter.com/non_profit_pro"><img src="https://www.nonprofitpro.com/wp-content/themes/npp/images/icn-soc-tw-x2.png?x35551"> Twitter</a></li> <li class="li-link"><a class="soc-link soc-li" href="https://www.linkedin.com/company/nonprofit-pro/"><img src="https://www.nonprofitpro.com/wp-content/themes/npp/images/icn-soc-li-x2.png?x35551"> LinkedIn</a></li> <li class="li-link"><a class="soc-link soc-li" href="https://www.instagram.com/non_profit_pro"><img src="https://www.nonprofitpro.com/wp-content/themes/npp/images/icn-soc-in-x2.png?x35551"> Instagram</a></li> </ul> </div> </div> </div> <a class="footer-toggle collapsed"> <span>Explore NAPCO Media</span> <em></em> </a> </div> <!-- /TOP LEVEL --> <div class="bot-level clearfix"> <div class="wrapper push-down-40"> <div class="pad clearfix"> <div class="col col-1"> <div class="group"> <div class="title">Marketing, Retail & NonProfit</div> <a title="BRAND United" href="https://www.brandunited.com/ " target="_blank">BRAND United</a> <a title="Retail Online Integration" href="https://www.mytotalretail.com" target="_blank">Total Retail</a> <a title="NonProfit PRO" href="https://www.nonprofitpro.com" target="_blank">NonProfit Pro</a> </div> <div class="group"> <div class="title">Events</div> <a title="Retail Roundtables" href="https://roundtables.mytotalretail.com/" target="_blank">Retail Roundtables</a> <a title="Women in Retail Leadership Summit" href="https://www.womeninretailsummit.com" target="_blank">Women in Retail Leadership Summit</a> <a title="Women in Retail Summit On The Road" href="https://ontheroad.womeninretail.com/ ">Women in Retail Summit On The Road</a> <a title="NonProfit POWER" href="https://power.nonprofitpro.com/">NonProfit POWER</a> <a title="Total Retail Tech" href="https://tech.mytotalretail.com/">Total Retail Tech</a> </div> </div> <div class="col col-2"> <div class="group"> <div class="title">Printing and Packaging</div> <a title="Printing Impressions" href="https://www.piworld.com">Printing Impressions</a> <a title="In-plant Impressions" href="https://www.inplantimpressions.com" target="_blank">In-plant Impressions</a> <a title="Packaging Impressions" href="https://www.packagingimpressions.com" target="_blank">Packaging Impressions</a> <a title="Wide-Format Impressions" href="https://www.wideformatimpressions.com" target="_blank">Wide-Format Impressions</a> <a title="Apparelist" href="https://www.apparelist.com/" target="_blank">Apparelist</a> </div> <div class="group"> <div class="title">Events</div> <a title="Inkjet Summit" href="https://www.ijsummit.com" target="_blank">Inkjet Summit</a> <a title="Digital Packaging Summit" href="https://www.digitalpackagingsummit.com" target="_blank">Digital Packaging Summit</a> <a title="Wide-Format Summit" href="https://www.wideformatsummit.com/" target="_blank">Wide-Format Summit</a> </div> </div> <div class="col col-3"> <div class="group"> <div class="title">Promotional Products</div> <a title="Print & Promo Marketing" href="https://www.promomarketing.com" target="_blank">Print & Promo Marketing</a> </div> <div class="group"> <div class="title">Events</div> <a title="Promo Marketing Power Meetings" href="https://www.pmpowermeetings.com" target="_blank">Power Meetings</a> <a title="Print+Promo Distributor Connect" href="https://connect.goprintandpromo.com" target="_blank">Distributor Connect</a> </div> </div> </div> </div> <!-- /BOT LEVEL --> </div> </footer> </div> </div><!-- /CENTERIZER --> <div class="footer bgcolor2"> <div class="centerizer break "> <div class="below-footer clearfix"> <div class="logo site-logo"> <a href="https://www.nonprofitpro.com"><img src="https://www.nonprofitpro.com/wp-content/themes/npp/images/logo-nonprofitpro-x2.png?x35551"></a> </div> <div class="copy clearfix"> <span class="credits">Copyright &copy; 2024 <a title="NAPCO Media" href="https://www.napco.com" target="_blank">NAPCO Media</a>. All Rights Reserved.</span> </div> </div> </div> </div><!-- /CENTERIZER --> <!-- =========================== /FOOTER ============================ --> </div> <!-- /PUSHER --> </div> <!-- /SITE CONTAINER --> <!-- //////////////////////////////// LOAD JS //////////////////////////////// --> <!-- START Parse.ly Include: Standard --> <div id="parsely-root" style="display: none"> <div id="parsely-cfg" data-parsely-site="nonprofitpro.com"></div> </div> <script> document.addEventListener('webuser_loaded', function () { var subscriptions = (webuser.statistics.subscriptions) ? webuser.statistics.subscriptions : null; var newsletterString = subscriptions.newsletter; var newsletter = (newsletterString) ? newsletterString.split(',') : null; var webinar = []; if (subscriptions.webinar == "registered") { webinar.push("register"); } if (subscriptions.attended == "attended") { webinar.push("attended"); } if (!webinar.length) { webinar = null; } window.PARSELY = window.PARSELY || { autotrack: false, onReady: function () { PARSELY.updateDefaults({ data: { newsletter: newsletter, webinar: webinar } }); PARSELY.beacon.trackPageView(); } }; (function (s, p, d) { var h = d.location.protocol, i = p + "-" + s, e = d.getElementById(i), r = d.getElementById(p + "-root"), u = h === "https:" ? "d1z2jf7jlzjs58.cloudfront.net" : "static." + p + ".com"; if (e) return; e = d.createElement(s); e.id = i; e.async = true; e.src = h + "//" + u + "/p.js"; r.appendChild(e); })("script", "parsely", document); }); </script> <!-- END Parse.ly Include: Standard --> <script> //jQuery(document).on('webuser_loaded',function(){ ld = { uuid: jQuery.cookie('napsso'), pubid: '76', }; jstag.send(ld); //}); </script> <script type="text/javascript"> function getCookie(name) { return (document.cookie.match('(^|; )' + name + '=([^;]*)') || 0)[2]; } function getParameterByName(name) { name = String(name).replace(/[.*+?|()[]{}\]/g, '\$&'); var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); } function getHashParameterByName(name) { name = String(name).replace(/[.*+?|()[]{}\]/g, '\$&'); var match = RegExp('' + name + '=([^&]*)').exec(window.location.hash.substring(1)); return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); } function getMetaTagContentByProperty(name, property, content) { property = (property == null) ? 'property' : property; content = (content == null) ? 'content' : content; var el = document.querySelector("meta[" + property + "='" + name + "']"); if (el) { return el.getAttribute(content); } } </script> <script type="text/javascript"> var src = 'https://w2.napco.com/webuser/register/?'; var site_id = getMetaTagContentByProperty('napcoId'); if (site_id) { src = src + 'si=' + site_id; } var page_id = getMetaTagContentByProperty('pageId'); if (page_id) { src = src + '&ai=' + page_id; } var page_type = getMetaTagContentByProperty('pageType'); if (page_type) { src = src + '&ac=' + page_type; } var pid = getMetaTagContentByProperty('pid'); if (pid) { src = src + '&pid=' + pid; } var wid = getMetaTagContentByProperty('napcoWebsiteId'); if (wid) { src = src + '&wid=' + wid; } var uuid_cookie = getCookie('napsso'); if (!uuid_cookie) { uuid_cookie = 0; } src = src + '&u=' + uuid_cookie; var marketo_cookie = getCookie('_mkto_trk'); if (marketo_cookie) { src = src + '&m=' + encodeURIComponent(marketo_cookie); } var email = getParameterByName('e'); if (email) { src = src + '&e=' + email; } var newsletter_email = getHashParameterByName('ne'); if (!newsletter_email) { var newsletter_email = getParameterByName('ne'); } if (newsletter_email) { src = src + '&ne=' + newsletter_email; } var source = getParameterByName('src'); if (source) { src = src + '&src=' + source; } /*var published_date = new Date(1732683600*1000); var current_date = new Date(); diff_in_days = Math.floor((current_date - published_date) / (1000*60*60*24)); //alert(''); //alert(diff_in_days);*/ src = src + '&g=0'; var script = document.createElement('script'); script.setAttribute('type', 'text/javascript'); script.setAttribute('src', src); var head = document.getElementsByTagName('head')[0]; head.appendChild(script); </script> <script type="text/javascript" id="thickbox-js-extra"> /* <![CDATA[ */ var thickboxL10n = {"next":"Next >","prev":"< Prev","image":"Image","of":"of","close":"Close","noiframes":"This feature requires inline frames. You have iframes disabled or your browser does not support them.","loadingAnimation":"https:\/\/www.nonprofitpro.com\/wp-includes\/js\/thickbox\/loadingAnimation.gif"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.nonprofitpro.com/wp-includes/js/thickbox/thickbox.js?x35551&amp;ver=3.1-20121105" id="thickbox-js"></script> <script type="text/javascript" id="mediaelement-core-js-before"> /* <![CDATA[ */ var mejsL10n = {"language":"en","strings":{"mejs.download-file":"Download File","mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https:\/\/get.adobe.com\/flashplayer\/","mejs.fullscreen":"Fullscreen","mejs.play":"Play","mejs.pause":"Pause","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left\/Right Arrow keys to advance one second, Up\/Down arrows to advance ten seconds.","mejs.live-broadcast":"Live Broadcast","mejs.volume-help-text":"Use Up\/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.captions-subtitles":"Captions\/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}}; /* ]]> */ </script> <script type="text/javascript" src="https://www.nonprofitpro.com/wp-includes/js/mediaelement/mediaelement-and-player.min.js?x35551&amp;ver=4.2.17" id="mediaelement-core-js"></script> <script type="text/javascript" src="https://www.nonprofitpro.com/wp-includes/js/mediaelement/mediaelement-migrate.min.js?x35551&amp;ver=6.4.1" id="mediaelement-migrate-js"></script> <script type="text/javascript" id="mediaelement-js-extra"> /* <![CDATA[ */ var _wpmejsSettings = {"pluginPath":"\/wp-includes\/js\/mediaelement\/","classPrefix":"mejs-","stretching":"responsive","audioShortcodeLibrary":"mediaelement","videoShortcodeLibrary":"mediaelement"}; /* ]]> */ </script> <script type="text/javascript" id="disqus_count-js-extra"> /* <![CDATA[ */ var countVars = {"disqusShortname":"nonprofitpro"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.nonprofitpro.com/wp-content/plugins/disqus-comment-system/public/js/comment_count.js?x35551&amp;ver=3.0.23" id="disqus_count-js"></script> <script type="text/javascript"> (function() { var didInit = false; function initMunchkin() { if(didInit === false) { didInit = true; Munchkin.init('326-IHL-075'); } } var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '//munchkin.marketo.net/munchkin.js'; s.onreadystatechange = function() { if (this.readyState == 'complete' || this.readyState == 'loaded') { initMunchkin(); } }; s.onload = initMunchkin; document.getElementsByTagName('head')[0].appendChild(s); })(); </script> <style> #recommendation { width:400px; min-height:150px; z-index:2000; float:right; position:fixed; right:-400px; bottom:50px; background:#fff; padding:10px; border:1px solid #eee; transition:transform 500ms cubic-bezier(0.47, 0, 0.75, 0.72); -moz-box-shadow:1px 1px 1px 1px #ccc; -webkit-box-shadow:1px 1px 1px 1px #ccc; -khtml-box-shadow:1px 1px 1px 1px #ccc; box-shadow:1px 1px 1px 1px #ccc; } #recommendation.open { transform:translateX(-430px); } @media (max-width:425px) { #recommendation.open { transform:translateX(-390px); } #recommendation { width:350px; right:-350px } } @media (max-width:375px) { #recommendation.open { transform:translateX(-338px); } #recommendation { width:300px; right:-300px } } @media (max-width:320px) { #recommendation.open { transform:translateX(-315px); } } #recommendation .header { text-transform:uppercase; color:#b1b1b1; display:inline-block; margin-bottom:10px; font-size:14px; } #recommendation a { float:left; text-decoration:none; color:#000; font-weight:bold; font-size:20px; line-height:22px; } #recommendation img { float:left; clear:left; margin-right:10px; } #recommendation .close { float:right; border:1px solid #c5c5c5; height:13px; width:13px; cursor:pointer; position:relative; box-sizing:content-box; transition:background 0.5s; display:block; /* override sticky.css */ } #recommendation .close span::before, #recommendation .close span::after { display:block; background:#737373; height:1px; position:absolute; top:6px; left:2px; width:9px; content:""; transition:height 0.5s, background 0.5s; } #recommendation .close span::before { transform:rotate(45deg); } #recommendation .close span::after { transform:rotate(-45deg); } #recommendation .close:hover { background:#d3d3d3; } #recommendation .close:hover span::before, #recommendation .close:hover span::after { height:2px; background:#fff; } #recommendation .hide { display:none; } </style> <aside id="recommendation"> <div class="close"><span></span></div> <span class="header">Recommended for you</span> <article><a><img></a></article> </aside> <script type="text/javascript"> //NAPCO Parsely Profile Training and Recommendations Obj var nParsely = { //API URL Root, NAPSSO cookie, URL w/o query params api: 'https://api.parsely.com/v2/', uuid: (document.cookie.match('(^|; )napsso=([^;]*)') || 0)[2], url: window.location.protocol + '//' + window.location.hostname + window.location.pathname, //Profile training profile: { //Profile trained flag trained: false, //JSON-P Profile training request train: function() { //Create request tag var req = document.createElement('script'); //Only train profile once if (this.trained) { return; } else { this.trained = true; } //Build request parameters req.src = nParsely.api+'profile?'+ 'callback=nParsely.profile.response'+ '&apikey=nonprofitpro.com'+ '&uuid='+this.uuid+ '&url='+encodeURIComponent(nParsely.url); document.getElementsByTagName('head')[0].appendChild(req); }, //Response handler response: function(res) { if (!res.success) { console.log('Parsely API Profile Response:'); console.log(res); } } }, //Related Recommendations recommendation: { //Recommedation exists flag, viewed flag, closed flag, requested flag, HTML Container exists: false, viewed: false, closed: false, requested: false, container: document.getElementById('recommendation'), trigger: document.querySelectorAll('.post-body .body-main div[itemprop=content]')[0], //JSON-P Recommendation request request: function() { //Build meta exclusion parameters function exclude(meta, value) { //Split commas separated string into array, remove empties, reduce array into URL query parameter return value.split(',').filter(Boolean).reduce(function(query, value) { return query+'&exclude='+meta+':"'+value+'"'; }, ''); }; //Build click strategy request parameters function strategy() { //Look for host in document referrer. HTTPS -> HTTP referrer security issue limits the usefulness function referrer(host){ return -1 !== document.referrer.indexOf(host); }; //Identified referrers var search = ['google','bing','yahoo','duckduckgo'], social = ['linkedin','twitter','facebook','instagram']; //Set Parsely click strategy if document referrer matches one of the identified referrers if (search.find(referrer)) { return '&strategy=click&click=ref_search'; } if (social.find(referrer)) { return '&strategy=click&click=ref_social'; } //API default but set explicity for clarity return '&strategy=recency'; }; //Create request tag var req = document.createElement('script'); //Only request recommendation if the trigger element exists if (!this.trigger) { return; } //Only request recommendation once if (this.requested) { return; } else { this.requested = true; } //Build request parameters req.src = nParsely.api+'related?'+ 'callback=nParsely.recommendation.response'+ '&apikey=nonprofitpro.com'+ '&uuid='+nParsely.uuid+ '&url='+encodeURIComponent(nParsely.url)+ '&limit=2&days=180'+ strategy()+ exclude('tags', 'posttype:Industrycenter,posttype:Post,posttype:Book,posttype:Issue,posttype:Item,posttype:Nativead,posttype:Aggregatedcontent,posttype:Sitenewsletter')+ exclude('authors', 'Staff Writer')+ exclude('sections', ''); document.getElementsByTagName('head')[0].appendChild(req); }, //Response handler response: function(res) { //Recommendation container elements var img = this.container.querySelector('img'), link = this.container.querySelector('a'), result; //Logic to prevent recommending the current URL if (res.success) { if (res.data[0] && res.data[0].url != nParsely.url) { result = res.data[0]; } else if (res.data[1] && res.data[1].url != nParsely.url) { result = res.data[1]; } } //Build recommendation HTML if (result) { this.exists = true; //Hide image if no thumbnail URL if (!(img.src = result.thumb_url_medium)) { img.className = 'hide'; } link.href = result.url; link.innerHTML += result.title; this.toggle(); } else { console.log('Parsely API Recommendation Response:'); console.log(res); } }, //Toggle recommendation display toggle: function() { //Determine if scrolled past threshold, 75% height of post body function threshold() { var rect = nParsely.recommendation.trigger.getBoundingClientRect(), offset = rect.bottom - rect.height; return rect.height * 0.75 + offset <= window.innerHeight; }; //If recommendation exists, not closed, and past trigger point if (this.exists && !this.closed && threshold()) { this.container.className = 'open'; //Track the open event if GA defined and recommendation hasnt been viewed yet if (typeof _gaq !== 'undefined' && !this.viewed) { _gaq.push(['_trackEvent', 'post', 'Recommendation Flyout Viewed', nParsely.url]); this.viewed = true; } } else { this.container.className = ''; } } } }; //DOM Content loaded - if NAPSSO cookie exists, train profile and get recommendation //This event listener could be excluded and rely solely on the webuser_loaded event listener, but this works even when w.napco is down document.addEventListener('DOMContentLoaded', function() { if (nParsely.uuid) { nParsely.profile.train(); nParsely.recommendation.request(); } }); //NAPCO webuser had loaded - if webuser UUID exists, train profile and get recommendation //This event listener could be excluded and rely solely on the DOM Content Loaded event listener, but this for first time visitors document.addEventListener('webuser_loaded', function() { if (nParsely.uuid = webuser.uuid) { nParsely.profile.train(); nParsely.recommendation.request(); } }); //Toggle recommendation display on scroll document.addEventListener('scroll', function() { nParsely.recommendation.toggle(); }); //Recommendation close button clicked - set closed flag and toggle recommendation, ie close it nParsely.recommendation.container.querySelector('.close').addEventListener('click', function() { nParsely.recommendation.closed = true; nParsely.recommendation.toggle(); //Track the close event if GA defined if (typeof _gaq !== 'undefined') { _gaq.push(['_trackEvent', 'post', 'Recommendation Flyout Closed', nParsely.url]); } }); //Track the click event if GA defined nParsely.recommendation.container.querySelector('article a').addEventListener('click', function() { if (typeof _gaq !== 'undefined') { _gaq.push(['_trackEvent', 'post', 'Recommendation Flyout Clicked', 'Leadership Management']); } }); //Polyfill find if (!Array.prototype.find) { Array.prototype.find = function(predicate) { if (this === null) { throw new TypeError('Array.prototype.find called on null or undefined'); } if (typeof predicate !== 'function') { throw new TypeError('predicate must be a function'); } var list = Object(this); var length = list.length >>> 0; var thisArg = arguments[1]; var value; for (var i = 0; i < length; i++) { value = list[i]; if (predicate.call(thisArg, value, i, list)) { return value; } } return undefined; }; } </script> <script type="text/javascript"> (function (d, s, id) { window.Wishpond = window.Wishpond || {}; Wishpond.merchantId = '1329072'; Wishpond.writeKey = 'f0d055463a40'; var js, wpjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//cdn.wishpond.net/connect.js"; wpjs.parentNode.insertBefore(js, wpjs); }(document, 'script', 'wishpond-connect')); var checkExist = setInterval(function() { if (typeof(Wishpond.Tracker) !== "undefined" && typeof(webuser) !== "undefined") { Wishpond.Tracker.getAnonId().then(function(data) { var attributes = { uuid: webuser.uuid }; Wishpond.Tracker.identify(data, attributes); }); clearInterval(checkExist); } }, 100); </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10