diff --git a/content-page.php b/content-page.php index 14db8a13..6518490d 100644 --- a/content-page.php +++ b/content-page.php @@ -25,7 +25,23 @@ if ( generate_show_title() ) : ?>
- ', '' ); ?> + ', '' ); + + /** + * generate_after_page_title hook. + * + * @since 2.4 + */ + do_action( 'generate_after_page_title' ); + ?>
div{margin-bottom:50px}.inside-footer-widgets>div:nth-child(odd){clear:both}.active-footer-widgets-1 .footer-widget-1,.active-footer-widgets-3 .footer-widget-3,.active-footer-widgets-5 .footer-widget-5{width:100%;margin-bottom:0}.active-footer-widgets-2 .inside-footer-widgets>div,.active-footer-widgets-4 .footer-widget-3,.active-footer-widgets-4 .footer-widget-4{margin-bottom:0}}@media (min-width:1025px){.pull-15,.pull-20,.pull-25,.pull-30,.pull-33,.pull-35,.pull-40,.pull-45,.pull-50,.pull-55,.pull-60,.pull-65,.pull-66,.pull-70,.pull-75,.pull-80,.pull-85,.pull-90,.pull-95,.push-15,.push-20,.push-25,.push-30,.push-33,.push-35,.push-40,.push-45,.push-50,.push-55,.push-60,.push-65,.push-66,.push-70,.push-75,.push-80,.push-85,.push-90,.push-95{position:relative}.hide-on-desktop{display:none!important}.grid-15{float:left;width:15%}.push-15{left:15%}.pull-15{left:-15%}.grid-20{float:left;width:20%}.push-20{left:20%}.pull-20{left:-20%}.grid-25{float:left;width:25%}.push-25{left:25%}.pull-25{left:-25%}.grid-30{float:left;width:30%}.push-30{left:30%}.pull-30{left:-30%}.grid-35{float:left;width:35%}.push-35{left:35%}.pull-35{left:-35%}.grid-40{float:left;width:40%}.push-40{left:40%}.pull-40{left:-40%}.grid-45{float:left;width:45%}.push-45{left:45%}.pull-45{left:-45%}.grid-50{float:left;width:50%}.push-50{left:50%}.pull-50{left:-50%}.grid-55{float:left;width:55%}.push-55{left:55%}.pull-55{left:-55%}.grid-60{float:left;width:60%}.push-60{left:60%}.pull-60{left:-60%}.grid-65{float:left;width:65%}.push-65{left:65%}.pull-65{left:-65%}.grid-70{float:left;width:70%}.push-70{left:70%}.pull-70{left:-70%}.grid-75{float:left;width:75%}.push-75{left:75%}.pull-75{left:-75%}.grid-80{float:left;width:80%}.push-80{left:80%}.pull-80{left:-80%}.grid-85{float:left;width:85%}.push-85{left:85%}.pull-85{left:-85%}.grid-33{float:left;width:33.33333%}.push-33{left:33.33333%}.pull-33{left:-33.33333%}.grid-66{float:left;width:66.66667%}.push-66{left:66.66667%}.pull-66{left:-66.66667%}.grid-100{clear:both;width:100%}}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;margin:0;padding:0}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,main,nav,section{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}ol,ul{list-style:none}table{border-collapse:separate;border-spacing:0}caption,th,td{font-weight:400;text-align:left;padding:5px}blockquote:before,blockquote:after,q:before,q:after{content:""}a{background-color:transparent}a img{border:0}body,button,input,select,textarea{font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-weight:400;text-transform:none;font-size:17px;line-height:1.5}p{margin-bottom:1.5em}h1,h2,h3,h4,h5,h6{font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit}pre{background:rgba(0,0,0,.05);font-family:inherit;font-size:inherit;line-height:normal;margin-bottom:1.5em;padding:20px;overflow:auto;max-width:100%}blockquote{border-left:5px solid rgba(0,0,0,.05);padding:20px;font-size:1.2em;font-style:italic;margin:0 0 1.5em;position:relative}blockquote p:last-child{margin:0}table,th,td{border:1px solid rgba(0,0,0,.1)}table{border-collapse:separate;border-spacing:0;border-width:1px 0 0 1px;margin:0 0 1.5em;width:100%}th,td{padding:8px}th{border-width:0 1px 1px 0}td{border-width:0 1px 1px 0}hr{background-color:rgba(0,0,0,.1);border:0;height:1px;margin-bottom:40px;margin-top:40px}fieldset{padding:0;border:0;min-width:inherit}fieldset legend{padding:0;margin-bottom:1.5em}h1{font-size:40px;margin-bottom:20px;line-height:1.2em;font-weight:300;text-transform:none}h2{font-size:30px;margin-bottom:20px;line-height:1.2em;font-weight:300;text-transform:none}h3{font-size:20px;margin-bottom:20px;line-height:1.2em;font-weight:400;text-transform:none}h4,h5,h6{margin-bottom:20px}ul,ol{margin:0 0 1.5em 3em}ul{list-style:disc}ol{list-style:decimal}li>ul,li>ol{margin-bottom:0;margin-left:1.5em}dt{font-weight:700}dd{margin:0 1.5em 1.5em}b,strong{font-weight:700}dfn,cite,em,i{font-style:italic}address{margin:0 0 1.5em}code,kbd,tt,var{font:15px Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace}abbr,acronym{border-bottom:1px dotted #666;cursor:help}mark,ins{text-decoration:none}sup,sub{font-size:75%;height:0;line-height:0;position:relative;vertical-align:baseline}sup{bottom:1ex}sub{top:.5ex}small{font-size:75%}big{font-size:125%}figure{margin:0}table{margin:0 0 1.5em;width:100%}th{font-weight:700}img{height:auto;max-width:100%}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,html input[type=button],input[type=reset],input[type=submit]{border:1px solid transparent;background:#666;cursor:pointer;-webkit-appearance:button;padding:10px 20px;color:#fff}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input[type=text],input[type=email],input[type=url],input[type=password],input[type=search],input[type=tel],input[type=number],textarea,select{background:#fafafa;color:#666;border:1px solid #ccc;border-radius:0;padding:10px 15px;box-sizing:border-box;max-width:100%}textarea{overflow:auto;vertical-align:top;width:100%}input[type=file]{max-width:100%;box-sizing:border-box}a,button,input{transition:color .1s ease-in-out,background-color .1s ease-in-out}a,a:visited,a:hover,a:focus{text-decoration:none}.button,.wp-block-button .wp-block-button__link{padding:10px 20px;display:inline-block}.wp-block-button .wp-block-button__link{font-size:inherit;line-height:inherit}.using-mouse :focus{outline:0}.using-mouse ::-moz-focus-inner{border:0}.alignleft{display:inline;float:left;margin-right:1.5em}.alignright{display:inline;float:right;margin-left:1.5em}.aligncenter{clear:both;display:block;margin:0 auto}.size-auto,.size-full,.size-large,.size-medium,.size-thumbnail{max-width:100%;height:auto}.no-sidebar .entry-content .alignfull{margin-left:calc(-100vw/2 + 100%/2);margin-right:calc(-100vw/2 + 100%/2);max-width:100vw;width:auto}.screen-reader-text,.screen-reader-text span,.screen-reader-shortcut{position:absolute!important;clip:rect(0,0,0,0);height:1px;width:1px;border:0;overflow:hidden}.screen-reader-text:focus,.screen-reader-shortcut:focus{clip:auto!important;height:auto;width:auto;display:block;font-size:1em;font-weight:700;padding:15px 23px 14px;color:#333;background:#fff;z-index:100000;text-decoration:none;box-shadow:0 0 2px 2px rgba(0,0,0,.6)}.clear:after,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.paging-navigation:after,.site-footer:after,.site-info:after,.page-header-content-container:after,.inside-navigation:not(.grid-container):after,.inside-header:not(.grid-container):after,.inside-top-bar:not(.grid-container):after,.inside-footer-widgets:not(.grid-container):after{content:"";display:table;clear:both}.main-navigation{z-index:100;padding:0;clear:both;display:block}.inside-navigation{position:relative}.main-navigation a{display:block;text-decoration:none;font-weight:400;text-transform:none;font-size:15px}.main-navigation ul li a{display:block}.main-navigation li{float:left;position:relative}.main-navigation ul{list-style:none;margin:0;padding-left:0}.sf-menu>li.menu-item-float-right{float:right!important}.main-navigation .main-nav ul li a{padding-left:20px;padding-right:20px;line-height:60px}.menu-toggle,.mobile-bar-items,.sidebar-nav-mobile{display:none}.menu-toggle{padding:0 20px;line-height:60px;margin:0;font-weight:400;text-transform:none;font-size:15px;cursor:pointer}.main-navigation .mobile-bar-items a{padding-left:20px;padding-right:20px;line-height:60px}.search-item a:before{content:"\f002";font-family:GeneratePress;width:1.28571429em;text-align:center;display:inline-block}.search-item.close-search a:before{content:"\f00d"}.search-item .screen-reader-text{top:0;right:0;left:auto;margin:0}.main-navigation li.search-item{float:right;z-index:21}li.search-item.active{transition:opacity 100ms ease-in-out}.navigation-search{position:absolute;left:-99999px;pointer-events:none;visibility:hidden;z-index:20;width:100%;top:0;transition:opacity 100ms ease-in-out;opacity:0}.navigation-search.nav-search-active{left:0;right:0;pointer-events:auto;visibility:visible;opacity:1}.gen-sidebar-nav .navigation-search{top:auto;bottom:0}.navigation-search input{outline:0;border:0;vertical-align:bottom;line-height:0;opacity:.9;width:100%;z-index:20;border-radius:0;-webkit-appearance:none}.navigation-search input::-ms-clear{display:none;width:0;height:0}.navigation-search input::-ms-reveal{display:none;width:0;height:0}.navigation-search input::-webkit-search-decoration,.navigation-search input::-webkit-search-cancel-button,.navigation-search input::-webkit-search-results-button,.navigation-search input::-webkit-search-results-decoration{display:none}.nav-left-sidebar .main-navigation li.search-item.active,.nav-right-sidebar .main-navigation li.search-item.active{width:auto;display:inline-block;float:right}.navigation-search input{height:60px}.main-navigation ul ul{display:block;box-shadow:0 2px 2px rgba(0,0,0,.1);float:left;position:absolute;left:-99999px;opacity:0;z-index:99999;width:200px;text-align:left;top:auto;transition:opacity 80ms linear;transition-delay:0s;pointer-events:none;height:0;overflow:hidden}.main-navigation ul ul a{display:block}.main-navigation ul ul li{width:100%}.main-navigation .main-nav ul ul li a{line-height:normal;padding:10px 20px;font-size:14px}.main-navigation.sub-menu-left .sub-menu{right:0}.dropdown-hover .main-navigation:not(.toggled) ul li:hover>ul,.dropdown-hover .main-navigation:not(.toggled) ul li.sfHover>ul{left:auto;opacity:1;transition-delay:150ms;pointer-events:auto;height:auto;overflow:visible}.dropdown-hover .main-navigation:not(.toggled) ul ul li:hover>ul,.dropdown-hover .main-navigation:not(.toggled) ul ul li.sfHover>ul{left:100%;top:0}.dropdown-hover .main-navigation.sub-menu-left:not(.toggled) ul ul li:hover>ul,.dropdown-hover .main-navigation.sub-menu-left:not(.toggled) ul ul li.sfHover>ul{right:100%;left:auto}.dropdown-click .main-navigation ul ul{visibility:hidden}.dropdown-click .main-navigation ul.toggled-on,.dropdown-click .main-navigation ul li.sfHover>ul.toggled-on{left:auto;opacity:1;visibility:visible;pointer-events:auto;height:auto;overflow:visible}.dropdown-click nav ul ul ul{background-color:transparent}.main-navigation .main-nav ul ul li a{line-height:normal}.nav-float-right .main-navigation ul ul ul{top:0}.main-navigation .main-nav ul li.menu-item-has-children>a{padding-right:0;position:relative}.menu-item-has-children .dropdown-menu-toggle{display:inline-block;height:100%;clear:both;padding-right:20px;padding-left:10px}.menu-item-has-children ul .dropdown-menu-toggle{padding-top:10px;padding-bottom:10px;margin-top:-10px}nav ul ul .menu-item-has-children .dropdown-menu-toggle,.sidebar .menu-item-has-children .dropdown-menu-toggle{float:right}.dropdown-menu-toggle:before{content:"\f107";font-family:GeneratePress;display:inline-block;width:.8em;text-align:left}nav:not(.toggled) ul ul .dropdown-menu-toggle:before{text-align:right}.dropdown-hover .sub-menu-left:not(.toggled) ul ul .dropdown-menu-toggle:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.dropdown-click .menu-item-has-children.sfHover>a .dropdown-menu-toggle:before{content:"\f106"}.dropdown-hover nav:not(.toggled) ul ul .dropdown-menu-toggle:before{content:"\f105"}.dropdown-click .main-navigation ul ul ul.toggled-on{left:0;top:auto;position:relative}.widget-area .main-navigation li{float:none;display:block;width:100%;padding:0;margin:0}.dropdown-hover.both-left .widget-area .inside-right-sidebar .main-navigation ul li:hover ul,.dropdown-hover.both-left .widget-area .inside-right-sidebar .main-navigation ul li.sfHover ul,.dropdown-hover .widget-area .main-navigation ul li:hover ul,.dropdown-hover .widget-area .main-navigation ul li.sfHover>ul{top:0;left:100%}.dropdown-hover.both-right .widget-area .main-navigation ul li:hover ul,.dropdown-hover.both-right .widget-area .main-navigation ul li.sfHover ul,.dropdown-hover .widget-area .inside-right-sidebar .main-navigation ul li:hover ul,.dropdown-hover .widget-area .inside-right-sidebar .main-navigation ul li.sfHover ul{right:100%;left:auto}.dropdown-hover.both-right .inside-left-sidebar .dropdown-menu-toggle:before,.dropdown-hover .inside-right-sidebar .dropdown-menu-toggle:before{content:"\f104"}.dropdown-hover.both-left .inside-right-sidebar .dropdown-menu-toggle:before,.dropdown-hover .inside-left-sidebar .dropdown-menu-toggle:before{content:"\f105"}.dropdown-click .widget-area .main-navigation ul ul{top:auto;position:absolute;float:none;width:100%;left:-99999px}.dropdown-click .widget-area .main-navigation ul ul.toggled-on{position:relative;left:0;right:0}.nav-float-right .inside-header .main-navigation{float:right;clear:right}.nav-float-left .inside-header .main-navigation{float:left;clear:left}.nav-aligned-right .main-navigation .menu>li,.nav-aligned-center .main-navigation .menu>li{float:none;display:inline-block}.nav-aligned-right .main-navigation ul,.nav-aligned-center .main-navigation ul{letter-spacing:-.31em;font-size:1em}.nav-aligned-right .main-navigation ul li,.nav-aligned-center .main-navigation ul li{letter-spacing:normal}.nav-aligned-center .main-navigation{text-align:center}.nav-aligned-right .main-navigation{text-align:right}.site-main .comment-navigation,.site-main .posts-navigation,.site-main .post-navigation{margin:0 0 2em;overflow:hidden}.paging-navigation .nav-previous,.paging-navigation .nav-next{display:none}.site-main .paging-navigation .navigation{margin:0}.site-main .post-navigation{margin-bottom:0}.site-header{position:relative}.inside-header{padding:40px}.main-title{margin:0;font-size:45px;line-height:1.2em;word-wrap:break-word;font-weight:700;text-transform:none}.site-description{margin:0;line-height:1.5;font-weight:400;text-transform:none;font-size:15px}.site-logo{display:inline-block;max-width:100%}.header-aligned-center .site-header{text-align:center}.header-aligned-right .site-header{text-align:right}.site-header .header-image{vertical-align:middle}.header-widget{float:right;overflow:hidden;max-width:50%}.header-widget .widget{padding:0 0 20px;margin-bottom:0}.header-widget .widget:last-child{padding-bottom:0}.nav-float-right .header-widget .widget{padding:0 0 10px}.nav-float-right .header-widget{position:relative;top:-10px}.nav-float-left .inside-header .site-branding,.nav-float-left .inside-header .site-logo{float:right;clear:right}.nav-float-left .inside-header:after{clear:both;content:'';display:table}.nav-float-right .inside-header .site-branding{display:inline-block}.header-widget .widget-title{margin-bottom:15px}.site-branding-container{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:left}.site-branding-container .site-logo{margin-right:1.5em}.header-aligned-right .site-branding-container{text-align:right}.header-aligned-right .site-branding-container .site-logo{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10;margin-right:0;margin-left:1.5em}.post{margin:0 0 2em}.posted-on .updated,.entry-header .cat-links:before,.entry-header .tags-links:before,.entry-header .comments-link:before,.entry-header .gp-icon{display:none}.byline,.single .byline,.group-blog .byline,.entry-header .cat-links,.entry-header .tags-links,.entry-header .comments-link{display:inline}footer.entry-meta .byline,footer.entry-meta .posted-on{display:block}.page-content,.entry-content,.entry-summary{margin:2em 0 0}.page-links{clear:both;margin:0 0 1.5em}.blog .format-status .entry-title,.archive .format-status .entry-title,.blog .format-aside .entry-header,.archive .format-aside .entry-header,.blog .format-status .entry-header,.archive .format-status .entry-header,.blog .format-status .entry-meta,.archive .format-status .entry-meta{display:none}.blog .format-aside .entry-content,.archive .format-aside .entry-content,.blog .format-status .entry-content,.archive .format-status .entry-content{margin-top:0}.blog .format-status .entry-content p:last-child,.archive .format-status .entry-content p:last-child{margin-bottom:0}.site-content,.entry-header{word-wrap:break-word}.entry-title{margin-bottom:0}.page-header{margin-bottom:30px}.page-header .avatar{float:left;margin-right:20px}.page-header .author-info{overflow:hidden}.page-header>:last-child,.page-header .author-info>:last-child{margin-bottom:0}.entry-meta{font-size:85%;margin-top:.5em;line-height:1.5}footer.entry-meta{margin-top:2em}.cat-links:before,.tags-links:before,.comments-link:before,.nav-previous .prev:before,.nav-next .next:before{font-family:GeneratePress;text-decoration:inherit;position:relative;margin-right:.6em;width:13px;text-align:center;display:inline-block}.cat-links:before{content:"\f07b"}.tags-links:before{content:"\f02c"}.comments-link:before{content:"\f086"}.nav-previous .prev:before{content:"\f104"}.nav-next .next:before{content:"\f105"}.cat-links,.tags-links,.comments-link{display:block}.taxonomy-description p:last-child,.read-more-container,.page-content>:last-child,.entry-content>:last-child,.entry-summary>:last-child{margin-bottom:0}.page-content img.wp-smiley,.entry-content img.wp-smiley,.comment-content img.wp-smiley{border:0;margin-bottom:0;margin-top:0;padding:0}.wp-caption{margin-bottom:1.5em;max-width:100%;position:relative}.wp-caption img[class*=wp-image-]{display:block;margin:0 auto 0;max-width:100%}.wp-caption .wp-caption-text{font-size:75%;padding-top:5px;opacity:.8}.wp-caption img{position:relative;vertical-align:bottom}.wp-block-gallery{margin-left:0}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{background:rgba(255,255,255,.7);color:#000;padding:10px;box-sizing:border-box}.gallery{margin-bottom:1.5em}.gallery-item{display:inline-block;text-align:center;vertical-align:top;width:100%}.gallery-columns-2 .gallery-item{max-width:50%}.gallery-columns-3 .gallery-item{max-width:33.33%}.gallery-columns-4 .gallery-item{max-width:25%}.gallery-columns-5 .gallery-item{max-width:20%}.gallery-columns-6 .gallery-item{max-width:16.66%}.gallery-columns-7 .gallery-item{max-width:14.28%}.gallery-columns-8 .gallery-item{max-width:12.5%}.gallery-columns-9 .gallery-item{max-width:11.11%}.gallery-caption{display:block}.site-main .gallery{margin-bottom:1.5em}.gallery-item img{vertical-align:bottom}.gallery-icon{padding:5px}embed,iframe,object{max-width:100%}.comment-content a{word-wrap:break-word}.comment,.comment-list{list-style-type:none;padding:0;margin:0}.comment-author-info{display:inline-block;vertical-align:middle}.comment-meta .avatar{float:left;margin-right:10px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.comment-author cite{font-style:normal;font-weight:700}.entry-meta.comment-metadata{margin-top:0}.comment-content{margin-top:1.5em}.comment-respond{margin-top:0}.comment-form>.form-submit{margin-bottom:0}.comment-form input,.comment-form-comment{margin-bottom:10px}.comment-form #author,.comment-form #email,.comment-form #url{display:block}.comment-metadata .edit-link:before{display:none}.comment-body{padding:30px 0}.comment-content{padding:30px;border:1px solid rgba(0,0,0,.05)}.depth-1.parent>.children{border-bottom:1px solid rgba(0,0,0,.05)}.comment .children{padding-left:30px;margin-top:-30px;border-left:1px solid rgba(0,0,0,.05)}.pingback .comment-body,.trackback .comment-body{border-bottom:1px solid rgba(0,0,0,.05)}.pingback .edit-link{font-size:13px}.comment-content p:last-child{margin-bottom:0}.comment-list>.comment:first-child{padding-top:0;margin-top:0;border-top:0}ol.comment-list{margin-bottom:1.5em}#wp-comment-cookies-consent{margin-right:7px}.one-container .comments-area{margin-top:1.5em}.widget-area .widget{padding:40px}.widget{margin:0 0 30px;box-sizing:border-box}.sidebar .widget,.footer-widgets .widget{font-size:17px}.widget select{max-width:100%}.widget_search .search-submit{display:none}.widget_categories .children{margin-left:1.5em;padding-top:5px}.widget_categories .children li:last-child{padding-bottom:0}.sidebar .widget :last-child,.footer-widgets .widget :last-child{margin-bottom:0}.widget-title{margin-bottom:30px;font-size:20px;line-height:1.5;font-weight:400;text-transform:none}.widget ul,.widget ol{margin:0}.widget ul li{list-style-type:none;position:relative;padding-bottom:5px}.widget .search-field{width:100%}.widget:last-child,.separate-containers .widget:last-child{margin-bottom:0}.widget_nav_menu ul ul,.widget_pages ul ul{margin-left:1em;margin-top:5px}.widget ul li.menu-item-has-children,.widget ul li.page_item_has_children{padding-bottom:0}#wp-calendar{table-layout:fixed;font-size:80%}#wp-calendar #prev,#wp-calendar #prev+.pad{border-right:0}.sidebar .grid-container{max-width:100%;width:100%}.one-container.both-left .inside-left-sidebar,.one-container.both-right .inside-left-sidebar{margin-right:15px}.one-container.both-left .inside-right-sidebar,.one-container.both-right .inside-right-sidebar{margin-left:15px}.separate-containers .site-main>:last-child,.one-container .site-main>:last-child{margin-bottom:0}.one-container:not(.page) .inside-article{padding:0 0 30px 0}.one-container.right-sidebar .site-main,.one-container.both-right .site-main{margin-right:40px}.one-container.left-sidebar .site-main,.one-container.both-left .site-main{margin-left:40px}.one-container.both-sidebars .site-main{margin:0 40px 0 40px}.separate-containers .inside-article,.separate-containers .comments-area,.separate-containers .page-header,.separate-containers .paging-navigation,.one-container .site-content,.inside-page-header{padding:40px}.separate-containers .widget,.separate-containers .site-main>*,.separate-containers .page-header,.widget-area .main-navigation{margin-bottom:20px}.separate-containers .site-main{margin:20px}.no-sidebar.separate-containers .site-main{margin-left:0;margin-right:0}.right-sidebar.separate-containers .site-main,.both-right.separate-containers .site-main{margin-left:0}.left-sidebar.separate-containers .site-main,.both-left.separate-containers .site-main{margin-right:0}.both-right.separate-containers .inside-left-sidebar,.both-left.separate-containers .inside-left-sidebar{margin-right:10px}.both-right.separate-containers .inside-right-sidebar,.both-left.separate-containers .inside-right-sidebar{margin-left:10px}.separate-containers .inside-right-sidebar,.separate-containers .inside-left-sidebar{margin-top:20px;margin-bottom:20px}.separate-containers .page-header-image,.separate-containers .page-header-contained,.separate-containers .page-header-image-single,.separate-containers .page-header-content-single{margin-top:20px}.full-width-content .container.grid-container{max-width:100%}.full-width-content.no-sidebar.separate-containers .site-main{margin:0}.full-width-content.separate-containers .inside-article,.full-width-content.one-container .site-content{padding:0}.contained-content.separate-containers .inside-article,.contained-content.one-container .site-content{padding:0}.footer-widgets{padding:40px}.site-info{text-align:center;padding:20px;font-size:15px}.site-footer .footer-widgets-container .inner-padding{padding:0 0 0 40px}.site-footer .footer-widgets-container .inside-footer-widgets{margin-left:-40px}.footer-bar-active .footer-bar .widget{padding:0}.footer-bar .widget_nav_menu>div>ul{display:inline-block;vertical-align:top}.footer-bar .textwidget p:last-child{margin:0}.footer-bar-align-right .copyright-bar{float:left}.footer-bar-align-right .footer-bar,.footer-bar-align-left .copyright-bar{float:right;text-align:right}.footer-bar-align-left .footer-bar{float:left;text-align:left}.footer-bar-align-center .copyright-bar{float:none;text-align:center}.footer-bar-align-center .footer-bar{float:none;text-align:center;margin-bottom:10px}.footer-bar .widget-title{display:none}.footer-bar .widget_nav_menu li{margin:0 10px;float:left;padding:0}.footer-bar .widget_nav_menu li:first-child{margin-left:0}.footer-bar .widget_nav_menu li:last-child{margin-right:0}.footer-bar .widget_nav_menu li ul{display:none}.post-image{margin:2em 0 0}.page-header-image,.page-header-image-single{line-height:0}.separate-containers .page-header-image,.separate-containers .page-header-content{margin-top:30px}.separate-containers .inside-article>[class*=page-header-],.one-container .inside-article>[class*=page-header-]{margin-bottom:2em;margin-top:0}.inside-article .page-header-image-single.page-header-below-title{margin-top:2em}.top-bar{font-weight:400;text-transform:none;font-size:13px}.inside-top-bar{padding:10px}.top-bar .inside-top-bar .widget{padding:0;display:inline-block;margin:0}.top-bar .inside-top-bar .textwidget p:last-child{margin:0}.top-bar-align-center{text-align:center}.top-bar-align-right{text-align:right}.top-bar-align-right .inside-top-bar>.widget:nth-child(even),.top-bar-align-left .inside-top-bar>.widget:nth-child(odd){float:left;margin-right:10px}.top-bar-align-right .inside-top-bar>.widget:nth-child(odd),.top-bar-align-center .inside-top-bar .widget:not(:first-child){margin-left:10px}.top-bar-align-left .inside-top-bar>.widget:nth-child(even){margin-left:10px;float:right}.top-bar-align-center .inside-top-bar .widget:first-child:last-child{display:block}.top-bar .widget-title{display:none}.top-bar .widget_nav_menu li{margin:0 10px;float:left;padding:0}.top-bar .widget_nav_menu li:first-child{margin-left:0}.top-bar .widget_nav_menu li:last-child{margin-right:0}.top-bar .widget_nav_menu li ul{display:none}.top-bar .widget_nav_menu>div>ul{display:inline-block;vertical-align:top}.generate-back-to-top:before{content:"\f106";font-family:GeneratePress}.generate-back-to-top,.generate-back-to-top:visited{font-size:20px;border-radius:3px;position:fixed;bottom:30px;right:30px;line-height:40px;width:40px;text-align:center;z-index:10;transition:opacity 300ms ease-in-out}.generate-back-to-top .screen-reader-text{left:0;margin:0}.menu-toggle:before,.search-item a:before,.dropdown-menu-toggle:before,.cat-links:before,.tags-links:before,.comments-link:before,.nav-previous .prev:before,.nav-next .next:before,.generate-back-to-top:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1;speak:none}.cat-links:before,.tags-links:before,.comments-link:before,.nav-previous .prev:before,.nav-next .next:before{opacity:.7}.gp-icon{display:inline-flex;align-self:center}.gp-icon svg{height:1em;width:1em;top:.125em;position:relative;fill:currentColor}.icon-menu-bars svg:nth-child(2),.toggled .icon-menu-bars svg:nth-child(1),.icon-search svg:nth-child(2),.close-search .icon-search svg:nth-child(1){display:none}.toggled .icon-menu-bars svg:nth-child(2),.close-search .icon-search svg:nth-child(2){display:block}.entry-meta .gp-icon{margin-right:.6em;opacity:.7}.dropdown-hover .sub-menu .dropdown-menu-toggle .gp-icon svg,.dropdown-hover .children .dropdown-menu-toggle .gp-icon svg,.dropdown-hover.both-left .inside-right-sidebar .dropdown-menu-toggle .gp-icon svg,.dropdown-hover .inside-left-sidebar .dropdown-menu-toggle .gp-icon svg,.nav-next .gp-icon svg{transform:rotate(-90deg);transform-origin:center}.dropdown-hover .sub-menu-left:not(.toggled) ul ul .dropdown-menu-toggle .gp-icon svg,.dropdown-hover.both-right .inside-left-sidebar .dropdown-menu-toggle .gp-icon svg,.dropdown-hover .inside-right-sidebar .dropdown-menu-toggle .gp-icon svg,.nav-previous .gp-icon svg{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.dropdown-click .sfHover>a>.dropdown-menu-toggle>.gp-icon svg,nav.toggled .sfHover>a>.dropdown-menu-toggle>.gp-icon svg,.generate-back-to-top .gp-icon svg{transform:rotate(180deg)}nav.toggled .sub-menu .dropdown-menu-toggle .gp-icon svg{transform:rotate(0deg)}.infinite-scroll .paging-navigation,.infinite-scroll.neverending .site-footer{display:none}.infinity-end.neverending .site-footer{display:block}.so-panel.widget{padding:0}#mc_embed_signup .clear{display:block;height:auto;visibility:visible;width:auto}.container.grid-container{width:auto}button.menu-toggle{background-color:transparent;width:100%;border:0;text-align:center}button.menu-toggle:active,button.menu-toggle:focus,button.menu-toggle:hover{background-color:transparent}.menu-toggle:before{content:"\f0c9";font-family:GeneratePress;width:1.28571429em;text-align:center;display:inline-block}.toggled .menu-toggle:before{content:"\f00d"}.menu-toggle .mobile-menu{padding-left:3px}.menu-toggle .mobile-menu:empty{display:none}.nav-search-enabled .main-navigation .menu-toggle{text-align:left}.mobile-bar-items{display:none;position:absolute;right:0;top:0;z-index:21;list-style-type:none}.mobile-bar-items a{display:inline-block}nav.toggled ul ul.sub-menu{width:100%}.dropdown-hover .main-navigation.toggled ul li.sfHover>ul,.dropdown-hover .main-navigation.toggled ul li:hover>ul{transition-delay:0s}.toggled .menu-item-has-children .dropdown-menu-toggle{padding-left:20px}.main-navigation.toggled ul ul{transition:0s;visibility:hidden}.main-navigation.toggled .main-nav>ul{display:block}.main-navigation.toggled .main-nav ul ul.toggled-on{position:relative;top:0;left:auto!important;right:auto!important;width:100%;pointer-events:auto;height:auto;opacity:1;display:block;visibility:visible}.main-navigation.toggled .main-nav li{float:none;clear:both;display:block!important;text-align:left!important}.main-navigation.toggled .main-nav li.hide-on-mobile,.main-navigation.toggled .menu li.search-item{display:none!important}.main-navigation.toggled .sfHover>a .dropdown-menu-toggle:before{content:"\f106"}.main-navigation.toggled .menu-item-has-children .dropdown-menu-toggle{float:right}.main-navigation.toggled .sf-menu>li.menu-item-float-right{float:none!important;display:inline-block!important}@media (max-width:768px){a,body,button,input,select,textarea{-webkit-transition:all 0s ease-in-out;-moz-transition:all 0s ease-in-out;-o-transition:all 0s ease-in-out;transition:all 0s ease-in-out}.top-bar.top-bar-align-left,.top-bar.top-bar-align-right{text-align:center}.top-bar .widget{float:none!important;margin:0 10px!important}.footer-bar .widget_nav_menu li,.top-bar .widget_nav_menu li{float:none;display:inline-block;padding:5px 0}.inside-header>:not(:last-child):not(.main-navigation){margin-bottom:20px}.header-aligned-right .site-header,.header-widget,.site-header{text-align:center}.header-widget{float:none;max-width:100%}.content-area,.inside-footer-widgets>div,.sidebar{float:none;width:100%;left:0;right:0}.site-main{margin-left:0!important;margin-right:0!important}body:not(.no-sidebar) .site-main{margin-bottom:0!important}.one-container .sidebar{margin-top:40px}.separate-containers #left-sidebar+#right-sidebar .inside-right-sidebar{margin-top:0}.both-left.separate-containers .inside-left-sidebar,.both-left.separate-containers .inside-right-sidebar,.both-right.separate-containers .inside-left-sidebar,.both-right.separate-containers .inside-right-sidebar{margin-right:0;margin-left:0}.alignleft,.alignright{float:none;display:block;margin-left:auto;margin-right:auto}.post-image-aligned-left .post-image,.post-image-aligned-right .post-image{float:none;margin:2em 0;text-align:center}.comment .children{padding-left:10px;margin-left:0}.edd_download{display:block;float:none!important;margin-bottom:1.5em;width:100%!important}.entry-meta{font-size:inherit}.entry-meta a{line-height:1.8em}.site-info{padding-left:10px;padding-right:10px;text-align:center}.copyright-bar,.footer-bar{float:none!important;text-align:center!important}.footer-bar{margin-bottom:20px}.inside-footer-widgets>div:not(:last-child){margin-bottom:40px}.site-footer .footer-widgets .footer-widgets-container .inside-footer-widgets{margin:0}.site-footer .footer-widgets .footer-widgets-container .inner-padding{padding:0}} +.clearfix:after,.clearfix:before,.grid-100:after,.grid-100:before,.grid-15:after,.grid-15:before,.grid-20:after,.grid-20:before,.grid-25:after,.grid-25:before,.grid-30:after,.grid-30:before,.grid-33:after,.grid-33:before,.grid-35:after,.grid-35:before,.grid-40:after,.grid-40:before,.grid-45:after,.grid-45:before,.grid-50:after,.grid-50:before,.grid-55:after,.grid-55:before,.grid-60:after,.grid-60:before,.grid-65:after,.grid-65:before,.grid-66:after,.grid-66:before,.grid-70:after,.grid-70:before,.grid-75:after,.grid-75:before,.grid-80:after,.grid-80:before,.grid-85:after,.grid-85:before,.grid-container:after,.grid-container:before,[class*=mobile-grid-]:after,[class*=mobile-grid-]:before,[class*=tablet-grid-]:after,[class*=tablet-grid-]:before{content:".";display:block;overflow:hidden;visibility:hidden;font-size:0;line-height:0;width:0;height:0}.clearfix:after,.grid-100:after,.grid-15:after,.grid-20:after,.grid-25:after,.grid-30:after,.grid-33:after,.grid-35:after,.grid-40:after,.grid-45:after,.grid-50:after,.grid-55:after,.grid-60:after,.grid-65:after,.grid-66:after,.grid-70:after,.grid-75:after,.grid-80:after,.grid-85:after,.grid-90:after,.grid-95:after,.grid-container:after,[class*=mobile-grid-]:after,[class*=tablet-grid-]:after{clear:both}.grid-container{margin-left:auto;margin-right:auto;max-width:1200px;padding-left:10px;padding-right:10px}.grid-100,.grid-15,.grid-20,.grid-25,.grid-30,.grid-33,.grid-35,.grid-40,.grid-45,.grid-50,.grid-55,.grid-60,.grid-65,.grid-66,.grid-70,.grid-75,.grid-80,.grid-85,.grid-90,.grid-95,[class*=mobile-grid-],[class*=tablet-grid-]{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:10px;padding-right:10px}.grid-parent{padding-left:0;padding-right:0}@media (max-width:767px){.hide-on-mobile{display:none!important}.mobile-grid-50{float:left;width:50%}.mobile-grid-100{clear:both;width:100%}}@media (min-width:768px) and (max-width:1024px){[class*=tablet-pull-],[class*=tablet-push-]{position:relative}.hide-on-tablet{display:none!important}.tablet-grid-15{float:left;width:15%}.tablet-push-15{left:15%}.tablet-pull-15{left:-15%}.tablet-grid-20{float:left;width:20%}.tablet-push-20{left:20%}.tablet-pull-20{left:-20%}.tablet-grid-25{float:left;width:25%}.tablet-push-25{left:25%}.tablet-pull-25{left:-25%}.tablet-grid-30{float:left;width:30%}.tablet-push-30{left:30%}.tablet-pull-30{left:-30%}.tablet-grid-35{float:left;width:35%}.tablet-push-35{left:35%}.tablet-pull-35{left:-35%}.tablet-grid-40{float:left;width:40%}.tablet-push-40{left:40%}.tablet-pull-40{left:-40%}.tablet-grid-45{float:left;width:45%}.tablet-push-45{left:45%}.tablet-pull-45{left:-45%}.tablet-grid-50{float:left;width:50%}.tablet-push-50{left:50%}.tablet-pull-50{left:-50%}.tablet-grid-55{float:left;width:55%}.tablet-push-55{left:55%}.tablet-pull-55{left:-55%}.tablet-grid-60{float:left;width:60%}.tablet-push-60{left:60%}.tablet-pull-60{left:-60%}.tablet-grid-65{float:left;width:65%}.tablet-push-65{left:65%}.tablet-pull-65{left:-65%}.tablet-grid-70{float:left;width:70%}.tablet-push-70{left:70%}.tablet-pull-70{left:-70%}.tablet-grid-75{float:left;width:75%}.tablet-push-75{left:75%}.tablet-pull-75{left:-75%}.tablet-grid-80{float:left;width:80%}.tablet-push-80{left:80%}.tablet-pull-80{left:-80%}.tablet-grid-85{float:left;width:85%}.tablet-push-85{left:85%}.tablet-pull-85{left:-85%}.tablet-suffix-33{margin-right:33.33333%}.tablet-push-33{left:33.33333%}.tablet-pull-33{left:-33.33333%}.tablet-grid-66{float:left;width:66.66667%}.tablet-push-66{left:66.66667%}.tablet-pull-66{left:-66.66667%}.tablet-grid-100{clear:both;width:100%}.inside-footer-widgets>div{margin-bottom:50px}.inside-footer-widgets>div:nth-child(odd){clear:both}.active-footer-widgets-1 .footer-widget-1,.active-footer-widgets-3 .footer-widget-3,.active-footer-widgets-5 .footer-widget-5{width:100%;margin-bottom:0}.active-footer-widgets-2 .inside-footer-widgets>div,.active-footer-widgets-4 .footer-widget-3,.active-footer-widgets-4 .footer-widget-4{margin-bottom:0}}@media (min-width:1025px){.pull-15,.pull-20,.pull-25,.pull-30,.pull-33,.pull-35,.pull-40,.pull-45,.pull-50,.pull-55,.pull-60,.pull-65,.pull-66,.pull-70,.pull-75,.pull-80,.pull-85,.pull-90,.pull-95,.push-15,.push-20,.push-25,.push-30,.push-33,.push-35,.push-40,.push-45,.push-50,.push-55,.push-60,.push-65,.push-66,.push-70,.push-75,.push-80,.push-85,.push-90,.push-95{position:relative}.hide-on-desktop{display:none!important}.grid-15{float:left;width:15%}.push-15{left:15%}.pull-15{left:-15%}.grid-20{float:left;width:20%}.push-20{left:20%}.pull-20{left:-20%}.grid-25{float:left;width:25%}.push-25{left:25%}.pull-25{left:-25%}.grid-30{float:left;width:30%}.push-30{left:30%}.pull-30{left:-30%}.grid-35{float:left;width:35%}.push-35{left:35%}.pull-35{left:-35%}.grid-40{float:left;width:40%}.push-40{left:40%}.pull-40{left:-40%}.grid-45{float:left;width:45%}.push-45{left:45%}.pull-45{left:-45%}.grid-50{float:left;width:50%}.push-50{left:50%}.pull-50{left:-50%}.grid-55{float:left;width:55%}.push-55{left:55%}.pull-55{left:-55%}.grid-60{float:left;width:60%}.push-60{left:60%}.pull-60{left:-60%}.grid-65{float:left;width:65%}.push-65{left:65%}.pull-65{left:-65%}.grid-70{float:left;width:70%}.push-70{left:70%}.pull-70{left:-70%}.grid-75{float:left;width:75%}.push-75{left:75%}.pull-75{left:-75%}.grid-80{float:left;width:80%}.push-80{left:80%}.pull-80{left:-80%}.grid-85{float:left;width:85%}.push-85{left:85%}.pull-85{left:-85%}.grid-33{float:left;width:33.33333%}.push-33{left:33.33333%}.pull-33{left:-33.33333%}.grid-66{float:left;width:66.66667%}.push-66{left:66.66667%}.pull-66{left:-66.66667%}.grid-100{clear:both;width:100%}}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;margin:0;padding:0}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,main,nav,section{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}ol,ul{list-style:none}table{border-collapse:separate;border-spacing:0}caption,th,td{font-weight:400;text-align:left;padding:5px}blockquote:before,blockquote:after,q:before,q:after{content:""}a{background-color:transparent}a img{border:0}body,button,input,select,textarea{font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-weight:400;text-transform:none;font-size:17px;line-height:1.5}p{margin-bottom:1.5em}h1,h2,h3,h4,h5,h6{font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit}pre{background:rgba(0,0,0,.05);font-family:inherit;font-size:inherit;line-height:normal;margin-bottom:1.5em;padding:20px;overflow:auto;max-width:100%}blockquote{border-left:5px solid rgba(0,0,0,.05);padding:20px;font-size:1.2em;font-style:italic;margin:0 0 1.5em;position:relative}blockquote p:last-child{margin:0}table,th,td{border:1px solid rgba(0,0,0,.1)}table{border-collapse:separate;border-spacing:0;border-width:1px 0 0 1px;margin:0 0 1.5em;width:100%}th,td{padding:8px}th{border-width:0 1px 1px 0}td{border-width:0 1px 1px 0}hr{background-color:rgba(0,0,0,.1);border:0;height:1px;margin-bottom:40px;margin-top:40px}fieldset{padding:0;border:0;min-width:inherit}fieldset legend{padding:0;margin-bottom:1.5em}h1{font-size:40px;margin-bottom:20px;line-height:1.2em;font-weight:300;text-transform:none}h2{font-size:30px;margin-bottom:20px;line-height:1.2em;font-weight:300;text-transform:none}h3{font-size:20px;margin-bottom:20px;line-height:1.2em;font-weight:400;text-transform:none}h4,h5,h6{margin-bottom:20px}ul,ol{margin:0 0 1.5em 3em}ul{list-style:disc}ol{list-style:decimal}li>ul,li>ol{margin-bottom:0;margin-left:1.5em}dt{font-weight:700}dd{margin:0 1.5em 1.5em}b,strong{font-weight:700}dfn,cite,em,i{font-style:italic}address{margin:0 0 1.5em}code,kbd,tt,var{font:15px Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace}abbr,acronym{border-bottom:1px dotted #666;cursor:help}mark,ins{text-decoration:none}sup,sub{font-size:75%;height:0;line-height:0;position:relative;vertical-align:baseline}sup{bottom:1ex}sub{top:.5ex}small{font-size:75%}big{font-size:125%}figure{margin:0}table{margin:0 0 1.5em;width:100%}th{font-weight:700}img{height:auto;max-width:100%}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,html input[type=button],input[type=reset],input[type=submit]{border:1px solid transparent;background:#666;cursor:pointer;-webkit-appearance:button;padding:10px 20px;color:#fff}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input[type=text],input[type=email],input[type=url],input[type=password],input[type=search],input[type=tel],input[type=number],textarea,select{background:#fafafa;color:#666;border:1px solid #ccc;border-radius:0;padding:10px 15px;box-sizing:border-box;max-width:100%}textarea{overflow:auto;vertical-align:top;width:100%}input[type=file]{max-width:100%;box-sizing:border-box}a,button,input{transition:color .1s ease-in-out,background-color .1s ease-in-out}a,a:visited,a:hover,a:focus{text-decoration:none}.button,.wp-block-button .wp-block-button__link{padding:10px 20px;display:inline-block}.wp-block-button .wp-block-button__link{font-size:inherit;line-height:inherit}.using-mouse :focus{outline:0}.using-mouse ::-moz-focus-inner{border:0}.alignleft{display:inline;float:left;margin-right:1.5em}.alignright{display:inline;float:right;margin-left:1.5em}.aligncenter{clear:both;display:block;margin:0 auto}.size-auto,.size-full,.size-large,.size-medium,.size-thumbnail{max-width:100%;height:auto}.no-sidebar .entry-content .alignfull{margin-left:calc(-100vw/2 + 100%/2);margin-right:calc(-100vw/2 + 100%/2);max-width:100vw;width:auto}.screen-reader-text,.screen-reader-text span,.screen-reader-shortcut{position:absolute!important;clip:rect(0,0,0,0);height:1px;width:1px;border:0;overflow:hidden}.screen-reader-text:focus,.screen-reader-shortcut:focus{clip:auto!important;height:auto;width:auto;display:block;font-size:1em;font-weight:700;padding:15px 23px 14px;color:#333;background:#fff;z-index:100000;text-decoration:none;box-shadow:0 0 2px 2px rgba(0,0,0,.6)}.clear:after,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.paging-navigation:after,.site-footer:after,.site-info:after,.page-header-content-container:after,.inside-navigation:not(.grid-container):after,.inside-header:not(.grid-container):after,.inside-top-bar:not(.grid-container):after,.inside-footer-widgets:not(.grid-container):after{content:"";display:table;clear:both}.main-navigation{z-index:100;padding:0;clear:both;display:block}.inside-navigation{position:relative}.main-navigation a{display:block;text-decoration:none;font-weight:400;text-transform:none;font-size:15px}.main-navigation ul li a{display:block}.main-navigation li{float:left;position:relative}.main-navigation ul{list-style:none;margin:0;padding-left:0}.sf-menu>li.menu-item-float-right{float:right!important}.main-navigation .main-nav ul li a{padding-left:20px;padding-right:20px;line-height:60px}.menu-toggle,.mobile-bar-items,.sidebar-nav-mobile{display:none}.menu-toggle{padding:0 20px;line-height:60px;margin:0;font-weight:400;text-transform:none;font-size:15px;cursor:pointer}.main-navigation .mobile-bar-items a{padding-left:20px;padding-right:20px;line-height:60px}.search-item a:before{content:"\f002";font-family:GeneratePress;width:1.28571429em;text-align:center;display:inline-block}.search-item.close-search a:before{content:"\f00d"}.search-item .screen-reader-text{top:0;right:0;left:auto;margin:0}.main-navigation li.search-item{float:right;z-index:21}li.search-item.active{transition:opacity 100ms ease-in-out}.navigation-search{position:absolute;left:-99999px;pointer-events:none;visibility:hidden;z-index:20;width:100%;top:0;transition:opacity 100ms ease-in-out;opacity:0}.navigation-search.nav-search-active{left:0;right:0;pointer-events:auto;visibility:visible;opacity:1}.gen-sidebar-nav .navigation-search{top:auto;bottom:0}.navigation-search input{outline:0;border:0;vertical-align:bottom;line-height:0;opacity:.9;width:100%;z-index:20;border-radius:0;-webkit-appearance:none}.navigation-search input::-ms-clear{display:none;width:0;height:0}.navigation-search input::-ms-reveal{display:none;width:0;height:0}.navigation-search input::-webkit-search-decoration,.navigation-search input::-webkit-search-cancel-button,.navigation-search input::-webkit-search-results-button,.navigation-search input::-webkit-search-results-decoration{display:none}.nav-left-sidebar .main-navigation li.search-item.active,.nav-right-sidebar .main-navigation li.search-item.active{width:auto;display:inline-block;float:right}.navigation-search input{height:60px}.main-navigation ul ul{display:block;box-shadow:0 2px 2px rgba(0,0,0,.1);float:left;position:absolute;left:-99999px;opacity:0;z-index:99999;width:200px;text-align:left;top:auto;transition:opacity 80ms linear;transition-delay:0s;pointer-events:none;height:0;overflow:hidden}.main-navigation ul ul a{display:block}.main-navigation ul ul li{width:100%}.main-navigation .main-nav ul ul li a{line-height:normal;padding:10px 20px;font-size:14px}.main-navigation.sub-menu-left .sub-menu{right:0}.dropdown-hover .main-navigation:not(.toggled) ul li:hover>ul,.dropdown-hover .main-navigation:not(.toggled) ul li.sfHover>ul{left:auto;opacity:1;transition-delay:150ms;pointer-events:auto;height:auto;overflow:visible}.dropdown-hover .main-navigation:not(.toggled) ul ul li:hover>ul,.dropdown-hover .main-navigation:not(.toggled) ul ul li.sfHover>ul{left:100%;top:0}.dropdown-hover .main-navigation.sub-menu-left:not(.toggled) ul ul li:hover>ul,.dropdown-hover .main-navigation.sub-menu-left:not(.toggled) ul ul li.sfHover>ul{right:100%;left:auto}.dropdown-click .main-navigation ul ul{visibility:hidden}.dropdown-click .main-navigation ul.toggled-on,.dropdown-click .main-navigation ul li.sfHover>ul.toggled-on{left:auto;opacity:1;visibility:visible;pointer-events:auto;height:auto;overflow:visible}.dropdown-click nav ul ul ul{background-color:transparent}.main-navigation .main-nav ul ul li a{line-height:normal}.nav-float-right .main-navigation ul ul ul{top:0}.main-navigation .main-nav ul li.menu-item-has-children>a{padding-right:0;position:relative}.menu-item-has-children .dropdown-menu-toggle{display:inline-block;height:100%;clear:both;padding-right:20px;padding-left:10px}.menu-item-has-children ul .dropdown-menu-toggle{padding-top:10px;padding-bottom:10px;margin-top:-10px}nav ul ul .menu-item-has-children .dropdown-menu-toggle,.sidebar .menu-item-has-children .dropdown-menu-toggle{float:right}.dropdown-menu-toggle:before{content:"\f107";font-family:GeneratePress;display:inline-block;width:.8em;text-align:left}nav:not(.toggled) ul ul .dropdown-menu-toggle:before{text-align:right}.dropdown-hover .sub-menu-left:not(.toggled) ul ul .dropdown-menu-toggle:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.dropdown-click .menu-item-has-children.sfHover>a .dropdown-menu-toggle:before{content:"\f106"}.dropdown-hover nav:not(.toggled) ul ul .dropdown-menu-toggle:before{content:"\f105"}.dropdown-click .main-navigation ul ul ul.toggled-on{left:0;top:auto;position:relative}.widget-area .main-navigation li{float:none;display:block;width:100%;padding:0;margin:0}.dropdown-hover.both-left .widget-area .inside-right-sidebar .main-navigation ul li:hover ul,.dropdown-hover.both-left .widget-area .inside-right-sidebar .main-navigation ul li.sfHover ul,.dropdown-hover .widget-area .main-navigation ul li:hover ul,.dropdown-hover .widget-area .main-navigation ul li.sfHover>ul{top:0;left:100%}.dropdown-hover.both-right .widget-area .main-navigation ul li:hover ul,.dropdown-hover.both-right .widget-area .main-navigation ul li.sfHover ul,.dropdown-hover .widget-area .inside-right-sidebar .main-navigation ul li:hover ul,.dropdown-hover .widget-area .inside-right-sidebar .main-navigation ul li.sfHover ul{right:100%;left:auto}.dropdown-hover.both-right .inside-left-sidebar .dropdown-menu-toggle:before,.dropdown-hover .inside-right-sidebar .dropdown-menu-toggle:before{content:"\f104"}.dropdown-hover.both-left .inside-right-sidebar .dropdown-menu-toggle:before,.dropdown-hover .inside-left-sidebar .dropdown-menu-toggle:before{content:"\f105"}.dropdown-click .widget-area .main-navigation ul ul{top:auto;position:absolute;float:none;width:100%;left:-99999px}.dropdown-click .widget-area .main-navigation ul ul.toggled-on{position:relative;left:0;right:0}.nav-float-right .inside-header .main-navigation{float:right;clear:right}.nav-float-left .inside-header .main-navigation{float:left;clear:left}.nav-aligned-right .main-navigation .menu>li,.nav-aligned-center .main-navigation .menu>li{float:none;display:inline-block}.nav-aligned-right .main-navigation ul,.nav-aligned-center .main-navigation ul{letter-spacing:-.31em;font-size:1em}.nav-aligned-right .main-navigation ul li,.nav-aligned-center .main-navigation ul li{letter-spacing:normal}.nav-aligned-center .main-navigation{text-align:center}.nav-aligned-right .main-navigation{text-align:right}.site-main .comment-navigation,.site-main .posts-navigation,.site-main .post-navigation{margin:0 0 2em;overflow:hidden}.paging-navigation .nav-previous,.paging-navigation .nav-next{display:none}.site-main .paging-navigation .navigation{margin:0}.site-main .post-navigation{margin-bottom:0}.site-header{position:relative}.inside-header{padding:40px}.main-title{margin:0;font-size:45px;line-height:1.2em;word-wrap:break-word;font-weight:700;text-transform:none}.site-description{margin:0;line-height:1.5;font-weight:400;text-transform:none;font-size:15px}.site-logo{display:inline-block;max-width:100%}.header-aligned-center .site-header{text-align:center}.header-aligned-right .site-header{text-align:right}.site-header .header-image{vertical-align:middle}.header-widget{float:right;overflow:hidden;max-width:50%}.header-widget .widget{padding:0 0 20px;margin-bottom:0}.header-widget .widget:last-child{padding-bottom:0}.nav-float-right .header-widget .widget{padding:0 0 10px}.nav-float-right .header-widget{position:relative;top:-10px}.nav-float-left .inside-header .site-branding,.nav-float-left .inside-header .site-logo{float:right;clear:right}.nav-float-left .inside-header:after{clear:both;content:'';display:table}.nav-float-right .inside-header .site-branding{display:inline-block}.header-widget .widget-title{margin-bottom:15px}.site-branding-container{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:left}.site-branding-container .site-logo{margin-right:1.5em}.header-aligned-right .site-branding-container{text-align:right}.header-aligned-right .site-branding-container .site-logo{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10;margin-right:0;margin-left:1.5em}.post{margin:0 0 2em}.posted-on .updated,.entry-header .cat-links:before,.entry-header .tags-links:before,.entry-header .comments-link:before,.entry-header .gp-icon{display:none}.byline,.single .byline,.group-blog .byline,.entry-header .cat-links,.entry-header .tags-links,.entry-header .comments-link{display:inline}footer.entry-meta .byline,footer.entry-meta .posted-on{display:block}.page-content,.entry-content,.entry-summary{margin:2em 0 0}.page-links{clear:both;margin:0 0 1.5em}.blog .format-status .entry-title,.archive .format-status .entry-title,.blog .format-aside .entry-header,.archive .format-aside .entry-header,.blog .format-status .entry-header,.archive .format-status .entry-header,.blog .format-status .entry-meta,.archive .format-status .entry-meta{display:none}.blog .format-aside .entry-content,.archive .format-aside .entry-content,.blog .format-status .entry-content,.archive .format-status .entry-content{margin-top:0}.blog .format-status .entry-content p:last-child,.archive .format-status .entry-content p:last-child{margin-bottom:0}.site-content,.entry-header{word-wrap:break-word}.entry-title{margin-bottom:0}.page-header{margin-bottom:30px}.page-header .avatar{float:left;margin-right:20px}.page-header .author-info{overflow:hidden}.page-header>:last-child,.page-header .author-info>:last-child{margin-bottom:0}.entry-meta{font-size:85%;margin-top:.5em;line-height:1.5}footer.entry-meta{margin-top:2em}.cat-links:before,.tags-links:before,.comments-link:before,.nav-previous .prev:before,.nav-next .next:before{font-family:GeneratePress;text-decoration:inherit;position:relative;margin-right:.6em;width:13px;text-align:center;display:inline-block}.cat-links:before{content:"\f07b"}.tags-links:before{content:"\f02c"}.comments-link:before{content:"\f086"}.nav-previous .prev:before{content:"\f104"}.nav-next .next:before{content:"\f105"}.cat-links,.tags-links,.comments-link{display:block}.taxonomy-description p:last-child,.read-more-container,.page-content>:last-child,.entry-content>:last-child,.entry-summary>:last-child{margin-bottom:0}.page-content img.wp-smiley,.entry-content img.wp-smiley,.comment-content img.wp-smiley{border:0;margin-bottom:0;margin-top:0;padding:0}.wp-caption{margin-bottom:1.5em;max-width:100%;position:relative}.wp-caption img[class*=wp-image-]{display:block;margin:0 auto 0;max-width:100%}.wp-caption .wp-caption-text{font-size:75%;padding-top:5px;opacity:.8}.wp-caption img{position:relative;vertical-align:bottom}.wp-block-gallery,ul.blocks-gallery-grid{margin-left:0}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{background:rgba(255,255,255,.7);color:#000;padding:10px;box-sizing:border-box}.gallery{margin-bottom:1.5em}.gallery-item{display:inline-block;text-align:center;vertical-align:top;width:100%}.gallery-columns-2 .gallery-item{max-width:50%}.gallery-columns-3 .gallery-item{max-width:33.33%}.gallery-columns-4 .gallery-item{max-width:25%}.gallery-columns-5 .gallery-item{max-width:20%}.gallery-columns-6 .gallery-item{max-width:16.66%}.gallery-columns-7 .gallery-item{max-width:14.28%}.gallery-columns-8 .gallery-item{max-width:12.5%}.gallery-columns-9 .gallery-item{max-width:11.11%}.gallery-caption{display:block}.site-main .gallery{margin-bottom:1.5em}.gallery-item img{vertical-align:bottom}.gallery-icon{padding:5px}embed,iframe,object{max-width:100%}.comment-content a{word-wrap:break-word}.comment,.comment-list{list-style-type:none;padding:0;margin:0}.comment-author-info{display:inline-block;vertical-align:middle}.comment-meta .avatar{float:left;margin-right:10px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.comment-author cite{font-style:normal;font-weight:700}.entry-meta.comment-metadata{margin-top:0}.comment-content{margin-top:1.5em}.comment-respond{margin-top:0}.comment-form>.form-submit{margin-bottom:0}.comment-form input,.comment-form-comment{margin-bottom:10px}.comment-form #author,.comment-form #email,.comment-form #url{display:block}.comment-metadata .edit-link:before{display:none}.comment-body{padding:30px 0}.comment-content{padding:30px;border:1px solid rgba(0,0,0,.05)}.depth-1.parent>.children{border-bottom:1px solid rgba(0,0,0,.05)}.comment .children{padding-left:30px;margin-top:-30px;border-left:1px solid rgba(0,0,0,.05)}.pingback .comment-body,.trackback .comment-body{border-bottom:1px solid rgba(0,0,0,.05)}.pingback .edit-link{font-size:13px}.comment-content p:last-child{margin-bottom:0}.comment-list>.comment:first-child{padding-top:0;margin-top:0;border-top:0}ol.comment-list{margin-bottom:1.5em}#wp-comment-cookies-consent{margin-right:7px}.one-container .comments-area{margin-top:1.5em}.comment-content .reply{font-size:85%}.single .comments-link{display:none}.widget-area .widget{padding:40px}.widget{margin:0 0 30px;box-sizing:border-box}.sidebar .widget,.footer-widgets .widget{font-size:17px}.widget select{max-width:100%}.widget_search .search-submit{display:none}.widget_categories .children{margin-left:1.5em;padding-top:5px}.widget_categories .children li:last-child{padding-bottom:0}.sidebar .widget :last-child,.footer-widgets .widget :last-child{margin-bottom:0}.widget-title{margin-bottom:30px;font-size:20px;line-height:1.5;font-weight:400;text-transform:none}.widget ul,.widget ol{margin:0}.widget ul li{list-style-type:none;position:relative;padding-bottom:5px}.widget .search-field{width:100%}.widget:last-child,.separate-containers .widget:last-child{margin-bottom:0}.widget_nav_menu ul ul,.widget_pages ul ul{margin-left:1em;margin-top:5px}.widget ul li.menu-item-has-children,.widget ul li.page_item_has_children{padding-bottom:0}#wp-calendar{table-layout:fixed;font-size:80%}#wp-calendar #prev,#wp-calendar #prev+.pad{border-right:0}.sidebar .grid-container{max-width:100%;width:100%}.one-container.both-left .inside-left-sidebar,.one-container.both-right .inside-left-sidebar{margin-right:15px}.one-container.both-left .inside-right-sidebar,.one-container.both-right .inside-right-sidebar{margin-left:15px}.separate-containers .site-main>:last-child,.one-container .site-main>:last-child{margin-bottom:0}.one-container:not(.page) .inside-article{padding:0 0 30px 0}.one-container.right-sidebar .site-main,.one-container.both-right .site-main{margin-right:40px}.one-container.left-sidebar .site-main,.one-container.both-left .site-main{margin-left:40px}.one-container.both-sidebars .site-main{margin:0 40px 0 40px}.separate-containers .inside-article,.separate-containers .comments-area,.separate-containers .page-header,.separate-containers .paging-navigation,.one-container .site-content,.inside-page-header{padding:40px}.separate-containers .widget,.separate-containers .site-main>*,.separate-containers .page-header,.widget-area .main-navigation{margin-bottom:20px}.separate-containers .site-main{margin:20px}.no-sidebar.separate-containers .site-main{margin-left:0;margin-right:0}.right-sidebar.separate-containers .site-main,.both-right.separate-containers .site-main{margin-left:0}.left-sidebar.separate-containers .site-main,.both-left.separate-containers .site-main{margin-right:0}.both-right.separate-containers .inside-left-sidebar,.both-left.separate-containers .inside-left-sidebar{margin-right:10px}.both-right.separate-containers .inside-right-sidebar,.both-left.separate-containers .inside-right-sidebar{margin-left:10px}.separate-containers .inside-right-sidebar,.separate-containers .inside-left-sidebar{margin-top:20px;margin-bottom:20px}.separate-containers .page-header-image,.separate-containers .page-header-contained,.separate-containers .page-header-image-single,.separate-containers .page-header-content-single{margin-top:20px}.full-width-content .container.grid-container{max-width:100%}.full-width-content.no-sidebar.separate-containers .site-main{margin:0}.full-width-content.separate-containers .inside-article,.full-width-content.one-container .site-content{padding:0}.contained-content.separate-containers .inside-article,.contained-content.one-container .site-content{padding:0}.footer-widgets{padding:40px}.site-info{text-align:center;padding:20px;font-size:15px}.site-footer .footer-widgets-container .inner-padding{padding:0 0 0 40px}.site-footer .footer-widgets-container .inside-footer-widgets{margin-left:-40px}.footer-bar-active .footer-bar .widget{padding:0}.footer-bar .widget_nav_menu>div>ul{display:inline-block;vertical-align:top}.footer-bar .textwidget p:last-child{margin:0}.footer-bar-align-right .copyright-bar{float:left}.footer-bar-align-right .footer-bar,.footer-bar-align-left .copyright-bar{float:right;text-align:right}.footer-bar-align-left .footer-bar{float:left;text-align:left}.footer-bar-align-center .copyright-bar{float:none;text-align:center}.footer-bar-align-center .footer-bar{float:none;text-align:center;margin-bottom:10px}.footer-bar .widget-title{display:none}.footer-bar .widget_nav_menu li{margin:0 10px;float:left;padding:0}.footer-bar .widget_nav_menu li:first-child{margin-left:0}.footer-bar .widget_nav_menu li:last-child{margin-right:0}.footer-bar .widget_nav_menu li ul{display:none}.post-image{margin:2em 0 0}.page-header-image,.page-header-image-single{line-height:0}.separate-containers .page-header-image,.separate-containers .page-header-content{margin-top:30px}.separate-containers .inside-article>[class*=page-header-],.one-container .inside-article>[class*=page-header-]{margin-bottom:2em;margin-top:0}.inside-article .page-header-image-single.page-header-below-title{margin-top:2em}.top-bar{font-weight:400;text-transform:none;font-size:13px}.inside-top-bar{padding:10px}.top-bar .inside-top-bar .widget{padding:0;display:inline-block;margin:0}.top-bar .inside-top-bar .textwidget p:last-child{margin:0}.top-bar-align-center{text-align:center}.top-bar-align-right{text-align:right}.top-bar-align-right .inside-top-bar>.widget:nth-child(even),.top-bar-align-left .inside-top-bar>.widget:nth-child(odd){float:left;margin-right:10px}.top-bar-align-right .inside-top-bar>.widget:nth-child(odd),.top-bar-align-center .inside-top-bar .widget:not(:first-child){margin-left:10px}.top-bar-align-left .inside-top-bar>.widget:nth-child(even){margin-left:10px;float:right}.top-bar-align-center .inside-top-bar .widget:first-child:last-child{display:block}.top-bar .widget-title{display:none}.top-bar .widget_nav_menu li{margin:0 10px;float:left;padding:0}.top-bar .widget_nav_menu li:first-child{margin-left:0}.top-bar .widget_nav_menu li:last-child{margin-right:0}.top-bar .widget_nav_menu li ul{display:none}.top-bar .widget_nav_menu>div>ul{display:inline-block;vertical-align:top}.generate-back-to-top:before{content:"\f106";font-family:GeneratePress}.generate-back-to-top,.generate-back-to-top:visited{font-size:20px;border-radius:3px;position:fixed;bottom:30px;right:30px;line-height:40px;width:40px;text-align:center;z-index:10;transition:opacity 300ms ease-in-out}.generate-back-to-top .screen-reader-text{left:0;margin:0}.menu-toggle:before,.search-item a:before,.dropdown-menu-toggle:before,.cat-links:before,.tags-links:before,.comments-link:before,.nav-previous .prev:before,.nav-next .next:before,.generate-back-to-top:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1;speak:none}.cat-links:before,.tags-links:before,.comments-link:before,.nav-previous .prev:before,.nav-next .next:before{opacity:.7}.gp-icon{display:inline-flex;align-self:center}.gp-icon svg{height:1em;width:1em;top:.125em;position:relative;fill:currentColor}.icon-menu-bars svg:nth-child(2),.toggled .icon-menu-bars svg:nth-child(1),.icon-search svg:nth-child(2),.close-search .icon-search svg:nth-child(1){display:none}.toggled .icon-menu-bars svg:nth-child(2),.close-search .icon-search svg:nth-child(2){display:block}.entry-meta .gp-icon{margin-right:.6em;opacity:.7}.dropdown-hover .sub-menu .dropdown-menu-toggle .gp-icon svg,.dropdown-hover .children .dropdown-menu-toggle .gp-icon svg,.dropdown-hover.both-left .inside-right-sidebar .dropdown-menu-toggle .gp-icon svg,.dropdown-hover .inside-left-sidebar .dropdown-menu-toggle .gp-icon svg,.nav-next .gp-icon svg{transform:rotate(-90deg);transform-origin:center}.dropdown-hover .sub-menu-left:not(.toggled) ul ul .dropdown-menu-toggle .gp-icon svg,.dropdown-hover.both-right .inside-left-sidebar .dropdown-menu-toggle .gp-icon svg,.dropdown-hover .inside-right-sidebar .dropdown-menu-toggle .gp-icon svg,.nav-previous .gp-icon svg{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.dropdown-click .sfHover>a>.dropdown-menu-toggle>.gp-icon svg,nav.toggled .sfHover>a>.dropdown-menu-toggle>.gp-icon svg,.generate-back-to-top .gp-icon svg{transform:rotate(180deg)}nav.toggled .sub-menu .dropdown-menu-toggle .gp-icon svg{transform:rotate(0deg)}.infinite-scroll .paging-navigation,.infinite-scroll.neverending .site-footer{display:none}.infinity-end.neverending .site-footer{display:block}.so-panel.widget{padding:0}#mc_embed_signup .clear{display:block;height:auto;visibility:visible;width:auto}.container.grid-container{width:auto}button.menu-toggle{background-color:transparent;width:100%;border:0;text-align:center}button.menu-toggle:active,button.menu-toggle:focus,button.menu-toggle:hover{background-color:transparent}.menu-toggle:before{content:"\f0c9";font-family:GeneratePress;width:1.28571429em;text-align:center;display:inline-block}.toggled .menu-toggle:before{content:"\f00d"}.menu-toggle .mobile-menu{padding-left:3px}.menu-toggle .gp-icon+.mobile-menu{padding-left:9px}.menu-toggle .mobile-menu:empty{display:none}.nav-search-enabled .main-navigation .menu-toggle{text-align:left}.mobile-bar-items{display:none;position:absolute;right:0;top:0;z-index:21;list-style-type:none}.mobile-bar-items a{display:inline-block}nav.toggled ul ul.sub-menu{width:100%}.dropdown-hover .main-navigation.toggled ul li.sfHover>ul,.dropdown-hover .main-navigation.toggled ul li:hover>ul{transition-delay:0s}.toggled .menu-item-has-children .dropdown-menu-toggle{padding-left:20px}.main-navigation.toggled ul ul{transition:0s;visibility:hidden}.main-navigation.toggled .main-nav>ul{display:block}.main-navigation.toggled .main-nav ul ul.toggled-on{position:relative;top:0;left:auto!important;right:auto!important;width:100%;pointer-events:auto;height:auto;opacity:1;display:block;visibility:visible}.main-navigation.toggled .main-nav li{float:none;clear:both;display:block!important;text-align:left!important}.main-navigation.toggled .main-nav li.hide-on-mobile,.main-navigation.toggled .menu li.search-item{display:none!important}.main-navigation.toggled .sfHover>a .dropdown-menu-toggle:before{content:"\f106"}.main-navigation.toggled .menu-item-has-children .dropdown-menu-toggle{float:right}.main-navigation.toggled .sf-menu>li.menu-item-float-right{float:none!important;display:inline-block!important}@media (max-width:768px){a,body,button,input,select,textarea{-webkit-transition:all 0s ease-in-out;-moz-transition:all 0s ease-in-out;-o-transition:all 0s ease-in-out;transition:all 0s ease-in-out}.top-bar.top-bar-align-left,.top-bar.top-bar-align-right{text-align:center}.top-bar .widget{float:none!important;margin:0 10px!important}.footer-bar .widget_nav_menu li,.top-bar .widget_nav_menu li{float:none;display:inline-block;padding:5px 0}.inside-header>:not(:last-child):not(.main-navigation){margin-bottom:20px}.header-aligned-right .site-header,.header-widget,.site-header{text-align:center}.header-widget{float:none;max-width:100%}.content-area,.inside-footer-widgets>div,.sidebar{float:none;width:100%;left:0;right:0}.site-main{margin-left:0!important;margin-right:0!important}body:not(.no-sidebar) .site-main{margin-bottom:0!important}.one-container .sidebar{margin-top:40px}.separate-containers #left-sidebar+#right-sidebar .inside-right-sidebar{margin-top:0}.both-left.separate-containers .inside-left-sidebar,.both-left.separate-containers .inside-right-sidebar,.both-right.separate-containers .inside-left-sidebar,.both-right.separate-containers .inside-right-sidebar{margin-right:0;margin-left:0}.alignleft,.alignright{float:none;display:block;margin-left:auto;margin-right:auto}.post-image-aligned-left .post-image,.post-image-aligned-right .post-image{float:none;margin:2em 0;text-align:center}.comment .children{padding-left:10px;margin-left:0}.edd_download{display:block;float:none!important;margin-bottom:1.5em;width:100%!important}.entry-meta{font-size:inherit}.entry-meta a{line-height:1.8em}.site-info{padding-left:10px;padding-right:10px;text-align:center}.copyright-bar,.footer-bar{float:none!important;text-align:center!important}.footer-bar{margin-bottom:20px}.inside-footer-widgets>div:not(:last-child){margin-bottom:40px}.site-footer .footer-widgets .footer-widgets-container .inside-footer-widgets{margin:0}.site-footer .footer-widgets .footer-widgets-container .inner-padding{padding:0}} diff --git a/css/mobile.css b/css/mobile.css index 63309684..741df7c3 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -44,6 +44,10 @@ button.menu-toggle:focus { padding-left: 3px; } +.menu-toggle .gp-icon + .mobile-menu { + padding-left: 9px; +} + .menu-toggle .mobile-menu:empty { display: none; } diff --git a/css/mobile.min.css b/css/mobile.min.css index 90fb9091..0594c3c3 100644 --- a/css/mobile.min.css +++ b/css/mobile.min.css @@ -1 +1 @@ -button.menu-toggle{background-color:transparent;width:100%;border:0;text-align:center}button.menu-toggle:active,button.menu-toggle:focus,button.menu-toggle:hover{background-color:transparent}.menu-toggle:before{content:"\f0c9";font-family:GeneratePress;width:1.28571429em;text-align:center;display:inline-block}.toggled .menu-toggle:before{content:"\f00d"}.menu-toggle .mobile-menu{padding-left:3px}.menu-toggle .mobile-menu:empty{display:none}.nav-search-enabled .main-navigation .menu-toggle{text-align:left}.mobile-bar-items{display:none;position:absolute;right:0;top:0;z-index:21;list-style-type:none}.mobile-bar-items a{display:inline-block}nav.toggled ul ul.sub-menu{width:100%}.dropdown-hover .main-navigation.toggled ul li.sfHover>ul,.dropdown-hover .main-navigation.toggled ul li:hover>ul{transition-delay:0s}.toggled .menu-item-has-children .dropdown-menu-toggle{padding-left:20px}.main-navigation.toggled ul ul{transition:0s;visibility:hidden}.main-navigation.toggled .main-nav>ul{display:block}.main-navigation.toggled .main-nav ul ul.toggled-on{position:relative;top:0;left:auto!important;right:auto!important;width:100%;pointer-events:auto;height:auto;opacity:1;display:block;visibility:visible}.main-navigation.toggled .main-nav li{float:none;clear:both;display:block!important;text-align:left!important}.main-navigation.toggled .main-nav li.hide-on-mobile,.main-navigation.toggled .menu li.search-item{display:none!important}.main-navigation.toggled .sfHover>a .dropdown-menu-toggle:before{content:"\f106"}.main-navigation.toggled .menu-item-has-children .dropdown-menu-toggle{float:right}.main-navigation.toggled .sf-menu>li.menu-item-float-right{float:none!important;display:inline-block!important}@media (max-width:768px){a,body,button,input,select,textarea{-webkit-transition:all 0s ease-in-out;-moz-transition:all 0s ease-in-out;-o-transition:all 0s ease-in-out;transition:all 0s ease-in-out}.top-bar.top-bar-align-left,.top-bar.top-bar-align-right{text-align:center}.top-bar .widget{float:none!important;margin:0 10px!important}.footer-bar .widget_nav_menu li,.top-bar .widget_nav_menu li{float:none;display:inline-block;padding:5px 0}.inside-header>:not(:last-child):not(.main-navigation){margin-bottom:20px}.header-aligned-right .site-header,.header-widget,.site-header{text-align:center}.header-widget{float:none;max-width:100%}.content-area,.inside-footer-widgets>div,.sidebar{float:none;width:100%;left:0;right:0}.site-main{margin-left:0!important;margin-right:0!important}body:not(.no-sidebar) .site-main{margin-bottom:0!important}.one-container .sidebar{margin-top:40px}.separate-containers #left-sidebar+#right-sidebar .inside-right-sidebar{margin-top:0}.both-left.separate-containers .inside-left-sidebar,.both-left.separate-containers .inside-right-sidebar,.both-right.separate-containers .inside-left-sidebar,.both-right.separate-containers .inside-right-sidebar{margin-right:0;margin-left:0}.alignleft,.alignright{float:none;display:block;margin-left:auto;margin-right:auto}.post-image-aligned-left .post-image,.post-image-aligned-right .post-image{float:none;margin:2em 0;text-align:center}.comment .children{padding-left:10px;margin-left:0}.edd_download{display:block;float:none!important;margin-bottom:1.5em;width:100%!important}.entry-meta{font-size:inherit}.entry-meta a{line-height:1.8em}.site-info{padding-left:10px;padding-right:10px;text-align:center}.copyright-bar,.footer-bar{float:none!important;text-align:center!important}.footer-bar{margin-bottom:20px}.inside-footer-widgets>div:not(:last-child){margin-bottom:40px}.site-footer .footer-widgets .footer-widgets-container .inside-footer-widgets{margin:0}.site-footer .footer-widgets .footer-widgets-container .inner-padding{padding:0}} +button.menu-toggle{background-color:transparent;width:100%;border:0;text-align:center}button.menu-toggle:active,button.menu-toggle:focus,button.menu-toggle:hover{background-color:transparent}.menu-toggle:before{content:"\f0c9";font-family:GeneratePress;width:1.28571429em;text-align:center;display:inline-block}.toggled .menu-toggle:before{content:"\f00d"}.menu-toggle .mobile-menu{padding-left:3px}.menu-toggle .gp-icon+.mobile-menu{padding-left:9px}.menu-toggle .mobile-menu:empty{display:none}.nav-search-enabled .main-navigation .menu-toggle{text-align:left}.mobile-bar-items{display:none;position:absolute;right:0;top:0;z-index:21;list-style-type:none}.mobile-bar-items a{display:inline-block}nav.toggled ul ul.sub-menu{width:100%}.dropdown-hover .main-navigation.toggled ul li.sfHover>ul,.dropdown-hover .main-navigation.toggled ul li:hover>ul{transition-delay:0s}.toggled .menu-item-has-children .dropdown-menu-toggle{padding-left:20px}.main-navigation.toggled ul ul{transition:0s;visibility:hidden}.main-navigation.toggled .main-nav>ul{display:block}.main-navigation.toggled .main-nav ul ul.toggled-on{position:relative;top:0;left:auto!important;right:auto!important;width:100%;pointer-events:auto;height:auto;opacity:1;display:block;visibility:visible}.main-navigation.toggled .main-nav li{float:none;clear:both;display:block!important;text-align:left!important}.main-navigation.toggled .main-nav li.hide-on-mobile,.main-navigation.toggled .menu li.search-item{display:none!important}.main-navigation.toggled .sfHover>a .dropdown-menu-toggle:before{content:"\f106"}.main-navigation.toggled .menu-item-has-children .dropdown-menu-toggle{float:right}.main-navigation.toggled .sf-menu>li.menu-item-float-right{float:none!important;display:inline-block!important}@media (max-width:768px){a,body,button,input,select,textarea{-webkit-transition:all 0s ease-in-out;-moz-transition:all 0s ease-in-out;-o-transition:all 0s ease-in-out;transition:all 0s ease-in-out}.top-bar.top-bar-align-left,.top-bar.top-bar-align-right{text-align:center}.top-bar .widget{float:none!important;margin:0 10px!important}.footer-bar .widget_nav_menu li,.top-bar .widget_nav_menu li{float:none;display:inline-block;padding:5px 0}.inside-header>:not(:last-child):not(.main-navigation){margin-bottom:20px}.header-aligned-right .site-header,.header-widget,.site-header{text-align:center}.header-widget{float:none;max-width:100%}.content-area,.inside-footer-widgets>div,.sidebar{float:none;width:100%;left:0;right:0}.site-main{margin-left:0!important;margin-right:0!important}body:not(.no-sidebar) .site-main{margin-bottom:0!important}.one-container .sidebar{margin-top:40px}.separate-containers #left-sidebar+#right-sidebar .inside-right-sidebar{margin-top:0}.both-left.separate-containers .inside-left-sidebar,.both-left.separate-containers .inside-right-sidebar,.both-right.separate-containers .inside-left-sidebar,.both-right.separate-containers .inside-right-sidebar{margin-right:0;margin-left:0}.alignleft,.alignright{float:none;display:block;margin-left:auto;margin-right:auto}.post-image-aligned-left .post-image,.post-image-aligned-right .post-image{float:none;margin:2em 0;text-align:center}.comment .children{padding-left:10px;margin-left:0}.edd_download{display:block;float:none!important;margin-bottom:1.5em;width:100%!important}.entry-meta{font-size:inherit}.entry-meta a{line-height:1.8em}.site-info{padding-left:10px;padding-right:10px;text-align:center}.copyright-bar,.footer-bar{float:none!important;text-align:center!important}.footer-bar{margin-bottom:20px}.inside-footer-widgets>div:not(:last-child){margin-bottom:40px}.site-footer .footer-widgets .footer-widgets-container .inside-footer-widgets{margin:0}.site-footer .footer-widgets .footer-widgets-container .inner-padding{padding:0}} diff --git a/functions.php b/functions.php index 0bfabd2f..a0618ddf 100644 --- a/functions.php +++ b/functions.php @@ -12,7 +12,7 @@ } // Set our theme version. -define( 'GENERATE_VERSION', '2.3.2' ); +define( 'GENERATE_VERSION', '2.4.0' ); if ( ! function_exists( 'generate_setup' ) ) { add_action( 'after_setup_theme', 'generate_setup' ); @@ -34,7 +34,6 @@ function generate_setup() { add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' ) ); add_theme_support( 'customize-selective-refresh-widgets' ); add_theme_support( 'align-wide' ); - add_theme_support( 'editor-color-palette', array() ); add_theme_support( 'responsive-embeds' ); add_theme_support( 'custom-logo', array( @@ -66,32 +65,34 @@ function generate_setup() { /** * Get all necessary theme files */ -require get_template_directory() . '/inc/theme-functions.php'; -require get_template_directory() . '/inc/defaults.php'; -require get_template_directory() . '/inc/class-css.php'; -require get_template_directory() . '/inc/css-output.php'; -require get_template_directory() . '/inc/general.php'; -require get_template_directory() . '/inc/customizer.php'; -require get_template_directory() . '/inc/markup.php'; -require get_template_directory() . '/inc/typography.php'; -require get_template_directory() . '/inc/plugin-compat.php'; -require get_template_directory() . '/inc/block-editor.php'; -require get_template_directory() . '/inc/migrate.php'; -require get_template_directory() . '/inc/deprecated.php'; +$theme_dir = get_template_directory(); + +require $theme_dir . '/inc/theme-functions.php'; +require $theme_dir . '/inc/defaults.php'; +require $theme_dir . '/inc/class-css.php'; +require $theme_dir . '/inc/css-output.php'; +require $theme_dir . '/inc/general.php'; +require $theme_dir . '/inc/customizer.php'; +require $theme_dir . '/inc/markup.php'; +require $theme_dir . '/inc/typography.php'; +require $theme_dir . '/inc/plugin-compat.php'; +require $theme_dir . '/inc/block-editor.php'; +require $theme_dir . '/inc/migrate.php'; +require $theme_dir . '/inc/deprecated.php'; if ( is_admin() ) { - require get_template_directory() . '/inc/meta-box.php'; - require get_template_directory() . '/inc/dashboard.php'; + require $theme_dir . '/inc/meta-box.php'; + require $theme_dir . '/inc/dashboard.php'; } /** * Load our theme structure */ -require get_template_directory() . '/inc/structure/archives.php'; -require get_template_directory() . '/inc/structure/comments.php'; -require get_template_directory() . '/inc/structure/featured-images.php'; -require get_template_directory() . '/inc/structure/footer.php'; -require get_template_directory() . '/inc/structure/header.php'; -require get_template_directory() . '/inc/structure/navigation.php'; -require get_template_directory() . '/inc/structure/post-meta.php'; -require get_template_directory() . '/inc/structure/sidebars.php'; +require $theme_dir . '/inc/structure/archives.php'; +require $theme_dir . '/inc/structure/comments.php'; +require $theme_dir . '/inc/structure/featured-images.php'; +require $theme_dir . '/inc/structure/footer.php'; +require $theme_dir . '/inc/structure/header.php'; +require $theme_dir . '/inc/structure/navigation.php'; +require $theme_dir . '/inc/structure/post-meta.php'; +require $theme_dir . '/inc/structure/sidebars.php'; diff --git a/header.php b/header.php index 49aeb55c..90595383 100644 --- a/header.php +++ b/header.php @@ -57,6 +57,14 @@ ?>
+
set_selector( '.edit-post-visual-editor .editor-block-list__block[data-align=wide]' ); $css->add_property( 'max-width', absint( $content_width ), false, 'px' ); + if ( apply_filters( 'generate_do_group_inner_container_style', true ) ) { + $css->set_selector( '.wp-block-group__inner-container' ); + $css->add_property( 'max-width', absint( $content_width ), false, 'px' ); + $css->add_property( 'margin-left', 'auto' ); + $css->add_property( 'margin-right', 'auto' ); + $css->add_property( 'padding', generate_padding_css( $spacing_settings['content_top'], $spacing_settings['content_right'], $spacing_settings['content_bottom'], $spacing_settings['content_left'] ) ); + } + $css->set_selector( '.wp-block-button__link:not(.has-background)' ); $css->add_property( 'color', esc_attr( $color_settings['form_button_text_color'] ) ); $css->add_property( 'background-color', esc_attr( $color_settings['form_button_background_color'] ) ); @@ -230,6 +238,7 @@ function generate_do_inline_block_editor_css() { $css->add_property( 'font-weight', esc_attr( $font_settings['heading_1_weight'] ) ); $css->add_property( 'text-transform', esc_attr( $font_settings['heading_1_transform'] ) ); $css->add_property( 'font-size', absint( $font_settings['heading_1_font_size'] ), false, 'px' ); + $css->add_property( 'line-height', floatval( $font_settings['heading_1_line_height'] ), false, 'em' ); if ( $color_settings['h1_color'] ) { $css->add_property( 'color', esc_attr( $color_settings['h1_color'] ) ); @@ -249,6 +258,7 @@ function generate_do_inline_block_editor_css() { $css->add_property( 'font-weight', esc_attr( $font_settings['heading_2_weight'] ) ); $css->add_property( 'text-transform', esc_attr( $font_settings['heading_2_transform'] ) ); $css->add_property( 'font-size', absint( $font_settings['heading_2_font_size'] ), false, 'px' ); + $css->add_property( 'line-height', floatval( $font_settings['heading_2_line_height'] ), false, 'em' ); if ( $color_settings['h2_color'] ) { $css->add_property( 'color', esc_attr( $color_settings['h2_color'] ) ); @@ -263,6 +273,7 @@ function generate_do_inline_block_editor_css() { $css->add_property( 'font-weight', esc_attr( $font_settings['heading_3_weight'] ) ); $css->add_property( 'text-transform', esc_attr( $font_settings['heading_3_transform'] ) ); $css->add_property( 'font-size', absint( $font_settings['heading_3_font_size'] ), false, 'px' ); + $css->add_property( 'line-height', floatval( $font_settings['heading_3_line_height'] ), false, 'em' ); if ( $color_settings['h3_color'] ) { $css->add_property( 'color', esc_attr( $color_settings['h3_color'] ) ); @@ -283,6 +294,10 @@ function generate_do_inline_block_editor_css() { $css->add_property( 'font-size', 'inherit' ); } + if ( '' !== $font_settings['heading_4_line_height'] ) { + $css->add_property( 'line-height', floatval( $font_settings['heading_4_line_height'] ), false, 'em' ); + } + if ( $color_settings['h4_color'] ) { $css->add_property( 'color', esc_attr( $color_settings['h4_color'] ) ); } elseif ( $color_settings['content_text_color'] ) { @@ -302,6 +317,10 @@ function generate_do_inline_block_editor_css() { $css->add_property( 'font-size', 'inherit' ); } + if ( '' !== $font_settings['heading_5_line_height'] ) { + $css->add_property( 'line-height', floatval( $font_settings['heading_5_line_height'] ), false, 'em' ); + } + if ( $color_settings['h5_color'] ) { $css->add_property( 'color', esc_attr( $color_settings['h5_color'] ) ); } elseif ( $color_settings['content_text_color'] ) { @@ -321,6 +340,10 @@ function generate_do_inline_block_editor_css() { $css->add_property( 'font-size', 'inherit' ); } + if ( '' !== $font_settings['heading_6_line_height'] ) { + $css->add_property( 'line-height', floatval( $font_settings['heading_6_line_height'] ), false, 'em' ); + } + if ( $color_settings['h6_color'] ) { $css->add_property( 'color', esc_attr( $color_settings['h6_color'] ) ); } elseif ( $color_settings['content_text_color'] ) { diff --git a/inc/css-output.php b/inc/css-output.php index c52dd49e..2d808620 100644 --- a/inc/css-output.php +++ b/inc/css-output.php @@ -37,6 +37,13 @@ function generate_base_css() { $css->set_selector( 'body .grid-container' )->add_property( 'max-width', absint( $generate_settings['container_width'] ), false, 'px' ); + if ( apply_filters( 'generate_do_group_inner_container_style', true ) ) { + $css->set_selector( '.wp-block-group__inner-container' ); + $css->add_property( 'max-width', absint( $generate_settings['container_width'] ), false, 'px' ); + $css->add_property( 'margin-left', 'auto' ); + $css->add_property( 'margin-right', 'auto' ); + } + $nav_drop_point = generate_get_option( 'nav_drop_point' ); $nav_location = generate_get_navigation_location(); @@ -148,13 +155,24 @@ function generate_advanced_css() { $css->add_property( 'color', esc_attr( $generate_settings['navigation_text_current_color'] ) ); $css->add_property( 'background-color', esc_attr( $generate_settings['navigation_background_current_color'] ) ); - $css->set_selector( '.navigation-search input[type="search"],.navigation-search input[type="search"]:active' ); - $css->add_property( 'color', esc_attr( $generate_settings['navigation_background_hover_color'] ) ); - $css->add_property( 'background-color', esc_attr( $generate_settings['navigation_background_hover_color'] ) ); + $navigation_search_background = $generate_settings['navigation_background_hover_color']; + $navigation_search_text = $generate_settings['navigation_text_hover_color']; - $css->set_selector( '.navigation-search input[type="search"]:focus' ); - $css->add_property( 'color', esc_attr( $generate_settings['navigation_text_hover_color'] ) ); - $css->add_property( 'background-color', esc_attr( $generate_settings['navigation_background_hover_color'] ) ); + if ( '' !== $generate_settings['navigation_search_background_color'] ) { + $navigation_search_background = $generate_settings['navigation_search_background_color']; + } + + if ( '' !== $generate_settings['navigation_search_text_color'] ) { + $navigation_search_text = $generate_settings['navigation_search_text_color']; + } + + $css->set_selector( '.navigation-search input[type="search"],.navigation-search input[type="search"]:active, .navigation-search input[type="search"]:focus, .main-navigation .main-nav ul li.search-item.active > a' ); + $css->add_property( 'color', esc_attr( $navigation_search_text ) ); + $css->add_property( 'background-color', esc_attr( $navigation_search_background ) ); + + if ( '' !== $generate_settings['navigation_search_background_color'] ) { + $css->add_property( 'opacity', '1' ); + } $css->set_selector( '.main-navigation ul ul' ); $css->add_property( 'background-color', esc_attr( $generate_settings['subnavigation_background_color'] ) ); @@ -455,7 +473,7 @@ function generate_font_css() { $css->add_property( 'text-transform', esc_attr( $generate_settings['footer_transform'] ), $og_defaults['footer_transform'] ); $css->add_property( 'font-size', absint( $generate_settings['footer_font_size'] ), $og_defaults['footer_font_size'], 'px' ); - $css->start_media_query( apply_filters( 'generate_mobile_media_query', '(max-width:768px)' ) ); + $css->start_media_query( generate_get_media_query( 'mobile' ) ); $mobile_site_title = ( isset( $generate_settings['mobile_site_title_font_size'] ) ) ? $generate_settings['mobile_site_title_font_size'] : '30'; $css->set_selector( '.main-title' ); $css->add_property( 'font-size', absint( $mobile_site_title ), false, 'px' ); @@ -501,6 +519,11 @@ function generate_spacing_css() { $css->set_selector( '.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header' ); $css->add_property( 'padding', generate_padding_css( $spacing_settings['content_top'], $spacing_settings['content_right'], $spacing_settings['content_bottom'], $spacing_settings['content_left'] ), generate_padding_css( $og_defaults['content_top'], $og_defaults['content_right'], $og_defaults['content_bottom'], $og_defaults['content_left'] ) ); + if ( apply_filters( 'generate_do_group_inner_container_style', true ) ) { + $css->set_selector( '.wp-block-group__inner-container' ); + $css->add_property( 'padding', generate_padding_css( $spacing_settings['content_top'], $spacing_settings['content_right'], $spacing_settings['content_bottom'], $spacing_settings['content_left'] ) ); + } + $content_padding = absint( $spacing_settings['content_right'] ) + absint( $spacing_settings['content_left'] ); $css->set_selector( '.entry-content .alignwide, body:not(.no-sidebar) .entry-content .alignfull' ); $css->add_property( 'margin-left', '-' . absint( $spacing_settings['content_left'] ) . 'px' ); @@ -589,7 +612,7 @@ function generate_spacing_css() { $css->set_selector( '.site-info' ); $css->add_property( 'padding', generate_padding_css( $spacing_settings['footer_top'], $spacing_settings['footer_right'], $spacing_settings['footer_bottom'], $spacing_settings['footer_left'] ), generate_padding_css( $og_defaults['footer_top'], $og_defaults['footer_right'], $og_defaults['footer_bottom'], $og_defaults['footer_left'] ) ); - $css->start_media_query( apply_filters( 'generate_mobile_media_query', '(max-width:768px)' ) ); + $css->start_media_query( generate_get_media_query( 'mobile' ) ); $css->set_selector( '.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header' ); $css->add_property( 'padding', generate_padding_css( $spacing_settings['mobile_content_top'], $spacing_settings['mobile_content_right'], $spacing_settings['mobile_content_bottom'], $spacing_settings['mobile_content_left'] ) ); @@ -665,7 +688,7 @@ function generate_no_cache_dynamic_css() { } } - $css->start_media_query( apply_filters( 'generate_mobile_menu_media_query', '(max-width: 768px)' ) ); + $css->start_media_query( generate_get_media_query( 'mobile-menu' ) ); $css->set_selector( '.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder)' ); $css->add_property( 'display', 'block' ); diff --git a/inc/customizer/controls/class-range-control.php b/inc/customizer/controls/class-range-control.php index e6549a68..a03758fb 100644 --- a/inc/customizer/controls/class-range-control.php +++ b/inc/customizer/controls/class-range-control.php @@ -121,6 +121,8 @@ protected function content_template() { <# if ( 'undefined' !== typeof ( data.desktop ) ) { #> <# } #> @@ -137,6 +138,8 @@ protected function content_template() { <# if ( 'undefined' !== typeof ( data.tablet ) ) { #> <# } #> @@ -153,6 +155,8 @@ protected function content_template() { <# if ( 'undefined' !== typeof ( data.mobile ) ) { #> <# } #> diff --git a/inc/customizer/controls/class-typography-control.php b/inc/customizer/controls/class-typography-control.php index c3c42aa6..68f20a5e 100644 --- a/inc/customizer/controls/class-typography-control.php +++ b/inc/customizer/controls/class-typography-control.php @@ -29,10 +29,8 @@ public function enqueue() { public function to_json() { parent::to_json(); - $number_of_fonts = apply_filters( 'generate_number_of_fonts', 200 ); $this->json['default_fonts_title'] = __( 'System fonts', 'generatepress' ); $this->json['google_fonts_title'] = __( 'Google fonts', 'generatepress' ); - $this->json['google_fonts'] = apply_filters( 'generate_typography_customize_list', generate_get_all_google_fonts( $number_of_fonts ) ); $this->json['default_fonts'] = generate_typography_default_fonts(); $this->json['family_title'] = esc_html__( 'Font family', 'generatepress' ); $this->json['weight_title'] = esc_html__( 'Font weight', 'generatepress' ); @@ -74,8 +72,8 @@ public function content_template() { <# } #> - <# for ( var key in data.google_fonts ) { #> - + <# for ( var key in generatePressTypography.googleFonts ) { #> + <# } #> @@ -89,7 +87,7 @@ public function content_template() { <# if ( 'undefined' !== typeof ( data.variant ) ) { #> <# var id = data.family.value.split(' ').join('_').toLowerCase(); - var font_data = data.google_fonts[id]; + var font_data = generatePressTypography.googleFonts[id]; var variants = ''; if ( typeof font_data !== 'undefined' ) { variants = font_data.variants; @@ -125,43 +123,45 @@ public function content_template() {
<# } #> - <# if ( 'undefined' !== typeof ( data.weight ) ) { #> -
- -
- <# } #> + + <# if ( '' !== data.weight_title ) { #> +

{{ data.weight_title }}

+ <# } #> + +
+ <# } #> - <# if ( 'undefined' !== typeof ( data.transform ) ) { #> -
- -
- <# } #> + + <# if ( '' !== data.transform_title ) { #> +

{{ data.transform_title }}

+ <# } #> + + + <# } #> + span:first-child:last-child { display: none; } .customize-control-generatepress-range-slider .sub-description { margin-top: 10px; -} \ No newline at end of file +} diff --git a/inc/customizer/controls/css/typography-customizer.css b/inc/customizer/controls/css/typography-customizer.css index bffd1d40..c6ed6516 100644 --- a/inc/customizer/controls/css/typography-customizer.css +++ b/inc/customizer/controls/css/typography-customizer.css @@ -1,11 +1,19 @@ -.generatepress-font-weight, -.generatepress-font-transform { - float: left; - width: 50% +.generatepress-font-family { + margin-bottom: 12px; +} + +.generatepress-weight-transform-wrapper { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; } -.generatepress-font-weight select { - border-right: 0; +.generatepress-font-weight, +.generatepress-font-transform { + width: calc(50% - 5px); } span.select2-container.select2-container--default.select2-container--open li.select2-results__option { diff --git a/inc/customizer/controls/js/customizer-live-preview.js b/inc/customizer/controls/js/customizer-live-preview.js index 83354e88..0ab0783e 100644 --- a/inc/customizer/controls/js/customizer-live-preview.js +++ b/inc/customizer/controls/js/customizer-live-preview.js @@ -296,9 +296,9 @@ function generatepress_typography_live_update( id, selector, property, unit, med wp.customize( 'generate_settings[container_width]', function( value ) { value.bind( function( newval ) { if ( jQuery( 'style#container_width' ).length ) { - jQuery( 'style#container_width' ).html( 'body .grid-container{max-width:' + newval + 'px;}' ); + jQuery( 'style#container_width' ).html( 'body .grid-container, .wp-block-group__inner-container{max-width:' + newval + 'px;}' ); } else { - jQuery( 'head' ).append( '' ); + jQuery( 'head' ).append( '' ); setTimeout(function() { jQuery( 'style#container_width' ).not( ':last' ).remove(); }, 100); diff --git a/inc/customizer/helpers.php b/inc/customizer/helpers.php index 178dd3e4..ca5e65b8 100644 --- a/inc/customizer/helpers.php +++ b/inc/customizer/helpers.php @@ -262,6 +262,16 @@ function generate_do_control_inline_scripts() { ) ); + $number_of_fonts = apply_filters( 'generate_number_of_fonts', 200 ); + + wp_localize_script( + 'generatepress-typography-customizer', + 'generatePressTypography', + array( + 'googleFonts' => apply_filters( 'generate_typography_customize_list', generate_get_all_google_fonts( $number_of_fonts ) ) + ) + ); + wp_localize_script( 'generatepress-typography-customizer', 'typography_defaults', generate_typography_default_fonts() ); wp_enqueue_script( 'generatepress-customizer-controls', trailingslashit( get_template_directory_uri() ) . 'inc/customizer/controls/js/customizer-controls.js', array( 'customize-controls', 'jquery' ), GENERATE_VERSION, true ); @@ -285,9 +295,9 @@ function generate_customizer_live_preview() { wp_enqueue_script( 'generate-themecustomizer', trailingslashit( get_template_directory_uri() ) . 'inc/customizer/controls/js/customizer-live-preview.js', array( 'customize-preview' ), GENERATE_VERSION, true ); wp_localize_script( 'generate-themecustomizer', 'generatepress_live_preview', array( - 'mobile' => apply_filters( 'generate_mobile_media_query', '(max-width:768px)' ), - 'tablet' => apply_filters( 'generate_tablet_media_query', '(min-width: 769px) and (max-width: 1024px)' ), - 'desktop' => apply_filters( 'generate_desktop_media_query', '(min-width:1025px)' ), + 'mobile' => generate_get_media_query( 'mobile' ), + 'tablet' => generate_get_media_query( 'tablet' ), + 'desktop' => generate_get_media_query( 'desktop' ), 'contentLeft' => absint( $spacing_settings['content_left'] ), 'contentRight' => absint( $spacing_settings['content_right'] ), ) ); diff --git a/inc/defaults.php b/inc/defaults.php index 986b9bd6..3b4b102a 100644 --- a/inc/defaults.php +++ b/inc/defaults.php @@ -93,6 +93,8 @@ function generate_get_color_defaults() { 'subnavigation_text_hover_color' => '#ffffff', 'subnavigation_background_current_color' => '#4f4f4f', 'subnavigation_text_current_color' => '#ffffff', + 'navigation_search_background_color' => '', + 'navigation_search_text_color' => '', 'content_background_color' => '#ffffff', 'content_text_color' => '', 'content_link_color' => '', diff --git a/inc/general.php b/inc/general.php index aebdcb12..624ac3ba 100644 --- a/inc/general.php +++ b/inc/general.php @@ -53,6 +53,15 @@ function generate_scripts() { if ( 'enable' === generate_get_option( 'nav_search' ) ) { wp_enqueue_script( 'generate-navigation-search', $dir_uri . "/js/navigation-search{$suffix}.js", array( 'generate-menu' ), GENERATE_VERSION, true ); + + wp_localize_script( + 'generate-navigation-search', + 'generatepressNavSearch', + array( + 'open' => esc_attr__( 'Open Search Bar', 'generatepress' ), + 'close' => esc_attr__( 'Close Search Bar', 'generatepress' ), + ) + ); } if ( 'enable' === generate_get_option( 'back_to_top' ) ) { diff --git a/inc/plugin-compat.php b/inc/plugin-compat.php index ded04413..c315e7a4 100644 --- a/inc/plugin-compat.php +++ b/inc/plugin-compat.php @@ -114,7 +114,8 @@ function generate_woocommerce_css() { return; } - $mobile = apply_filters( 'generate_mobile_media_query', '(max-width:768px)' ); + $mobile = generate_get_media_query( 'mobile' ); + $css = '.woocommerce .page-header-image-single { display: none; } diff --git a/inc/structure/comments.php b/inc/structure/comments.php index 5beae4e8..84df2d27 100644 --- a/inc/structure/comments.php +++ b/inc/structure/comments.php @@ -52,15 +52,6 @@ function generate_comment( $comment, $args, $depth ) { | ', '' ); ?> - 'div-comment', - 'depth' => $depth, - 'max_depth' => $args['max_depth'], - 'before' => '| ', - 'after' => '', - ) ) ); - ?> @@ -70,7 +61,25 @@ function generate_comment( $comment, $args, $depth ) {
- +
'div-comment', + 'depth' => $depth, + 'max_depth' => $args['max_depth'], + 'before' => '', + 'after' => '', + ) ) ); +} + add_filter( 'comment_form_defaults', 'generate_set_comment_form_defaults' ); /** * Set the default settings for our comments. diff --git a/inc/structure/featured-images.php b/inc/structure/featured-images.php index 89f46fe9..c807c1f0 100644 --- a/inc/structure/featured-images.php +++ b/inc/structure/featured-images.php @@ -24,6 +24,7 @@ function generate_post_image() { if ( ! is_singular() && ! is_404() ) { echo apply_filters( 'generate_featured_image_output', sprintf( // WPCS: XSS ok. '
+ %3$s %2$s @@ -35,7 +36,8 @@ function generate_post_image() { array( 'itemprop' => 'image', ) - ) + ), + apply_filters( 'generate_inside_featured_image_output', '' ) ) ); } } @@ -65,7 +67,6 @@ function generate_featured_page_header_area( $class ) { apply_filters( 'generate_page_header_default_size', 'full' ), array( 'itemprop' => 'image', - 'alt' => the_title_attribute( 'echo=0' ), ) ); ?>
diff --git a/inc/structure/navigation.php b/inc/structure/navigation.php index b6cac22e..7a8e9be9 100644 --- a/inc/structure/navigation.php +++ b/inc/structure/navigation.php @@ -40,8 +40,21 @@ function generate_navigation_position() { do_action( 'generate_inside_mobile_menu' ); generate_do_svg_icon( 'menu-bars', true ); + + $mobile_menu_label = apply_filters( 'generate_mobile_menu_label', __( 'Menu', 'generatepress' ) ); + + if ( $mobile_menu_label ) { + printf( + '%s', + $mobile_menu_label + ); + } else { + printf( + '%s', + __( 'Menu', 'generatepress' ) + ); + } ?> - ' . $icon . '' . esc_html_x( 'Search', 'submit button', 'generatepress' ) . ''; + if ( 'enable' === $generate_settings['nav_search'] ) { + printf( + '
  • %2$s
  • ', + esc_attr__( 'Open Search Bar', 'generatepress' ), + generate_get_svg_icon( 'search', true ) + ); } ?> @@ -301,9 +317,13 @@ function generate_menu_search_icon( $nav, $args ) { } // If our primary menu is set, add the search icon. - if ( $args->theme_location == 'primary' ) { - $icon = generate_get_svg_icon( 'search', true ); - return $nav . '
  • ' . $icon . '' . _x( 'Search', 'submit button', 'generatepress' ) . '
  • '; + if ( isset( $args->theme_location ) && 'primary' === $args->theme_location ) { + return sprintf( + '%1$s
  • %3$s
  • ', + $nav, + esc_attr__( 'Open Search Bar', 'generatepress' ), + generate_get_svg_icon( 'search', true ) + ); } // Our primary menu isn't set, return the regular nav. @@ -333,10 +353,9 @@ function generate_mobile_menu_search_icon() { ?>
    - - + + -
    diff --git a/inc/structure/post-meta.php b/inc/structure/post-meta.php index be1eba27..0c49a7b2 100644 --- a/inc/structure/post-meta.php +++ b/inc/structure/post-meta.php @@ -40,23 +40,35 @@ function generate_content_nav( $nav_id ) { } $nav_class = ( is_single() ) ? 'post-navigation' : 'paging-navigation'; - $category_specific = apply_filters( 'generate_category_post_navigation', false ); ?>