/*
Theme Name: Stardust
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Stardust</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 2.7
Author: Neverlands
Author URI: https://neverlands.at
Template: enfold
*/



/*Add your own styles here:*/

/* =========================================================
   SCROLLBAR
   Firefox 
   ========================================================= */
* {
    scrollbar-width: thin;
    scrollbar-color: #ffffff #314e7c;
}

/* Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
    width: 5px;
}

*::-webkit-scrollbar-track {
    background: #314e7c;
}

*::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 10px;
    border: 3px solid #1a3e58;
}

#top .av-main-nav > li > a {
    letter-spacing: -0.01em !important;
}

.wrap {
    background-color: #314e7c;
    padding: 15px 35px 35px 65px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .wrap { padding: 18px 20px; }
}

/* =========================================================
   MAIN MENU Transparent Main Menu - inactive item color
   Native Enfold active indicator only at top of transparent header
   + force News active on single posts
   ========================================================= */
/* ---------------------------------------------------------
   A) Transparent header at the top:
       All menu items white
   --------------------------------------------------------- */
#top #header.av_header_transparency:not(.av_header_scrolled) .av-main-nav > li > a .avia-menu-text {
    color: var(--enfold-header-color-color) !important;
}

/* ---------------------------------------------------------
   B) Transparent header at the top:
       active menu item with blue underline
   --------------------------------------------------------- */
#top #header.av_header_transparency:not(.av_header_scrolled) .av-main-nav > li.current-menu-item > a .avia-menu-text,
#top #header.av_header_transparency:not(.av_header_scrolled) .av-main-nav > li.current_page_item > a .avia-menu-text,
#top #header.av_header_transparency:not(.av_header_scrolled) .av-main-nav > li.current-menu-parent > a .avia-menu-text,
#top #header.av_header_transparency:not(.av_header_scrolled) .av-main-nav > li.current_page_parent > a .avia-menu-text,
#top #header.av_header_transparency:not(.av_header_scrolled) .av-main-nav > li.current-menu-ancestor > a .avia-menu-text,
#top #header.av_header_transparency:not(.av_header_scrolled) .av-main-nav > li.current-page-ancestor > a .avia-menu-text {
    border-bottom: 2px solid var(--enfold-main-color-primary);
    padding-bottom: 6px;
}

/* ---------------------------------------------------------
   B2) Transparent header at the top:
       blue transparent header borders
   --------------------------------------------------------- */
#top .av_header_with_border.av_header_transparency #header_main {
    border: 1px solid color-mix(
        in srgb,
        var(--enfold-header-color-border) 85%,
        transparent
    );
}

#top .av_header_with_border.av_header_transparency .avia-menu.av_menu_icon_beside {
    border-color: color-mix(
        in srgb,
        var(--enfold-header-color-border) 85%,
        transparent
    );
}

/* ---------------------------------------------------------
   C) News page at the top:
       all menu entries white
   --------------------------------------------------------- */
#top #header.md-news-top .av-main-nav > li > a .avia-menu-text {
    color: var(--enfold-header-color-color) !important;
}

/* News page at the top:
    News with blue underline */
#top #header.md-news-top .av-main-nav > li#menu-item-1195 > a .avia-menu-text {
    color: var(--enfold-header-color-color) !important;
    border-bottom: 2px solid var(--enfold-main-color-primary);
    padding-bottom: 6px;
}

/* ---------------------------------------------------------
   D) Scrolled down the news page:
       News should remain white
   --------------------------------------------------------- */
#top #header:not(.md-news-top) .av-main-nav > li#menu-item-1195.current-menu-item > a .avia-menu-text,
#top #header:not(.md-news-top) .av-main-nav > li#menu-item-1195.current_page_item > a .avia-menu-text,
#top #header:not(.md-news-top) .av-main-nav > li#menu-item-1195.current-menu-parent > a .avia-menu-text,
#top #header:not(.md-news-top) .av-main-nav > li#menu-item-1195.current_page_parent > a .avia-menu-text,
#top #header:not(.md-news-top) .av-main-nav > li#menu-item-1195.current-menu-ancestor > a .avia-menu-text,
#top #header:not(.md-news-top) .av-main-nav > li#menu-item-1195.current-page-ancestor > a .avia-menu-text {
    color: var(--enfold-header-color-color) !important;
}

