/*! Theme Name: AMPFace Base Theme URI: http://ampface.io/downloads Author: James Ozzie Osborne Author URI: https://ampface.io Description: An AMP ready WordPress theme with extensive options and great performance Version: 1.6.0 License: GNU General Public License v2 or later License URI: LICENSE Text Domain: ampface Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. AMPFace is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- # Normalize # Typography # Elements # Forms # Navigation ## Links ## Menus # Accessibility # Alignments # Clearings # Widgets # Content ## Posts and pages ## Comments # Infinite scroll # Media ## Captions ## Galleries --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Normalize --------------------------------------------------------------*/ /* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */ /* Document ========================================================================== */ /** * 1. Correct the line height in all browsers. * 2. Prevent adjustments of font size after orientation changes in iOS. */ html { line-height: 1.15; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers. */ body { margin: 0; } /** * Correct the font size and margin on `h1` elements within `section` and * `article` contexts in Chrome, Firefox, and Safari. */ h1 { font-size: 2em; margin: 0.2em 0; } /* Grouping content ========================================================================== */ /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { box-sizing: content-box; /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Text-level semantics ========================================================================== */ /** * Remove the gray background on active links in IE 10. */ a { background-color: transparent; text-decoration: none; } /** * 1. Remove the bottom border in Chrome 57- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. */ abbr[title] { border-bottom: none; /* 1 */ text-decoration: underline; /* 2 */ text-decoration: underline dotted; /* 2 */ } /** * Add the correct font weight in Chrome, Edge, and Safari. */ b, strong { font-weight: bolder; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /** * Add the correct font size in all browsers. */ small { font-size: 80%; } /** * Prevent `sub` and `sup` elements from affecting the line height in * all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* Embedded content ========================================================================== */ /** * Remove the border on images inside links in IE 10. */ img { border-style: none; } /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers. * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: inherit; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { /* 1 */ overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { /* 1 */ text-transform: none; } /** * Correct the inability to style clickable types in iOS and Safari. */ button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } /** * Remove the inner border and padding in Firefox. */ button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 1. Correct the text wrapping in Edge and IE. * 2. Correct the color inheritance from `fieldset` elements in IE. * 3. Remove the padding so developers are not caught out when they zero out * `fieldset` elements in all browsers. */ legend { box-sizing: border-box; /* 1 */ color: inherit; /* 2 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ white-space: normal; /* 1 */ } /** * Add the correct vertical alignment in Chrome, Firefox, and Opera. */ progress { vertical-align: baseline; } /** * Remove the default vertical scrollbar in IE 10+. */ textarea { overflow: auto; } /** * 1. Add the correct box sizing in IE 10. * 2. Remove the padding in IE 10. */ [type="checkbox"], [type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Correct the cursor style of increment and decrement buttons in Chrome. */ [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Correct the odd appearance in Chrome and Safari. * 2. Correct the outline style in Safari. */ [type="search"] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } /** * Remove the inner padding in Chrome and Safari on macOS. */ [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE 10+, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* Misc ========================================================================== */ /** * Add the correct display in IE 10+. */ template { display: none; } /*-------------------------------------------------------------- # Typography --------------------------------------------------------------*/ body, button, input, select, optgroup, textarea { color: #404040; font-family: sans-serif; font-size: 16px; font-size: 0.9rem; line-height: 1.5; } h1, h2, h3, h4, h5, h6 { clear: both; margin-block-start: 0.23em; margin-block-end: 0.4em; } p { margin-bottom: 1.1em; } dfn, cite, em, i { font-style: italic; } blockquote { margin: 0 1.5em; } address { margin: 0 0 1.5em; } pre { background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; } code, kbd, tt, var { font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; font-size: 15px; font-size: 0.9375rem; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } mark, ins { background: #fff9c0; text-decoration: none; } big { font-size: 125%; } /*-------------------------------------------------------------- # Elements --------------------------------------------------------------*/ html { box-sizing: border-box; } *, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ box-sizing: inherit; } body { background: #fff; /* Fallback for when there is no custom background color defined. */ } hr { border: 0; height: 1px; margin-bottom: 1.5em; } ul, ol { margin: 0 0 1.5em 1em; } ul { list-style: disc; padding-inline-start: 0px; } ol { list-style: decimal; padding-inline-start: 0px; } li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; } dt { font-weight: bold; } dd { margin: 0 1.5em 1.5em; } img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ } figure { margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */ } table { margin: 0 0 1.5em; width: 100%; } /*-------------------------------------------------------------- # Forms --------------------------------------------------------------*/ button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid; border-color: #ccc #ccc #bbb; border-radius: 3px; background: #e6e6e6; color: rgba(0, 0, 0, 0.8); font-size: 12px; font-size: 0.9rem; line-height: 1; padding: 0.4em 1em 0.4em; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { border-color: #ccc #bbb #aaa; } button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus { border-color: #aaa #bbb #bbb; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea { color: #666; border: 1px solid #ccc; border-radius: 3px; padding: 3px 5px; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus { color: #111; } select { border: 1px solid #ccc; } textarea { width: 100%; } /*-------------------------------------------------------------- # Navigation --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Links --------------------------------------------------------------*/ .entry-title a { color: #404040; } a:focus { outline: thin dotted; } a:hover, a:active { outline: 0; } /*-------------------------------------------------------------- ## Menus --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ } .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; clip-path: none; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } /* Do not show the outline on the skip link target. */ #content[tabindex="-1"]:focus { outline: 0; } /*-------------------------------------------------------------- # Alignments --------------------------------------------------------------*/ .alignleft { display: inline; float: left; margin-right: 1.5em; } .alignright { display: inline; float: right; margin-left: 1.5em; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; } /*-------------------------------------------------------------- # Clearings --------------------------------------------------------------*/ .clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after { content: ""; display: table; table-layout: fixed; } .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both; } /*-------------------------------------------------------------- # Widgets --------------------------------------------------------------*/ .widget { margin: 0 0 1.5em; /* Make sure select elements fit in widgets. */ } .widget select { max-width: 100%; } /*-------------------------------------------------------------- # Content --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Posts and pages --------------------------------------------------------------*/ .sticky { display: block; } .post, .page { margin: 0 0 1.5em; } .updated:not(.published) { display: none; } .page-content, .entry-content, .entry-summary { margin: 0.2em 0 0; } .entry-meta { margin: 0.5em 0; } .page-links { clear: both; margin: 0 0 1.5em; } /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/ .comment-content a { word-wrap: break-word; } .bypostauthor { display: block; } /*-------------------------------------------------------------- # Infinite scroll --------------------------------------------------------------*/ /* Globally hidden elements when Infinite Scroll is supported and in use. */ .infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ display: none; } /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ .infinity-end.neverending .site-footer { display: block; } /*-------------------------------------------------------------- # Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } /* Make sure logo link wraps around logo image. */ .custom-logo-link { display: inline-block; } /*-------------------------------------------------------------- ## Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } .wp-caption-text { text-align: center; } /*-------------------------------------------------------------- ## Galleries --------------------------------------------------------------*/ .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; } /*-------------------------------------------------------------- ## AMPFace Options --------------------------------------------------------------*/ .site-inner { margin: 0 auto; } .site-inner.wide { max-width: 1120px; } .site-inner.narrow { max-width: 920px; } .columns { display: flex; flex-flow: row wrap; justify-content: center; margin: 5px 0; max-width: 100%; } .column { flex: 1; margin: 2px; padding: 10px 20px 10px 0px; &:first-child { margin-left: 0; } &:last-child { margin-right: 0; } } .column.columncenter { flex-grow: 3; } .columns img, .column img, .columns amp-img, .column amp-img { flex-shrink: 0; flex-grow: 0; flex: none; flex: initial; } .ampTopBar { background-color: #efefef; width: 100%; padding: 0px 0 6px 0; } /*-------------------------------------------------------------- ## header image width & homepage only option --------------------------------------------------------------*/ .header-image img { margin: 0 auto; text-align: center; } .header-image1.wide { max-width: 1120px; margin: 0 auto; } .header-image1.narrow { max-width: 920px; margin: 0 auto; } body:not(.home) .headerhomepage1 img { display: none !important; } .site-info .site-title, .site-description { position: relative; display: inline; } /** * AMPFace author info */ .author-info { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; clear: both; padding-top: 1em; padding-bottom: 1em; margin: 15px 0px; } .author-info img.avatar { margin-top: 1em; } .author-avatar .avatar { float: left; height: 62px; margin: 0 1.75em 1.75em 0; width: 62px; border-radius: 50px; } .author-description > :last-child { margin-bottom: 0; } .author-description .author-title { clear: none; font-size: 1.3em; font-weight: 900; line-height: 1.75; margin: 0; } .author-bio { color: #686868; font-size: 0.9em; line-height: 1.6153846154; margin-bottom: 1.6153846154em; overflow: hidden; } p.author-bio { display: block; margin-block-start: 0.5em; } .author-link { white-space: nowrap; } .author-bio .author-link { display: block; padding-top: 10px; } .af_entryfooter { padding: 12px 0; } .af_postfooter_hr { margin: 40px 0 0 0; } .post-navigation .meta-nav { color: #686868; font-size: 13px; letter-spacing: 0.076923077em; line-height: 1.6153846154; padding-bottom: 0.5384615385em; text-transform: uppercase; } .post-navigation span { display: block; } /** * AmpFace Grid */ .afcontent-area { position: relative; width: 100%; float: none; vertical-align: top; margin: 0 auto; text-align: center; } .dots:after { content: "..."; display: none; } .af-post .dots:after { display: inline; } .af-post { margin-right: 2%; overflow: hidden; display: inline-block; width: 31%; vertical-align: top; padding-bottom: 10px; margin-bottom: 20px; } @media screen and (max-width: 680px) { .af-post { width: 45%; } .afcontent-area { text-align: center; } } @media screen and (max-width: 580px) { .af-post { width: 95%; } .afcontent-area { text-align: center; } .column { padding: 10px 0px 10px 0px; } } .af-belowImg { padding: 0 10px; } .post-edit-link { display: inline-block; clear: both; width: 100%; } a.post-thumbnail:hover, a.post-thumbnail:focus { opacity: 0.85; } .afNavifation { overflow: none; width: 100%; font-size: 90%; padding-top: 1px; height: 40px; } .afNavifation ul, .afNavifation ol { margin: 0.6em 0 0em 1.25em; padding: 0; float: right; } .afNavifation li a, .afNavifation li a:hover, .afNavifation li.active a, .afNavifation li.disabled { color: #fff; text-decoration: none; } .afNavifation li { display: inline; } .afNavifation li a, .afNavifation li a:hover, .afNavifation li.active a, .afNavifation li.disabled { border-radius: 0px; cursor: pointer; padding: 5px; padding: 0.5rem; } .navigation li a:hover, .navigation li.active a { -webkit-filter: saturate(45%); } .tagcloud { padding: 6px 0px; } .tagcloud a.tag-cloud-link { font-size: 0.8em !important; opacity: 0.8; color: #fff; display: inline-block; margin-right: 3px; padding: 0 6px; line-height: 25px; border-radius: 3px; } .cat-links, .tags-links { display: inline-block; } .tags-links a { color: #fff; padding: 1px 6px; margin-right: 4px; font-size: 90%; border-radius: 3px; } .more-link, .more-link { color: #efefef; font-size: 0.8em; padding: 4px 6px; border-radius: 2px; box-shadow: 0 1px 0 0 #222; } .more-link:hover { -webkit-filter: saturate(55%); } .site-inner { padding: 10px 20px 0px 20px; } .afauthorblog { display: inline; } .afauthorblog1 { display: none; } .author-info1 { display: none; } .afpostdate { display: inline; } .afpostdate1 { display: none; } .af-tags1 { display: none; } .af-tags { font-size: 0.9em; } .tags-links { opacity: 0.8; display: inline-block; margin: 0 0px 3px 0; padding: 0 6px 0 0px; line-height: 25px; border-radius: 3px; } .cat-links1 { display: none; } .afbutton { font-size: 0.8em !important; opacity: 0.8; color: #fff; display: inline-block; margin: 0 3px 3px 0; padding: 0 6px; line-height: 25px; border-radius: 3px; } .afbutton:hover { -webkit-filter: saturate(55%); box-shadow: 0 1px 0 0 #222; } .post-edit-link { padding: 8px 0 0px 0; } /*-------------------------------------------------------------- ## Widget container styling --------------------------------------------------------------*/ .afTopContainer, .afBaseContainer { background-color: #efefef; } .afFooterContainer { color: #efefef; background-image: linear-gradient(#2b2b2b, #333); } .afFooterDetails { color: #efefef; background-color: #333; } .afColorBgContainer { color: #efefef; } .afFooterContainer hr { background-color: transparent; border: 0; height: 1px; margin-bottom: 0em; margin-block-start: 0em; margin-block-end: 0em; border-top: 1px solid #ccc; } .site-info { font-family: verdana; font-size: 0.7em; } .site-info a{color:#ccc} .site-info a:hover{color:#efefef} .site-header .columns div:nth-of-type(2) { -webkit-flex-grow: 2; } /*-------------------------------------------------------------- ## Media Queries --------------------------------------------------------------*/ @media screen and (max-width: 37.5em) { /* 600px */ .af_socialmediaContainer { display: none; } .columns.column { flex-basis: 100%; margin: 0 0 5px 0; } .site-header .columns { flex-basis: 100%; } .site-header .column.afsb { flex-grow: 8; } .site-header #site-navigation { padding: 20px 0px 0px 0px; margin: 0 auto; align-items: center; justify-content: center; display: flex; } } @media screen and (min-width: 37.5em) { /* 600px */ amp-sidebar { display: relative; } } @media screen and (max-width: 48em) { /* 768px */ .site-navigation_Inner, .af_socialmediaContainer_right { display: none; } } @media screen and (min-width: 48em) { /* 768px */ .af_sidenav_btn { display: none; } } *:focus { outline: none; } *:focus { outline: none; } .mobile-menu li, .mobile-menu ol, .mobile-menu ul { border: none; margin: 0; padding: 0; text-align: inherit; } /* Layout ------------------------------------ */ .no-margin { margin: 0; } .no-padding { padding: 0; } /* Sections ---------------------------------- */ section { padding: 20px 0; width: 100%; } .header-inner { height: 45px; } .section-inner { margin-left: auto; margin-right: auto; max-width: 100%; width: 100%; } /* Toggles ----------------------------------- */ .toggle { -moz-appearance: none; -webkit-appearance: none; color: inherit; cursor: pointer; font-family: inherit; position: relative; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; text-align: inherit; user-select: none; } button.toggle { background: none; border: none; box-shadow: none; border-radius: 0; padding: 0; text-transform: none; } .main-navigation { position: relative; text-align: right; margin: 0 auto; float: right; } /* Overlay Header ---------------------------- */ .overlay-header #site-header { background: transparent; margin: 0; position: absolute; left: 0; right: 0; top: 0; z-index: 2; } /* Navigation Toggle ------------------------- */ .nav-toggle { position: relative; bottom: 0; right: 0; top: 0; } .nav-toggle .toggle-icon, .nav-toggle svg { height: 30px; width: 30px; } .nav-toggle .toggle-inner { padding-top: 14px; } /* Primary Menu ---------------------------- */ .screen-reader-text, .toggle-text { display: none; } .primary-menu-wrapper { display: none; } ul.primary-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; margin: -14px 0 0 -25.6px; } .primary-menu .icon { display: block; height: 11.2px; position: absolute; pointer-events: none; transform: rotate(-45deg); width: 1.48px; } .primary-menu .icon::before, .primary-menu .icon::after { content: ""; display: block; background-color: currentColor; position: absolute; bottom: calc(50% - 0.16px); left: 0; } .primary-menu .icon::before { height: 11px; width: 0.6px; } .primary-menu .icon::after { height: 0.6px; width: 11px; } .primary-menu li { position: relative; } .primary-menu > li { margin: 14px 14px 0 16px; } .primary-menu > li.menu-item-has-children > a { padding-right: 32px; } .primary-menu > li > .icon { right: 8px; top: calc(50% - 0.7px); } .primary-menu a { color: inherit; display: block; line-height: 1.2; text-decoration: none; word-break: normal; word-wrap: normal; } .primary-menu li.current-menu-item > a:hover, .primary-menu li.current-menu-item > .link-icon-wrapper > a:hover, .primary-menu li.current-menu-item > a:focus, .primary-menu li.current-menu-item > .link-icon-wrapper > a:focus { text-decoration: none; } /* SUB MENU */ .primary-menu ul { background: #fff; border-radius: 0.32px; border: 1px solid #d1d1d1; color: #1a1a1a; opacity: 0; padding: 0.32px 0; position: absolute; right: 9999rem; top: calc(100% + 16px); transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s; transform: translateY(9px); width: 240px; z-index: 1; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); } .primary-menu li.menu-item-has-children:hover > ul, .primary-menu li.menu-item-has-children:focus > ul, .primary-menu li.menu-item-has-children.focus > ul { right: -16px; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; list-style-type: none; } .primary-menu li { list-style-type: none; } .primary-menu ul li { border-bottom: 1px solid #d1d1d1; list-style-type: none; } .primary-menu ul li:last-child { border-bottom: 0px solid #d1d1d1; } .primary-menu ul::before, .primary-menu ul::after { content: ""; display: block; position: absolute; bottom: 100%; right: -32px; } .primary-menu ul::before { height: 16px; left: 0; right: 0; } .primary-menu ul::after { border: 14px solid transparent; } .primary-menu ul a { background: transparent; border: none; color: inherit; padding: 16px 16px; transition: background-color 0.15s linear; } .primary-menu ul li.menu-item-has-children > a { padding-right: 72px; } .primary-menu ul li.menu-item-has-children .icon { position: absolute; right: 26px; top: calc(50% - 5px); } /* DEEP DOWN */ .primary-menu ul ul { top: 8px; } .primary-menu ul li.menu-item-has-children:hover > ul, .primary-menu ul li.menu-item-has-children:focus > ul, .primary-menu ul li.menu-item-has-children.focus > ul { right: calc(100% + 16px); } .primary-menu ul ul::before { bottom: 0; height: auto; left: auto; right: -32px; top: 0; width: 32px; } .rtl .primary-menu ul ul::after { transform: rotate(180deg); } /* * Enable nav submenu expansion with tapping on arrows on large-viewport * touch interfaces (e.g. tablets or laptops with touch screens). * These rules are supported by all browsers (>IE11) and when JS is disabled. */ @media (any-pointer: coarse) { .primary-menu > li.menu-item-has-children > a { padding-right: 0; margin-right: 28px; } .primary-menu ul li.menu-item-has-children > a { margin-right: 72px; padding-right: 0; width: unset; } } /* Repeat previous rules for IE11 (when JS enabled for polyfill). */ body.touch-enabled .primary-menu > li.menu-item-has-children > a { padding-right: 0; margin-right: 32px; } body.touch-enabled .primary-menu ul li.menu-item-has-children > a { margin-right: 72px; padding-right: 0; width: unset; } /* -------------------------------------------------------------------------- */ /* 5. Menu Modal /* -------------------------------------------------------------------------- */ .menu-modal { background: #fff; display: none; opacity: 0; overflow-y: auto; overflow-x: hidden; position: fixed; bottom: 0; left: -99999rem; right: 99999rem; top: 0; transition: opacity 0.25s ease-in, left 0s 0.25s, right 0s 0.25s; z-index: 99; } .menu-modal.show-modal { display: flex; } .menu-modal.active { left: 0; opacity: 1; right: 0; transition: opacity 0.25s ease-out; } .menu-modal-inner { background: #fff; display: flex; justify-content: stretch; overflow: auto; -ms-overflow-style: auto; width: 100%; } .menu-wrapper { display: flex; flex-direction: column; justify-content: space-between; position: relative; } button.close-nav-toggle { align-items: center; display: flex; justify-content: flex-end; height: 45px; width: 100%; padding: 5px 15px 5px 0px; } button.close-nav-toggle svg { height: 25.6px; width: 25.6px; } button.close-nav-toggle .toggle-text { margin-right: 25.6px; } .menu-modal .menu-top { flex-shrink: 0; } /* Main Menu --------------------------------- */ .modal-menu { position: relative; left: calc(50% - 50vw); width: 100vw; } .modal-menu li { border-color: #dedfdf; border-style: solid; border-width: 0.5px 0 0 0; display: flex; flex-wrap: wrap; line-height: 1; justify-content: flex-start; margin: 0; } .modal-menu > li > a, .modal-menu > li > .ancestor-wrapper > a { color: #404040; } .modal-menu > li:last-child { border-bottom-width: 0.16px; } .modal-menu .ancestor-wrapper { display: flex; width: 100%; } .modal-menu a { display: block; padding: 16px 0px 16px 12px; text-decoration: none; width: 100%; } .modal-menu li li a { padding: 16px 0px 16px 24px; } .modal-menu li li li a { padding: 16px 0px 16px 36px; } button.sub-menu-toggle { border-left: 0.16px solid #dedfdf; padding: 0 20px; width: 60px !important; } button.sub-menu-toggle svg { height: 15px; transition: transform 0.15s linear; width: 24px; } button.sub-menu-toggle.active svg { transform: rotate(180deg); } .modal-menu ul { display: none; margin: 0; width: 100%; } .modal-menu ul li a { color: inherit; font-weight: 500; } /* Main menu animation ----------------------- */ .menu-wrapper .menu-item { position: relative; } .menu-wrapper .active { display: block; } .menu-wrapper.is-toggling { pointer-events: none; } .menu-wrapper.is-toggling .menu-item { position: absolute; top: 0; left: 0; margin: 0; width: 100%; } .menu-wrapper.is-toggling .menu-bottom .social-menu .menu-item { width: auto; } .menu-wrapper.is-animating .menu-item, .menu-wrapper.is-animating .toggling-target { transition-duration: 250ms; } .menu-wrapper.is-animating .menu-item { transition-property: transform; } .menu-wrapper.is-toggling .toggling-target { display: block; position: absolute; top: 0; left: 0; opacity: 1; } .menu-wrapper.is-toggling .toggling-target.active { opacity: 0; } .menu-wrapper.is-animating.is-toggling .toggling-target { display: block; transition-property: opacity; opacity: 0; } .menu-wrapper.is-animating.is-toggling .toggling-target.active { opacity: 1; } .menu-wrapper.is-toggling .modal-menu > li:last-child li { border-top-color: transparent; border-bottom-width: 0.16px; } @media (prefers-reduced-motion: reduce) { .menu-wrapper.is-animating .menu-item, .menu-wrapper.is-animating .toggling-target { transition-duration: 1ms !important; } } /* Expanded Menu ----------------------------- */ .expanded-menu { display: none; } .mobile-menu { display: block; } /* Menu Bottom ------------------------------- */ .menu-bottom { flex-shrink: 0; padding: 64px 0; } .menu-bottom nav { width: 100%; } .menu-copyright { display: none; margin: 0; } .menu-copyright a:focus, .menu-copyright a:hover { text-decoration: underline; } .menu-bottom .social-menu { justify-content: center; } @media (min-width: 768px) { #site-header { z-index: 1; } .header-inner { align-items: center; display: flex; justify-content: space-between; padding: 44.8px 0; } /* HEADER NAVIGATION */ .header-navigation-wrapper { align-items: center; display: inline; } .primary-menu-wrapper { display: inline; width: 100%; } /* HEADER TOGGLES */ .mobile-search-toggle, .mobile-nav-toggle { display: none !important; } .primary-menu-wrapper + .header-toggles { margin-left: 48px; } .header-toggles { display: flex; flex-shrink: 0; margin-right: -48px; } .header-inner .toggle { height: 70.4px; padding: 0 48px; position: relative; bottom: auto; left: auto; right: auto; top: auto; width: auto; } .header-inner .toggle-wrapper { position: relative; } .header-inner .toggle-wrapper::before { background: #dedfdf; content: ""; display: block; height: 43.2px; position: absolute; left: 0; top: calc(50% - 22px); width: 1.6px; } .header-inner .toggle-wrapper:first-child::before { content: none; } .header-inner .primary-menu-wrapper + .header-toggles .toggle-wrapper:first-child::before { content: ""; } .nav-toggle-wrapper:not(.has-expanded-menu) { display: none; } .toggle-inner { position: static; } .toggle-inner .toggle-text { left: 0; right: 0; text-align: center; top: calc(100% - 0.48px); width: auto; } .header-toggles:only-child .nav-toggle .toggle-inner { padding-top: 0; } .header-toggles:only-child .toggle-inner { display: flex; flex-wrap: nowrap; align-items: center; } .header-toggles:only-child .toggle-inner .svg-icon { order: 1; } .header-toggles:only-child .toggle-inner .toggle-text { position: static; padding-right: 20px; color: inherit; } /* Menu Modal ---------------------------- */ .menu-modal { opacity: 1; justify-content: flex-end; padding: 0; transition: background-color 0.3s ease-in, left 0s 0.3s, right 0s 0.3s; } .menu-modal.cover-modal { background: rgba(0, 0, 0, 0); } .menu-modal.active { background: rgba(0, 0, 0, 0.2); transition: background-color 0.3s ease-out; } .menu-wrapper.section-inner { width: calc(100% - 128px); } .menu-modal-inner { box-shadow: 0 0 32px 0 rgba(0, 0, 0, 0.1); opacity: 0; padding: 0; transform: translateX(240px); transition: transform 0.2s ease-in, opacity 0.2s ease-in; } .menu-modal.active .menu-modal-inner { opacity: 1; transform: translateX(0); transition-timing-function: ease-out; } .mobile-menu { display: none; } .expanded-menu { display: block; } .menu-bottom { padding: 96px 0; } } /** * start AMPFace SM */ .af_socialmediaContainer_bottom svg { float: right; margin-right: 10px; padding-right: 5px; } .af_socialmediaContainer_bottom svg { fill: #fff; opacity: 0.2; } .af_socialmediaContainer_bottom svg path { stroke: transparent; } .af_socialmediaContainer_right { position: fixed; top: 90px; left: 10px; } .af_socialmediaContainer_right svg { padding-bottom: 4px; margin-bottom: 2px; } .af_socialmediaContainer_right svg:hover { opacity: 0.8; } /** * end AMPFace SM */ /** * scroll */ html { scroll-behavior: smooth; } body { position: relative; } .jz-scrolltop-wrap { box-sizing: border-box; position: absolute; top: 240px; right: 40px; bottom: 0; pointer-events: none; -webkit-backface-visibility: hidden; backface-visibility: hidden; z-index: 999; } @supports (-moz-appearance: meterbar) { .jz-scrolltop-wrap { clip: rect(0, 60px, auto, 0); } } .jz-scrolltop-wrap a { position: fixed; position: -webkit-sticky; position: sticky; top: -60px; margin-bottom: -60px; -webkit-transform: translateY(100vh); transform: translateY(100vh); -webkit-backface-visibility: hidden; backface-visibility: hidden; display: inline-block; text-decoration: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; pointer-events: all; outline: none; overflow: hidden; } .jz-scrolltop-wrap a svg { display: block; } .jz-scrolltop-wrap a svg path { -webkit-transition: all 0.1s; transition: all 0.1s; } .jz-scrolltop-wrap a #scrolltop-arrow { -webkit-transform: scale(0.66); transform: scale(0.66); -webkit-transform-origin: center; transform-origin: center; } @media print { .jz-scrolltop-wrap { display: none !important; } } html { overflow-y: scroll; overflow-x: hidden; height: auto !important; } html[amp] { height: auto t; } .jz-scrolltop-wrap a svg path { fill: #21759b; } /** * end scroll */