body {
    background-color: #f4f6f7;
}
#divChatHeading {
    width: 100%;
    background-color: #4d4d4d;
    text-align: center;
    height: 48px;
    position: absolute;
    z-index: 999;
}
.chatHeading {
    color: white;
    display: inline-block;
    margin: 0px;
    padding: 10px 0px; 
    font-weight: normal;
    font-size: 16px;
    margin-left: 10px;
}
#divCustomerDetails, #divChatNotice {
    padding: 10px;
    text-align: center;
    width: 80%;
    margin: auto;
    padding-top: 65px !important;
}
#inputDetails {
    width: 100%;
    text-align: center;
}
#inputDetails h5 {
    font-size: 14px;
    color: #5a5a5a;
}
#divCustomerDetails .customerName, #smartriderNumber, #divCustomerDetails .customerReason {
    display: block;
    width: 100%;
    font-size: 12px;
    border: solid 1px #e6e6e6;
}
#divCustomerDetails .customerName.invalid {
    border: 1px solid red;
    color: red;
    font-weight: bold;
    background: url(Images/error.png) no-repeat 10px 6px white;
    padding-left: 30px;
    width: calc(100% - 30px);
}
#initChat {
    float: right;
    background-color: #008A28;
    /*font-weight: bold;*/
    text-transform: capitalize;
    line-height: 2.5em;
    vertical-align: middle;
    color: white;
    text-decoration: none;
    -webkit-appearance: none;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    border: 0;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
    margin-top: 15px;
}
.paraDetails {
    font-size: 12px;
    margin-top: 10px;
    /*color: #808080;*/
}
.paraDetails.sub {
    font-size: 12px;
}
#webChatFrame {
    display: none;
    position: absolute;
    top: 0;
    z-index: 1100;
    max-width: 300px;
}
#divChatNotice {
    padding: 10px;
}
.Normal img {
    margin-top: 0;
    margin-bottom: 0;
}
.chatHeadingLogo {
    padding-top: 8px;
    vertical-align: top;
    margin: auto;
    display: inline-block;
}
.introPageLogo {
    padding: 25px 0px;
}
input::placeholder {
    color: #e6e6e6;
}
.greenHeading {
    color: #009639;
}
.greyHeading {
    color: #808080;
}
.offlineImg {
    height: 40px;
    margin: 10px auto;
}
.appIcon {
    width: 49%;
    display: inline-block;
    margin: 10px auto;
    max-width: 190px;
}
.subPageLogo {
    margin: 5px auto;
}

/* New styling */
#divLiveChatPopup, #divLiveChatPopupMobile {
    position: fixed;
    bottom: 0px;
    right: 5%;
    width: 300px;
    max-width: 100%;
    height: 50px;
    overflow: hidden;
    visibility: visible;
    z-index: 1009;
    background: #4d4d4d;
    border: 0px;
    backface-visibility: hidden;
    opacity: 1;
    transform: translateY(0%);
    margin-bottom: -5px;
    text-align: center;
}
#divLiveChatPopup {
    right: 5%;
}
#divLiveChatPopupMobile {
    right: 0;
}
#divLiveChatPopup:hover {
    cursor: pointer;
}
#liveChatOpenLink, #liveChatCloseLink, #liveChatOpenLinkMobile {
    width: 100%;
    text-decoration: none;
    display: block;
}
#speechImg {
    padding-top: 12px;
    vertical-align: top;
    display: inline;
    margin: 0;
    height: 27px;
    width: 27px;
}
#divLiveChatPopup .logo-transperth,
#divChatHeading .logo-transperth {
    float: left;
    margin: 12px 0;
    transform: scale(0.8);
    background-position: 0 -197px;
}
#divLiveChatPopup .popupTxt,
#divChatHeading .chatHeading {
    position: absolute;
    left: 110px;
}
.divWebChat .popupTxt,
.divWebChatMobile .popupTxt {
    color: white;
    font-size: 16px;
    margin-left: 10px;
    margin-top: 14px;
    display: inline-block;
}
.divWebChat .arrowImg {
    height: 20px;
    width: 20px;
    position: absolute;
    right: 10px;
    bottom: -18px;
}
#divLiveChatForm {
    display: none;
    position: fixed;
    bottom: 0px;
    right: 5%;
    width: 300px;
    max-width: 100%;
    overflow: hidden;
    visibility: visible;
    z-index: 1200;
    border: 0px;
    transition: transform 0.2s ease-in-out;
    backface-visibility: hidden;
    opacity: 1;
    transform: translateY(0%);
    text-align: center;
    background: white;
    border: solid 1px #4d4d4d;
    padding-bottom: 30px;
}
#divLiveChatFormMobile {
    display: block;
    width: 100%;
    height: 100vh;
    max-width: 100%;
    /*overflow: hidden;*/
    visibility: visible;
    z-index: 1200;
    border: 0px;
    backface-visibility: hidden;
    opacity: 1;
    text-align: center;
    background: white;
}
#divLiveChatFormMobile #divCustomerDetails {
    padding-bottom: 30px;
    z-index: 1300;
}
#divLiveChatFormMobile #divCustomerDetails .customerName,
#divLiveChatFormMobile #divCustomerDetails #smartriderNumber,
#divLiveChatFormMobile .customerReason,
#divLiveChatFormMobile #initChat{
    width: 300px;
    max-width: 80%;    
    margin: auto;
    margin-bottom: 15px;
}
#divLiveChatFormMobile #divCustomerDetails .customerName,
#divLiveChatFormMobile #divCustomerDetails #smartriderNumber,
#divLiveChatFormMobile .customerReason{
    width: 300px;
    padding: 5px;
}
#divLiveChatFormMobile #initChat {
    width: 200px;
    float: none;
}
#divLiveChatFormMobile #webChatFrame {
    max-width: none;
    position: static;
    /*margin-top: -20px;*/
}
#divLiveChatFormMobile #speechImg {
    margin-left: -40px;
}
#divLiveChatFormMobile #returnHomeImg {
    float: left;
    padding: 10px;
    padding-right: 10px;
}
#divLiveChatFormMobile #returnHomeImg:hover {
    cursor: pointer;
}
#divLiveChatFormMobile #divChatHeading {
    border-bottom: solid white 20px;
}
#jsGrid .jsgrid-button {
    width: 20px !important;
    height: 20px !important;
    padding: 5px !important;
    min-width: 20px !important;
}
#jsGrid .jsgrid-button.edit-button {
    background: url(Images/edit.png) no-repeat #c9e4ff;
}
#jsGrid .jsgrid-button.update-button {
    background: url(Images/save.png) no-repeat #73ec77;
}
#jsGrid .jsgrid-button.cancel-button {
    background: url(Images/cancel.png) no-repeat #f77b7b;
}

@media (min-width: 769px) {
    #divLiveChatPopup {
        display: block;
    }
    #divLiveChatPopupMobile {
        display: none;
    }
}
@media (max-width: 768px) {
    #divLiveChatPopup, #divLiveChatForm {
        display: none;
    }
    #divLiveChatPopupMobile {
        display: block;
    }
}