/*
#------------------------------------------------------------------------
# Corporate - April 2010 (for Joomla 1.5) by Gavick.com
# Faithfully rebuilt for PHP 8.4 with 100% responsive modern CSS
#------------------------------------------------------------------------
*/

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 13px;
    background: #f4f2ef;
}

body.theme-classic {
    font-family: Arial, Helvetica, sans-serif;
    color: #444444;
    background: #f4f2ef;
    line-height: 1.7;
    font-size: 13px;
    margin: 0;
    padding: 0;
}

a {
    color: #444444;
    text-decoration: none;
}
a:hover, a:active, a:focus {
    color: #b02500;
    text-decoration: underline;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background: #b02500;
    color: #ffffff;
    padding: 6px 12px;
    font-weight: bold;
    z-index: 99999;
}
.skip-link:focus {
    top: 10px;
}

/* Main Container Wrapper */
#gk-wrapper.main {
    width: 980px;
    max-width: 96%;
    margin: 0 auto;
    background: #ffffff;
    border-left: 1px solid #dcdad6;
    border-right: 1px solid #dcdad6;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

/* ==========================================================================
   1. TOP TOOLBAR (#gk-toolbar)
   ========================================================================== */
#gk-toolbar {
    background: #2b3642;
    color: #cbd5e1;
    font-size: 11px;
    padding: 6px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1a222a;
}

#gk-toolbar a {
    color: #cbd5e1;
    text-decoration: none;
}
#gk-toolbar a:hover {
    color: #ffffff;
}

.theme-switch-badge {
    background: #171f26;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid #334155;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.theme-switch-badge a.active {
    color: #ec3200;
    font-weight: bold;
}

.gk-toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gk-lang-flags {
    display: flex;
    align-items: center;
    gap: 6px;
}
.gk-lang-flags a {
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 2px;
}
.gk-lang-flags a.active {
    background: #b02500;
    color: #ffffff;
}

/* ==========================================================================
   2. HEADER & NAVIGATION (#gk-nav & #gk-mainnav)
   ========================================================================== */
#gk-nav {
    background: #ffffff;
    border-bottom: 1px solid #e5e3df;
    padding: 15px 20px 0 20px;
}

.gk-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 15px;
}

#gk-logo {
    margin: 0;
    padding: 0;
}
#gk-logo a.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
#gk-logo img {
    height: 48px;
    width: auto;
    display: block;
}

/* MegaMenu Navigation */
.gk-megamenu {
    margin: 0;
    padding: 0;
}

.gk-megamenu ul.level0 {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 2px;
}

.gk-megamenu ul.level0 > li {
    position: relative;
}

.gk-megamenu ul.level0 > li > a {
    display: block;
    padding: 8px 13px;
    color: #333333;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.15s ease;
}

.gk-megamenu ul.level0 > li > a:hover,
.gk-megamenu ul.level0 > li.active > a {
    background: #b02500;
    color: #ffffff;
    text-decoration: none;
}

/* Dropdown Level 1 */
.gk-megamenu li.haschild:hover > .childcontent,
.gk-megamenu li.haschild:focus-within > .childcontent {
    display: block;
}

.childcontent {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid #dcdad6;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 6px 0;
}

.childcontent ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.childcontent li a {
    display: block;
    padding: 7px 15px;
    color: #444444;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    border-bottom: 1px solid #f0eee9;
}

.childcontent li a:hover {
    background: #f4f2ef;
    color: #b02500;
    padding-left: 18px;
    text-decoration: none;
}

/* ==========================================================================
   3. SHOWCASE / HEADER BANNER (#gk-header)
   ========================================================================== */
#gk-header {
    background: #b02500 url('/assets/images/original/header_red_bg.jpg') no-repeat right top;
    background-size: cover;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.gk-header-container {
    display: grid;
    grid-template-columns: 1fr 310px;
    min-height: 240px;
}

.gk-header-slide-preview {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0,0,0,0.15);
    position: relative;
}

.slide-badge {
    display: inline-block;
    background: #ec3200;
    color: #ffffff;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 10px;
    width: fit-content;
}

.slide-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.slide-desc {
    color: #f3beb0;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.slide-cta-btn {
    display: inline-block;
    background: #ffffff;
    color: #b02500;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
    width: fit-content;
    text-decoration: none;
}
.slide-cta-btn:hover {
    background: #ec3200;
    color: #ffffff;
    text-decoration: none;
}

