body {
    font-size: 13px;
    margin-top: 0px;
    padding: 0px;
    background-color: #cccccc;
    /* font-family: 'san'; */
}

#divLoading {
    display: block;
}

#divLoading.show {
    display: block;
    position: fixed;
    z-index: 100;
    background-image: url("/image/loading1.gif");
    background-color: #666;
    opacity: 0.9;
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    background-size: 100px !important;
}

.date-username {
    margin-top: 7px;
}

/* .store {
    margin-right: 80px;
} */

.navbar {
    padding: 10px 0px;
}

.logo {
    /* margin-left: 28px; */
}

.logo-name {
    font-weight: bold;
    font-size: large;
    color: #fff;
}

.logo-name:hover {
    color: #fff;
    font-size: large;
    font-weight: bold;
}

#store_search {
    width: 86%;
    margin: auto;
}

/* .section-header {
    z-index: 300;
} */

.promotionview {
    border-collapse: separate;
    border-spacing: 0px 5px;
    border-color: #fff;
}

.promotionview th {
    border-top: 0px solid #fff;
}

.table-body {
    background-color: #fff;
}

.buttons_menu {
    border-radius: 6px;
}

.menu {
    /* padding-left: 45px;
    padding-right: 20px; */
    font-size: 15px;
}

.headerwhite {
    background-color: #343a40e6;
    margin-right: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    width: 157px;
    cursor: pointer;
}

.headerblack {
    background-color: #fff;
    margin-right: 10px;
    font-weight: bold;
    font-size: 13px;
    width: 157px;
    cursor: pointer;
}

.main-dropdown {
    background-color: #474c53;
}

.table-text {
    width: 50%;
    padding: 0px;
    height: calc(0.9em + 0.76rem + 0.25px);
}

.dropdown-menu-right {
    max-height: 600px;
    overflow: scroll;
    width: 300px;
}

.sub-dropdown,
.dropdown-menu-right {
    font-size: 11px;
}

.dropdown-menu-right:hover,
.dropdown-menu-right:focus {
    font-size: 13px;
}

.sub-dropdown:focus,
.sub-dropdown:hover {
    background-color: #396897;
    font-size: 13px;
}

.fa-filter {
    margin-bottom: 5px;
}

.sm {
    padding: 10px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
}

.fa-twitter {
    background: #55acee;
    color: white;
}

.fa-google {
    background: #dd4b39;
    color: white;
}

.fa-linkedin {
    background: #007bb5;
    color: white;
}

.fa-youtube {
    background: #bb0000;
    color: white;
}

.fa-instagram {
    background: #125688;
    color: white;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
    background: #3b5998;
    color: white;
}

table th:first-child {
    border-radius: 9px 0px 0px 9px;
    -moz-border-radius: 9px 0px 0px 9px;
    -webkit-border-radius: 9px 0px 0px 9px;
}

table th:last-child {
    border-radius: 0px 9px 9px 0px;
    -moz-border-radius: 0px 9px 9px 0px;
    -webkit-border-radius: 0px 9px 9px 0px;
}

table tr td:first-child {
    border-radius: 9px 0px 0px 9px;
    -moz-border-radius: 9px 0px 0px 9px;
    -webkit-border-radius: 9px 0px 0px 9px;
}

table tr td:last-child {
    border-radius: 0px 9px 9px 0px;
    -moz-border-radius: 0px 9px 9px 0px;
    -webkit-border-radius: 0px 9px 9px 0px;
}

#customer-row {
    border-bottom: 10px solid #f8f9fa;
    border-radius: 9px 9px 9px 9px;
    -moz-border-radius: 9px 9px 9px 9px;
    -webkit-border-radius: 9px 9px 9px 9px;
}

.customer-row {
    border-bottom: 10px solid #f8f9fa;
    border-radius: 9px 9px 9px 9px;
    -moz-border-radius: 9px 9px 9px 9px;
    -webkit-border-radius: 9px 9px 9px 9px;
}

tr:nth-child() {
    background-color: #f2f2f2;
    border-radius: 9px;
}

/* table tr td:last-child {
    border-top-left-radius: 9px 0 0 0;
    -moz-border-radius: 9px 0 0 0;
    -webkit-border-radius: 9px 0 0 0;
}  */

