9bdfc5e3 by Jeff Balicki

more fixes

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 0870d31c
...@@ -15370,7 +15370,7 @@ body { ...@@ -15370,7 +15370,7 @@ body {
15370 @media only screen and (max-width: 1000px) { 15370 @media only screen and (max-width: 1000px) {
15371 #main-nav .container { 15371 #main-nav .container {
15372 height: 90px; 15372 height: 90px;
15373 padding-top: 30px; 15373 padding-top: 25px;
15374 margin-bottom: 0px; 15374 margin-bottom: 0px;
15375 } 15375 }
15376 } 15376 }
...@@ -15385,7 +15385,15 @@ body { ...@@ -15385,7 +15385,15 @@ body {
15385 margin-left: 0px; 15385 margin-left: 0px;
15386 } 15386 }
15387 .navbar-brand { 15387 .navbar-brand {
15388 width: 100px; 15388 width: 130px;
15389 }
15390 }
15391 @media only screen and (max-width: 400px) {
15392 .site-title {
15393 font-size: 18px;
15394 line-height: 24px;
15395 margin-left: 0px;
15396 padding-left: 15px;
15389 } 15397 }
15390 } 15398 }
15391 .site { 15399 .site {
...@@ -16728,7 +16736,7 @@ ul.sf_date_field .sf-datepicker { ...@@ -16728,7 +16736,7 @@ ul.sf_date_field .sf-datepicker {
16728 } 16736 }
16729 16737
16730 #advance-search-modal { 16738 #advance-search-modal {
16731 z-index: 8; 16739 z-index: 99;
16732 position: fixed; 16740 position: fixed;
16733 margin-top: 80px; 16741 margin-top: 80px;
16734 } 16742 }
...@@ -16970,6 +16978,12 @@ ul.sf_date_field .sf-datepicker { ...@@ -16970,6 +16978,12 @@ ul.sf_date_field .sf-datepicker {
16970 width: 33%; 16978 width: 33%;
16971 display: inline-block !important; 16979 display: inline-block !important;
16972 } 16980 }
16981 @media screen and (max-width: 900px) {
16982 #advance-search-modal .sf-field-taxonomy-mlo-category,
16983 #advance-search-modal .sf-field-post-meta-file_type {
16984 width: 100%;
16985 }
16986 }
16973 16987
16974 .search-results .search-field { 16988 .search-results .search-field {
16975 border: 0; 16989 border: 0;
...@@ -16988,7 +17002,8 @@ ul.sf_date_field .sf-datepicker { ...@@ -16988,7 +17002,8 @@ ul.sf_date_field .sf-datepicker {
16988 } 17002 }
16989 @media screen and (max-width: 950px) { 17003 @media screen and (max-width: 950px) {
16990 #search-wrapper { 17004 #search-wrapper {
16991 padding: 0rem 2rem; 17005 margin-top: 2rem;
17006 padding: 0rem 40px;
16992 } 17007 }
16993 } 17008 }
16994 #search-wrapper #main { 17009 #search-wrapper #main {
...@@ -17344,11 +17359,9 @@ ul.sf_date_field .sf-datepicker { ...@@ -17344,11 +17359,9 @@ ul.sf_date_field .sf-datepicker {
17344 17359
17345 #main { 17360 #main {
17346 position: relative; 17361 position: relative;
17347 z-index: 9;
17348 } 17362 }
17349 #main .entry-content { 17363 #main .entry-content {
17350 position: relative; 17364 position: relative;
17351 z-index: 9;
17352 } 17365 }
17353 17366
17354 #content:not(.search-content) { 17367 #content:not(.search-content) {
...@@ -17514,7 +17527,7 @@ ul.sf_date_field .sf-datepicker { ...@@ -17514,7 +17527,7 @@ ul.sf_date_field .sf-datepicker {
17514 } 17527 }
17515 17528
17516 #page-wrapper { 17529 #page-wrapper {
17517 margin: 10px 40px 0 40px; 17530 margin: 10px 30px 0 30px;
17518 } 17531 }
17519 #page-wrapper .breadcrumb { 17532 #page-wrapper .breadcrumb {
17520 font-size: 12px; 17533 font-size: 12px;
...@@ -17839,6 +17852,11 @@ ul.sf_date_field .sf-datepicker { ...@@ -17839,6 +17852,11 @@ ul.sf_date_field .sf-datepicker {
17839 .side-menu-page .call-out-block { 17852 .side-menu-page .call-out-block {
17840 margin-left: -75%; 17853 margin-left: -75%;
17841 } 17854 }
17855 @media (max-width: 1000px) {
17856 .side-menu-page .call-out-block {
17857 padding-left: 75%;
17858 }
17859 }
17842 17860
17843 .call-out-block h2, .call-out-block .h2 { 17861 .call-out-block h2, .call-out-block .h2 {
17844 text-align: center; 17862 text-align: center;
...@@ -17941,7 +17959,7 @@ ul.sf_date_field .sf-datepicker { ...@@ -17941,7 +17959,7 @@ ul.sf_date_field .sf-datepicker {
17941 } 17959 }
17942 17960
17943 .admin-bar #pojo-a11y-toolbar { 17961 .admin-bar #pojo-a11y-toolbar {
17944 top: 30px !important; 17962 top: 40px !important;
17945 } 17963 }
17946 17964
17947 .pojo-a11y-toolbar-link:hover .pojo-a11y-toolbar-text { 17965 .pojo-a11y-toolbar-link:hover .pojo-a11y-toolbar-text {
...@@ -17992,7 +18010,7 @@ ul.sf_date_field .sf-datepicker { ...@@ -17992,7 +18010,7 @@ ul.sf_date_field .sf-datepicker {
17992 } 18010 }
17993 18011
17994 .admin-bar #gt_float_wrapper { 18012 .admin-bar #gt_float_wrapper {
17995 top: 30px !important; 18013 top: 40px !important;
17996 } 18014 }
17997 18015
17998 .gt_float_switcher .gt_options a { 18016 .gt_float_switcher .gt_options a {
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -7522,11 +7522,13 @@ ...@@ -7522,11 +7522,13 @@
7522 $(document).on("click", ".advance-search-button", function (e) { 7522 $(document).on("click", ".advance-search-button", function (e) {
7523 $('#search-box-content').addClass('show'); 7523 $('#search-box-content').addClass('show');
7524 $('.search-box').addClass('show'); 7524 $('.search-box').addClass('show');
7525 $('.badge').hide();
7525 }); 7526 });
7526 var myModal = document.getElementById('advance-search-modal'); 7527 var myModal = document.getElementById('advance-search-modal');
7527 myModal.addEventListener('hidden.bs.modal', function () { 7528 myModal.addEventListener('hidden.bs.modal', function () {
7528 $('#search-box-content').removeClass('show'); 7529 $('#search-box-content').removeClass('show');
7529 $('.search-box').removeClass('show'); 7530 $('.search-box').removeClass('show');
7531 $('.badge').show();
7530 }); 7532 });
7531 if ($(window).width() < 960) { 7533 if ($(window).width() < 960) {
7532 $(".search-result .entry-summary").each(function () { 7534 $(".search-result .entry-summary").each(function () {
......
This diff could not be displayed because it is too large.
...@@ -110,5 +110,5 @@ ...@@ -110,5 +110,5 @@
110 * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 110 * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
111 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 111 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
112 */ 112 */
113 !function(e,t){e.exports=function(e,t,n,i){const s=e=>e&&"object"==typeof e&&"default"in e?e:{default:e},o=s(t),r=s(n),a="toast",l=".bs.toast",c=`mouseover${l}`,u=`mouseout${l}`,d=`focusin${l}`,f=`focusout${l}`,h=`hide${l}`,p=`hidden${l}`,m=`show${l}`,g=`shown${l}`,_="fade",b="hide",v="show",y="showing",w={animation:"boolean",autohide:"boolean",delay:"number"},E={animation:!0,autohide:!0,delay:5e3};class x extends r.default{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return E}static get DefaultType(){return w}static get NAME(){return a}show(){if(o.default.trigger(this._element,m).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(_);const t=()=>{this._element.classList.remove(y),o.default.trigger(this._element,g),this._maybeScheduleHide()};this._element.classList.remove(b),e.reflow(this._element),this._element.classList.add(v,y),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown())return;if(o.default.trigger(this._element,h).defaultPrevented)return;const e=()=>{this._element.classList.add(b),this._element.classList.remove(y,v),o.default.trigger(this._element,p)};this._element.classList.add(y),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(v),super.dispose()}isShown(){return this._element.classList.contains(v)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){o.default.on(this._element,c,(e=>this._onInteraction(e,!0))),o.default.on(this._element,u,(e=>this._onInteraction(e,!1))),o.default.on(this._element,d,(e=>this._onInteraction(e,!0))),o.default.on(this._element,f,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=x.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return i.enableDismissTrigger(x),e.defineJQueryPlugin(x),x}(a(),u(),E(),C())}(Ut);var Kt,Jt,Xt,Yt=Ut.exports;Kt=navigator.userAgent.toLowerCase().indexOf("webkit")>-1,Jt=navigator.userAgent.toLowerCase().indexOf("opera")>-1,Xt=navigator.userAgent.toLowerCase().indexOf("msie")>-1,(Kt||Jt||Xt)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",(function(){var e,t=location.hash.substring(1);/^[A-z0-9_-]+$/.test(t)&&(e=document.getElementById(t))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())}),!1);const Gt="undefined"!=typeof window,Zt=Gt&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),en=Gt&&"IntersectionObserver"in window,tn=Gt&&"classList"in document.createElement("p"),nn=Gt&&window.devicePixelRatio>1,sn={elements_selector:".lazy",container:Zt||Gt?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},on=e=>Object.assign({},sn,e),rn=function(e,t){let n;const i="LazyLoad::Initialized",s=new e(t);try{n=new CustomEvent(i,{detail:{instance:s}})}catch(e){n=document.createEvent("CustomEvent"),n.initCustomEvent(i,!1,!1,{instance:s})}window.dispatchEvent(n)},an="src",ln="srcset",cn="sizes",un="poster",dn="llOriginalAttrs",fn="data",hn="loading",pn="loaded",mn="applied",gn="error",_n="native",bn="data-",vn="ll-status",yn=(e,t)=>e.getAttribute(bn+t),wn=e=>yn(e,vn),En=(e,t)=>((e,t,n)=>{var i=bn+t;null!==n?e.setAttribute(i,n):e.removeAttribute(i)})(e,vn,t),xn=e=>En(e,null),An=e=>null===wn(e),Cn=e=>wn(e)===_n,Tn=[hn,pn,mn,gn],On=(e,t,n,i)=>{e&&(void 0===i?void 0===n?e(t):e(t,n):e(t,n,i))},kn=(e,t)=>{tn?e.classList.add(t):e.className+=(e.className?" ":"")+t},Ln=(e,t)=>{tn?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},Dn=e=>e.llTempImage,jn=(e,t)=>{if(!t)return;const n=t._observer;n&&n.unobserve(e)},Sn=(e,t)=>{e&&(e.loadingCount+=t)},In=(e,t)=>{e&&(e.toLoadCount=t)},Nn=e=>{let t=[];for(let n,i=0;n=e.children[i];i+=1)"SOURCE"===n.tagName&&t.push(n);return t},$n=(e,t)=>{const n=e.parentNode;if(!n||"PICTURE"!==n.tagName)return;Nn(n).forEach(t)},Pn=(e,t)=>{Nn(e).forEach(t)},Mn=[an],Hn=[an,un],Fn=[an,ln,cn],zn=[fn],Rn=e=>!!e[dn],Qn=e=>e[dn],Bn=e=>delete e[dn],qn=(e,t)=>{if(Rn(e))return;const n={};t.forEach((t=>{n[t]=e.getAttribute(t)})),e[dn]=n},Wn=(e,t)=>{if(!Rn(e))return;const n=Qn(e);t.forEach((t=>{((e,t,n)=>{n?e.setAttribute(t,n):e.removeAttribute(t)})(e,t,n[t])}))},Vn=(e,t,n)=>{kn(e,t.class_applied),En(e,mn),n&&(t.unobserve_completed&&jn(e,t),On(t.callback_applied,e,n))},Un=(e,t,n)=>{kn(e,t.class_loading),En(e,hn),n&&(Sn(n,1),On(t.callback_loading,e,n))},Kn=(e,t,n)=>{n&&e.setAttribute(t,n)},Jn=(e,t)=>{Kn(e,cn,yn(e,t.data_sizes)),Kn(e,ln,yn(e,t.data_srcset)),Kn(e,an,yn(e,t.data_src))},Xn={IMG:(e,t)=>{$n(e,(e=>{qn(e,Fn),Jn(e,t)})),qn(e,Fn),Jn(e,t)},IFRAME:(e,t)=>{qn(e,Mn),Kn(e,an,yn(e,t.data_src))},VIDEO:(e,t)=>{Pn(e,(e=>{qn(e,Mn),Kn(e,an,yn(e,t.data_src))})),qn(e,Hn),Kn(e,un,yn(e,t.data_poster)),Kn(e,an,yn(e,t.data_src)),e.load()},OBJECT:(e,t)=>{qn(e,zn),Kn(e,fn,yn(e,t.data_src))}},Yn=["IMG","IFRAME","VIDEO","OBJECT"],Gn=(e,t)=>{!t||(e=>e.loadingCount>0)(t)||(e=>e.toLoadCount>0)(t)||On(e.callback_finish,t)},Zn=(e,t,n)=>{e.addEventListener(t,n),e.llEvLisnrs[t]=n},ei=(e,t,n)=>{e.removeEventListener(t,n)},ti=e=>!!e.llEvLisnrs,ni=e=>{if(!ti(e))return;const t=e.llEvLisnrs;for(let n in t){const i=t[n];ei(e,n,i)}delete e.llEvLisnrs},ii=(e,t,n)=>{(e=>{delete e.llTempImage})(e),Sn(n,-1),(e=>{e&&(e.toLoadCount-=1)})(n),Ln(e,t.class_loading),t.unobserve_completed&&jn(e,n)},si=(e,t,n)=>{const i=Dn(e)||e;if(ti(i))return;((e,t,n)=>{ti(e)||(e.llEvLisnrs={});const i="VIDEO"===e.tagName?"loadeddata":"load";Zn(e,i,t),Zn(e,"error",n)})(i,(s=>{((e,t,n,i)=>{const s=Cn(t);ii(t,n,i),kn(t,n.class_loaded),En(t,pn),On(n.callback_loaded,t,i),s||Gn(n,i)})(0,e,t,n),ni(i)}),(s=>{((e,t,n,i)=>{const s=Cn(t);ii(t,n,i),kn(t,n.class_error),En(t,gn),On(n.callback_error,t,i),n.restore_on_error&&Wn(t,Fn),s||Gn(n,i)})(0,e,t,n),ni(i)}))},oi=(e,t,n)=>{(e=>{e.llTempImage=document.createElement("IMG")})(e),si(e,t,n),(e=>{Rn(e)||(e[dn]={backgroundImage:e.style.backgroundImage})})(e),((e,t,n)=>{const i=yn(e,t.data_bg),s=yn(e,t.data_bg_hidpi),o=nn&&s?s:i;o&&(e.style.backgroundImage=`url("${o}")`,Dn(e).setAttribute(an,o),Un(e,t,n))})(e,t,n),((e,t,n)=>{const i=yn(e,t.data_bg_multi),s=yn(e,t.data_bg_multi_hidpi),o=nn&&s?s:i;o&&(e.style.backgroundImage=o,Vn(e,t,n))})(e,t,n),((e,t,n)=>{const i=yn(e,t.data_bg_set);if(!i)return;const s=i.split("|");let o=s.map((e=>`image-set(${e})`));e.style.backgroundImage=o.join(),""===e.style.backgroundImage&&(o=s.map((e=>`-webkit-image-set(${e})`)),e.style.backgroundImage=o.join()),Vn(e,t,n)})(e,t,n)},ri=(e,t,n)=>{si(e,t,n),((e,t,n)=>{const i=Xn[e.tagName];i&&(i(e,t),Un(e,t,n))})(e,t,n)},ai=(e,t,n)=>{(e=>Yn.indexOf(e.tagName)>-1)(e)?ri(e,t,n):oi(e,t,n)},li=(e,t,n)=>{e.setAttribute("loading","lazy"),si(e,t,n),((e,t)=>{const n=Xn[e.tagName];n&&n(e,t)})(e,t),En(e,_n)},ci=e=>{e.removeAttribute(an),e.removeAttribute(ln),e.removeAttribute(cn)},ui=e=>{$n(e,(e=>{Wn(e,Fn)})),Wn(e,Fn)},di={IMG:ui,IFRAME:e=>{Wn(e,Mn)},VIDEO:e=>{Pn(e,(e=>{Wn(e,Mn)})),Wn(e,Hn),e.load()},OBJECT:e=>{Wn(e,zn)}},fi=e=>{const t=di[e.tagName];t?t(e):(e=>{if(!Rn(e))return;const t=Qn(e);e.style.backgroundImage=t.backgroundImage})(e)},hi=(e,t)=>{fi(e),((e,t)=>{An(e)||Cn(e)||(Ln(e,t.class_entered),Ln(e,t.class_exited),Ln(e,t.class_applied),Ln(e,t.class_loading),Ln(e,t.class_loaded),Ln(e,t.class_error))})(e,t),xn(e),Bn(e)},pi=(e,t,n,i)=>{n.cancel_on_exit&&(e=>wn(e)===hn)(e)&&"IMG"===e.tagName&&(ni(e),(e=>{$n(e,(e=>{ci(e)})),ci(e)})(e),ui(e),Ln(e,n.class_loading),Sn(i,-1),xn(e),On(n.callback_cancel,e,t,i))},mi=(e,t,n,i)=>{const s=(e=>Tn.indexOf(wn(e))>=0)(e);En(e,"entered"),kn(e,n.class_entered),Ln(e,n.class_exited),((e,t,n)=>{t.unobserve_entered&&jn(e,n)})(e,n,i),On(n.callback_enter,e,t,i),s||ai(e,n,i)},gi=["IMG","IFRAME","VIDEO"],_i=e=>e.use_native&&"loading"in HTMLImageElement.prototype,bi=(e,t,n)=>{e.forEach((e=>(e=>e.isIntersecting||e.intersectionRatio>0)(e)?mi(e.target,e,t,n):((e,t,n,i)=>{An(e)||(kn(e,n.class_exited),pi(e,t,n,i),On(n.callback_exit,e,t,i))})(e.target,e,t,n)))},vi=(e,t)=>{en&&!_i(e)&&(t._observer=new IntersectionObserver((n=>{bi(n,e,t)}),(e=>({root:e.container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}))(e)))},yi=e=>Array.prototype.slice.call(e),wi=e=>e.container.querySelectorAll(e.elements_selector),Ei=e=>(e=>wn(e)===gn)(e),xi=(e,t)=>(e=>yi(e).filter(An))(e||wi(t)),Ai=(e,t)=>{var n;(n=wi(e),yi(n).filter(Ei)).forEach((t=>{Ln(t,e.class_error),xn(t)})),t.update()},Ci=function(e,t){const n=on(e);this._settings=n,this.loadingCount=0,vi(n,this),((e,t)=>{Gt&&(t._onlineHandler=()=>{Ai(e,t)},window.addEventListener("online",t._onlineHandler))})(n,this),this.update(t)};Ci.prototype={update:function(e){const t=this._settings,n=xi(e,t);var i,s;(In(this,n.length),!Zt&&en)?_i(t)?((e,t,n)=>{e.forEach((e=>{-1!==gi.indexOf(e.tagName)&&li(e,t,n)})),In(n,0)})(n,t,this):(i=this._observer,s=n,(e=>{e.disconnect()})(i),((e,t)=>{t.forEach((t=>{e.observe(t)}))})(i,s)):this.loadAll(n)},destroy:function(){var e;this._observer&&this._observer.disconnect(),e=this,Gt&&window.removeEventListener("online",e._onlineHandler),wi(this._settings).forEach((e=>{Bn(e)})),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){const t=this._settings;xi(e,t).forEach((e=>{jn(e,this),ai(e,t,this)}))},restoreAll:function(){const e=this._settings;wi(e).forEach((t=>{hi(t,e)}))}},Ci.load=(e,t)=>{const n=on(t);ai(e,n)},Ci.resetStatus=e=>{xn(e)},Gt&&((e,t)=>{if(t)if(t.length)for(let n,i=0;n=t[i];i+=1)rn(e,n);else rn(e,t)})(Ci,window.lazyLoadOptions);const Ti=document.querySelector("#main-nav");Ti.querySelector(".mega-toggle-block"),Ti.querySelector(".mega-menu-toggle.mega-menu-open");const Oi=Ti.querySelector("#mega-menu-primary");Oi.innerHTML=Oi.innerHTML+'<div class="list-wrapper2 list-wrapper"><button type="button" class="back-one-level"><span>Back</span></button><div class="sub-menu-wrapper"></div></div><div class="list-wrapper3 list-wrapper"><button type="button" class="back-one-level"><span>Back</span></button><div class="sub-menu-wrapper"></div></div>';const ki=Ti.querySelectorAll("li.mega-menu-item-has-children > a.mega-menu-link"),Li=Ti.querySelector(".list-wrapper2"),Di=Ti.querySelector(".list-wrapper3"),ji=Li.querySelector(".sub-menu-wrapper"),Si=Di.querySelector(".sub-menu-wrapper"),Ii=Ti.querySelectorAll(".back-one-level"),Ni="is-visible",$i="is-active";for(const e of ki)e.addEventListener("click",(function(t){const n=e.nextElementSibling;if(console.log("clicked level1Links"),n){t.preventDefault(),this.classList.add($i);const e=n.cloneNode(!0);ji.innerHTML="",ji.append(e),Li.classList.add(Ni)}}));Li.addEventListener("click",(function(e){const t=e.target,n=t.closest("a");if("a"===t.tagName.toLowerCase()&&t.nextElementSibling){const n=t.nextElementSibling;e.preventDefault(),t.classList.add($i);const i=n.cloneNode(!0);Si.innerHTML="",Si.append(i),Di.classList.add(Ni)}else if("a"===n.tagName.toLowerCase()&&n.nextElementSibling){const t=n.nextElementSibling;e.preventDefault(),n.classList.add($i);const i=t.cloneNode(!0);Si.innerHTML="",Si.append(i),Di.classList.add(Ni)}}));for(const e of Ii)e.addEventListener("click",(function(){this.closest(".list-wrapper").classList.remove(Ni)}));var Pi,Mi=(Pi=t,{init:function(){Pi(".side-menu li:has(.children) > a").addClass("has-children closed"),Pi(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened"),Pi(document).on("click",".side-menu li:has(.children) > a.has-children.closed",(function(e){return e.preventDefault(),Pi(this).removeClass("closed"),Pi(this).addClass("opened"),Pi(this).next(".children").slideDown(),!1})),Pi(document).on("click",".side-menu li:has(.children) > a.has-children.opened",(function(e){return e.preventDefault(),Pi(this).removeClass("opened"),Pi(this).addClass("closed"),Pi(this).next(".children").slideUp(),!1})),Pi(".searchandfilter ul li:contains('hidden')").hide(),Pi('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo(jQuery("#advance-search-modal .searchandfilter ul:first-child ")),Pi(document).on("click",".search-filter-reset-custom",(function(e){return e.preventDefault(),Pi(this).closest(".searchandfilter")[0].reset(),!1})),Pi(document).on("click",".advance-search-button",(function(e){Pi("#search-box-content").addClass("show"),Pi(".search-box").addClass("show")})),document.getElementById("advance-search-modal").addEventListener("hidden.bs.modal",(function(){Pi("#search-box-content").removeClass("show"),Pi(".search-box").removeClass("show")})),Pi(window).width()<960&&Pi(".search-result .entry-summary").each((function(){var e=Pi(this).text();if(e.length>160){var t=e.substr(0,160);t=t.substr(0,Math.min(t.length,t.lastIndexOf(" "))),Pi(this).text(t+"...")}}))}});t(document).ready(Mi.init);var Hi=function(e){var t=window.matchMedia("(min-width: 1150px)");return e(document).on("click",".navbar-toggler",(function(){e("#navbarNavDropdown").toggleClass("show"),e(".navbar-toggler").toggleClass("active"),e("#navbarNavDropdown").hasClass("show")?e("body").addClass("locked"):e("body").removeClass("locked")})),e.fn.classChange=function(t){return e(this).each(((n,i)=>{new MutationObserver((n=>{n.forEach((n=>t&&t(n.target,e(n.target).prop(n.attributeName))))})).observe(i,{attributes:!0,attributeFilter:["class"]})}))},{init:function(){function n(){e(".donate.menu-item").append(e("#main-nav .donate-btn")),e(".navbar-toggler").after(e("#navbarNavDropdown")),e(".news-and-stories-block").each((function(){var t=e(this).find(".post-list-load-more");e(this).append(t)})),e(".mi-image-container").each((function(){var t=e(this).parentsUntil(".menu-item"),n=e(t).data("last-idx"),i=e(t).index();if(console.log(n+" "+i),n!=i){t=e(this).parents(".menu-item")[0];var s=e(this).parents(".dropdown-menu");e(s).children().eq(n).before(t)}})),e(".menu-item-11505").length>0&&(e(".menu-item-11503").parents(".dropdown-menu").find("li:last-of-type").before(e(".menu-item-11503")),e(".menu-item-11505").parents(".dropdown-menu").find("li:last-of-type").before(e(".menu-item-11505"))),e(".menu-item-15438").length>0&&(e(".menu-item-15438").parents(".dropdown-menu").find("li:last-of-type").before(e(".menu-item-15438")),e(".menu-item-15442").parents(".dropdown-menu").find("li:last-of-type").before(e(".menu-item-15442")))}function i(){var t=e("#main-menu .donate > a");e(t).hasClass("donate-btn")||e(t).addClass("donate-btn"),e("#main-nav .container").append(t),e("#wrapper-navbar").append(e("#navbarNavDropdown")),e(".news-and-stories-block").each((function(){var t=e(this).find(".post-list-load-more");e(this).prepend(t)})),LegacyCalc.mobilize(),ImageCollage.mobilize(),e(".mi-image-container").each((function(){var t=e(this).parents(".menu-item")[0];if(1!=i){var n=e(this).parents(".dropdown-menu"),i=e(n).find("li").index(t);e(t).data("last-idx",i),e(n).append(t)}})),e(".dropdown-menu").each((function(){e(this).css("height",e(this).height()+5),e(this).addClass("ready")})),e(".menu-item-11505").length>0&&(e(".menu-item-11505").parents(".dropdown-menu").prepend(e(".menu-item-11505")),e(".menu-item-11503").parents(".dropdown-menu").prepend(e(".menu-item-11503"))),e(".menu-item-15438").length>0&&(e(".menu-item-15442").parents(".dropdown-menu").prepend(e(".menu-item-15442")),e(".menu-item-15438").parents(".dropdown-menu").prepend(e(".menu-item-15438")))}e("body").classChange((function(t,n){-1!==n.indexOf("pojo-a11y-resize-font-130")&&setTimeout((function(){e(window).trigger("resize")}),500)})),t.addEventListener("change",(e=>{e.matches?n():i()})),t.matches||i()},isDesktop:function(){return t.matches}}}(t);t(document).ready(Hi.init);var Fi={alignTheSideCaptions:function(){jQuery(".side-caption").each((function(){var e=this,t=jQuery(this).find(".image-side-caption").innerHeight();Hi.isDesktop()?(jQuery(this).css("bottom",-t),setTimeout((function(){jQuery(e).addClass("ready")}),500)):jQuery(e).parent().is(".entry-header")&&!jQuery(e).parent().is(".no-photo")?(jQuery(e).css("margin-bottom",-t),t=jQuery(e).parent().find(".title-container").innerHeight(),jQuery(e).css("bottom",t),setTimeout((function(){jQuery(e).addClass("ready")}),500)):(jQuery(e).css("bottom",-t),setTimeout((function(){jQuery(e).addClass("ready")}),500))}))}};jQuery((function(e){setInterval((function(){Fi.alignTheSideCaptions()}),1e3),e(".copy-link").on("click",(function(e){e.preventDefault()}))}));var zi=function(e){return{init:function(){e(".side-menu li:has(.children) > a").addClass("has-children closed"),e(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened"),e(document).on("click",".side-menu li:has(.children) > a.has-children.closed",(function(t){return t.preventDefault(),e(this).removeClass("closed"),e(this).addClass("opened"),e(this).next(".children").slideDown(),!1})),e(document).on("click",".side-menu li:has(.children) > a.has-children.opened",(function(t){return t.preventDefault(),e(this).removeClass("opened"),e(this).addClass("closed"),e(this).next(".children").slideUp(),!1}))}}}(t);t(document).ready(zi.init),jQuery((function(e){var t=setInterval((function(){var n=!1;jQuery(".wp-block-image:not(.captionized)").each((function(){n=!0;var t=jQuery(this).find("img").width();if("0"!=t){var i=jQuery(this).find("figcaption").innerHeight();jQuery(this).find("figcaption").css("bottom",-i),0==e(".post-template-default.single").length&&jQuery(this).find(".cap-wrapper").css("width",t),jQuery(this).addClass("captionized")}})),n||clearInterval(t)}),500)})),new Ci,window.tz_checkVisible=function(e,t,n,i){t=t||"visible";var s=jQuery(window).height(),o=jQuery(window).scrollTop(),r=jQuery(e).offset().top+n,a=jQuery(e).height();return i&&(a+=i),"visible"===t?r<s+o&&r>o-a:"above"===t?r<s+o:void 0},e.Alert=T,e.Button=L,e.Carousel=P,e.Collapse=H,e.Dropdown=yt,e.Modal=Dt,e.Offcanvas=It,e.Popover=Qt,e.Scrollspy=qt,e.Tab=Vt,e.Toast=Yt,e.Tooltip=Rt})); 113 !function(e,t){e.exports=function(e,t,n,i){const s=e=>e&&"object"==typeof e&&"default"in e?e:{default:e},o=s(t),r=s(n),a="toast",l=".bs.toast",c=`mouseover${l}`,u=`mouseout${l}`,d=`focusin${l}`,f=`focusout${l}`,h=`hide${l}`,p=`hidden${l}`,m=`show${l}`,g=`shown${l}`,_="fade",b="hide",v="show",y="showing",w={animation:"boolean",autohide:"boolean",delay:"number"},E={animation:!0,autohide:!0,delay:5e3};class x extends r.default{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return E}static get DefaultType(){return w}static get NAME(){return a}show(){if(o.default.trigger(this._element,m).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(_);const t=()=>{this._element.classList.remove(y),o.default.trigger(this._element,g),this._maybeScheduleHide()};this._element.classList.remove(b),e.reflow(this._element),this._element.classList.add(v,y),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown())return;if(o.default.trigger(this._element,h).defaultPrevented)return;const e=()=>{this._element.classList.add(b),this._element.classList.remove(y,v),o.default.trigger(this._element,p)};this._element.classList.add(y),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(v),super.dispose()}isShown(){return this._element.classList.contains(v)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){o.default.on(this._element,c,(e=>this._onInteraction(e,!0))),o.default.on(this._element,u,(e=>this._onInteraction(e,!1))),o.default.on(this._element,d,(e=>this._onInteraction(e,!0))),o.default.on(this._element,f,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=x.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return i.enableDismissTrigger(x),e.defineJQueryPlugin(x),x}(a(),u(),E(),C())}(Ut);var Kt,Jt,Xt,Yt=Ut.exports;Kt=navigator.userAgent.toLowerCase().indexOf("webkit")>-1,Jt=navigator.userAgent.toLowerCase().indexOf("opera")>-1,Xt=navigator.userAgent.toLowerCase().indexOf("msie")>-1,(Kt||Jt||Xt)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",(function(){var e,t=location.hash.substring(1);/^[A-z0-9_-]+$/.test(t)&&(e=document.getElementById(t))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())}),!1);const Gt="undefined"!=typeof window,Zt=Gt&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),en=Gt&&"IntersectionObserver"in window,tn=Gt&&"classList"in document.createElement("p"),nn=Gt&&window.devicePixelRatio>1,sn={elements_selector:".lazy",container:Zt||Gt?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},on=e=>Object.assign({},sn,e),rn=function(e,t){let n;const i="LazyLoad::Initialized",s=new e(t);try{n=new CustomEvent(i,{detail:{instance:s}})}catch(e){n=document.createEvent("CustomEvent"),n.initCustomEvent(i,!1,!1,{instance:s})}window.dispatchEvent(n)},an="src",ln="srcset",cn="sizes",un="poster",dn="llOriginalAttrs",fn="data",hn="loading",pn="loaded",mn="applied",gn="error",_n="native",bn="data-",vn="ll-status",yn=(e,t)=>e.getAttribute(bn+t),wn=e=>yn(e,vn),En=(e,t)=>((e,t,n)=>{var i=bn+t;null!==n?e.setAttribute(i,n):e.removeAttribute(i)})(e,vn,t),xn=e=>En(e,null),An=e=>null===wn(e),Cn=e=>wn(e)===_n,Tn=[hn,pn,mn,gn],On=(e,t,n,i)=>{e&&(void 0===i?void 0===n?e(t):e(t,n):e(t,n,i))},kn=(e,t)=>{tn?e.classList.add(t):e.className+=(e.className?" ":"")+t},Ln=(e,t)=>{tn?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},Dn=e=>e.llTempImage,jn=(e,t)=>{if(!t)return;const n=t._observer;n&&n.unobserve(e)},Sn=(e,t)=>{e&&(e.loadingCount+=t)},In=(e,t)=>{e&&(e.toLoadCount=t)},Nn=e=>{let t=[];for(let n,i=0;n=e.children[i];i+=1)"SOURCE"===n.tagName&&t.push(n);return t},$n=(e,t)=>{const n=e.parentNode;if(!n||"PICTURE"!==n.tagName)return;Nn(n).forEach(t)},Pn=(e,t)=>{Nn(e).forEach(t)},Mn=[an],Hn=[an,un],Fn=[an,ln,cn],zn=[fn],Rn=e=>!!e[dn],Qn=e=>e[dn],Bn=e=>delete e[dn],qn=(e,t)=>{if(Rn(e))return;const n={};t.forEach((t=>{n[t]=e.getAttribute(t)})),e[dn]=n},Wn=(e,t)=>{if(!Rn(e))return;const n=Qn(e);t.forEach((t=>{((e,t,n)=>{n?e.setAttribute(t,n):e.removeAttribute(t)})(e,t,n[t])}))},Vn=(e,t,n)=>{kn(e,t.class_applied),En(e,mn),n&&(t.unobserve_completed&&jn(e,t),On(t.callback_applied,e,n))},Un=(e,t,n)=>{kn(e,t.class_loading),En(e,hn),n&&(Sn(n,1),On(t.callback_loading,e,n))},Kn=(e,t,n)=>{n&&e.setAttribute(t,n)},Jn=(e,t)=>{Kn(e,cn,yn(e,t.data_sizes)),Kn(e,ln,yn(e,t.data_srcset)),Kn(e,an,yn(e,t.data_src))},Xn={IMG:(e,t)=>{$n(e,(e=>{qn(e,Fn),Jn(e,t)})),qn(e,Fn),Jn(e,t)},IFRAME:(e,t)=>{qn(e,Mn),Kn(e,an,yn(e,t.data_src))},VIDEO:(e,t)=>{Pn(e,(e=>{qn(e,Mn),Kn(e,an,yn(e,t.data_src))})),qn(e,Hn),Kn(e,un,yn(e,t.data_poster)),Kn(e,an,yn(e,t.data_src)),e.load()},OBJECT:(e,t)=>{qn(e,zn),Kn(e,fn,yn(e,t.data_src))}},Yn=["IMG","IFRAME","VIDEO","OBJECT"],Gn=(e,t)=>{!t||(e=>e.loadingCount>0)(t)||(e=>e.toLoadCount>0)(t)||On(e.callback_finish,t)},Zn=(e,t,n)=>{e.addEventListener(t,n),e.llEvLisnrs[t]=n},ei=(e,t,n)=>{e.removeEventListener(t,n)},ti=e=>!!e.llEvLisnrs,ni=e=>{if(!ti(e))return;const t=e.llEvLisnrs;for(let n in t){const i=t[n];ei(e,n,i)}delete e.llEvLisnrs},ii=(e,t,n)=>{(e=>{delete e.llTempImage})(e),Sn(n,-1),(e=>{e&&(e.toLoadCount-=1)})(n),Ln(e,t.class_loading),t.unobserve_completed&&jn(e,n)},si=(e,t,n)=>{const i=Dn(e)||e;if(ti(i))return;((e,t,n)=>{ti(e)||(e.llEvLisnrs={});const i="VIDEO"===e.tagName?"loadeddata":"load";Zn(e,i,t),Zn(e,"error",n)})(i,(s=>{((e,t,n,i)=>{const s=Cn(t);ii(t,n,i),kn(t,n.class_loaded),En(t,pn),On(n.callback_loaded,t,i),s||Gn(n,i)})(0,e,t,n),ni(i)}),(s=>{((e,t,n,i)=>{const s=Cn(t);ii(t,n,i),kn(t,n.class_error),En(t,gn),On(n.callback_error,t,i),n.restore_on_error&&Wn(t,Fn),s||Gn(n,i)})(0,e,t,n),ni(i)}))},oi=(e,t,n)=>{(e=>{e.llTempImage=document.createElement("IMG")})(e),si(e,t,n),(e=>{Rn(e)||(e[dn]={backgroundImage:e.style.backgroundImage})})(e),((e,t,n)=>{const i=yn(e,t.data_bg),s=yn(e,t.data_bg_hidpi),o=nn&&s?s:i;o&&(e.style.backgroundImage=`url("${o}")`,Dn(e).setAttribute(an,o),Un(e,t,n))})(e,t,n),((e,t,n)=>{const i=yn(e,t.data_bg_multi),s=yn(e,t.data_bg_multi_hidpi),o=nn&&s?s:i;o&&(e.style.backgroundImage=o,Vn(e,t,n))})(e,t,n),((e,t,n)=>{const i=yn(e,t.data_bg_set);if(!i)return;const s=i.split("|");let o=s.map((e=>`image-set(${e})`));e.style.backgroundImage=o.join(),""===e.style.backgroundImage&&(o=s.map((e=>`-webkit-image-set(${e})`)),e.style.backgroundImage=o.join()),Vn(e,t,n)})(e,t,n)},ri=(e,t,n)=>{si(e,t,n),((e,t,n)=>{const i=Xn[e.tagName];i&&(i(e,t),Un(e,t,n))})(e,t,n)},ai=(e,t,n)=>{(e=>Yn.indexOf(e.tagName)>-1)(e)?ri(e,t,n):oi(e,t,n)},li=(e,t,n)=>{e.setAttribute("loading","lazy"),si(e,t,n),((e,t)=>{const n=Xn[e.tagName];n&&n(e,t)})(e,t),En(e,_n)},ci=e=>{e.removeAttribute(an),e.removeAttribute(ln),e.removeAttribute(cn)},ui=e=>{$n(e,(e=>{Wn(e,Fn)})),Wn(e,Fn)},di={IMG:ui,IFRAME:e=>{Wn(e,Mn)},VIDEO:e=>{Pn(e,(e=>{Wn(e,Mn)})),Wn(e,Hn),e.load()},OBJECT:e=>{Wn(e,zn)}},fi=e=>{const t=di[e.tagName];t?t(e):(e=>{if(!Rn(e))return;const t=Qn(e);e.style.backgroundImage=t.backgroundImage})(e)},hi=(e,t)=>{fi(e),((e,t)=>{An(e)||Cn(e)||(Ln(e,t.class_entered),Ln(e,t.class_exited),Ln(e,t.class_applied),Ln(e,t.class_loading),Ln(e,t.class_loaded),Ln(e,t.class_error))})(e,t),xn(e),Bn(e)},pi=(e,t,n,i)=>{n.cancel_on_exit&&(e=>wn(e)===hn)(e)&&"IMG"===e.tagName&&(ni(e),(e=>{$n(e,(e=>{ci(e)})),ci(e)})(e),ui(e),Ln(e,n.class_loading),Sn(i,-1),xn(e),On(n.callback_cancel,e,t,i))},mi=(e,t,n,i)=>{const s=(e=>Tn.indexOf(wn(e))>=0)(e);En(e,"entered"),kn(e,n.class_entered),Ln(e,n.class_exited),((e,t,n)=>{t.unobserve_entered&&jn(e,n)})(e,n,i),On(n.callback_enter,e,t,i),s||ai(e,n,i)},gi=["IMG","IFRAME","VIDEO"],_i=e=>e.use_native&&"loading"in HTMLImageElement.prototype,bi=(e,t,n)=>{e.forEach((e=>(e=>e.isIntersecting||e.intersectionRatio>0)(e)?mi(e.target,e,t,n):((e,t,n,i)=>{An(e)||(kn(e,n.class_exited),pi(e,t,n,i),On(n.callback_exit,e,t,i))})(e.target,e,t,n)))},vi=(e,t)=>{en&&!_i(e)&&(t._observer=new IntersectionObserver((n=>{bi(n,e,t)}),(e=>({root:e.container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}))(e)))},yi=e=>Array.prototype.slice.call(e),wi=e=>e.container.querySelectorAll(e.elements_selector),Ei=e=>(e=>wn(e)===gn)(e),xi=(e,t)=>(e=>yi(e).filter(An))(e||wi(t)),Ai=(e,t)=>{var n;(n=wi(e),yi(n).filter(Ei)).forEach((t=>{Ln(t,e.class_error),xn(t)})),t.update()},Ci=function(e,t){const n=on(e);this._settings=n,this.loadingCount=0,vi(n,this),((e,t)=>{Gt&&(t._onlineHandler=()=>{Ai(e,t)},window.addEventListener("online",t._onlineHandler))})(n,this),this.update(t)};Ci.prototype={update:function(e){const t=this._settings,n=xi(e,t);var i,s;(In(this,n.length),!Zt&&en)?_i(t)?((e,t,n)=>{e.forEach((e=>{-1!==gi.indexOf(e.tagName)&&li(e,t,n)})),In(n,0)})(n,t,this):(i=this._observer,s=n,(e=>{e.disconnect()})(i),((e,t)=>{t.forEach((t=>{e.observe(t)}))})(i,s)):this.loadAll(n)},destroy:function(){var e;this._observer&&this._observer.disconnect(),e=this,Gt&&window.removeEventListener("online",e._onlineHandler),wi(this._settings).forEach((e=>{Bn(e)})),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){const t=this._settings;xi(e,t).forEach((e=>{jn(e,this),ai(e,t,this)}))},restoreAll:function(){const e=this._settings;wi(e).forEach((t=>{hi(t,e)}))}},Ci.load=(e,t)=>{const n=on(t);ai(e,n)},Ci.resetStatus=e=>{xn(e)},Gt&&((e,t)=>{if(t)if(t.length)for(let n,i=0;n=t[i];i+=1)rn(e,n);else rn(e,t)})(Ci,window.lazyLoadOptions);const Ti=document.querySelector("#main-nav");Ti.querySelector(".mega-toggle-block"),Ti.querySelector(".mega-menu-toggle.mega-menu-open");const Oi=Ti.querySelector("#mega-menu-primary");Oi.innerHTML=Oi.innerHTML+'<div class="list-wrapper2 list-wrapper"><button type="button" class="back-one-level"><span>Back</span></button><div class="sub-menu-wrapper"></div></div><div class="list-wrapper3 list-wrapper"><button type="button" class="back-one-level"><span>Back</span></button><div class="sub-menu-wrapper"></div></div>';const ki=Ti.querySelectorAll("li.mega-menu-item-has-children > a.mega-menu-link"),Li=Ti.querySelector(".list-wrapper2"),Di=Ti.querySelector(".list-wrapper3"),ji=Li.querySelector(".sub-menu-wrapper"),Si=Di.querySelector(".sub-menu-wrapper"),Ii=Ti.querySelectorAll(".back-one-level"),Ni="is-visible",$i="is-active";for(const e of ki)e.addEventListener("click",(function(t){const n=e.nextElementSibling;if(console.log("clicked level1Links"),n){t.preventDefault(),this.classList.add($i);const e=n.cloneNode(!0);ji.innerHTML="",ji.append(e),Li.classList.add(Ni)}}));Li.addEventListener("click",(function(e){const t=e.target,n=t.closest("a");if("a"===t.tagName.toLowerCase()&&t.nextElementSibling){const n=t.nextElementSibling;e.preventDefault(),t.classList.add($i);const i=n.cloneNode(!0);Si.innerHTML="",Si.append(i),Di.classList.add(Ni)}else if("a"===n.tagName.toLowerCase()&&n.nextElementSibling){const t=n.nextElementSibling;e.preventDefault(),n.classList.add($i);const i=t.cloneNode(!0);Si.innerHTML="",Si.append(i),Di.classList.add(Ni)}}));for(const e of Ii)e.addEventListener("click",(function(){this.closest(".list-wrapper").classList.remove(Ni)}));var Pi,Mi=(Pi=t,{init:function(){Pi(".side-menu li:has(.children) > a").addClass("has-children closed"),Pi(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened"),Pi(document).on("click",".side-menu li:has(.children) > a.has-children.closed",(function(e){return e.preventDefault(),Pi(this).removeClass("closed"),Pi(this).addClass("opened"),Pi(this).next(".children").slideDown(),!1})),Pi(document).on("click",".side-menu li:has(.children) > a.has-children.opened",(function(e){return e.preventDefault(),Pi(this).removeClass("opened"),Pi(this).addClass("closed"),Pi(this).next(".children").slideUp(),!1})),Pi(".searchandfilter ul li:contains('hidden')").hide(),Pi('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo(jQuery("#advance-search-modal .searchandfilter ul:first-child ")),Pi(document).on("click",".search-filter-reset-custom",(function(e){return e.preventDefault(),Pi(this).closest(".searchandfilter")[0].reset(),!1})),Pi(document).on("click",".advance-search-button",(function(e){Pi("#search-box-content").addClass("show"),Pi(".search-box").addClass("show"),Pi(".badge").hide()})),document.getElementById("advance-search-modal").addEventListener("hidden.bs.modal",(function(){Pi("#search-box-content").removeClass("show"),Pi(".search-box").removeClass("show"),Pi(".badge").show()})),Pi(window).width()<960&&Pi(".search-result .entry-summary").each((function(){var e=Pi(this).text();if(e.length>160){var t=e.substr(0,160);t=t.substr(0,Math.min(t.length,t.lastIndexOf(" "))),Pi(this).text(t+"...")}}))}});t(document).ready(Mi.init);var Hi=function(e){var t=window.matchMedia("(min-width: 1150px)");return e(document).on("click",".navbar-toggler",(function(){e("#navbarNavDropdown").toggleClass("show"),e(".navbar-toggler").toggleClass("active"),e("#navbarNavDropdown").hasClass("show")?e("body").addClass("locked"):e("body").removeClass("locked")})),e.fn.classChange=function(t){return e(this).each(((n,i)=>{new MutationObserver((n=>{n.forEach((n=>t&&t(n.target,e(n.target).prop(n.attributeName))))})).observe(i,{attributes:!0,attributeFilter:["class"]})}))},{init:function(){function n(){e(".donate.menu-item").append(e("#main-nav .donate-btn")),e(".navbar-toggler").after(e("#navbarNavDropdown")),e(".news-and-stories-block").each((function(){var t=e(this).find(".post-list-load-more");e(this).append(t)})),e(".mi-image-container").each((function(){var t=e(this).parentsUntil(".menu-item"),n=e(t).data("last-idx"),i=e(t).index();if(console.log(n+" "+i),n!=i){t=e(this).parents(".menu-item")[0];var s=e(this).parents(".dropdown-menu");e(s).children().eq(n).before(t)}})),e(".menu-item-11505").length>0&&(e(".menu-item-11503").parents(".dropdown-menu").find("li:last-of-type").before(e(".menu-item-11503")),e(".menu-item-11505").parents(".dropdown-menu").find("li:last-of-type").before(e(".menu-item-11505"))),e(".menu-item-15438").length>0&&(e(".menu-item-15438").parents(".dropdown-menu").find("li:last-of-type").before(e(".menu-item-15438")),e(".menu-item-15442").parents(".dropdown-menu").find("li:last-of-type").before(e(".menu-item-15442")))}function i(){var t=e("#main-menu .donate > a");e(t).hasClass("donate-btn")||e(t).addClass("donate-btn"),e("#main-nav .container").append(t),e("#wrapper-navbar").append(e("#navbarNavDropdown")),e(".news-and-stories-block").each((function(){var t=e(this).find(".post-list-load-more");e(this).prepend(t)})),LegacyCalc.mobilize(),ImageCollage.mobilize(),e(".mi-image-container").each((function(){var t=e(this).parents(".menu-item")[0];if(1!=i){var n=e(this).parents(".dropdown-menu"),i=e(n).find("li").index(t);e(t).data("last-idx",i),e(n).append(t)}})),e(".dropdown-menu").each((function(){e(this).css("height",e(this).height()+5),e(this).addClass("ready")})),e(".menu-item-11505").length>0&&(e(".menu-item-11505").parents(".dropdown-menu").prepend(e(".menu-item-11505")),e(".menu-item-11503").parents(".dropdown-menu").prepend(e(".menu-item-11503"))),e(".menu-item-15438").length>0&&(e(".menu-item-15442").parents(".dropdown-menu").prepend(e(".menu-item-15442")),e(".menu-item-15438").parents(".dropdown-menu").prepend(e(".menu-item-15438")))}e("body").classChange((function(t,n){-1!==n.indexOf("pojo-a11y-resize-font-130")&&setTimeout((function(){e(window).trigger("resize")}),500)})),t.addEventListener("change",(e=>{e.matches?n():i()})),t.matches||i()},isDesktop:function(){return t.matches}}}(t);t(document).ready(Hi.init);var Fi={alignTheSideCaptions:function(){jQuery(".side-caption").each((function(){var e=this,t=jQuery(this).find(".image-side-caption").innerHeight();Hi.isDesktop()?(jQuery(this).css("bottom",-t),setTimeout((function(){jQuery(e).addClass("ready")}),500)):jQuery(e).parent().is(".entry-header")&&!jQuery(e).parent().is(".no-photo")?(jQuery(e).css("margin-bottom",-t),t=jQuery(e).parent().find(".title-container").innerHeight(),jQuery(e).css("bottom",t),setTimeout((function(){jQuery(e).addClass("ready")}),500)):(jQuery(e).css("bottom",-t),setTimeout((function(){jQuery(e).addClass("ready")}),500))}))}};jQuery((function(e){setInterval((function(){Fi.alignTheSideCaptions()}),1e3),e(".copy-link").on("click",(function(e){e.preventDefault()}))}));var zi=function(e){return{init:function(){e(".side-menu li:has(.children) > a").addClass("has-children closed"),e(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened"),e(document).on("click",".side-menu li:has(.children) > a.has-children.closed",(function(t){return t.preventDefault(),e(this).removeClass("closed"),e(this).addClass("opened"),e(this).next(".children").slideDown(),!1})),e(document).on("click",".side-menu li:has(.children) > a.has-children.opened",(function(t){return t.preventDefault(),e(this).removeClass("opened"),e(this).addClass("closed"),e(this).next(".children").slideUp(),!1}))}}}(t);t(document).ready(zi.init),jQuery((function(e){var t=setInterval((function(){var n=!1;jQuery(".wp-block-image:not(.captionized)").each((function(){n=!0;var t=jQuery(this).find("img").width();if("0"!=t){var i=jQuery(this).find("figcaption").innerHeight();jQuery(this).find("figcaption").css("bottom",-i),0==e(".post-template-default.single").length&&jQuery(this).find(".cap-wrapper").css("width",t),jQuery(this).addClass("captionized")}})),n||clearInterval(t)}),500)})),new Ci,window.tz_checkVisible=function(e,t,n,i){t=t||"visible";var s=jQuery(window).height(),o=jQuery(window).scrollTop(),r=jQuery(e).offset().top+n,a=jQuery(e).height();return i&&(a+=i),"visible"===t?r<s+o&&r>o-a:"above"===t?r<s+o:void 0},e.Alert=T,e.Button=L,e.Carousel=P,e.Collapse=H,e.Dropdown=yt,e.Modal=Dt,e.Offcanvas=It,e.Popover=Qt,e.Scrollspy=qt,e.Tab=Vt,e.Toast=Yt,e.Tooltip=Rt}));
114 //# sourceMappingURL=child-theme.min.js.map 114 //# sourceMappingURL=child-theme.min.js.map
...\ No newline at end of file ...\ No newline at end of file
......
This diff could not be displayed because it is too large.
...@@ -38,6 +38,7 @@ var Search = (function($) { ...@@ -38,6 +38,7 @@ var Search = (function($) {
38 $(document).on("click", ".advance-search-button", function(e){ 38 $(document).on("click", ".advance-search-button", function(e){
39 $('#search-box-content').addClass('show'); 39 $('#search-box-content').addClass('show');
40 $('.search-box').addClass('show'); 40 $('.search-box').addClass('show');
41 $('.badge').hide();
41 }); 42 });
42 43
43 var myModal = document.getElementById('advance-search-modal'); 44 var myModal = document.getElementById('advance-search-modal');
...@@ -45,6 +46,7 @@ var Search = (function($) { ...@@ -45,6 +46,7 @@ var Search = (function($) {
45 myModal.addEventListener('hidden.bs.modal', function () { 46 myModal.addEventListener('hidden.bs.modal', function () {
46 $('#search-box-content').removeClass('show'); 47 $('#search-box-content').removeClass('show');
47 $('.search-box').removeClass('show'); 48 $('.search-box').removeClass('show');
49 $('.badge').show();
48 }) 50 })
49 51
50 if ($(window).width() < 960) { 52 if ($(window).width() < 960) {
......
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
21 .side-menu-page{ 21 .side-menu-page{
22 .call-out-block{ 22 .call-out-block{
23 margin-left:-75%; 23 margin-left:-75%;
24 @media(max-width: 1000px) {
25 padding-left:75%;
26 }
24 } 27 }
25 } 28 }
26 29
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
40 40
41 .admin-bar{ 41 .admin-bar{
42 #gt_float_wrapper{ 42 #gt_float_wrapper{
43 top: 30px !important; 43 top: 40px !important;
44 } 44 }
45 } 45 }
46 .gt_float_switcher .gt_options a{ 46 .gt_float_switcher .gt_options a{
......
...@@ -31,8 +31,9 @@ ...@@ -31,8 +31,9 @@
31 margin-bottom: 10px; 31 margin-bottom: 10px;
32 @media only screen and (max-width: 1000px) { 32 @media only screen and (max-width: 1000px) {
33 height: 90px; 33 height: 90px;
34 padding-top: 30px; 34 padding-top: 25px;
35 margin-bottom: 0px; 35 margin-bottom: 0px;
36
36 } 37 }
37 } 38 }
38 39
...@@ -48,9 +49,17 @@ ...@@ -48,9 +49,17 @@
48 49
49 } 50 }
50 .navbar-brand{ 51 .navbar-brand{
51 width:100px; 52 width:130px;
52 } 53 }
53 } 54 }
55 @media only screen and (max-width: 400px) {
56 .site-title{
57 font-size: 18px;
58 line-height: 24px;
59 margin-left: 0px;
60 padding-left: 15px;
61 }
62 }
54 .site{ 63 .site{
55 margin-top: 170px; 64 margin-top: 170px;
56 max-width: 100%; 65 max-width: 100%;
......
1 #main{ 1 #main{
2 position: relative; 2 position: relative;
3 z-index: 9; 3
4 .entry-content{ 4 .entry-content{
5 position: relative; 5 position: relative;
6 z-index: 9; 6
7 } 7 }
8 } 8 }
9 9
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
182 } 182 }
183 } 183 }
184 #page-wrapper{ 184 #page-wrapper{
185 margin: 10px 40px 0 40px; 185 margin: 10px 30px 0 30px;
186 @media(max-width: 768px) { 186 @media(max-width: 768px) {
187 // margin: 40px 40px 0 40px; 187 // margin: 40px 40px 0 40px;
188 } 188 }
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
75 75
76 .admin-bar{ 76 .admin-bar{
77 #pojo-a11y-toolbar{ 77 #pojo-a11y-toolbar{
78 top: 30px !important; 78 top: 40px !important;
79 } 79 }
80 } 80 }
81 81
......
...@@ -411,7 +411,7 @@ ul.sf_date_field { ...@@ -411,7 +411,7 @@ ul.sf_date_field {
411 } 411 }
412 412
413 #advance-search-modal { 413 #advance-search-modal {
414 z-index: 8; 414 z-index: 99;
415 position: fixed; 415 position: fixed;
416 margin-top: 80px; 416 margin-top: 80px;
417 @media screen and (max-width: 900px) { 417 @media screen and (max-width: 900px) {
...@@ -668,10 +668,12 @@ ul.sf_date_field { ...@@ -668,10 +668,12 @@ ul.sf_date_field {
668 } 668 }
669 669
670 #advance-search-modal{ 670 #advance-search-modal{
671
672 .sf-field-taxonomy-mlo-category, 671 .sf-field-taxonomy-mlo-category,
673 .sf-field-post-meta-file_type{ 672 .sf-field-post-meta-file_type{
674 width: 33%; 673 width: 33%;
675 display: inline-block !important; 674 display: inline-block !important;
675 @media screen and (max-width: 900px) {
676 width: 100%;
677 }
676 } 678 }
677 } 679 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
19 padding-top: 3rem; 19 padding-top: 3rem;
20 display: flex; 20 display: flex;
21 @media screen and (max-width: 950px) { 21 @media screen and (max-width: 950px) {
22 padding: 0rem 2rem; 22 margin-top: 2rem;
23 padding: 0rem 40px;
23 } 24 }
24 25
25 #main { 26 #main {
......