/* =========================================================
   PROFILE11_REDBLUE.CSS — RED & BLUE DUAL-THEME
   Consistent header, footer, background with red/blue elements
   and 3D red/blue buttons
   ========================================================= */

/* GLOBAL BASE */
html, body {
    height: 100%;
    font-family: "Arial", Helvetica, sans-serif;
    font-size: 17px;
    margin: 0;
    padding: 0;
    color: #111;
}

/* BODY BACKGROUND - Red to Blue Gradient */
body {
    background: linear-gradient(to bottom, #b91d1d 0%, #f2f7ff 30%, #4f7dd1 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    padding-bottom: 80px !important;
}

/* MAIN CONTAINER */
#mainContainerSF { 
    min-height: 100%;
    padding-top: 70px; /* Space for fixed header */
    padding-bottom: 68px; /* Space for fixed footer */
}

#mainContentSF {
    max-width: 1360px;
    width: 100% !important;
    margin: 0 auto;
}

/* =========================================================
   HEADER - FIXED POSITION (RED DOMINANT)
   ========================================================= */
#headerInfoBar {
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, #a31616 0%, #7a1010 100%);
    width: 100%;
    height: 50px;
    color: #fff;
    font-size: 16px;
    line-height: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    z-index: 1000;
    border-bottom: 2px solid #4f7dd1;
}

/* =========================================================
   LOGO - SCROLLS WITH CONTENT
   ========================================================= */
.tableSiteBanner {
    position: relative;
    background: transparent;
    z-index: 1;
    height: 80px;
    display: flex;
    align-items: center;
    padding-left: 5px;
}

.tableSiteBanner img {
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

.tableSiteBanner td {
    vertical-align: middle;
    padding-top: 10px;
    padding-bottom: 4px;
}

/* =========================================================
   NAVIGATION - SCROLLS WITH CONTENT (RED BUTTONS)
   ========================================================= */
#navWrapper {
    float: right;
    position: relative;
    top: -60px; /* Position relative to logo */
    margin-left: 135px;
    z-index: 1;
}

#menu {
    width: 100%;
    background: transparent;
    position: relative;
    margin: 0;
    padding: 0;
}

#menu li {
    float: left;
    margin: 0;
    position: relative;
    display: inline;
}

#menu li a {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: #fff;
    padding: 10px 18px;
    line-height: 30px;
    text-decoration: none;
    text-transform: capitalize;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    background: linear-gradient(to bottom, #d12f2f 0%, #a31616 100%);
    border: 1px solid #7a1010;
    box-shadow: 0 3px 0 #7a1010;
    margin-right: 5px;
}

#menu li a:hover {
    background: linear-gradient(to bottom, #e64c4c 0%, #c92a2a 100%);
    transform: translateY(1px);
    box-shadow: 0 2px 0 #7a1010;
}

/* =========================================================
   LOGIN/WELCOME AREA - SCROLLS WITH CONTENT
   ========================================================= */
#loginWrapper {
    position: relative;
    z-index: 1;
    clear: both;
}

/* =========================================================
   FOOTER - FIXED POSITION (BLUE DOMINANT)
   ========================================================= */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: linear-gradient(to bottom, #122c5a 0%, #0b1f3a 100%);
    color: rgba(255,255,255,0.7);
    text-align: center;
    line-height: 68px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    border-top: 2px solid #a31616;
}

/* =========================================================
   EVERYTHING SCROLLS (EXCEPT HEADER AND FOOTER)
   ========================================================= */
#headWrapper,
#navWrapper,
#loginWrapper,
.tableSiteBanner,
#topbreadsearch,
.tableMain {
    position: relative;
    z-index: 1;
}

/* =========================================================
   LINKS — INLINE TEXT (RED FOR EMPHASIS)
   ========================================================= */
a {
    color: #a31616;
    text-decoration: none;
    background: none;
    box-shadow: none;
    border: none;
    font-weight: normal;
    transition: color 0.2s ease-in-out;
}
a:hover {
    color: #4f7dd1;
    text-decoration: underline;
}

/* =========================================================
   LAYOUT / LOGIN BOXES
   ========================================================= */
#bigbox {
    background-color: #fff;
    border: 1px solid #dce3f2;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    position: relative;
    z-index: 1;
    border-left: 5px solid #a31616;
    border-right: 5px solid #4f7dd1;
}

/* =========================================================
   SIDEBAR / CATALOG MENU (RED & BLUE ALTERNATING)
   ========================================================= */