/* table th:last-child {
    border-radius: 0 9px 0 0;
    -moz-border-radius: 0 9px 0 0;
    -webkit-border-radius: 0 9px 0 0;
} */

table,
.fixed-table-pagination {
    width: 85%;
    position: relative;
    /* left: 7%; */
}

table,
.promotionview {
    width: 95%;
    position: relative;
    /* left: 3%; */
}

table tbody {
    background-color: #fff;
}

.nav-items-list li {
    display: inline-block;
    /* width: 300px; */
}

.nav-items-list.nav-bar-search li {
    display: block;
}

a {
    text-decoration: none;
    color: #286fb7;
}

a:hover {
    text-decoration: none;
    color: #2e5882;
    font-weight: 500;
}

footer {
    width: 100%;
    background-color: #474d53;
    min-height: 250px;
    padding: 10px 0px 25px 0px;
    /* margin-top: 40px; */
}

footer p {
    font-size: 13px;
    color: #ccc;
    padding-bottom: 0px;
    margin-bottom: 8px;
}

input::-webkit-input-placeholder {
    font-size: 13px;
    line-height: 3;
    text-transform: uppercase;
}

.promo-fields,
.promo-fields::-webkit-input-placeholder {
    font-size: 13px;
}

.table-heading-fields,
.table-heading-fields::-webkit-input-placeholder {
    font-size: 13px;
    /* padding-left: 20px; */
    border-radius: 7px;
    width: 80%;
    height: 33px;
}

.promo-fields {
    border-radius: 7px;
    width: 100%;
    height: 33px;
}

/* table tr {
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}
.tr-class-2 {
    border-radius: 8px !important;
} */

.headername {
    vertical-align: text-top;
}

.has-search {
    margin-bottom: 0px;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    padding-left: 5px;
    pointer-events: none;
    color: #aaa;
}

.p-form {
    display: flex;
}

.center {
    margin: 0;
    position: absolute;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.buttonred {
    background-color: #d54d5afa;
    margin-right: 10px;
    font-size: 1rem;
}

/*
.sub_menu_navbar,
header,
.sub-navigation-bar {
    position: fixed;
    width: 100%;
} */

.sub_menu_navbar {
    height: 55px;
    /* z-index: 100;
    top: 100px; */
}

.section-content {
    padding-top: 20px !important;
}

.nav-submenu {
    position: absolute;
    right: 71px;
    top: 10px;
}

#main_nav {
    font-size: 11px;
}

.sub {
    /* padding-top: 20px;
    padding-bottom: 20px; */
}

.sub li {
    /* padding-left: 23px;
    padding-right: 25px;
    font-weight: 500;
    padding-top: 10px; */
}

.headermenublue,
.header-color {
    background-color: #286fb7 !important;
    color: #fff;
}

.icons {
    color: #fff;
}

.fa-cog {
    padding-top: 10px;
    padding-right: 10px;
}

.fa-bell {
    padding-top: 10px;
    padding-right: 10px;
}

#promotion-texts {
    padding-right: 10px;
}

.basic-button-small {
    font-weight: bold;
    color: #fff;
    width: 157px;
    border-radius: 8px !important;
    font-size: 13px;
}

.basic-button-medium {
    font-weight: bold;
    color: #fff;
    width: 207px;
    border-radius: 8px;
    font-size: 13px;
}

.basic-button-large {
    font-weight: bold;
    color: #fff;
    width: 257px;
    border-radius: 8px;
}

.button-blue {
    background-color: #286fb7;
}

.fa-sign-out {
    padding-top: 10px;
    padding-right: 10px;
}

.list-nav li {
    list-style: none;
    display: inline-block;
}

.sub-navigation-bar {
    /* background-color: #343a40e6!important; */
    background-color: #474d53 !important;
    /* padding: 10px 10px 14px 10px; */
    max-height: 45px;
    /* z-index: 301; */
    /* top: 55px; */
}

.text-items {
    text-align: center;
}

.sub a {
    color: #fff !important;
}

#storename {
    color: #fff;
}

.navbar {
}

.form-inline .form-group {
    margin-bottom: 20px;
}

.pagination {
    /* margin-bottom: 20px;
    margin-left: 35px; */
    float: right;
}

/* footer */

.col_white_amrc {
    color: #fff;
}

.footercopyhover:hover {
    color: #fff;
}

.footercopyhover {
    color: #d24d5c;
}