/* ---------------------------------------------------------
E) Blog article:
Mark news as active artificially
--------------------------------------------------------- */
body.single-post #top #header .av-main-nav > li#menu-item-1195.current-menu-item > a .avia-menu-text,
body.single-post #top #header .av-main-nav > li#menu-item-1195.current_page_item > a .avia-menu-text,
body.single-post #top #header .av-main-nav > li#menu-item-1195.md-force-news-active > a .avia-menu-text {
color: var(--enfold-header-color-color) !important;
border-bottom: 2px solid var(--enfold-main-color-primary) !important;
padding-bottom: 6px !important;
display: inline-block !important;
}

/* ---------------------------------------------------------
   F) At the top:
       all header icons white
   --------------------------------------------------------- */
#top #header.md-top-icons-white .social_bookmarks a,
#top #header.md-top-icons-white .social_bookmarks a *,
#top #header.md-top-icons-white .av-social-link-search a,
#top #header.md-top-icons-white .av-social-link-search a *,
#top #header.md-top-icons-white .menu-item-search-dropdown > a,
#top #header.md-top-icons-white .menu-item-search-dropdown > a *,
#top #header.md-top-icons-white .avia-menu-av-search a,
#top #header.md-top-icons-white .avia-menu-av-search a *,
#top #header.md-top-icons-white #menu-item-search > a,
#top #header.md-top-icons-white #menu-item-search > a *,
#top #header.md-top-icons-white .av-social-link-instagram a,
#top #header.md-top-icons-white .av-social-link-instagram a *,
#top #header.md-top-icons-white .av-social-link-youtube a,
#top #header.md-top-icons-white .av-social-link-youtube a *,
#top #header.md-top-icons-white .av-social-link-xing a,
#top #header.md-top-icons-white .av-social-link-xing a *,
#top #header.md-top-icons-white .av-social-link-twitter a,
#top #header.md-top-icons-white .av-social-link-twitter a *,
#top #header.md-top-icons-white .av-social-link-spotify a,
#top #header.md-top-icons-white .av-social-link-spotify a * {
    color: var(--enfold-header-color-color) !important;
    opacity: 1 !important;
    fill: var(--enfold-header-color-color) !important;
    stroke: var(--enfold-header-color-color) !important;
}

/* ---------------------------------------------------------
   Non-transparent pages at the top:
  all menu entries white
  except on single posts, where special news logic remains active
   --------------------------------------------------------- */
#top #header.md-top-icons-white:not(.av_header_transparency):not(.md-news-top) .av-main-nav > li > a .avia-menu-text {
    color: var(--enfold-header-color-color) !important;
}

/* =========================================================
   HOME PAGE SLIDER - Button Font Size
   ========================================================= */
.front-page .avia-multi-slideshow-button {
    font-size: 15px;
}

/* =========================================================
   MAIN MENU Social Media Profiles - Spotify Icon
   ========================================================= */
#top .social_bookmarks li.social_bookmarks_spotify a:before {
    position: relative;
    top: 1px;
}

#top #wrap_all .av-social-link-spotify:hover a,
#top #wrap_all .av-social-link-spotify a:focus {
    color: #fff;
    background-color: #1ed760;
}

/* =========================================================
   FOOTER
   ========================================================= */
#footer {
    font-size: 15px;
}

@media only screen and (max-width: 989px) {
    #footer .flex_column {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 30px;
        float: none !important;
        clear: both;
    }
}

@media only screen and (max-width: 767px) {
    #footer {
        font-size: 18px;
    }
}

/* =========================================================
   Footer - Text-Widget, News Titles & Star Icon
   ========================================================= */
.textwidget ul {
    line-height: 1.7em;
    margin: 0.89em 0 !important;
}

.textwidget li {
    display: flex;
    align-items: center;
}

.textwidget span.av_font_icon {
    margin-right: 6px;
}

.textwidget a {
    display: inline-block;
}

.textwidget .avia-svg-icon svg {
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 3px;
}

