ea12a50d by Jeff Balicki

Search results

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 58da27e2
......@@ -16566,62 +16566,6 @@ html:lang(fr-FR) .fr-only {
display: inline-block !important;
}
.search-results .search-field {
border: 0;
border-bottom: 1px solid #707070;
border-radius: 0;
}
.search-results #content {
padding: 2.5rem 0;
padding-top: 1rem;
}
.pagination {
justify-content: center;
margin-top: 1rem;
}
.pagination .page-item {
border: 0;
display: flex;
align-items: center;
}
.pagination .page-item .page-link {
color: #000000;
margin-left: 0;
border: 0;
font-family: "PT Sans", sans-serif;
}
.pagination .page-item .page-link:hover {
text-decoration: underline;
background: none;
}
.pagination .page-item .page-link.next, .pagination .page-item .page-link.prev {
color: transparent;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.095' height='15' viewBox='0 0 9.095 15'%3E%3Cpath id='Path_1369' data-name='Path 1369' d='M7.515 3.553c.52.526 1.03 1.048 1.546 1.564q1.857 1.856 3.718 3.708a.834.834 0 0 0 1.232 0c.236-.242.477-.479.716-.718a.817.817 0 0 0 0-1.222L11.379 3.538Q9.758 1.915 8.138.29A.9.9 0 0 0 7.532 0a.864.864 0 0 0-.667.288Q5.614 1.544 4.363 2.8L.956 6.207c-.232.232-.465.463-.7.7A.812.812 0 0 0 .269 8.1l.71.71a.833.833 0 0 0 1.25 0l3.016-3L7.429 3.634Z' transform='translate(9.095 0) rotate(90)'/%3E%3C/svg%3E");
height: 0.938rem;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.pagination .page-item .page-link.next:hover, .pagination .page-item .page-link.prev:hover {
background: none;
text-decoration: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.095' height='15' viewBox='0 0 9.095 15'%3E%3Cpath id='Path_1369' data-name='Path 1369' d='M7.515 3.553c.52.526 1.03 1.048 1.546 1.564q1.857 1.856 3.718 3.708a.834.834 0 0 0 1.232 0c.236-.242.477-.479.716-.718a.817.817 0 0 0 0-1.222L11.379 3.538Q9.758 1.915 8.138.29A.9.9 0 0 0 7.532 0a.864.864 0 0 0-.667.288Q5.614 1.544 4.363 2.8L.956 6.207c-.232.232-.465.463-.7.7A.812.812 0 0 0 .269 8.1l.71.71a.833.833 0 0 0 1.25 0l3.016-3L7.429 3.634Z' transform='translate(9.095 0) rotate(90)' fill='%23699'/%3E%3C/svg%3E");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.pagination .page-item .page-link.prev {
transform: rotate(180deg);
}
.pagination .page-item.active .page-link {
font-family: "PT Sans", sans-serif;
font-weight: bold;
}
.pagination .page-item.active .page-link:hover {
text-decoration: none;
}
.sh1 {
font-weight: 700;
line-height: 24px !important;
......@@ -16636,72 +16580,10 @@ html:lang(fr-FR) .fr-only {
}
}
#search-wrapper {
margin-top: 1rem;
padding-top: 3rem;
display: flex;
}
@media screen and (max-width: 950px) {
#search-wrapper {
padding: 0rem 2rem;
}
}
#search-wrapper .searchandfilter {
width: calc(100% - 50px);
display: inline-block;
}
#search-wrapper #main > article {
padding: 2rem 0;
border-top: 1px solid #bebebe;
display: flex;
}
#search-wrapper #main > article .photo {
min-width: 18.375rem;
min-height: 12.375rem;
max-width: 18.375rem;
max-height: 12.375rem;
}
#search-wrapper #main > article .photo img {
-o-object-fit: cover;
object-fit: cover;
-o-object-position: center;
object-position: center;
height: 100%;
width: 100%;
}
#search-wrapper #main > article a {
gap: 1.5rem;
display: flex;
color: #000000;
text-decoration: none;
flex-direction: row;
}
#search-wrapper #main > article a:hover h2.entry-title, #search-wrapper #main > article a:hover .entry-title.h2 {
text-decoration: underline;
}
#search-wrapper #main > article .entry-header {
height: auto !important;
}
#search-wrapper #main > article h2.entry-title, #search-wrapper #main > article .entry-title.h2 {
margin-top: 0 !important;
font-size: 1.25rem !important;
font-family: "PT Sans", sans-serif;
font-weight: bold;
}
@media screen and (max-width: 768px) {
#search-wrapper #main > article h2.entry-title, #search-wrapper #main > article .entry-title.h2 {
font-size: 1rem !important;
line-height: 1.25rem !important;
}
}
#search-wrapper #main > article .entry-summary p {
color: #4d4d4d;
font-size: 1rem;
font-family: "PT Sans", sans-serif;
}
#search-wrapper #main .understrap-read-more-link {
display: none;
}
#search-wrapper .search-field {
border: 0;
border-bottom: 1px solid #707070;
......@@ -16793,10 +16675,6 @@ html:lang(fr-FR) .fr-only {
overflow: hidden;
}
}
#search-wrapper #main {
display: flex;
flex-direction: column;
}
#search-wrapper .searchandfilter ul {
padding-left: 0px;
}
......@@ -16817,6 +16695,7 @@ html:lang(fr-FR) .fr-only {
color: #000;
padding: 5px 14px;
text-decoration: none;
margin-top: 2px;
}
@media screen and (max-width: 1450px) {
#search-wrapper .search-filter-reset {
......@@ -17106,6 +16985,168 @@ ul.sf_date_field .sf-datepicker {
width: 50px !important;
}
.search-results .search-field {
border: 0;
border-bottom: 1px solid #707070;
border-radius: 0;
}
.search-results #content {
padding: 2.5rem 0;
padding-top: 1rem;
}
#search-wrapper {
margin-top: 1rem;
padding-top: 3rem;
display: flex;
}
@media screen and (max-width: 950px) {
#search-wrapper {
padding: 0rem 2rem;
}
}
#search-wrapper #main {
display: flex;
flex-direction: column;
}
#search-wrapper #main > article {
padding: 2rem 0;
border-top: 1px solid #bebebe;
display: flex;
}
#search-wrapper #main > article .photo {
min-width: 18.375rem;
min-height: 12.375rem;
max-width: 18.375rem;
max-height: 12.375rem;
}
#search-wrapper #main > article .photo img {
-o-object-fit: cover;
object-fit: cover;
-o-object-position: center;
object-position: center;
height: 100%;
width: 100%;
}
#search-wrapper #main > article a {
gap: 1.5rem;
display: flex;
color: #000000;
text-decoration: none;
flex-direction: row;
}
#search-wrapper #main > article a:hover h2.entry-title, #search-wrapper #main > article a:hover .entry-title.h2 {
text-decoration: underline;
}
#search-wrapper #main > article a[href$=".pdf"] h2:before, #search-wrapper #main > article a[href$=".pdf"] .h2:before {
content: "";
width: 1.313rem;
height: 1.5rem;
background-image: url("data:image/svg+xml,%3Csvg id='Group_1127' data-name='Group 1127' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='21.409' height='24.169' viewBox='0 0 21.409 24.169'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_180' data-name='Rectangle 180' width='21.409' height='24.169' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_1126' data-name='Group 1126' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1363' data-name='Path 1363' d='M18.646 24.169H2.779c-.037-.013-.074-.029-.112-.039a.943.943 0 0 1-.657-.6 1.009 1.009 0 0 1-.057-.365q0-2.321 0-4.641V18.39H1.84c-.164 0-.329 0-.493 0A1.354 1.354 0 0 1 .038 17.265.992.992 0 0 0 0 17.141V9.892a.757.757 0 0 0 .035-.114A1.352 1.352 0 0 1 1.392 8.64c.158 0 .315 0 .473 0 .026 0 .052 0 .088-.007V1.079c0-.05 0-.1 0-.151a.952.952 0 0 1 .609-.87A1.084 1.084 0 0 1 2.967 0H14.343a.468.468 0 0 1 .366.161c.032.034.063.07.094.105Q17.05 2.834 19.3 5.4a.667.667 0 0 1 .183.473c0 .03 0 .06 0 .091V8.64h.111c.164 0 .329-.005.493 0a1.326 1.326 0 0 1 1.21.8 1.294 1.294 0 0 1 .112.587q0 2.034 0 4.067 0 1.445 0 2.889a1.732 1.732 0 0 1-.013.291 1.351 1.351 0 0 1-1.323 1.118c-.164 0-.329 0-.493 0-.029 0-.058 0-.095.005v.137q0 2.285 0 4.571c0 .064 0 .128-.007.191a.947.947 0 0 1-.707.835c-.042.011-.082.026-.124.04M2.906.95V8.635H18.52c.023-.106.019-2.289 0-2.369H14.451c-.037 0-.074 0-.111 0a.475.475 0 0 1-.459-.4.952.952 0 0 1-.006-.151q0-2.316 0-4.631V.95Zm0 22H18.528V18.4H2.9Zm5.376-5.727c.041.007.073.014.106.017.274.023.548.051.822.066a11.306 11.306 0 0 0 1.769-.021A5.79 5.79 0 0 0 12.311 17a3.08 3.08 0 0 0 1.978-1.948 4.442 4.442 0 0 0 .159-2.361 2.9 2.9 0 0 0-.577-1.281 3.15 3.15 0 0 0-1.6-1.051 5.884 5.884 0 0 0-1.619-.222 15.609 15.609 0 0 0-1.93.083c-.149.016-.3.039-.447.06ZM3.764 14.73a4.907 4.907 0 0 0 .945.015 3.685 3.685 0 0 0 1.162-.262 2.171 2.171 0 0 0 .976-.749 2.344 2.344 0 0 0 .384-1.706 1.96 1.96 0 0 0-1.308-1.654 3.711 3.711 0 0 0-1.249-.234 14.1 14.1 0 0 0-2.249.1c-.082.01-.163.027-.241.04v6.974H3.764ZM19.9 10.192c-.156-.022-4.245-.014-4.314.006v7.051c.133.019 1.517.014 1.6-.007V15.364q0-.237 0-.473c0-.156 0-.313 0-.477h1.695c.141 0 .282 0 .423 0s.279.006.416 0v-1.3H17.2c-.021-.19-.012-1.539.012-1.62H19.9Z' transform='translate(0 0)' fill='%231a1818'/%3E%3Cpath id='Path_1364' data-name='Path 1364' d='M162.156 186.274c.116-.015.228-.033.341-.042a3.327 3.327 0 0 1 1.129.076 1.818 1.818 0 0 1 1.39 1.425 3.261 3.261 0 0 1-.092 1.835 1.922 1.922 0 0 1-1.422 1.283 3.15 3.15 0 0 1-.848.088c-.164 0-.328-.011-.5-.016Z' transform='translate(-152.266 -174.859)' fill='%231a1818'/%3E%3Cpath id='Path_1365' data-name='Path 1365' d='M61.758 188.026v-2.1c.042-.009.083-.022.125-.027a2.629 2.629 0 0 1 1.038.028 1.092 1.092 0 0 1 .378.181.894.894 0 0 1 .346.582 1.233 1.233 0 0 1-.006.46 1.045 1.045 0 0 1-.786.829 2.131 2.131 0 0 1-.757.073c-.11-.006-.22-.019-.338-.03' transform='translate(-57.991 -174.529)' fill='%231a1818'/%3E%3C/g%3E%3C/svg%3E");
background-size: contain;
display: inline-block;
position: relative;
top: 5px;
left: -0.5rem;
}
#search-wrapper #main > article a[href$=".doc"] h2:before, #search-wrapper #main > article a[href$=".doc"] .h2:before,
#search-wrapper #main > article a[href$=".docx"] h2:before,
#search-wrapper #main > article a[href$=".docx"] .h2:before {
content: "";
width: 1.313rem;
height: 1.5rem;
background-repeat: no-repeat;
background-image: url('data:image/svg+xml,<svg id="Group_1918" data-name="Group 1918" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.95" height="20.264" viewBox="0 0 17.95 20.264"><defs><clipPath id="clip-path"><rect id="Rectangle_268" data-name="Rectangle 268" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1918-2" data-name="Group 1918" clip-path="url(%23clip-path)"><path id="Path_1519" data-name="Path 1519" d="M64.535,186.442l.166.008.118,0a1.607,1.607,0,0,0,.761-.162,1.293,1.293,0,0,0,.481-.43,1.73,1.73,0,0,0,.248-.619,3.63,3.63,0,0,0,.071-.722,3.436,3.436,0,0,0-.063-.651,1.633,1.633,0,0,0-.233-.588,1.313,1.313,0,0,0-.462-.426,1.488,1.488,0,0,0-.742-.166q-.174,0-.351.008a2.153,2.153,0,0,0-.264.024v3.7a.621.621,0,0,0,.106.012l.162.008" transform="translate(-60.981 -173.349)" fill="%231a1818"/><path id="Path_1520" data-name="Path 1520" d="M163.9,182.626a1.089,1.089,0,0,0-.371-.406,1.11,1.11,0,0,0-1.452.316,2.608,2.608,0,0,0-.316,1.448,3.882,3.882,0,0,0,.071.769,1.983,1.983,0,0,0,.217.6,1.1,1.1,0,0,0,.375.394,1.011,1.011,0,0,0,.544.142,1.026,1.026,0,0,0,.892-.45,2.6,2.6,0,0,0,.316-1.46,3.958,3.958,0,0,0-.067-.749,2.092,2.092,0,0,0-.209-.607" transform="translate(-153.494 -172.763)" fill="%231a1818"/><path id="Path_1521" data-name="Path 1521" d="M17.95,8.4a1.085,1.085,0,0,0-.094-.492,1.112,1.112,0,0,0-1.014-.667c-.138-.006-.276,0-.414,0h-.093V5c0-.025,0-.051,0-.076a.559.559,0,0,0-.154-.4Q14.293,2.378,12.41.223c-.026-.03-.051-.06-.078-.088A.392.392,0,0,0,12.025,0H2.487a.907.907,0,0,0-.34.049.8.8,0,0,0-.51.729c0,.042,0,.084,0,.127V7.238c-.03,0-.052.006-.074.006-.132,0-.264,0-.4,0A1.134,1.134,0,0,0,.03,8.2a.633.633,0,0,1-.03.1v6.078a.835.835,0,0,1,.032.1,1.136,1.136,0,0,0,1.1.942c.138,0,.276,0,.414,0h.094v.113q0,1.946,0,3.891a.845.845,0,0,0,.048.306.79.79,0,0,0,.551.5c.032.009.063.022.094.033h13.3c.035-.011.069-.024.1-.033a.794.794,0,0,0,.593-.7c0-.053.006-.107.006-.16q0-1.916,0-3.832v-.115c.03,0,.055,0,.079,0h.414a1.132,1.132,0,0,0,1.11-.937,1.452,1.452,0,0,0,.011-.244q0-1.211,0-2.423,0-1.705,0-3.41M2.437.8h9.2V.905q0,1.941,0,3.883a.792.792,0,0,0,.005.126.4.4,0,0,0,.385.339c.031,0,.062,0,.093,0h3.407c.02.067.024,1.9,0,1.986H2.437ZM11.823,11.22a3.273,3.273,0,0,1-.611,2.126,2.113,2.113,0,0,1-1.732.746,2.453,2.453,0,0,1-1.041-.205,1.913,1.913,0,0,1-.73-.584,2.591,2.591,0,0,1-.43-.907,4.529,4.529,0,0,1-.142-1.176,3.287,3.287,0,0,1,.608-2.126,2.11,2.11,0,0,1,1.736-.745,2.434,2.434,0,0,1,1.034.205,1.948,1.948,0,0,1,.734.584,2.553,2.553,0,0,1,.434.907,4.53,4.53,0,0,1,.142,1.175M2.206,13.989V8.459q.166-.024.375-.039T3.01,8.4q.221-.008.43-.012t.375,0a3.424,3.424,0,0,1,1.254.205,2.135,2.135,0,0,1,.844.576,2.311,2.311,0,0,1,.473.884,4.013,4.013,0,0,1,.15,1.128,4.087,4.087,0,0,1-.142,1.081,2.445,2.445,0,0,1-.473.923,2.373,2.373,0,0,1-.872.647,3.241,3.241,0,0,1-1.337.245q-.126,0-.335-.008t-.434-.02l-.43-.024q-.205-.012-.308-.028m13.329,5.253H2.435V15.424h13.1Zm.158-5.229a4.067,4.067,0,0,1-.8.078,2.869,2.869,0,0,1-.943-.154,2.016,2.016,0,0,1-.785-.5,2.443,2.443,0,0,1-.54-.892,3.875,3.875,0,0,1-.2-1.329,3.6,3.6,0,0,1,.225-1.361,2.469,2.469,0,0,1,.584-.884,2.155,2.155,0,0,1,.8-.481,2.8,2.8,0,0,1,.884-.146,4.316,4.316,0,0,1,.8.063,2.935,2.935,0,0,1,.54.15l-.213.915a1.569,1.569,0,0,0-.43-.126,3.935,3.935,0,0,0-.6-.039,1.317,1.317,0,0,0-1.053.466,2.193,2.193,0,0,0-.4,1.447,2.994,2.994,0,0,0,.095.779,1.676,1.676,0,0,0,.288.6,1.327,1.327,0,0,0,.481.387,1.523,1.523,0,0,0,.667.138,2.178,2.178,0,0,0,.6-.071,1.758,1.758,0,0,0,.426-.181l.221.878a1.656,1.656,0,0,1-.643.258" fill="%231a1818"/></g></svg>');
background-size: contain;
display: inline-block;
position: relative;
top: 5px;
left: -0.5rem;
}
#search-wrapper #main > article a[href$=".xls"] h2:before, #search-wrapper #main > article a[href$=".xls"] .h2:before,
#search-wrapper #main > article a[href$=".xlsx"] h2:before,
#search-wrapper #main > article a[href$=".xlsx"] .h2:before {
content: "";
width: 1.313rem;
height: 1.5rem;
background-repeat: no-repeat;
background-size: contain;
background-image: url('data:image/svg+xml,<svg id="Group_1924" data-name="Group 1924" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.95" height="20.264" viewBox="0 0 17.95 20.264"><defs><clipPath id="clip-path"><rect id="Rectangle_269" data-name="Rectangle 269" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1924-2" data-name="Group 1924" clip-path="url(%23clip-path)"><path id="Path_1522" data-name="Path 1522" d="M17.95,8.4a1.085,1.085,0,0,0-.094-.492,1.112,1.112,0,0,0-1.014-.667c-.138-.006-.276,0-.414,0h-.093V5c0-.025,0-.051,0-.076a.56.56,0,0,0-.154-.4Q14.293,2.377,12.41.222c-.026-.03-.051-.06-.078-.088A.392.392,0,0,0,12.025,0H2.487a.909.909,0,0,0-.34.049.8.8,0,0,0-.51.729c0,.042,0,.084,0,.127V7.237c-.03,0-.052.006-.073.006-.132,0-.265,0-.4,0A1.134,1.134,0,0,0,.03,8.2a.628.628,0,0,1-.03.1v6.078a.824.824,0,0,1,.032.1,1.135,1.135,0,0,0,1.1.942c.138,0,.276,0,.414,0h.094v.113q0,1.946,0,3.891a.845.845,0,0,0,.048.306.791.791,0,0,0,.551.5c.032.009.063.022.094.033h13.3c.034-.011.068-.024.1-.033a.794.794,0,0,0,.593-.7c0-.053.006-.107.006-.16q0-1.916,0-3.832v-.115c.03,0,.055,0,.079,0h.414a1.132,1.132,0,0,0,1.11-.937,1.447,1.447,0,0,0,.011-.244q0-1.211,0-2.423,0-1.705,0-3.41M15.534,19.241H2.435V15.423h13.1ZM2.6,8.458H3.9l.852,1.594.189.56.181-.56.891-1.594H7.188L5.594,11.117,7.267,13.98H5.981l-.97-1.7L4.8,11.693l-.205.584-.978,1.7H2.438l1.7-2.809Zm8.725,4.56v.962H7.827V8.458H8.908v4.56Zm2.757-.931a2.045,2.045,0,0,0-.465-.288q-.28-.13-.607-.268a3.1,3.1,0,0,1-.607-.339,1.726,1.726,0,0,1-.465-.5,1.433,1.433,0,0,1-.185-.765,1.678,1.678,0,0,1,.134-.7,1.31,1.31,0,0,1,.383-.493,1.646,1.646,0,0,1,.588-.292,2.816,2.816,0,0,1,.757-.095,4.75,4.75,0,0,1,.907.083,2.308,2.308,0,0,1,.7.241l-.339.907a1.9,1.9,0,0,0-.521-.2,2.961,2.961,0,0,0-.749-.091.959.959,0,0,0-.58.15.476.476,0,0,0-.2.4.5.5,0,0,0,.185.394,2.138,2.138,0,0,0,.466.292q.28.134.607.276a3.263,3.263,0,0,1,.607.343,1.752,1.752,0,0,1,.465.5,1.366,1.366,0,0,1,.185.738,1.821,1.821,0,0,1-.146.761,1.444,1.444,0,0,1-.41.533,1.735,1.735,0,0,1-.639.316,3.122,3.122,0,0,1-.824.1,4.392,4.392,0,0,1-1.041-.111,3.18,3.18,0,0,1-.663-.221l.347-.923a2.123,2.123,0,0,0,.225.1,2.866,2.866,0,0,0,.312.1,3.571,3.571,0,0,0,.367.079,2.466,2.466,0,0,0,.4.032,1.389,1.389,0,0,0,.738-.162.543.543,0,0,0,.256-.493.514.514,0,0,0-.185-.41m1.449-4.848H2.437V.8h9.2V.9q0,1.941,0,3.883a.792.792,0,0,0,.005.126.4.4,0,0,0,.385.339c.031,0,.062,0,.093,0h3.407c.02.067.024,1.9,0,1.986" transform="translate(0 0.001)" fill="%231a1818"/></g></svg>');
display: inline-block;
position: relative;
top: 5px;
left: -0.5rem;
}
#search-wrapper #main > article .entry-header {
height: auto !important;
}
#search-wrapper #main > article h2.entry-title, #search-wrapper #main > article .entry-title.h2 {
margin-top: 0 !important;
font-size: 1.25rem !important;
font-family: "PT Sans", sans-serif;
font-weight: bold;
}
@media screen and (max-width: 768px) {
#search-wrapper #main > article h2.entry-title, #search-wrapper #main > article .entry-title.h2 {
font-size: 1rem !important;
line-height: 1.25rem !important;
}
}
#search-wrapper #main > article .entry-summary p {
color: #4d4d4d;
font-size: 1rem;
font-family: "PT Sans", sans-serif;
}
#search-wrapper #main .understrap-read-more-link {
display: none;
}
#search-wrapper .pagination {
justify-content: center;
margin-top: 1rem;
}
#search-wrapper .pagination .page-item {
border: 0;
display: flex;
align-items: center;
}
#search-wrapper .pagination .page-item .page-link {
color: #000000;
margin-left: 0;
border: 0;
font-family: "PT Sans", sans-serif;
}
#search-wrapper .pagination .page-item .page-link:hover {
text-decoration: underline;
background: none;
}
#search-wrapper .pagination .page-item .page-link.next, #search-wrapper .pagination .page-item .page-link.prev {
color: transparent;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.095' height='15' viewBox='0 0 9.095 15'%3E%3Cpath id='Path_1369' data-name='Path 1369' d='M7.515 3.553c.52.526 1.03 1.048 1.546 1.564q1.857 1.856 3.718 3.708a.834.834 0 0 0 1.232 0c.236-.242.477-.479.716-.718a.817.817 0 0 0 0-1.222L11.379 3.538Q9.758 1.915 8.138.29A.9.9 0 0 0 7.532 0a.864.864 0 0 0-.667.288Q5.614 1.544 4.363 2.8L.956 6.207c-.232.232-.465.463-.7.7A.812.812 0 0 0 .269 8.1l.71.71a.833.833 0 0 0 1.25 0l3.016-3L7.429 3.634Z' transform='translate(9.095 0) rotate(90)'/%3E%3C/svg%3E");
height: 0.938rem;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
#search-wrapper .pagination .page-item .page-link.next:hover, #search-wrapper .pagination .page-item .page-link.prev:hover {
background: none;
text-decoration: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.095' height='15' viewBox='0 0 9.095 15'%3E%3Cpath id='Path_1369' data-name='Path 1369' d='M7.515 3.553c.52.526 1.03 1.048 1.546 1.564q1.857 1.856 3.718 3.708a.834.834 0 0 0 1.232 0c.236-.242.477-.479.716-.718a.817.817 0 0 0 0-1.222L11.379 3.538Q9.758 1.915 8.138.29A.9.9 0 0 0 7.532 0a.864.864 0 0 0-.667.288Q5.614 1.544 4.363 2.8L.956 6.207c-.232.232-.465.463-.7.7A.812.812 0 0 0 .269 8.1l.71.71a.833.833 0 0 0 1.25 0l3.016-3L7.429 3.634Z' transform='translate(9.095 0) rotate(90)' fill='%23699'/%3E%3C/svg%3E");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
#search-wrapper .pagination .page-item .page-link.prev {
transform: rotate(180deg);
}
#search-wrapper .pagination .page-item.active .page-link {
font-family: "PT Sans", sans-serif;
font-weight: bold;
background-color: #fff;
}
#search-wrapper .pagination .page-item.active .page-link:hover {
text-decoration: none;
}
.home-header {
position: relative;
height: 100%;
......
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.
<?php
/**
* Disable Comments
*/
// Disable support for comments and trackbacks in post types
function df_disable_comments_post_types_support() {
$post_types = get_post_types();
foreach ($post_types as $post_type) {
if(post_type_supports($post_type, 'comments')) {
remove_post_type_support($post_type, 'comments');
remove_post_type_support($post_type, 'trackbacks');
}
}
// register_taxonomy('post_tag', array());
// register_taxonomy('category', array());
}
add_action('admin_init', 'df_disable_comments_post_types_support');
// Close comments on the front-end
function df_disable_comments_status() {
return false;
}
add_filter('comments_open', 'df_disable_comments_status', 20, 2);
add_filter('pings_open', 'df_disable_comments_status', 20, 2);
// Hide existing comments
function df_disable_comments_hide_existing_comments($comments) {
$comments = array();
return $comments;
}
add_filter('comments_array', 'df_disable_comments_hide_existing_comments', 10, 2);
// Remove comments page in menu
function df_disable_comments_admin_menu() {
remove_menu_page('edit-comments.php');
}
add_action('admin_menu', 'df_disable_comments_admin_menu');
// Redirect any user trying to access comments page
function df_disable_comments_admin_menu_redirect() {
global $pagenow;
if ($pagenow === 'edit-comments.php') {
wp_redirect(admin_url()); exit;
}
}
add_action('admin_init', 'df_disable_comments_admin_menu_redirect');
// Remove comments metabox from dashboard
function df_disable_comments_dashboard() {
remove_meta_box('dashboard_recent_comments', 'dashboard', 'normal');
}
add_action('admin_init', 'df_disable_comments_dashboard');
// Remove comments links from admin bar
function df_disable_comments_admin_bar() {
if (is_admin_bar_showing()) {
remove_action('admin_bar_menu', 'wp_admin_bar_comments_menu', 60);
}
}
add_action('init', 'df_disable_comments_admin_bar');
if(isset($_GET['setf'])) {
setFeaturedImage();
}
\ No newline at end of file
......@@ -5,3 +5,4 @@ require_once 'hooks-filters.php';
require_once 'breadcrumb.php';
require_once 'shortcodes.php';
require_once 'search-extras.php';
require_once 'disable-comments.php';
......
......@@ -4,8 +4,8 @@
* Licensed under GPL-3.0 (undefined)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('._menu_mobile'), require('._search')) :
typeof define === 'function' && define.amd ? define(['exports', '._menu_mobile', '._search'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.understrap = {}));
})(this, (function (exports) { 'use strict';
......@@ -6743,90 +6743,699 @@
}
})();
// Add your custom JS here.
const runningOnBrowser = typeof window !== "undefined";
const isBot = runningOnBrowser && !("onscroll" in window) || typeof navigator !== "undefined" && /(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent);
const supportsIntersectionObserver = runningOnBrowser && "IntersectionObserver" in window;
const supportsClassList = runningOnBrowser && "classList" in document.createElement("p");
const isHiDpi = runningOnBrowser && window.devicePixelRatio > 1;
const defaultSettings = {
elements_selector: ".lazy",
container: isBot || runningOnBrowser ? 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: true,
unobserve_entered: false,
cancel_on_exit: true,
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: false,
restore_on_error: false
};
const getExtendedSettings = customSettings => {
return Object.assign({}, defaultSettings, customSettings);
};
//import "./_header_menu";
var addstuff = '<div class="list-wrapper2 list-wrapper"><button type="button" class="back-one-level"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path d="M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z"/></svg><span>Back</span></button><div class="sub-menu-wrapper"></div></div><div class="list-wrapper3 list-wrapper"><button type="button" class="back-one-level"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path d="M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z"/></svg><span>Back</span></button><div class="sub-menu-wrapper"></div></div>';
const pageHeader = document.querySelector("#main-nav");
const toggleMenu = pageHeader.querySelector(".mega-toggle-block");
const menuWrapper = pageHeader.querySelector("#mega-menu-primary");
menuWrapper.innerHTML = menuWrapper.innerHTML + addstuff;
const level1Links = pageHeader.querySelectorAll("li.mega-menu-item-has-children > a.mega-menu-link");
const listWrapper2 = pageHeader.querySelector(".list-wrapper2");
const listWrapper3 = pageHeader.querySelector(".list-wrapper3");
const subMenuWrapper2 = listWrapper2.querySelector(".sub-menu-wrapper");
const subMenuWrapper3 = listWrapper3.querySelector(".sub-menu-wrapper");
const backOneLevelBtns = pageHeader.querySelectorAll(".back-one-level");
const isVisibleClass = "is-visible";
const isActiveClass = "is-active";
toggleMenu.addEventListener("click", function () {
menuWrapper.classList.toggle(isVisibleClass);
if (!this.classList.contains(isVisibleClass)) {
listWrapper2.classList.remove(isVisibleClass);
listWrapper3.classList.remove(isVisibleClass);
const menuLinks = menuWrapper.querySelectorAll("a");
for (const menuLink of menuLinks) {
menuLink.classList.remove(isActiveClass);
/* Creates instance and notifies it through the window element */
const createInstance = function (classObj, options) {
let event;
const eventString = "LazyLoad::Initialized";
const instance = new classObj(options);
try {
// Works in modern browsers
event = new CustomEvent(eventString, {
detail: {
instance
}
});
} catch (err) {
// Works in Internet Explorer (all versions)
event = document.createEvent("CustomEvent");
event.initCustomEvent(eventString, false, false, {
instance
});
}
window.dispatchEvent(event);
};
/* Auto initialization of one or more instances of lazyload, depending on the
options passed in (plain object or an array) */
const autoInitialize = (classObj, options) => {
if (!options) {
return;
}
if (!options.length) {
// Plain object
createInstance(classObj, options);
} else {
// Array of objects
for (let i = 0, optionsItem; optionsItem = options[i]; i += 1) {
createInstance(classObj, optionsItem);
}
}
});
for (const level1Link of level1Links) {
level1Link.addEventListener("click", function (e) {
const siblingList = level1Link.nextElementSibling;
console.log('clicked level1Links');
if (siblingList) {
e.preventDefault();
this.classList.add(isActiveClass);
const cloneSiblingList = siblingList.cloneNode(true);
subMenuWrapper2.innerHTML = "";
subMenuWrapper2.append(cloneSiblingList);
listWrapper2.classList.add(isVisibleClass);
};
const SRC = "src";
const SRCSET = "srcset";
const SIZES = "sizes";
const POSTER = "poster";
const ORIGINALS = "llOriginalAttrs";
const DATA = "data";
const statusLoading = "loading";
const statusLoaded = "loaded";
const statusApplied = "applied";
const statusEntered = "entered";
const statusError = "error";
const statusNative = "native";
const dataPrefix = "data-";
const statusDataName = "ll-status";
const getData = (element, attribute) => {
return element.getAttribute(dataPrefix + attribute);
};
const setData = (element, attribute, value) => {
var attrName = dataPrefix + attribute;
if (value === null) {
element.removeAttribute(attrName);
return;
}
element.setAttribute(attrName, value);
};
const getStatus = element => getData(element, statusDataName);
const setStatus = (element, status) => setData(element, statusDataName, status);
const resetStatus = element => setStatus(element, null);
const hasEmptyStatus = element => getStatus(element) === null;
const hasStatusLoading = element => getStatus(element) === statusLoading;
const hasStatusError = element => getStatus(element) === statusError;
const hasStatusNative = element => getStatus(element) === statusNative;
const statusesAfterLoading = [statusLoading, statusLoaded, statusApplied, statusError];
const hadStartedLoading = element => statusesAfterLoading.indexOf(getStatus(element)) >= 0;
const safeCallback = (callback, arg1, arg2, arg3) => {
if (!callback) {
return;
}
if (arg3 !== undefined) {
callback(arg1, arg2, arg3);
return;
}
if (arg2 !== undefined) {
callback(arg1, arg2);
return;
}
callback(arg1);
};
const addClass = (element, className) => {
if (supportsClassList) {
element.classList.add(className);
return;
}
element.className += (element.className ? " " : "") + className;
};
const removeClass = (element, className) => {
if (supportsClassList) {
element.classList.remove(className);
return;
}
element.className = element.className.replace(new RegExp("(^|\\s+)" + className + "(\\s+|$)"), " ").replace(/^\s+/, "").replace(/\s+$/, "");
};
const addTempImage = element => {
element.llTempImage = document.createElement("IMG");
};
const deleteTempImage = element => {
delete element.llTempImage;
};
const getTempImage = element => element.llTempImage;
const unobserve = (element, instance) => {
if (!instance) return;
const observer = instance._observer;
if (!observer) return;
observer.unobserve(element);
};
const resetObserver = observer => {
observer.disconnect();
};
const unobserveEntered = (element, settings, instance) => {
if (settings.unobserve_entered) unobserve(element, instance);
};
const updateLoadingCount = (instance, delta) => {
if (!instance) return;
instance.loadingCount += delta;
};
const decreaseToLoadCount = instance => {
if (!instance) return;
instance.toLoadCount -= 1;
};
const setToLoadCount = (instance, value) => {
if (!instance) return;
instance.toLoadCount = value;
};
const isSomethingLoading = instance => instance.loadingCount > 0;
const haveElementsToLoad = instance => instance.toLoadCount > 0;
const getSourceTags = parentTag => {
let sourceTags = [];
for (let i = 0, childTag; childTag = parentTag.children[i]; i += 1) {
if (childTag.tagName === "SOURCE") {
sourceTags.push(childTag);
}
});
}
listWrapper2.addEventListener("click", function (e) {
const target = e.target;
const parent = target.closest("a");
if (target.tagName.toLowerCase() === "a" && target.nextElementSibling) {
const siblingList = target.nextElementSibling;
e.preventDefault();
target.classList.add(isActiveClass);
const cloneSiblingList = siblingList.cloneNode(true);
subMenuWrapper3.innerHTML = "";
subMenuWrapper3.append(cloneSiblingList);
listWrapper3.classList.add(isVisibleClass);
} else if (parent.tagName.toLowerCase() === "a" && parent.nextElementSibling) {
const siblingList = parent.nextElementSibling;
e.preventDefault();
parent.classList.add(isActiveClass);
const cloneSiblingList = siblingList.cloneNode(true);
subMenuWrapper3.innerHTML = "";
subMenuWrapper3.append(cloneSiblingList);
listWrapper3.classList.add(isVisibleClass);
}
});
for (const backOneLevelBtn of backOneLevelBtns) {
backOneLevelBtn.addEventListener("click", function () {
const parent = this.closest(".list-wrapper");
parent.classList.remove(isVisibleClass);
// parent.previousElementSibling
// .querySelector(".is-active")
// .classList.remove(isActiveClass);
return sourceTags;
};
const forEachPictureSource = (element, fn) => {
const parent = element.parentNode;
if (!parent || parent.tagName !== "PICTURE") {
return;
}
let sourceTags = getSourceTags(parent);
sourceTags.forEach(fn);
};
const forEachVideoSource = (element, fn) => {
let sourceTags = getSourceTags(element);
sourceTags.forEach(fn);
};
const attrsSrc = [SRC];
const attrsSrcPoster = [SRC, POSTER];
const attrsSrcSrcsetSizes = [SRC, SRCSET, SIZES];
const attrsData = [DATA];
const hasOriginalAttrs = element => !!element[ORIGINALS];
const getOriginalAttrs = element => element[ORIGINALS];
const deleteOriginalAttrs = element => delete element[ORIGINALS];
// ## SAVE ##
const setOriginalsObject = (element, attributes) => {
if (hasOriginalAttrs(element)) {
return;
}
const originals = {};
attributes.forEach(attribute => {
originals[attribute] = element.getAttribute(attribute);
});
}
element[ORIGINALS] = originals;
};
const saveOriginalBackgroundStyle = element => {
if (hasOriginalAttrs(element)) {
return;
}
element[ORIGINALS] = {
backgroundImage: element.style.backgroundImage
};
};
// Search Filter
// ## RESTORE ##
jQuery(document).ready(function ($) {
$(".searchandfilter ul li:contains('hidden')").hide();
$('<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 '));
$(document).on("click", ".search-filter-reset-custom", function (e) {
e.preventDefault();
$(this).closest('.searchandfilter')[0].reset();
return false;
const setOrResetAttribute = (element, attrName, value) => {
if (!value) {
element.removeAttribute(attrName);
return;
}
element.setAttribute(attrName, value);
};
const restoreOriginalAttrs = (element, attributes) => {
if (!hasOriginalAttrs(element)) {
return;
}
const originals = getOriginalAttrs(element);
attributes.forEach(attribute => {
setOrResetAttribute(element, attribute, originals[attribute]);
});
};
const restoreOriginalBgImage = element => {
if (!hasOriginalAttrs(element)) {
return;
}
const originals = getOriginalAttrs(element);
element.style.backgroundImage = originals.backgroundImage;
};
const manageApplied = (element, settings, instance) => {
addClass(element, settings.class_applied);
setStatus(element, statusApplied);
// Instance is not provided when loading is called from static class
if (!instance) return;
if (settings.unobserve_completed) {
// Unobserve now because we can't do it on load
unobserve(element, settings);
}
safeCallback(settings.callback_applied, element, instance);
};
const manageLoading = (element, settings, instance) => {
addClass(element, settings.class_loading);
setStatus(element, statusLoading);
// Instance is not provided when loading is called from static class
if (!instance) return;
updateLoadingCount(instance, +1);
safeCallback(settings.callback_loading, element, instance);
};
const setAttributeIfValue = (element, attrName, value) => {
if (!value) {
return;
}
element.setAttribute(attrName, value);
};
const setImageAttributes = (element, settings) => {
setAttributeIfValue(element, SIZES, getData(element, settings.data_sizes));
setAttributeIfValue(element, SRCSET, getData(element, settings.data_srcset));
setAttributeIfValue(element, SRC, getData(element, settings.data_src));
};
const setSourcesImg = (imgEl, settings) => {
forEachPictureSource(imgEl, sourceTag => {
setOriginalsObject(sourceTag, attrsSrcSrcsetSizes);
setImageAttributes(sourceTag, settings);
});
setOriginalsObject(imgEl, attrsSrcSrcsetSizes);
setImageAttributes(imgEl, settings);
};
const setSourcesIframe = (iframe, settings) => {
setOriginalsObject(iframe, attrsSrc);
setAttributeIfValue(iframe, SRC, getData(iframe, settings.data_src));
};
const setSourcesVideo = (videoEl, settings) => {
forEachVideoSource(videoEl, sourceEl => {
setOriginalsObject(sourceEl, attrsSrc);
setAttributeIfValue(sourceEl, SRC, getData(sourceEl, settings.data_src));
});
setOriginalsObject(videoEl, attrsSrcPoster);
setAttributeIfValue(videoEl, POSTER, getData(videoEl, settings.data_poster));
setAttributeIfValue(videoEl, SRC, getData(videoEl, settings.data_src));
videoEl.load();
};
const setSourcesObject = (object, settings) => {
setOriginalsObject(object, attrsData);
setAttributeIfValue(object, DATA, getData(object, settings.data_src));
};
const setBackground = (element, settings, instance) => {
const bg1xValue = getData(element, settings.data_bg);
const bgHiDpiValue = getData(element, settings.data_bg_hidpi);
const bgDataValue = isHiDpi && bgHiDpiValue ? bgHiDpiValue : bg1xValue;
if (!bgDataValue) return;
element.style.backgroundImage = `url("${bgDataValue}")`;
getTempImage(element).setAttribute(SRC, bgDataValue);
manageLoading(element, settings, instance);
};
// NOTE: THE TEMP IMAGE TRICK CANNOT BE DONE WITH data-multi-bg
// BECAUSE INSIDE ITS VALUES MUST BE WRAPPED WITH URL() AND ONE OF THEM
// COULD BE A GRADIENT BACKGROUND IMAGE
const setMultiBackground = (element, settings, instance) => {
const bg1xValue = getData(element, settings.data_bg_multi);
const bgHiDpiValue = getData(element, settings.data_bg_multi_hidpi);
const bgDataValue = isHiDpi && bgHiDpiValue ? bgHiDpiValue : bg1xValue;
if (!bgDataValue) {
return;
}
element.style.backgroundImage = bgDataValue;
manageApplied(element, settings, instance);
};
const setImgsetBackground = (element, settings, instance) => {
const bgImgSetDataValue = getData(element, settings.data_bg_set);
if (!bgImgSetDataValue) {
return;
}
const imgSetValues = bgImgSetDataValue.split("|");
let bgImageValues = imgSetValues.map(value => `image-set(${value})`);
element.style.backgroundImage = bgImageValues.join();
// Temporary fix for Chromeium with the -webkit- prefix
if (element.style.backgroundImage === '') {
bgImageValues = imgSetValues.map(value => `-webkit-image-set(${value})`);
element.style.backgroundImage = bgImageValues.join();
}
manageApplied(element, settings, instance);
};
const setSourcesFunctions = {
IMG: setSourcesImg,
IFRAME: setSourcesIframe,
VIDEO: setSourcesVideo,
OBJECT: setSourcesObject
};
const setSourcesNative = (element, settings) => {
const setSourcesFunction = setSourcesFunctions[element.tagName];
if (!setSourcesFunction) {
return;
}
setSourcesFunction(element, settings);
};
const setSources = (element, settings, instance) => {
const setSourcesFunction = setSourcesFunctions[element.tagName];
if (!setSourcesFunction) {
return;
}
setSourcesFunction(element, settings);
manageLoading(element, settings, instance);
};
const elementsWithLoadEvent = ["IMG", "IFRAME", "VIDEO", "OBJECT"];
const hasLoadEvent = element => elementsWithLoadEvent.indexOf(element.tagName) > -1;
const checkFinish = (settings, instance) => {
if (instance && !isSomethingLoading(instance) && !haveElementsToLoad(instance)) {
safeCallback(settings.callback_finish, instance);
}
};
const addEventListener = (element, eventName, handler) => {
element.addEventListener(eventName, handler);
element.llEvLisnrs[eventName] = handler;
};
const removeEventListener = (element, eventName, handler) => {
element.removeEventListener(eventName, handler);
};
const hasEventListeners = element => {
return !!element.llEvLisnrs;
};
const addEventListeners = (element, loadHandler, errorHandler) => {
if (!hasEventListeners(element)) element.llEvLisnrs = {};
const loadEventName = element.tagName === "VIDEO" ? "loadeddata" : "load";
addEventListener(element, loadEventName, loadHandler);
addEventListener(element, "error", errorHandler);
};
const removeEventListeners = element => {
if (!hasEventListeners(element)) {
return;
}
const eventListeners = element.llEvLisnrs;
for (let eventName in eventListeners) {
const handler = eventListeners[eventName];
removeEventListener(element, eventName, handler);
}
delete element.llEvLisnrs;
};
const doneHandler = (element, settings, instance) => {
deleteTempImage(element);
updateLoadingCount(instance, -1);
decreaseToLoadCount(instance);
removeClass(element, settings.class_loading);
if (settings.unobserve_completed) {
unobserve(element, instance);
}
};
const loadHandler = (event, element, settings, instance) => {
const goingNative = hasStatusNative(element);
doneHandler(element, settings, instance);
addClass(element, settings.class_loaded);
setStatus(element, statusLoaded);
safeCallback(settings.callback_loaded, element, instance);
if (!goingNative) checkFinish(settings, instance);
};
const errorHandler = (event, element, settings, instance) => {
const goingNative = hasStatusNative(element);
doneHandler(element, settings, instance);
addClass(element, settings.class_error);
setStatus(element, statusError);
safeCallback(settings.callback_error, element, instance);
if (settings.restore_on_error) restoreOriginalAttrs(element, attrsSrcSrcsetSizes);
if (!goingNative) checkFinish(settings, instance);
};
const addOneShotEventListeners = (element, settings, instance) => {
const elementToListenTo = getTempImage(element) || element;
if (hasEventListeners(elementToListenTo)) {
// This happens when loading is retried twice
return;
}
const _loadHandler = event => {
loadHandler(event, element, settings, instance);
removeEventListeners(elementToListenTo);
};
const _errorHandler = event => {
errorHandler(event, element, settings, instance);
removeEventListeners(elementToListenTo);
};
addEventListeners(elementToListenTo, _loadHandler, _errorHandler);
};
const loadBackground = (element, settings, instance) => {
addTempImage(element);
addOneShotEventListeners(element, settings, instance);
saveOriginalBackgroundStyle(element);
setBackground(element, settings, instance);
setMultiBackground(element, settings, instance);
setImgsetBackground(element, settings, instance);
};
const loadRegular = (element, settings, instance) => {
addOneShotEventListeners(element, settings, instance);
setSources(element, settings, instance);
};
const load = (element, settings, instance) => {
if (hasLoadEvent(element)) {
loadRegular(element, settings, instance);
} else {
loadBackground(element, settings, instance);
}
};
const loadNative = (element, settings, instance) => {
element.setAttribute("loading", "lazy");
addOneShotEventListeners(element, settings, instance);
setSourcesNative(element, settings);
setStatus(element, statusNative);
};
const removeImageAttributes = element => {
element.removeAttribute(SRC);
element.removeAttribute(SRCSET);
element.removeAttribute(SIZES);
};
const resetSourcesImg = element => {
forEachPictureSource(element, sourceTag => {
removeImageAttributes(sourceTag);
});
removeImageAttributes(element);
};
const restoreImg = imgEl => {
forEachPictureSource(imgEl, sourceEl => {
restoreOriginalAttrs(sourceEl, attrsSrcSrcsetSizes);
});
restoreOriginalAttrs(imgEl, attrsSrcSrcsetSizes);
};
const restoreVideo = videoEl => {
forEachVideoSource(videoEl, sourceEl => {
restoreOriginalAttrs(sourceEl, attrsSrc);
});
restoreOriginalAttrs(videoEl, attrsSrcPoster);
videoEl.load();
};
const restoreIframe = iframeEl => {
restoreOriginalAttrs(iframeEl, attrsSrc);
};
const restoreObject = objectEl => {
restoreOriginalAttrs(objectEl, attrsData);
};
const restoreFunctions = {
IMG: restoreImg,
IFRAME: restoreIframe,
VIDEO: restoreVideo,
OBJECT: restoreObject
};
const restoreAttributes = element => {
const restoreFunction = restoreFunctions[element.tagName];
if (!restoreFunction) {
restoreOriginalBgImage(element);
return;
}
restoreFunction(element);
};
const resetClasses = (element, settings) => {
if (hasEmptyStatus(element) || hasStatusNative(element)) {
return;
}
removeClass(element, settings.class_entered);
removeClass(element, settings.class_exited);
removeClass(element, settings.class_applied);
removeClass(element, settings.class_loading);
removeClass(element, settings.class_loaded);
removeClass(element, settings.class_error);
};
const restore = (element, settings) => {
restoreAttributes(element);
resetClasses(element, settings);
resetStatus(element);
deleteOriginalAttrs(element);
};
const cancelLoading = (element, entry, settings, instance) => {
if (!settings.cancel_on_exit) return;
if (!hasStatusLoading(element)) return;
if (element.tagName !== "IMG") return; //Works only on images
removeEventListeners(element);
resetSourcesImg(element);
restoreImg(element);
removeClass(element, settings.class_loading);
updateLoadingCount(instance, -1);
resetStatus(element);
safeCallback(settings.callback_cancel, element, entry, instance);
};
const onEnter = (element, entry, settings, instance) => {
const dontLoad = hadStartedLoading(element); /* Save status
before setting it, to prevent loading it again. Fixes #526. */
setStatus(element, statusEntered);
addClass(element, settings.class_entered);
removeClass(element, settings.class_exited);
unobserveEntered(element, settings, instance);
safeCallback(settings.callback_enter, element, entry, instance);
if (dontLoad) return;
load(element, settings, instance);
};
const onExit = (element, entry, settings, instance) => {
if (hasEmptyStatus(element)) return; //Ignore the first pass, at landing
addClass(element, settings.class_exited);
cancelLoading(element, entry, settings, instance);
safeCallback(settings.callback_exit, element, entry, instance);
};
const tagsWithNativeLazy = ["IMG", "IFRAME", "VIDEO"];
const shouldUseNative = settings => settings.use_native && "loading" in HTMLImageElement.prototype;
const loadAllNative = (elements, settings, instance) => {
elements.forEach(element => {
if (tagsWithNativeLazy.indexOf(element.tagName) === -1) {
return;
}
loadNative(element, settings, instance);
});
setToLoadCount(instance, 0);
};
const isIntersecting = entry => entry.isIntersecting || entry.intersectionRatio > 0;
const getObserverSettings = settings => ({
root: settings.container === document ? null : settings.container,
rootMargin: settings.thresholds || settings.threshold + "px"
});
const intersectionHandler = (entries, settings, instance) => {
entries.forEach(entry => isIntersecting(entry) ? onEnter(entry.target, entry, settings, instance) : onExit(entry.target, entry, settings, instance));
};
const observeElements = (observer, elements) => {
elements.forEach(element => {
observer.observe(element);
});
};
const updateObserver = (observer, elementsToObserve) => {
resetObserver(observer);
observeElements(observer, elementsToObserve);
};
const setObserver = (settings, instance) => {
if (!supportsIntersectionObserver || shouldUseNative(settings)) {
return;
}
instance._observer = new IntersectionObserver(entries => {
intersectionHandler(entries, settings, instance);
}, getObserverSettings(settings));
};
const toArray = nodeSet => Array.prototype.slice.call(nodeSet);
const queryElements = settings => settings.container.querySelectorAll(settings.elements_selector);
const excludeManagedElements = elements => toArray(elements).filter(hasEmptyStatus);
const hasError = element => hasStatusError(element);
const filterErrorElements = elements => toArray(elements).filter(hasError);
const getElementsToLoad = (elements, settings) => excludeManagedElements(elements || queryElements(settings));
const retryLazyLoad = (settings, instance) => {
const errorElements = filterErrorElements(queryElements(settings));
errorElements.forEach(element => {
removeClass(element, settings.class_error);
resetStatus(element);
});
instance.update();
};
const setOnlineCheck = (settings, instance) => {
if (!runningOnBrowser) {
return;
}
instance._onlineHandler = () => {
retryLazyLoad(settings, instance);
};
window.addEventListener("online", instance._onlineHandler);
};
const resetOnlineCheck = instance => {
if (!runningOnBrowser) {
return;
}
window.removeEventListener("online", instance._onlineHandler);
};
const LazyLoad = function (customSettings, elements) {
const settings = getExtendedSettings(customSettings);
this._settings = settings;
this.loadingCount = 0;
setObserver(settings, this);
setOnlineCheck(settings, this);
this.update(elements);
};
LazyLoad.prototype = {
update: function (givenNodeset) {
const settings = this._settings;
const elementsToLoad = getElementsToLoad(givenNodeset, settings);
setToLoadCount(this, elementsToLoad.length);
if (isBot || !supportsIntersectionObserver) {
this.loadAll(elementsToLoad);
return;
}
if (shouldUseNative(settings)) {
loadAllNative(elementsToLoad, settings, this);
return;
}
updateObserver(this._observer, elementsToLoad);
},
destroy: function () {
// Observer
if (this._observer) {
this._observer.disconnect();
}
// Clean handlers
resetOnlineCheck(this);
// Clean custom attributes on elements
queryElements(this._settings).forEach(element => {
deleteOriginalAttrs(element);
});
// Delete all internal props
delete this._observer;
delete this._settings;
delete this._onlineHandler;
delete this.loadingCount;
delete this.toLoadCount;
},
loadAll: function (elements) {
const settings = this._settings;
const elementsToLoad = getElementsToLoad(elements, settings);
elementsToLoad.forEach(element => {
unobserve(element, this);
load(element, settings, this);
});
},
restoreAll: function () {
const settings = this._settings;
queryElements(settings).forEach(element => {
restore(element, settings);
});
}
};
LazyLoad.load = (element, customSettings) => {
const settings = getExtendedSettings(customSettings);
load(element, settings);
};
LazyLoad.resetStatus = element => {
resetStatus(element);
};
// Automatic instances creation if required (useful for async script loading)
if (runningOnBrowser) {
autoInitialize(LazyLoad, window.lazyLoadOptions);
}
// Add your custom JS here.
new LazyLoad();
exports.Alert = alert;
exports.Button = button;
......
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.
......@@ -7,41 +7,53 @@
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
$post_type = get_post_type(get_the_ID());
$permalink = get_permalink();
$target = '';
if($post_type == 'attachment') {
$permalink = wp_get_attachment_url( get_the_ID());
$target = 'target="_blank"';
}
?>
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<header class="entry-header">
<?php
the_title(
sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ),
'</a></h2>'
);
<a href='<?php echo $permalink; ?>' <?php echo $target; ?> class='outside-a'>
<?php
$imgid = get_post_thumbnail_id($search_posts[$i]['ID']);
$img = get_field('photo_from_source', $search_posts[$i]['ID']);
if($imgid || $img):
?>
<div class='photo'>
<?php
if($imgid) {
$image = wp_get_attachment_image_src($imgid, 'medium');
$image = $image[0];
$image_alt = get_post_meta($imgid, '_wp_attachment_image_alt', TRUE);
} else if($img ) {
$image = $img;
$image_alt = get_field('alt_text', $search_posts[$i]['ID']);
}
?>
<img src='#' data-src="<?= $image ?>" class='lazy' alt='<?= $image_alt ?>' />
</div>
<?php endif; ?>
<div class='content'>
<?php if ( 'post' === get_post_type() ) : ?>
<div class="entry-meta">
<?php understrap_posted_on(); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
</header><!-- .entry-header -->
<div class="entry-summary">
<header class="entry-header">
<?php the_excerpt(); ?>
<h2 class="entry-title"><?= the_title() ?></h2>
</div><!-- .entry-summary -->
</header><!-- .entry-header -->
<footer class="entry-footer">
<div class="entry-summary" id='content'>
<?php understrap_entry_footer(); ?>
<?= wp_strip_all_tags(get_the_excerpt(), true) ?>
</footer><!-- .entry-footer -->
</div><!-- .entry-summary -->
</article><!-- #post-<?php the_ID(); ?> -->
</div>
</a>
</article><!-- #post-## -->
......
......@@ -5637,6 +5637,11 @@
"spdx-expression-parse": "^3.0.0"
}
},
"vanilla-lazyload": {
"version": "17.8.4",
"resolved": "https://registry.npmjs.org/vanilla-lazyload/-/vanilla-lazyload-17.8.4.tgz",
"integrity": "sha512-LP1fP0nl7SZom6wojLJXzj2du69txtPfDOoWQWgLDU8mz7NBrWL2Txx6p84f6d+gTEcGbA9lUynAx5CS0rqWsg=="
},
"vary": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
......
......@@ -41,7 +41,9 @@
"url": "https://github.com/understrap/understrap-child/issues"
},
"homepage": "https://understrap.com",
"dependencies": {},
"dependencies": {
"vanilla-lazyload": "^17.8.4"
},
"devDependencies": {
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.22.9",
......
var addstuff = '<div class="list-wrapper2 list-wrapper"><button type="button" class="back-one-level"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path d="M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z"/></svg><span>Back</span></button><div class="sub-menu-wrapper"></div></div><div class="list-wrapper3 list-wrapper"><button type="button" class="back-one-level"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path d="M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z"/></svg><span>Back</span></button><div class="sub-menu-wrapper"></div></div>';
const pageHeader = document.querySelector("#main-nav");
const toggleMenu = pageHeader.querySelector(".mega-toggle-block");
const menuWrapper = pageHeader.querySelector("#mega-menu-primary");
menuWrapper.innerHTML =menuWrapper.innerHTML + addstuff;
const level1Links = pageHeader.querySelectorAll("li.mega-menu-item-has-children > a.mega-menu-link");
const listWrapper2 = pageHeader.querySelector(".list-wrapper2");
const listWrapper3 = pageHeader.querySelector(".list-wrapper3");
const subMenuWrapper2 = listWrapper2.querySelector(".sub-menu-wrapper");
const subMenuWrapper3 = listWrapper3.querySelector(".sub-menu-wrapper");
const backOneLevelBtns = pageHeader.querySelectorAll(".back-one-level");
const isVisibleClass = "is-visible";
const isActiveClass = "is-active";
toggleMenu.addEventListener("click", function () {
menuWrapper.classList.toggle(isVisibleClass);
if (!this.classList.contains(isVisibleClass)) {
listWrapper2.classList.remove(isVisibleClass);
listWrapper3.classList.remove(isVisibleClass);
const menuLinks = menuWrapper.querySelectorAll("a");
for (const menuLink of menuLinks) {
menuLink.classList.remove(isActiveClass);
}
}
});
for (const level1Link of level1Links) {
level1Link.addEventListener("click", function (e) {
const siblingList = level1Link.nextElementSibling;
console.log('clicked level1Links')
if (siblingList) {
e.preventDefault();
this.classList.add(isActiveClass);
const cloneSiblingList = siblingList.cloneNode(true);
subMenuWrapper2.innerHTML = "";
subMenuWrapper2.append(cloneSiblingList);
listWrapper2.classList.add(isVisibleClass);
}
});
}
listWrapper2.addEventListener("click", function (e) {
const target = e.target;
const parent = target.closest("a");
if (target.tagName.toLowerCase() === "a" && target.nextElementSibling) {
const siblingList = target.nextElementSibling;
e.preventDefault();
target.classList.add(isActiveClass);
const cloneSiblingList = siblingList.cloneNode(true);
subMenuWrapper3.innerHTML = "";
subMenuWrapper3.append(cloneSiblingList);
listWrapper3.classList.add(isVisibleClass);
}else if (parent.tagName.toLowerCase() === "a" && parent.nextElementSibling) {
const siblingList = parent.nextElementSibling;
e.preventDefault();
parent.classList.add(isActiveClass);
const cloneSiblingList = siblingList.cloneNode(true);
subMenuWrapper3.innerHTML = "";
subMenuWrapper3.append(cloneSiblingList);
listWrapper3.classList.add(isVisibleClass);
}
});
for (const backOneLevelBtn of backOneLevelBtns) {
backOneLevelBtn.addEventListener("click", function () {
const parent = this.closest(".list-wrapper");
parent.classList.remove(isVisibleClass);
// parent.previousElementSibling
// .querySelector(".is-active")
// .classList.remove(isActiveClass);
});
}
\ No newline at end of file
// Search Filter
jQuery(document).ready(function($){
$(".searchandfilter ul li:contains('hidden')").hide();
$('<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 ' ) );
$(document).on("click", ".search-filter-reset-custom", function(e){
e.preventDefault();
$(this).closest('.searchandfilter')[0].reset();
return false;
});
});
// Add your custom JS here.
//import "./_header_menu";
import "._menu_mobile";
import "._search";
import LazyLoad from "vanilla-lazyload";
var myLazyLoad = new LazyLoad();
var addstuff = '<div class="list-wrapper2 list-wrapper"><button type="button" class="back-one-level"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path d="M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z"/></svg><span>Back</span></button><div class="sub-menu-wrapper"></div></div><div class="list-wrapper3 list-wrapper"><button type="button" class="back-one-level"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path d="M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z"/></svg><span>Back</span></button><div class="sub-menu-wrapper"></div></div>';
const pageHeader = document.querySelector("#main-nav");
const toggleMenu = pageHeader.querySelector(".mega-toggle-block");
const menuWrapper = pageHeader.querySelector("#mega-menu-primary");
menuWrapper.innerHTML =menuWrapper.innerHTML + addstuff;
const level1Links = pageHeader.querySelectorAll("li.mega-menu-item-has-children > a.mega-menu-link");
const listWrapper2 = pageHeader.querySelector(".list-wrapper2");
const listWrapper3 = pageHeader.querySelector(".list-wrapper3");
const subMenuWrapper2 = listWrapper2.querySelector(".sub-menu-wrapper");
const subMenuWrapper3 = listWrapper3.querySelector(".sub-menu-wrapper");
const backOneLevelBtns = pageHeader.querySelectorAll(".back-one-level");
const isVisibleClass = "is-visible";
const isActiveClass = "is-active";
toggleMenu.addEventListener("click", function () {
menuWrapper.classList.toggle(isVisibleClass);
if (!this.classList.contains(isVisibleClass)) {
listWrapper2.classList.remove(isVisibleClass);
listWrapper3.classList.remove(isVisibleClass);
const menuLinks = menuWrapper.querySelectorAll("a");
for (const menuLink of menuLinks) {
menuLink.classList.remove(isActiveClass);
}
}
});
for (const level1Link of level1Links) {
level1Link.addEventListener("click", function (e) {
const siblingList = level1Link.nextElementSibling;
console.log('clicked level1Links')
if (siblingList) {
e.preventDefault();
this.classList.add(isActiveClass);
const cloneSiblingList = siblingList.cloneNode(true);
subMenuWrapper2.innerHTML = "";
subMenuWrapper2.append(cloneSiblingList);
listWrapper2.classList.add(isVisibleClass);
}
});
}
listWrapper2.addEventListener("click", function (e) {
const target = e.target;
const parent = target.closest("a");
if (target.tagName.toLowerCase() === "a" && target.nextElementSibling) {
const siblingList = target.nextElementSibling;
e.preventDefault();
target.classList.add(isActiveClass);
const cloneSiblingList = siblingList.cloneNode(true);
subMenuWrapper3.innerHTML = "";
subMenuWrapper3.append(cloneSiblingList);
listWrapper3.classList.add(isVisibleClass);
}else if (parent.tagName.toLowerCase() === "a" && parent.nextElementSibling) {
const siblingList = parent.nextElementSibling;
e.preventDefault();
parent.classList.add(isActiveClass);
const cloneSiblingList = siblingList.cloneNode(true);
subMenuWrapper3.innerHTML = "";
subMenuWrapper3.append(cloneSiblingList);
listWrapper3.classList.add(isVisibleClass);
}
});
for (const backOneLevelBtn of backOneLevelBtns) {
backOneLevelBtn.addEventListener("click", function () {
const parent = this.closest(".list-wrapper");
parent.classList.remove(isVisibleClass);
// parent.previousElementSibling
// .querySelector(".is-active")
// .classList.remove(isActiveClass);
});
}
// Search Filter
jQuery(document).ready(function($){
$(".searchandfilter ul li:contains('hidden')").hide();
$('<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 ' ) );
$(document).on("click", ".search-filter-reset-custom", function(e){
e.preventDefault();
$(this).closest('.searchandfilter')[0].reset();
return false;
});
});
......
......@@ -9,5 +9,6 @@ body{
@import "forms";
@import "elements";
@import "search";
@import "search_results";
@import "front_page";
......
.search-results {
.search-field {
border: 0;
border-bottom: 1px solid #707070;
border-radius: 0;
}
#content {
padding: 2.5rem 0;
padding-top: 1rem;
}
}
.pagination {
justify-content: center;
margin-top: 1rem;
.page-item {
border: 0;
display: flex;
align-items: center;
.page-link {
color: #000000;
margin-left: 0;
border: 0;
font-family: "PT Sans", sans-serif;
&:hover {
text-decoration: underline;
background: none;
}
&.next,
&.prev {
color: transparent;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.095' height='15' viewBox='0 0 9.095 15'%3E%3Cpath id='Path_1369' data-name='Path 1369' d='M7.515 3.553c.52.526 1.03 1.048 1.546 1.564q1.857 1.856 3.718 3.708a.834.834 0 0 0 1.232 0c.236-.242.477-.479.716-.718a.817.817 0 0 0 0-1.222L11.379 3.538Q9.758 1.915 8.138.29A.9.9 0 0 0 7.532 0a.864.864 0 0 0-.667.288Q5.614 1.544 4.363 2.8L.956 6.207c-.232.232-.465.463-.7.7A.812.812 0 0 0 .269 8.1l.71.71a.833.833 0 0 0 1.25 0l3.016-3L7.429 3.634Z' transform='translate(9.095 0) rotate(90)'/%3E%3C/svg%3E");
height: 0.938rem;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
&:hover {
background: none;
text-decoration: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.095' height='15' viewBox='0 0 9.095 15'%3E%3Cpath id='Path_1369' data-name='Path 1369' d='M7.515 3.553c.52.526 1.03 1.048 1.546 1.564q1.857 1.856 3.718 3.708a.834.834 0 0 0 1.232 0c.236-.242.477-.479.716-.718a.817.817 0 0 0 0-1.222L11.379 3.538Q9.758 1.915 8.138.29A.9.9 0 0 0 7.532 0a.864.864 0 0 0-.667.288Q5.614 1.544 4.363 2.8L.956 6.207c-.232.232-.465.463-.7.7A.812.812 0 0 0 .269 8.1l.71.71a.833.833 0 0 0 1.25 0l3.016-3L7.429 3.634Z' transform='translate(9.095 0) rotate(90)' fill='%23699'/%3E%3C/svg%3E");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
}
&.prev {
transform: rotate(180deg);
}
}
&.active {
.page-link {
font-family: "PT Sans", sans-serif;
font-weight: bold;
&:hover {
text-decoration: none;
}
}
}
}
}
.sh1 {
font-weight: 700;
line-height: 24px !important;
......@@ -84,84 +13,13 @@
}
#search-wrapper {
margin-top: 1rem;
padding-top: 3rem;
@media screen and (max-width: 950px) {
padding: 0rem 2rem;
}
.searchandfilter {
width: calc(100% - 50px);
display: inline-block;
}
display: flex;
#main {
&>article {
padding: 2rem 0;
border-top: 1px solid #bebebe;
display: flex;
.photo {
min-width: 18.375rem;
min-height: 12.375rem;
max-width: 18.375rem;
max-height: 12.375rem;
img {
object-fit: cover;
object-position: center;
height: 100%;
width: 100%;
}
}
a {
gap: 1.5rem;
display: flex;
color: #000000;
text-decoration: none;
flex-direction: row;
&:hover {
h2.entry-title {
text-decoration: underline;
}
}
}
.entry-header {
height: auto !important;
}
h2.entry-title {
margin-top: 0 !important;
font-size: 1.25rem !important;
font-family: "PT Sans", sans-serif;
font-weight: bold;
@media screen and (max-width: 768px) {
font-size: 1rem !important;
line-height: 1.25rem !important;
}
}
.entry-summary {
p {
color: #4d4d4d;
font-size: 1rem;
font-family: "PT Sans", sans-serif;
}
}
}
.understrap-read-more-link {
display: none;
}
}
.search-field {
border: 0;
border-bottom: 1px solid #707070;
......@@ -271,10 +129,6 @@
}
}
#main {
display: flex;
flex-direction: column;
}
.searchandfilter {
ul {
......@@ -299,7 +153,7 @@
color: #000;
padding: 5px 14px;
text-decoration: none;
margin-top: 2px;
@media screen and (max-width: 1450px) {
width: 40%;
line-height: 20px;
......
.search-results {
.search-field {
border: 0;
border-bottom: 1px solid #707070;
border-radius: 0;
}
#content {
padding: 2.5rem 0;
padding-top: 1rem;
}
}
#search-wrapper {
margin-top: 1rem;
padding-top: 3rem;
display: flex;
@media screen and (max-width: 950px) {
padding: 0rem 2rem;
}
#main {
display: flex;
flex-direction: column;
&>article {
padding: 2rem 0;
border-top: 1px solid #bebebe;
display: flex;
.photo {
min-width: 18.375rem;
min-height: 12.375rem;
max-width: 18.375rem;
max-height: 12.375rem;
img {
object-fit: cover;
object-position: center;
height: 100%;
width: 100%;
}
}
a {
gap: 1.5rem;
display: flex;
color: #000000;
text-decoration: none;
flex-direction: row;
&:hover {
h2.entry-title {
text-decoration: underline;
}
}
}
a[href$=".pdf"]{
h2{
&:before {
content:'';
width:1.313rem;
height:1.5rem;
background-image: url("data:image/svg+xml,%3Csvg id='Group_1127' data-name='Group 1127' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='21.409' height='24.169' viewBox='0 0 21.409 24.169'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_180' data-name='Rectangle 180' width='21.409' height='24.169' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_1126' data-name='Group 1126' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1363' data-name='Path 1363' d='M18.646 24.169H2.779c-.037-.013-.074-.029-.112-.039a.943.943 0 0 1-.657-.6 1.009 1.009 0 0 1-.057-.365q0-2.321 0-4.641V18.39H1.84c-.164 0-.329 0-.493 0A1.354 1.354 0 0 1 .038 17.265.992.992 0 0 0 0 17.141V9.892a.757.757 0 0 0 .035-.114A1.352 1.352 0 0 1 1.392 8.64c.158 0 .315 0 .473 0 .026 0 .052 0 .088-.007V1.079c0-.05 0-.1 0-.151a.952.952 0 0 1 .609-.87A1.084 1.084 0 0 1 2.967 0H14.343a.468.468 0 0 1 .366.161c.032.034.063.07.094.105Q17.05 2.834 19.3 5.4a.667.667 0 0 1 .183.473c0 .03 0 .06 0 .091V8.64h.111c.164 0 .329-.005.493 0a1.326 1.326 0 0 1 1.21.8 1.294 1.294 0 0 1 .112.587q0 2.034 0 4.067 0 1.445 0 2.889a1.732 1.732 0 0 1-.013.291 1.351 1.351 0 0 1-1.323 1.118c-.164 0-.329 0-.493 0-.029 0-.058 0-.095.005v.137q0 2.285 0 4.571c0 .064 0 .128-.007.191a.947.947 0 0 1-.707.835c-.042.011-.082.026-.124.04M2.906.95V8.635H18.52c.023-.106.019-2.289 0-2.369H14.451c-.037 0-.074 0-.111 0a.475.475 0 0 1-.459-.4.952.952 0 0 1-.006-.151q0-2.316 0-4.631V.95Zm0 22H18.528V18.4H2.9Zm5.376-5.727c.041.007.073.014.106.017.274.023.548.051.822.066a11.306 11.306 0 0 0 1.769-.021A5.79 5.79 0 0 0 12.311 17a3.08 3.08 0 0 0 1.978-1.948 4.442 4.442 0 0 0 .159-2.361 2.9 2.9 0 0 0-.577-1.281 3.15 3.15 0 0 0-1.6-1.051 5.884 5.884 0 0 0-1.619-.222 15.609 15.609 0 0 0-1.93.083c-.149.016-.3.039-.447.06ZM3.764 14.73a4.907 4.907 0 0 0 .945.015 3.685 3.685 0 0 0 1.162-.262 2.171 2.171 0 0 0 .976-.749 2.344 2.344 0 0 0 .384-1.706 1.96 1.96 0 0 0-1.308-1.654 3.711 3.711 0 0 0-1.249-.234 14.1 14.1 0 0 0-2.249.1c-.082.01-.163.027-.241.04v6.974H3.764ZM19.9 10.192c-.156-.022-4.245-.014-4.314.006v7.051c.133.019 1.517.014 1.6-.007V15.364q0-.237 0-.473c0-.156 0-.313 0-.477h1.695c.141 0 .282 0 .423 0s.279.006.416 0v-1.3H17.2c-.021-.19-.012-1.539.012-1.62H19.9Z' transform='translate(0 0)' fill='%231a1818'/%3E%3Cpath id='Path_1364' data-name='Path 1364' d='M162.156 186.274c.116-.015.228-.033.341-.042a3.327 3.327 0 0 1 1.129.076 1.818 1.818 0 0 1 1.39 1.425 3.261 3.261 0 0 1-.092 1.835 1.922 1.922 0 0 1-1.422 1.283 3.15 3.15 0 0 1-.848.088c-.164 0-.328-.011-.5-.016Z' transform='translate(-152.266 -174.859)' fill='%231a1818'/%3E%3Cpath id='Path_1365' data-name='Path 1365' d='M61.758 188.026v-2.1c.042-.009.083-.022.125-.027a2.629 2.629 0 0 1 1.038.028 1.092 1.092 0 0 1 .378.181.894.894 0 0 1 .346.582 1.233 1.233 0 0 1-.006.46 1.045 1.045 0 0 1-.786.829 2.131 2.131 0 0 1-.757.073c-.11-.006-.22-.019-.338-.03' transform='translate(-57.991 -174.529)' fill='%231a1818'/%3E%3C/g%3E%3C/svg%3E");
background-size: contain;
display: inline-block;
position: relative;
top: 5px;
left:-0.5rem;
}
}
}
a[href$=".doc"],
a[href$=".docx"]{
h2{
&:before {
content:'';
width:1.313rem;
height:1.5rem;
background-repeat: no-repeat;
background-image: url('data:image/svg+xml,<svg id="Group_1918" data-name="Group 1918" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.95" height="20.264" viewBox="0 0 17.95 20.264"><defs><clipPath id="clip-path"><rect id="Rectangle_268" data-name="Rectangle 268" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1918-2" data-name="Group 1918" clip-path="url(%23clip-path)"><path id="Path_1519" data-name="Path 1519" d="M64.535,186.442l.166.008.118,0a1.607,1.607,0,0,0,.761-.162,1.293,1.293,0,0,0,.481-.43,1.73,1.73,0,0,0,.248-.619,3.63,3.63,0,0,0,.071-.722,3.436,3.436,0,0,0-.063-.651,1.633,1.633,0,0,0-.233-.588,1.313,1.313,0,0,0-.462-.426,1.488,1.488,0,0,0-.742-.166q-.174,0-.351.008a2.153,2.153,0,0,0-.264.024v3.7a.621.621,0,0,0,.106.012l.162.008" transform="translate(-60.981 -173.349)" fill="%231a1818"/><path id="Path_1520" data-name="Path 1520" d="M163.9,182.626a1.089,1.089,0,0,0-.371-.406,1.11,1.11,0,0,0-1.452.316,2.608,2.608,0,0,0-.316,1.448,3.882,3.882,0,0,0,.071.769,1.983,1.983,0,0,0,.217.6,1.1,1.1,0,0,0,.375.394,1.011,1.011,0,0,0,.544.142,1.026,1.026,0,0,0,.892-.45,2.6,2.6,0,0,0,.316-1.46,3.958,3.958,0,0,0-.067-.749,2.092,2.092,0,0,0-.209-.607" transform="translate(-153.494 -172.763)" fill="%231a1818"/><path id="Path_1521" data-name="Path 1521" d="M17.95,8.4a1.085,1.085,0,0,0-.094-.492,1.112,1.112,0,0,0-1.014-.667c-.138-.006-.276,0-.414,0h-.093V5c0-.025,0-.051,0-.076a.559.559,0,0,0-.154-.4Q14.293,2.378,12.41.223c-.026-.03-.051-.06-.078-.088A.392.392,0,0,0,12.025,0H2.487a.907.907,0,0,0-.34.049.8.8,0,0,0-.51.729c0,.042,0,.084,0,.127V7.238c-.03,0-.052.006-.074.006-.132,0-.264,0-.4,0A1.134,1.134,0,0,0,.03,8.2a.633.633,0,0,1-.03.1v6.078a.835.835,0,0,1,.032.1,1.136,1.136,0,0,0,1.1.942c.138,0,.276,0,.414,0h.094v.113q0,1.946,0,3.891a.845.845,0,0,0,.048.306.79.79,0,0,0,.551.5c.032.009.063.022.094.033h13.3c.035-.011.069-.024.1-.033a.794.794,0,0,0,.593-.7c0-.053.006-.107.006-.16q0-1.916,0-3.832v-.115c.03,0,.055,0,.079,0h.414a1.132,1.132,0,0,0,1.11-.937,1.452,1.452,0,0,0,.011-.244q0-1.211,0-2.423,0-1.705,0-3.41M2.437.8h9.2V.905q0,1.941,0,3.883a.792.792,0,0,0,.005.126.4.4,0,0,0,.385.339c.031,0,.062,0,.093,0h3.407c.02.067.024,1.9,0,1.986H2.437ZM11.823,11.22a3.273,3.273,0,0,1-.611,2.126,2.113,2.113,0,0,1-1.732.746,2.453,2.453,0,0,1-1.041-.205,1.913,1.913,0,0,1-.73-.584,2.591,2.591,0,0,1-.43-.907,4.529,4.529,0,0,1-.142-1.176,3.287,3.287,0,0,1,.608-2.126,2.11,2.11,0,0,1,1.736-.745,2.434,2.434,0,0,1,1.034.205,1.948,1.948,0,0,1,.734.584,2.553,2.553,0,0,1,.434.907,4.53,4.53,0,0,1,.142,1.175M2.206,13.989V8.459q.166-.024.375-.039T3.01,8.4q.221-.008.43-.012t.375,0a3.424,3.424,0,0,1,1.254.205,2.135,2.135,0,0,1,.844.576,2.311,2.311,0,0,1,.473.884,4.013,4.013,0,0,1,.15,1.128,4.087,4.087,0,0,1-.142,1.081,2.445,2.445,0,0,1-.473.923,2.373,2.373,0,0,1-.872.647,3.241,3.241,0,0,1-1.337.245q-.126,0-.335-.008t-.434-.02l-.43-.024q-.205-.012-.308-.028m13.329,5.253H2.435V15.424h13.1Zm.158-5.229a4.067,4.067,0,0,1-.8.078,2.869,2.869,0,0,1-.943-.154,2.016,2.016,0,0,1-.785-.5,2.443,2.443,0,0,1-.54-.892,3.875,3.875,0,0,1-.2-1.329,3.6,3.6,0,0,1,.225-1.361,2.469,2.469,0,0,1,.584-.884,2.155,2.155,0,0,1,.8-.481,2.8,2.8,0,0,1,.884-.146,4.316,4.316,0,0,1,.8.063,2.935,2.935,0,0,1,.54.15l-.213.915a1.569,1.569,0,0,0-.43-.126,3.935,3.935,0,0,0-.6-.039,1.317,1.317,0,0,0-1.053.466,2.193,2.193,0,0,0-.4,1.447,2.994,2.994,0,0,0,.095.779,1.676,1.676,0,0,0,.288.6,1.327,1.327,0,0,0,.481.387,1.523,1.523,0,0,0,.667.138,2.178,2.178,0,0,0,.6-.071,1.758,1.758,0,0,0,.426-.181l.221.878a1.656,1.656,0,0,1-.643.258" fill="%231a1818"/></g></svg>');
background-size: contain;
display: inline-block;
position: relative;
top: 5px;
left:-0.5rem;
}
}
}
a[href$=".xls"],
a[href$=".xlsx"]{
h2{
&:before {
content:'';
width:1.313rem;
height:1.5rem;
background-repeat: no-repeat;
background-size: contain;
background-image: url('data:image/svg+xml,<svg id="Group_1924" data-name="Group 1924" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.95" height="20.264" viewBox="0 0 17.95 20.264"><defs><clipPath id="clip-path"><rect id="Rectangle_269" data-name="Rectangle 269" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1924-2" data-name="Group 1924" clip-path="url(%23clip-path)"><path id="Path_1522" data-name="Path 1522" d="M17.95,8.4a1.085,1.085,0,0,0-.094-.492,1.112,1.112,0,0,0-1.014-.667c-.138-.006-.276,0-.414,0h-.093V5c0-.025,0-.051,0-.076a.56.56,0,0,0-.154-.4Q14.293,2.377,12.41.222c-.026-.03-.051-.06-.078-.088A.392.392,0,0,0,12.025,0H2.487a.909.909,0,0,0-.34.049.8.8,0,0,0-.51.729c0,.042,0,.084,0,.127V7.237c-.03,0-.052.006-.073.006-.132,0-.265,0-.4,0A1.134,1.134,0,0,0,.03,8.2a.628.628,0,0,1-.03.1v6.078a.824.824,0,0,1,.032.1,1.135,1.135,0,0,0,1.1.942c.138,0,.276,0,.414,0h.094v.113q0,1.946,0,3.891a.845.845,0,0,0,.048.306.791.791,0,0,0,.551.5c.032.009.063.022.094.033h13.3c.034-.011.068-.024.1-.033a.794.794,0,0,0,.593-.7c0-.053.006-.107.006-.16q0-1.916,0-3.832v-.115c.03,0,.055,0,.079,0h.414a1.132,1.132,0,0,0,1.11-.937,1.447,1.447,0,0,0,.011-.244q0-1.211,0-2.423,0-1.705,0-3.41M15.534,19.241H2.435V15.423h13.1ZM2.6,8.458H3.9l.852,1.594.189.56.181-.56.891-1.594H7.188L5.594,11.117,7.267,13.98H5.981l-.97-1.7L4.8,11.693l-.205.584-.978,1.7H2.438l1.7-2.809Zm8.725,4.56v.962H7.827V8.458H8.908v4.56Zm2.757-.931a2.045,2.045,0,0,0-.465-.288q-.28-.13-.607-.268a3.1,3.1,0,0,1-.607-.339,1.726,1.726,0,0,1-.465-.5,1.433,1.433,0,0,1-.185-.765,1.678,1.678,0,0,1,.134-.7,1.31,1.31,0,0,1,.383-.493,1.646,1.646,0,0,1,.588-.292,2.816,2.816,0,0,1,.757-.095,4.75,4.75,0,0,1,.907.083,2.308,2.308,0,0,1,.7.241l-.339.907a1.9,1.9,0,0,0-.521-.2,2.961,2.961,0,0,0-.749-.091.959.959,0,0,0-.58.15.476.476,0,0,0-.2.4.5.5,0,0,0,.185.394,2.138,2.138,0,0,0,.466.292q.28.134.607.276a3.263,3.263,0,0,1,.607.343,1.752,1.752,0,0,1,.465.5,1.366,1.366,0,0,1,.185.738,1.821,1.821,0,0,1-.146.761,1.444,1.444,0,0,1-.41.533,1.735,1.735,0,0,1-.639.316,3.122,3.122,0,0,1-.824.1,4.392,4.392,0,0,1-1.041-.111,3.18,3.18,0,0,1-.663-.221l.347-.923a2.123,2.123,0,0,0,.225.1,2.866,2.866,0,0,0,.312.1,3.571,3.571,0,0,0,.367.079,2.466,2.466,0,0,0,.4.032,1.389,1.389,0,0,0,.738-.162.543.543,0,0,0,.256-.493.514.514,0,0,0-.185-.41m1.449-4.848H2.437V.8h9.2V.9q0,1.941,0,3.883a.792.792,0,0,0,.005.126.4.4,0,0,0,.385.339c.031,0,.062,0,.093,0h3.407c.02.067.024,1.9,0,1.986" transform="translate(0 0.001)" fill="%231a1818"/></g></svg>');
display: inline-block;
position: relative;
top: 5px;
left:-0.5rem;
}
}
}
.entry-header {
height: auto !important;
}
h2.entry-title {
margin-top: 0 !important;
font-size: 1.25rem !important;
font-family: "PT Sans", sans-serif;
font-weight: bold;
@media screen and (max-width: 768px) {
font-size: 1rem !important;
line-height: 1.25rem !important;
}
}
.entry-summary {
p {
color: #4d4d4d;
font-size: 1rem;
font-family: "PT Sans", sans-serif;
}
}
}
.understrap-read-more-link {
display: none;
}
}
.pagination {
justify-content: center;
margin-top: 1rem;
.page-item {
border: 0;
display: flex;
align-items: center;
.page-link {
color: #000000;
margin-left: 0;
border: 0;
font-family: "PT Sans", sans-serif;
&:hover {
text-decoration: underline;
background: none;
}
&.next,
&.prev {
color: transparent;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.095' height='15' viewBox='0 0 9.095 15'%3E%3Cpath id='Path_1369' data-name='Path 1369' d='M7.515 3.553c.52.526 1.03 1.048 1.546 1.564q1.857 1.856 3.718 3.708a.834.834 0 0 0 1.232 0c.236-.242.477-.479.716-.718a.817.817 0 0 0 0-1.222L11.379 3.538Q9.758 1.915 8.138.29A.9.9 0 0 0 7.532 0a.864.864 0 0 0-.667.288Q5.614 1.544 4.363 2.8L.956 6.207c-.232.232-.465.463-.7.7A.812.812 0 0 0 .269 8.1l.71.71a.833.833 0 0 0 1.25 0l3.016-3L7.429 3.634Z' transform='translate(9.095 0) rotate(90)'/%3E%3C/svg%3E");
height: 0.938rem;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
&:hover {
background: none;
text-decoration: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.095' height='15' viewBox='0 0 9.095 15'%3E%3Cpath id='Path_1369' data-name='Path 1369' d='M7.515 3.553c.52.526 1.03 1.048 1.546 1.564q1.857 1.856 3.718 3.708a.834.834 0 0 0 1.232 0c.236-.242.477-.479.716-.718a.817.817 0 0 0 0-1.222L11.379 3.538Q9.758 1.915 8.138.29A.9.9 0 0 0 7.532 0a.864.864 0 0 0-.667.288Q5.614 1.544 4.363 2.8L.956 6.207c-.232.232-.465.463-.7.7A.812.812 0 0 0 .269 8.1l.71.71a.833.833 0 0 0 1.25 0l3.016-3L7.429 3.634Z' transform='translate(9.095 0) rotate(90)' fill='%23699'/%3E%3C/svg%3E");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
}
&.prev {
transform: rotate(180deg);
}
}
&.active {
.page-link {
font-family: "PT Sans", sans-serif;
font-weight: bold;
background-color: #fff;
&:hover {
text-decoration: none;
}
}
}
}
}
}
\ No newline at end of file