.footerheadercopyright {
    color: #fff;
}

.sm:hover {
    cursor: pointer;
}

.footerheader {
    color: #fff;
}

.footerlink:hover {
    color: #fff;
}

.footerlink {
    color: #ccc;
}

.footer_ul_amrc {
    margin: 0px;
    list-style-type: none;
    font-size: 14px;
    padding: 0px 0px 10px 0px;
}

.footer_ul_amrc li {
    padding: 0px 0px 5px 0px;
}

.footer_ul_amrc li a {
    color: #ccc;
}

.footer_ul_amrc li a:hover {
    color: #fff;
    text-decoration: none;
}

.fleft {
    float: left;
}

.padding-right {
    padding-right: 10px;
}

.footer_ul2_amrc {
    margin: 0px;
    list-style-type: none;
    padding: 0px;
}

.footer_ul2_amrc li p {
    display: table;
}

.footer_ul2_amrc li a:hover {
    text-decoration: none;
}

.footer_ul2_amrc li i {
    margin-top: 5px;
}

.bottom_border {
    border-bottom: 1px solid #323f45;
    padding-bottom: 20px;
}

.foote_bottom_ul_amrc {
    list-style-type: none;
    padding: 0px;
    display: table;
    margin-top: 10px;
    margin-right: auto;
    margin-bottom: 10px;
    margin-left: auto;
}

.foote_bottom_ul_amrc li {
    display: inline;
}

.foote_bottom_ul_amrc li a {
    color: #999;
    margin: 0 12px;
}

.social_footer_ul {
    display: table;
    margin: 15px auto 0 auto;
    list-style-type: none;
}

.social_footer_ul li {
    padding-left: 20px;
    padding-top: 10px;
    float: left;
}

.social_footer_ul li a {
    color: #ccc;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 50%;
}

.social_footer_ul li i {
    width: 20px;
    height: 20px;
    text-align: center;
}

/* footer end */

@media all and (min-width: 1024px) {
    .sub li {
        padding-left: 0px;
        padding-right: 37px;
        font-weight: 500;
        padding-top: 5px;
    }

    .store {
        margin-right: 70px;
    }
}

@media only screen and (min-device-width: 992px) and (max-device-width: 1024px) {
    .sub li {
        padding-left: 5px;
        padding-right: 13px;
    }

    .nav-submenu {
        right: 40px;
    }
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: none;
    }

    .navbar .nav-item:hover .nav-link {
        color: #fff;
    }

    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }

    .navbar .nav-item .dropdown-menu {
        margin-top: 0;
    }

    /* .store {
        margin-right: 68px;
    } */
    .date-username {
        margin-top: 0px;
    }

    .logo {
        /* margin-left: 20px; */
    }

    .sub li {
        /* padding-left: 27px;
        padding-right: 21px; */
        font-weight: 500;
        padding-top: 5px;
    }

    body {
        font-size: 1.2rem;
    }
}

/* ============ desktop view .end// ============ */

@media all and (min-width: 1366px) {
    .header_date_text {
        padding-left: 280px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem;
    }

    .sub-navigation-bar {
        /* padding: 0.5rem 1rem; */
        padding: 8px 10px 13px 10px;
    }

    .sub li {
        /* padding-left: 30px; */
        padding-right: 37px;
        font-weight: 500;
        padding-top: 5px;
    }

    .nav-submenu {
        right: 160px;
    }
}

@media only screen and (min-width: 768px) {
    body {
        font-size: 1rem;
    }

    .section-content {
        padding-top: 20px !important;
    }

}

