﻿/***/
.sapUiBody {
    font-family: "Prompt","SAP\2dicons" !important;
}

.allPage {
    padding: unset;
    background-size: cover;
}

iframe, object, embed {
    max-width: 100%;
}

/* login */
#logingpage .sapUiBlockCellContent {
    padding: 0px;
}

#headerShowDataBase {
    background-color: #f7f7f7;
    color: #333;
}

#redText {
    color: red !important;
}

#greenText {
    color: green !important;
}

.usertext {
    color: white !important;
    font-weight: bolder;
}

div.home-icon {
    display: inline-table;
    margin: 1px 10px;
}

div.mhome-icon {
    display: inline-table;
    margin: 0px 5px;
    font-size: small;
    font-weight: bold;
}

.greenText {
    color: green !important;
    white-space: pre-wrap !important;
}

.redText {
    color: red !important;
    white-space: pre-wrap !important;
}

.blackSmallText {
    color: black !important;
}

.textAlignRight {
    text-align: right !important;
}

.sapMBtn .sapMBtnInner,
.sapMBtn .sapMBtnContent,
.sapMInputBaseInner,
.sapMComboBoxTextField,
.sapMInputBase,
.sapMInputDivWrapper,
.sapMInputBasePlaceholder {
    border-radius: 10px;
}

    .sapMBtn .sapMBtnInner:focus,
    .sapMBtn .sapMBtnContent:focus,
    .sapMInputBaseInner:focus,
    .sapMComboBoxTextField:focus,
    .sapMInputBase:focus,
    .sapMInputDivWrapper:focus,
    .sapMInputBasePlaceholder:focus {
        outline: none;
    }

.sapMSFF {
    border-radius: 10px;
    outline: none;
}

.sapUiRespGridHSpace0 > .sapUiRespGridSpanM12 {
    text-align: center;
}