.avia-widget-container a.news-title {
    color: #eeeeee;
    font-weight: normal;
    font-size: 15px;
}

.avia-widget-container a.news-title:hover {
    color: #a7c1e8;
}

.inline-star {
    margin-left: 0;
    display: inline-block;
    vertical-align: bottom;
}

@media only screen and (max-width: 767px) {
    .avia-widget-container a.news-title,
    .textwidget a,
    .textwidget p {
        font-size: 17px;
        line-height: 1.6em;
    }
}

/* =========================================================
   SOCKET - Menu Line Break & Line-Height
   ========================================================= */
@media only screen and (max-width: 989px) {
    #socket .sub_menu_socket {
        float: none !important;
        width: 100% !important;
        clear: both !important;
        text-align: left !important;
        margin: 6px 0 0 0 !important;
    }

    #socket .sub_menu_socket .menu {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
        list-style: none;
        gap: 4px 16px;
    }

    #socket .sub_menu_socket .menu li {
        display: inline-block;
        margin: 0;
        padding: 0;
        line-height: 1.6em;
    }

    #socket .sub_menu_socket .menu li a {
        display: inline-block;
        padding: 2px 0;
        line-height: 1.6em;
    }

    #socket .copyright {
        float: none !important;
        text-align: left !important;
        display: block !important;
        line-height: 1.6em;
        margin: 0;
    }
}

@media only screen and (max-width: 767px) {
    #socket {
        font-size: 15px;
        line-height: 1.5em;
    }
}

/* =============================================================
   Line between Footer & Socket - Moon Darque AI Transparency
   =============================================================*/
.moon-darque-transparency-notice {
    clear: both;
    width: 100%;
    padding: 4px 20px 10px;
    text-align: center;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: var(--enfold-footer-color-color);
}

@media only screen and (max-width: 767px) {
    .moon-darque-transparency-notice {
        padding: 4px 16px 8px;
        font-size: 10px;
        line-height: 1.35;
    }
}

/* =========================================================
   Blog Posts - Headings & Content
   ========================================================= */
#top #wrap_all .main_color h1:not(.av-special-heading-tag),
#top #wrap_all .alternate_color h1:not(.av-special-heading-tag),
#top #wrap_all .main_color h2:not(.av-special-heading-tag),
#top #wrap_all .alternate_color h2:not(.av-special-heading-tag),
#top #wrap_all .main_color h3:not(.av-special-heading-tag),
#top #wrap_all .alternate_color h3:not(.av-special-heading-tag) {
    font-weight: 500;
}

h1.post-title.entry-title {
    text-transform: uppercase !important;
}

.entry-content h2  {
    text-transform: none !important;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    font-size: 16.5px;
    line-height: 1.7;
}

/* H3-Überschrift, die direkt nach einem Blockquote kommt */
.entry-content blockquote + h3 {
    margin-top: 35px !important;
}

/* Blog Grid Layout Heading & Meta Info */
#top h3.slide-entry-title.entry-title {
    text-transform: uppercase !important;
}

#top .post-entry .slide-meta {
    text-transform: uppercase;
    font-family: 'oswald', Helvetica, Arial, sans-serif;
}

@media only screen and (max-width: 989px) {
    .responsive #top #wrap_all .avia-content-slider-odd .slide-entry {
        margin-left: 0;
        width: 100%;
    }
}

@media only screen and (max-width: 989px) {
    .responsive #top #wrap_all .avia-content-slider-odd .slide-entry.post-format-gallery {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 989px) {
    .responsive #top #wrap_all .flex_column {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .entry-content p,
    .entry-content ul,
    .entry-content ol {
        font-size: 20px;
        line-height: 1.7;
    }
}

/* =========================================================
   CATEGORY ARCHIVE LANDING PAGES
   ========================================================= */


/* ---------------------------------------------------------
   Hide native archive heading / description only when
   the category has the ACF landing header
   --------------------------------------------------------- */

body.md-category-landing .title_container {
	display: none !important;
}

body.md-category-landing .category-term-description {
	display: none !important;
}


/* =========================================================
   HERO
   ========================================================= */

