/*
Theme Name: FRKA 2025
Author: Wolf Paul with ChatGPT
Description: A simple WordPress theme with a responsive sidebar and banner widget area.
Version: 0.15
Text Domain: frka-2025
*/

:root {
    --max-width: 960px ;
    --banner1-height: 40px;
    --banner2-height: 40px;
    --banner-height: 120px;
    --footer-height: 40px;
    --sidebar-width: 250px;
    --navigation-height: 1px;
    --adjustment: 5px; /* Extra height deduction */
    --widget-padding: 10px; /* Adjust padding inside widgets */

	--content-background1: white;
	--content-color: black;
	--content-link: red;

	--banner1-background: red;
	--banner1-color: white;
	--banner1-link: white;
	--banner2-background: white;
	--banner2-color: red;
	--banner2-link: red;

	--footer-background: red;
	--footer-color: white;
	--footer-link: white;

	--sidebar-background: #fadbd8;
	--sidebar-color: red;
	--sidebar-link: red;
}
	

body#wnp {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
	width: calc(100% - 20px);
    max-width: var(--max-width) ;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    padding: 0;
}

#banner1 {
    background-color: var(--banner1-background);
    color: var(--banner1-color);
    text-align: center;
    height: var(--banner1-height);
    min-height: var(--banner1-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
}

#banner2 {
    background-color: var(--banner2-background);
    color: var(--banner2-color);
    text-align: left;
    height: var(--banner2-height);
    min-height: var(--banner2-height);
    display: flex;
	float:left;
    align-items: left;
    justify-content: left;
    position: relative;
    padding: 0;
}

#banner2a{
	width:50% !important;
    background-color: var(--banner2-background);
    color: var(--banner2-color);
	margin: 0;
	padding-left: 8px;
	padding-top: 0;
	text-align:left;
	font-size: 32px;
	font-weight: bold;
}

#banner2a a {
	text-decoration: none !important;
	color: var(--banner2-link) !important;
}

#banner2b{
	width:50% !important;
    background-color: var(--banner2-background);
    color: var(--banner2-color);
	margin: 0;
	padding-right: 8px;
	padding-top: 7px;
	text-align:right;
	font-size: 20px;
	font-weight: bold;
}

#banner2b a {
	text-decoration: none !important;
	color: var(--banner2-link) !important;
}


#banner3 {
    background-color: var(--banner1-background);
    color: var(--banner1-color);
    text-align: center;
    height: var(--banner1-height);
    min-height: var(--banner1-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
}

#banner3a{
	width:50% !important;
    background-color: var(--banner1-background);
    color: var(--banner1-color);
	margin: 0;
	padding-left: 8px;
	padding-top: 0;
	text-align:left;
	font-size: 16px;
}

#banner3a a {
	text-decoration: none !important;
	color: var(--banner1-link) !important;
}

#banner3b{
	width:50% !important;
    background-color: var(--banner1-background);
    color: var(--banner1-color);
	margin: 0;
	padding-right: 9px;
	padding-top: 7px;
	text-align:right;
	font-size: 16px;
}

#banner3b a {
	text-decoration: underline auto solid var(--banner1-link) !important;
	color: var(--banner1-link) !important;
}

.banner-widget-area {
    width: 100%;
    text-align: center;
    padding: 10px; /* Add some spacing for widgets */
    box-sizing: border-box;
}

.banner-widget-area h3 {
    margin: 0; /* Adjust widget title margin if needed */
    font-size: 1.5rem;
    color: var(--banner2-color);
}

#menu-icon {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
}

/* Flexbox layout for #main */
#main {
    display: flex; /* Ensure sidebar and content are side-by-side */
    flex: 1;
    max-height: calc(100vh - var(--banner-height) - var(--footer-height) - var(--navigation-height) - var(--adjustment));
    overflow: hidden;
}

#sidebar {
    width: var(--sidebar-width) !important;
    min-width: var(--sidebar-width) !important;
    background-color: var(--sidebar-background);
	color: var(--sidebar-color);
    padding: var(--widget-padding);
    box-sizing: border-box;
    overflow-y: auto;
}

#content {
    flex: 1; /* Take up remaining space */
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