@media only screen and (max-width: 600px) {
    .header_date_text {
        padding-left: 0px;
    }

    .nav-submenu {
        position: relative;
        right: 0px;
    }

    .sub_menu_navbar {
        height: auto;
    }

    .headerwhite,
    .headerblack,
    .buttonred {
        margin-bottom: 10px;
    }

    .menu {
        padding-left: 0px;
        padding-bottom: 15px;
    }

    .navbar-nav .nav-link {
        padding-left: 0px;
    }

    .required .control-label {
        content: "*";
        color: red;
    }

    body {
        font-size: 1rem;
    }

    .store {
        margin-right: 30px;
        font-size: x-small;
        width: 40%;
    }

    .date-username {
        font-size: x-small;
        width: 30%;
    }

    .logo {
        font-size: x-small;
        font-weight: normal;
        width: 30%;
    }

    .logo-name {
        font-size: x-small;
        font-weight: normal;
    }

    #storename {
        inline-size: 80px;
        /*overflow: hidden;*/
        overflow-wrap: break-word;
    }

    .logo-pic {
        width: 17% !important;
        height: 17% !important;
    }

    .ellipse2 {
        display: none;
    }

    .ellipse {
        display: none;
    }

    #sevenDaysSaleData {
        /**/
    }

    [class*="col-"] {
        width: 100%;
    }

    /*nav bar starts*/
    .navbar-expand-sm {
        flex-flow: row nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-sm .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-sm .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .navbar-expand-sm > .container,
    .navbar-expand-sm > .container-fluid,
    .navbar-expand-sm > .container-sm,
    .navbar-expand-sm > .container-md,
    .navbar-expand-sm > .container-lg,
    .navbar-expand-sm > .container-xl {
        flex-wrap: nowrap;
    }

    .navbar-expand-sm .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-sm .navbar-toggler {
        display: none;
    }


    /*.vertical-menu {
        width: 200px;
        height: 150px;
        overflow-y: auto;
    }

    .vertical-menu a {
        background-color: #eee;
        color: black;
        display: block;
        padding: 12px;
        text-decoration: none;
    }

    .vertical-menu a:hover {
        background-color: #ccc;
    }

    .vertical-menu a.active {
        background-color: #04AA6D;
        color: white;
    }
    .section-content {
        padding-top: 20px !important;
    }
*/
    /*.navbar-collapse.collapse {
        display: block!important;
    }

    .navbar-nav>li, .navbar-nav {
        float: left !important;
    }


    .navbar-nav.navbar-right:last-child {
        margin-right: -15px !important;
    }

    .navbar-right {
        float: right!important;
    }*/
}

.logo-pic {
    width: 30px;
    height: 30px;
}

select option.hq-record, select option.hq-record::before, .hq-record, .hq-record::before, [title='hq-record'], [title='hq-record']::before {
    content: "[HQ] ";
    color: red;
}

[title='hq-record'], .hq-record {
    color: red !important;
}

.sub-dropdown:hover,
.sub-dropdown:focus {
    background-color: #286fb7 !important;
    color: #fff !important;
    font-weight: bold;
    border-radius: 4px;
    width: 100%;
}

.sub-dropdown {
    transition: background-color 0.2s ease, color 0.2s ease, font-weight 0.2s ease;
}

.submenu a:hover {
    background-color: #1f4e7a !important;
    color: #fff !important;
    font-weight: bold;
}

/*
.sub-dropdown {
    word-break: break-word;
    white-space: normal;
}
*/
/* Remove list bullets */
nav ul, nav li, .navbar ul, .navbar li, .dropdown-menu ul, .dropdown-menu li {
    list-style: none;
}

.toggle-menu {
    text-align: left !important;
    padding-left: 12px !important;
    position: relative;
    padding-right: 22px !important;
    display: block;
    padding-bottom: 6px !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    transition: background-color 0.2s ease;
}

/* Arrow */
.toggle-menu::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 9px;
    height: 4px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: 9px 4px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='4' viewBox='0 0 9 4' fill='none'><path d='M9 0L0 0L4.5 4L9 0Z' fill='white'/></svg>");
    transition: 0.2s ease;
    opacity: 0.9;
}

.toggle-menu.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.toggle-menu.open {
    background-color: #2C70B5 !important;
    border-radius: 4px 4px 0 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 6px !important;
}

.toggle-menu.open::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: -2px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.main-dropdown > li {
    padding: 0 !important;
}

#main_nav .submenu {
    background-color: #2C70B5 !important;
    border-radius: 0 0 4px 4px !important;
    display: none;
    margin: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 4px !important;
    padding-left: 0 !important;
}

#main_nav .submenu li {
    padding: 0 !important;
    margin: 0 !important;
}

#main_nav .submenu .sub-dropdown {
    background-color: #2C70B5 !important;
    text-align: left !important;
    padding: 8px 12px 8px 24px !important;
    display: block !important;
    width: 100% !important;
}

#main_nav .submenu .sub-dropdown:hover {
    background-color: #1f4e7a !important;
}

.toggle-menu.open + .submenu {
    margin-top: 0 !important;
}