.md-category-hero {
	position: relative;
	width: 100%;

	height: 425px;
	min-height: 425px;

	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: scroll;

	/*
	 * background-position comes from the ACF field
	 * and is therefore deliberately not set here.
	 */

	display: flex;
	align-items: center;
	justify-content: center;

	overflow: hidden;

	padding: 50px 0 0;
	box-sizing: border-box;
}


.md-category-hero-overlay {
	position: absolute;
	inset: 0;

	background-color: #000000;
	opacity: var(--md-category-overlay, 0.30);

	z-index: 1;
	pointer-events: none;
}


.md-category-hero-inner {
	position: relative;
	z-index: 2;

	width: 100%;

	padding-top: 0;
	padding-bottom: 0;

	text-align: center;
}


/*
 * Uses Enfold's real Special Heading structure.
 * Typography itself is inherited from Enfold.
 */

#top #wrap_all .md-category-heading {
	width: 100%;

	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 0;

	font-size: 90px;

	/*
	 * Fine adjustment to match the vertical position
	 * of the original Enfold News heading.
	 */
	transform: translateY(8px);
}


#top #wrap_all .md-category-heading .av-special-heading-tag {
	font-size: 1em;
}


/* =========================================================
   INTRO
   ========================================================= */

.md-category-intro {
	position: relative;
	width: 100%;

	padding: 70px 0 40px;

	overflow: hidden;
}


/*
 * Same grunge + black overlay treatment
 */

.md-category-intro-overlay {
	position: absolute;
	inset: 0;

	background-color: #000000;
	background-image:
		url('/wp-content/themes/enfold/images/background-images/grunge-big-light.png');

	background-repeat: repeat;

	opacity: 0.5;

	z-index: 0;
	pointer-events: none;
}


.md-category-intro-inner {
	position: relative;
	z-index: 1;

	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 6%;

	align-items: start;
}


/* Moon Darque accent */

.md-category-intro-column strong,
.md-category-intro-column a {
	color: #469cff;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.md-category-divider {
	position: relative;
	z-index: 1;

	display: flex;
	align-items: center;
	justify-content: center;

	margin-top: 15px;
	margin-bottom: 40px;
}


.md-category-divider-line {
	display: block;

	width: 50px;
	height: 2px;

	background-color: rgba(255, 255, 255, 0.44);
}


.md-category-divider-icon {
	display: inline-block;

	margin: 0 7px;

	color: #469cff;

	font-family: 'entypo-fontello';
	font-size: 16px;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
}


.md-category-divider-icon::before {
	content: "\e8b4";
}


/* ---------------------------------------------------------
   No border before native archive content
   --------------------------------------------------------- */

body.md-category-landing .md-category-intro + .container_wrap {
	border-top: none !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media only screen and (max-width: 989px) and (min-width: 768px) {

	/*
	 * Hero bleibt bei der Desktop-Höhe von 425px.
	 * Heading bleibt ebenfalls bei 90px.
	 */

	.md-category-intro {
		padding: 55px 0 35px;
	}

	.md-category-intro-inner {
		grid-template-columns: 1fr;
		row-gap: 30px;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

	/*
	 * 214px already matches the original News Hero
	 * very closely on mobile.
	 */
	.md-category-hero {
		height: 214px;
		min-height: 214px;
		padding: 0;
	}

	/*
	 * Enfold's original Special Heading uses 0.8em
	 * between 480px and 767px:
	 * 90px × 0.8 = 72px.
	 */
	#top #wrap_all .md-category-heading {
		font-size: 72px;
		transform: none;
	}

	.md-category-intro {
		padding: 40px 0 30px;
	}

	.md-category-intro-inner {
		grid-template-columns: 1fr;
		row-gap: 30px;
	}

	.md-category-intro-column .avia_textblock,
	.md-category-intro-column .avia_textblock p,
	.md-category-intro-column .avia_textblock ul,
	.md-category-intro-column .avia_textblock ol {
		font-size: 20px;
		line-height: 1.65;
	}
}

/* =========================================================
   Pages / Classic Editor - Icons in Headings & Links
   ========================================================= */
.icon-heading {
    display: flex;
    align-items: center;
    margin-top: 24px;
}

.icon-heading h2, .icon-heading h3 {
    margin: 0;
}

.icon-heading .av_font_icon {
    position: relative;
    top: 4px;
}

/* =========================================================
   Streaming-Akkordeon
   ========================================================= */
[id^="streaming-platform-bg-"] .toggle_content{
    position: relative;
    overflow: hidden;
}

[id^="streaming-platform-bg-"] .toggle_content::before{
    content: none;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);

    font-family: var(--icon-font, "Streamingplatforms") !important;
    font-size: 100px;
    line-height: 1;
    color: rgba(255,255,255,0.40);

    pointer-events: none;
    z-index: 0;
}

