From b1d29a95e94305b79680857790eaf68a13864292 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Fri, 4 Jan 2019 11:23:04 -0800 Subject: [PATCH 01/70] Remove footer widget placeholders --- inc/structure/footer.php | 37 ++++++++++++------------------------- 1 file changed, 12 insertions(+), 25 deletions(-) diff --git a/inc/structure/footer.php b/inc/structure/footer.php index b38b3a56..8c847b54 100644 --- a/inc/structure/footer.php +++ b/inc/structure/footer.php @@ -101,31 +101,7 @@ function generate_do_footer_widget( $widget_width, $widget ) { $tablet_widget_width = apply_filters( "generate_footer_widget_{$widget}_tablet_width", '50' ); ?> Date: Fri, 4 Jan 2019 11:23:58 -0800 Subject: [PATCH 02/70] Allow for easier entry meta ordering --- inc/structure/post-meta.php | 126 +++++++++++++++++++++++++++++------- style.css | 15 ++++- style.min.css | 2 +- 3 files changed, 116 insertions(+), 27 deletions(-) diff --git a/inc/structure/post-meta.php b/inc/structure/post-meta.php index a07cd255..7f0251eb 100644 --- a/inc/structure/post-meta.php +++ b/inc/structure/post-meta.php @@ -102,17 +102,20 @@ function generate_modify_posts_pagination_template( $template, $class ) { } } -if ( ! function_exists( 'generate_posted_on' ) ) { - /** - * Prints HTML with meta information for the current post-date/time and author. - * - * @since 0.1 - */ - function generate_posted_on() { +/** + * Output requested post meta. + * + * @since 2.3 + * + * @param string $item The post meta item we're requesting + * @return The requested HTML. + */ +function generate_do_post_meta_item( $item ) { + if ( 'date' === $item ) { $date = apply_filters( 'generate_post_date', true ); - $author = apply_filters( 'generate_post_author', true ); $time_string = ''; + if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string = '' . $time_string; } @@ -126,7 +129,7 @@ function generate_posted_on() { // If our date is enabled, show it. if ( $date ) { - echo apply_filters( 'generate_post_date_output', sprintf( '%1$s', // WPCS: XSS ok, sanitization ok. + echo apply_filters( 'generate_post_date_output', sprintf( '%1$s ', // WPCS: XSS ok, sanitization ok. sprintf( '%3$s', esc_url( get_permalink() ), esc_attr( get_the_time() ), @@ -134,10 +137,13 @@ function generate_posted_on() { ) ), $time_string ); } + } + + if ( 'author' === $item ) { + $author = apply_filters( 'generate_post_author', true ); - // If our author is enabled, show it. if ( $author ) { - echo apply_filters( 'generate_post_author_output', sprintf( ' %1$s', // WPCS: XSS ok, sanitization ok. + echo apply_filters( 'generate_post_author_output', sprintf( '%1$s ', // WPCS: XSS ok, sanitization ok. sprintf( '%1$s ', __( 'by', 'generatepress' ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), @@ -149,39 +155,111 @@ function generate_posted_on() { ) ); } } -} -if ( ! function_exists( 'generate_entry_meta' ) ) { - /** - * Prints HTML with meta information for the categories, tags. - * - * @since 1.2.5 - */ - function generate_entry_meta() { + if ( 'categories' === $item ) { $categories = apply_filters( 'generate_show_categories', true ); - $tags = apply_filters( 'generate_show_tags', true ); - $comments = apply_filters( 'generate_show_comments', true ); $categories_list = get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'generatepress' ) ); if ( $categories_list && $categories ) { - echo apply_filters( 'generate_category_list_output', sprintf( '%1$s %2$s', // WPCS: XSS ok, sanitization ok. + echo apply_filters( 'generate_category_list_output', sprintf( '%1$s %2$s ', // WPCS: XSS ok, sanitization ok. esc_html_x( 'Categories', 'Used before category names.', 'generatepress' ), $categories_list ) ); } + } + + if ( 'tags' === $item ) { + $tags = apply_filters( 'generate_show_tags', true ); $tags_list = get_the_tag_list( '', _x( ', ', 'Used between list items, there is a space after the comma.', 'generatepress' ) ); if ( $tags_list && $tags ) { - echo apply_filters( 'generate_tag_list_output', sprintf( '%1$s %2$s', // WPCS: XSS ok, sanitization ok. + echo apply_filters( 'generate_tag_list_output', sprintf( '%1$s %2$s ', // WPCS: XSS ok, sanitization ok. esc_html_x( 'Tags', 'Used before tag names.', 'generatepress' ), $tags_list ) ); } + } + + if ( 'comments_link' === $item ) { + $comments = apply_filters( 'generate_show_comments', true ); if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) && $comments ) { echo ''; comments_popup_link( __( 'Leave a comment', 'generatepress' ), __( '1 Comment', 'generatepress' ), __( '% Comments', 'generatepress' ) ); - echo ''; + echo ' '; + } + } +} + +if ( ! function_exists( 'generate_posted_on' ) ) { + /** + * Prints HTML with meta information for the current post-date/time and author. + * + * @since 0.1 + */ + function generate_posted_on() { + $items = apply_filters( 'generate_header_entry_meta_items', array( + 'date', + 'author', + ) ); + + foreach ( $items as $item ) { + if ( 'date' === $item ) { + generate_do_post_meta_item( 'date' ); + } + + if ( 'author' === $item ) { + generate_do_post_meta_item( 'author' ); + } + + if ( 'categories' === $item ) { + generate_do_post_meta_item( 'categories' ); + } + + if ( 'tags' === $item ) { + generate_do_post_meta_item( 'tags' ); + } + + if ( 'comments_link' === $item ) { + generate_do_post_meta_item( 'comments_link' ); + } + } + } +} + +if ( ! function_exists( 'generate_entry_meta' ) ) { + /** + * Prints HTML with meta information for the categories, tags. + * + * @since 1.2.5 + */ + function generate_entry_meta() { + $items = apply_filters( 'generate_footer_entry_meta_items', array( + 'categories', + 'tags', + 'comments', + ) ); + + foreach ( $items as $item ) { + if ( 'date' === $item ) { + generate_do_post_meta_item( 'date' ); + } + + if ( 'author' === $item ) { + generate_do_post_meta_item( 'author' ); + } + + if ( 'categories' === $item ) { + generate_do_post_meta_item( 'categories' ); + } + + if ( 'tags' === $item ) { + generate_do_post_meta_item( 'tags' ); + } + + if ( 'comments_link' === $item ) { + generate_do_post_meta_item( 'comments_link' ); + } } } } diff --git a/style.css b/style.css index fc6c4d30..344ddfbd 100644 --- a/style.css +++ b/style.css @@ -1126,16 +1126,27 @@ nav:not(.toggled) ul ul .dropdown-menu-toggle:before { margin: 0 0 2em; } -.posted-on .updated { +.posted-on .updated, +.entry-header .cat-links:before, +.entry-header .tags-links:before, +.entry-header .comments-link:before { display: none; } .byline, .single .byline, -.group-blog .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 { diff --git a/style.min.css b/style.min.css index af7b2b29..722bfaa9 100644 --- a/style.min.css +++ b/style.min.css @@ -1 +1 @@ -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 ul ul .dropdown-menu-toggle{-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}.dropdown-click .menu-item-has-children.sfHover>a .dropdown-menu-toggle:before{content:"\f106"}.dropdown-hover .sub-menu .dropdown-menu-toggle:before,.dropdown-hover .children .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 .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}.slideout-navigation .dropdown-menu-toggle:before{content:"\f107"!important}.slideout-navigation .sfHover>a .dropdown-menu-toggle:before{content:"\f106"!important}.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}.post{margin:0 0 2em}.posted-on .updated{display:none}.byline,.single .byline,.group-blog .byline{display:inline}.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 .site-main{margin:0}.one-container .inside-right-sidebar,.one-container .inside-left-sidebar{margin-top:0}.one-container .inside-article{padding:0 0 30px 0}.one-container.page .inside-article{padding-bottom: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}.right-sidebar.separate-containers .site-main{margin:20px 20px 20px 0}.left-sidebar.separate-containers .site-main{margin:20px 0 20px 20px}.both-sidebars.separate-containers .site-main{margin:20px}.both-right.separate-containers .site-main{margin:20px 20px 20px 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}.both-left.separate-containers .site-main{margin:20px 0 20px 20px}.separate-containers .site-main,.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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}@font-face{font-family:'GeneratePress';src:url(fonts/generatepress.eot);src:url(fonts/generatepress.eot#iefix) format('embedded-opentype'),url(fonts/generatepress.woff2) format('woff2'),url(fonts/generatepress.woff) format('woff'),url(fonts/generatepress.ttf) format('truetype'),url(fonts/generatepress.svg#GeneratePress) format('svg');font-weight:400;font-style:normal}.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}.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}.main-navigation .slideout-toggle a:before,.slide-opened .slideout-overlay .slideout-exit:before{font-family:GeneratePress} +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 ul ul .dropdown-menu-toggle{-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}.dropdown-click .menu-item-has-children.sfHover>a .dropdown-menu-toggle:before{content:"\f106"}.dropdown-hover .sub-menu .dropdown-menu-toggle:before,.dropdown-hover .children .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 .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}.slideout-navigation .dropdown-menu-toggle:before{content:"\f107"!important}.slideout-navigation .sfHover>a .dropdown-menu-toggle:before{content:"\f106"!important}.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}.post{margin:0 0 2em}.posted-on .updated,.entry-header .cat-links:before,.entry-header .tags-links:before,.entry-header .comments-link:before{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 .site-main{margin:0}.one-container .inside-right-sidebar,.one-container .inside-left-sidebar{margin-top:0}.one-container .inside-article{padding:0 0 30px 0}.one-container.page .inside-article{padding-bottom: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}.right-sidebar.separate-containers .site-main{margin:20px 20px 20px 0}.left-sidebar.separate-containers .site-main{margin:20px 0 20px 20px}.both-sidebars.separate-containers .site-main{margin:20px}.both-right.separate-containers .site-main{margin:20px 20px 20px 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}.both-left.separate-containers .site-main{margin:20px 0 20px 20px}.separate-containers .site-main,.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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}@font-face{font-family:'GeneratePress';src:url(fonts/generatepress.eot);src:url(fonts/generatepress.eot#iefix) format('embedded-opentype'),url(fonts/generatepress.woff2) format('woff2'),url(fonts/generatepress.woff) format('woff'),url(fonts/generatepress.ttf) format('truetype'),url(fonts/generatepress.svg#GeneratePress) format('svg');font-weight:400;font-style:normal}.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}.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}.main-navigation .slideout-toggle a:before,.slide-opened .slideout-overlay .slideout-exit:before{font-family:GeneratePress} From cf6dceb791431907569d0481d9c2205bafcff85e Mon Sep 17 00:00:00 2001 From: tomusborne Date: Tue, 19 Mar 2019 14:48:05 -0700 Subject: [PATCH 03/70] Probably filter comment_form() defaults --- comments.php | 12 +--------- inc/structure/comments.php | 45 +++++++++++++++++++++++++++++++++++--- 2 files changed, 43 insertions(+), 14 deletions(-) diff --git a/comments.php b/comments.php index e5f366ca..7d1ff24f 100644 --- a/comments.php +++ b/comments.php @@ -107,17 +107,7 @@

'

', - 'comment_notes_before' => null, - 'comment_notes_after' => null, - 'id_form' => 'commentform', - 'id_submit' => 'submit', - 'title_reply' => apply_filters( 'generate_leave_comment', __( 'Leave a Comment', 'generatepress' ) ), - 'label_submit' => apply_filters( 'generate_post_comment', __( 'Post Comment', 'generatepress' ) ), - ); - - comment_form( $defaults ); + comment_form(); ?> diff --git a/inc/structure/comments.php b/inc/structure/comments.php index 3d52f042..5beae4e8 100644 --- a/inc/structure/comments.php +++ b/inc/structure/comments.php @@ -78,6 +78,31 @@ function generate_comment( $comment, $args, $depth ) { } } +add_filter( 'comment_form_defaults', 'generate_set_comment_form_defaults' ); +/** + * Set the default settings for our comments. + * + * @since 2.3 + * + * @param array $defaults + * @return array + */ +function generate_set_comment_form_defaults( $defaults ) { + $defaults['comment_field'] = sprintf( + '

', + esc_html__( 'Comment', 'generatepress' ) + ); + + $defaults['comment_notes_before'] = null; + $defaults['comment_notes_after'] = null; + $defaults['id_form'] = 'commentform'; + $defaults['id_submit'] = 'submit'; + $defaults['title_reply'] = apply_filters( 'generate_leave_comment', __( 'Leave a Comment', 'generatepress' ) ); + $defaults['label_submit'] = apply_filters( 'generate_post_comment', __( 'Post Comment', 'generatepress' ) ); + + return $defaults; +} + add_filter( 'comment_form_default_fields', 'generate_filter_comment_fields' ); /** * Customizes the existing comment fields. @@ -89,9 +114,23 @@ function generate_comment( $comment, $args, $depth ) { function generate_filter_comment_fields( $fields ) { $commenter = wp_get_current_commenter(); - $fields['author'] = ''; - $fields['email'] = ''; - $fields['url'] = ''; + $fields['author'] = sprintf( + '', + esc_html__( 'Name', 'generatepress' ), + esc_attr( $commenter['comment_author'] ) + ); + + $fields['email'] = sprintf( + '', + esc_html__( 'Email', 'generatepress' ), + esc_attr( $commenter['comment_author_email'] ) + ); + + $fields['url'] = sprintf( + '', + esc_html__( 'Website', 'generatepress' ), + esc_attr( $commenter['comment_author_url'] ) + ); return $fields; } From 9cc9aba5f9d746324a63d5ce059b1d1d01469fcf Mon Sep 17 00:00:00 2001 From: tomusborne Date: Tue, 19 Mar 2019 14:48:17 -0700 Subject: [PATCH 04/70] Fix generate_search_label filter --- searchform.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searchform.php b/searchform.php index 5146ddd3..531432c4 100644 --- a/searchform.php +++ b/searchform.php @@ -11,8 +11,8 @@ ?>
From 5b9fef6b592895bda3602b31b57b8349ea79abea Mon Sep 17 00:00:00 2001 From: tomusborne Date: Thu, 28 Mar 2019 15:51:58 -0700 Subject: [PATCH 05/70] Make sure container_class variable exists Fixes a notice when using WPML --- inc/structure/navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/structure/navigation.php b/inc/structure/navigation.php index 5c6488f0..66992eff 100644 --- a/inc/structure/navigation.php +++ b/inc/structure/navigation.php @@ -219,7 +219,7 @@ function generate_dropdown_icon_to_menu_link( $title, $item, $args, $depth ) { $tabindex = ' tabindex="0"'; } - if ( 'main-nav' === $args->container_class ) { + if ( isset( $args->container_class ) && 'main-nav' === $args->container_class ) { foreach ( $item->classes as $value ) { if ( 'menu-item-has-children' === $value ) { $title = $title . ''; From 3cd1cd45ca0b9fdf76d86077ab5054dcfca4f6af Mon Sep 17 00:00:00 2001 From: tomusborne Date: Thu, 28 Mar 2019 15:52:49 -0700 Subject: [PATCH 06/70] Add generate_header_items_order filter to order header elements --- inc/structure/header.php | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/inc/structure/header.php b/inc/structure/header.php index 10fead4d..fba64f73 100644 --- a/inc/structure/header.php +++ b/inc/structure/header.php @@ -54,9 +54,27 @@ function generate_construct_header() { * @since 1.2.9.7 */ function generate_header_items() { - generate_construct_header_widget(); - generate_construct_site_title(); - generate_construct_logo(); + $order = apply_filters( 'generate_header_items_order', + array( + 'header-widget', + 'site-branding', + 'logo', + ) + ); + + foreach ( $order as $item ) { + if ( 'header-widget' === $item ) { + generate_construct_header_widget(); + } + + if ( 'site-branding' === $item ) { + generate_construct_site_title(); + } + + if ( 'logo' === $item ) { + generate_construct_logo(); + } + } } } From e5067417d168d981687df71846d7ac6cfb0f89b0 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Fri, 29 Mar 2019 11:18:17 -0700 Subject: [PATCH 07/70] Add wp_body_open hook New WP hook added in WP 5.2 --- header.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/header.php b/header.php index cf2aa699..cb4469a4 100644 --- a/header.php +++ b/header.php @@ -20,6 +20,13 @@ > Date: Sat, 30 Mar 2019 00:52:29 -0700 Subject: [PATCH 08/70] Fix sub-menu direction in right sidebar --- style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/style.css b/style.css index 344ddfbd..9aad090c 100644 --- a/style.css +++ b/style.css @@ -913,6 +913,8 @@ nav:not(.toggled) ul ul .dropdown-menu-toggle:before { 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; From 31b3768010f8bb29d2571aca4e7d89d0b8ba4212 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Sat, 30 Mar 2019 00:54:10 -0700 Subject: [PATCH 09/70] Fix comments number not showing --- inc/structure/post-meta.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inc/structure/post-meta.php b/inc/structure/post-meta.php index 7f0251eb..38070b3b 100644 --- a/inc/structure/post-meta.php +++ b/inc/structure/post-meta.php @@ -180,7 +180,7 @@ function generate_do_post_meta_item( $item ) { } } - if ( 'comments_link' === $item ) { + if ( 'comments-link' === $item ) { $comments = apply_filters( 'generate_show_comments', true ); if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) && $comments ) { @@ -220,8 +220,8 @@ function generate_posted_on() { generate_do_post_meta_item( 'tags' ); } - if ( 'comments_link' === $item ) { - generate_do_post_meta_item( 'comments_link' ); + if ( 'comments-link' === $item ) { + generate_do_post_meta_item( 'comments-link' ); } } } @@ -237,7 +237,7 @@ function generate_entry_meta() { $items = apply_filters( 'generate_footer_entry_meta_items', array( 'categories', 'tags', - 'comments', + 'comments-link', ) ); foreach ( $items as $item ) { @@ -257,8 +257,8 @@ function generate_entry_meta() { generate_do_post_meta_item( 'tags' ); } - if ( 'comments_link' === $item ) { - generate_do_post_meta_item( 'comments_link' ); + if ( 'comments-link' === $item ) { + generate_do_post_meta_item( 'comments-link' ); } } } From 5362207f45271960782b30068833c9d4c1c842c5 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Wed, 3 Apr 2019 16:09:22 -0700 Subject: [PATCH 10/70] Align header to center on mobile even if aligned right --- css/mobile.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/css/mobile.css b/css/mobile.css index 5ccbc04c..dd83c531 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -172,7 +172,8 @@ nav.toggled ul ul.sub-menu { margin-bottom: 20px; } - .site-header { + .site-header, + .header-aligned-right .site-header { text-align: center; } From 3b2923defaf2e8cd0bd2e5bfeb981d5cfb9ad82a Mon Sep 17 00:00:00 2001 From: tomusborne Date: Wed, 3 Apr 2019 16:11:54 -0700 Subject: [PATCH 11/70] Add SVG icon option --- css/mobile.css | 6 +- inc/css-output.php | 64 ++++++++++++++++++++- inc/customizer.php | 23 ++++++++ inc/defaults.php | 1 + inc/structure/footer.php | 4 +- inc/structure/navigation.php | 24 ++++++-- inc/structure/post-meta.php | 34 ++++++++--- inc/theme-functions.php | 88 ++++++++++++++++++++++++++++ style.css | 108 ++++++++++++++++++++++------------- 9 files changed, 290 insertions(+), 62 deletions(-) diff --git a/css/mobile.css b/css/mobile.css index dd83c531..1e0a9ee3 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -107,12 +107,8 @@ nav.toggled ul ul.sub-menu { display: none !important; } -.main-navigation.toggled .dropdown-menu-toggle:before { - content: "\f107" !important; -} - .main-navigation.toggled .sfHover > a .dropdown-menu-toggle:before { - content: "\f106" !important; + content: "\f106"; } .main-navigation.toggled .menu-item-has-children .dropdown-menu-toggle { diff --git a/inc/css-output.php b/inc/css-output.php index 5bdf8b7d..42a8fbf5 100644 --- a/inc/css-output.php +++ b/inc/css-output.php @@ -680,7 +680,7 @@ function generate_no_cache_dynamic_css() { */ function generate_enqueue_dynamic_css() { if ( ! get_option( 'generate_dynamic_css_output', false ) || is_customize_preview() || apply_filters( 'generate_dynamic_css_skip_cache', false ) ) { - $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css(); + $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css() . generate_do_icon_font_css(); } else { $css = get_option( 'generate_dynamic_css_output' ) . '/* End cached CSS */'; } @@ -707,7 +707,7 @@ function generate_set_dynamic_css_cache() { $cached_version = get_option( 'generate_dynamic_css_cached_version', '' ); if ( ! $cached_css || $cached_version !== GENERATE_VERSION ) { - $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css(); + $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css() . generate_do_icon_font_css(); update_option( 'generate_dynamic_css_output', $css ); update_option( 'generate_dynamic_css_cached_version', GENERATE_VERSION ); @@ -725,6 +725,64 @@ function generate_update_dynamic_css_cache() { return; } - $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css(); + $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css() . generate_do_icon_font_css(); update_option( 'generate_dynamic_css_output', $css ); } + +/** + * Output CSS for the icon fonts. + * + * @since 2.3 + */ +function generate_do_icon_font_css() { + $output = false; + + if ( 'font' === generate_get_option( 'icons' ) ) { + $url = trailingslashit( get_template_directory_uri() ); + + $output = '@font-face { + font-family: "GeneratePress"; + src: url("' . $url . 'fonts/generatepress.eot"); + src: url("' . $url . 'fonts/generatepress.eot#iefix") format("embedded-opentype"), + url("' . $url . 'fonts/generatepress.woff2") format("woff2"), + url("' . $url . 'fonts/generatepress.woff") format("woff"), + url("' . $url . 'fonts/generatepress.ttf") format("truetype"), + url("' . $url . 'fonts/generatepress.svg#GeneratePress") format("svg"); + font-weight: normal; + font-style: normal; + }'; + + if ( function_exists( 'generate_menu_plus_setup' ) ) { + $output .= '.main-navigation .slideout-toggle a:before, + .slide-opened .slideout-overlay .slideout-exit:before { + font-family: GeneratePress; + } + + .slideout-navigation .dropdown-menu-toggle:before { + content: "\f107" !important; + } + + .slideout-navigation .sfHover > a .dropdown-menu-toggle:before { + content: "\f106" !important; + }'; + } + } + + if ( 'svg' === generate_get_option( 'icons' ) ) { + $output = 'button.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 { + display: none; + }'; + } + + if ( $output ) { + return str_replace( array( "\r", "\n", "\t" ), '', $output ); + } +} diff --git a/inc/customizer.php b/inc/customizer.php index 9686adb0..7e3a8da9 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -1338,6 +1338,29 @@ function generate_customize_register( $wp_customize ) { ); } + $wp_customize->add_setting( + 'generate_settings[icons]', + array( + 'default' => $defaults['icons'], + 'type' => 'option', + 'sanitize_callback' => 'generate_sanitize_choices', + ) + ); + + $wp_customize->add_control( + 'generate_settings[icons]', + array( + 'type' => 'select', + 'label' => __( 'Icon Type', 'generatepress' ), + 'section' => 'generate_general_section', + 'choices' => array( + 'svg' => __( 'SVG', 'generatepress' ), + 'font' => __( 'Font', 'generatepress' ), + ), + 'settings' => 'generate_settings[icons]', + ) + ); + $wp_customize->add_setting( 'generate_settings[dynamic_css_cache]', array( diff --git a/inc/defaults.php b/inc/defaults.php index 3a234508..18c5c3a4 100644 --- a/inc/defaults.php +++ b/inc/defaults.php @@ -54,6 +54,7 @@ function generate_get_defaults() { 'link_color_hover' => '#000000', 'link_color_visited' => '', 'font_awesome_essentials' => true, + 'icons' => 'font', 'dynamic_css_cache' => true, ) ); diff --git a/inc/structure/footer.php b/inc/structure/footer.php index 8c847b54..c4dd31f2 100644 --- a/inc/structure/footer.php +++ b/inc/structure/footer.php @@ -211,12 +211,14 @@ function generate_back_to_top() { echo apply_filters( 'generate_back_to_top_output', sprintf( // WPCS: XSS ok. '', esc_attr__( 'Scroll back to top', 'generatepress' ), absint( apply_filters( 'generate_back_to_top_scroll_speed', 400 ) ), absint( apply_filters( 'generate_back_to_top_start_scroll', 300 ) ), esc_attr( apply_filters( 'generate_back_to_top_icon', 'fa-angle-up' ) ), - esc_html__( 'Scroll back to top', 'generatepress' ) + esc_html__( 'Scroll back to top', 'generatepress' ), + generate_get_svg_icon( 'arrow' ) ) ); } } diff --git a/inc/structure/navigation.php b/inc/structure/navigation.php index 66992eff..b5ff23e9 100644 --- a/inc/structure/navigation.php +++ b/inc/structure/navigation.php @@ -31,7 +31,16 @@ function generate_navigation_position() { do_action( 'generate_inside_navigation' ); ?> ' . esc_html_x( 'Search', 'submit button', 'generatepress' ) . ''; + $icon = generate_get_svg_icon( 'search', true ); + echo '
  • ' . $icon . '' . esc_html_x( 'Search', 'submit button', 'generatepress' ) . '
  • '; } ?> @@ -162,7 +172,8 @@ function start_el( &$output, $page, $depth = 0, $args = array(), $current_page = if ( isset( $args['pages_with_children'][ $page->ID ] ) ) { $css_class[] = 'menu-item-has-children'; - $button = ''; + $icon = generate_get_svg_icon( 'arrow' ); + $button = '' . $icon . ''; } if ( ! empty( $current_page ) ) { @@ -222,7 +233,8 @@ function generate_dropdown_icon_to_menu_link( $title, $item, $args, $depth ) { if ( isset( $args->container_class ) && 'main-nav' === $args->container_class ) { foreach ( $item->classes as $value ) { if ( 'menu-item-has-children' === $value ) { - $title = $title . ''; + $icon = generate_get_svg_icon( 'arrow' ); + $title = $title . '' . $icon . ''; } } } @@ -283,7 +295,8 @@ function generate_menu_search_icon( $nav, $args ) { // If our primary menu is set, add the search icon. if ( $args->theme_location == 'primary' ) { - return $nav . '
  • ' . _x( 'Search', 'submit button', 'generatepress' ) . '
  • '; + $icon = generate_get_svg_icon( 'search', true ); + return $nav . '
  • ' . $icon . '' . _x( 'Search', 'submit button', 'generatepress' ) . '
  • '; } // Our primary menu isn't set, return the regular nav. @@ -315,6 +328,7 @@ function generate_mobile_menu_search_icon() { + diff --git a/inc/structure/post-meta.php b/inc/structure/post-meta.php index 38070b3b..be1eba27 100644 --- a/inc/structure/post-meta.php +++ b/inc/structure/post-meta.php @@ -47,17 +47,32 @@ function generate_content_nav( $nav_id ) { %link', '%title', $category_specific ); - next_post_link( '', '%title', $category_specific ); + previous_post_link( + '', + '%title', + $category_specific + ); + + next_post_link( + '', + '%title', + $category_specific + ); elseif ( is_home() || is_archive() || is_search() ) : // navigation links for home, archive, and search pages. if ( get_next_posts_link() ) : ?> - + - + %1$s %2$s ', // WPCS: XSS ok, sanitization ok. + echo apply_filters( 'generate_category_list_output', sprintf( '%3$s%1$s %2$s ', // WPCS: XSS ok, sanitization ok. esc_html_x( 'Categories', 'Used before category names.', 'generatepress' ), - $categories_list + $categories_list, + generate_get_svg_icon( 'categories' ) ) ); } } @@ -173,9 +189,10 @@ function generate_do_post_meta_item( $item ) { $tags_list = get_the_tag_list( '', _x( ', ', 'Used between list items, there is a space after the comma.', 'generatepress' ) ); if ( $tags_list && $tags ) { - echo apply_filters( 'generate_tag_list_output', sprintf( '%1$s %2$s ', // WPCS: XSS ok, sanitization ok. + echo apply_filters( 'generate_tag_list_output', sprintf( '%3$s%1$s %2$s ', // WPCS: XSS ok, sanitization ok. esc_html_x( 'Tags', 'Used before tag names.', 'generatepress' ), - $tags_list + $tags_list, + generate_get_svg_icon( 'tags' ) ) ); } } @@ -185,6 +202,7 @@ function generate_do_post_meta_item( $item ) { if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) && $comments ) { echo ''; + generate_do_svg_icon( 'comments' ); comments_popup_link( __( 'Leave a comment', 'generatepress' ), __( '1 Comment', 'generatepress' ), __( '% Comments', 'generatepress' ) ); echo ' '; } diff --git a/inc/theme-functions.php b/inc/theme-functions.php index 4de56c53..5dc96566 100644 --- a/inc/theme-functions.php +++ b/inc/theme-functions.php @@ -207,3 +207,91 @@ function generate_get_navigation_location() { return apply_filters( 'generate_navigation_location', generate_get_option( 'nav_position_setting' ) ); } } +/** + * Create SVG icons. + * + * @since 2.3 + */ +function generate_get_svg_icon( $icon, $replace = false ) { + if ( 'svg' !== generate_get_option( 'icons' ) ) { + return; + } + + $output = ''; + + if ( 'menu-bars' === $icon ) { + $output = ' + + '; + } + + if ( 'close' === $icon ) { + $output = ' + + '; + } + + if ( 'search' === $icon ) { + $output = ' + + '; + } + + if ( 'categories' === $icon ) { + $output = ' + + '; + } + + if ( 'tags' === $icon ) { + $output = ' + + + '; + } + + if ( 'comments' === $icon ) { + $output = ' + + + '; + } + + if ( 'arrow' === $icon ) { + $output = ' + + '; + } + + if ( $replace ) { + $output .= ' + + '; + } + + $classes = array( + 'gp-icon', + 'icon-' . $icon, + ); + + $output = sprintf( + '%2$s', + implode( ' ', $classes ), + $output + ); + + return apply_filters( 'generate_svg_icon', $output, $icon ); +} + +/** + * Out our icon HTML. + * + * @since 2.3 + * + * @param string $icon + * @param bool $replace Whether to include the close icon to be shown using JS. + * @return string + */ +function generate_do_svg_icon( $icon, $replace = false ) { + echo generate_get_svg_icon( $icon, $replace ); +} diff --git a/style.css b/style.css index 9aad090c..17747204 100644 --- a/style.css +++ b/style.css @@ -52,7 +52,8 @@ GeneratePress is based on Underscores http://underscores.me/, (C) 2012-2018 Auto # Featured Images # Top Bar # Back to Top Button -# Icons +# Font Icons +# SVG Icons # Compatibility --------------------------------------------------------------*/ @@ -881,17 +882,16 @@ nav:not(.toggled) ul ul .dropdown-menu-toggle:before { text-align: right; } -.dropdown-hover .sub-menu-left ul ul .dropdown-menu-toggle { - -webkit-transform: rotateY(180deg); - transform: rotateY(180deg); +.dropdown-hover .sub-menu-left 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 .sub-menu .dropdown-menu-toggle:before, -.dropdown-hover .children .dropdown-menu-toggle:before { +.dropdown-hover .main-navigation:not(.toggled) ul ul .dropdown-menu-toggle:before { content: "\f105"; } @@ -992,18 +992,6 @@ nav:not(.toggled) ul ul .dropdown-menu-toggle:before { text-align: right; } -/*-------------------------------------------------------------- -## Slideout Navigation (backward compatibility) ---------------------------------------------------------------*/ - -.slideout-navigation .dropdown-menu-toggle:before { - content: "\f107" !important; -} - -.slideout-navigation .sfHover > a .dropdown-menu-toggle:before { - content: "\f106" !important; -} - /*-------------------------------------------------------------- ## Post Navigation --------------------------------------------------------------*/ @@ -1988,21 +1976,9 @@ ol.comment-list { } /*-------------------------------------------------------------- -# Icons +# Font Icons --------------------------------------------------------------*/ -@font-face { - font-family: 'GeneratePress'; - src: url('fonts/generatepress.eot'); - src: url('fonts/generatepress.eot#iefix') format('embedded-opentype'), - url('fonts/generatepress.woff2') format('woff2'), - url('fonts/generatepress.woff') format('woff'), - url('fonts/generatepress.ttf') format('truetype'), - url('fonts/generatepress.svg#GeneratePress') format('svg'); - font-weight: normal; - font-style: normal; -} - .menu-toggle:before, .search-item a:before, .dropdown-menu-toggle:before, @@ -2029,6 +2005,67 @@ ol.comment-list { opacity: 0.7; } +/*-------------------------------------------------------------- +# SVG Icons +--------------------------------------------------------------*/ + +.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: 0.6em; + opacity: 0.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); +} + /*-------------------------------------------------------------- # Compatibility --------------------------------------------------------------*/ @@ -2061,12 +2098,3 @@ ol.comment-list { .container.grid-container { width: auto; } - -/* - * Backwards compatibility until Slideout is updated - * GP Premium 1.6 - */ -.main-navigation .slideout-toggle a:before, -.slide-opened .slideout-overlay .slideout-exit:before { - font-family: GeneratePress; -} From 784f30069251ca669cdd1cb5ea6761bee5b6aab2 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Wed, 3 Apr 2019 16:12:34 -0700 Subject: [PATCH 12/70] Add option to inline the logo and site branding --- css/mobile.min.css | 2 +- inc/customizer.php | 19 +++++++++++++++++++ inc/defaults.php | 1 + inc/structure/header.php | 26 ++++++++++++++++++++++++++ inc/theme-functions.php | 14 ++++++++++++++ style.css | 26 ++++++++++++++++++++++++++ 6 files changed, 87 insertions(+), 1 deletion(-) diff --git a/css/mobile.min.css b/css/mobile.min.css index 75a81fa6..d3f3d567 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}.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:hover>ul,.dropdown-hover .main-navigation.toggled ul li.sfHover>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{display:none!important}.main-navigation.toggled .dropdown-menu-toggle:before{content:"\f107"!important}.main-navigation.toggled .sfHover>a .dropdown-menu-toggle:before{content:"\f106"!important}.main-navigation.toggled .menu-item-has-children .dropdown-menu-toggle{float:right}.main-navigation.toggled .menu li.search-item{display:none!important}.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}.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}.site-header{text-align:center}.header-widget{float:none;max-width:100%;text-align:center}.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder){display:block}.main-navigation ul,.gen-sidebar-nav{display:none}[class*=nav-float-] .site-header .inside-header>*{float:none;clear:both}.sidebar,.content-area,.inside-footer-widgets>div{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-right.separate-containers .inside-left-sidebar,.both-left.separate-containers .inside-left-sidebar,.both-right.separate-containers .inside-right-sidebar,.both-left.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:0}.wp-block-columns .wp-block-column{-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-bottom:40px}.site-info{padding-left:10px;padding-right:10px}.site-info{text-align:center}.copyright-bar{float:none!important;text-align:center!important}.footer-bar{float:none!important;text-align:center!important;margin-bottom:20px}.footer-bar .widget_nav_menu li{float:none;display:inline-block;padding:5px 0}.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}.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%}.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder){display:block}.gen-sidebar-nav,.main-navigation ul{display:none}[class*=nav-float-] .site-header .inside-header>*{float:none;clear:both}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:0}.wp-block-columns .wp-block-column{-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-bottom:40px}.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/inc/customizer.php b/inc/customizer.php index 7e3a8da9..da904935 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -198,6 +198,25 @@ function generate_customize_register( $wp_customize ) { ) ); + $wp_customize->add_setting( + 'generate_settings[inline_logo_site_branding]', + array( + 'default' => $defaults['inline_logo_site_branding'], + 'type' => 'option', + 'sanitize_callback' => 'generate_sanitize_checkbox', + ) + ); + + $wp_customize->add_control( + 'generate_settings[inline_logo_site_branding]', + array( + 'type' => 'checkbox', + 'label' => esc_html__( 'Place logo next to title', 'generatepress' ), + 'section' => 'title_tagline', + 'active_callback' => 'generate_has_logo_site_branding', + ) + ); + $wp_customize->add_section( 'body_section', array( diff --git a/inc/defaults.php b/inc/defaults.php index 18c5c3a4..a04d28bf 100644 --- a/inc/defaults.php +++ b/inc/defaults.php @@ -21,6 +21,7 @@ function generate_get_defaults() { 'hide_title' => '', 'hide_tagline' => '', 'logo' => '', + 'inline_logo_site_branding' => false, 'retina_logo' => '', 'logo_width' => '', 'top_bar_width' => 'full', diff --git a/inc/structure/header.php b/inc/structure/header.php index fba64f73..1396a506 100644 --- a/inc/structure/header.php +++ b/inc/structure/header.php @@ -196,6 +196,11 @@ function generate_construct_site_title() { // Site title and tagline. if ( false == $disable_title || false == $disable_tagline ) { + if ( generate_get_option( 'inline_logo_site_branding' ) && generate_has_logo_site_branding() ) { + echo '
    '; + generate_construct_logo(); + } + echo apply_filters( 'generate_site_branding_output', sprintf( // WPCS: XSS ok, sanitization ok. '
    %1$s @@ -204,10 +209,31 @@ function generate_construct_site_title() { ( ! $disable_title ) ? $site_title : '', ( ! $disable_tagline ) ? $site_tagline : '' ) ); + + if ( generate_get_option( 'inline_logo_site_branding' ) && generate_has_logo_site_branding() ) { + echo '
    '; + } } } } +add_filter( 'generate_header_items_order', 'generate_reorder_inline_site_branding' ); +/** + * Remove the logo from it's usual position. + * + * @since 2.3 + */ +function generate_reorder_inline_site_branding( $order ) { + if ( ! generate_get_option( 'inline_logo_site_branding' ) || ! generate_has_logo_site_branding() ) { + return $order; + } + + return array( + 'header-widget', + 'site-branding', + ); +} + if ( ! function_exists( 'generate_construct_header_widget' ) ) { /** * Build the header widget. diff --git a/inc/theme-functions.php b/inc/theme-functions.php index 5dc96566..1c38a272 100644 --- a/inc/theme-functions.php +++ b/inc/theme-functions.php @@ -207,6 +207,20 @@ function generate_get_navigation_location() { return apply_filters( 'generate_navigation_location', generate_get_option( 'nav_position_setting' ) ); } } + +/** + * Check if the logo and site branding are active. + * + * @since 2.3 + */ +function generate_has_logo_site_branding() { + if ( get_theme_mod( 'custom_logo' ) && ( ! generate_get_option( 'hide_title' ) || ! generate_get_option( 'hide_tagline' ) ) ) { + return true; + } + + return false; +} + /** * Create SVG icons. * diff --git a/style.css b/style.css index 17747204..0052a27e 100644 --- a/style.css +++ b/style.css @@ -1106,6 +1106,32 @@ nav:not(.toggled) ul ul .dropdown-menu-toggle:before { 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; +} + /*-------------------------------------------------------------- # Content --------------------------------------------------------------*/ From d8aec56426428dbefd733cd3e51b0b1a106cbd08 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Wed, 3 Apr 2019 16:12:42 -0700 Subject: [PATCH 13/70] Update style.min.css --- style.min.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.min.css b/style.min.css index 722bfaa9..04dc5e9f 100644 --- a/style.min.css +++ b/style.min.css @@ -1 +1 @@ -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 ul ul .dropdown-menu-toggle{-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}.dropdown-click .menu-item-has-children.sfHover>a .dropdown-menu-toggle:before{content:"\f106"}.dropdown-hover .sub-menu .dropdown-menu-toggle:before,.dropdown-hover .children .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 .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}.slideout-navigation .dropdown-menu-toggle:before{content:"\f107"!important}.slideout-navigation .sfHover>a .dropdown-menu-toggle:before{content:"\f106"!important}.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}.post{margin:0 0 2em}.posted-on .updated,.entry-header .cat-links:before,.entry-header .tags-links:before,.entry-header .comments-link:before{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 .site-main{margin:0}.one-container .inside-right-sidebar,.one-container .inside-left-sidebar{margin-top:0}.one-container .inside-article{padding:0 0 30px 0}.one-container.page .inside-article{padding-bottom: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}.right-sidebar.separate-containers .site-main{margin:20px 20px 20px 0}.left-sidebar.separate-containers .site-main{margin:20px 0 20px 20px}.both-sidebars.separate-containers .site-main{margin:20px}.both-right.separate-containers .site-main{margin:20px 20px 20px 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}.both-left.separate-containers .site-main{margin:20px 0 20px 20px}.separate-containers .site-main,.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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}@font-face{font-family:'GeneratePress';src:url(fonts/generatepress.eot);src:url(fonts/generatepress.eot#iefix) format('embedded-opentype'),url(fonts/generatepress.woff2) format('woff2'),url(fonts/generatepress.woff) format('woff'),url(fonts/generatepress.ttf) format('truetype'),url(fonts/generatepress.svg#GeneratePress) format('svg');font-weight:400;font-style:normal}.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}.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}.main-navigation .slideout-toggle a:before,.slide-opened .slideout-overlay .slideout-exit:before{font-family:GeneratePress} +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 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 .main-navigation: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{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 .site-main{margin:0}.one-container .inside-right-sidebar,.one-container .inside-left-sidebar{margin-top:0}.one-container .inside-article{padding:0 0 30px 0}.one-container.page .inside-article{padding-bottom: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}.right-sidebar.separate-containers .site-main{margin:20px 20px 20px 0}.left-sidebar.separate-containers .site-main{margin:20px 0 20px 20px}.both-sidebars.separate-containers .site-main{margin:20px}.both-right.separate-containers .site-main{margin:20px 20px 20px 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}.both-left.separate-containers .site-main{margin:20px 0 20px 20px}.separate-containers .site-main,.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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} From 29ad7f2ae59ddb727abc6cd8dcf6bd1364614baf Mon Sep 17 00:00:00 2001 From: tomusborne Date: Wed, 3 Apr 2019 16:13:15 -0700 Subject: [PATCH 14/70] Check for option existence --- inc/theme-functions.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/inc/theme-functions.php b/inc/theme-functions.php index 1c38a272..9693314b 100644 --- a/inc/theme-functions.php +++ b/inc/theme-functions.php @@ -18,9 +18,15 @@ * @return string The option value. */ function generate_get_option( $option ) { + $defaults = generate_get_defaults(); + + if ( ! isset( $defaults[ $option ] ) ) { + return; + } + $options = wp_parse_args( get_option( 'generate_settings', array() ), - generate_get_defaults() + $defaults ); return $options[ $option ]; From da303b1593ae0cf67fe9dda3654c50c0a17ffa4b Mon Sep 17 00:00:00 2001 From: tomusborne Date: Wed, 3 Apr 2019 16:42:01 -0700 Subject: [PATCH 15/70] Simplify separate container CSS --- inc/css-output.php | 20 ++------------------ style.css | 38 +++++++++----------------------------- style.min.css | 2 +- 3 files changed, 12 insertions(+), 48 deletions(-) diff --git a/inc/css-output.php b/inc/css-output.php index 42a8fbf5..5f90336b 100644 --- a/inc/css-output.php +++ b/inc/css-output.php @@ -530,17 +530,8 @@ function generate_spacing_css() { $css->set_selector( '.separate-containers .widget, .separate-containers .site-main > *, .separate-containers .page-header, .widget-area .main-navigation' ); $css->add_property( 'margin-bottom', absint( $spacing_settings['separator'] ), absint( $og_defaults['separator'] ), 'px' ); - $css->set_selector( '.right-sidebar.separate-containers .site-main' ); - $css->add_property( 'margin', generate_padding_css( $spacing_settings['separator'], $spacing_settings['separator'], $spacing_settings['separator'], '0' ), generate_padding_css( $og_defaults['separator'], $og_defaults['separator'], $og_defaults['separator'], '0' ) ); - - $css->set_selector( '.left-sidebar.separate-containers .site-main' ); - $css->add_property( 'margin', generate_padding_css( $spacing_settings['separator'], '0', $spacing_settings['separator'], $spacing_settings['separator'] ), generate_padding_css( $og_defaults['separator'], '0', $og_defaults['separator'], $og_defaults['separator'] ) ); - - $css->set_selector( '.both-sidebars.separate-containers .site-main' ); - $css->add_property( 'margin', absint( $spacing_settings['separator'] ), absint( $og_defaults['separator'] ), 'px' ); - - $css->set_selector( '.both-right.separate-containers .site-main' ); - $css->add_property( 'margin', generate_padding_css( $spacing_settings['separator'], $spacing_settings['separator'], $spacing_settings['separator'], '0' ), generate_padding_css( $og_defaults['separator'], $og_defaults['separator'], $og_defaults['separator'], '0' ) ); + $css->set_selector( '.separate-containers .site-main' ); + $css->add_property( 'margin', absint( $spacing_settings['separator'] ), $og_defaults['separator'], 'px' ); $css->set_selector( '.both-right.separate-containers .inside-left-sidebar' ); $css->add_property( 'margin-right', absint( $spacing_settings['separator'] / 2 ), absint( $og_defaults['separator'] / 2 ), 'px' ); @@ -548,19 +539,12 @@ function generate_spacing_css() { $css->set_selector( '.both-right.separate-containers .inside-right-sidebar' ); $css->add_property( 'margin-left', absint( $spacing_settings['separator'] / 2 ), absint( $og_defaults['separator'] / 2 ), 'px' ); - $css->set_selector( '.both-left.separate-containers .site-main' ); - $css->add_property( 'margin', generate_padding_css( $spacing_settings['separator'], '0', $spacing_settings['separator'], $spacing_settings['separator'] ), generate_padding_css( $og_defaults['separator'], '0', $og_defaults['separator'], $og_defaults['separator'] ) ); - $css->set_selector( '.both-left.separate-containers .inside-left-sidebar' ); $css->add_property( 'margin-right', absint( $spacing_settings['separator'] / 2 ), absint( $og_defaults['separator'] / 2 ), 'px' ); $css->set_selector( '.both-left.separate-containers .inside-right-sidebar' ); $css->add_property( 'margin-left', absint( $spacing_settings['separator'] / 2 ), absint( $og_defaults['separator'] / 2 ), 'px' ); - $css->set_selector( '.separate-containers .site-main' ); - $css->add_property( 'margin-top', absint( $spacing_settings['separator'] ), absint( $og_defaults['separator'] ), 'px' ); - $css->add_property( 'margin-bottom', absint( $spacing_settings['separator'] ), absint( $og_defaults['separator'] ), 'px' ); - $css->set_selector( '.separate-containers .page-header-image, .separate-containers .page-header-contained, .separate-containers .page-header-image-single, .separate-containers .page-header-content-single' ); $css->add_property( 'margin-top', absint( $spacing_settings['separator'] ), absint( $og_defaults['separator'] ), 'px' ); diff --git a/style.css b/style.css index 0052a27e..e66ae5b1 100644 --- a/style.css +++ b/style.css @@ -1636,23 +1636,10 @@ ol.comment-list { margin-bottom: 0; } -.one-container .site-main { - margin: 0; -} - -.one-container .inside-right-sidebar, -.one-container .inside-left-sidebar { - margin-top: 0; -} - -.one-container .inside-article { +.one-container:not(.page) .inside-article { padding: 0 0 30px 0; } -.one-container.page .inside-article { - padding-bottom: 0; -} - .one-container.right-sidebar .site-main, .one-container.both-right .site-main { margin-right: 40px; @@ -1687,20 +1674,18 @@ ol.comment-list { margin-bottom: 20px; } -.right-sidebar.separate-containers .site-main { - margin: 20px 20px 20px 0px; -} - -.left-sidebar.separate-containers .site-main { - margin: 20px 0px 20px 20px; -} - -.both-sidebars.separate-containers .site-main { +.separate-containers .site-main { margin: 20px; } +.right-sidebar.separate-containers .site-main, .both-right.separate-containers .site-main { - margin: 20px 20px 20px 0px; + 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, @@ -1713,11 +1698,6 @@ ol.comment-list { margin-left: 10px; } -.both-left.separate-containers .site-main { - margin: 20px 0px 20px 20px; -} - -.separate-containers .site-main, .separate-containers .inside-right-sidebar, .separate-containers .inside-left-sidebar { margin-top: 20px; diff --git a/style.min.css b/style.min.css index 04dc5e9f..366d1a45 100644 --- a/style.min.css +++ b/style.min.css @@ -1 +1 @@ -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 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 .main-navigation: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{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 .site-main{margin:0}.one-container .inside-right-sidebar,.one-container .inside-left-sidebar{margin-top:0}.one-container .inside-article{padding:0 0 30px 0}.one-container.page .inside-article{padding-bottom: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}.right-sidebar.separate-containers .site-main{margin:20px 20px 20px 0}.left-sidebar.separate-containers .site-main{margin:20px 0 20px 20px}.both-sidebars.separate-containers .site-main{margin:20px}.both-right.separate-containers .site-main{margin:20px 20px 20px 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}.both-left.separate-containers .site-main{margin:20px 0 20px 20px}.separate-containers .site-main,.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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} +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 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 .main-navigation: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{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}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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} From 64dadf9eae98fa50cd3c3d4125b0d16ed070bcf9 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Wed, 3 Apr 2019 17:45:32 -0700 Subject: [PATCH 16/70] Fix secondary nav dropdown arrow direction --- style.css | 2 +- style.min.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index a87a347a..3a1b8cbb 100644 --- a/style.css +++ b/style.css @@ -891,7 +891,7 @@ nav:not(.toggled) ul ul .dropdown-menu-toggle:before { content: "\f106"; } -.dropdown-hover .main-navigation:not(.toggled) ul ul .dropdown-menu-toggle:before { +.dropdown-hover nav:not(.toggled) ul ul .dropdown-menu-toggle:before { content: "\f105"; } diff --git a/style.min.css b/style.min.css index 366d1a45..b95e5779 100644 --- a/style.min.css +++ b/style.min.css @@ -1 +1 @@ -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 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 .main-navigation: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{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}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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} +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 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{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}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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} From 9bd9080e2dcc2ec29d5c46df80258130c8579598 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Wed, 3 Apr 2019 17:45:45 -0700 Subject: [PATCH 17/70] Better check for slideout nav back compat --- inc/css-output.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/css-output.php b/inc/css-output.php index be282408..d0526631 100644 --- a/inc/css-output.php +++ b/inc/css-output.php @@ -736,7 +736,7 @@ function generate_do_icon_font_css() { font-style: normal; }'; - if ( function_exists( 'generate_menu_plus_setup' ) ) { + if ( defined( 'GENERATE_MENU_PLUS_VERSION' ) ) { $output .= '.main-navigation .slideout-toggle a:before, .slide-opened .slideout-overlay .slideout-exit:before { font-family: GeneratePress; From 3a33417bdbd3b1553a42731c73f2f0f0e69cc83d Mon Sep 17 00:00:00 2001 From: tomusborne Date: Thu, 4 Apr 2019 16:27:04 -0700 Subject: [PATCH 18/70] Use generate_do_icon_css() function name --- inc/css-output.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/css-output.php b/inc/css-output.php index d0526631..9c4607b7 100644 --- a/inc/css-output.php +++ b/inc/css-output.php @@ -664,7 +664,7 @@ function generate_no_cache_dynamic_css() { */ function generate_enqueue_dynamic_css() { if ( ! get_option( 'generate_dynamic_css_output', false ) || is_customize_preview() || apply_filters( 'generate_dynamic_css_skip_cache', false ) ) { - $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css() . generate_do_icon_font_css(); + $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css() . generate_do_icon_css(); } else { $css = get_option( 'generate_dynamic_css_output' ) . '/* End cached CSS */'; } @@ -691,7 +691,7 @@ function generate_set_dynamic_css_cache() { $cached_version = get_option( 'generate_dynamic_css_cached_version', '' ); if ( ! $cached_css || $cached_version !== GENERATE_VERSION ) { - $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css() . generate_do_icon_font_css(); + $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css() . generate_do_icon_css(); update_option( 'generate_dynamic_css_output', $css ); update_option( 'generate_dynamic_css_cached_version', GENERATE_VERSION ); @@ -709,7 +709,7 @@ function generate_update_dynamic_css_cache() { return; } - $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css() . generate_do_icon_font_css(); + $css = generate_base_css() . generate_font_css() . generate_advanced_css() . generate_spacing_css() . generate_do_icon_css(); update_option( 'generate_dynamic_css_output', $css ); } @@ -718,7 +718,7 @@ function generate_update_dynamic_css_cache() { * * @since 2.3 */ -function generate_do_icon_font_css() { +function generate_do_icon_css() { $output = false; if ( 'font' === generate_get_option( 'icons' ) ) { From 061767303864bdbe12d76ca02e496132f0a318c6 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Thu, 4 Apr 2019 16:27:22 -0700 Subject: [PATCH 19/70] Fix pseudo arrow direction when sub-menu opening to the left --- style.css | 2 +- style.min.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 3a1b8cbb..03fdf83b 100644 --- a/style.css +++ b/style.css @@ -882,7 +882,7 @@ nav:not(.toggled) ul ul .dropdown-menu-toggle:before { text-align: right; } -.dropdown-hover .sub-menu-left ul ul .dropdown-menu-toggle:before { +.dropdown-hover .sub-menu-left:not(.toggled) ul ul .dropdown-menu-toggle:before { -webkit-transform: rotate(180deg); transform: rotate(180deg); } diff --git a/style.min.css b/style.min.css index b95e5779..84edaf9b 100644 --- a/style.min.css +++ b/style.min.css @@ -1 +1 @@ -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 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{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}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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} +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{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}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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} From 2089036545465abb89f6011ac16206c47fa0f932 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Thu, 4 Apr 2019 16:44:26 -0700 Subject: [PATCH 20/70] Add combine CSS option --- css/all.min.css | 1 + css/mobile.css | 6 ++++++ css/mobile.min.css | 2 +- inc/customizer.php | 19 +++++++++++++++++++ inc/defaults.php | 1 + inc/general.php | 10 +++++++--- 6 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 css/all.min.css diff --git a/css/all.min.css b/css/all.min.css new file mode 100644 index 00000000..d0908111 --- /dev/null +++ b/css/all.min.css @@ -0,0 +1 @@ +.clear,.clearfix:after,.grid-100:after,.grid-10: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-5: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}@-ms-viewport{width:auto}.clear{display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after,.clearfix:before,.grid-100:after,.grid-100:before,.grid-10:after,.grid-10: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-5:after,.grid-5: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-90:after,.grid-90:before,.grid-95:after,.grid-95: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}.grid-container{margin-left:auto;margin-right:auto;max-width:1200px;padding-left:10px;padding-right:10px}.grid-10,.grid-100,.grid-15,.grid-20,.grid-25,.grid-30,.grid-33,.grid-35,.grid-40,.grid-45,.grid-5,.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){[class*=mobile-push-],[class*=mobile-pull-]{position:relative}.hide-on-mobile{display:none!important}.mobile-grid-5{float:left;width:5%}.mobile-prefix-5{margin-left:5%}.mobile-suffix-5{margin-right:5%}.mobile-push-5{left:5%}.mobile-pull-5{left:-5%}.mobile-grid-10{float:left;width:10%}.mobile-prefix-10{margin-left:10%}.mobile-suffix-10{margin-right:10%}.mobile-push-10{left:10%}.mobile-pull-10{left:-10%}.mobile-grid-15{float:left;width:15%}.mobile-prefix-15{margin-left:15%}.mobile-suffix-15{margin-right:15%}.mobile-push-15{left:15%}.mobile-pull-15{left:-15%}.mobile-grid-20{float:left;width:20%}.mobile-prefix-20{margin-left:20%}.mobile-suffix-20{margin-right:20%}.mobile-push-20{left:20%}.mobile-pull-20{left:-20%}.mobile-grid-25{float:left;width:25%}.mobile-prefix-25{margin-left:25%}.mobile-suffix-25{margin-right:25%}.mobile-push-25{left:25%}.mobile-pull-25{left:-25%}.mobile-grid-30{float:left;width:30%}.mobile-prefix-30{margin-left:30%}.mobile-suffix-30{margin-right:30%}.mobile-push-30{left:30%}.mobile-pull-30{left:-30%}.mobile-grid-35{float:left;width:35%}.mobile-prefix-35{margin-left:35%}.mobile-suffix-35{margin-right:35%}.mobile-push-35{left:35%}.mobile-pull-35{left:-35%}.mobile-grid-40{float:left;width:40%}.mobile-prefix-40{margin-left:40%}.mobile-suffix-40{margin-right:40%}.mobile-push-40{left:40%}.mobile-pull-40{left:-40%}.mobile-grid-45{float:left;width:45%}.mobile-prefix-45{margin-left:45%}.mobile-suffix-45{margin-right:45%}.mobile-push-45{left:45%}.mobile-pull-45{left:-45%}.mobile-grid-50{float:left;width:50%}.mobile-prefix-50{margin-left:50%}.mobile-suffix-50{margin-right:50%}.mobile-push-50{left:50%}.mobile-pull-50{left:-50%}.mobile-grid-55{float:left;width:55%}.mobile-prefix-55{margin-left:55%}.mobile-suffix-55{margin-right:55%}.mobile-push-55{left:55%}.mobile-pull-55{left:-55%}.mobile-grid-60{float:left;width:60%}.mobile-prefix-60{margin-left:60%}.mobile-suffix-60{margin-right:60%}.mobile-push-60{left:60%}.mobile-pull-60{left:-60%}.mobile-grid-65{float:left;width:65%}.mobile-prefix-65{margin-left:65%}.mobile-suffix-65{margin-right:65%}.mobile-push-65{left:65%}.mobile-pull-65{left:-65%}.mobile-grid-70{float:left;width:70%}.mobile-prefix-70{margin-left:70%}.mobile-suffix-70{margin-right:70%}.mobile-push-70{left:70%}.mobile-pull-70{left:-70%}.mobile-grid-75{float:left;width:75%}.mobile-prefix-75{margin-left:75%}.mobile-suffix-75{margin-right:75%}.mobile-push-75{left:75%}.mobile-pull-75{left:-75%}.mobile-grid-80{float:left;width:80%}.mobile-prefix-80{margin-left:80%}.mobile-suffix-80{margin-right:80%}.mobile-push-80{left:80%}.mobile-pull-80{left:-80%}.mobile-grid-85{float:left;width:85%}.mobile-prefix-85{margin-left:85%}.mobile-suffix-85{margin-right:85%}.mobile-push-85{left:85%}.mobile-pull-85{left:-85%}.mobile-grid-90{float:left;width:90%}.mobile-prefix-90{margin-left:90%}.mobile-suffix-90{margin-right:90%}.mobile-push-90{left:90%}.mobile-pull-90{left:-90%}.mobile-grid-95{float:left;width:95%}.mobile-prefix-95{margin-left:95%}.mobile-suffix-95{margin-right:95%}.mobile-push-95{left:95%}.mobile-pull-95{left:-95%}.mobile-grid-33{float:left;width:33.33333%}.mobile-prefix-33{margin-left:33.33333%}.mobile-suffix-33{margin-right:33.33333%}.mobile-push-33{left:33.33333%}.mobile-pull-33{left:-33.33333%}.mobile-grid-66{float:left;width:66.66667%}.mobile-prefix-66{margin-left:66.66667%}.mobile-suffix-66{margin-right:66.66667%}.mobile-push-66{left:66.66667%}.mobile-pull-66{left:-66.66667%}.mobile-grid-100{clear:both;width:100%}}@media (min-width:768px) and (max-width:1024px){[class*=tablet-push-],[class*=tablet-pull-]{position:relative}.hide-on-tablet{display:none!important}.tablet-grid-5{float:left;width:5%}.tablet-prefix-5{margin-left:5%}.tablet-suffix-5{margin-right:5%}.tablet-push-5{left:5%}.tablet-pull-5{left:-5%}.tablet-grid-10{float:left;width:10%}.tablet-prefix-10{margin-left:10%}.tablet-suffix-10{margin-right:10%}.tablet-push-10{left:10%}.tablet-pull-10{left:-10%}.tablet-grid-15{float:left;width:15%}.tablet-prefix-15{margin-left:15%}.tablet-suffix-15{margin-right:15%}.tablet-push-15{left:15%}.tablet-pull-15{left:-15%}.tablet-grid-20{float:left;width:20%}.tablet-prefix-20{margin-left:20%}.tablet-suffix-20{margin-right:20%}.tablet-push-20{left:20%}.tablet-pull-20{left:-20%}.tablet-grid-25{float:left;width:25%}.tablet-prefix-25{margin-left:25%}.tablet-suffix-25{margin-right:25%}.tablet-push-25{left:25%}.tablet-pull-25{left:-25%}.tablet-grid-30{float:left;width:30%}.tablet-prefix-30{margin-left:30%}.tablet-suffix-30{margin-right:30%}.tablet-push-30{left:30%}.tablet-pull-30{left:-30%}.tablet-grid-35{float:left;width:35%}.tablet-prefix-35{margin-left:35%}.tablet-suffix-35{margin-right:35%}.tablet-push-35{left:35%}.tablet-pull-35{left:-35%}.tablet-grid-40{float:left;width:40%}.tablet-prefix-40{margin-left:40%}.tablet-suffix-40{margin-right:40%}.tablet-push-40{left:40%}.tablet-pull-40{left:-40%}.tablet-grid-45{float:left;width:45%}.tablet-prefix-45{margin-left:45%}.tablet-suffix-45{margin-right:45%}.tablet-push-45{left:45%}.tablet-pull-45{left:-45%}.tablet-grid-50{float:left;width:50%}.tablet-prefix-50{margin-left:50%}.tablet-suffix-50{margin-right:50%}.tablet-push-50{left:50%}.tablet-pull-50{left:-50%}.tablet-grid-55{float:left;width:55%}.tablet-prefix-55{margin-left:55%}.tablet-suffix-55{margin-right:55%}.tablet-push-55{left:55%}.tablet-pull-55{left:-55%}.tablet-grid-60{float:left;width:60%}.tablet-prefix-60{margin-left:60%}.tablet-suffix-60{margin-right:60%}.tablet-push-60{left:60%}.tablet-pull-60{left:-60%}.tablet-grid-65{float:left;width:65%}.tablet-prefix-65{margin-left:65%}.tablet-suffix-65{margin-right:65%}.tablet-push-65{left:65%}.tablet-pull-65{left:-65%}.tablet-grid-70{float:left;width:70%}.tablet-prefix-70{margin-left:70%}.tablet-suffix-70{margin-right:70%}.tablet-push-70{left:70%}.tablet-pull-70{left:-70%}.tablet-grid-75{float:left;width:75%}.tablet-prefix-75{margin-left:75%}.tablet-suffix-75{margin-right:75%}.tablet-push-75{left:75%}.tablet-pull-75{left:-75%}.tablet-grid-80{float:left;width:80%}.tablet-prefix-80{margin-left:80%}.tablet-suffix-80{margin-right:80%}.tablet-push-80{left:80%}.tablet-pull-80{left:-80%}.tablet-grid-85{float:left;width:85%}.tablet-prefix-85{margin-left:85%}.tablet-suffix-85{margin-right:85%}.tablet-push-85{left:85%}.tablet-pull-85{left:-85%}.tablet-grid-90{float:left;width:90%}.tablet-prefix-90{margin-left:90%}.tablet-suffix-90{margin-right:90%}.tablet-push-90{left:90%}.tablet-pull-90{left:-90%}.tablet-grid-95{float:left;width:95%}.tablet-prefix-95{margin-left:95%}.tablet-suffix-95{margin-right:95%}.tablet-push-95{left:95%}.tablet-pull-95{left:-95%}.tablet-grid-33{float:left;width:33.33333%}.tablet-prefix-33{margin-left:33.33333%}.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-prefix-66{margin-left:66.66667%}.tablet-suffix-66{margin-right: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){.grid-10,.grid-15,.grid-20,.grid-25,.grid-30,.grid-33,.grid-35,.grid-40,.grid-45,.grid-5,.grid-50,.grid-60,.grid-65,.grid-66,.grid-70,.grid-75,.grid-80,.grid-85,.grid-90,.grid-95{float:left}.pull-10,.pull-15,.pull-20,.pull-25,.pull-30,.pull-33,.pull-35,.pull-40,.pull-45,.pull-5,.pull-50,.pull-55,.pull-60,.pull-65,.pull-66,.pull-70,.pull-75,.pull-80,.pull-85,.pull-90,.pull-95,.push-10,.push-15,.push-20,.push-25,.push-30,.push-33,.push-35,.push-40,.push-45,.push-5,.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-5{width:5%}.prefix-5{margin-left:5%}.suffix-5{margin-right:5%}.push-5{left:5%}.pull-5{left:-5%}.grid-10{width:10%}.prefix-10{margin-left:10%}.suffix-10{margin-right:10%}.push-10{left:10%}.pull-10{left:-10%}.grid-15{width:15%}.prefix-15{margin-left:15%}.suffix-15{margin-right:15%}.push-15{left:15%}.pull-15{left:-15%}.grid-20{width:20%}.prefix-20{margin-left:20%}.suffix-20{margin-right:20%}.push-20{left:20%}.pull-20{left:-20%}.grid-25{width:25%}.prefix-25{margin-left:25%}.suffix-25{margin-right:25%}.push-25{left:25%}.pull-25{left:-25%}.grid-30{width:30%}.prefix-30{margin-left:30%}.suffix-30{margin-right:30%}.push-30{left:30%}.pull-30{left:-30%}.grid-35{width:35%}.prefix-35{margin-left:35%}.suffix-35{margin-right:35%}.push-35{left:35%}.pull-35{left:-35%}.grid-40{width:40%}.prefix-40{margin-left:40%}.suffix-40{margin-right:40%}.push-40{left:40%}.pull-40{left:-40%}.grid-45{width:45%}.prefix-45{margin-left:45%}.suffix-45{margin-right:45%}.push-45{left:45%}.pull-45{left:-45%}.grid-50{width:50%}.prefix-50{margin-left:50%}.suffix-50{margin-right:50%}.push-50{left:50%}.pull-50{left:-50%}.grid-55{float:left;width:55%}.prefix-55{margin-left:55%}.suffix-55{margin-right:55%}.push-55{left:55%}.pull-55{left:-55%}.grid-60{width:60%}.prefix-60{margin-left:60%}.suffix-60{margin-right:60%}.push-60{left:60%}.pull-60{left:-60%}.grid-65{width:65%}.prefix-65{margin-left:65%}.suffix-65{margin-right:65%}.push-65{left:65%}.pull-65{left:-65%}.grid-70{width:70%}.prefix-70{margin-left:70%}.suffix-70{margin-right:70%}.push-70{left:70%}.pull-70{left:-70%}.grid-75{width:75%}.prefix-75{margin-left:75%}.suffix-75{margin-right:75%}.push-75{left:75%}.pull-75{left:-75%}.grid-80{width:80%}.prefix-80{margin-left:80%}.suffix-80{margin-right:80%}.push-80{left:80%}.pull-80{left:-80%}.grid-85{width:85%}.prefix-85{margin-left:85%}.suffix-85{margin-right:85%}.push-85{left:85%}.pull-85{left:-85%}.grid-90{width:90%}.prefix-90{margin-left:90%}.suffix-90{margin-right:90%}.push-90{left:90%}.pull-90{left:-90%}.grid-95{width:95%}.prefix-95{margin-left:95%}.suffix-95{margin-right:95%}.push-95{left:95%}.pull-95{left:-95%}.grid-33{width:33.33333%}.prefix-33{margin-left:33.33333%}.suffix-33{margin-right:33.33333%}.push-33{left:33.33333%}.pull-33{left:-33.33333%}.grid-66{width:66.66667%}.prefix-66{margin-left:66.66667%}.suffix-66{margin-right: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{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}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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%}.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder){display:block}.gen-sidebar-nav,.main-navigation ul{display:none}[class*=nav-float-] .site-header .inside-header>*{float:none;clear:both}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:0}.wp-block-columns .wp-block-column{-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-bottom:40px}.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 1e0a9ee3..08feb179 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -23,6 +23,12 @@ button.menu-toggle { text-align: center; } +button.menu-toggle:hover, +button.menu-toggle:active, +button.menu-toggle:focus { + background-color: transparent; +} + .menu-toggle:before { content: "\f0c9"; font-family: GeneratePress; diff --git a/css/mobile.min.css b/css/mobile.min.css index d3f3d567..5bdf0664 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}.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%}.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder){display:block}.gen-sidebar-nav,.main-navigation ul{display:none}[class*=nav-float-] .site-header .inside-header>*{float:none;clear:both}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:0}.wp-block-columns .wp-block-column{-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-bottom:40px}.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 .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%}.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder){display:block}.gen-sidebar-nav,.main-navigation ul{display:none}[class*=nav-float-] .site-header .inside-header>*{float:none;clear:both}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:0}.wp-block-columns .wp-block-column{-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-bottom:40px}.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/inc/customizer.php b/inc/customizer.php index da904935..f563b8e6 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -1380,6 +1380,25 @@ function generate_customize_register( $wp_customize ) { ) ); + $wp_customize->add_setting( + 'generate_settings[combine_css]', + array( + 'default' => $defaults['combine_css'], + 'type' => 'option', + 'sanitize_callback' => 'generate_sanitize_checkbox', + ) + ); + + $wp_customize->add_control( + 'generate_settings[combine_css]', + array( + 'type' => 'checkbox', + 'label' => __( 'Combine CSS', 'generatepress' ), + 'description' => __( 'Reduce the number of CSS file requests.', 'generatepress' ), + 'section' => 'generate_general_section', + ) + ); + $wp_customize->add_setting( 'generate_settings[dynamic_css_cache]', array( diff --git a/inc/defaults.php b/inc/defaults.php index a04d28bf..3d243398 100644 --- a/inc/defaults.php +++ b/inc/defaults.php @@ -56,6 +56,7 @@ function generate_get_defaults() { 'link_color_visited' => '', 'font_awesome_essentials' => true, 'icons' => 'font', + 'combine_css' => true, 'dynamic_css_cache' => true, ) ); diff --git a/inc/general.php b/inc/general.php index 65938ef8..ae73ed04 100644 --- a/inc/general.php +++ b/inc/general.php @@ -18,9 +18,13 @@ function generate_scripts() { $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; $dir_uri = get_template_directory_uri(); - wp_enqueue_style( 'generate-style-grid', $dir_uri . "/css/unsemantic-grid{$suffix}.css", false, GENERATE_VERSION, 'all' ); - wp_enqueue_style( 'generate-style', $dir_uri . "/style{$suffix}.css", array( 'generate-style-grid' ), GENERATE_VERSION, 'all' ); - wp_enqueue_style( 'generate-mobile-style', $dir_uri . "/css/mobile{$suffix}.css", array( 'generate-style' ), GENERATE_VERSION, 'all' ); + if ( generate_get_option( 'combine_css' ) ) { + wp_enqueue_style( 'generate-style', $dir_uri . "/css/all.min.css", array(), GENERATE_VERSION, 'all' ); + } else { + wp_enqueue_style( 'generate-style-grid', $dir_uri . "/css/unsemantic-grid{$suffix}.css", false, GENERATE_VERSION, 'all' ); + wp_enqueue_style( 'generate-style', $dir_uri . "/style{$suffix}.css", array(), GENERATE_VERSION, 'all' ); + wp_enqueue_style( 'generate-mobile-style', $dir_uri . "/css/mobile{$suffix}.css", array( 'generate-style' ), GENERATE_VERSION, 'all' ); + } if ( is_child_theme() ) { wp_enqueue_style( 'generate-child', get_stylesheet_uri(), array( 'generate-style' ), filemtime( get_stylesheet_directory() . '/style.css' ), 'all' ); From 4e521812694342b8f1d1a7a7af68ae182d540a44 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Thu, 4 Apr 2019 17:34:11 -0700 Subject: [PATCH 21/70] Add generate_after_primary_menu hook --- inc/structure/navigation.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/inc/structure/navigation.php b/inc/structure/navigation.php index b5ff23e9..b6cac22e 100644 --- a/inc/structure/navigation.php +++ b/inc/structure/navigation.php @@ -55,6 +55,13 @@ function generate_navigation_position() { 'items_wrap' => '
      %3$s
    ', ) ); + + /** + * generate_after_primary_menu hook. + * + * @since 2.3 + */ + do_action( 'generate_after_primary_menu' ); ?>
    From 675f75c460fadabcbb24a210ee01e9cb8f851e3b Mon Sep 17 00:00:00 2001 From: tomusborne Date: Fri, 5 Apr 2019 15:24:51 -0700 Subject: [PATCH 22/70] Make navLinks a11y selector more specific --- js/a11y.js | 2 +- js/a11y.min.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/a11y.js b/js/a11y.js index 2335147e..b3b5ac2a 100644 --- a/js/a11y.js +++ b/js/a11y.js @@ -50,7 +50,7 @@ 'use strict'; if ( 'querySelector' in document && 'addEventListener' in window && document.body.classList.contains( 'dropdown-hover' ) ) { - var navLinks = document.querySelectorAll( 'nav ul a' ), + var navLinks = document.querySelectorAll( 'nav .main-nav ul a' ), parentElements = document.querySelectorAll( '.sf-menu .menu-item-has-children' ); /** diff --git a/js/a11y.min.js b/js/a11y.min.js index 07e630ad..b943bd7f 100644 --- a/js/a11y.min.js +++ b/js/a11y.min.js @@ -1 +1 @@ -/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var e,t=location.hash.substring(1);/^[A-z0-9_-]+$/.test(t)&&(e=document.getElementById(t))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())},!1),function(){"use strict";if("querySelector"in document&&"addEventListener"in window){var e=document.body;e.addEventListener("mousedown",function(){e.classList.add("using-mouse")}),e.addEventListener("keydown",function(){e.classList.remove("using-mouse")})}}(),function(){"use strict";if("querySelector"in document&&"addEventListener"in window&&document.body.classList.contains("dropdown-hover"))for(var e=document.querySelectorAll("nav ul a"),n=document.querySelectorAll(".sf-menu .menu-item-has-children"),t=function(){if(!this.closest("nav").classList.contains("toggled")&&!this.closest("nav").classList.contains("slideout-navigation"))for(var e=this;-1===e.className.indexOf("main-nav");)"li"===e.tagName.toLowerCase()&&(-1!==e.className.indexOf("sfHover")?e.className=e.className.replace(" sfHover",""):e.className+=" sfHover"),e=e.parentElement},o=0;o Date: Fri, 5 Apr 2019 15:26:13 -0700 Subject: [PATCH 23/70] Only use all.min.css if SCRIPT_DEBUG isn't set --- inc/general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/general.php b/inc/general.php index ae73ed04..fbd55100 100644 --- a/inc/general.php +++ b/inc/general.php @@ -18,7 +18,7 @@ function generate_scripts() { $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; $dir_uri = get_template_directory_uri(); - if ( generate_get_option( 'combine_css' ) ) { + if ( generate_get_option( 'combine_css' ) && $suffix ) { wp_enqueue_style( 'generate-style', $dir_uri . "/css/all.min.css", array(), GENERATE_VERSION, 'all' ); } else { wp_enqueue_style( 'generate-style-grid', $dir_uri . "/css/unsemantic-grid{$suffix}.css", false, GENERATE_VERSION, 'all' ); From 8245a58a189ac98875d99a80fd292e3f6a8b5b4c Mon Sep 17 00:00:00 2001 From: tomusborne Date: Fri, 5 Apr 2019 15:30:31 -0700 Subject: [PATCH 24/70] Turn off combine CSS option on existing sites --- inc/migrate.php | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/inc/migrate.php b/inc/migrate.php index 918e883f..313c2d9a 100644 --- a/inc/migrate.php +++ b/inc/migrate.php @@ -9,14 +9,14 @@ exit; // Exit if accessed directly. } -add_action( 'admin_init', 'generate_do_db_updates' ); +add_action( 'admin_init', 'generate_do_admin_db_updates' ); /** * Process database updates if necessary. * There's nothing in here yet, but we're setting the version to use later. * * @since 2.1 */ -function generate_do_db_updates() { +function generate_do_admin_db_updates() { // Get the current version. $current_version = get_option( 'generate_db_version', false ); @@ -28,6 +28,29 @@ function generate_do_db_updates() { } } +add_action( 'init', 'generate_do_db_updates', 5 ); +/** + * Process important database updates when someone visits the front or backend. + * + * @since 2.3 + */ +function generate_do_db_updates() { + $flags = get_option( 'generate_migration_settings', array() ); + + // Process stuff on existing sites. + if ( ! isset( $flags['combine_css'] ) || 'true' !== $flags['combine_css'] ) { + if ( ! get_option( 'fresh_site' ) ) { + $settings = get_option( 'generate_settings', array() ); + + $settings['combine_css'] = false; + update_option( 'generate_settings', $settings ); + } + + $flags['combine_css'] = 'true'; + update_option( 'generate_migration_settings', $flags ); + } +} + if ( ! function_exists( 'generate_update_logo_setting' ) ) { add_action( 'admin_init', 'generate_update_logo_setting' ); /** From 7bd46ec19a97a74072f6b730e42b367bfec04a45 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Mon, 8 Apr 2019 13:27:47 -0700 Subject: [PATCH 25/70] Add lite version of Unsemantic Grid and use it in all.min.css --- css/all.min.css | 2 +- css/unsemantic-grid-lite.css | 567 +++++++++++++++++++++++++++++++ css/unsemantic-grid-lite.min.css | 1 + inc/customizer.php | 2 +- inc/general.php | 7 +- inc/migrate.php | 5 +- 6 files changed, 578 insertions(+), 6 deletions(-) create mode 100644 css/unsemantic-grid-lite.css create mode 100644 css/unsemantic-grid-lite.min.css diff --git a/css/all.min.css b/css/all.min.css index d0908111..fc26048d 100644 --- a/css/all.min.css +++ b/css/all.min.css @@ -1 +1 @@ -.clear,.clearfix:after,.grid-100:after,.grid-10: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-5: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}@-ms-viewport{width:auto}.clear{display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after,.clearfix:before,.grid-100:after,.grid-100:before,.grid-10:after,.grid-10: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-5:after,.grid-5: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-90:after,.grid-90:before,.grid-95:after,.grid-95: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}.grid-container{margin-left:auto;margin-right:auto;max-width:1200px;padding-left:10px;padding-right:10px}.grid-10,.grid-100,.grid-15,.grid-20,.grid-25,.grid-30,.grid-33,.grid-35,.grid-40,.grid-45,.grid-5,.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){[class*=mobile-push-],[class*=mobile-pull-]{position:relative}.hide-on-mobile{display:none!important}.mobile-grid-5{float:left;width:5%}.mobile-prefix-5{margin-left:5%}.mobile-suffix-5{margin-right:5%}.mobile-push-5{left:5%}.mobile-pull-5{left:-5%}.mobile-grid-10{float:left;width:10%}.mobile-prefix-10{margin-left:10%}.mobile-suffix-10{margin-right:10%}.mobile-push-10{left:10%}.mobile-pull-10{left:-10%}.mobile-grid-15{float:left;width:15%}.mobile-prefix-15{margin-left:15%}.mobile-suffix-15{margin-right:15%}.mobile-push-15{left:15%}.mobile-pull-15{left:-15%}.mobile-grid-20{float:left;width:20%}.mobile-prefix-20{margin-left:20%}.mobile-suffix-20{margin-right:20%}.mobile-push-20{left:20%}.mobile-pull-20{left:-20%}.mobile-grid-25{float:left;width:25%}.mobile-prefix-25{margin-left:25%}.mobile-suffix-25{margin-right:25%}.mobile-push-25{left:25%}.mobile-pull-25{left:-25%}.mobile-grid-30{float:left;width:30%}.mobile-prefix-30{margin-left:30%}.mobile-suffix-30{margin-right:30%}.mobile-push-30{left:30%}.mobile-pull-30{left:-30%}.mobile-grid-35{float:left;width:35%}.mobile-prefix-35{margin-left:35%}.mobile-suffix-35{margin-right:35%}.mobile-push-35{left:35%}.mobile-pull-35{left:-35%}.mobile-grid-40{float:left;width:40%}.mobile-prefix-40{margin-left:40%}.mobile-suffix-40{margin-right:40%}.mobile-push-40{left:40%}.mobile-pull-40{left:-40%}.mobile-grid-45{float:left;width:45%}.mobile-prefix-45{margin-left:45%}.mobile-suffix-45{margin-right:45%}.mobile-push-45{left:45%}.mobile-pull-45{left:-45%}.mobile-grid-50{float:left;width:50%}.mobile-prefix-50{margin-left:50%}.mobile-suffix-50{margin-right:50%}.mobile-push-50{left:50%}.mobile-pull-50{left:-50%}.mobile-grid-55{float:left;width:55%}.mobile-prefix-55{margin-left:55%}.mobile-suffix-55{margin-right:55%}.mobile-push-55{left:55%}.mobile-pull-55{left:-55%}.mobile-grid-60{float:left;width:60%}.mobile-prefix-60{margin-left:60%}.mobile-suffix-60{margin-right:60%}.mobile-push-60{left:60%}.mobile-pull-60{left:-60%}.mobile-grid-65{float:left;width:65%}.mobile-prefix-65{margin-left:65%}.mobile-suffix-65{margin-right:65%}.mobile-push-65{left:65%}.mobile-pull-65{left:-65%}.mobile-grid-70{float:left;width:70%}.mobile-prefix-70{margin-left:70%}.mobile-suffix-70{margin-right:70%}.mobile-push-70{left:70%}.mobile-pull-70{left:-70%}.mobile-grid-75{float:left;width:75%}.mobile-prefix-75{margin-left:75%}.mobile-suffix-75{margin-right:75%}.mobile-push-75{left:75%}.mobile-pull-75{left:-75%}.mobile-grid-80{float:left;width:80%}.mobile-prefix-80{margin-left:80%}.mobile-suffix-80{margin-right:80%}.mobile-push-80{left:80%}.mobile-pull-80{left:-80%}.mobile-grid-85{float:left;width:85%}.mobile-prefix-85{margin-left:85%}.mobile-suffix-85{margin-right:85%}.mobile-push-85{left:85%}.mobile-pull-85{left:-85%}.mobile-grid-90{float:left;width:90%}.mobile-prefix-90{margin-left:90%}.mobile-suffix-90{margin-right:90%}.mobile-push-90{left:90%}.mobile-pull-90{left:-90%}.mobile-grid-95{float:left;width:95%}.mobile-prefix-95{margin-left:95%}.mobile-suffix-95{margin-right:95%}.mobile-push-95{left:95%}.mobile-pull-95{left:-95%}.mobile-grid-33{float:left;width:33.33333%}.mobile-prefix-33{margin-left:33.33333%}.mobile-suffix-33{margin-right:33.33333%}.mobile-push-33{left:33.33333%}.mobile-pull-33{left:-33.33333%}.mobile-grid-66{float:left;width:66.66667%}.mobile-prefix-66{margin-left:66.66667%}.mobile-suffix-66{margin-right:66.66667%}.mobile-push-66{left:66.66667%}.mobile-pull-66{left:-66.66667%}.mobile-grid-100{clear:both;width:100%}}@media (min-width:768px) and (max-width:1024px){[class*=tablet-push-],[class*=tablet-pull-]{position:relative}.hide-on-tablet{display:none!important}.tablet-grid-5{float:left;width:5%}.tablet-prefix-5{margin-left:5%}.tablet-suffix-5{margin-right:5%}.tablet-push-5{left:5%}.tablet-pull-5{left:-5%}.tablet-grid-10{float:left;width:10%}.tablet-prefix-10{margin-left:10%}.tablet-suffix-10{margin-right:10%}.tablet-push-10{left:10%}.tablet-pull-10{left:-10%}.tablet-grid-15{float:left;width:15%}.tablet-prefix-15{margin-left:15%}.tablet-suffix-15{margin-right:15%}.tablet-push-15{left:15%}.tablet-pull-15{left:-15%}.tablet-grid-20{float:left;width:20%}.tablet-prefix-20{margin-left:20%}.tablet-suffix-20{margin-right:20%}.tablet-push-20{left:20%}.tablet-pull-20{left:-20%}.tablet-grid-25{float:left;width:25%}.tablet-prefix-25{margin-left:25%}.tablet-suffix-25{margin-right:25%}.tablet-push-25{left:25%}.tablet-pull-25{left:-25%}.tablet-grid-30{float:left;width:30%}.tablet-prefix-30{margin-left:30%}.tablet-suffix-30{margin-right:30%}.tablet-push-30{left:30%}.tablet-pull-30{left:-30%}.tablet-grid-35{float:left;width:35%}.tablet-prefix-35{margin-left:35%}.tablet-suffix-35{margin-right:35%}.tablet-push-35{left:35%}.tablet-pull-35{left:-35%}.tablet-grid-40{float:left;width:40%}.tablet-prefix-40{margin-left:40%}.tablet-suffix-40{margin-right:40%}.tablet-push-40{left:40%}.tablet-pull-40{left:-40%}.tablet-grid-45{float:left;width:45%}.tablet-prefix-45{margin-left:45%}.tablet-suffix-45{margin-right:45%}.tablet-push-45{left:45%}.tablet-pull-45{left:-45%}.tablet-grid-50{float:left;width:50%}.tablet-prefix-50{margin-left:50%}.tablet-suffix-50{margin-right:50%}.tablet-push-50{left:50%}.tablet-pull-50{left:-50%}.tablet-grid-55{float:left;width:55%}.tablet-prefix-55{margin-left:55%}.tablet-suffix-55{margin-right:55%}.tablet-push-55{left:55%}.tablet-pull-55{left:-55%}.tablet-grid-60{float:left;width:60%}.tablet-prefix-60{margin-left:60%}.tablet-suffix-60{margin-right:60%}.tablet-push-60{left:60%}.tablet-pull-60{left:-60%}.tablet-grid-65{float:left;width:65%}.tablet-prefix-65{margin-left:65%}.tablet-suffix-65{margin-right:65%}.tablet-push-65{left:65%}.tablet-pull-65{left:-65%}.tablet-grid-70{float:left;width:70%}.tablet-prefix-70{margin-left:70%}.tablet-suffix-70{margin-right:70%}.tablet-push-70{left:70%}.tablet-pull-70{left:-70%}.tablet-grid-75{float:left;width:75%}.tablet-prefix-75{margin-left:75%}.tablet-suffix-75{margin-right:75%}.tablet-push-75{left:75%}.tablet-pull-75{left:-75%}.tablet-grid-80{float:left;width:80%}.tablet-prefix-80{margin-left:80%}.tablet-suffix-80{margin-right:80%}.tablet-push-80{left:80%}.tablet-pull-80{left:-80%}.tablet-grid-85{float:left;width:85%}.tablet-prefix-85{margin-left:85%}.tablet-suffix-85{margin-right:85%}.tablet-push-85{left:85%}.tablet-pull-85{left:-85%}.tablet-grid-90{float:left;width:90%}.tablet-prefix-90{margin-left:90%}.tablet-suffix-90{margin-right:90%}.tablet-push-90{left:90%}.tablet-pull-90{left:-90%}.tablet-grid-95{float:left;width:95%}.tablet-prefix-95{margin-left:95%}.tablet-suffix-95{margin-right:95%}.tablet-push-95{left:95%}.tablet-pull-95{left:-95%}.tablet-grid-33{float:left;width:33.33333%}.tablet-prefix-33{margin-left:33.33333%}.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-prefix-66{margin-left:66.66667%}.tablet-suffix-66{margin-right: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){.grid-10,.grid-15,.grid-20,.grid-25,.grid-30,.grid-33,.grid-35,.grid-40,.grid-45,.grid-5,.grid-50,.grid-60,.grid-65,.grid-66,.grid-70,.grid-75,.grid-80,.grid-85,.grid-90,.grid-95{float:left}.pull-10,.pull-15,.pull-20,.pull-25,.pull-30,.pull-33,.pull-35,.pull-40,.pull-45,.pull-5,.pull-50,.pull-55,.pull-60,.pull-65,.pull-66,.pull-70,.pull-75,.pull-80,.pull-85,.pull-90,.pull-95,.push-10,.push-15,.push-20,.push-25,.push-30,.push-33,.push-35,.push-40,.push-45,.push-5,.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-5{width:5%}.prefix-5{margin-left:5%}.suffix-5{margin-right:5%}.push-5{left:5%}.pull-5{left:-5%}.grid-10{width:10%}.prefix-10{margin-left:10%}.suffix-10{margin-right:10%}.push-10{left:10%}.pull-10{left:-10%}.grid-15{width:15%}.prefix-15{margin-left:15%}.suffix-15{margin-right:15%}.push-15{left:15%}.pull-15{left:-15%}.grid-20{width:20%}.prefix-20{margin-left:20%}.suffix-20{margin-right:20%}.push-20{left:20%}.pull-20{left:-20%}.grid-25{width:25%}.prefix-25{margin-left:25%}.suffix-25{margin-right:25%}.push-25{left:25%}.pull-25{left:-25%}.grid-30{width:30%}.prefix-30{margin-left:30%}.suffix-30{margin-right:30%}.push-30{left:30%}.pull-30{left:-30%}.grid-35{width:35%}.prefix-35{margin-left:35%}.suffix-35{margin-right:35%}.push-35{left:35%}.pull-35{left:-35%}.grid-40{width:40%}.prefix-40{margin-left:40%}.suffix-40{margin-right:40%}.push-40{left:40%}.pull-40{left:-40%}.grid-45{width:45%}.prefix-45{margin-left:45%}.suffix-45{margin-right:45%}.push-45{left:45%}.pull-45{left:-45%}.grid-50{width:50%}.prefix-50{margin-left:50%}.suffix-50{margin-right:50%}.push-50{left:50%}.pull-50{left:-50%}.grid-55{float:left;width:55%}.prefix-55{margin-left:55%}.suffix-55{margin-right:55%}.push-55{left:55%}.pull-55{left:-55%}.grid-60{width:60%}.prefix-60{margin-left:60%}.suffix-60{margin-right:60%}.push-60{left:60%}.pull-60{left:-60%}.grid-65{width:65%}.prefix-65{margin-left:65%}.suffix-65{margin-right:65%}.push-65{left:65%}.pull-65{left:-65%}.grid-70{width:70%}.prefix-70{margin-left:70%}.suffix-70{margin-right:70%}.push-70{left:70%}.pull-70{left:-70%}.grid-75{width:75%}.prefix-75{margin-left:75%}.suffix-75{margin-right:75%}.push-75{left:75%}.pull-75{left:-75%}.grid-80{width:80%}.prefix-80{margin-left:80%}.suffix-80{margin-right:80%}.push-80{left:80%}.pull-80{left:-80%}.grid-85{width:85%}.prefix-85{margin-left:85%}.suffix-85{margin-right:85%}.push-85{left:85%}.pull-85{left:-85%}.grid-90{width:90%}.prefix-90{margin-left:90%}.suffix-90{margin-right:90%}.push-90{left:90%}.pull-90{left:-90%}.grid-95{width:95%}.prefix-95{margin-left:95%}.suffix-95{margin-right:95%}.push-95{left:95%}.pull-95{left:-95%}.grid-33{width:33.33333%}.prefix-33{margin-left:33.33333%}.suffix-33{margin-right:33.33333%}.push-33{left:33.33333%}.pull-33{left:-33.33333%}.grid-66{width:66.66667%}.prefix-66{margin-left:66.66667%}.suffix-66{margin-right: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{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}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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%}.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder){display:block}.gen-sidebar-nav,.main-navigation ul{display:none}[class*=nav-float-] .site-header .inside-header>*{float:none;clear:both}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:0}.wp-block-columns .wp-block-column{-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-bottom:40px}.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-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%}}a,abbr,acronym,applet,big,body,cite,code,del,dfn,div,dl,dt,em,font,form,html,iframe,ins,kbd,label,legend,li,object,q,s,samp,small,span,strike,strong,sub,sup,tbody,tfoot,thead,tr,tt,var{border:0;margin:0;padding:0}address,dd,h1,h2,h3,h4,h5,h6,ol,p,table,ul{border:0;padding:0}blockquote,pre{border:0}fieldset{margin:0}caption,td,th{border:0;margin:0}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}.main-navigation ul li a,.main-navigation ul ul a,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}caption{padding:5px}caption,td,th{text-align:left}caption,td{font-weight:400}blockquote:after,blockquote:before,q:after,q:before{content:""}.dropdown-click nav ul ul ul,a{background-color:transparent}a img{border:0}body{font-size:17px}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;line-height:1.5}p{margin:0 0 1.5em}h1,h2,h3{font-style:inherit}h1,h2,h3,h4,h5,h6,pre{font-family:inherit}h4,h5,h6{font-style:inherit;font-weight:inherit;font-size:100%}blockquote,pre{padding:20px;margin:0 0 1.5em}pre{background:rgba(0,0,0,.05);line-height:normal;overflow:auto;max-width:100%;font-size:inherit}blockquote{border-left:5px solid rgba(0,0,0,.05);font-size:1.2em;font-style:italic;position:relative}.footer-bar .textwidget p:last-child,blockquote p:last-child{margin:0}table,td,th{border:1px solid rgba(0,0,0,.1)}table{border-collapse:separate;border-spacing:0;border-width:1px 0 0 1px;width:100%}td,th{padding:8px;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,h2,h3{font-size:40px;line-height:1.2em;font-weight:300;text-transform:none}h2,h3{font-size:30px}h3{font-size:20px;font-weight:400}h1,h2,h3,h4,h5,h6{margin:0 0 20px}ol,ul{margin:0 0 1.5em 3em}ul{list-style:disc}ol{list-style:decimal}li>ol,li>ul{margin-bottom:0;margin-left:1.5em}b,dt,strong,th{font-weight:700}dd{margin:0 1.5em 1.5em}cite,dfn,em,i{font-style:italic}address,table{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}ins,mark{text-decoration:none}sub,sup{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}img{height:auto;max-width:100%}button,input,select{vertical-align:baseline}button,input,select,textarea{font-size:100%;margin:0;*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}input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{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:focus,a:hover,a:visited{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-shortcut,.screen-reader-text,.screen-reader-text span{position:absolute!important;clip:rect(0,0,0,0);height:1px;width:1px;border:0;overflow:hidden}.screen-reader-shortcut:focus,.screen-reader-text: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,.comment-content:after,.entry-content:after,.inside-footer-widgets:not(.grid-container):after,.inside-header:not(.grid-container):after,.inside-navigation:not(.grid-container):after,.inside-top-bar:not(.grid-container):after,.page-header-content-container:after,.paging-navigation:after,.site-content:after,.site-footer:after,.site-header:after,.site-info:after{content:"";display:table;clear:both}.main-navigation{z-index:100;padding:0;clear:both;display:block}.inside-navigation{position:relative}.main-navigation a,.menu-toggle{font-weight:400;text-transform:none;font-size:15px}.main-navigation a{display:block;text-decoration:none}.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,.main-navigation .mobile-bar-items a{padding-left:20px;padding-right:20px;line-height:60px}.menu-toggle,.sidebar-nav-mobile{display:none}.menu-toggle{padding:0 20px;line-height:60px;margin:0;cursor:pointer}.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}.navigation-search,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;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;height:60px}.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-cancel-button,.navigation-search input::-webkit-search-decoration,.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}.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 li{width:100%}.main-navigation .main-nav ul ul li a{padding:10px 20px;font-size:14px;line-height:normal}.main-navigation.sub-menu-left .sub-menu{right:0}.dropdown-hover .main-navigation:not(.toggled) ul li.sfHover>ul,.dropdown-hover .main-navigation:not(.toggled) ul li:hover>ul{left:auto;opacity:1;transition-delay:150ms;pointer-events:auto;height:auto;overflow:visible}.dropdown-hover .main-navigation:not(.toggled) ul ul li.sfHover>ul,.dropdown-hover .main-navigation:not(.toggled) ul ul li:hover>ul{left:100%;top:0}.dropdown-hover .main-navigation.sub-menu-left:not(.toggled) ul ul li.sfHover>ul,.dropdown-hover .main-navigation.sub-menu-left:not(.toggled) ul ul li:hover>ul{right:100%;left:auto}.dropdown-click .main-navigation ul ul{visibility:hidden}.dropdown-click .main-navigation ul li.sfHover>ul.toggled-on,.dropdown-click .main-navigation ul.toggled-on{left:auto;opacity:1;visibility:visible;pointer-events:auto;height:auto;overflow:visible}.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}.sidebar .menu-item-has-children .dropdown-menu-toggle,nav ul ul .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,.main-navigation.toggled .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 .widget-area .main-navigation ul li.sfHover>ul,.dropdown-hover .widget-area .main-navigation ul li:hover ul,.dropdown-hover.both-left .widget-area .inside-right-sidebar .main-navigation ul li.sfHover ul,.dropdown-hover.both-left .widget-area .inside-right-sidebar .main-navigation ul li:hover ul{top:0;left:100%}.dropdown-hover .widget-area .inside-right-sidebar .main-navigation ul li.sfHover ul,.dropdown-hover .widget-area .inside-right-sidebar .main-navigation ul li:hover ul,.dropdown-hover.both-right .widget-area .main-navigation ul li.sfHover ul,.dropdown-hover.both-right .widget-area .main-navigation ul li:hover ul{right:100%;left:auto}.dropdown-hover .inside-right-sidebar .dropdown-menu-toggle:before,.dropdown-hover.both-right .inside-left-sidebar .dropdown-menu-toggle:before{content:"\f104"}.dropdown-hover .inside-left-sidebar .dropdown-menu-toggle:before,.dropdown-hover.both-left .inside-right-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-center .main-navigation .menu>li,.nav-aligned-right .main-navigation .menu>li{float:none;display:inline-block}.nav-aligned-center .main-navigation ul,.nav-aligned-right .main-navigation ul{letter-spacing:-.31em;font-size:1em}.nav-aligned-center .main-navigation ul li,.nav-aligned-right .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 .post-navigation,.site-main .posts-navigation{margin:0 0 2em;overflow:hidden}.paging-navigation .nav-next,.paging-navigation .nav-previous{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,.widget_categories .children li: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}.archive .format-aside .entry-header,.archive .format-status .entry-header,.archive .format-status .entry-meta,.archive .format-status .entry-title,.blog .format-aside .entry-header,.blog .format-status .entry-header,.blog .format-status .entry-meta,.blog .format-status .entry-title,.entry-header .cat-links:before,.entry-header .comments-link:before,.entry-header .tags-links:before,.posted-on .updated{display:none}.byline,.entry-header .cat-links,.entry-header .comments-link,.entry-header .tags-links,.group-blog .byline,.single .byline{display:inline}footer.entry-meta .byline,footer.entry-meta .posted-on{display:block}.entry-content,.entry-summary,.page-content{margin:2em 0 0}.page-links{clear:both;margin:0 0 1.5em}.archive .format-aside .entry-content,.archive .format-status .entry-content,.blog .format-aside .entry-content,.blog .format-status .entry-content{margin-top:0}.archive .format-status .entry-content p:last-child,.blog .format-status .entry-content p:last-child{margin-bottom:0}.comment-content a,.entry-header,.site-content{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 .author-info>:last-child,.page-header>: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,.comments-link:before,.nav-next .next:before,.nav-previous .prev:before,.tags-links: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,.comments-link,.tags-links{display:block}.comment-content p:last-child,.entry-content>:last-child,.entry-summary>:last-child,.page-content>:last-child,.read-more-container,.taxonomy-description p:last-child{margin-bottom:0}.comment-content img.wp-smiley,.entry-content img.wp-smiley,.page-content img.wp-smiley{border:0;margin-bottom:0;margin-top:0;padding:0}.wp-caption{margin-bottom:1.5em;max-width:100%}.wp-caption img[class*=wp-image-]{display:block;margin:0 auto;max-width:100%}.wp-caption .wp-caption-text{font-size:75%;padding-top:5px;opacity:.8}.wp-caption,.wp-caption img{position:relative}.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%}.comment-form #author,.comment-form #email,.comment-form #url,.gallery-caption{display:block}.site-main .gallery,ol.comment-list{margin-bottom:1.5em}.gallery-item img,.wp-caption img{vertical-align:bottom}.gallery-icon{padding:5px}.widget select,embed,iframe,object{max-width:100%}.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}.comment-content{margin-top:1.5em}.comment-respond,.entry-meta.comment-metadata{margin-top:0}.comment-form>.form-submit{margin-bottom:0}.comment-form input,.comment-form-comment{margin-bottom:10px}.comment-metadata .edit-link:before{display:none}.comment-body{padding:30px 0}.comment-content{padding:30px;border:1px solid rgba(0,0,0,.05)}.comment .children{padding-left:30px;margin-top:-30px;border-left:1px solid rgba(0,0,0,.05)}.depth-1.parent>.children,.pingback .comment-body,.trackback .comment-body{border-bottom:1px solid rgba(0,0,0,.05)}.pingback .edit-link{font-size:13px}.comment-list>.comment:first-child{padding-top:0;margin-top:0;border-top:0}#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}.footer-widgets .widget,.sidebar .widget{font-size:17px}.widget_search .search-submit{display:none}.widget_categories .children{margin-left:1.5em;padding-top:5px}.footer-widgets .widget :last-child,.sidebar .widget :last-child{margin-bottom:0}.widget-title{margin-bottom:30px;font-size:20px;line-height:1.5;font-weight:400;text-transform:none}.full-width-content.no-sidebar.separate-containers .site-main,.widget ol,.widget ul{margin:0}.widget ul li{list-style-type:none;position:relative;padding-bottom:5px}.widget .search-field,nav.toggled ul ul.sub-menu{width:100%}.separate-containers .widget:last-child,.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}.one-container .site-main>:last-child,.separate-containers .site-main>:last-child{margin-bottom:0}.one-container:not(.page) .inside-article{padding:0 0 30px}.one-container.both-right .site-main,.one-container.right-sidebar .site-main{margin-right:40px}.one-container.both-left .site-main,.one-container.left-sidebar .site-main{margin-left:40px}.one-container.both-sidebars .site-main{margin:0 40px}.inside-page-header,.one-container .site-content,.separate-containers .comments-area,.separate-containers .inside-article,.separate-containers .page-header,.separate-containers .paging-navigation{padding:40px}.separate-containers .page-header,.separate-containers .site-main>*,.separate-containers .widget,.widget-area .main-navigation{margin-bottom:20px}.separate-containers .site-main{margin:20px}.both-right.separate-containers .site-main,.right-sidebar.separate-containers .site-main{margin-left:0}.both-left.separate-containers .site-main,.left-sidebar.separate-containers .site-main{margin-right:0}.both-left.separate-containers .inside-left-sidebar,.both-right.separate-containers .inside-left-sidebar{margin-right:10px}.both-left.separate-containers .inside-right-sidebar,.both-right.separate-containers .inside-right-sidebar{margin-left:10px}.separate-containers .inside-left-sidebar,.separate-containers .inside-right-sidebar{margin-top:20px;margin-bottom:20px}.separate-containers .page-header-contained,.separate-containers .page-header-content-single,.separate-containers .page-header-image-single{margin-top:20px}.full-width-content .container.grid-container{max-width:100%}.contained-content.one-container .site-content,.contained-content.separate-containers .inside-article,.full-width-content.one-container .site-content,.full-width-content.separate-containers .inside-article{padding:0}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-40px}.wp-block-column:not(:first-child),.wp-block-column:not(:last-child){padding:0}.wp-block-columns .wp-block-column{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 40px}.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-align-right .copyright-bar{float:left}.footer-bar-align-left .copyright-bar,.footer-bar-align-right .footer-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,.footer-bar .widget_nav_menu li ul{display:none}.footer-bar .widget_nav_menu li,.top-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}.post-image{margin:2em 0 0}.page-header-image,.page-header-image-single{line-height:0}.separate-containers .page-header-content,.separate-containers .page-header-image{margin-top:30px}.one-container .inside-article>[class*=page-header-],.separate-containers .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-left .inside-top-bar>.widget:nth-child(odd),.top-bar-align-right .inside-top-bar>.widget:nth-child(even){float:left;margin-right:10px}.top-bar-align-center .inside-top-bar .widget:not(:first-child),.top-bar-align-right .inside-top-bar>.widget:nth-child(odd){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,.top-bar .widget_nav_menu li ul{display:none}.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>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}.cat-links:before,.comments-link:before,.dropdown-menu-toggle:before,.generate-back-to-top:before,.menu-toggle:before,.nav-next .next:before,.nav-previous .prev:before,.search-item a:before,.tags-links: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,.comments-link:before,.nav-next .next:before,.nav-previous .prev:before,.tags-links:before{opacity:.7}.gp-icon{display:inline-flex;align-self:center}.gp-icon svg{height:1em;width:1em;top:.125em;position:relative;fill:currentColor}.close-search .icon-search svg:nth-child(1),.icon-menu-bars svg:nth-child(2),.icon-search svg:nth-child(2),.toggled .icon-menu-bars svg:nth-child(1){display:none}.close-search .icon-search svg:nth-child(2),.toggled .icon-menu-bars svg:nth-child(2){display:block}.entry-meta .gp-icon{margin-right:.6em;opacity:.7}.dropdown-hover .children .dropdown-menu-toggle .gp-icon svg,.dropdown-hover .inside-left-sidebar .dropdown-menu-toggle .gp-icon svg,.dropdown-hover .sub-menu .dropdown-menu-toggle .gp-icon svg,.dropdown-hover.both-left .inside-right-sidebar .dropdown-menu-toggle .gp-icon svg,.nav-next .gp-icon svg{transform:rotate(-90deg);transform-origin:center}.dropdown-hover .inside-right-sidebar .dropdown-menu-toggle .gp-icon svg,.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,.nav-previous .gp-icon svg{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.dropdown-click .sfHover>a>.dropdown-menu-toggle>.gp-icon svg,.generate-back-to-top .gp-icon svg,nav.toggled .sfHover>a>.dropdown-menu-toggle>.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,.main-navigation.toggled .main-nav>ul{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}.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 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 .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%}.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder){display:block}.gen-sidebar-nav,.main-navigation ul{display:none}[class*=nav-float-] .site-header .inside-header>*{float:none;clear:both}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:0}.wp-block-columns .wp-block-column{-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-bottom:40px}.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/unsemantic-grid-lite.css b/css/unsemantic-grid-lite.css new file mode 100644 index 00000000..ad50354c --- /dev/null +++ b/css/unsemantic-grid-lite.css @@ -0,0 +1,567 @@ +.grid-container:before, .grid-15:before, .grid-20:before, .grid-25:before, .grid-30:before, .grid-35:before, .grid-40:before, .grid-45:before, .grid-50:before, .grid-55:before, .grid-60:before, .grid-65:before, .grid-70:before, .grid-75:before, .grid-80:before, .grid-85:before, .grid-100:before, .grid-33:before, .grid-66:before, [class*="mobile-grid-"]:before,[class*="tablet-grid-"]:before, .clearfix:before, +.grid-container:after, +.grid-15:after, +.grid-20:after, +.grid-25:after, +.grid-30:after, +.grid-35:after, +.grid-40:after, +.grid-45:after, +.grid-50:after, +.grid-55:after, +.grid-60:after, +.grid-65:after, +.grid-70:after, +.grid-75:after, +.grid-80:after, +.grid-85:after, +.grid-100:after, +.grid-33:after, +.grid-66:after, +[class*="mobile-grid-"]:after, +[class*="tablet-grid-"]:after, +.clearfix:after { + content: "."; + display: block; + overflow: hidden; + visibility: hidden; + font-size: 0; + line-height: 0; + width: 0; + height: 0; +} + +.grid-container:after, .grid-15:after, .grid-20:after, .grid-25:after, .grid-30:after, .grid-35:after, .grid-40:after, .grid-45:after, .grid-50:after, .grid-55:after, .grid-60:after, .grid-65:after, .grid-70:after, .grid-75:after, .grid-80:after, .grid-85:after, .grid-90:after, .grid-95:after, .grid-100:after, .grid-33:after, .grid-66:after, [class*="mobile-grid-"]:after, [class*="tablet-grid-"]:after, .clearfix:after { + clear: both; +} + +.grid-container { + margin-left: auto; + margin-right: auto; + max-width: 1200px; + padding-left: 10px; + padding-right: 10px; +} + +.grid-15, .grid-20, .grid-25, .grid-30, .grid-35, .grid-40, .grid-45, .grid-50, .grid-55, .grid-60, .grid-65, .grid-70, .grid-75, .grid-80, .grid-85, .grid-90, .grid-95, .grid-100, .grid-33, .grid-66, [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-push-"], + [class*="tablet-pull-"] { + 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%; + } + + /* GP specific grid */ + .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) { + .push-15, .pull-15, .push-20, .pull-20, .push-25, .pull-25, .push-30, .pull-30, .push-35, .pull-35, .push-40, .pull-40, .push-45, .pull-45, .push-50, .pull-50, .push-55, .pull-55, .push-60, .pull-60, .push-65, .pull-65, .push-70, .pull-70, .push-75, .pull-75, .push-80, .pull-80, .push-85, .pull-85, .push-90, .pull-90, .push-95, .pull-95, .push-33, .pull-33, .push-66, .pull-66 { + 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%; + } +} diff --git a/css/unsemantic-grid-lite.min.css b/css/unsemantic-grid-lite.min.css new file mode 100644 index 00000000..ff9afe9c --- /dev/null +++ b/css/unsemantic-grid-lite.min.css @@ -0,0 +1 @@ +.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%}} diff --git a/inc/customizer.php b/inc/customizer.php index f563b8e6..caa3adbc 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -1394,7 +1394,7 @@ function generate_customize_register( $wp_customize ) { array( 'type' => 'checkbox', 'label' => __( 'Combine CSS', 'generatepress' ), - 'description' => __( 'Reduce the number of CSS file requests.', 'generatepress' ), + 'description' => __( 'Reduce the number of CSS file requests and use a lite version of Unsemantic Grid.', 'generatepress' ), 'section' => 'generate_general_section', ) ); diff --git a/inc/general.php b/inc/general.php index fbd55100..399b3625 100644 --- a/inc/general.php +++ b/inc/general.php @@ -21,7 +21,12 @@ function generate_scripts() { if ( generate_get_option( 'combine_css' ) && $suffix ) { wp_enqueue_style( 'generate-style', $dir_uri . "/css/all.min.css", array(), GENERATE_VERSION, 'all' ); } else { - wp_enqueue_style( 'generate-style-grid', $dir_uri . "/css/unsemantic-grid{$suffix}.css", false, GENERATE_VERSION, 'all' ); + $lite = ''; + if ( apply_filters( 'generate_unsemantic_grid_lite', false ) ) { + $lite = '-lite'; + } + + wp_enqueue_style( 'generate-style-grid', $dir_uri . "/css/unsemantic-grid{$lite}{$suffix}.css", false, GENERATE_VERSION, 'all' ); wp_enqueue_style( 'generate-style', $dir_uri . "/style{$suffix}.css", array(), GENERATE_VERSION, 'all' ); wp_enqueue_style( 'generate-mobile-style', $dir_uri . "/css/mobile{$suffix}.css", array( 'generate-style' ), GENERATE_VERSION, 'all' ); } diff --git a/inc/migrate.php b/inc/migrate.php index 313c2d9a..1ecc1a28 100644 --- a/inc/migrate.php +++ b/inc/migrate.php @@ -37,8 +37,7 @@ function generate_do_admin_db_updates() { function generate_do_db_updates() { $flags = get_option( 'generate_migration_settings', array() ); - // Process stuff on existing sites. - if ( ! isset( $flags['combine_css'] ) || 'true' !== $flags['combine_css'] ) { + if ( ! isset( $flags['combine_css'] ) || 'done' !== $flags['combine_css'] ) { if ( ! get_option( 'fresh_site' ) ) { $settings = get_option( 'generate_settings', array() ); @@ -46,7 +45,7 @@ function generate_do_db_updates() { update_option( 'generate_settings', $settings ); } - $flags['combine_css'] = 'true'; + $flags['combine_css'] = 'done'; update_option( 'generate_migration_settings', $flags ); } } From 1b19a7239d9bd69bcd0952dd35e2d3f57acd0782 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Tue, 9 Apr 2019 15:33:53 -0700 Subject: [PATCH 26/70] Add container alignment option --- inc/css-output.php | 5 ++++ inc/customizer.php | 24 ++++++++++++++++ .../controls/js/customizer-live-preview.js | 28 +++++++++++++++++++ inc/customizer/helpers.php | 7 +++++ inc/defaults.php | 1 + 5 files changed, 65 insertions(+) diff --git a/inc/css-output.php b/inc/css-output.php index 9c4607b7..4b9a4b03 100644 --- a/inc/css-output.php +++ b/inc/css-output.php @@ -507,6 +507,11 @@ function generate_spacing_css() { $css->add_property( 'width', 'calc(100% + ' . absint( $content_padding ) . 'px)' ); $css->add_property( 'max-width', 'calc(100% + ' . absint( $content_padding ) . 'px)' ); + if ( 'text' === generate_get_option( 'container_alignment' ) ) { + $css->set_selector( '#page' ); + $css->add_property( 'max-width', generate_get_option( 'container_width' ) + $content_padding, false, 'px' ); + } + $css->start_media_query( apply_filters( 'generate_mobile_media_query', '(max-width:768px)' ) ); $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'] ) ); diff --git a/inc/customizer.php b/inc/customizer.php index caa3adbc..4a71c49b 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -1045,6 +1045,30 @@ function generate_customize_register( $wp_customize ) { ) ); + $wp_customize->add_setting( + 'generate_settings[container_alignment]', + array( + 'default' => $defaults['container_alignment'], + 'type' => 'option', + 'sanitize_callback' => 'generate_sanitize_choices', + ) + ); + + $wp_customize->add_control( + 'generate_settings[container_alignment]', + array( + 'type' => 'select', + 'label' => __( 'Container Alignment', 'generatepress' ), + 'section' => 'generate_layout_container', + 'choices' => array( + 'boxes' => __( 'Boxes', 'generatepress' ), + 'text' => __( 'Text', 'generatepress' ), + ), + 'settings' => 'generate_settings[container_alignment]', + 'priority' => 30, + ) + ); + $wp_customize->add_section( 'generate_layout_sidebars', array( diff --git a/inc/customizer/controls/js/customizer-live-preview.js b/inc/customizer/controls/js/customizer-live-preview.js index 1e3deedb..83354e88 100644 --- a/inc/customizer/controls/js/customizer-live-preview.js +++ b/inc/customizer/controls/js/customizer-live-preview.js @@ -578,4 +578,32 @@ function generatepress_typography_live_update( id, selector, property, unit, med * Footer bar alignment */ generatepress_classes_live_update( 'footer_bar_alignment', [ 'left', 'center', 'right' ], '.site-footer', 'footer-bar-align-' ); + + jQuery( 'body' ).on( 'generate_spacing_updated', function() { + var containerAlignment = wp.customize( 'generate_settings[container_alignment]' ).get(), + containerWidth = wp.customize( 'generate_settings[container_width]' ).get(), + contentLeft = generatepress_live_preview.contentLeft, + contentRight = generatepress_live_preview.contentRight; + + if ( 'text' === containerAlignment ) { + if ( typeof wp.customize( 'generate_spacing_settings[content_left]' ) !== 'undefined' ) { + contentLeft = wp.customize( 'generate_spacing_settings[content_left]' ).get(); + } + + if ( typeof wp.customize( 'generate_spacing_settings[content_right]' ) !== 'undefined' ) { + contentRight = wp.customize( 'generate_spacing_settings[content_right]' ).get(); + } + + var newContainerWidth = Number( containerWidth ) + Number( contentLeft ) + Number( contentRight ); + + if ( jQuery( 'style#wide_container_width' ).length ) { + jQuery( 'style#wide_container_width' ).html( '#page{max-width:' + newContainerWidth + 'px;}' ); + } else { + jQuery( 'head' ).append( '' ); + setTimeout(function() { + jQuery( 'style#wide_container_width' ).not( ':last' ).remove(); + }, 100); + } + } + } ); } )( jQuery ); diff --git a/inc/customizer/helpers.php b/inc/customizer/helpers.php index 071c8375..178dd3e4 100644 --- a/inc/customizer/helpers.php +++ b/inc/customizer/helpers.php @@ -277,12 +277,19 @@ function generate_do_control_inline_scripts() { * @since 0.1 */ function generate_customizer_live_preview() { + $spacing_settings = wp_parse_args( + get_option( 'generate_spacing_settings', array() ), + generate_spacing_get_defaults() + ); + 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)' ), + 'contentLeft' => absint( $spacing_settings['content_left'] ), + 'contentRight' => absint( $spacing_settings['content_right'] ), ) ); } } diff --git a/inc/defaults.php b/inc/defaults.php index 3d243398..3e89c63e 100644 --- a/inc/defaults.php +++ b/inc/defaults.php @@ -28,6 +28,7 @@ function generate_get_defaults() { 'top_bar_inner_width' => 'contained', 'top_bar_alignment' => 'right', 'container_width' => '1100', + 'container_alignment' => 'boxes', 'header_layout_setting' => 'fluid-header', 'header_inner_width' => 'contained', 'nav_alignment_setting' => ( is_rtl() ) ? 'right' : 'left', From deb3eb04fc777ff8805235f1b5f792e5509a2758 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Tue, 9 Apr 2019 16:47:34 -0700 Subject: [PATCH 27/70] Change combine CSS description wording --- inc/customizer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/customizer.php b/inc/customizer.php index 4a71c49b..2afdc833 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -1418,7 +1418,7 @@ function generate_customize_register( $wp_customize ) { array( 'type' => 'checkbox', 'label' => __( 'Combine CSS', 'generatepress' ), - 'description' => __( 'Reduce the number of CSS file requests and use a lite version of Unsemantic Grid.', 'generatepress' ), + 'description' => __( 'Reduce the number of CSS file requests and use a lite version of our grid system.', 'generatepress' ), 'section' => 'generate_general_section', ) ); From 14df01f63b6993ef4b184158659e0574f0553b30 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Fri, 12 Apr 2019 16:09:02 -0700 Subject: [PATCH 28/70] Add generate_mobile_menu_media_query filter --- css/mobile.css | 21 --------------------- css/mobile.min.css | 2 +- inc/css-output.php | 12 ++++++++++++ 3 files changed, 13 insertions(+), 22 deletions(-) diff --git a/css/mobile.css b/css/mobile.css index 08feb179..c3ce705e 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -8,7 +8,6 @@ # Content Area # Columns # Header - # Menu # Footer --------------------------------------------------------------*/ @@ -185,26 +184,6 @@ nav.toggled ul ul.sub-menu { text-align: center; } - /*-------------------------------------------------------------- - ## Menu - --------------------------------------------------------------*/ - - .main-navigation .menu-toggle, - .main-navigation .mobile-bar-items, - .sidebar-nav-mobile:not(#sticky-placeholder) { - display: block; - } - - .main-navigation ul, - .gen-sidebar-nav { - display: none; - } - - [class*="nav-float-"] .site-header .inside-header > * { - float: none; - clear: both; - } - /*-------------------------------------------------------------- ## Content Area --------------------------------------------------------------*/ diff --git a/css/mobile.min.css b/css/mobile.min.css index 5bdf0664..065db13f 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%}.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder){display:block}.gen-sidebar-nav,.main-navigation ul{display:none}[class*=nav-float-] .site-header .inside-header>*{float:none;clear:both}.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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:0}.wp-block-columns .wp-block-column{-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-bottom:40px}.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 .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}.wp-block-columns{-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:0}.wp-block-columns .wp-block-column{-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-bottom:40px}.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/inc/css-output.php b/inc/css-output.php index 4b9a4b03..dd947bb5 100644 --- a/inc/css-output.php +++ b/inc/css-output.php @@ -81,6 +81,18 @@ function generate_base_css() { $css->add_property( 'width', absint( generate_get_option( 'logo_width' ) ), false, 'px' ); } + $css->start_media_query( apply_filters( 'generate_mobile_menu_media_query', '(max-width: 768px)' ) ); + $css->set_selector( '.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder)' ); + $css->add_property( 'display', 'block' ); + + $css->set_selector( '.main-navigation ul,.gen-sidebar-nav' ); + $css->add_property( 'display', 'none' ); + + $css->set_selector( '[class*="nav-float-"] .site-header .inside-header > *' ); + $css->add_property( 'float', 'none' ); + $css->add_property( 'clear', 'both' ); + $css->stop_media_query(); + do_action( 'generate_base_css', $css ); return apply_filters( 'generate_base_css_output', $css->css_output() ); From d0e3a6476eef4ad2bd409856b1da63f2729dce9a Mon Sep 17 00:00:00 2001 From: tomusborne Date: Fri, 12 Apr 2019 16:09:30 -0700 Subject: [PATCH 29/70] Use less aggressive selector for container alignment --- inc/css-output.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/css-output.php b/inc/css-output.php index dd947bb5..71730e13 100644 --- a/inc/css-output.php +++ b/inc/css-output.php @@ -520,7 +520,7 @@ function generate_spacing_css() { $css->add_property( 'max-width', 'calc(100% + ' . absint( $content_padding ) . 'px)' ); if ( 'text' === generate_get_option( 'container_alignment' ) ) { - $css->set_selector( '#page' ); + $css->set_selector( '.site.grid-container' ); $css->add_property( 'max-width', generate_get_option( 'container_width' ) + $content_padding, false, 'px' ); } From 1a222499f7f2f22593f6cc27d845b6dd28f2e986 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Fri, 12 Apr 2019 23:20:07 -0700 Subject: [PATCH 30/70] Use .container class instead of .site --- inc/css-output.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/css-output.php b/inc/css-output.php index 71730e13..59b76261 100644 --- a/inc/css-output.php +++ b/inc/css-output.php @@ -520,7 +520,7 @@ function generate_spacing_css() { $css->add_property( 'max-width', 'calc(100% + ' . absint( $content_padding ) . 'px)' ); if ( 'text' === generate_get_option( 'container_alignment' ) ) { - $css->set_selector( '.site.grid-container' ); + $css->set_selector( '.container.grid-container' ); $css->add_property( 'max-width', generate_get_option( 'container_width' ) + $content_padding, false, 'px' ); } From 924e41868400e20d1fb1159709b701bb43ecb355 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Thu, 25 Apr 2019 16:52:29 -0700 Subject: [PATCH 31/70] Add generate_after_loop hook --- archive.php | 7 +++++++ index.php | 7 +++++++ search.php | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/archive.php b/archive.php index eac3e36a..61f98bab 100644 --- a/archive.php +++ b/archive.php @@ -43,6 +43,13 @@ endwhile; + /** + * generate_after_loop hook. + * + * @since 2.3 + */ + do_action( 'generate_after_loop' ); + generate_content_nav( 'nav-below' ); else : diff --git a/index.php b/index.php index bf9524c9..a4698c83 100644 --- a/index.php +++ b/index.php @@ -39,6 +39,13 @@ endwhile; + /** + * generate_after_loop hook. + * + * @since 2.3 + */ + do_action( 'generate_after_loop' ); + generate_content_nav( 'nav-below' ); else : diff --git a/search.php b/search.php index 133227eb..89ce1188 100644 --- a/search.php +++ b/search.php @@ -41,6 +41,13 @@ endwhile; + /** + * generate_after_loop hook. + * + * @since 2.3 + */ + do_action( 'generate_after_loop' ); + generate_content_nav( 'nav-below' ); else : From 96a1f09ff5ee985e010edb2d655e4904d794fb0b Mon Sep 17 00:00:00 2001 From: tomusborne Date: Thu, 2 May 2019 12:53:47 -0700 Subject: [PATCH 32/70] Fix heading selector in block editor --- inc/block-editor.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inc/block-editor.php b/inc/block-editor.php index a55c01d3..992046ea 100644 --- a/inc/block-editor.php +++ b/inc/block-editor.php @@ -220,7 +220,7 @@ function generate_do_inline_block_editor_css() { $css->set_selector( 'body .editor-styles-wrapper, body .editor-styles-wrapper p, body .editor-styles-wrapper .mce-content-body' ); $css->add_property( 'line-height', floatval( $font_settings['body_line_height'] ) ); - $css->set_selector( '.wp-block-heading h1, .wp-block-heading h1.editor-rich-text__tinymce, .editor-post-title__block .editor-post-title__input' ); + $css->set_selector( '.editor-styles-wrapper .wp-block-heading h1, .wp-block-heading h1.editor-rich-text__tinymce, .editor-post-title__block .editor-post-title__input' ); $css->add_property( 'font-family', 'inherit' === $h1_family || '' === $h1_family ? $body_family : $h1_family ); $css->add_property( 'font-weight', esc_attr( $font_settings['heading_1_weight'] ) ); $css->add_property( 'text-transform', esc_attr( $font_settings['heading_1_transform'] ) ); @@ -239,7 +239,7 @@ function generate_do_inline_block_editor_css() { $css->add_property( 'color', esc_attr( $color_settings['content_title_color'] ) ); } - $css->set_selector( '.wp-block-heading h2, .wp-block-heading h2.editor-rich-text__tinymce' ); + $css->set_selector( '.editor-styles-wrapper .wp-block-heading h2, .wp-block-heading h2.editor-rich-text__tinymce' ); $css->add_property( 'font-family', $h2_family ); $css->add_property( 'font-weight', esc_attr( $font_settings['heading_2_weight'] ) ); $css->add_property( 'text-transform', esc_attr( $font_settings['heading_2_transform'] ) ); @@ -253,7 +253,7 @@ function generate_do_inline_block_editor_css() { $css->add_property( 'color', esc_attr( generate_get_option( 'text_color' ) ) ); } - $css->set_selector( '.wp-block-heading h3, .wp-block-heading h3.editor-rich-text__tinymce' ); + $css->set_selector( '.editor-styles-wrapper .wp-block-heading h3, .wp-block-heading h3.editor-rich-text__tinymce' ); $css->add_property( 'font-family', $h3_family ); $css->add_property( 'font-weight', esc_attr( $font_settings['heading_3_weight'] ) ); $css->add_property( 'text-transform', esc_attr( $font_settings['heading_3_transform'] ) ); @@ -267,7 +267,7 @@ function generate_do_inline_block_editor_css() { $css->add_property( 'color', esc_attr( generate_get_option( 'text_color' ) ) ); } - $css->set_selector( '.wp-block-heading h4, .wp-block-heading h4.editor-rich-text__tinymce' ); + $css->set_selector( '.editor-styles-wrapper .wp-block-heading h4, .wp-block-heading h4.editor-rich-text__tinymce' ); $css->add_property( 'font-family', $h4_family ); $css->add_property( 'font-weight', esc_attr( $font_settings['heading_4_weight'] ) ); $css->add_property( 'text-transform', esc_attr( $font_settings['heading_4_transform'] ) ); @@ -286,7 +286,7 @@ function generate_do_inline_block_editor_css() { $css->add_property( 'color', esc_attr( generate_get_option( 'text_color' ) ) ); } - $css->set_selector( '.wp-block-heading h5, .wp-block-heading h5.editor-rich-text__tinymce' ); + $css->set_selector( '.editor-styles-wrapper .wp-block-heading h5, .wp-block-heading h5.editor-rich-text__tinymce' ); $css->add_property( 'font-family', $h5_family ); $css->add_property( 'font-weight', esc_attr( $font_settings['heading_5_weight'] ) ); $css->add_property( 'text-transform', esc_attr( $font_settings['heading_5_transform'] ) ); @@ -305,7 +305,7 @@ function generate_do_inline_block_editor_css() { $css->add_property( 'color', esc_attr( generate_get_option( 'text_color' ) ) ); } - $css->set_selector( '.wp-block-heading h6, .wp-block-heading h6.editor-rich-text__tinymce' ); + $css->set_selector( '.editor-styles-wrapper .wp-block-heading h6, .wp-block-heading h6.editor-rich-text__tinymce' ); $css->add_property( 'font-family', $h6_family ); $css->add_property( 'font-weight', esc_attr( $font_settings['heading_6_weight'] ) ); $css->add_property( 'text-transform', esc_attr( $font_settings['heading_6_transform'] ) ); From cee883cbbb5c2cb439d0addd4bdef3038c46a1f1 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Fri, 10 May 2019 10:53:04 -0700 Subject: [PATCH 33/70] Hook archive description in so it can be moved --- inc/structure/archives.php | 45 ++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 17 deletions(-) diff --git a/inc/structure/archives.php b/inc/structure/archives.php index 037ddb11..209cb9fb 100644 --- a/inc/structure/archives.php +++ b/inc/structure/archives.php @@ -42,25 +42,11 @@ function generate_archive_title() { * generate_after_archive_title hook. * * @since 0.1 - */ - do_action( 'generate_after_archive_title' ); - - // Show an optional term description. - $term_description = term_description(); - if ( ! empty( $term_description ) ) { - printf( '
    %s
    ', $term_description ); // WPCS: XSS ok, sanitization ok. - } - - if ( get_the_author_meta( 'description' ) && is_author() ) { - echo '
    ' . get_the_author_meta( 'description' ) . '
    '; // WPCS: XSS ok, sanitization ok. - } - - /** - * generate_after_archive_description hook. * - * @since 0.1 + * @hooked generate_do_archive_description - 10 */ - do_action( 'generate_after_archive_description' ); ?> + do_action( 'generate_after_archive_title' ); + ?> %s', $term_description ); // WPCS: XSS ok, sanitization ok. + } + + if ( get_the_author_meta( 'description' ) && is_author() ) { + echo '
    ' . get_the_author_meta( 'description' ) . '
    '; // WPCS: XSS ok, sanitization ok. + } + + /** + * generate_after_archive_description hook. + * + * @since 0.1 + */ + do_action( 'generate_after_archive_description' ); +} From 745c311a29570ccbed7dcdb454fabb37b3e72679 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Fri, 10 May 2019 13:20:14 -0700 Subject: [PATCH 34/70] Fix sub-menu dropdown on tablets (tap) --- js/a11y.js | 8 ++++---- js/a11y.min.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/a11y.js b/js/a11y.js index b3b5ac2a..d0962582 100644 --- a/js/a11y.js +++ b/js/a11y.js @@ -86,11 +86,11 @@ /** * Make hover dropdown touch-friendly. */ - if ( 'touchend' in document.documentElement ) { + if ( 'ontouchstart' in document.documentElement ) { for ( var i = 0; i < parentElements.length; i++ ) { - parentElements[i].addEventListener( 'touchend', function( e ) { + parentElements[i].addEventListener( 'touchstart', function( e ) { // Bail on mobile - if ( parentElements[i].closest( 'nav' ).classList.contains( 'toggled' ) ) { + if ( this.closest( 'nav' ).classList.contains( 'toggled' ) ) { return; } @@ -106,7 +106,7 @@ } // Close other sub-menus - var openedSubMenus = parentElements[i].closest( 'nav' ).querySelectorAll( 'ul.toggled-on' ); + var openedSubMenus = this.closest( 'nav' ).querySelectorAll( 'ul.toggled-on' ); if ( openedSubMenus && ! this.closest( 'ul' ).classList.contains( 'toggled-on' ) && ! this.closest( 'li' ).classList.contains( 'sfHover' ) ) { for ( var o = 0; o < openedSubMenus.length; o++ ) { openedSubMenus[o].classList.remove( 'toggled-on' ); diff --git a/js/a11y.min.js b/js/a11y.min.js index b943bd7f..a1aac7ee 100644 --- a/js/a11y.min.js +++ b/js/a11y.min.js @@ -1 +1 @@ -/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var e,t=location.hash.substring(1);/^[A-z0-9_-]+$/.test(t)&&(e=document.getElementById(t))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())},!1),function(){"use strict";if("querySelector"in document&&"addEventListener"in window){var e=document.body;e.addEventListener("mousedown",function(){e.classList.add("using-mouse")}),e.addEventListener("keydown",function(){e.classList.remove("using-mouse")})}}(),function(){"use strict";if("querySelector"in document&&"addEventListener"in window&&document.body.classList.contains("dropdown-hover"))for(var e=document.querySelectorAll("nav .main-nav ul a"),n=document.querySelectorAll(".sf-menu .menu-item-has-children"),t=function(){if(!this.closest("nav").classList.contains("toggled")&&!this.closest("nav").classList.contains("slideout-navigation"))for(var e=this;-1===e.className.indexOf("main-nav");)"li"===e.tagName.toLowerCase()&&(-1!==e.className.indexOf("sfHover")?e.className=e.className.replace(" sfHover",""):e.className+=" sfHover"),e=e.parentElement},o=0;o Date: Fri, 10 May 2019 13:46:16 -0700 Subject: [PATCH 35/70] Clean up SVG output --- inc/theme-functions.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/inc/theme-functions.php b/inc/theme-functions.php index 9693314b..c3609551 100644 --- a/inc/theme-functions.php +++ b/inc/theme-functions.php @@ -240,51 +240,51 @@ function generate_get_svg_icon( $icon, $replace = false ) { $output = ''; if ( 'menu-bars' === $icon ) { - $output = ' + $output = ''; } if ( 'close' === $icon ) { - $output = ' + $output = ''; } if ( 'search' === $icon ) { - $output = ' + $output = ''; } if ( 'categories' === $icon ) { - $output = ' + $output = ''; } if ( 'tags' === $icon ) { - $output = ' + $output = ''; } if ( 'comments' === $icon ) { - $output = ' + $output = ''; } if ( 'arrow' === $icon ) { - $output = ' + $output = ''; } if ( $replace ) { - $output .= ' + $output .= ''; } From d87d759845107ee369f7a198111075e07017ad6d Mon Sep 17 00:00:00 2001 From: tomusborne Date: Fri, 10 May 2019 14:00:19 -0700 Subject: [PATCH 36/70] Set WP headers using filter so they can be modified --- header.php | 1 - inc/general.php | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/header.php b/header.php index cb4469a4..49aeb55c 100644 --- a/header.php +++ b/header.php @@ -13,7 +13,6 @@ > - diff --git a/inc/general.php b/inc/general.php index 399b3625..aebdcb12 100644 --- a/inc/general.php +++ b/inc/general.php @@ -327,3 +327,15 @@ function generate_skip_dynamic_css_cache( $cache ) { return $cache; } + +add_filter( 'wp_headers', 'generate_set_wp_headers' ); +/** + * Set any necessary headers. + * + * @since 2.3 + */ +function generate_set_wp_headers( $headers ) { + $headers['X-UA-Compatible'] = 'IE=edge'; + + return $headers; +} From a9fccccba95c3e89ef82c66a535049b3ad5d6e72 Mon Sep 17 00:00:00 2001 From: tomusborne Date: Mon, 13 May 2019 15:44:28 -0700 Subject: [PATCH 37/70] Update changelog --- readme.txt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/readme.txt b/readme.txt index 510b1af0..fcdf52e6 100644 --- a/readme.txt +++ b/readme.txt @@ -95,6 +95,35 @@ MIT License: https://github.com/bgrins/TinyColor/blob/master/LICENSE == Changelog == += 2.3 = + +Release date: TBA + +* New: Add SVG icon option +* New: Add option to inline the logo and site branding +* New: Add combine CSS option +* New: Add container alignment option +* New: Add generate_header_entry_meta_items filter for defining/ordering header entry meta +* New: Add generate_footer_entry_meta_items filter for defining/ordering footer entry meta +* New: Add generate_header_items_order filter to order header elements +* New: Add wp_body_open hook +* New: Add generate_after_primary_menu hook +* New: Add generate_mobile_menu_media_query filter +* New: Add generate_after_loop hook +* Tweak: Remove footer widget placeholders +* Tweak: Properly filter comment_form() defaults +* Tweak: Check for container_class variable existence +* Tweak: Align header to center on mobile even if aligned right +* Tweak: Check for option existence in generate_get_option() +* Tweak: Simplify separate container margin CSS +* Tweak: Make navLinks a11y selector more specific +* Tweak: Hook archive description in so it can be moved +* Tweak: Set X-UA-Compatible in wp_headers filter +* Fix: generate_search_label filter +* Fix: Sub-menu direction in right sidebar +* Fix: Heading selector in block editor +* Fix: Sub-menu dropdown on tablets/touch screens + = 2.2.2 = Release date: January 30, 2019 From ac5d113ef5c049fb43ca98914c49de11cb216d7d Mon Sep 17 00:00:00 2001 From: tomusborne Date: Mon, 13 May 2019 15:49:13 -0700 Subject: [PATCH 38/70] Fix SVG arrow placement --- inc/theme-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/theme-functions.php b/inc/theme-functions.php index c3609551..5672a2e2 100644 --- a/inc/theme-functions.php +++ b/inc/theme-functions.php @@ -278,7 +278,7 @@ function generate_get_svg_icon( $icon, $replace = false ) { } if ( 'arrow' === $icon ) { - $output = '