ul.TreeControl li:nth-child(odd) div.anchorCatalog {
    background: linear-gradient(to bottom, #d12f2f 0%, #a31616 100%);
    box-shadow: 0 3px 0 #7a1010;
}

ul.TreeControl li:nth-child(even) div.anchorCatalog {
    background: linear-gradient(to bottom, #5c8de1 0%, #2e68c1 100%);
    box-shadow: 0 3px 0 #163c7a;
}

ul.TreeControl li.TCopen div.anchorCatalog,
ul.TreeControl li.TCclosed div.anchorCatalog {
    float: inherit;
    position: relative;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 0;
    margin-bottom: 6px;
    text-align: left;
    height: 42px;
    line-height: 42px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    z-index: 1;
    border: none;
}

ul.TreeControl li:nth-child(odd) div.anchorCatalog:hover {
    background: linear-gradient(to bottom, #e64c4c 0%, #c92a2a 100%);
    transform: translateY(1px);
    box-shadow: 0 2px 0 #7a1010;
}

ul.TreeControl li:nth-child(even) div.anchorCatalog:hover {
    background: linear-gradient(to bottom, #7ca8f0 0%, #3c7de0 100%);
    transform: translateY(1px);
    box-shadow: 0 2px 0 #163c7a;
}

/* =========================================================
   DUAL COLOR 3D BUTTONS (RED & BLUE VARIATIONS)
   ========================================================= */
/* PRIMARY BUTTONS - RED */
button,
input[type="submit"],
#menu li a,
a.btn,
a.cta {
    background: linear-gradient(to bottom, #d12f2f 0%, #a31616 100%);
    border: 1px solid #7a1010;
    border-radius: 6px;
    color: #fff !important;
    font-weight: bold;
    box-shadow: 0 4px 0 #7a1010, 0 6px 12px rgba(0,0,0,0.25);
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
    cursor: pointer;
    padding: 6px 14px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline-block;
}

button:hover,
input[type="submit"]:hover,
a.btn:hover,
a.cta:hover {
    background: linear-gradient(to bottom, #e64c4c 0%, #c92a2a 100%);
    box-shadow: 0 2px 0 #7a1010, 0 4px 10px rgba(0,0,0,0.2);
    transform: translateY(1px);
    color: #fff !important;
}

/* SECONDARY BUTTONS - BLUE */
input[type="button"],
a.button,
ul.TreeControl li.TCopen div.anchorCatalog,
ul.TreeControl li.TCclosed div.anchorCatalog {
    background: linear-gradient(to bottom, #5c8de1 0%, #2e68c1 100%);
    border: 1px solid #1e4f9a;
    border-radius: 6px;
    color: #fff !important;
    font-weight: bold;
    box-shadow: 0 4px 0 #163c7a, 0 6px 12px rgba(0,0,0,0.25);
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
    cursor: pointer;
    padding: 6px 14px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline-block;
}

input[type="button"]:hover,
a.button:hover {
    background: linear-gradient(to bottom, #7ca8f0 0%, #3c7de0 100%);
    box-shadow: 0 2px 0 #163c7a, 0 4px 10px rgba(0,0,0,0.2);
    transform: translateY(1px);
    color: #fff !important;
}

button:active,
input[type="button"]:active,
input[type="submit"]:active,
a.btn:active,
a.button:active,
a.cta:active {
    transform: translateY(2px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

/* =========================================================
   PRODUCT / CART AREA
   ========================================================= */
#cartContainer.floatClass { 
    position: relative;
    top: -60px;
    z-index: 1;
}
.shopping_cart_icon path { fill: #d12f2f; }
#cartCountBadge {
    background: linear-gradient(to bottom, #d12f2f 0%, #a31616 100%);
    border-radius: 12px;
    padding: 1px 5px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 0 #7a1010;
}

/* PRODUCT IMAGES */
.tblImage {
    border: 1px solid #c8d2e8;
    position: relative;
    z-index: 1;
}
.tblImage td {
    background-color: #FFFFFF;
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

/* CATEGORY HEADERS */
div.source,
p.style1 {
    color: #a31616;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    z-index: 1;
    border-bottom: 2px solid #4f7dd1;
    padding-bottom: 10px;
}

/* FOOTER TEXT */
.footerCoyright {
    color: rgba(255,255,255,.5) !important;
    font-size: 12px;
    line-height: 68px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    text-align: center;
}

/* TARGET ONLY SPECIFIC GRAY BUTTONS */
.btnCreate,
button.jquery-button,
button.jqButton,
button.ui-button {
    background: linear-gradient(to bottom, #5c8de1 0%, #2e68c1 100%) !important;
    border: 1px solid #1e4f9a !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-weight: bold !important;
    box-shadow: 0 4px 0 #163c7a, 0 6px 12px rgba(0,0,0,0.25) !important;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4) !important;
    cursor: pointer;
    padding: 6px 14px !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.btnCreate:hover,
button.jquery-button:hover,
button.jqButton:hover,
button.ui-button:hover {
    background: linear-gradient(to bottom, #7ca8f0 0%, #3c7de0 100%) !important;
    box-shadow: 0 2px 0 #163c7a, 0 4px 10px rgba(0,0,0,0.2) !important;
    transform: translateY(1px);
    color: #fff !important;
}

/* ADDITIONAL RED & BLUE ACCENTS */
.tableMain {
    border-top: 3px solid #a31616;
}

#topbreadsearch {
    background: linear-gradient(to right, #f8f8f8 0%, #f0f5ff 100%);
    border-left: 4px solid #a31616;
    border-right: 4px solid #4f7dd1;
}

/* MOBILE STYLES */
@media only screen and (max-width : 768px) {
    #mainContainerSF {
        padding-top: 50px;
    }
    
    .tableSiteBanner img {
        max-height: 60px !important;
    }
    
    .tableSiteBanner {
        padding-left: 10px;
    }
    
    #navWrapper {
        top: -50px;
        margin-left: 20px;
    }
    
    #cartContainer.floatClass {
        top: -50px;
    }
    
    #menu li a {
        padding: 8px 12px;
        margin-right: 3px;
        font-size: 14px;
    }
}

/* MAKE BREADCRUMB VISIBLE */
#topbreadsearch {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10 !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding: 10px !important;
}