D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
r3138965
/
public_html
/
wp-content
/
themes
/
national-news
/
Filename :
style.css
back
Copy
/*! Theme Name: National News Theme URI: https://adorethemes.com/downloads/national-news/ Author: Adore Themes Author URI: https://adorethemes.com/ Description: National News is an advanced news magazine WordPress theme with a fast, sleek, and contemporary appearance. It is well-suited for various dynamic news platforms, such as newspapers, magazines, publishers, blogs, editors, online and gaming magazines, news portals, personal blogs, and review sites, as well as any other creative websites. The theme boasts a professional and up-to-date design that can be effortlessly set up, especially with its pre-built demo. It is a fully widgetized and customizable theme, empowering users to manage content using widgets and the live WordPress customizer. The theme is fully responsive, ensuring seamless compatibility across mobiles, tablets, laptops, and computers. It is a user-friendly WordPress magazine theme, characterized by its simplicity, ease of use, modernity, and creativity. The theme's codes have been optimized for search engine optimization (SEO), enabling easy visibility and attracting a greater number of visitors. The clean and secure HTML codes embedded in this theme contribute to its smooth functioning across multiple platforms. Moreover, thanks to the optimized codes, your website will experience faster page load times, facilitating quick loading. Live preview : https://demo.adorethemes.com/national-news/ Version: 1.0.1 Requires at least: 5.0 Requires PHP: 7.4 Tested up to: 6.6 License: GNU General Public License v3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html Text Domain: national-news Tags: custom-background, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, left-sidebar, right-sidebar, blog, one-column, portfolio, photography, theme-options, 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. National News is based on Underscores https://underscores.me/, (C) 2012-2020 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: ---------------------------------------------------------------- # Generic - Normalize - Box sizing # Base - Typography - Elements - Links - Forms ## Layouts # Components - Navigation - Posts and pages - Comments - Widgets - Media - Captions - Galleries # plugins - Jetpack infinite scroll # Utilities - Accessibility - Alignments --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Generic --------------------------------------------------------------*/ /* Normalize --------------------------------------------- */ /*! normalize.css v8.0.1 | 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. */ /* Root ========================================================================== */ :root { --primary-color: #df2e38; --color-text: #191B1D; --color-dark: #424242; --color-background: #fff; --color-text-rgb: 255, 255, 255; --shadow: 0 8px 20px rgba(0, 0, 0, 0.2); --light-border: #88888826; /* fonts size---------------------------------------------------- */ --font-size-xs: clamp(0.75rem, 0.19vw + 0.81rem, 0.85rem); --font-size-sm: clamp(0.85rem, 0.19vw + 0.81rem, 0.95rem); --font-size-base: clamp(1.05rem, 0.37vw + 0.96rem, 1.25rem); --font-size-md: clamp(1.3rem, 0.66vw + 1.15rem, 1.65rem); --font-size-lg: clamp(1.61rem, 1.1vw + 1.36rem, 2.19rem); --font-size-xl: clamp(2rem, 1.7vw + 1.61rem, 2.9rem); --font-size-xxl: clamp(2.5rem, 2.6vw + 1.95rem, 3.85rem); --font-size-xxxl: clamp(3rem, 3.8vw + 2.25rem, 5.1rem); /* fonts size---------------------------------------------------- */ /* font family */ --font-site-title: "Inder", serif; --font-tagline: "Roboto", sans-serif; --font-head: 'Inder', serif; --font-body: "Roboto", sans-serif; } .light-mode { --color-text: #191B1D; --color-dark: #424242; --color-light: #f7f7f7; --color-tab-border: #e8e8e8; --color-background: #fff; } .dark-mode { --color-text: #fff; --color-dark: #111111; --color-light: #2a2a2a; --color-tab-border: #4e4e4e; --color-background: #191B1D; } body { background-color: var(--color-background); } body.custom-background.dark-mode { background-color: var(--color-background); } /* Root ========================================================================== */ html { line-height: 1.15; -webkit-text-size-adjust: 100%; } /* Sections ========================================================================== */ /** * Remove the margin in all browsers. */ body { margin: 0; font-size: 1rem; } /** * Render the `main` element consistently in IE. */ main { display: block; } /** * 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.67em 0; } /* Grouping content ========================================================================== */ /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { box-sizing: content-box; height: 0; overflow: visible; } /** * 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; font-size: 1em; } /* Text-level semantics ========================================================================== */ /** * Remove the gray background on active links in IE 10. */ a { background-color: transparent; } /** * 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; text-decoration: underline; text-decoration: underline dotted; } /** * 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; font-size: 1em; } /** * 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; font-size: 100%; line-height: 1.15; margin: 0; } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { text-transform: none; } /** * Correct the inability to style clickable types in iOS and Safari. */ button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; font-size: var(--font-size-sm); border: 1px solid; border-color: var(--primary-color); background: var(--primary-color); border-radius: 3px; color: #fff; line-height: 1; padding: 0.6em 1em; } button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { opacity: 0.8; } /** * 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; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; } /** * 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; padding: 0; } /** * 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; outline-offset: -2px; } /** * 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; font: inherit; } /* 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; } /** * Add the correct display in IE 10. */ [hidden] { display: none; } /* Box sizing --------------------------------------------- */ /* Inherit box-sizing to more easily change it's value on a component level. @link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ *, *::before, *::after { box-sizing: inherit; } html { box-sizing: border-box; } /*-------------------------------------------------------------- # Base --------------------------------------------------------------*/ /* Typography --------------------------------------------- */ body, button, input, select, optgroup, textarea { color: var(--color-text); font-family: var(--font-body); font-size: 1rem; line-height: 1.5; } h1, h2, h3, h4, h5, h6 { clear: both; } p { margin-bottom: 1.5em; } 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; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; } .dark-mode pre { background-color: var(--color-dark); } code, kbd, tt, var { font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } mark, ins { background: #fff9c0; text-decoration: none; } big { font-size: 125%; } /* Elements --------------------------------------------- */ hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; } 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; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } img { height: auto; max-width: 100%; } figure { margin: 1em 0; } table { margin: 0 0 1.5em; width: 100%; } /* Links --------------------------------------------- */ a { color: var(--primary-color); } a:visited { color: var(--primary-color); } a:hover, a:focus, a:active { color: var(--primary-color); } a:focus { outline: thin dotted; } a:hover, a:active { outline: 0; } ul.social-links { margin: 0; padding: 0; list-style: none; display: flex; gap: 10px; } .author-social-contacts a, ul.social-links a { width: 20px; height: 20px; opacity: 0.8; display: flex; font-size: 16px; overflow: hidden; position: relative; align-items: center; text-decoration: none; justify-content: center; transition: all 0.3s ease; color: var(--color-text); } .author-social-contacts a:focus, .author-social-contacts a:hover, ul.social-links a:focus, ul.social-links a:hover { color: var(--primary-color); } .author-social-contacts a::before, ul.social-links a::before { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-style: normal; font-variant: normal; font-weight: 400; line-height: 1; font-family: 'Font Awesome 5 brands'; vertical-align: baseline; transition: all, ease, 0.3s; } .author-social-contacts a[href*='facebook.com']::before, ul.social-links a[href*='facebook.com']::before { content: "\f39e"; } .author-social-contacts a[href*='twitter.com']::before, ul.social-links a[href*='twitter.com']::before, .author-social-contacts a[href*='x.com']::before, ul.social-links a[href*='x.com']::before { content: "\e61b"; } .author-social-contacts a[href*='instagram.com']::before, ul.social-links a[href*='instagram.com']::before { content: "\f16d"; } .author-social-contacts a[href*='youtube.com']::before, ul.social-links a[href*='youtube.com']::before { content: "\f167"; } .author-social-contacts a[href*='discord.com']::before, ul.social-links a[href*='discord.com']::before { content: "\f392"; } .author-social-contacts a[href*='dribbble.com']::before, ul.social-links a[href*='dribbble.com']::before { content: "\f17d"; } .author-social-contacts a[href*='google.com']::before, ul.social-links a[href*='google.com']::before { content: "\f1a0"; } .author-social-contacts a[href*='line.me']::before, ul.social-links a[href*='line.me']::before { content: "\f3c0"; } .author-social-contacts a[href*='linkedin.com']::before, ul.social-links a[href*='linkedin.com']::before { content: "\f08c"; } .author-social-contacts a[href*='medium.com']::before, ul.social-links a[href*='medium.com']::before { content: "\f23a"; } .author-social-contacts a[href*='messenger.com']::before, ul.social-links a[href*='messenger.com']::before { content: "\f39f"; } .author-social-contacts a[href*='paypal.com']::before, ul.social-links a[href*='paypal.com']::before { content: "\f1ed"; } .author-social-contacts a[href*='pinterest.com']::before, ul.social-links a[href*='pinterest.com']::before { content: "\f0d2"; } .author-social-contacts a[href*='reddit.com']::before, ul.social-links a[href*='reddit.com']::before { content: "\f1a1"; } .author-social-contacts a[href*='skype.com']::before, ul.social-links a[href*='skype.com']::before { content: "\f17e"; } .author-social-contacts a[href*='slack.com']::before, ul.social-links a[href*='slack.com']::before { content: "\f198"; } .author-social-contacts a[href*='snapchat.com']::before, ul.social-links a[href*='snapchat.com']::before { content: "\f2ad"; } .author-social-contacts a[href*='spotify.com']::before, ul.social-links a[href*='spotify.com']::before { content: "\f1bc"; } .author-social-contacts a[href*='stackoverflow.com']::before, ul.social-links a[href*='stackoverflow.com']::before { content: "\f16c"; } .author-social-contacts a[href*='telegram.org']::before, ul.social-links a[href*='telegram.org']::before { content: "\f3fe"; } .author-social-contacts a[href*='twitch.tv']::before, ul.social-links a[href*='twitch.tv']::before { content: "\f1e8"; } .author-social-contacts a[href*='vimeo.com']::before, ul.social-links a[href*='vimeo.com']::before { content: "\f27d"; } .author-social-contacts a[href*='whatsapp.com']::before, ul.social-links a[href*='whatsapp.com']::before { content: "\f232"; } .author-social-contacts a[href*='wordpress.org']::before, ul.social-links a[href*='wordpress.org']::before { content: "\f19a"; } .author-social-contacts a[href*='youtube.com']::before, ul.social-links a[href*='youtube.com']::before { content: "\f167"; } .author-social-contacts a:focus, ul.social-links a:focus, .author-social-contacts a:hover, ul.social-links a:hover { opacity: 1; } /* social widget */ .adore-widget.social-widget .social-widgets-wrap a { padding: 12px; width: 40px; height: 40px; color: #fff; line-height: 1; border-radius: 50%; overflow: visible; display: flex; align-items: center; justify-content: center; gap: 5px; opacity: 0.8; font-size: var(--font-size-sm); transition: all 0.5s; } .adore-widget.social-widget .social-widgets-wrap a:focus, .adore-widget.social-widget .social-widgets-wrap a:hover { opacity: 1; transform: translateY(-5px); } .adore-widget.social-widget .social-widgets-wrap a[href*='facebook.com'] { background-color: #3b5999; } .adore-widget.social-widget .social-widgets-wrap a[href*='twitter.com'] { background-color: #55acee; } .adore-widget.social-widget .social-widgets-wrap a[href*='x.com'] { background-color: #000000; } .adore-widget.social-widget .social-widgets-wrap a[href*='instagram.com'] { background-color: #3F729B; } .adore-widget.social-widget .social-widgets-wrap a[href*='youtube.com'] { background-color: #cd201f; } .adore-widget.social-widget .social-widgets-wrap a[href*='discord.com'] { background-color: #5865F2; } .adore-widget.social-widget .social-widgets-wrap a[href*='dribbble.com'] { background-color: #ea4c89; } .adore-widget.social-widget .social-widgets-wrap a[href*='google.com'] { background-color: #dd4b39; } .adore-widget.social-widget .social-widgets-wrap a[href*='line.me'] { background-color: #00b900; } .adore-widget.social-widget .social-widgets-wrap a[href*='linkedin.com'] { background-color: #0e76a8; } .adore-widget.social-widget .social-widgets-wrap a[href*='medium.com'] { background-color: #66cdaa; } .adore-widget.social-widget .social-widgets-wrap a[href*='messenger.com'] { background-color: #006AFF; } .adore-widget.social-widget .social-widgets-wrap a[href*='paypal.com'] { background-color: #3b7bbf; } .adore-widget.social-widget .social-widgets-wrap a[href*='pinterest.com'] { background-color: #E60023; } .adore-widget.social-widget .social-widgets-wrap a[href*='reddit.com'] { background-color: #ff5700; } .adore-widget.social-widget .social-widgets-wrap a[href*='skype.com'] { background-color: #00aff0; } .adore-widget.social-widget .social-widgets-wrap a[href*='slack.com'] { background-color: #ECB22E; } .adore-widget.social-widget .social-widgets-wrap a[href*='snapchat.com'] { background-color: #FFFC00; } .adore-widget.social-widget .social-widgets-wrap a[href*='spotify.com'] { background-color: #1DB954; } .adore-widget.social-widget .social-widgets-wrap a[href*='stackoverflow.com'] { background-color: #F47F24; } .adore-widget.social-widget .social-widgets-wrap a[href*='telegram.org'] { background-color: #229ED9; } .adore-widget.social-widget .social-widgets-wrap a[href*='twitch.tv'] { background-color: #6441a5; } .adore-widget.social-widget .social-widgets-wrap a[href*='vimeo.com'] { background-color: #86c9ef; } .adore-widget.social-widget .social-widgets-wrap a[href*='whatsapp.com'] { background-color: #34B7F1; } .adore-widget.social-widget .social-widgets-wrap a[href*='wordpress.org'] { background-color: #21759b; } .adore-widget.social-widget .social-widgets-wrap a[href*='youtube.com'] { background-color: #c4302b; } /* social widget */ /* Forms --------------------------------------------- */ button, input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; font-size: var(--font-size-sm); border: 1px solid; border-color: var(--primary-color); background: var(--primary-color); border-radius: 3px; color: #fff; line-height: 1; padding: 0.6em 1em; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { opacity: 0.8; } 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 { opacity: 0.8; } 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: var(--color-text); border: 1px solid #ccc; border-radius: 3px; padding: 3px; width: 100%; background-color: var(--color-background); } 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: var(--color-text); } select { border: 1px solid #ccc; } textarea { width: 100%; } input::placeholder{ color: var(--color-text); } /*-------------------------------------------------------------- # Layouts --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Components --------------------------------------------------------------*/ /* Posts and pages --------------------------------------------- */ .sticky { display: block; } .post, .page { margin: 0 0 1.5em; } .home.page { margin-bottom: 0; } .updated:not(.published) { display: none; } .page-content, .entry-content, .entry-summary { margin: 1.5em 0 0; } .page-links { clear: both; margin: 0 0 1.5em; } /* Comments --------------------------------------------- */ .comment-content a { word-wrap: break-word; } .bypostauthor { display: block; } /* Widgets --------------------------------------------- */ .widget { margin: 0 0 30px; } .widget select { max-width: 100%; } .widget_block h1, .widget_block h2, .widget_block h3, .widget_block h4, .widget_block h5, .widget_block h6 { margin-top: 0; margin-bottom: 10px; line-height: 1.2; } /*widget list==*/ .widget ol, .widget ul { list-style: none; padding: 0; margin-inline: 0; } .widget:not(.adore-widget) ol li, .widget:not(.adore-widget) ul li { margin-bottom: 7px; padding-bottom: 7px; font-size: var(--font-size-sm); border-bottom: 1px solid rgba(var(--color-text-rgb), 0.15); } .widget ol li a, .widget ul li a { text-decoration: none; color: var(--color-text); transition: all 0.5s linear; } .widget ol li a:focus, .widget ul li a:focus, .widget ol li a:hover, .widget ul li a:hover { color: var(--primary-color); } .widget ol ol, .widget ul ol, .widget ol ul, .widget ul ul { padding-top: 7px; margin-left: 10px; padding-left: 10px; } .widget>ol>li, .widget>ul>li { margin-bottom: 7px; padding-bottom: 7px; font-size: 14px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } .widget>ol>li a, .widget>ul>li a { color: var(--color-text); transition: all 0.5s linear; } .widget>ol>li a:focus, .widget>ul>li a:focus, .widget>ol>li a:hover, .widget>ul>li a:hover { color: var(--primary-color); } .widget ol>li:last-child, .widget ul>li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } /*widget list==*/ /*widget tag cloud ==*/ .wp-block-tag-cloud a, .tagcloud a { display: inline-block; text-decoration: none; font-size: var(--font-size-sm) !important; color: var(--color-text); border: 1px solid var(--color-tab-border); padding: 7px 14px; margin-inline-end: 7px; margin-block-end: 10px; line-height: 1.2; } .wp-block-tag-cloud a:focus, .tagcloud a:focus, .wp-block-tag-cloud a:hover, .tagcloud a:hover { color: #fff; background-color: var(--primary-color); border: 1px solid var(--primary-color); } .site-footer .wp-block-tag-cloud a, .site-footer .tagcloud a { border: 1px solid #fff; } .site-footer .wp-block-tag-cloud a:focus, .site-footer .tagcloud a:focus, .site-footer .wp-block-tag-cloud a:hover, .site-footer .tagcloud a:hover { color: var(--primary-color); border: 1px solid var(--primary-color); } /*widget tag cloud ==*/ /*widget search ==*/ .widget.widget_search .wp-block-search__inside-wrapper { display: flex; } .widget.widget_search .wp-block-search__inside-wrapper .wp-block-search__input { border: 1px solid #d3ced2; padding: 6px 16px; font-size: 0.9rem; } .widget.widget_search .wp-block-search__inside-wrapper .wp-block-search__input:focus-visible { outline: 0; } .widget.widget_search .wp-block-search__inside-wrapper .wp-block-search__button { cursor: pointer; color: #fff; background-color: var(--primary-color); margin: 0; padding: 10px 25px; } .search-form { display: flex; } .search-form label, .search-form .search-field { width: 100%; } .search-form .search-field { border: 1px solid #d3ced2; padding: 6px 16px; font-size: 0.9rem; border-radius: 0; } .search-form .search-submit { border-radius: 0; } /*widget search ==*/ /*widget wp social links ==*/ .wp-block-social-links li { margin: 0 !important; padding: 0 !important; } /*widget wp social links ==*/ /*widget calendar ==*/ .wp-block-calendar table th { background-color: var(--color-dark); color: #fff; } .wp-block-calendar tbody td, .wp-block-calendar th { border: 1px solid rgba(var(--color-text-rgb), 0.15); } .wp-block-calendar table caption, .wp-block-calendar table tbody { color: var(--color-text); } .wp-block-calendar a { color: var(--primary-color); } /*widget calendar ==*/ /* 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 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; display: grid; grid-gap: 1.5em; } .gallery-item { display: inline-block; text-align: center; width: 100%; } .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); } .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); } .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); } .gallery-columns-5 { grid-template-columns: repeat(5, 1fr); } .gallery-columns-6 { grid-template-columns: repeat(6, 1fr); } .gallery-columns-7 { grid-template-columns: repeat(7, 1fr); } .gallery-columns-8 { grid-template-columns: repeat(8, 1fr); } .gallery-columns-9 { grid-template-columns: repeat(9, 1fr); } .gallery-caption { display: block; } /*-------------------------------------------------------------- # Plugins --------------------------------------------------------------*/ /* Jetpack infinite scroll --------------------------------------------- */ /* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */ .infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer { display: none; } /* Re-display the Theme Footer when Infinite Scroll has reached its end. */ .infinity-end.neverending .site-footer { display: block; } /*-------------------------------------------------------------- # Utilities --------------------------------------------------------------*/ /* 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; } .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: 0.875rem; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; } /* Do not show the outline on the skip link target. */ #primary[tabindex="-1"]:focus { outline: 0; } /* Alignments --------------------------------------------- */ .alignleft { /*rtl:ignore*/ float: left; /*rtl:ignore*/ margin-right: 1.5em; margin-bottom: 1.5em; } .alignright { /*rtl:ignore*/ float: right; /*rtl:ignore*/ margin-left: 1.5em; margin-bottom: 1.5em; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em; } /* Preloader --------------------------------------------- */ #loader { overflow-x: hidden; overflow-y: hidden; vertical-align: middle; background-color: var(--color-background); position: fixed; display: flex; align-items: center; justify-content: center; width: 100%; top: 0; left: 0; height: 100%; min-height: 100%; z-index: 99999; } #loader .loader-container { position: relative; z-index: 12; } #loader #preloader { position: relative; margin: auto; width: 100px; display: flex; align-items: center; justify-content: center; } #preloader .pre-loader-5 { height: 15px; aspect-ratio: 4; --_g: no-repeat radial-gradient(farthest-side, currentColor 90%, #0000); background: var(--_g) left, var(--_g) right; background-size: 25% 100%; display: grid; } #preloader .pre-loader-5:before, #preloader .pre-loader-5:after { content: ""; height: inherit; aspect-ratio: 1; grid-area: 1/1; margin: auto; border-radius: 50%; transform-origin: -100% 50%; background: currentColor; animation: load-5 1s infinite linear; } #preloader .pre-loader-5:after { transform-origin: 200% 50%; --s: -1; animation-delay: -.5s; } @keyframes load-5 { 58%, 100% { transform: rotate(calc(var(--s, 1)*1turn)) } } /* Preloader --------------------------------------------- */ /* Theme Wrapper --------------------------------------------- */ body:not(.home):not(.home.blog) .site-content { margin-top: 50px; } .theme-wrapper { max-width: 1700px; margin-inline: auto; padding-left: 15px; padding-right: 15px; } .main-widget-section-wrap, .theme-wrap { display: flex; flex-wrap: wrap; align-items: flex-start; margin-inline: -15px; } .main-widget-section-wrap .secondary-widgets-area, .main-widget-section-wrap .primary-widgets-area, .theme-wrap #secondary, .theme-wrap #primary { width: 100%; padding-inline: 15px; } .main-widget-section-wrap.secondary-left-position, .left-sidebar .theme-wrap { flex-direction: row-reverse; } .main-widget-section-wrap.full-width, .no-sidebar .theme-wrap { display: block; } @media (min-width: 992px) { .main-widget-section-wrap.secondary-right-position:not(.full-width) .primary-widgets-area, .main-widget-section-wrap.secondary-left-position:not(.full-width) .primary-widgets-area, .theme-wrap #primary { width: 70%; flex-grow: 1; } .main-widget-section-wrap.secondary-right-position:not(.full-width) .secondary-widgets-area, .main-widget-section-wrap.secondary-left-position:not(.full-width) .secondary-widgets-area, .theme-wrap #secondary { width: 30%; position: sticky; top: 40px; flex-shrink: 0; } .no-sidebar .theme-wrap #secondary, .no-sidebar .theme-wrap #primary { width: 100%; } } /* End Theme Wrapper --------------------------------------------- */ .site-content { margin-top: 30px; } /* sections Start --------------------------------------------- */ .main-banner-section, .below-banner-widget-section, .above-footer-widget-section, .main-widget-section, .frontpage { margin-top: 30px; } .frontpage.dark-mode{ color: #fff; padding-block: 30px; background-color: #222; } /* sections End --------------------------------------------- */ /* header navigation start --------------------------------------------- */ .site-header { margin-bottom: 20px; background-color: var(--primary-color); } .site-header.adore-header-image { position: relative; background-position: center; background-repeat: no-repeat; background-size: cover; } .site-header.adore-header-image>* { position: relative; z-index: 1; } .site-header.adore-header-image::before { position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; opacity: 0.2; } /* top header=============== */ .top-header { padding-block: 8px; position: relative; isolation: isolate; color: #fff; &::before{ position: absolute; content: ""; inset: 0; opacity: 0.2; z-index: -1; background-color: #000; } } .site-header.adore-header-image .top-header::before { opacity: 0.3; } .top-header .top-header-wrap { display: flex; align-items: center; justify-content: space-between; } .top-header-wrap .left-side .top-info { font-size: var(--font-size-sm); font-weight: bold; letter-spacing: 0.5px; } .top-header-wrap .right-side { margin-block: -10px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; } .top-menu ul { padding: 0; margin: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .top-menu ul li a { text-decoration: none; color: #fff; opacity: 0.9; display: flex; align-items: center; } .top-menu ul li a::after { content: "\22C5"; font-size: 24px; font-weight: bold; padding: 0 0 0 5px; opacity: 0.7; line-height: 0; height: 2px; } .top-menu ul li:last-child a::after { display: none; } .top-menu ul li a:focus, .top-menu ul li a:hover { opacity: 1; } .top-header-wrap .right-side ul.social-links { gap: 0; } .top-header-wrap .right-side ul.social-links a { color: #fff; padding: 15px; opacity: 1; } @media (max-width: 600px) { .top-header .top-header-wrap { flex-direction: column; gap: 10px; } .top-header-wrap .right-side { margin-block: 0; flex-direction: column; justify-content: center; } .top-menu ul { justify-content: center; } } /* top header=============== */ /* middle header=============== */ .middle-header-wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; gap: 30px; @media (max-width: 991px) { flex-direction: column; } } .site-branding{ @media (max-width: 991px) { text-align: center; } .site-identity{ .site-title { font-size: var(--font-size-xxl); line-height: 1.1; font-weight: 700; margin: 0; a { text-decoration: none; font-family: var(--font-site-title); } } .site-description { margin-bottom: 0; margin-top: 5px; color: #fff; font-family: var(--font-tagline); } } } .middle-header-wrap:has(.adver-1):has(.adver-2) { gap: 20px; .site-branding { @media (min-width: 992px) { width: 33.33%; flex-shrink: 0; } } .adore-adver-part { @media (min-width: 992px) { width: 33.33%; } } .adver-1 { order: 1; } .site-branding { order: 2; text-align: center; .site-logo { margin-inline: auto; } } .adver-2 { order: 3; } } .middle-header-wrap:not(:has(.adver-1)):not(:has(.adver-2)) { justify-content: center; .site-branding { text-align: center; .site-logo { margin-inline: auto; } } } /* adore adver============ */ .adore-adver-part { width: 100%; } @media (min-width: 992px) { .adore-adver-part { width: 60%; } } .adore-adver-part a { display: block; line-height: 0; } .adore-adver-part a img { width: 100%; } .adore-adver-part a:focus { outline-color: #fff; outline-offset: 2px; } /* adore adver============ */ /* middle header=============== */ /* bottom header=============== */ .site-header.adore-header-image .adore-header { background-color: rgba(0,0,0,0.3); } .adore-header { border-top: 1px solid rgba(0, 0, 0, 0.3); } .header-nav-search { display: flex; align-items: center; justify-content: space-between; } /*random post */ .header-end { display: flex; align-items: center; gap: 5px; padding-inline-end: 10px; } .display-random-post { width: 30px; display: flex; align-items: center; justify-content: center; } .display-random-post a { color: #fff; font-size: 16px; font-weight: 700; text-align: center; outline: 0; height: 30px; width: 30px; display: flex; align-items: center; justify-content: center; text-decoration: none; } .display-random-post a:focus, .display-random-post a:hover { background-color: rgba(0, 0, 0, 0.2); } .display-random-post a:focus { outline: 1px dotted; } /*random post */ /* light dark mode */ .theme-toggle__classic { width: 100%; height: 100%; * { transform-origin: center; transition-timing-function: cubic-bezier(0, 0, 0.05, 1.15); transition-property: opacity, transform, d; transition-duration: 500ms; } g { path { transition-duration: calc(500ms * 0.8); transition-delay: calc(500ms * 0.2); } } } .dark-mode .theme-toggle__classic { g { path { transform: scale(0.5) rotate(45deg); opacity: 0; transition-delay: 0s; } } circle:not(.crecent) { transform: scale(1.7); fill: transparent; box-shadow: inset 16px 0px #fff, inset 16px 0px 1px 2px #fff; } } div.moon-crecent{ position: absolute; inset: 7px; border-radius: 100%; background-color: transparent; transform-origin: center; transition-timing-function: cubic-bezier(0, 0, 0.05, 1.15); transition-property: all; transition-duration: 500ms; .dark-mode &{ transform: scale(1); transition-delay: calc(500ms* 0.2); box-shadow: inset 5px -1px 0 1px #fff; } .light-mode &{ transform: scale(0); box-shadow: inset 25px -1px 0 1px #fff; } } /* light dark mode */ /* navigation search */ .navigation-search { width: 30px; position: relative; display: inline-block; text-align: center; } .navigation-search .navigation-search-wrap .navigation-search-icon { color: #fff; font-size: 14px; font-weight: 700; text-align: center; outline: 0; height: 30px; width: 30px; display: flex; align-items: center; justify-content: center; text-decoration: none; } .navigation-search .navigation-search-wrap .navigation-search-icon:focus, .navigation-search .navigation-search-wrap .navigation-search-icon:hover { background-color: rgba(0, 0, 0, 0.2); } .navigation-search .navigation-search-wrap .navigation-search-icon:focus-within { outline: 1px dashed; } .navigation-search .navigation-search-wrap .navigation-search-form { position: absolute; background: #fff; right: 0; opacity: 0; visibility: hidden; top: 100%; width: 325px; padding: 14px; z-index: 99; box-shadow: 0 2px 9px -7px #000; } .dark-mode .navigation-search .navigation-search-wrap .navigation-search-form { background-color: var(--color-dark); } .navigation-search .navigation-search-wrap .navigation-search-form .search-form { display: flex; } .navigation-search .navigation-search-wrap .navigation-search-form .search-form label { width: 75%; } .navigation-search .navigation-search-wrap .navigation-search-form .search-form label input { width: 100%; border-radius: 0px; } .navigation-search .navigation-search-wrap .navigation-search-form .search-form input.search-submit { border-radius: 0px; width: 25%; margin: 0; font-size: var(--font-size-sm); border: none; background: var(--primary-color); color: #fff; line-height: 1; padding: 0.6em 1em; } .navigation-search .navigation-search-wrap.show .navigation-search-form { margin: 0; opacity: 1; visibility: visible; } @media (max-width: 480px) { .navigation-search { position: unset; } .navigation-search .navigation-search-wrap .navigation-search-form { width: 100%; } } /* navigation search */ /* desktop navigation */ .main-navigation ul { list-style: none; padding: 0; margin: 0; } .main-navigation ul a { text-decoration: none; } @media(min-width:992px) { .menu-toggle { display: none; } .header-nav-search { display: flex; align-items: center; } .main-navigation ul { display: flex !important; flex-wrap: wrap; } .main-navigation ul li.menu-item-has-children>a::after { font-style: normal; font-variant: normal; font-weight: 400; line-height: 1; font-family: Font Awesome\ 5 Free; font-weight: 900; line-height: inherit; vertical-align: baseline; content: "\f107"; display: inline-block; margin-inline-start: 10px; } .main-navigation ul ul li.menu-item-has-children>a::after { content: "\f105"; } .main-navigation ul a { padding: 15px; text-transform: uppercase; color: #fff; display: inline-block; font-weight: 700; font-size: var(--font-size-sm); } .main-navigation ul li a:focus, .main-navigation ul li a:hover { background-color: rgba(0, 0, 0, 0.2); } .main-navigation ul ul { width: 200px; display: block; position: absolute; text-align: left; visibility: hidden; filter: alpha(opacity=0); opacity: 0; margin: 0 auto; padding: 0; box-shadow: 0 5px 5px rgb(0 0 0 / 30%); transition: top 0.4s; top: 100%; left: 0px; flex-direction: column; background-color: #fff; } .dark-mode .main-navigation ul ul { background-color: var(--color-dark); } .main-navigation ul ul a { display: block; padding: 10px 15px; display: flex; justify-content: space-between; color: var(--color-text); } .main-navigation ul ul a:focus, .main-navigation ul ul a:hover { color: var(--primary-color); background-color: rgba(0, 0, 0, 0.05); } .main-navigation ul ul li { border-bottom: 1px solid rgba(var(--color-text-rgb), 0.15); } .main-navigation ul ul li a { text-transform: capitalize; } .main-navigation .menu li { position: relative; } .main-navigation ul li:focus-within>ul, .main-navigation ul li:hover>ul { visibility: visible; filter: alpha(opacity=1); opacity: 1; z-index: 999; } .main-navigation ul ul li:focus-within>ul, .main-navigation ul ul li:hover>ul { top: 100%; } .main-navigation ul ul li ul { top: 0; } .main-navigation ul ul li:focus-within ul, .main-navigation ul ul li:hover ul { top: 0; left: 100%; } .main-navigation ul .current_page_item>a, .main-navigation ul .current-menu-item>a{ background-color: rgba(0, 0, 0, 0.2); } } @media(max-width:991px) { .menu-toggle { width: 35px; height: 35px; position: relative; transform: rotate(0deg); transition: 0.5s ease-in-out; cursor: pointer; padding: 0; background: none; border: none; margin: 5px; } .menu-toggle span { display: block; position: absolute; height: 3px; width: 100%; background-color: #fff; border-radius: 3px; opacity: 1; left: 0; transform: rotate(0deg); transition: 0.25s ease-in-out; } .menu-toggle span:nth-child(1) { top: calc(50% - 15px); } .menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); } .menu-toggle span:nth-child(3) { bottom: calc(50% - 15px); } .main-navigation.toggled .menu-toggle { opacity: 1; } .main-navigation.toggled .menu-toggle span:nth-child(1) { top: 14px; width: 0%; left: 50%; } .main-navigation.toggled .menu-toggle span:nth-child(2) { transform: rotate(45deg); } .main-navigation.toggled .menu-toggle span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); } .header-wrapper { flex-direction: column; } .header-nav-search { width: 100%; } .header-nav-search { display: flex; align-items: center; justify-content: space-between; position: relative; } .main-navigation ul.nav-menu { margin: 0; padding: 0; list-style: none; text-align: left; position: absolute; top: 100%; width: 100%; z-index: 9999; display: none; background: #fff; box-shadow: var(--shadow); } .dark-mode .main-navigation ul.nav-menu { background-color: var(--color-dark); } .main-navigation ul li.menu-item-has-children>a::after { font-style: normal; font-variant: normal; font-weight: 400; line-height: 1; font-family: Font Awesome\ 5 Free; font-weight: 900; line-height: inherit; vertical-align: baseline; content: "\f107"; display: inline-block; margin-inline-start: 10px; } .main-navigation ul a { padding: 15px; text-transform: uppercase; color: var(--color-text); display: block; } .main-navigation ul li:not(:last-child) { border-bottom: 1px solid rgba(var(--color-text-rgb), 0.15); } .main-navigation ul li:first-child { border-top: 1px solid rgba(var(--color-text-rgb), 0.15); } .main-navigation ul ul { height: 0; transform: scaleY(0); transform-origin: top left; overflow: hidden; transition: all 0.5s ease-in-out; margin-inline-start: 10px; } .main-navigation ul li.menu-item-has-children:hover>ul, .main-navigation ul li.menu-item-has-children.focus>ul { height: auto; transform: scaleY(1); } .main-navigation ul ul a { display: block; padding: 10px 15px; } .main-navigation ul ul li { border-bottom: 1px solid #f1f1f1; } .main-navigation ul ul li a { text-transform: capitalize; } .main-navigation ul ul li a:focus { outline-offset: -2px; } .main-navigation .menu li { position: relative; } } /* desktop navigation */ /* header navigation end --------------------------------------------- */ /* Post Item Common --------------------------------------------- */ .post-item { .post-item-image { position: relative; overflow: hidden; border-radius: 5px; a { display: block; height: 100%; width: 100%; line-height: 0; img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s ease-in-out; } } } .post-item-content { padding: 15px 0 0; .entry-cat{ .post-categories { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; li { margin-inline-end: 5px; margin-block-start: 5px; display: flex; a { color: #fff; display: block; background-color: var(--primary-color); font-size: calc(var(--font-size-sm) - 2px); letter-spacing: 0.5px; text-decoration: none; line-height: 1; padding: 5px 7px; &:focus { outline-offset: 2px; outline-color: var(--color-text); } } } } &.no-bg{ .post-categories li{ a { color: var(--primary-color); background-color: transparent; text-transform: uppercase; font-weight: bold; border-radius: 0; padding: 0; &:focus, &:hover { opacity: 1; color: var(--color-text); } } &:not(:last-child) a:after { content: "\22C5"; font-weight: bold; padding: 0 0 0 5px; opacity: 0.7; color: var(--color-text); } } } } .entry-title { margin-block: 10px; line-height: 1.3; font-size: var(--font-size-base); font-family: var(--font-head); a { color: var(--color-text); display: inline; text-decoration-line: underline; text-decoration-color: transparent; transition: all 0.5s; &:focus, &:hover { color: var(--primary-color); text-decoration-color: currentColor; } } } .entry-meta { margin: 0; margin-block-end: 10px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; column-gap: 12px; li { margin-bottom: 0; font-size: var(--font-size-xs); text-transform: capitalize; font-weight: 500; a { text-decoration: none; color: var(--color-text); &:focus, &:hover{ color: var(--primary-color); } } &:last-child { display: flex; align-items: center; } span { margin-inline-end: 5px; } } &:last-child { margin-block-end: 0; } } .post-exerpt p { margin-block: 10px; margin-block-start: 0; } } } .post-item.post-list { display: flex; &:has(img){ .post-item-image { flex: 0 0 50%; max-width: 50%; aspect-ratio: 1/0.7; } .post-item-content { padding: 20px; align-self: center; } } .post-item-content { flex-grow: 1; } } .post-item.overlay-post { min-height: 380px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; background-repeat: no-repeat; background-size: cover; background-position: center; border-radius: 5px; &::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(17, 17, 17, 0)), color-stop(80%, rgba(17, 17, 17, 0.6)), to(#111111)); background-image: linear-gradient(to bottom, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.6) 80%, #111111 100%); background-repeat: no-repeat; background-size: cover; background-position: center center; border-radius: 5px; } .post-item-image { position: absolute; width: 100%; height: 100%; border-radius: 5px; &::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(17, 17, 17, 0)), color-stop(80%, rgba(17, 17, 17, 0.6)), to(#111111)); background-image: linear-gradient(to bottom, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.6) 80%, #111111 100%); background-repeat: no-repeat; background-size: cover; background-position: center center; z-index: 2; border-radius: 5px; } } .post-overlay { position: relative; z-index: 1; } .post-item-content{ .entry-cat .post-categories li a { font-weight: 500; &:focus { outline-color: #fff; } &:focus, &:hover { color: #fff; } } .entry-title { a {color: #fff;} } .entry-meta li a, .entry-meta li { color: #fff; } } >.post-item-content{ position: relative; z-index: 3; padding: 20px; } &:not(:has(.post-overlay)){ padding: 0; } } /* Post Item Common --------------------------------------------- */ /* section header and widget title --------------------------------------------- */ .widget-header { display: flex; align-items: flex-end; justify-content: space-between; position: relative; border-bottom: 1px solid var(--color-tab-border); padding-bottom: 5px; margin-bottom: 15px; .widget-title{ margin: 0; font-size: var(--font-size-md); } >a { display: flex; align-items: center; text-decoration: none; font-size: var(--font-size-sm); color: var(--color-text); transition: all 0.5s; &::after { width: 20px; aspect-ratio: 1; font-style: normal; font-variant: normal; font-weight: 400; font-family: Font Awesome\ 5 Free; font-weight: 900; font-size: var(--font-size-xs); vertical-align: baseline; content: "\f061"; display: flex; align-items: center; justify-content: center; margin-inline-start: 10px; transition: all 0.5s; background-color: var(--color-tab-border); } &:focus, &:hover { color: var(--primary-color); &::after { color: #fff; background-color: var(--primary-color); } } } &::after{ position: absolute; bottom: -2px; inset-inline-start: 0; content: ""; width: 40px; height: 3px; background-color: var(--primary-color); } } .site-footer .widget-header { >a{ &::after { background-color: #4e4e4e; } &:focus, &:hover { &::after { color: #fff; background-color: var(--primary-color); } } } } body.rtl .widget-header>a::after { content: "\f060"; } .widget{ > .widget-title{ margin: 0; margin-bottom: 30px; position: relative; padding-bottom: 15px; font-size: var(--font-size-md); border-bottom: 1px solid var(--color-tab-border); &::after{ position: absolute; bottom: -2px; inset-inline-start: 0; content: ""; width: 88px; height: 3px; background-color: var(--primary-color); } } } @container (max-width: 600px){ .widget-header:has(.tabs-nav-filter){ flex-direction: column; align-items: flex-start; } } @media (max-width: 600px){ .widget-header:has(.tabs-nav-filter){ flex-direction: column; align-items: flex-start; } } /* section header and widget title --------------------------------------------- */ /* Adore Slick Navigation css start --------------------------------------------- */ .adore-navigation .adore-arrow { position: absolute; top: 5px; font-size: var(--font-size-sm); width: 40px; height: 40px; background: transparent; color: #fff; border: 1px solid #fff; text-align: center; line-height: 30px; z-index: 1; cursor: pointer; font-weight: 600; transition: 0.4s; padding: 0; border-radius: 5px; display: flex; align-items: center; justify-content: center; background-color: rgba(255, 255, 255, 0.5); backdrop-filter: blur(15px); /* color: var(--color-text); */ } .adore-navigation .adore-arrow:focus, .adore-navigation .adore-arrow:hover { opacity: 1; backdrop-filter: blur(0); background: var(--primary-color); color: #fff; } .adore-navigation .adore-arrow.slide-prev { right: 50px; } .adore-navigation .adore-arrow.slide-next { right: 5px; } .adore-navigation .slick-dots { margin: 0px; padding: 0; width: 100%; list-style: none; display: flex; align-items: center; justify-content: center; margin-inline: auto; } .adore-navigation .slick-dots li { margin-inline: 5px; } .adore-navigation .slick-dots li button { cursor: pointer; font-size: 0; padding: 0; inline-size: 10px; aspect-ratio: 1; border-radius: 50%; border: none; background-color: var(--color-text); transition: all 0.3s ease; } .adore-navigation .slick-dots li button:focus, .adore-navigation .slick-dots li button:hover { background-color: var(--primary-color); } .adore-navigation .slick-dots li.slick-active button { background-color: var(--primary-color); transform: scale(1.3); } /* Adore Slick Navigation css end --------------------------------------------- */ /* news ticker Section start --------------------------------------------- */ .breaking-news-section:first-child{ margin-top: 20px; } .breaking-news-section-wrapper{ display: flex; align-items: center; overflow: hidden; border-radius: 5px; border: 1px solid var(--color-tab-border); .breaking-news-label-wrap{ flex-shrink: 0; background-color: var(--primary-color); .breaking-news-label{ margin-block: 0; padding: 7px 10px; color: #fff; font-weight: normal; } } .marquee-part{ padding: 0 5px; overflow: hidden; position: relative; .marquee { width: 10000px; overflow: hidden; display: flex; align-items: center; .js-marquee-wrapper { display: flex; align-items: center; .js-marquee { display: flex; gap: 20px; align-items: center; } } } } .breaking-news-wrapper{ padding: 0; margin: 0; li:has(.post-item){ padding-inline: 10px; } } .post-item.post-list .post-item-image { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; flex-basis: unset; background: linear-gradient(to bottom, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.6) 80%, #111111 100%); img{ height: 100%; width: 100%; object-fit: cover; } } .post-item.post-list .post-item-content { align-self: center; padding-block: 0; padding-inline-end: 10px; padding-inline-start: 10px; } .post-item-content .entry-title { margin: 0; font-weight: 500; font-size: var(--font-size-sm); } } /* news ticker Section end --------------------------------------------- */ /* Banner Section --------------------------------------------- */ /* Style 1 */ .breaking-news-section+.main-banner-section { margin-top: 20px; } .main-banner-section.style-1{ .main-banner-section-wrapper{ display: flex; flex-wrap: wrap; align-items: flex-start; margin-inline: -10px; >*{ padding-inline: 10px; margin-bottom: 30px; @media (min-width: 992px){ position: sticky; top: 40px; } } .main-news-outer{ width: 50%; @media (max-width: 768px){ width: 100%; } .main-news-wrap{ border-radius: 5px; overflow: hidden; .post-item.overlay-post{ min-height: 500px; @media (max-width: 767px) { min-height: 350px; } .entry-title { font-size: var(--font-size-lg); } } } } .editor-pick-outer{ width: 50%; @media (max-width: 768px){ width: 100%; } .editor-pick-wrapper{ display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); @media (max-width: 600px){ grid-template-columns: repeat(1, 1fr); } .post-item.overlay-post{ min-height: 240px; } } } } } /* Style 1 */ /* Style 2 */ .main-banner-section.style-2{ .main-banner-section-wrapper{ display: flex; flex-wrap: wrap; align-items: flex-start; margin-inline: -10px; >*{ padding-inline: 10px; margin-bottom: 30px; @media (min-width: 992px){ position: sticky; top: 40px; } } .editor-pick-outer{ width: 25%; @media (max-width: 1024px){ width: 30%; } @media (max-width: 768px){ width: 100%; } .editor-pick-wrapper{ display: grid; gap: 20px; grid-template-columns: repeat(1, 1fr); .post-item.overlay-post{ min-height: 215px; } } } .main-featured-grid{ width: 75%; @media (max-width: 1024px){ width: 70%; } @media (max-width: 768px){ width: 100%; } .main-featured{ display: flex; flex-wrap: wrap; align-items: flex-start; margin-inline: -10px; @media (max-width: 1024px){ flex-direction: column; } >*{ padding-inline: 10px; margin-bottom: 20px; @media (min-width: 1025px){ position: sticky; top: 40px; } } .main-news-outer{ width: 70%; @media (max-width: 1024px){ width: 100%; } .main-news-wrap{ border-radius: 5px; overflow: hidden; .post-item.overlay-post{ min-height: 450px; .entry-title { font-size: var(--font-size-lg); } } } } .featured-posts-outer{ width: 30%; @media (max-width: 1024px){ width: 100%; } .featured-posts{ @media (max-width: 1024px){ display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); } } .post-item{ &:not(:last-child){ margin-bottom: 20px; } &.post-list:not(:has(img)) { align-items: center; padding: 15px; border: 1px solid var(--color-tab-border); .post-item-content{ padding: 0; } } &.post-list:has(img) .post-item-image { flex: 0 0 27%; max-width: 27%; aspect-ratio: 1; } &.post-list .post-item-content{ padding: 0; padding-inline-start: 15px; } &.post-list .post-item-content .entry-title { margin-block: 5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: var(--font-size-sm); } &.post-list .post-item-content .entry-meta { margin: 0; } } } } .banner-grid-outer{ .banner-grid-wrapper { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); @media (max-width: 1023px) { grid-template-columns: repeat(2, 1fr); } @media (max-width: 767px) { display: flex; flex-direction: column; } .post-item.overlay-post{ min-height: 223px; &:first-child{ grid-row: span 2; } } } } } } } /* Style 2 */ /* End Banner Section --------------------------------------------- */ /* Start Grid Posts Section --------------------------------------------- */ .post-item.post-grid .post-item-image .post-thumbnail img, .post-item.post-grid .post-item-image a img { aspect-ratio: 1/0.7; } /* End Grid Posts Section --------------------------------------------- */ @media (max-width: 600px) { .post-item.post-list .post-item-image { max-width: 100%; flex-basis: unset; } .post-item.post-list .post-item-image a img{ aspect-ratio: 1/0.7; } .post-item.post-list .post-item-content { text-align: start; width: 100%; } .post-item.post-list .post-item-content .entry-meta, .post-item.post-list .post-item-content .entry-cat .post-categories { justify-content: flex-start; } } /* End List Posts Section --------------------------------------------- */ /* Start archive layouts --------------------------------------------- */ /* grid layout */ .theme-archive-layout.grid-layout { display: grid; gap: 10px; } /* one column */ .theme-archive-layout.grid-layout.grid-column-1 { grid-template-columns: repeat(1, 1fr); } /* one column */ /* two columns */ .theme-archive-layout.grid-layout.grid-column-2 { grid-template-columns: repeat(2, 1fr); } @media (max-width:600px) { .theme-archive-layout.grid-layout.grid-column-2 { grid-template-columns: repeat(1, 1fr); } } /* two columns */ /* three columns */ .theme-archive-layout.grid-layout.grid-column-3 { grid-template-columns: repeat(3, 1fr); } @media (max-width:768px) { .theme-archive-layout.grid-layout.grid-column-3 { grid-template-columns: repeat(2, 1fr); } } @media (max-width:600px) { .theme-archive-layout.grid-layout.grid-column-3 { grid-template-columns: repeat(1, 1fr); } } /* three columns */ /* four columns */ .theme-archive-layout.grid-layout.grid-column-4 { grid-template-columns: repeat(4, 1fr); } @media (max-width:1024px) { .theme-archive-layout.grid-layout.grid-column-4 { grid-template-columns: repeat(3, 1fr); } } @media (max-width:768px) { .theme-archive-layout.grid-layout.grid-column-4 { grid-template-columns: repeat(2, 1fr); } } @media (max-width:600px) { .theme-archive-layout.grid-layout.grid-column-4 { grid-template-columns: repeat(1, 1fr); } } /* four columns */ /* grid layout */ /* list layout */ .theme-archive-layout.list-layout { display: grid; gap: 30px; margin-bottom: 50px; } .theme-archive-layout.list-layout article { margin-bottom: 0; } .theme-archive-layout.list-layout article:not(.has-post-thumbnail) .post-item-image{ display: none; } .theme-archive-layout.list-layout article .post-item.post-list { border: none; } @media (min-width:991px) { .theme-archive-layout.list-layout.list-style-2 article .post-item.post-list { flex-direction: row-reverse; } .theme-archive-layout.list-layout.list-style-3 article:nth-child(even) .post-item.post-list { flex-direction: row-reverse; } } /* list-style-4 */ @media (min-width: 601px) { .theme-archive-layout.list-layout.list-style-4 { gap: 50px; } .theme-archive-layout.list-layout.list-style-4 article .post-item.post-list { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 450px; padding: 50px 0; background: transparent; border: none; } .theme-archive-layout.list-layout.list-style-4 article:not(.has-post-thumbnail) .post-item.post-list { min-height: unset; padding: 0; } .theme-archive-layout.list-layout.list-style-4 article .post-item.post-list .post-item-image { position: absolute; height: 100%; width: calc(60% - 50px); background-size: cover; background-position: 50%; left: 0; top: 0; max-width: none; } .theme-archive-layout.list-layout.list-style-4 article .post-item.post-list .post-item-content { flex-grow: 0; position: relative; z-index: 2; width: 50%; padding: 30px; background-color: var(--color-light); } .theme-archive-layout.list-layout.list-style-4 article:not(.has-post-thumbnail) .post-item.post-list .post-item-content { width: 100%; } .theme-archive-layout.list-layout.list-style-4 article:nth-child(even) .post-item.post-list { flex-direction: row-reverse; } .theme-archive-layout.list-layout.list-style-4 article:nth-child(even) .post-item.post-list .post-item-image { left: unset; right: 0; } } /* list-style-4 */ @media (max-width: 600px) { .theme-archive-layout.list-layout article .post-item.post-list { flex-direction: column; } .theme-archive-layout.list-layout article .post-item.post-list .post-item-image{ flex: unset; } .theme-archive-layout.list-layout article .post-item.post-list .post-item-image a img{ aspect-ratio: 1/0.7; } .theme-archive-layout.list-layout article .post-item.post-list .post-item-content{ padding: 20px; } .theme-archive-layout.list-layout article .post-item.post-list .post-item-content p{ margin-bottom: 0; } } /* list layout */ /* End archive layouts --------------------------------------------- */ /* Start Post navigations --------------------------------------------- */ .site-main .post-navigation, .site-main .posts-navigation { padding: 20px 0; border-block: 1px solid rgba(var(--color-text-rgb), 0.15); } .post-navigation .nav-links, .posts-navigation .nav-links { display: flex; } @media only screen and (max-width: 480px) { .post-navigation .nav-links, .posts-navigation .nav-links { flex-wrap: wrap; } } .post-navigation .nav-previous, .posts-navigation .nav-previous { flex: 1 0 50%; } .post-navigation .nav-previous a, .posts-navigation .nav-previous a { display: inline-flex; align-items: center; gap: 5px; color: var(--color-text); transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1); text-decoration: none; } .post-navigation .nav-previous a::before, .posts-navigation .nav-previous a::before { font-style: normal; font-variant: normal; font-weight: 400; line-height: 1; font-family: Font Awesome\ 5 Free; font-weight: 900; line-height: inherit; vertical-align: baseline; content: "\f104"; display: inline-block; } .post-navigation .nav-previous a:hover, .posts-navigation .nav-previous a:hover { color: var(--primary-color); } @media only screen and (max-width: 480px) { .post-navigation .nav-previous a, .posts-navigation .nav-previous a { flex-direction: column; align-items: flex-start; } } .post-navigation .nav-next, .posts-navigation .nav-next { text-align: end; flex: 1 0 50%; } .post-navigation .nav-next a, .posts-navigation .nav-next a { display: inline-flex; align-items: center; gap: 5px; justify-content: flex-end; color: var(--color-text); transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1); text-decoration: none; } .post-navigation .nav-next a::after, .posts-navigation .nav-next a::after { font-style: normal; font-variant: normal; font-weight: 400; line-height: 1; font-family: Font Awesome\ 5 Free; font-weight: 900; line-height: inherit; vertical-align: baseline; content: "\f105"; display: inline-block; } .post-navigation .nav-next a:focus, .post-navigation .nav-next a:hover, .posts-navigation .nav-next a:focus, .posts-navigation .nav-next a:hover { color: var(--primary-color); } @media only screen and (max-width: 480px) { .post-navigation .nav-next a, .posts-navigation .nav-next a { flex-direction: column; align-items: flex-end; } .post-navigation .nav-next a>*, .posts-navigation .nav-next a>* { order: 1; } .post-navigation .nav-next a::after, .posts-navigation .nav-next a::after { order: 0; } } /* numeric pagination */ nav.navigation.pagination .nav-links { display: flex; gap: 5px; margin: 10px 0 20px; justify-content: center; } nav.navigation.pagination .nav-links span, nav.navigation.pagination .nav-links a { text-decoration: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; color: var(--color-text); border: 1px solid var(--color-text); } nav.navigation.pagination .nav-links span.prev, nav.navigation.pagination .nav-links a.prev, nav.navigation.pagination .nav-links span.next, nav.navigation.pagination .nav-links a.next { font-size: 0; } nav.navigation.pagination .nav-links span.prev::after, nav.navigation.pagination .nav-links a.prev::after, nav.navigation.pagination .nav-links span.next::after, nav.navigation.pagination .nav-links a.next::after { content: "\f30a"; font-size: 1rem; display: inline-block; font-style: normal; font-variant: normal; font-weight: 400; line-height: 1; font-weight: 900; line-height: inherit; vertical-align: baseline; font-family: Font Awesome\ 5 Free; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; } nav.navigation.pagination .nav-links span.next::after, nav.navigation.pagination .nav-links a.next::after { content: "\f30b"; } nav.navigation.pagination .nav-links span:hover, nav.navigation.pagination .nav-links a:hover, nav.navigation.pagination .nav-links span:focus, nav.navigation.pagination .nav-links a:focus { color: var(--primary-color); border: 1px solid var(--primary-color); } nav.navigation.pagination .nav-links span.current { color: #fff; background-color: var(--primary-color); border: 1px solid var(--primary-color); } nav.navigation.pagination .nav-links span.dots { border: none; } nav.navigation.pagination .nav-links span.dots:hover, nav.navigation.pagination .nav-links span.dots:focus { color: var(--color-text); border: none; } /* numeric pagination */ /* End Post navigations --------------------------------------------- */ /* Start Single Post/Page --------------------------------------------- */ body.sticky { display: block; } .post, .page { margin: 0 0 1.5em; } .updated:not(.published) { display: none; } .page-content, .entry-content, .entry-summary { margin: 1.5em 0 0; } /*--404 page--*/ section.error-404.not-found { margin-bottom: 50px; text-align: center; max-width: 991px; margin-inline: auto; } /*--404 page--*/ /*--single--*/ .page-links { clear: both; margin: 0 0 1.5em; } .site-main article .entry-header .entry-title { font-size: var(--font-size-lg); font-family: var(--font-body); margin-top: 0; margin-bottom: 1.3rem; } @media (min-width: 992px) { .site-main article .entry-header .entry-title { margin-bottom: 1.1rem; } } .site-main article .entry-header .entry-title a { text-decoration: none; color: var(--color-text); } .site-main article .entry-meta { padding-bottom: 10px; } .site-main article .entry-meta span { font-size: 1rem; font-weight: normal; } .site-main article .entry-meta span a, .site-main article .entry-meta span span { font-weight: normal; } .site-main article .entry-meta span a { text-decoration: none; color: var(--color-text); } .site-main article .entry-meta span a:hover { color: var(--primary-color); } .site-main article .entry-meta span a i { margin-inline-end: 5px; } .site-main article .entry-meta span.comments-link a { font-weight: bold; } .site-main article .post-thumbnail { display: block; line-height: 0; } .site-main article .post-thumbnail img { transition: all 0.3s linear; } @media (min-width: 992px) { .site-main article .entry-meta { padding: 10px 0 20px; padding-top: 0; } } .site-main article .entry-content { margin-top: 0; } .site-main article .entry-content p { margin-bottom: 10px; } .site-main article .entry-footer { display: flex; flex-direction: column; margin-top: 10px; } .site-main article .entry-footer span { margin-bottom: 6px; font-size: 1rem; font-weight: bold; } .site-main article .entry-footer span a, .site-main article .entry-footer span span { font-weight: normal; } .site-main article .entry-footer span a { text-decoration: none; color: var(--color-text); } .site-main article .entry-footer span a:hover { color: var(--primary-color); } .site-main article .entry-footer span.comments-link a { font-weight: bold; } /*--single--*/ body .site-main>article header { margin-bottom: 10px; } body .site-main>article header .entry-title { margin-bottom: 10px; } body.no-sidebar .site-main>article .post-thumbnail, body.no-sidebar .site-main>article .entry-meta, body.no-sidebar .site-main>article header { text-align: center; } .no-sidebar .entry-content { max-width: 750px; margin-left: auto; margin-right: auto; } figcaption.thumbnail-caption { text-align: center; } /* End Single Post/Page --------------------------------------------- */ /* Start breadcrumbs --------------------------------------------- */ .breadcrumb-trail.breadcrumbs { padding: 20px 0px; } body.aft-single-full-header .breadcrumb-trail.breadcrumbs { padding-bottom: 20px; } ul.trail-items { font-size: 13px; margin: 0; padding: 0; } ul.trail-items li { display: inline-block; margin-right: 5px; } ul.trail-items li a { text-decoration: none; font-size: 13px; color: var(--color-text); opacity: 0.7; } ul.trail-items li a:hover { opacity: 1; color: var(--primary-color); transition: all 1200ms cubic-bezier(.215, .610, .355, 1); } ul.trail-items li:after { content: ' / '; padding: 0 2px; color: var(--color-text); font-size: 13px; } ul.trail-items li:last-child:after { display: none; } /* End breadcrumbs --------------------------------------------- */ /* Start comments css --------------------------------------------- */ .comment-content a { word-wrap: break-word; } .bypostauthor { display: block; } /** * Comments Wrapper */ .comments-area { padding-bottom: 30px; } .comments-area>* { margin-top: 30px; margin-bottom: 30px; } .comments-area>*:first-child { margin-top: 0; } .comments-area>*:last-child { margin-bottom: 0; } .comments-area.show-avatars .avatar { border-radius: 50%; position: absolute; top: 10px; } .comments-area.show-avatars .fn { display: inline-block; padding-left: 85px; } .comments-area.show-avatars .comment-metadata { padding: 8px 0 9px 85px; } /** * Comment Title */ .comment-reply-title { display: flex; justify-content: space-between; } .comment-reply-title small a { font-size: 15px; font-style: normal; font-weight: normal; letter-spacing: normal; } /* Nested comment reply title*/ .comment .comment-respond .comment-reply-title { font-size: 30px; } /** * Comment Lists */ .comments-area [type="checkbox"], .comments-area [type="radio"] { margin-bottom: 7px; margin-right: 10px; } .comment-list { padding-left: 0; list-style: none; margin-left: 0; } .comment-list ol { margin-left: 0; } .comment-list>li { margin-top: 30px; margin-bottom: 30px; } .comment-list .children { list-style: none; padding-left: 0; } .comment-list .children>li { margin-top: 30px; margin-bottom: 30px; } @media only screen and (min-width: 482px) { .comment-list .depth-2, .comment-list .depth-3 { padding-left: calc(4 * 20px); } } /** * Comment Meta */ .comment-meta .comment-author { margin-bottom: calc(0.25 *20px); } @media only screen and (min-width: 482px) { .comment-meta .comment-author { margin-bottom: 0; padding-right: 0; } } .comment-meta .comment-author .fn { font-weight: normal; hyphens: auto; word-wrap: break-word; word-break: break-word; } .comment-meta .comment-metadata { color: var(--text-color-normal); padding: 8px 0 9px 0; font-size: var(--font-size-sm); display: flex; justify-content: space-between; } .comment-meta .comment-metadata .edit-link { margin-left: 20px; } @media only screen and (min-width: 482px) { .comment-meta { margin-right: inherit; } .comment-meta .comment-author { max-width: inherit; } } .bypostauthor { display: block; } .says { display: none; } .comment-meta { margin-bottom: 10px; } .comment-body { position: relative; margin-bottom: 40px; padding: 30px; background-color: #f9f9f9; border: 1px solid #eee; } .dark-mode .comment-body { background-color: var(--color-dark); border: 1px solid rgba(var(--color-text-rgb), 0.15); } .comment-body .reply { margin: 0; } .comment-content { word-wrap: break-word; font-size: 1rem; padding-bottom: 15px; color: var(--color-text); } .pingback .comment-body, .trackback .comment-body { margin-top: 30px; margin-bottom: 30px; } .comment-respond { margin-top: 30px; } .comment-respond>* { margin-top: 20px; margin-bottom: 20px; } .comment-respond>*:first-child { margin-top: 0; } .comment-respond>*:last-child { margin-bottom: 0; } .comment-respond>*:last-child.comment-form { margin-bottom: 30px; } .comment-author { padding-top: 3px; } .reply a, .comment-content a, .comment-meta .comment-metadata a, .comment-author .url { color: currentColor; } .reply a:focus, .comment-content a:focus, .comment-meta .comment-metadata a:focus, .comment-author .url:focus, .reply a:hover, .comment-content a:hover, .comment-meta .comment-metadata a:hover, .comment-author .url:hover { color: var(--theme-color); } .comment-form { display: flex; flex-wrap: wrap; } .comment-form>* { flex-basis: 100%; } .comment-form .comment-form-url, .comment-form .comment-form-comment { width: 100%; } .comment-form .comment-form-author, .comment-form .comment-form-email { flex-basis: 0; flex-grow: 1; } @media only screen and (max-width: 481px) { .comment-form .comment-form-author, .comment-form .comment-form-email { flex-basis: 100%; } } .comment-form .comment-form-cookies-consent>label, .comment-form .comment-notes { font-size: 1rem; font-weight: normal; } .comment-form>p { margin-bottom: 10px; } .comment-form>p a { color: var(--text-color-normal); transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1); text-decoration: none; } .comment-form>p a:focus, .comment-form>p a:hover { color: var(--theme-color); } .comment-form>p:first-of-type { margin-top: 0; } .comment-form>p:last-of-type { margin-bottom: 0; } .comment-form>p label, .comment-form>p input[type=email], .comment-form>p input[type=text], .comment-form>p input[type=url], .comment-form>p textarea { display: block; font-size: var(--global--font-size-sm); margin-bottom: calc(.5 *20px); width: 100%; font-weight: var(--form--label-weight); } .comment-form>p.comment-form-cookies-consent { display: flex; align-items: center; } @media only screen and (min-width: 482px) { .comment-form>p.comment-form-author, .woocommerce #review_form #respond p { margin-right: calc(1.5 * 20px); } .comment-form>p.comment-notes, .comment-form>p.logged-in-as { display: block; } } nav.breadcrumb-trail ul.trail-items { list-style: none; padding: 0; margin: 0; color: var(--text-color-normal); } nav.breadcrumb-trail ul.trail-items li { display: inline-block; } nav.breadcrumb-trail ul.trail-items li a { text-decoration: none; color: var(--text-color-normal); } nav.breadcrumb-trail ul.trail-items li a:hover { color: var(--theme-color); } nav.breadcrumb-trail ul.trail-items li::after { margin: 0 0.3rem; } nav.breadcrumb-trail ul.trail-items li:last-child::after { display: none; } /*====comments section====*/ #comments.comments-area { margin-block: 20px; } #comments.comments-area .comments-title { font-size: var(--font-size-lg); font-family: var(--font-body); line-height: 1.2; } #comments.comments-area .comment-list .comment .comment-author img { float: left; margin-right: 20px; margin-bottom: 20px; width: 50px; } #comments.comments-area .comment-list .comment .comment-content p { margin-bottom: 5px; } #comments.comments-area div#respond { margin-top: 20px; } #comments.comments-area div#respond #reply-title { margin-top: 0; font-weight: 700; font-size: var(--font-size-base); } #comments.comments-area div#respond p { margin-bottom: 5px; } #comments.comments-area div#respond label { font-weight: normal; } #comments.comments-area div#respond textarea { width: 100%; } #comments.comments-area div#respond p.comment-form-url, #comments.comments-area div#respond p.comment-form-email, #comments.comments-area div#respond p.comment-form-author { display: inline-block; width: 100%; } #comments.comments-area div#respond p.comment-form-url label, #comments.comments-area div#respond p.comment-form-email label, #comments.comments-area div#respond p.comment-form-author label { display: block; } #comments.comments-area div#respond p.comment-form-url input, #comments.comments-area div#respond p.comment-form-email input, #comments.comments-area div#respond p.comment-form-author input { width: 100%; } #comments.comments-area div#respond p.comment-form-cookies-consent label { margin-left: 8px; position: relative; top: -1px; } #comments.comments-area div#respond input[type="submit"] { display: inline-block; margin-top: 10px; } #comments.comments-area div#respond #reply-title small a { display: inline-block; margin-left: 10px; } .comment div#respond, .comment-content { margin-left: 70px; } .comment-content a { word-wrap: break-word; } .bypostauthor { display: block; } /* End comments css --------------------------------------------- */ /* Custom widgets start --------------------------------------------- */ /* social widget start*/ .social-widget .social-widgets-wrap { display: flex; flex-wrap: wrap; gap: 10px; } .social-widget.style-2 .social-widgets-wrap { gap: 5px; } .social-widget.style-2 .social-widgets-wrap a { padding: 12px 20px; width: auto; height: auto; border-radius: 100vmax; padding-inline-start: 12px; } .social-widget.style-2 .social-widgets-wrap a .screen-reader-text { clip: unset; clip-path: unset; height: auto; width: auto; margin: 0; position: relative !important; overflow: visible; color: #fff; top: inherit; margin-inline-start: 5px; } /* social widget end*/ /* featured widget start */ .featured-widget{ container-type: inline-size; } .featured-widget .post-item{ margin-bottom: 20px; } .featured-widget .post-item.post-list:has(img) .post-item-image { flex: 0 0 25%; max-width: 25%; aspect-ratio: 1; } .featured-widget .post-item .post-item-content{ padding: 0; } .featured-widget .post-item.post-list:has(img) .post-item-content{ padding: 0; padding-inline-start: 15px; } @container (max-width: 600px) { .featured-widget .post-item .post-item-content .entry-title { font-size: var(--font-size-sm); } .featured-widget .post-item .post-item-content .post-exerpt { display: none; } } /* featured style 2 */ .featured-widget.style-2 .post-item.post-list { flex-direction: row-reverse; } .featured-widget.style-2 .post-item.post-list .post-item-content { text-align: end; padding-inline-start: unset; padding-inline-end: 15px; } .featured-widget.style-2 .post-item.post-list .post-item-content .entry-meta { justify-content: flex-end; } /* featured style 2 */ /* featured style 3 */ .featured-widget.style-3 .post-item.post-list { position: relative; min-height: 150px; } @container (max-width: 600px) { .featured-widget.style-3 .post-item.post-list { min-height: unset; } } .featured-widget.style-3 .post-item.post-list .post-item-image { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; } .featured-widget.style-3 .post-item.post-list .post-item-image a { position: relative; } .featured-widget.style-3 .post-item.post-list .post-item-image a::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; z-index: 2; background-image: linear-gradient(to bottom, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.6) 40%, #111111 100%); background-repeat: no-repeat; background-size: cover; background-position: center center; } .featured-widget.style-3 .post-item.post-list .post-item-image a img { max-width: none; aspect-ratio: unset; } .featured-widget.style-3 .post-item.post-list .post-item-content { padding: 20px; position: relative; z-index: 2; } .featured-widget.style-3 .post-item.post-list .post-item-content .entry-title a:focus, .featured-widget.style-3 .post-item.post-list .post-item-content .entry-title a:hover, .featured-widget.style-3 .post-item.post-list .post-item-content .entry-title a { color: #fff; } .featured-widget.style-3 .post-item.post-list .post-item-content .entry-meta li, .featured-widget.style-3 .post-item.post-list .post-item-content .entry-meta li a { color: #fff; } .featured-widget.style-3 .post-item.post-list .post-item-content .entry-meta li span.line { background-color: #fff; } .featured-widget.style-3 .post-item.post-list .post-item-content .post-exerpt { display: none; } /* featured style 3 */ /* featured widget end */ /* grid widget start */ .grid-widget{ container-type: inline-size; } .grid-widget .adore-widget-body { display: grid; gap: 30px; grid-template-columns: repeat(2, 1fr); } @container (min-width: 1024px) { .grid-widget .adore-widget-body { grid-template-columns: repeat(3, 1fr); } } @container (max-width: 768px) { .grid-widget .adore-widget-body { grid-template-columns: repeat(2, 1fr); } } @container (max-width: 600px) { .grid-widget .post-item .post-item-content .entry-title { margin-block: 10px; margin-block-start: 0; line-height: 1.3; font-size: var(--font-size-sm); } .grid-widget .post-item.post-grid .post-item-content .entry-meta { margin: 0; } } @container (max-width: 480px) { .grid-widget .post-item.post-grid .post-item-content .entry-meta { display: none; } .grid-widget .post-item .post-item-content .post-categories, .grid-widget .post-item .post-item-content .post-exerpt{ display: none; } } @media (max-width: 320px) { .grid-widget .adore-widget-body { grid-template-columns: repeat(1, 1fr); } } /* grid widget end */ /* latest widget start */ .latest-widget{ container-type: inline-size; } .latest-widget .post-latest-widget-wrapper { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); } @container (min-width: 1024px) { .latest-widget .post-latest-widget-wrapper { grid-template-columns: repeat(4, 1fr); } } @container (max-width: 600px) { .latest-widget .post-latest-widget-wrapper { grid-template-columns: repeat(1, 1fr); } } /* latest widget end */ /* list widget start */ .list-widget{ container-type: inline-size; } .list-widget .post-list-widget-wrapper { display: grid; gap: 30px; } @container (max-width: 600px) { .list-widget .post-list-widget-wrapper { display: flex; flex-direction: column; } .list-widget .post-item.post-list { flex-direction: column; } .list-widget .post-item.post-list .post-item-image { max-width: 100%; width: 100%; } .list-widget .post-item.post-list:has(img) .post-item-content { padding: 0; padding-top: 15px; } } /* list-widget style-2 */ @container (min-width: 600px) { .list-widget.style-2 .post-list-widget-wrapper { gap: 30px; } .list-widget.style-2 .post-list-widget-wrapper .post-item.post-list { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 450px; padding: 50px 0; background: transparent; border: none; } .list-widget.style-2 .post-list-widget-wrapper .post-item.post-list:not(.has-post-image){ min-height: unset; padding: 0; } .list-widget.style-2 .post-list-widget-wrapper .post-item.post-list .post-item-image { position: absolute; height: 100%; width: calc(60% - 50px); background-size: cover; background-position: 50%; left: 0; top: 0; max-width: none; } .list-widget.style-2 .post-list-widget-wrapper .post-item.post-list:not(.has-post-image) .post-item-image{ display: none; } .list-widget.style-2 .post-list-widget-wrapper .post-item.post-list .post-item-content { flex-grow: 0; position: relative; z-index: 2; width: 50%; padding: 30px; background-color: var(--color-light); } .list-widget.style-2 .post-list-widget-wrapper .post-item.post-list:not(.has-post-image) .post-item-content { width: 100%; } .list-widget.style-2 .post-list-widget-wrapper .post-item.post-list:nth-child(even) { flex-direction: row-reverse; } .list-widget.style-2 .post-list-widget-wrapper .post-item.post-list:nth-child(even) .post-item-image { left: unset; right: 0; } } /* list-widget style-2 */ /* list widget end */ /* most read start */ .most-read-widget{ container-type: inline-size; } .most-read-widget .most-read-widget-wrapper { display: grid; gap: 30px; grid-template-columns: repeat(2, 1fr); } @container (min-width: 1171px) { .most-read-widget .most-read-widget-wrapper { grid-template-columns: repeat(4, 1fr); } } @container (max-width: 1170px) { .most-read-widget .most-read-widget-wrapper { grid-template-columns: repeat(3, 1fr); } } @container (max-width: 900px) { .most-read-widget .most-read-widget-wrapper { grid-template-columns: repeat(2, 1fr); } } @container (max-width: 600px) { .most-read-widget .most-read-widget-wrapper { grid-template-columns: repeat(1, 1fr); } } .most-read-widget .post-item.post-list:has(img) .post-item-image { flex: 0 0 25%; max-width: 25%; flex-shrink: 0; aspect-ratio: 1; } .most-read-widget .post-item.post-list .post-item-content { padding-block: 5px; padding-inline-end: 10px; padding-inline-start: 10px; } .most-read-widget .post-item.post-list .post-item-content .entry-title { font-size: var(--font-size-sm); margin-top: 0; margin-bottom: 5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } /* most read end */ /* post carousel widget start */ .posts-carousel-widget .carousel-wrapper { overflow: hidden; } .posts-carousel-widget .carousel-wrapper .slick-list { margin: 0 -10px; } .posts-carousel-widget .carousel-wrapper .slick-list .slick-track .slick-slide { padding: 0 10px; } .posts-carousel-widget.style-2{ .post-item.post-list .post-item-image { width: 100px; height: 100px; border-radius: 50%; flex-shrink: 0; flex-basis: unset; background: linear-gradient(to bottom, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.6) 80%, #111111 100%); img{ height: 100%; width: 100%; object-fit: cover; } } .post-item.post-list .post-item-content { align-self: center; padding-block: 0; padding-inline-end: 10px; padding-inline-start: 10px; } .post-item-content .entry-title { margin-top: 0; margin-bottom: 5px; font-size: var(--font-size-sm); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .post-item-content .entry-meta { margin: 0; } } /* post carousel widget end */ /* Custom widgets end --------------------------------------------- */ /* Start footer css --------------------------------------------- */ .site-footer { --color-text: #fff; color: var(--color-text); margin-top: 50px; background-color: #101010; .top-footer { padding-top: 50px; .top-footer-widgets { display: flex; flex-wrap: wrap; margin-inline: -15px; .footer-widget { width: 25%; padding-inline: 15px; flex-shrink: 0; color: #fff; } } } } @media (max-width: 768px) { .site-footer .top-footer .top-footer-widgets .footer-widget { width: 50%; } } @media (max-width: 480px) { .site-footer .top-footer .top-footer-widgets .footer-widget { width: 100%; } } .site-footer .footer-widget h1, .site-footer .footer-widget h2, .site-footer .footer-widget h3, .site-footer .footer-widget h4, .site-footer .footer-widget h5, .site-footer .footer-widget h6 { margin-top: 0; } .site-footer .bottom-footer { position: relative; padding: 15px 0; } .site-footer .bottom-footer .bottom-footer-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; position: relative; } .site-footer .bottom-footer .bottom-footer-info .site-info a { text-decoration: none; opacity: 0.8; transition: all 0.3s ease; } .site-footer .bottom-footer .bottom-footer-info .site-info a:focus, .site-footer .bottom-footer .bottom-footer-info .site-info a:hover { opacity: 1; } .site-footer .bottom-footer .bottom-footer-info .social-icons ul.social-links { margin: 0; padding: 0; list-style: none; } .site-footer .bottom-footer::before { position: absolute; content: ''; top: 0; left: 0; height: 100%; width: 100%; background-color: #d9d9d9; opacity: 0.1; } .dark-mode .site-footer .bottom-footer::before { background-color: #000; opacity: 0.5; } @media (min-width: 1200px) { .footer-sticky .site-footer { position: sticky; bottom: 0; top: 0; z-index: 0; } } /* End footer css --------------------------------------------- */ /* Start Scroll to top css --------------------------------------------- */ a.national-news-scroll-to-top { position: fixed; bottom: 53px; inset-inline-end: 30px; height: 40px; width: 40px; opacity: 0; visibility: hidden; z-index: 17; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; background-color: var(--primary-color); border: 1px solid #fff; transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1); font-size: var(--font-size-sm); } a.national-news-scroll-to-top:hover, a.national-news-scroll-to-top:focus { box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.15); transform: translateY(-10px); } a.national-news-scroll-to-top.show { opacity: 1; visibility: visible; } /* End Scroll to top css --------------------------------------------- */