﻿/* =========================
   TYPOGRAPHY
   ========================= */

p {
    font-family: "Times New Roman", Times, serif;
    font-size: 1.3em;
    font-weight: normal;
    color: #000000;
    text-indent: 25px;
}

a {
    font-family: 'Times New Roman', Times, serif;
    color: #F46A25;
    text-decoration: none;
}

    a:visited {
        font-family: 'Times New Roman', Times, serif;
        text-decoration: underline;
        color: #be4d00;
    }

    a:hover {
        font-family: 'Times New Roman', Times, serif;
        text-transform: uppercase;
        text-decoration: underline;
        font-weight: bold;
        color: #803100;
    }


.Normal {
    font-size: 14px;
    line-height: 1.428;
}

/* =========================
   HERO / SOCIAL PANE
   ========================= */

.hero-section-wrapper-2.socialpane {
    background-image: url('images/Bible_1.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    margin: 0;
}

.hero-logo img {
    max-height: 120px;
    height: auto;
    width: auto;
    display: block;
}

.hero-section-wrapper-2 .row + .row {
    margin-top: 1.5rem; /* your mt-3 handles this too, so optional */
}

.hero-logo img,
#Logo_320 img {
    max-height: 120px;
    height: auto;
    width: auto;
    display: block;
}

/* =========================
   FULL-WIDTH WRAPPER
   ========================= */

.container-fluid.p-0 {
    padding-left: 0;
    padding-right: 0;
}

/* Ensure the header/nav stack really spans the full viewport width */
.header.header-2,
.header.header-2 .navbar-area,
.header.header-2 .container-fluid,
.navbar-jacaranda {
    width: 100%;
    max-width: 100%;
}

/* =========================
   JACARANDA NAVBAR (BS5)
   ========================= */

.navbar-jacaranda {
    background-color: #008000; /* main green */
    border: 2px solid #ffffff; /* 2px white border all around */
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-sizing: border-box; /* ensures border stays within full width */
}

    /* (Brand/logo no longer used in navbar, but keep for safety) */
    .navbar-jacaranda .navbar-brand img {
        height: 48px;
        width: auto;
    }

    /* Nav list alignment (DDR output) */
    .navbar-jacaranda .navbar-nav {
        align-items: center;
    }

    /* =========================
   MAIN MENU (DDR) LINKS
   ========================= */

    /* Main menu links: first letter uppercase by default */
    .navbar-jacaranda .nav.navbar-nav > li > a {
        color: #ffffff;
        font-family: "Times New Roman", Times, serif;
        font-size: 16px;
        font-weight: bold;
        text-transform: capitalize; /* default: first letter uppercase */
        padding: 0.75rem 1rem;
    }

        /* Hover + focus: UPPERCASE and darker green background */
        .navbar-jacaranda .nav.navbar-nav > li > a:hover,
        .navbar-jacaranda .nav.navbar-nav > li > a:focus {
            color: #ffffff;
            background-color: #004c00;
            text-transform: uppercase; /* on hover: uppercase */
        }

    /* Active/selected page: UPPERCASE with highlight green */
    .navbar-jacaranda .nav.navbar-nav > li.active > a,
    .navbar-jacaranda .nav.navbar-nav > li.active > a:focus,
    .navbar-jacaranda .nav.navbar-nav > li.active > a:hover {
        color: #ffffff;
        background-color: #81c348;
        text-transform: uppercase; /* active: uppercase */
    }

    /* =========================
   RIGHT-SIDE NAV (Search / Login / User)
   ========================= */

    /* Right-side nav links: first letter uppercase by default */
    .navbar-jacaranda .nav-link {
        color: #ffffff;
        font-family: "Times New Roman", Times, serif;
        font-size: 16px;
        font-weight: bold;
        text-transform: capitalize; /* default: first letter uppercase */
        padding: 0.75rem 1rem;
    }

        /* Hover + focus: uppercase and darker green */
        .navbar-jacaranda .nav-link:hover,
        .navbar-jacaranda .nav-link:focus {
            color: #ffffff;
            background-color: #004c00;
            text-transform: uppercase;
        }

        /* Active (current page / open dropdown) */
        .navbar-jacaranda .nav-link.active,
        .navbar-jacaranda .nav-link.show {
            color: #ffffff;
            background-color: #81c348;
            text-transform: uppercase;
        }

    /* =========================
   DROPDOWN MENU
   ========================= */

    /* Final combined definition for dropdown menu */
    .navbar-jacaranda .dropdown-menu {
        background-color: #81c348; /* final green */
        border-radius: 0;
        border: 1px solid #ffffff;
        margin-top: 0;
        min-width: 220px; /* sensible min width */
    }

    /* Dropdown items: first letter uppercase by default */
    .navbar-jacaranda .dropdown-item {
        color: #ffffff;
        font-family: "Times New Roman", Times, serif;
        font-size: 15px;
        font-weight: bold;
        text-transform: capitalize;
        padding: 0.5rem 1rem;
    }

        /* Hover/active dropdown items: uppercase + highlight green */
        .navbar-jacaranda .dropdown-item:hover,
        .navbar-jacaranda .dropdown-item:focus,
        .navbar-jacaranda .dropdown-item.active {
            color: #ffffff;
            background-color: #81c348;
            text-transform: uppercase;
        }

        /* Prevent BS default blue focus ring from clashing */
        .navbar-jacaranda .nav-link:focus,
        .navbar-jacaranda .dropdown-item:focus {
            box-shadow: none;
        }

    /* Default child dropdown links: first letter uppercase, full width */
    .navbar-jacaranda .dropdown-menu > li > a {
        color: #ffffff;
        font-family: "Times New Roman", Times, serif;
        font-size: 15px;
        font-weight: bold;
        text-transform: capitalize;
        padding: 0.5rem 1rem;
        display: block;
        width: 100%; /* fill the dropdown width */
        box-sizing: border-box; /* padding stays inside width */
    }

        /* Hover/active: uppercase + highlight green background, still full width */
        .navbar-jacaranda .dropdown-menu > li > a:hover,
        .navbar-jacaranda .dropdown-menu > li > a:focus,
        .navbar-jacaranda .dropdown-menu > li.active > a {
            color: #ffffff;
            background-color: #008000 !important; /* highlight green */
            text-transform: uppercase;
        }

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

    .navbar-jacaranda .navbar-toggler {
        border: 1px solid #ffffff;
        padding: 0.25rem 0.5rem;
    }

        .navbar-jacaranda .navbar-toggler:focus {
            box-shadow: none;
        }

    /* three lines of the toggler */
    .navbar-jacaranda .toggler-icon {
        display: block;
        width: 22px;
        height: 2px;
        background-color: #ffffff;
        margin: 4px 0;
    }

    /* When menu is open */
    .navbar-jacaranda .navbar-toggler[aria-expanded="true"] .toggler-icon {
        background-color: #81c348;
    }

