﻿/* sub-caret arrow */
.sub-caret {
    font-size: 9px;
    color: #aaa;
}

/* ══════════════════════════════════════
   LOADER OVERLAY
══════════════════════════════════════ */
#loaderOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 99999999;
    text-align: center;
}

    #loaderOverlay > div {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
    }
.spin {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
/* ══════════════════════════════════════
   BASE
══════════════════════════════════════ */
body {
    margin: 0;
    background: #f4f6f9;
    font-family: 'Segoe UI', sans-serif;
}

/* ══════════════════════════════════════
   PAGE SHELL
══════════════════════════════════════ */
.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.inner-page {
    flex: 1;
}

/* ══════════════════════════════════════
   TOP HEADER
══════════════════════════════════════ */
.top-header {
    background: #fff;
    padding: 6px 15px;
    border-bottom: 1.5px solid #F0D0C8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 70px;
    box-sizing: border-box;
}

.top-header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════
   LOGO
══════════════════════════════════════ */
.custom_logo {
    display: block !important;
    float: none !important;
    height: 65px !important;
    width: auto !important;
    max-width: 220px;
    object-fit: contain;
    visibility: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ══════════════════════════════════════
   LOGOUT BUTTON
══════════════════════════════════════ */
.btn-register {
    padding: 7px 18px;
    border: 2px solid #00468c;
    background: transparent;
    color: #00468c !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    transition: background 0.2s;
}

    .btn-register:hover {
        background: #FFF5F2;
        color: #00468c !important;
        text-decoration: none;
    }


.submenu-box {
    position: absolute;
    z-index: 100;
    display: none;
    font-size: 13px;
    margin-top: -1px;
}

.dropdownbox {
    max-height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    background: none repeat scroll 0 0 #1a528a !important;
    box-shadow: 0 5px 8px rgba(232, 64, 28, 0.35);
    white-space: nowrap;
    float: left;
    min-width: 200px;
    list-style: none;
    font-size: 13px;
    -webkit-box-shadow: 0 5px 5px #2f373f;
    box-shadow: 0 5px 5px #2f373f;
    background-clip: padding-box;
    text-transform: capitalize;
    cursor: pointer;
}

.submenu-box li {
    position: static;
    /*border-top: 1px solid rgba(255,255,255,0.12);*/
    cursor: pointer;
}

    .submenu-box li:hover {
       /* background-color: #b84017 !important;*/
        color: #fff;
    }

.dropdown > li > a:hover, .submenu-box > li > a:focus, .dropdownbox > li > a.active {
    background-color: #b84017 !important;
    color: #fafafa !important;
    text-decoration: none;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a.active {
    color: #fff !important;
    background-color: #b84017 !important;
}

nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: #b84017 !important;
}

.dropdown {
    position: relative;
    z-index:99999;
}

.submenu-box li > a {
    color: #FFF;
    width: 100%;
    padding: 10px;
    display: inline-block;
    transition: all .1s ease-in-out;
    padding-right: 20px;
}


.has-submenu .submenu-box {
    width: 200px;
}

.has-submenu > a::after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #fff;
    margin-top: 7px;
    margin-right: -10px;
}

.has-submenu:hover > .submenu-box,
.dropdown:hover > .submenu-box {
    display: block;
}

    .has-submenu:hover > .submenu-box > .dropdownbox {
        margin-top: -40px;
    }

.has-submenu:hover > .submenu-box,
.dropdown:hover > .submenu-box {
    display: block;
    margin-top: 0;
}



    .has-submenu:hover > .submenu-box > .dropdownbox::-webkit-scrollbar {
        display: block !important;
    }

    .has-submenu:hover > .submenu-box > .dropdownbox:hover {
        left: 90% !important;
    }



@media(max-width:1200px) {
    .dropdownbox {
        max-height: 250px;
    }
}

@media(max-width:767px) {
    .submenu-box {
        left: 20%;
    }

    .has-submenu .submenu-box {
        top: 80px !important;
    }

    #customerCare::before {
        content: none !important;
    }

    #Margin-Top {
        margin-left: 5px !important;
    }
}

#ucHeader_liLogin {
    top: 15px !important;
}

#ucHeader_liRegister {
    top: 15px !important;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
/*.custom-footer-bottom {
    margin-top: auto;
    background: none repeat scroll 0 0 #1a528a !important;
    color: #aaa;
    padding: 10px;
    font-size: 13px;
}*/

    /*.custom-footer-bottom p {
        margin: 0;
        text-align: center;
    }*/

 /*   .custom-footer-bottom span {
        color: #ffe0b2;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
*/

@media (max-width: 768px) {

    .top-header {
        padding: 5px 10px;
        min-height: 50px;
    }

    .custom_logo {
        height: 55px !important;
        max-width: 130px;
    }

    .btn-register {
        padding: 5px 10px;
        font-size: 11px;
        border-width: 1.5px;
    }

    .navbar-toggle-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .custom_logo {
        height: 50px !important;
        max-width: 110px;
    }

    .btn-register {
        padding: 4px 8px;
        font-size: 10px;
    }
}

.modal-header {
    background: #00468c !important;
    color: #fff !important;
    border-radius: 5px 5px 0 0 !important;
    -webkit-border-radius: 5px 5px 0 0 !important;
    border-bottom: none !important;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #F0D0C8 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
