﻿#lognbtn .btn {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    color: #fff;
    background-color: #f58020;
    cursor: pointer;
}

    #lognbtn .btn:hover {
        background-color: #d76f1c;
    }

.button_toolbar_bgcolor {
    background-color: #cfdbee;
    margin-bottom: 10px;
}

.groupbox-caption {
    position: absolute;
    top: -12px;
    left: 15px;
    background-color: #fff;
    padding: 0 10px;
    font-weight: bold;
    color: #122c50;
}

/*Sidebar starts*/
#topNavBar,
#sidebarFooterDiv .dropdown-menu,
#sidebarSettingsDiv .dropdown-menu,
#sidebarUMDiv .dropdown-menu {
    background-color: #E8E8E8 !important;
}

#sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 10px;
    padding-left: 25px;
    transition: background-color 0.3s ease;
    color: black;
}

#sidebar.collapsed .nav-link {
    padding-left: 5px;
}

#sidebar .nav-link:hover {
    background-color: #f58020;
    color: white;
    cursor:pointer;
}

    #sidebar .nav-link:hover img {
        filter: brightness(0) invert(1);
    }

#sidebar .nav-link.active {
    background-color: #f58020;
    color: white;
}

    #sidebar .nav-link.active img {
        filter: brightness(0) invert(1);
    }

#sidebar .nav-text:hover {
    /*color: orangered;*/
}

.language-select {
    margin-top: 10px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

hr {
    width: 180px;
    margin-left: 25px;
}

.textForeColour {
    color: black;
}

.textForeColour:hover {
    color: white;
}

#lblLang, #sidebarToggle {
    color: #3b3b3b;
    border-color: #3b3b3b;
}

.select-wrapper {
    position: relative;
    display: inline-block;
}

.globe-icon {
    position: absolute;
    top: 50%;
    left: 3px;
    width: 25px;
    height: 25px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}



#sidebarToggle:hover {
    background-color: #f58020;
}

#sidebar .btn:hover {
    background-color: #f58020;
    color: white;
}

#sidebar .btn {
    background-color: #E8E8E8;
    color: black;
    padding-left:20px;
}

#sidebar.collapsed .btn {
    padding-left: 5px;
}

#sidebar .dropdown-item:hover {
    background-color: #f58020 !important;
    color: white !important;
}

    #sidebar .dropdown-item:hover img {
        filter: brightness(0) invert(1);
    }

#sidebar .dropdown-toggle:hover img {
    filter: brightness(0) invert(1);
}

#sidebar .nav-text {
    font-size: 14px;
}

#sidebar .dropdown-toggle.active {
    background-color: #f58020;
    color: white;
}

    #sidebar .dropdown-toggle.active img {
        filter: brightness(0) invert(1);
    }

/*a[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
    color: black;
}*/

a[aria-disabled="true"] {
    pointer-events: none;
    cursor: default;
}

#sidebar hr {
    margin-bottom: 8px !important; 
    margin-top: 8px !important; 
}

#sidebar .dropdown-item {
    color: black !important;
}

#sidebar .dropdown-menu {
    background-color: #DADADA !important; 
}