#content a {
	text-decoration: none;
	color: var(--content-link);
}

article a {
	text-decoration: underline auto solid var(--content-link) !important;
	color: var(--content-link);
}

div.su_tabs a  {
	text-decoration: underline auto solid var(--content-link) !important;
	color: var(--content-link) !important;
}

#footer {
    height: var(--footer-height);
    background-color: var(--footer-background);
    color: var(--footer-color);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Sidebar overlay for small screens */
#sidebar-overlay {
    display: none;
    position: fixed;
    top: var(--banner-height);
    left: 0;
    height: calc(100vh - var(--banner-height));
    width: var(--sidebar-width);
    background-color: var(--sidebar-background);
	color: var(--sidebar-color);
    z-index: 1000;
    overflow-y: auto;
    padding: var(--widget-padding);
    box-sizing: border-box;
}

#sidebar-overlay.active {
    display: block;
}

@media (max-width: 700px) {
    #menu-icon {
        display: block;
    }

    #sidebar {
        display: none;
    }

    .banner-widget {
	transform: scale(0.5);
    }
}

.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#sidebar a {
  text-decoration: none;
  color: var(--sidebar-link);
  border-bottom: thin dotted var(--sidebar-link);
}

#footer a {
  text-decoration: none;
  color: var(--footer-color);
}


ul#menu-main-menu {
   list-style-type: none !important; /* Removes the bullet */
   padding: 0;            /* Optional: Removes padding */
   margin: 0;             /* Optional: Removes margin */
}        

#menu-main-menu i {
    display: inline-block; /* Ensures padding affects layout */
    padding-bottom: 10px; /* Adjust as needed */
}

#wnp p,li,span {
	font-family: Palatino,serif !important;
}

article p,li,span {
	font-family: Palatino,serif !important;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

iframe.youtube {
    aspect-ratio: 16 / 9;
    width: 100% !important;
    max-width: 400px !important;
}

.edit-post-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.edit-post-button i {
    margin-right: 5px; /* Space between icon and text */
    font-size: 16px;
}

.edit-post-button:hover {
    background-color: #005f7f;
    color: #fff;
}

/*
span.su-tabs-current {
   border: 2px solid var(--banner-color) ;
   border-bottom:none;
}
*/

/* Freikirchen Hierarchical Menu Styles */
:root {
    --primary-color: #e60000;
    --primary-hover: #ff3333;
    --text-color: #333;
    --bg-color: #fff;
    --menu-bg: #ffebeb;
    --border-color: #ffcccc;
}

/* Menu Styles */
.freikirchen-nav .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.freikirchen-nav .menu li {
    position: relative;
}

.freikirchen-nav .menu a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.freikirchen-nav .menu a:hover {
    background-color: var(--border-color);
}

.freikirchen-nav .menu > li > a {
    font-weight: bold;
}

/* Submenu Styles */
.freikirchen-nav .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.freikirchen-nav .submenu a {
    padding-left: 30px;
    font-size: 0.95em;
}

.freikirchen-nav .submenu .submenu a {
    padding-left: 45px;
    font-size: 0.9em;
}

/* Menu Toggle for parent items */
.freikirchen-nav .menu-toggle {
    position: absolute;
    right: 15px;
    top: 12px;
    cursor: pointer;
    transition: transform 0.3s;
    font-size: 0.8em;
}

/* Active submenu class */
.freikirchen-nav .active > .submenu {
    max-height: 1000px;
}

.freikirchen-nav .active > a > .menu-toggle {
    transform: rotate(90deg);
}

/* Mobile Menu Button */
.menu-button {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
    #sidebar {
        display: none;
    }

    .menu-button {
        display: block;
    }

    #sidebar-overlay {
        width: 280px;
        background-color: var(--menu-bg);
        border-right: 1px solid var(--border-color);
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }
}

/*
     FILE ARCHIVED ON 11:00:53 May 19, 2026 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 20:31:42 Nov 09, 2026.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  capture_cache.get: 12.464
  load_resource: 136.039
  PetaboxLoader3.resolve: 69.352
  PetaboxLoader3.datanode: 22.275
*/