
* {
    box-sizing: border-box;
}

body.clsBody.clsFormBody {
    margin: 0;
    font-family: Tahoma, sans-serif;
    font-size: 12px;
}

.layout-shell {
    display: grid;
    grid-template-columns: 140px 1fr;
    grid-template-rows: 30px 30px;
    gap: 0;
    width: 100%;
    /* border-bottom: 1px solid #dcdcdc; */
    background: #fff;
}

.layout-left {
    grid-row: 1 / span 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1px 2px;
    /* border-right: 1px solid #e5e5e5; */
    background: #ffffff;
}

    .layout-left img {
        height: 35px;
        width: 140px;
        object-fit: contain;
        cursor: pointer;
        display: block;
    }

.layout-top-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0px;
    min-width: 0;
    /* border-bottom: 1px solid #e5e5e5; */
    background: #ffffff;
}

.layout-header-bar {
    display: flex !important;
    background-image: url(../images/titlebg.jpg) !important;
    padding: 0px !important;
}

.top-left-group,
.top-right-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    white-space: nowrap;
}

.top-center-group {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#dvEmailExNotification {
    color: red;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    max-width: 100%;
    cursor: pointer;
}

.notify-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.notify-badge {
    min-width: 18px;
    height: 14px;
    padding: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dd4b39;
    color: #fff;
    border-radius: 20%!important;
    font-size: 10px;
    font-weight: 700;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

.user-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#imgLoginName {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f1f1;
}

#spLoginName {
    font-size: 13px;
    font-weight: bold;
    color: #000;
}

#btnLogout {
    height: 24px;
    padding: 0 10px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
}

.layout-bottom-right {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0px;
    background: #ffffff;
}

#mainNav {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    min-height: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

main.container-fluid {
    padding: 0;
}

.headerContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: none !important;
    padding: 4px 10px;
    min-height: 30px;
    gap: 8px;
}

    .headerContainer .left, .headerContainer .right {
        display: flex !important;
        align-items: center !important;
        gap: 8px;
    }

#mainNav,
#mainNav ul {
    list-style: none;
}

#mainNav {
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    margin-left: 0 !important;
    min-height: 29px;
    margin-top: 0;
    height: 29px;
    transition: margin-left 0.3s ease-in-out;
    background: linear-gradient(to bottom, #0c8a0c, #046304);
    padding: 0;
    white-space: nowrap;
    position: relative;
    z-index: 9999;
}

    #mainNav li {
        list-style: none;
        display: block;
        float: left;
        height: 29px;
        position: relative;
    }

        #mainNav li > a {
            display: block;
            padding: 0 10px;
            margin: 0;
            line-height: 29px;
            height: 29px;
            color: #fff;
            font-weight: bold;
            text-decoration: none;
            box-sizing: border-box;
            font-size: 12px;
            font-family: Tahoma, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
        }

        #mainNav li:hover,
        #mainNav li.active {
            background: #3aa056;
            color: #fff;
        }

    #mainNav ul {
        display: none;
        visibility: hidden;
        position: absolute;
        top: 29px;
        left: 0;
        z-index: 9999;
        padding: 0;
        margin: 0;
        background: #383330;
        border-bottom: 1px solid #dddddd;
        border-right: 1px solid #dddddd;
        border-left: 1px solid #dddddd;
        border-radius: 0 0 3px 3px;
        box-shadow: 2px 2px 3px #ececec;
        width: 230px;
    }

        #mainNav ul li {
            display: block;
            visibility: visible;
            border-right: none;
            border-bottom: 1px solid #dddddd;
            width: 230px;
            height: 29px;
            float: none;
        }

            #mainNav ul li > a {
                border-right: none;
                color: #fff;
                border-bottom: 1px solid #ffffff;
                font-size: 12px;
                font-weight: normal;
                line-height: 29px;
                padding: 0 14px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            #mainNav ul li:hover {
                background: #3aa056;
            }

            #mainNav ul li:last-child {
                border-bottom: none;
            }

                #mainNav ul li:last-child > a {
                    border-bottom: none;
                }

        #mainNav ul ul,
        #mainNav ul ul ul {
            top: 0;
            left: 230px;
            display: none;
            visibility: hidden;
            border: 1px solid #dddddd;
        }

    #mainNav li:hover > ul {
        display: block;
        visibility: visible;
    }

    .menu-caret,
    #mainNav .caret {
        font-size: 11px;
        margin-left: 6px;
        display: inline-block;
        vertical-align: middle;
        line-height: 1;
    }

    #mainNav > li > a > .caret,
    #mainNav > li > a > .menu-caret {
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid #fff;
        font-size: 0;
        vertical-align: middle;
        display: inline-block;
        margin-left: 5px;
    }

    #mainNav ul li > a > .caret,
    #mainNav ul li > a > .menu-caret {
        width: 0;
        height: 0;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 5px solid #fff;
        font-size: 0;
        float: right;
        margin-top: 10px;
    }

#vsf-menu-email-badge {
    display: none;
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 14px;
    height: 14px;
    padding: 0 4px;
    border-radius: 10px;
    background: #dd4b39;
    color: #fff;
    font-size: 9px;
    line-height: 14px;
    text-align: center;
    font-weight: bold;
}

.blink_me {
    animation: blinker 1s linear infinite;
    color: red;
    background-color: yellow;
    padding: 1px 5px;
    font-weight: bold;
}

/* Buttons */
.vsfBlueButton {
    height: 19px;
    padding: 0px 6px;
    background-color: #3c8dbc;
    border-color: #367fa9;
    color: #fff;
    line-height: 0px;
    border: 1px solid transparent;
    border-radius: 3px;
    box-shadow: none;
    cursor: pointer !important;
}
/* Buttons */
@keyframes blinker {
    50% {
        opacity: 0;
    }
}