/* =========================
   MAIN CONTENT BACKGROUND (Torah scroll, responsive)
   ========================= */

#maincontent {
    /* Default background for normal/desktop screens */
    background-color: #070300; /* base color across page */
    /*background-image: url('images/Torah_1024_15362.png');*/
    background-repeat: no-repeat;
    background-position: center top;
    /* Fill the width, crop bottom slightly on very tall pages */
    background-size: cover;
    /* Scroll with the content (not fixed) */
    background-attachment: scroll;
}

/* Large desktops / very wide screens: use the larger image */
@media (min-width: 1400px) {
    #maincontent {
        /*background-image: url('images/torah_2560_2840.png');*/
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        background-attachment: scroll;
    }
}

/* Medium screens (typical laptops): show more of the scroll */
@media (min-width: 992px) && (max-width: 1399.98px) {
    #maincontent {
        background-size: contain; /* show the whole image if possible */
        background-position: center top;
    }
}

/* Small screens: show more of the scroll, even if it doesn't fill completely */
@media (max-width: 767.98px) {
    #maincontent {
        background-size: contain; /* show the whole image if possible */
        background-position: center top;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }
}

/* =========================
   DNN FORM FIELDS
   ========================= */

.dnnFormItem input[type="email"],
.dnnFormItem input[type="password"],
.dnnFormItem input[type="search"],
.dnnFormItem input[type="text"],
.dnnFormItem select,
.dnnFormItem textarea {
    background: var(--dnn-color-background,#fff);
    border: 1px solid var(--dnn-color-foreground-light,#c9c9c9);
    border-radius: var(--dnn-controls-radius,3px);
    color: var(--dnn-color-foreground,#333);
    font-size: 1em;
    margin-bottom: 1.125rem;
    max-width: 445px;
    padding: .5rem;
    width: 45%;
}

/* =========================================================
   DNN ADMIN: Fix Add Module / Edit overlays position
   ========================================================= */

/* PersonaBar / Module Manager / generic popup containers */
.dnnModuleManager .ui-dialog,
.dnnFormPopup .ui-dialog {
    top: 10% !important; /* pull dialog higher into view */
    transform: none !important; /* avoid any translateY centering */
    max-height: 80vh; /* keep it within viewport height */
    overflow-y: auto; /* scroll if it gets tall */
}

/* Older ControlBar panels if they are still used */
#ControlBar_Options,
#ControlBar_ModuleManager,
#ControlBar_Editor,
#ControlBar_EditPage {
    top: 10% !important;
}

/* Fix DNN Add Module popup position in edit mode */
body.dnnEditState #Form {
    height: 100%;
}

/* Make sure the footer doesn’t overwrite the image if you want it to sit on top of the same background */
#FooterPane,
#FooterRow,
footer {
    background-color: transparent;
}
/* =========================================================
   COPYRIGHT PANEL
   ========================================================= */

#CopyRightPane {
    margin-top: 10px;
    margin-bottom: 20px; /* gap so the background flows around it */
}

    /* The inner panel that holds the text/links */
    #CopyRightPane .copyright-panel {
        background-color: rgba(255, 255, 255, 0.9); /* slight card effect over parchment */
        padding: 8px 16px;
        border-radius: 4px;
        display: inline-block;
    }

        /* Optional: tweak link spacing inside copyright panel */
        #CopyRightPane .copyright-panel a {
            margin: 0 4px;
        }