#selLogout {
    padding-left: 10px; /* space for the image */
    color: white;
    background-color: #122c50;
    border-radius: 35px;
    height: 35px;
    width: 90px;
    font-size: 14px;
    text-decoration: none;
}

    #selLogout:hover {
        padding-left: 10px; /* space for the image */
        color: white;
        background-color: #0c1a33;
        border-radius: 35px;
        height: 35px;
        width: 90px;
        font-size: 14px;
        text-decoration: none;
        cursor: pointer;
    }

    #selLogout a,
    #selLogout a:visited,
    #selLogout a:hover,
    #selLogout a:focus {
        color: white;
        text-decoration: none;
        cursor: pointer;
    }

    #selLogout img {
        filter: brightness(0) invert(1);
    }

    /* Adjust for mobile view */
    @media (max-width: 1399px) {
        #sidebar {
            background-color: #E8E8E8 !important;
            position: fixed;
            width: 0px;
            overflow: hidden;
            top: 0;
            left: 0;
            z-index: 1050;
            height: 100vh;
            transition: width 0.3s ease;
            overflow-y: auto;
        }

        #closeSidebar {
            font-size: 1.5rem;
            background-color: transparent;
            border: none;
            color: white;
            cursor: pointer;
            position: absolute;
            top: 0;
            right: 0;
            margin: 1px;
        }

        hr {
            border-top: 1px solid #898989;
            opacity: 1;
        }

        #sidebarFooterDiv {
            border-bottom: 1px solid #3b3b3b;
            padding-bottom: 14px;
            opacity: 1;
        }

        #selCulture {
            padding-left: 25px; /* space for the image */
            color: white;
            background-color: #f58020;
            border-radius: 35px;
            height: 35px;
            width: 90px;
            font-size: 10px;
            border: 1px solid #f58020;
            outline: none; /* Prevents default focus outline */
            cursor: pointer; /* Ensures pointer shows */
        }

            #selCulture:hover,
            #selCulture:focus {
                background-color: #dd731d;
                border-color: #dd731d;
                outline: none;
                cursor: pointer;
            }
    }

    /* Adjust for desktop view */
    @media (min-width: 1400px) {

        #sidebar {
            width: 250px;
            background-color: #E8E8E8 !important;
            position: fixed;
            top: 49px;
            left: 0;
            height: calc(100vh - 46px);
            overflow: hidden;
            z-index: 1050;
            transition: width 0.3s ease;
            overflow-y: auto;
        }

        hr, #sidebarFooterDiv {
            border-top: 1px solid #898989;
            opacity: 1;
        }

        #selCulture {
            padding-left: 25px; /* space for the image */
            color: white;
            background-color: #f58020;
            border-radius: 35px;
            height: 35px;
            width: 90px;
            font-size: 11px;
            border: 1px solid #f58020;
            outline: none; /* Prevents default focus outline */
            cursor: pointer; /* Ensures pointer shows */
        }

            #selCulture:hover,
            #selCulture:focus {
                background-color: #dd731d;
                border-color: #dd731d;
                outline: none;
                cursor: pointer;
            }
    }
    /*Sidebar ends*/

    /*Main Menu Index starts*/
    #nav-tab-0 {
        font-size: 25px;
        text-decoration: none;
        display: inline-block;
        color: black;
    }

    #main-menu-nav .nav-link.active .tabLabel {
        color: floralwhite;
        font-weight: bold;
    }

    #main-menu-nav .nav-link:not(.active) .tabLabel {
        color: black;
    }

    #main-menu-nav .nav-link {
        display: inline-block;
        padding: 5px 20px;
        font-size: 18px;
        color: #333;
        background: linear-gradient(to bottom, #f9f9f9, #a8b5c1); /* Gray gradient */
        border: 1px solid #ccc;
        border-radius: 5px 5px 0 0; /* Rounded top edges */
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle 3D shadow */
        text-decoration: none;
        transition: all 0.3s ease; /* Smooth transitions for hover and active states */
        z-index: 1; /* Default z-index for inactive tabs */
        position: relative; /* Needed for z-index to take effect */
    }

        #main-menu-nav .nav-link:hover {
            background: rgba(240, 240, 240, 0.9); /* Slightly darker on hover */
            color: #007bff;
            cursor: pointer;
            box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.2); /* Slightly elevated shadow on hover */
        }

    #main-menu-nav {
        border-bottom: 3px solid #ddd; /* A border under the tabs for structure */
        position: relative; /* For z-index to work */
    }

        #main-menu-nav .nav-link.active {
            background: rgba(240, 128, 128, 0.9); /* LightCoral with transparency */
            color: floralwhite;
            border-bottom: none; /* Remove bottom border to connect with content */
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); /* Stronger shadow for protruding effect */
            z-index: 10; /* Ensure it appears in front of other tabs */
            position: relative; /* Maintain relative positioning for z-index */
            transform: translateY(2px); /* Slight upward shift for 3D effect */
            border-left: 1px solid lightcoral; /* Add left border */
            border-right: 1px solid lightcoral; /* Add right border */
        }

        #main-menu-nav .nav-link:not(.active) {
            background: linear-gradient(to bottom, #f9f9f9, #a8b5c1); /* Keep the default 3D look */
            color: #333;
        }
    /*Main Menu Index ends*/

    /*Asset starts*/
    .crast_span::after {
        content: "GB";
        font-size: 0.7em;
        font-weight: bold;
        color: white;
        display: block;
        margin-bottom: 0px;
    }
    /*Asset ends*/

    /*Layout backgroud image*/
#layoutGenBody {
    /*background-image: url('/img/SDSPlusBG-white.png');
    background-size: cover;*/ /* Ensure the image covers the entire viewport */
    /*background-position: top center;*/ /* Center the image */
    /*background-attachment: fixed;*/ /* Keep the background fixed during scrolling */
    /*background-repeat: no-repeat;
    margin: 0;
    padding: 0;*/
}

#layoutMainMenuBody {
    background-image: url('/img/SDSPlusBG.png') !important;
    background-size: cover; /* Ensure the image covers the entire viewport */
    background-position: top center; /* Center the image */
    background-attachment: fixed; /* Keep the background fixed during scrolling */
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}