[id^="toggle-streaming-platform-bg-"][aria-expanded="true"]
+ [id^="streaming-platform-bg-"] .toggle_content::before{
    content: var(--icon);
}

[id^="streaming-platform-bg-"] .toggle_content > *{
    position: relative;
    z-index: 1;
}

#streaming-platform-bg-spotify     { --icon: "\e804"; --icon-font: "Streamingplatforms"; }
#streaming-platform-bg-apple       { --icon: "\e805"; --icon-font: "Streamingplatforms"; }
#streaming-platform-bg-itunes       { --icon: "\e805"; --icon-font: "Streamingplatforms"; }
#streaming-platform-bg-amazon      { --icon: "\e807"; --icon-font: "Streamingplatforms"; }
#streaming-platform-bg-deezer      { --icon: "\e808"; --icon-font: "Streamingplatforms"; }
#streaming-platform-bg-tidal       { --icon: "\e809"; --icon-font: "Streamingplatforms"; }
#streaming-platform-bg-anghami     { --icon: "\e80a"; --icon-font: "Streamingplatforms"; }
#streaming-platform-bg-flo         { --icon: "\e80d"; --icon-font: "Streamingplatforms"; }
#streaming-platform-bg-boomplay    { --icon: "\e80b"; --icon-font: "Streamingplatforms"; }
#streaming-platform-bg-soundcloud  { --icon: "\e913"; --icon-font: "entypo-fontello"; }
#streaming-platform-bg-youtube     { --icon: "\e921"; --icon-font: "entypo-fontello"; }

/* Featherlight iframe: Box with real rounded corners + spacing */
.featherlight .featherlight-content {
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    max-width: 900px !important;
    width: 92vw !important;
    max-height: 86vh !important;
    margin: 4vh auto !important;
    background: transparent !important;
}

/* iframe should fill in the box */
.featherlight .featherlight-content iframe {
    display: block !important;
    width: 92vw !important;
    max-width: 900px !important;
    height: 86vh !important;
    border: 0 !important;
}

/* Blog - Center Meta Infos */
span.post-meta-infos {
    min-width: 100%;
}

/* Media Player */
div .mejs-container {
    background: var(--enfold-socket-color-bg);
}

.wp-playlist-light .wp-playlist-caption {
    color: var(--enfold-alternate-color-color);
}

.wp-playlist-light .wp-playlist-playing .wp-playlist-caption,
.wp-playlist-light .wp-playlist-playing .wp-playlist-item-length {
    color: var(--enfold-main-color-heading);
}


/* =========================================================
   MOBILE
   ========================================================= */

/* =========================================================
   Enfold: Burger Menu force under 1150px
   Area: 990px – 1150px
   ========================================================= */

@media only screen and (max-width: 1150px) {
    .menu-item, #top #menu-item-search { display: none; }
    nav.main_menu, .av-burger-menu-main.menu-item-avia-special { display: block !important; }
    nav.main_menu a { color: white !important; }
}

/* Home Page Slider & Huge Section Spacing */
@media only screen and (max-width: 767px) {
    #top .avia-slideshow .avia-caption-content p { margin-top: -30px; }
    #top .avia-section-huge .content, .avia-section-huge .sidebar { padding-top: 60px; padding-bottom: 60px; }
}

/* Burger Menu Font Size */
@media only screen and (max-width: 767px) {
    .av-active-burger-items a { font-size: 30px; }
}