.payment {
    width: 100%;
    height: 100%;
    /*display: flex;*/
    align-items: center;
    background: url(Image/Payment_Mobile.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.payment2 {
    width: 100%;
    height: 100%;
    /*display: flex;*/
    align-items: center;
    background: url(Image/Payment.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.watermark {
    font-size: 18px;
    opacity: 0.05;
    color: BLACK;
    position: absolute;
    left: 5%;
    /*right: 25%;*/
    /*-webkit-transform: rotate( -45deg);*/
}

.watermark2 {
    font-size: 18px;
    opacity: 0.05;
    color: BLACK;
    position: absolute;
    left: 10%;
    /*right: 25%;*/
    /*-webkit-transform: rotate( -45deg);*/
}

.paddingTop {
    padding-top: 1rem !important;
    padding-right: .2rem !important;
}

.sapUiFormResLayout > div > div {
    padding: 0rem;
}

.sapUiFormResGrid > div > div > div > div > div > div {
    background: none !important;
    padding: 0rem !important;
}

.textcenter {
    text-align: center !important;
}

.textNote {
    text-align: justify !important;
}


/*order*/
.Order_link {
    PADDING-TOP: 15PX;
    font-weight: 900 !important;
    COLOR: darkslategrey;
}

.comboheight {
    height: 2.5rem;
}

.borderbottom {
    border-bottom: none !important;
}

/*Bar header footer*/
.sapMIBar.sapMHeader-CTX {
    /*background: #10b14b linear-gradient(90deg,#009e35,#57ca85) 0 0 !important;*/
    background: #0082D5 !important;
}

.sapMIBar.sapMFooter-CTX {
    background: #f7f7f7 !important;
    /*background-color: rgba(255,255,255,0.5) !important;*/
    /*background: #10b14b linear-gradient(90deg,#009e35,#57ca85) 0 0;*/
}

.sapMPageHeader::before {
    border-top: none;
}

.sapMIBar-CTX .sapMTitle {
    text-shadow: none !important;
    color: white !important;
}

.sapMIBar-CTX .sapMLabel {
    color: black;
}

.sapMIBar-CTX .sapMBtn .sapMBtnIcon {
    color: white;
}

.sapMBtnInner {
    text-shadow: none !important;
}

.sapMIBar-CTX.sapMFooter-CTX {
    border-top: none !important;
    color: #333;
    text-shadow: none !important;
    background-color: rgba(255,255,255,0.5);
    background-image: none;
}

    .sapMIBar-CTX.sapMFooter-CTX .sapMTitle {
        color: black;
    }

    .sapMIBar-CTX.sapMFooter-CTX .sapMText {
        color: black;
    }

    .sapMIBar-CTX.sapMFooter-CTX .sapMLabel {
        color: black;
        text-shadow: none;
    }

.sapUiSearchField {
    padding-top: 1rem;
}

.greenBar {
    background: #0082D5;
}
/*.sapMTB-Transparent-CTX .sapMText {*/

.headerProduct {
    font-weight: bold !important;
    text-shadow: none !important;
    color: white !important;
    font-size: 15px !important;
}
/*End Bar*/
/*List*/
table.sapMListTbl th label, table.sapMListTbl th span {
    color: white !important;
    font-weight: bold;
}

table.sapMListTbl tbody tr:nth-child(odd), ul li:nth-child(odd) {
    background: #0082d51c !important;
}

table.sapMListTbl tbody tr:nth-child(even), ul li:nth-child(even) {
    /*background: #0082d51c !important;*/
    background: white !important;
}

table#table-stock-balance-report-listUl thead th {
    /*background: #07a13b1a !important;*/
    padding: 3px;
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0082D5 !important;
}

.sapUiFormResGrid.sapUiFormBackgrTranslucent > div {
    /*background: rgba(255,255,255,0.5) !important;*/
    background: none !important;
}

.sapMListTblCell {
    padding-left: 0.5rem;
    padding-top: 0rem;
    padding-bottom: 0rem;
}

.sapMTableTH {
    background: none;
}

.sapMListBGTranslucent .sapMListTblHeader {
    background: #0082D5 /*linear-gradient(90deg,#009e35,#57ca85) 0 0*/;
}

/*End List*/
/*Dialog*/
.sapMDialog.sapUiPopupWithPadding:not(.sapUiNoContentPadding) .sapMDialogScrollCont {
    padding: 0rem !important;
}

.sapUiFormElementLbl {
    padding-right: .2rem !important;
}

/*แก้ปัญาปุ่มมาทางซ้าย*/
.sapMTBSpacer {
    display: block !important;
}

.sapMDialog > .sapMDialogSection {
    text-align: center;
}

.sapMTB.sapMTBNoBorders {
    /*background: #f7f7f7;*/
}

.sapMPopoverHeader .sapMBarMiddle > .sapMBarPH {
    /*background: #10b14b linear-gradient(90deg,#009e35,#57ca85) 0 0;*/
    background: #0082D5;
}

.sapMNav {
    display: contents;
}
/*End Dialog*/
/*Type Button*/

.sapMBtnAccept {
    background-image: none;
    background-color: #0082D5 !important;
    border-color: #0082D5 !important;
    color: #fff;
    text-shadow: none;
}

/*.sapMBtnDefault {
    background-image: none;
    background-color: #0082D5 !important;
    border-color: #0082D5 !important;
    color: #fff;
    text-shadow: none;
}*/

/*.sapMBtnReject {
    background-image: none;
    background-color: #f52d56 !important;
    border-color: #f52d56 !important;
    color: #fff;
    text-shadow: none;
}*/

.sapMFooter-CTX span.sapMBtnInner {
    color: #fff;
}

    /*popupbutton*/
    .sapMFooter-CTX span.sapMBtnInner:hover {
    }

/*End Type Button*/
/*TabBar-menu*/
#iConTabBar--header-scrollContainerInner, #productTabBar--header-scrollContainerInner {
    padding-right: 0;
    padding-left: 0;
    /*background: #10b14b linear-gradient(90deg,#009e35,#57ca85) 0 0;*/
    background: #0082D5;
}

.sapMITBTextOnly .sapMITBFilterDefault.sapMITBSelected > .sapMITBText {
    color: #0082D5 !important;
    background-color: white;
    width: 100%;
    height: 1.4rem;
    text-align: center;
    font-size: 1rem;
    border-radius: 6px;
}

.sapUiMedia-Std-Tablet .sapMITHWrapper, .sapUiMedia-Std-Desktop .sapMITHWrapper, .sapUiMedia-Std-Phone .sapMITHWrapper {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.sapMITH.sapUiSizeCompact .sapMITBInLine.sapMITBTextOnly > .sapMITBVertical.sapMITBFilter > .sapMITBText {
    margin: 0px 0px 0.25rem 10px !important;
}

.sapMITBContent {
    padding: 0rem;
}

.sapMITBTextOnly .sapMITBFilterDefault > .sapMITBText {
    color: white;
    margin-top: 0px;
    text-shadow: none;
    width: 100%;
    height: 1.4rem;
    text-align: center;
    font-size: 1rem;
}

.sapMITBHorizontalWrapper {
    height: 100% !important;
}

/*tabIconBar*/


/**/
#scrollToTopButton {
    /*display: none;*/
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
}

/*timepicker*/
.sapMTimePickerItem {
    color: black !important;
}

/**/
.status_footer {
    bottom: 0%;
    position: fixed;
    z-index: 1;
    background: whitesmoke;
    border: solid 2px;
}

.customer_news {
    font-family: "Prompt","SAP\2dicons" !important;
    z-index: 1;
    /*background: #d40000;*/
    border: solid 0px;
    height: 2rem;
    color: #d40000;
    font-size: 1.5rem;
    border-radius: 6px;
    padding-top: 0.75rem !important;
    padding-right: .2rem !important;
}

/*Phonebook start*/
/*All customer*/
.miniPhonecall span, .miniPhonecall img {
    height: 1.6rem !important;
    width: 1.6rem !important;
    max-width: 1.6rem !important;
    min-width: 1.6rem !important;
}

.roundButton span {
    border-radius: 50% !important;
}

.profileImg {
    border: 1px solid black;
}

.storeImg {
    /*position: sticky;*/
    /*left: 36%;*/
    border: 1px solid black;
}

.editNameBtn {
    position: absolute;
    width: 2.4rem !important;
    right: 10px;
    top: 90px;
}

    .editNameBtn > span img {
        height: 2.4rem !important;
        width: 2.4rem !important;
    }

.addstoreBtn {
    position: absolute;
    width: 3.1rem !important;
    height: 3.1rem !important;
    right: 10px;
    top: 5px;
}

    .addstoreBtn span {
        width: 3.1rem !important;
        height: 3.1rem !important;
    }

    .addstoreBtn img {
        height: 3.1rem !important;
        width: 3.1rem !important;
        min-height: 3.1rem !important;
        min-width: 3.1rem !important;
    }

.addprofileImg span, .addstoreImg span {
    max-width: 1.8rem !important;
    max-height: 1.8rem !important;
    min-width: 1.8rem !important;
    min-height: 1.8rem !important;
}

.addprofileImg img, .addstoreImg img {
    height: 1.8rem !important;
    width: 1.8rem !important;
}

.HighlightZone_Green {
    font-weight: bold;
    border: solid gray 2px;
    border-radius: 20%;
    background-color: #C3F8B7;
    /*background-color: #d5f5ce;*/
    border-radius: 20%;
}

.HighlightZone_Red {
    font-weight: bold;
    border: solid gray 2px;
    border-radius: 20%;
    background-color: #FEBFB0;
    /*background-color: #f5a6a6;*/
    border-radius: 20%;
}

/*width < 480px*/
@media (max-width: 480px) {

    .editNameBtntxt {
        position: absolute;
        left: 85%;
        top: 130px;
        font-size: 10px;
    }

    .addstoreBtntxt {
        position: absolute;
        left: 85%;
        top: 60px;
        font-size: 11px;
    }

    .addprofileImg, .addstoreImg {
        position: absolute;
        width: 1.8rem !important;
        height: 1.8rem !important;
        top: 85px;
        left: 60%;
        z-index: 1;
    }
}

@media (min-width: 480px) and (max-width: 620px) {
    .editNameBtntxt {
        position: absolute;
        left: 88%;
        top: 130px;
        font-size: 10px;
    }

    .addstoreBtntxt {
        position: absolute;
        left: 88%;
        top: 60px;
        font-size: 11px;
    }

    .addprofileImg, .addstoreImg {
        position: absolute;
        width: 1.8rem !important;
        height: 1.8rem !important;
        top: 85px;
        left: 58%;
        z-index: 1;
    }
}

@media (min-width: 620px) and (max-width: 760px) {
    .editNameBtntxt {
        position: absolute;
        left: 91%;
        top: 130px;
        font-size: 10px;
    }

    .addstoreBtntxt {
        position: absolute;
        left: 91%;
        top: 60px;
        font-size: 11px;
    }

    .addprofileImg, .addstoreImg {
        position: absolute;
        width: 1.8rem !important;
        height: 1.8rem !important;
        top: 85px;
        left: 57%;
        z-index: 1;
    }
}

@media (min-width: 760px) and (max-width: 960px) {
    .editNameBtntxt {
        position: absolute;
        left: 93%;
        top: 130px;
        font-size: 10px;
    }

    .addstoreBtntxt {
        position: absolute;
        left: 93%;
        top: 60px;
        font-size: 11px;
    }

    .addprofileImg, .addstoreImg {
        position: absolute;
        width: 1.8rem !important;
        height: 1.8rem !important;
        top: 85px;
        left: 56%;
        z-index: 1;
    }
}

@media (min-width: 960px) and (max-width: 1200px) {
    .editNameBtntxt {
        position: absolute;
        left: 94%;
        top: 130px;
        font-size: 10px;
    }

    .addstoreBtntxt {
        position: absolute;
        left: 94%;
        top: 60px;
        font-size: 11px;
    }

    .addprofileImg, .addstoreImg {
        position: absolute;
        width: 1.8rem !important;
        height: 1.8rem !important;
        top: 85px;
        left: 55%;
        z-index: 1;
    }
}

@media (min-width: 1200px) {
    .editNameBtntxt {
        position: absolute;
        left: 95%;
        top: 130px;
        font-size: 10px;
    }

    .addstoreBtntxt {
        position: absolute;
        left: 95%;
        top: 60px;
        font-size: 11px;
    }

    .addprofileImg, .addstoreImg {
        position: absolute;
        width: 1.8rem !important;
        height: 1.8rem !important;
        top: 85px;
        left: 54%;
        z-index: 1;
    }
}

/*Phonebook end*/



/*Dashboard start*/

.MonthPrg_hd {
    min-height: 0px !important;
    padding: 0 !important;
    padding-bottom: 5px !important;
    font-size: large;
}

.MonthPrg_num {
    min-height: 0px !important;
    padding: 0 !important;
    font-size: 24px;
}

.MonthPrg_num_goal {
    min-height: 0px !important;
    padding: 0 !important;
    text-align: end !important;
}

.MonthPrg_togo {
    min-height: 0px !important;
    padding: 0 !important;
    text-align: end !important;
}

.CusPrg_bg {
    background-color: white;
}

.CusPrg_hd {
    min-height: 0px !important;
    padding: 0 !important;
    padding-bottom: 5px !important;
    font-size: large;
}

.Cus_numbers {
    color: red;
    font-size: 30px;
}

.Dash_Cus_Cat_btn {
    font-weight: bold;
    border: solid gray;
    border-radius: 20%;
    /*background-color: #C3F8B7;*/
    background-color: #d5f5ce;
    border-radius: 20%;
}

.Dash_Cus_Cat_btn_risk {
    font-weight: bold;
    border: solid gray;
    border-radius: 20%;
    /*background-color: #C3F8B7;*/
    background-color: #f5a6a6;
    border-radius: 20%;
}


.Dash_Cus_Cat_btn > div > div > div > div {
    text-align: center;
}

.Dash_Cus_Cat_btn_risk > div > div > div > div {
    text-align: center;
}

.Dash_font {
    font-family: Roboto !important;
}

.Num_Cus_All, .Num_Cus_New, .Num_Cus_Risk {
    font-size: 40px;
    font-weight: bolder;
    margin: 0px !important;
    font-family: Roboto !important;
}

    .Num_Cus_All.sapMLnk {
        color: black;
    }

    .Num_Cus_New.sapMLnk {
        color: #32BC40;
    }

    .Num_Cus_Risk.sapMLnk {
        color: #EE1818;
    }

.CusTable_hd {
    min-height: 0px !important;
    padding: 0 !important;
    padding-bottom: 5px !important;
    font-size: large;
}

.CusTable_hd_cat {
    min-height: 0px !important;
    padding: 0 !important;
    padding-bottom: 5px !important;
}

.CusTable_Filter, .CusTable_Item {
    min-height: 0px !important;
    padding: 0 !important;
}

    .CusTable_Item > td {
        min-height: 0px !important;
        padding: 0 !important;
    }

.Grade_A {
    color: #6ee080 !important;
    font-size: x-large !important;
    font-weight: bold !important;
}

.Grade_B {
    color: #9FCBEC !important;
    font-size: x-large !important;
    font-weight: bold !important;
}

.Grade_C {
    color: #fce43a !important;
    font-size: x-large !important;
    font-weight: bold !important;
}

.Grade_D {
    color: #ee4c37 !important;
    font-size: x-large !important;
    font-weight: bold !important;
}

.PrgInd_rmmar {
    margin: 1px !important;
    min-width: 1rem !important;
    min-height: 0.5rem !important;
}

.Cus_table_PrgInd {
    height: 0.6rem;
}


.boldFont {
    font-weight: 900 !important;
}

.boldFontRed {
    color: red !important;
    font-weight: 900 !important;
    font-size: 14px;
}

.txt_font_8 {
    font-size: 8px !important;
}

.txt_font_9 {
    font-size: 9px !important;
}

.txt_font_10 {
    font-size: 10px !important;
}

.txt_font_11 {
    font-size: 11px !important;
}

.txt_font_12 {
    font-size: 12px !important;
}

.txt_font_14 {
    font-size: 14px !important;
}

.txt_font_16 {
    font-size: 16px !important;
}

.txt_font_18 {
    font-size: 18px !important;
}

.min_line_h {
    line-height: normal !important;
}

.Text_rmpad {
    min-height: 0px !important;
    padding: 0 !important;
}

.rm_margin {
    margin: 0px !important;
}

.Simpleform_rmpad {
    min-height: 0px !important;
    padding: 0 !important;
}

    .Simpleform_rmpad > div {
        min-height: 0px !important;
        padding: 0 !important;
    }

        .Simpleform_rmpad > div > div {
            min-height: 0px !important;
            padding: 0 !important;
        }

            .Simpleform_rmpad > div > div > div {
                min-height: 0px !important;
                padding: 0 !important;
            }

.Simpleform_rmtoppad > div > div > div {
    min-height: 0px !important;
    padding-top: 0 !important;
}

.Simpleform_rmbotpad > div > div > div {
    min-height: 0px !important;
    padding-bottom: 0 !important;
}

.Table_Item > td {
    min-height: 0px !important;
    padding: 0 !important;
}

.green-text {
    color: green !important;
}

.red-text {
    color: rgb(218, 0, 0) !important;
}

.orange-text {
    color: #FE5000 !important;
}

.gray-text {
    color: #6d6d6d !important;
}

.black-text {
    color: rgb(0, 0, 0) !important;
}

.large-icon {
    font-size: 40px !important;
}

.textRiskLevel-A {
    color: #09A720 !important;
    font-weight: bold !important;
}

.textRiskLevel-B {
    color: #02B3AA !important;
    font-weight: bold !important;
}

.textRiskLevel-C {
    color: #F8BD26 !important;
    font-weight: bold !important;
}

.textRiskLevel-D {
    color: #F7900C !important;
    font-weight: bold !important;
}

.textRiskLevel-E {
    color: #D82D21 !important;
    font-weight: bold !important;
}

.warningIcon {
    font-size: 50px;
}

.text-size-28 {
    font-size: 28px !important;
}

/*Dashboard end*/

/*cv grading*/
.cvGradeA {
    color: #03ab0e !important;
    font-weight: bold !important;
}

.cvGradeB {
    color: #0BADAF !important;
    font-weight: bold !important;
}

.cvGradeC {
    color: #F3BD2F !important;
    font-weight: bold !important;
}

.cvGradeD {
    color: #FD8E04 !important;
    font-weight: bold !important;
}