diff --git a/assets/dist/css/atf.css b/assets/dist/css/atf.css index 9361210c..6670842b 100644 --- a/assets/dist/css/atf.css +++ b/assets/dist/css/atf.css @@ -1 +1 @@ -/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css *//*! edited by Codekraft Studio | removed unused style */html{line-height:1.15}body{margin:0}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}[hidden]{display:none}body,html{margin:0;padding:0}html{background-color:var(--wp--preset--color--white-smoke);height:calc(var(--vh, 1vh)*100);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased}body,html{max-width:100%}body{height:-webkit-fill-available;min-height:100%;box-sizing:border-box}#page,body{overflow-x:hidden}.has-black-background-color,.has-gray-dark-background-color,.has-primary-background-color,.has-primary-dark-background-color,.has-primary-light-background-color,.has-secondary-background-color,.has-secondary-dark-background-color,.has-secondary-light-background-color{color:var(--wp--preset--color--white)}.has-gray-light-background-color,.has-white-background-color,.has-white-smoke-background-color{color:var(--color--text)}@media(max-width:1023px){body.woocommerce .site-content{padding-left:var(--sizes--responsive--side-margin);padding-right:var(--sizes--responsive--side-margin)}}body.woocommerce.sidebar-left .site-content{padding-right:var(--sizes--responsive--side-margin)}body{font-family:var(--typography--content--font-family),sans-serif;color:var(--color--text);font-weight:var(--typography--default--font-weight--regular);font-size:var(--typography--default--font-size--m);line-height:var(--typography--default--line-height);word-break:break-word}@media(max-width:500px){body{font-size:var(--typography--default--font-size--s)}}h1,h2,h3,h4,h5,h6{font-family:var(--typography--title--font-family);font-weight:var(--typography--title--font-weight);margin:0 0 var(--sizes--margin--);padding:0}h1{font-size:var(--typography--default--font-size--xxxl)}@media(max-width:500px){h1{font-size:var(--typography--default--font-size--xxl)}}h2{font-size:var(--typography--default--font-size--xxl)}@media(max-width:500px){h2{font-size:var(--typography--default--font-size--l)}}.woocommerce h2{font-size:var(--typography--default--font-size--xl)}@media(max-width:500px){.woocommerce h2{font-size:var(--typography--default--font-size--l)}}h3{font-size:var(--typography--default--font-size--xl)}@media(max-width:767px){h3{font-size:var(--typography--default--font-size--m)}}h4{font-size:var(--typography--default--font-size--l)}@media(max-width:1260px){h4{font-size:var(--typography--default--font-size--m)}}h5,h6{font-size:var(--typography--default--font-size--m)}@media(max-width:1260px){h5,h6{font-size:var(--typography--default--font-size--s)}}li,p{list-style:none;font-size:var(--typography--default--font-size--m)}@media(max-width:500px){li,p{font-size:var(--typography--default--font-size--s)}}p{margin:0 0 var(--sizes--margin--)}b,strong{font-weight:var(--typography--default--font-weight--bold)}a{text-decoration:none;color:var(--wp--preset--color--primary)}dl,ol,ul{margin-top:var(--sizes--margin-m);margin-bottom:var(--sizes--margin-m);padding:0}dl dt,dl li,ol dt,ol li,ul dt,ul li{line-height:var(--typography--default--line-height);margin:0}.header-color{background-color:var(--header--nav-background)}#masthead{position:fixed;z-index:1000;top:0;width:100%;transition:.35s;color:var(--header--text-color)}@media(max-width:960px){#masthead{height:var(--header--branding--height);transform:inherit !important;padding:0}}.scrolled #masthead{box-shadow:0 3px 10px -5px rgba(var(--wp--preset--color--black--decimal), .7)}@media(max-width:960px){.scrolled #masthead{transform:inherit !important}}.scrolled #masthead.header-portrait{transform:translateY(calc(var(--header--branding--height)*-1))}#masthead .site-header-image{position:absolute;width:100%;height:100%;left:0}#masthead .show-on-mobile{display:none}@media(max-width:960px){#masthead .show-on-mobile{display:block}}#masthead .menu-icons-container,#masthead .menu-resp{position:absolute;top:0;right:var(--sizes--responsive--side-margin);height:100%}@media(max-width:960px){#masthead .menu-icons-container,#masthead .menu-resp{display:flex;justify-content:center;align-content:center}}#masthead .menu-resp{z-index:1030}#masthead .menu-icons-container{z-index:1010;right:var(--sizes--margin-m)30px}#masthead .menu-icons-container .button{min-width:20px;margin:auto 0 auto var(--sizes--margin--);padding:var(--sizes--margin-m);border-radius:20pxvar(--sizes--margin-s);border:1.5px solid var(--wp--preset--color--gray-light);opacity:.75;transition:.35s}#masthead .menu-icons-container .button.text{padding:10px var(--sizes--margin-m)}#masthead .menu-icons-container .button:hover{opacity:1}#masthead .menu-icons-container .button span{display:block;font-size:var(--typography--default--font-size--s);height:20px;line-height:22px}#masthead .menu-icons-container .button i{font-size:20px;line-height:20px;vertical-align:middle}#masthead .header-wrapper{display:flex;margin-top:0;margin-bottom:0}@media(max-width:767px){#masthead .header-wrapper{height:100%}}#masthead .header-wrapper .site-branding{align-items:flex-start;height:var(--header--branding--height)}@media(max-width:767px){#masthead .header-wrapper .site-branding{text-align:left;padding-right:60px;justify-content:flex-start !important}}#masthead .header-wrapper .site-branding .custom-logo-link{display:flex;height:100%;align-items:center}#masthead .header-wrapper .site-branding .custom-logo-link .custom-logo{-o-object-fit:contain;object-fit:contain;height:var(--header--logo--height);width:auto;max-width:var(--header--branding--max-width)}@media(max-width:767px){#masthead .header-wrapper .site-branding .custom-logo-link .custom-logo{max-height:calc(var(--header--branding--height) - var(--sizes--margin-m));width:auto;margin:0}}#masthead .header-wrapper .site-branding .site-logo{height:var(--header--branding--height)}#masthead .header-wrapper .site-branding.has-header-text.has-custom-logo{display:flex;flex-direction:row;align-items:center}#masthead .header-wrapper .site-branding.has-header-text.has-custom-logo .site-logo{margin-right:var(--sizes--margin--)}@media(max-width:767px){#masthead .header-wrapper .site-branding.has-header-text.has-custom-logo .site-logo{width:auto}}#masthead .header-wrapper .site-branding.has-header-text.has-custom-logo .custom-logo{-o-object-position:right;object-position:right}#masthead .header-wrapper .site-branding.has-header-text.has-custom-logo .header-text{text-align:left;margin-left:var(--sizes--margin--)}#masthead .header-wrapper .header-text{height:100%;display:flex;flex-direction:column;justify-content:center}#masthead .header-wrapper .header-text .site-title a{color:var(--header--title-color)}#masthead .header-wrapper .header-text .site-description,#masthead .header-wrapper .header-text .site-title{margin:0;white-space:nowrap}#masthead .header-wrapper .header-text .site-description{display:inline-block;font-weight:var(--typography--default--font-weight--light);color:var(--header--text-color)}#masthead.header-portrait .header-wrapper{flex-direction:column}@media(max-width:767px){#masthead.header-portrait .header-wrapper{justify-content:center}}@media(max-width:767px){#masthead.header-portrait .header-wrapper .site-branding{padding-top:0}}#masthead.header-portrait .header-wrapper .site-branding .header-text{text-align:center;margin-right:auto;padding-top:var(--sizes--margin--);padding-bottom:var(--sizes--margin--)}@media(max-width:960px){#masthead.header-portrait .header-wrapper .site-branding .header-text{text-align:left;padding-top:0;padding-bottom:0}}#masthead.header-portrait .header-wrapper .site-branding .header-text .site-title{font-size:calc(var(--header--branding--height)*0.4);line-height:1}#masthead.header-portrait .header-wrapper .site-branding .header-text .site-description{font-size:calc(var(--header--branding--height)*0.2);line-height:1}#masthead.header-portrait .header-wrapper .site-branding.has-header-text.has-custom-logo{justify-content:center;margin-right:0}#masthead.header-portrait .header-wrapper .main-navigation ul{height:auto}#masthead.header-portrait .header-wrapper .site-logo{margin-left:auto}#masthead.header-portrait .header-wrapper .site-logo .custom-logo{margin-left:auto;margin-right:auto}@media(max-width:767px){#masthead.header-portrait .header-wrapper .site-logo .custom-logo{margin-right:0;margin-left:0}}#masthead.header-landscape .header-wrapper{flex-direction:row;height:var(--header--nav--height)}@media(max-width:960px){#masthead.header-landscape .header-wrapper{height:100%}}#masthead.header-landscape .header-wrapper .site-branding{padding-top:0;box-sizing:border-box;width:100%;height:100%}@media(max-width:960px){#masthead.header-landscape .header-wrapper .site-branding{padding-top:var(--sizes--margin-xs);padding-bottom:var(--sizes--margin-xs)}}#masthead.header-landscape .header-wrapper .site-branding .site-logo{height:100%;margin-left:0;width:auto}#masthead.header-landscape .header-wrapper .site-branding .custom-logo{-o-object-position:left;object-position:left;width:auto;height:var(--header--nav--height);max-width:var(--header--logo--height)}@media(max-width:960px){#masthead.header-landscape .header-wrapper .site-branding .custom-logo{max-width:100%}}#masthead.header-landscape .header-wrapper .site-branding .header-text .site-title{font-size:calc(var(--header--nav--height)*0.3);line-height:1}#masthead.header-landscape .header-wrapper .site-branding .header-text .site-description{display:inline-block;font-weight:var(--typography--default--font-weight--light);font-size:calc(var(--header--nav--height)*0.2);line-height:1}#masthead.header-landscape .header-wrapper .main-navigation{align-self:flex-end;width:100%}#masthead.header-landscape .header-wrapper .main-navigation ul{justify-content:flex-end}#masthead.header-landscape .header-wrapper .main-navigation li a{line-height:var(--header--nav--height)}@media(max-width:960px){#masthead.header-landscape .header-wrapper .main-navigation li a{line-height:2.5;height:auto}}#masthead.header-landscape .header-wrapper .main-menu{justify-content:flex-end;padding:0 0 0 var(--sizes--responsive--side-margin)}@media(max-width:960px){#masthead.header-landscape .header-wrapper .main-menu{padding:0;justify-content:flex-start}}@media screen and (max-width:600px){body.logged-in>div:last-child{position:fixed !important}}.admin-bar #masthead{top:32px}@media screen and (max-width:782px){.admin-bar #masthead{top:46px}}@media(max-width:960px){.main-navigation{overflow-y:auto}}.main-navigation .main-menu{display:flex;height:100%;align-items:center;justify-content:center}@media(max-width:960px){.main-navigation .main-menu{align-items:flex-start;justify-content:flex-start}}.main-navigation ul{display:flex;justify-content:center;height:var(--header--nav--height);margin:0;padding:0}@media(max-width:960px){.main-navigation ul{display:block;max-width:100%}}.main-navigation li{display:block;position:relative;margin:0;padding:0}.main-navigation li a{display:block;white-space:nowrap;height:var(--header--nav--height);line-height:var(--header--nav--height);padding:0 var(--sizes--margin-l);box-sizing:border-box;color:var(--header--text-color);font-weight:var(--typography--default--font-weight--bold);text-decoration:none !important;opacity:.8;transition:.35s}.main-navigation li a:hover{opacity:1}@media(max-width:1366px){.main-navigation li a{padding:0 var(--sizes--margin-m)}}@media(max-width:960px){.main-navigation li a{height:auto;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-weight:var(--typography--default--font-weight--regular);font-size:calc(var(--typography--default--font-size--m) - 2px);line-height:2.5}}.main-navigation li.current-menu-ancestor a,.main-navigation li.current-menu-item a,.main-navigation li.current-menu-parent a{font-weight:var(--typography--default--font-weight--bold);opacity:1}.main-navigation .menu>li:first-child a{padding-left:0}.main-navigation .menu>li:last-child a{padding-right:0}.main-navigation .menu>li li a{padding:0 var(--sizes--margin-l) !important}@media(max-width:960px){.main-navigation .menu>li li a{padding:0 !important}}.main-navigation .menu>li a{line-height:2.2;height:inherit}@media(max-width:960px){.main-navigation .menu>li a{padding:0}}@media(max-width:960px){.main-navigation .menu>li .sub-menu{padding-left:var(--sizes--margin-m)}}.main-navigation .menu-shadow{display:none}@media(max-width:960px){.main-navigation{background-color:rgba(var(--header--background--dark--decimal), .9);height:100vh;padding:var(--header--nav--height) var(--sizes--margin-m) var(--sizes--margin-l);z-index:1020;width:90%;max-width:360px;box-sizing:border-box;transform:translateX(100%);right:0}.main-navigation,.main-navigation+.menu-shadow{position:absolute;top:0;bottom:0;transition:.35s;transition-delay:50ms}.main-navigation+.menu-shadow{display:block;height:100vh;width:100%;opacity:0;right:100%;background-color:rgba(var(--wp--preset--color--black--decimal), .5);transition:opacity .2s;transform:translateX(0) !important}}@media(max-width:960px){.main-navigation{height:calc(100vh - var(--header--branding--height));padding:var(--sizes--margin-l) var(--sizes--responsive--side-margin)}.main-navigation,.main-navigation+.menu-shadow{top:var(--header--branding--height)}}@media(max-width:960px){#masthead.active .main-navigation{transform:translateX(0)}#masthead.active .main-navigation+.menu-shadow{opacity:1;right:0}}.site ul.sub-menu{position:absolute;z-index:1010;flex-direction:column;top:100%;left:0;opacity:0;clip:rect(0 0 0 0);width:auto;height:auto;padding:0;overflow:hidden;transition:.175s;transition-delay:0ms}@media(max-width:960px){.site ul.sub-menu{position:inherit;opacity:1;background-color:transparent !important;padding-left:var(--sizes--margin--)}}.site ul.sub-menu ul.sub-menu{top:0;left:100%}@media(max-width:960px){.site ul.sub-menu ul.sub-menu{position:inherit;left:inherit;background-color:transparent}}.site ul.sub-menu.active,.site ul.sub-menu:focus-within,li a:focus+.site ul.sub-menu{transition:.35s ease-out;transition-delay:.1s;clip:inherit;overflow:visible;opacity:1}.main-width,.site .entry-content>*{width:var(--sizes--content--width);max-width:100%;box-sizing:border-box;padding-left:var(--sizes--responsive--side-margin);padding-right:var(--sizes--responsive--side-margin);margin:0 auto var(--sizes--margin-l)}@media(max-width:1023px){.main-width,.site .entry-content>*{padding-left:var(--sizes--responsive--side-margin);padding-right:var(--sizes--responsive--side-margin)}}.main-width.alignwide{width:var(--sizes--content--width-wide);max-width:100%}.has-sidebar .site-content .main-width.alignwide,.main-width.alignfull{width:100%}.entry-image img{width:100%;height:100%}.site-content{padding-top:var(--sizes--margin-l)}#masthead+.site-content{padding-top:calc(var(--header--nav--height) + var(--sizes--margin-l))}@media(max-width:960px){#masthead+.site-content{padding-top:calc(var(--header--branding--height) + var(--sizes--margin-l))}}#masthead.header-portrait+.site-content{padding-top:calc(var(--header--branding--height) + var(--header--nav--height) + var(--sizes--margin-l))}@media(max-width:960px){#masthead.header-portrait+.site-content{padding-top:calc(var(--header--branding--height) + var(--sizes--margin-l))}}body.has-featured-image #masthead+.site-content{padding-top:var(--sizes--margin-l)}@media(max-width:960px){body.has-featured-image #masthead+.site-content{padding-top:0}}body.has-sidebar.sidebar-left .site-content,body.woocommerce.sidebar-left .site-content{flex-direction:row-reverse}@media(max-width:960px){body.has-sidebar.sidebar-left .site-content,body.woocommerce.sidebar-left .site-content{flex-direction:column}}body.has-sidebar.has-featured-image .site-content,body.woocommerce.has-featured-image .site-content{padding-top:var(--sizes--margin-xl)}@media(max-width:960px){body.has-sidebar.has-featured-image .site-content,body.woocommerce.has-featured-image .site-content{padding-top:var(--sizes--responsive--side-margin)}}body.has-sidebar .site-content,body.woocommerce .site-content{display:flex;justify-content:center;width:var(--sizes--content--width-wide);max-width:100%;box-sizing:border-box;margin:0 auto}@media(max-width:960px){body.has-sidebar .site-content,body.woocommerce .site-content{width:100%;flex-direction:column}}body.has-sidebar .site-content .content-area,body.woocommerce .site-content .content-area{width:calc(100% - var(--sizes--sidebar--width) - var(--sizes--sidebar--side-margin))}@media(max-width:960px){body.has-sidebar .site-content .content-area,body.woocommerce .site-content .content-area{width:100%}}.site .entry-content>:first-child{margin-top:0}.site .entry-content>:last-child{margin-bottom:0;clear:both}.site .entry-content>.alignclose{margin-top:0;margin-bottom:0}.site .entry-content>.alignclose.has-media-on-the-right.padded-image img{margin-right:var(--sizes--margin-xl);margin-left:0}.site .entry-content>.alignwide{width:100%;max-width:var(--sizes--content--width-wide);padding-left:var(--sizes--margin--);padding-right:var(--sizes--margin--);clear:both}.site .entry-content>.alignfull{position:relative;width:100%;padding-left:0;padding-right:0;clear:both}.site .entry-content>.alignleft{float:left}.site .entry-content>.alignleft,.site .entry-content>.alignright{width:auto;max-width:calc(var(--sizes--content--width) + var(--sizes--content--side-padding));margin-top:0;margin-bottom:0;padding-left:var(--sizes--margin--);padding-right:var(--sizes--margin--)}.site .entry-content>.alignright{float:right}.site .entry-content>.aligncenter{margin-left:auto;margin-right:auto;text-align:center}@media(max-width:1260px){.site .entry-content>.aligncenter{margin-left:auto;margin-right:auto}}body.home .entry-content{overflow:visible}body.home .entry-content>.wp-block-columns:first-child{margin-top:calc(var(--sizes--margin-xl)*-1.5);margin-bottom:var(--sizes--margin-xl);display:flex;flex-wrap:wrap;position:relative}@media(max-width:1023px){body.home .entry-content>.wp-block-columns:first-child{flex-direction:column;text-align:left;margin-bottom:var(--sizes--margin-l)}}body.home .entry-content>.wp-block-columns:first-child .wp-block-column{background:var(--wp--preset--color--white);margin:0 var(--sizes--margin-l);padding:0 var(--sizes--margin-m) var(--sizes--margin-l);border:1px solid var(--wp--preset--color--gray-light);border-radius:var(--sizes--margin-xs);line-height:var(--typography--default--line-height);display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;flex:1 0 20%;box-shadow:0 4px 20px -10px rgba(var(--wp--preset--color--black--decimal), .8)}@media(max-width:1023px){body.home .entry-content>.wp-block-columns:first-child .wp-block-column{padding-bottom:0;align-items:flex-start;margin:0 var(--sizes--margin-m) var(--sizes--margin-m);height:160px}}body.home .entry-content>.wp-block-columns:first-child .wp-block-column .wp-block-image{justify-content:center;margin:0 calc(var(--sizes--margin-m)*-1) var(--sizes--responsive--side-margin);flex:auto}@media(max-width:1023px){body.home .entry-content>.wp-block-columns:first-child .wp-block-column .wp-block-image{margin:0 var(--sizes--margin-m) 0 0;width:30%;height:100%}}body.home .entry-content>.wp-block-columns:first-child .wp-block-column .wp-block-image img{height:100%;-o-object-fit:inherit;object-fit:inherit;padding-top:var(--sizes--margin-m)}@media(max-width:1023px){body.home .entry-content>.wp-block-columns:first-child .wp-block-column .wp-block-image img{width:100%;padding:15%;height:100%;box-sizing:border-box}}body.home .entry-content>.wp-block-columns:first-child .wp-block-column .wp-block-image figure{display:block;width:100%;height:100%;margin:0}body.home .entry-content>.wp-block-columns:first-child .wp-block-column h2,body.home .entry-content>.wp-block-columns:first-child .wp-block-column h3,body.home .entry-content>.wp-block-columns:first-child .wp-block-column h4{margin-top:0;margin-bottom:0}body.home .entry-content>.wp-block-columns:first-child .wp-block-column p{margin:0}@media(max-width:1023px){body.home .entry-content>.wp-block-columns:first-child .wp-block-column p{font-size:14px;width:65%;padding:0;text-align:left}}body.home .entry-content>.wp-block-columns:first-child .wp-block-column p a{font-weight:400}body.home .entry-content>.wp-block-columns:first-child .wp-block-column p b,body.home .entry-content>.wp-block-columns:first-child .wp-block-column p strong{color:var(--color--text)}body.home .entry-content>.has-3-columns.animated .wp-block-column{overflow:hidden;transition:1.4s;transform:translateY(30%);opacity:0;transition-delay:.525s}body.home .entry-content>.has-3-columns.animated .wp-block-column:first-of-type{transition-delay:.875s}body.home .entry-content>.has-3-columns.animated .wp-block-column:nth-of-type(3){transition-delay:1.05s}@media(max-width:1023px){body.home .entry-content>.has-3-columns.animated .wp-block-column,body.home .entry-content>.has-3-columns.animated .wp-block-column:first-of-type{transition-delay:inherit}body.home .entry-content>.has-3-columns.animated .wp-block-column:nth-of-type(2){transition-delay:.175s}body.home .entry-content>.has-3-columns.animated .wp-block-column:nth-of-type(3){transition-delay:.35s}}body.home .entry-content>.has-3-columns.animated.already-see .wp-block-column{transform:translateY(0);opacity:1}body.blog .page-header{padding-top:var(--sizes--margin-xl);padding-bottom:var(--sizes--margin-l)}@media(max-width:1023px){body.blog .page-header{padding-top:var(--sizes--margin-l);padding-bottom:var(--sizes--margin-m)}} \ No newline at end of file +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css *//*! edited by Codekraft Studio | removed unused style */html{line-height:1.15}body{margin:0}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}[hidden]{display:none}body,html{margin:0;padding:0}html{background-color:var(--wp--preset--color--white-smoke);height:calc(var(--vh, 1vh)*100);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased}body,html{max-width:100%}body{height:-webkit-fill-available;min-height:100%;box-sizing:border-box}#page,body{overflow-x:hidden}.has-black-background-color,.has-gray-dark-background-color,.has-primary-background-color,.has-primary-dark-background-color,.has-primary-light-background-color,.has-secondary-background-color,.has-secondary-dark-background-color,.has-secondary-light-background-color{color:var(--wp--preset--color--white)}.has-gray-light-background-color,.has-white-background-color,.has-white-smoke-background-color{color:var(--color--text)}@media(max-width:1023px){body.woocommerce .site-content{padding-left:var(--sizes--responsive--side-margin);padding-right:var(--sizes--responsive--side-margin)}}body.woocommerce.sidebar-left .site-content{padding-right:var(--sizes--responsive--side-margin)}body{font-family:var(--typography--content--font-family),sans-serif;color:var(--color--text);font-weight:var(--typography--default--font-weight--regular);font-size:var(--typography--default--font-size--m);line-height:var(--typography--default--line-height);word-break:break-word}@media(max-width:500px){body{font-size:var(--typography--default--font-size--s)}}h1,h2,h3,h4,h5,h6{font-family:var(--typography--title--font-family);font-weight:var(--typography--title--font-weight);margin:0 0 var(--sizes--margin--);padding:0}h1{font-size:var(--typography--default--font-size--xxxl)}@media(max-width:500px){h1{font-size:var(--typography--default--font-size--xxl)}}h2{font-size:var(--typography--default--font-size--xxl)}@media(max-width:500px){h2{font-size:var(--typography--default--font-size--l)}}.woocommerce h2{font-size:var(--typography--default--font-size--xl)}@media(max-width:500px){.woocommerce h2{font-size:var(--typography--default--font-size--l)}}h3{font-size:var(--typography--default--font-size--xl)}@media(max-width:767px){h3{font-size:var(--typography--default--font-size--m)}}h4{font-size:var(--typography--default--font-size--l)}@media(max-width:1260px){h4{font-size:var(--typography--default--font-size--m)}}h5,h6{font-size:var(--typography--default--font-size--m)}@media(max-width:1260px){h5,h6{font-size:var(--typography--default--font-size--s)}}li,p{list-style:none;font-size:var(--typography--default--font-size--m)}@media(max-width:500px){li,p{font-size:var(--typography--default--font-size--s)}}p{margin:0 0 var(--sizes--margin--)}b,strong{font-weight:var(--typography--default--font-weight--bold)}a{text-decoration:none;color:var(--wp--preset--color--primary)}dl,ol,ul{margin-top:var(--sizes--margin-m);margin-bottom:var(--sizes--margin-m);padding:0}dl dt,dl li,ol dt,ol li,ul dt,ul li{line-height:var(--typography--default--line-height);margin:0}.header-color{background-color:var(--header--nav-background)}#masthead{position:fixed;z-index:1000;top:0;width:100%;transition:.35s;color:var(--header--text-color)}@media(max-width:960px){#masthead{height:var(--header--branding--height);transform:inherit !important;padding:0}}.scrolled #masthead{box-shadow:0 3px 10px -5px rgba(var(--wp--preset--color--black--decimal), .7)}@media(max-width:960px){.scrolled #masthead{transform:inherit !important}}.scrolled #masthead.header-portrait{transform:translateY(calc(var(--header--branding--height)*-1))}#masthead .site-header-image{position:absolute;width:100%;height:100%;left:0}#masthead .show-on-mobile{display:none}@media(max-width:960px){#masthead .show-on-mobile{display:block}}#masthead .menu-icons-container,#masthead .menu-resp{position:absolute;top:0;right:var(--sizes--responsive--side-margin);height:100%}@media(max-width:960px){#masthead .menu-icons-container,#masthead .menu-resp{display:flex;justify-content:center;align-content:center}}#masthead .menu-resp{z-index:1030}#masthead .menu-icons-container{z-index:1010;right:var(--sizes--margin-m)30px}#masthead .menu-icons-container .button{min-width:20px;margin:auto 0 auto var(--sizes--margin--);padding:var(--sizes--margin-m);border-radius:20pxvar(--sizes--margin-s);border:1.5px solid var(--wp--preset--color--gray-light);opacity:.75;transition:.35s}#masthead .menu-icons-container .button.text{padding:10px var(--sizes--margin-m)}#masthead .menu-icons-container .button:hover{opacity:1}#masthead .menu-icons-container .button span{display:block;font-size:var(--typography--default--font-size--s);height:20px;line-height:22px}#masthead .menu-icons-container .button i{font-size:20px;line-height:20px;vertical-align:middle}#masthead .header-wrapper{display:flex;margin-top:0;margin-bottom:0}@media(max-width:767px){#masthead .header-wrapper{height:100%}}#masthead .header-wrapper .site-branding{align-items:flex-start;height:var(--header--branding--height)}@media(max-width:767px){#masthead .header-wrapper .site-branding{text-align:left;padding-right:60px;justify-content:flex-start !important}}#masthead .header-wrapper .site-branding .custom-logo-link{display:flex;height:100%;align-items:center}#masthead .header-wrapper .site-branding .custom-logo-link .custom-logo{-o-object-fit:contain;object-fit:contain;height:var(--header--logo--height);width:auto;max-width:var(--header--branding--max-width)}@media(max-width:767px){#masthead .header-wrapper .site-branding .custom-logo-link .custom-logo{max-height:calc(var(--header--branding--height) - var(--sizes--margin-m));width:auto;margin:0}}#masthead .header-wrapper .site-branding .site-logo{height:var(--header--branding--height)}#masthead .header-wrapper .site-branding.has-header-text.has-custom-logo{display:flex;flex-direction:row;align-items:center}#masthead .header-wrapper .site-branding.has-header-text.has-custom-logo .site-logo{margin-right:var(--sizes--margin--)}@media(max-width:767px){#masthead .header-wrapper .site-branding.has-header-text.has-custom-logo .site-logo{width:auto}}#masthead .header-wrapper .site-branding.has-header-text.has-custom-logo .custom-logo{-o-object-position:right;object-position:right}#masthead .header-wrapper .site-branding.has-header-text.has-custom-logo .header-text{text-align:left;margin-left:var(--sizes--margin--)}#masthead .header-wrapper .header-text{height:100%;display:flex;flex-direction:column;justify-content:center}#masthead .header-wrapper .header-text .site-title a{color:var(--header--title-color)}#masthead .header-wrapper .header-text .site-description,#masthead .header-wrapper .header-text .site-title{margin:0;white-space:nowrap}#masthead .header-wrapper .header-text .site-description{display:inline-block;font-weight:var(--typography--default--font-weight--light);color:var(--header--text-color)}#masthead.header-portrait .header-wrapper{flex-direction:column}@media(max-width:767px){#masthead.header-portrait .header-wrapper{justify-content:center}}@media(max-width:767px){#masthead.header-portrait .header-wrapper .site-branding{padding-top:0}}#masthead.header-portrait .header-wrapper .site-branding .header-text{text-align:center;margin-right:auto;padding-top:var(--sizes--margin--);padding-bottom:var(--sizes--margin--)}@media(max-width:960px){#masthead.header-portrait .header-wrapper .site-branding .header-text{text-align:left;padding-top:0;padding-bottom:0}}#masthead.header-portrait .header-wrapper .site-branding .header-text .site-title{font-size:calc(var(--header--branding--height)*0.4);line-height:1}#masthead.header-portrait .header-wrapper .site-branding .header-text .site-description{font-size:calc(var(--header--branding--height)*0.2);line-height:1}#masthead.header-portrait .header-wrapper .site-branding.has-header-text.has-custom-logo{justify-content:center;margin-right:0}#masthead.header-portrait .header-wrapper .main-navigation ul{height:auto}#masthead.header-portrait .header-wrapper .site-logo{margin-left:auto}#masthead.header-portrait .header-wrapper .site-logo .custom-logo{margin-left:auto;margin-right:auto}@media(max-width:767px){#masthead.header-portrait .header-wrapper .site-logo .custom-logo{margin-right:0;margin-left:0}}#masthead.header-landscape .header-wrapper{flex-direction:row;height:var(--header--nav--height)}@media(max-width:960px){#masthead.header-landscape .header-wrapper{height:100%}}#masthead.header-landscape .header-wrapper .site-branding{padding-top:0;box-sizing:border-box;width:100%;height:100%}@media(max-width:960px){#masthead.header-landscape .header-wrapper .site-branding{padding-top:var(--sizes--margin-xs);padding-bottom:var(--sizes--margin-xs)}}#masthead.header-landscape .header-wrapper .site-branding .site-logo{height:100%;margin-left:0;width:auto}#masthead.header-landscape .header-wrapper .site-branding .custom-logo{-o-object-position:left;object-position:left;width:auto;height:var(--header--logo--height)}@media(max-width:960px){#masthead.header-landscape .header-wrapper .site-branding .custom-logo{max-width:100%}}#masthead.header-landscape .header-wrapper .site-branding .header-text .site-title{font-size:calc(var(--header--nav--height)*0.3);line-height:1}#masthead.header-landscape .header-wrapper .site-branding .header-text .site-description{display:inline-block;font-weight:var(--typography--default--font-weight--light);font-size:calc(var(--header--nav--height)*0.2);line-height:1}#masthead.header-landscape .header-wrapper .main-navigation{align-self:flex-end;width:100%}#masthead.header-landscape .header-wrapper .main-navigation ul{justify-content:flex-end}#masthead.header-landscape .header-wrapper .main-navigation li a{line-height:var(--header--nav--height)}@media(max-width:960px){#masthead.header-landscape .header-wrapper .main-navigation li a{line-height:2.5;height:auto}}#masthead.header-landscape .header-wrapper .main-menu{justify-content:flex-end;padding:0 0 0 var(--sizes--responsive--side-margin)}@media(max-width:960px){#masthead.header-landscape .header-wrapper .main-menu{padding:0;justify-content:flex-start}}@media screen and (max-width:600px){body.logged-in>div:last-child{position:fixed !important}}.admin-bar #masthead{top:32px}@media screen and (max-width:782px){.admin-bar #masthead{top:46px}}@media(max-width:960px){.main-navigation{overflow-y:auto}}.main-navigation .main-menu{display:flex;height:100%;align-items:center;justify-content:center}@media(max-width:960px){.main-navigation .main-menu{align-items:flex-start;justify-content:flex-start}}.main-navigation ul{display:flex;justify-content:center;height:var(--header--nav--height);margin:0;padding:0}@media(max-width:960px){.main-navigation ul{display:block;max-width:100%}}.main-navigation li{display:block;position:relative;margin:0;padding:0}.main-navigation li a{display:block;white-space:nowrap;height:var(--header--nav--height);line-height:var(--header--nav--height);padding:0 var(--sizes--margin-l);box-sizing:border-box;color:var(--header--text-color);font-weight:var(--typography--default--font-weight--bold);text-decoration:none !important;opacity:.8;transition:.35s}.main-navigation li a:hover{opacity:1}@media(max-width:1366px){.main-navigation li a{padding:0 var(--sizes--margin-m)}}@media(max-width:960px){.main-navigation li a{height:auto;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-weight:var(--typography--default--font-weight--regular);font-size:calc(var(--typography--default--font-size--m) - 2px);line-height:2.5}}.main-navigation li.current-menu-ancestor a,.main-navigation li.current-menu-item a,.main-navigation li.current-menu-parent a{font-weight:var(--typography--default--font-weight--bold);opacity:1}.main-navigation .menu>li:first-child a{padding-left:0}.main-navigation .menu>li:last-child a{padding-right:0}.main-navigation .menu>li li a{padding:0 var(--sizes--margin-l) !important}@media(max-width:960px){.main-navigation .menu>li li a{padding:0 !important}}.main-navigation .menu>li a{line-height:2.2;height:inherit}@media(max-width:960px){.main-navigation .menu>li a{padding:0}}@media(max-width:960px){.main-navigation .menu>li .sub-menu{padding-left:var(--sizes--margin-m)}}.main-navigation .menu-shadow{display:none}@media(max-width:960px){.main-navigation{background-color:rgba(var(--header--background--dark--decimal), .9);height:100vh;padding:var(--header--nav--height) var(--sizes--margin-m) var(--sizes--margin-l);z-index:1020;width:90%;max-width:360px;box-sizing:border-box;transform:translateX(100%);right:0}.main-navigation,.main-navigation+.menu-shadow{position:absolute;top:0;bottom:0;transition:.35s;transition-delay:50ms}.main-navigation+.menu-shadow{display:block;height:100vh;width:100%;opacity:0;right:100%;background-color:rgba(var(--wp--preset--color--black--decimal), .5);transition:opacity .2s;transform:translateX(0) !important}}@media(max-width:960px){.main-navigation{height:calc(100vh - var(--header--branding--height));padding:var(--sizes--margin-l) var(--sizes--responsive--side-margin)}.main-navigation,.main-navigation+.menu-shadow{top:var(--header--branding--height)}}@media(max-width:960px){#masthead.active .main-navigation{transform:translateX(0)}#masthead.active .main-navigation+.menu-shadow{opacity:1;right:0}}.site ul.sub-menu{position:absolute;z-index:1010;flex-direction:column;top:100%;left:0;opacity:0;clip:rect(0 0 0 0);width:auto;height:auto;padding:0;overflow:hidden;transition:.175s;transition-delay:0ms}@media(max-width:960px){.site ul.sub-menu{position:inherit;opacity:1;background-color:transparent !important;padding-left:var(--sizes--margin--)}}.site ul.sub-menu ul.sub-menu{top:0;left:100%}@media(max-width:960px){.site ul.sub-menu ul.sub-menu{position:inherit;left:inherit;background-color:transparent}}.site ul.sub-menu.active,.site ul.sub-menu:focus-within,li a:focus+.site ul.sub-menu{transition:.35s ease-out;transition-delay:.1s;clip:inherit;overflow:visible;opacity:1}.main-width,.site .entry-content>*{width:var(--sizes--content--width);max-width:100%;box-sizing:border-box;padding-left:var(--sizes--responsive--side-margin);padding-right:var(--sizes--responsive--side-margin);margin:0 auto var(--sizes--margin-l)}@media(max-width:1023px){.main-width,.site .entry-content>*{padding-left:var(--sizes--responsive--side-margin);padding-right:var(--sizes--responsive--side-margin)}}.main-width.alignwide{width:var(--sizes--content--width-wide);max-width:100%}.has-sidebar .site-content .main-width.alignwide,.main-width.alignfull{width:100%}.entry-image img{width:100%;height:100%}.site-content{padding-top:var(--sizes--margin-l)}#masthead+.site-content{padding-top:calc(var(--header--nav--height) + var(--sizes--margin-l))}@media(max-width:960px){#masthead+.site-content{padding-top:calc(var(--header--branding--height) + var(--sizes--margin-l))}}#masthead.header-portrait+.site-content{padding-top:calc(var(--header--branding--height) + var(--header--nav--height) + var(--sizes--margin-l))}@media(max-width:960px){#masthead.header-portrait+.site-content{padding-top:calc(var(--header--branding--height) + var(--sizes--margin-l))}}body.has-featured-image #masthead+.site-content{padding-top:var(--sizes--margin-l)}@media(max-width:960px){body.has-featured-image #masthead+.site-content{padding-top:0}}body.has-sidebar.sidebar-left .site-content,body.woocommerce.sidebar-left .site-content{flex-direction:row-reverse}@media(max-width:960px){body.has-sidebar.sidebar-left .site-content,body.woocommerce.sidebar-left .site-content{flex-direction:column}}body.has-sidebar.has-featured-image .site-content,body.woocommerce.has-featured-image .site-content{padding-top:var(--sizes--margin-xl)}@media(max-width:960px){body.has-sidebar.has-featured-image .site-content,body.woocommerce.has-featured-image .site-content{padding-top:var(--sizes--responsive--side-margin)}}body.has-sidebar .site-content,body.woocommerce .site-content{display:flex;justify-content:center;width:var(--sizes--content--width-wide);max-width:100%;box-sizing:border-box;margin:0 auto}@media(max-width:960px){body.has-sidebar .site-content,body.woocommerce .site-content{width:100%;flex-direction:column}}body.has-sidebar .site-content .content-area,body.woocommerce .site-content .content-area{width:calc(100% - var(--sizes--sidebar--width) - var(--sizes--sidebar--side-margin))}@media(max-width:960px){body.has-sidebar .site-content .content-area,body.woocommerce .site-content .content-area{width:100%}}.site .entry-content>:first-child{margin-top:0}.site .entry-content>:last-child{margin-bottom:0;clear:both}.site .entry-content>.alignclose{margin-top:0;margin-bottom:0}.site .entry-content>.alignclose.has-media-on-the-right.padded-image img{margin-right:var(--sizes--margin-xl);margin-left:0}.site .entry-content>.alignwide{width:100%;max-width:var(--sizes--content--width-wide);padding-left:var(--sizes--margin--);padding-right:var(--sizes--margin--);clear:both}.site .entry-content>.alignfull{position:relative;width:100%;padding-left:0;padding-right:0;clear:both}.site .entry-content>.alignleft{float:left}.site .entry-content>.alignleft,.site .entry-content>.alignright{width:auto;max-width:calc(var(--sizes--content--width) + var(--sizes--content--side-padding));margin-top:0;margin-bottom:0;padding-left:var(--sizes--margin--);padding-right:var(--sizes--margin--)}.site .entry-content>.alignright{float:right}.site .entry-content>.aligncenter{margin-left:auto;margin-right:auto;text-align:center}@media(max-width:1260px){.site .entry-content>.aligncenter{margin-left:auto;margin-right:auto}}body.home .entry-content{overflow:visible}body.home .entry-content>.wp-block-columns:first-child{margin-top:calc(var(--sizes--margin-xl)*-1.5);margin-bottom:var(--sizes--margin-xl);display:flex;flex-wrap:wrap;position:relative}@media(max-width:1023px){body.home .entry-content>.wp-block-columns:first-child{flex-direction:column;text-align:left;margin-bottom:var(--sizes--margin-l)}}body.home .entry-content>.wp-block-columns:first-child .wp-block-column{background:var(--wp--preset--color--white);margin:0 var(--sizes--margin-l);padding:0 var(--sizes--margin-m) var(--sizes--margin-l);border:1px solid var(--wp--preset--color--gray-light);border-radius:var(--sizes--margin-xs);line-height:var(--typography--default--line-height);display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;flex:1 0 20%;box-shadow:0 4px 20px -10px rgba(var(--wp--preset--color--black--decimal), .8)}@media(max-width:1023px){body.home .entry-content>.wp-block-columns:first-child .wp-block-column{padding-bottom:0;align-items:flex-start;margin:0 var(--sizes--margin-m) var(--sizes--margin-m);height:160px}}body.home .entry-content>.wp-block-columns:first-child .wp-block-column .wp-block-image{justify-content:center;margin:0 calc(var(--sizes--margin-m)*-1) var(--sizes--responsive--side-margin);flex:auto}@media(max-width:1023px){body.home .entry-content>.wp-block-columns:first-child .wp-block-column .wp-block-image{margin:0 var(--sizes--margin-m) 0 0;width:30%;height:100%}}body.home .entry-content>.wp-block-columns:first-child .wp-block-column .wp-block-image img{height:100%;-o-object-fit:inherit;object-fit:inherit;padding-top:var(--sizes--margin-m)}@media(max-width:1023px){body.home .entry-content>.wp-block-columns:first-child .wp-block-column .wp-block-image img{width:100%;padding:15%;height:100%;box-sizing:border-box}}body.home .entry-content>.wp-block-columns:first-child .wp-block-column .wp-block-image figure{display:block;width:100%;height:100%;margin:0}body.home .entry-content>.wp-block-columns:first-child .wp-block-column h2,body.home .entry-content>.wp-block-columns:first-child .wp-block-column h3,body.home .entry-content>.wp-block-columns:first-child .wp-block-column h4{margin-top:0;margin-bottom:0}body.home .entry-content>.wp-block-columns:first-child .wp-block-column p{margin:0}@media(max-width:1023px){body.home .entry-content>.wp-block-columns:first-child .wp-block-column p{font-size:14px;width:65%;padding:0;text-align:left}}body.home .entry-content>.wp-block-columns:first-child .wp-block-column p a{font-weight:400}body.home .entry-content>.wp-block-columns:first-child .wp-block-column p b,body.home .entry-content>.wp-block-columns:first-child .wp-block-column p strong{color:var(--color--text)}body.home .entry-content>.has-3-columns.animated .wp-block-column{overflow:hidden;transition:1.4s;transform:translateY(30%);opacity:0;transition-delay:.525s}body.home .entry-content>.has-3-columns.animated .wp-block-column:first-of-type{transition-delay:.875s}body.home .entry-content>.has-3-columns.animated .wp-block-column:nth-of-type(3){transition-delay:1.05s}@media(max-width:1023px){body.home .entry-content>.has-3-columns.animated .wp-block-column,body.home .entry-content>.has-3-columns.animated .wp-block-column:first-of-type{transition-delay:inherit}body.home .entry-content>.has-3-columns.animated .wp-block-column:nth-of-type(2){transition-delay:.175s}body.home .entry-content>.has-3-columns.animated .wp-block-column:nth-of-type(3){transition-delay:.35s}}body.home .entry-content>.has-3-columns.animated.already-see .wp-block-column{transform:translateY(0);opacity:1}body.blog .page-header{padding-top:var(--sizes--margin-xl);padding-bottom:var(--sizes--margin-l)}@media(max-width:1023px){body.blog .page-header{padding-top:var(--sizes--margin-l);padding-bottom:var(--sizes--margin-m)}} \ No newline at end of file diff --git a/assets/dist/css/editor.css b/assets/dist/css/editor.css index 755bf1ed..7eb59e86 100644 --- a/assets/dist/css/editor.css +++ b/assets/dist/css/editor.css @@ -202,6 +202,15 @@ iframe { color: white; } +pre { + width: 100%; + padding: var(--sizes--margin-m) var(--sizes--margin-l); + background: var(--wp--preset--color--white-smoke); + border: 1px solid var(--wp--preset--color--gray-light); + white-space: pre-wrap; + box-sizing: border-box; +} + cite { font-style: italic; } diff --git a/assets/dist/js/scripts.js b/assets/dist/js/scripts.js index fcfd4d30..5e7034c5 100644 --- a/assets/dist/js/scripts.js +++ b/assets/dist/js/scripts.js @@ -1,243 +1,6 @@ -"use strict"; - -jQuery(document).ready(function ($) { - // a slick slider - var sliders = document.getElementsByClassName("slider"); - - if (sliders.length) { - for (var i = 0; i < sliders.length; i++) { - if (sliders[i].classList.contains('slider-single')) { - $(sliders[i]).children('ul').slick({ - infinite: true, - slidesToShow: 1, - autoplay: true - }); - } else if (sliders[i].classList.contains('slider-multi')) { - $(sliders[i]).children('ul').slick({ - lazyLoad: 'ondemand', - dots: true, - infinite: true, - slidesToShow: 3, - autoplay: true, - centerMode: true, - responsive: [{ - breakpoint: 600, - settings: { - slidesToShow: 2, - slidesToScroll: 1, - infinite: true, - dots: false - } - }, { - breakpoint: 400, - settings: { - slidesToShow: 1, - slidesToScroll: 1, - infinite: true, - dots: false - } - }] - }); - } - } - } - - if ($('.lightbox')) { - $('.lightbox a').fancybox({ - caption: function caption() { - var altcaption = $(this).children('img').attr('alt').length ? $(this).children('img').attr('alt') : ''; - var figcaption = $(this).next('figcaption').length > 0 ? $(this).next('figcaption').text() : ''; - var imgcaption = figcaption !== '' ? figcaption : altcaption !== '' ? altcaption : ''; - return imgcaption; - } - }); - } - - if ($('.lightbox-gallery')) { - $('.lightbox-gallery a').click(function () { - var galleryImages, index; - - if ($(this).closest('.wp-block-gallery').hasClass('slider')) { - galleryImages = $(this).closest('.wp-block-gallery').find('.slick-slide:not(".slick-cloned") a'); - index = $(this).closest('.slick-slide').attr('data-slick-index'); - } else { - galleryImages = $(this).closest('.wp-block-gallery').find('a'); - index = $(this).closest('li').index(); - } - - var gallery = []; - galleryImages.each(function (index, galleryItem) { - var altcaption = $(this).children('img').attr('alt').length ? $(this).children('img').attr('alt') : ''; - var figcaption = $(this).next('figcaption').length > 0 ? $(this).next('figcaption').text() : ''; - var imgcaption = figcaption !== '' ? figcaption : altcaption !== '' ? altcaption : ''; - gallery.push({ - src: galleryItem.href, - opts: { - caption: imgcaption + '
of ' - } - }); - }); - $.fancybox.open(gallery, { - loop: false, - index: index - }); - return false; - }); - } -}); -"use strict"; - -jQuery(document).ready(function ($) { - var $container = document.getElementById('masonry-wrapper'); - - if ($container) { - var msnry = new Masonry($container, { - // Masonry options... - itemSelector: '.grid__item', - // select none at first - columnWidth: '.grid__col-sizer', - gutter: '.grid__gutter-sizer', - transitionDuration: '0.8s' - }); // init Infinite Scroll - - var infScroll = new InfiniteScroll($container, { - // Infinite Scroll options... - path: '.navigation a', - // selector for the NEXT link (to page 2) - append: '.grid__item', - // selector for all items you'll retrieve - outlayer: msnry, - history: false, - status: '.page-load-status' - }); - imagesLoaded($container, function (instance) { - msnry.layout(); - }); - } -}); -"use strict"; - -// Change 'hover' to 'click' if you want to -jQuery(document).ready(function ($) { - $('nav li > .sub-menu').parent().hover(function () { - var submenu = $(this).children('.sub-menu'); - - if (!$(submenu).hasClass("active")) { - $(submenu).addClass("active"); - } else { - $(submenu).removeClass("active"); - } - }); -}); -"use strict"; - -var parallaxDefaultSpeed = 0.3; -var shiftView = 200; // make the elements triggered before fully in the viewport - -var vScrollTop = 0; -var lastScroll = 0; -var viewHeight = Math.max(document.documentElement.clientHeight, window.innerHeight); -var headerHeight = document.getElementById('masthead').clientHeight; -var scrollOffset = headerHeight; // the screen height where the header resize was triggered - -var headerDistanceFromTop = document.getElementById("masthead").offsetTop; - -var isInViewport = function isInViewport(elem) { - var rect = elem.getBoundingClientRect(); - return !(rect.bottom < 0 || rect.top - viewHeight >= 0); -}; - -var isFullyVisible = function isFullyVisible(elem) { - var rect = elem.getBoundingClientRect(); - var rectBottom; - rect.bottom - rect.top > viewHeight ? rectBottom = rect.top + viewHeight : rectBottom = rect.bottom; - return rect.top + shiftView >= 0 && rectBottom - shiftView <= document.documentElement.clientHeight; -}; - -function VisibleItemsTrigger(top) { - var animated = document.getElementsByClassName("interactive"); - var arr = [].slice.call(animated); - arr.forEach(function (entry) { - if (isFullyVisible(entry)) { - entry.classList.add('visible'); - entry.classList.add('already-see'); - } else { - entry.classList.remove('visible'); - } - - if (isInViewport(entry)) { - // Parallax images - // check if interactive box have a img child and get the distance from top - if (entry.classList.contains('parallax')) { - var firstTop = window.pageYOffset + entry.getBoundingClientRect().top - headerDistanceFromTop; - var moveTopItem = -(firstTop - top) * parallaxDefaultSpeed; - entry.getElementsByTagName('img')[0].style.transform = "translateY(" + moveTopItem + "px)"; - } - } - }); -} - -function throttle(fn, wait) { - var time = Date.now(); - return function () { - if (time + wait - Date.now() < 0) { - fn(); - time = Date.now(); - } - }; -} - -function scrollCallback() { - vScrollTop = window.pageYOffset; - headerHeight = document.getElementById('masthead').clientHeight; - - if (lastScroll > vScrollTop) { - document.body.classList.remove('scrolled'); - } else { - vScrollTop > scrollOffset ? document.body.classList.add('scrolled') : document.body.classList.remove('scrolled'); - } - - if (vScrollTop < 5) { - document.body.classList.add('top'); - } else { - document.body.classList.remove('top'); - } - - VisibleItemsTrigger(vScrollTop); - lastScroll = vScrollTop; -} - -document.addEventListener("DOMContentLoaded", function (event) { - scrollCallback(); - window.addEventListener('scroll', throttle(scrollCallback, 5), true); // 1 time every 5ms - - window.addEventListener('resize', scrollCallback, true); -}); -"use strict"; - -// WooCommerce category accordion -jQuery(document).ready(function ($) { - if ($('.sidebar ul.product-categories').length > 0) { - $('.sidebar .product-categories li.cat-parent > a').prepend('arrow_forward'); - $('.sidebar .product-categories .children').hide(); - $('.sidebar .product-categories li.current-cat-parent > .children, .product-categories li.current-cat > .children').show(); - $('.sidebar .product-categories li.current-cat, .product-categories li.current-cat-parent').addClass('active'); - $(function () { - $('.sidebar .product-categories').find('a').on('click', function (e) { - var catItem = $(this).parent('.cat-item'); - - if (!catItem.hasClass('active')) { - catItem.addClass('active'); - - if (catItem.hasClass('cat-parent') || catItem.hasClass('current-cat')) { - e.preventDefault(); - } - - $(this).parents('li.cat-parent').siblings().removeClass('active'); - $(this).siblings('.children').stop(true, true).slideToggle().parents('.cat-item').siblings().children('.children').stop(true, true).slideUp(); - } - }); - }); - } -}); +"use strict";jQuery(document).ready(function(e){var t=document.getElementsByClassName("slider");if(t.length)for(var i=0;i of '}})}),e.fancybox.open(l,{loop:!1,index:i}),!1})}); +"use strict";jQuery(document).ready(function(t){var e,i=document.getElementById("masonry-wrapper");i&&(e=new Masonry(i,{itemSelector:".grid__item",columnWidth:".grid__col-sizer",gutter:".grid__gutter-sizer",transitionDuration:"0.8s"}),new InfiniteScroll(i,{path:".navigation a",append:".grid__item",outlayer:e,history:!1,status:".page-load-status"}),imagesLoaded(i,function(t){e.layout()}))}); +"use strict";jQuery(document).ready(function(a){a("nav li > .sub-menu").parent().hover(function(){var e=a(this).children(".sub-menu");a(e).hasClass("active")?a(e).removeClass("active"):a(e).addClass("active")})}); +"use strict";var parallaxDefaultSpeed=.3,shiftView=200,vScrollTop=0,lastScroll=0,viewHeight=Math.max(document.documentElement.clientHeight,window.innerHeight),headerHeight=document.getElementById("masthead").clientHeight,scrollOffset=headerHeight,headerDistanceFromTop=document.getElementById("masthead").offsetTop,isInViewport=function(e){e=e.getBoundingClientRect();return!(e.bottom<0||0<=e.top-viewHeight)},isFullyVisible=function(e){var t=e.getBoundingClientRect(),e=t.bottom-t.top>viewHeight?t.top+viewHeight:t.bottom;return 0<=t.top+shiftView&&e-shiftView<=document.documentElement.clientHeight};function VisibleItemsTrigger(l){var e=document.getElementsByClassName("interactive");[].slice.call(e).forEach(function(e){var t;isFullyVisible(e)?(e.classList.add("visible"),e.classList.add("already-see")):e.classList.remove("visible"),isInViewport(e)&&e.classList.contains("parallax")&&(t=-(window.pageYOffset+e.getBoundingClientRect().top-headerDistanceFromTop-l)*parallaxDefaultSpeed,e.getElementsByTagName("img")[0].style.transform="translateY("+t+"px)")})}function throttle(e,t){var l=Date.now();return function(){l+t-Date.now()<0&&(e(),l=Date.now())}}function scrollCallback(){vScrollTop=window.pageYOffset,headerHeight=document.getElementById("masthead").clientHeight,!(vScrollTop a").prepend('arrow_forward'),r(".sidebar .product-categories .children").hide(),r(".sidebar .product-categories li.current-cat-parent > .children, .product-categories li.current-cat > .children").show(),r(".sidebar .product-categories li.current-cat, .product-categories li.current-cat-parent").addClass("active"),r(function(){r(".sidebar .product-categories").find("a").on("click",function(e){var a=r(this).parent(".cat-item");a.hasClass("active")||(a.addClass("active"),(a.hasClass("cat-parent")||a.hasClass("current-cat"))&&e.preventDefault(),r(this).parents("li.cat-parent").siblings().removeClass("active"),r(this).siblings(".children").stop(!0,!0).slideToggle().parents(".cat-item").siblings().children(".children").stop(!0,!0).slideUp())})}))}); //# sourceMappingURL=scripts.js.map diff --git a/assets/src/scss/components/header.scss b/assets/src/scss/components/header.scss index 012fe352..5cceced2 100644 --- a/assets/src/scss/components/header.scss +++ b/assets/src/scss/components/header.scss @@ -284,7 +284,7 @@ .custom-logo { object-position: left; width: auto; - height: var(--header--nav--height); + height: var(--header--logo--height); @media #{$mq__responsive_breakpoint} { max-width: 100%; }