.gk-header-tabs {
    background: rgba(138, 28, 0, 0.95);
    border-left: 1px solid rgba(255,255,255,0.15);
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-tab-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #ec3200;
    padding-bottom: 6px;
    margin-bottom: 10px;
}
.header-tab-title small {
    display: block;
    font-size: 11px;
    color: #f3beb0;
    font-weight: normal;
    text-transform: uppercase;
}

.header-tab-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-tab-list li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(231, 86, 48, 0.4);
    font-size: 12px;
}
.header-tab-list li:last-child {
    border-bottom: none;
}
.header-tab-list a {
    color: #ffffff;
    text-decoration: none;
    display: block;
}
.header-tab-list a:hover {
    color: #f3beb0;
    padding-left: 4px;
    text-decoration: none;
}

/* ==========================================================================
   4. BREADCRUMBS & DATE BAR (#gk-breadcrumb)
   ========================================================================== */
#gk-breadcrumb {
    background: #faf8f5;
    border-bottom: 1px solid #e5e3df;
    padding: 8px 20px;
    font-size: 11px;
    color: #777777;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumbs-trail {
    display: flex;
    align-items: center;
    gap: 5px;
}
.breadcrumbs-trail strong {
    color: #444444;
}
.breadcrumbs-trail a {
    color: #666666;
    text-decoration: none;
}
.breadcrumbs-trail a:hover {
    color: #b02500;
    text-decoration: underline;
}

.gk-current-date {
    color: #888888;
}

/* ==========================================================================
   5. MAIN CONTAINER & 2-COLUMN LAYOUT (#gk-container)
   ========================================================================== */
#gk-container {
    padding: 25px 20px 35px 20px;
}

.gk-mainbody-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 25px;
    align-items: start;
}

.gk-mainbody-full {
    display: block;
}

/* ==========================================================================
   6. ARTICLE & CONTENTPANEOPEN (.contentpaneopen)
   ========================================================================== */
.contentpaneopen {
    margin-bottom: 30px;
}

.contentheading, h1.contentheading {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #222222;
    font-weight: bold;
    margin: 0 0 10px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #dcdad6;
    line-height: 1.3;
}

.article-tools {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}
.article-tools img {
    border: none;
    vertical-align: middle;
    cursor: pointer;
}

.article-content {
    font-size: 13px;
    line-height: 1.7;
    color: #444444;
}

.article-content p {
    margin-bottom: 12px;
}

.article-content h2 {
    font-size: 16px;
    color: #b02500;
    font-weight: bold;
    margin: 20px 0 8px 0;
    border-bottom: 1px dotted #dcdad6;
    padding-bottom: 4px;
}

.article-content h3 {
    font-size: 14px;
    color: #333333;
    font-weight: bold;
    margin: 15px 0 6px 0;
}

.article-content ul {
    margin: 0 0 15px 20px;
}
.article-content li {
    margin-bottom: 4px;
}

/* Readon Button */
a.readon {
    display: inline-block;
    background: #b02500;
    color: #ffffff;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
    margin-top: 10px;
    text-decoration: none;
}
a.readon:hover {
    background: #ec3200;
    color: #ffffff;
    text-decoration: none;
}

/* Module Grid on Modules list */
.classic-modules-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
.classic-module-item {
    background: #faf8f5;
    border: 1px solid #e5e3df;
    padding: 14px;
    border-radius: 2px;
}
.classic-module-item:hover {
    border-color: #b02500;
    background: #ffffff;
}
.classic-module-item h3 {
    margin: 0 0 6px 0;
    font-size: 15px;
}
.classic-module-item h3 a {
    color: #b02500;
    text-decoration: none;
}
.classic-module-item h3 a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   7. RIGHT SIDEBAR MODULES (.moduletable)
   ========================================================================== */
#gk-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.moduletable {
    background: #faf8f5;
    border: 1px solid #e5e3df;
    border-radius: 2px;
    overflow: hidden;
}

.moduletable.dark {
    background: #ffffff;
    border: 1px solid #dcdad6;
}

.moduletable-header {
    background: #2b3642;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 12px;
    margin: 0;
    border-bottom: 2px solid #b02500;
}

.moduletable_content {
    padding: 12px;
}

/* Sidebar Menu List */
.sidebar-module-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-module-list li {
    padding: 5px 0;
    border-bottom: 1px dotted #e5e3df;
    font-size: 12px;
}
.sidebar-module-list li:last-child {
    border-bottom: none;
}
.sidebar-module-list a {
    color: #333333;
    text-decoration: none;
    display: block;
}
.sidebar-module-list a:hover {
    color: #b02500;
    padding-left: 3px;
    text-decoration: none;
}

/* Video Thumbnails in Sidebar */
.sidebar-video-item {
    margin-bottom: 12px;
    border-bottom: 1px solid #f0eee9;
    padding-bottom: 10px;
}
.sidebar-video-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.sidebar-video-thumb {
    width: 100%;
    height: auto;
    border: 1px solid #dcdad6;
    display: block;
    margin-bottom: 4px;
}
.sidebar-video-title {
    font-size: 11px;
    font-weight: bold;
    color: #b02500;
}

/* CTAP Badge in Sidebar */
.ctap-sidebar-box {
    text-align: center;
    padding: 10px 5px;
}
.ctap-sidebar-box img {
    max-width: 160px;
    margin: 0 auto 8px auto;
    display: block;
}
.ctap-sidebar-box p {
    font-size: 11px;
    color: #666666;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   8. FORMS & TABLES
   ========================================================================== */
.classic-form {
    background: #faf8f5;
    border: 1px solid #e5e3df;
    padding: 20px;
    margin-top: 15px;
}

.form-group {
    margin-bottom: 12px;
}
.form-group label {
    display: block;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 3px;
    color: #333333;
}
.form-control {
    width: 100%;
    padding: 6px 8px;
    font-size: 12px;
    border: 1px solid #cccccc;
    background: #ffffff;
    border-radius: 2px;
}
.form-control:focus {
    border-color: #b02500;
    outline: none;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 12px;
}
.specs-table th, .specs-table td {
    border: 1px solid #dcdad6;
    padding: 7px 10px;
    text-align: left;
}
.specs-table th {
    background: #f4f2ef;
    color: #222222;
    font-weight: bold;
    width: 35%;
}

.alert {
    padding: 10px 14px;
    margin-bottom: 15px;
    border-radius: 2px;
    font-size: 12px;
}
.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.alert-danger {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* ==========================================================================
   9. BOTTOM STRIP (#gk-botsl1)
   ========================================================================== */
#gk-botsl1 {
    background: #2b3642;
    color: #cbd5e1;
    padding: 20px;
    border-top: 3px solid #b02500;
    font-size: 12px;
}

.botsl1-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.botsl1-left p {
    margin: 0;
    line-height: 1.5;
}
.botsl1-left a.readon {
    margin-top: 6px;
    background: #b02500;
}

.botsl1-right {
    text-align: right;
    line-height: 1.6;
}
.botsl1-right a {
    color: #f3beb0;
    text-decoration: underline;
}
.botsl1-right strong {
    color: #ffffff;
}

/* ==========================================================================
   10. FOOTER (#gk-footer)
   ========================================================================== */
#gk-footer {
    background: #1a222a;
    color: #8899a6;
    padding: 15px 20px;
    font-size: 11px;
    border-top: 1px solid #111820;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gk-footnav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
}
.gk-footnav a {
    color: #cbd5e1;
    text-decoration: none;
}
.gk-footnav a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.gk-copyright {
    color: #718096;
}

/* ==========================================================================
   11. COOKIE BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a222a;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 12px;
    border-top: 2px solid #b02500;
    display: none;
    z-index: 99999;
}
.cookie-banner.show {
    display: block;
}
.cookie-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
    #gk-wrapper.main {
        width: 100%;
        border: none;
    }
    .gk-header-container {
        grid-template-columns: 1fr;
    }
    .gk-mainbody-grid {
        grid-template-columns: 1fr;
    }
    .botsl1-right {
        text-align: left;
    }
    .gk-megamenu ul.level0 {
        flex-direction: column;
        width: 100%;
    }
    .childcontent {
        position: static;
        box-shadow: none;
        border: none;
        background: #f4f2ef;
    }
}