
.ui-page {
    touch-action: none;
    background-color: #30363a;
    background-size:cover;  
}

h1.ui-title {
    color: #777;
}

#page_msg_write textarea.ui-input-text {
    height: inherit !important
}

#tmpnotify {
    position: absolute;
    right: 15%;
    top: 25%;
    width: 70%;
    min-height: 12%;
    background-color: #fff;
    padding: 1% 0% 2% 0%;
    z-index: 10000;
    border: 1px solid #aaa;
    border-radius: 12px;
}
#tmpnotify #head {
    font-size: 1.2em;
    font-style: italic;
    border-bottom: 1px solid #aaa;
    text-align: center;
    color: black;
}
#tmpnotify #body {
    font-size: 1.2em;
    text-align: center;
    color: black;
}

#mainmenu {
    position: absolute;
    right: 0px;
    top: 20px;
    padding-right: 3em;
    background-color: #e9e9e9;
    z-index: 100;
    border-radius: 0em 0em 0em 1em;
}

#mainmenu ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

#mainmenu li {
    padding: 0.4em 1.5em 0.4em 0.8em;
    font-size: 1.1em;
    color: #333;
    border-top: 1px solid white;
}

.mb-openmainmenu {
    width: 20px;
    height: 20px;
}



.mb-header-tools-right {
    position: absolute;
    top: 4px;
    right: 0px;
}

.mb-header-tools-left {
    position: absolute;
    top: 4px;
    left: 0px;
}

.blockscreen {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: black;
    width: 0px;
    height: 0px;
    z-index: 100000;
    opacity: 0;
}

.smallalert {
    position: absolute;
    bottom: 7%;
    left: 0px;
    margin: 0px 0px 0px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    background-color: #9b3889;
    color: white;
    text-align: center;
    z-index: 100000;
    opacity: 1;
    border: 1px solid #aaa;
}

#page_configure #status,#fetching_status {
    background-color: white;
    margin: 20px 0 20px 0;
    padding: 5px;
    color: black;
    border-radius: 4px;
}


.mb-content-foottext {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 30px;
    background-color: #ddd;
    color: black;
    font-size: 1.1em;
}


.mb-statusbar {
    margin: 8px 0 0 0;
    touch-actions: none;
}

.mb-statusbar-map {
    float: left;
    text-align: left;
}

.mb-statusbar-search img.leftside {
    float: left;
    width: 30px;
    padding: 0 5px 0 10px;
}
.mb-statusbar-search img.rightside {
    float: right;
    width: 30px;
    padding: 0 7px 0 0px;
}

.mb-statusbar-search input {
    width: 70%;
    background-color: #9b3889;
    border: none;
    color: white;
    font-size: 1.2em;
    outline: 0;
    float: left;
}

.mb-statusbar-search {
    text-align: center;
    height: 28px;
    margin: 0px 68px 8px 68px;
    border-radius: 50px;
    padding: 8px 0px 8px 0px;
    background-color: #9b3889;
}

.mb-statusbar-checkin {
    text-align: center;
    height: 28px;
    overflow-y: hidden;
    margin: 8px 68px 8px 68px;
    padding: 2px 0px 8px 0px;
}

.mb-statusbar-nummsgs {
    position: absolute;
    top: 0px;
    left: -4px;
    background-color: white;
    color: #9b3889;
    border-radius: 18px;
    font-size: 0.75em;
    padding: 1px 6px 1px 6px;
}

.mb-statusbar-msgs {
    float: right;
    text-align: right;
    position: relative;
}



.mb-tabs-header {
    border-top: 1px solid #9b3889;
    border-bottom: 1px solid #9b3889;
}

.mb-tabs-left {
    width: 32px;
    font-size: 1.5em;
    float: left;
    padding: 4px 0 0 4px;
    text-align: left;
}

.mb-tabs-title {
    width: 79%;
    float: left;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.mb-tabs-right {
    width: 32px;
    font-size: 1.5em;
    float: right;
    padding: 4px 4px 0 0;
    text-align: right;
}

.mb-tabs-content {
    clear: both;
    position: relative;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mb-tabs {
    position: relative;
}


ul.mb-itemlist {
    list-style-type: none;
    margin: 0px;
    padding: 0 0.4em 0 0.4em;
    margin-bottom: 60px;
}

.mb-itemlist-warning {
    text-align: center;
    color: yellow;
    font-style: italic;
}

.mb-itemlist-letters {
    position: absolute;
    right: 0px;
    background-color: black;
    line-height: 1em;
    padding: 0px 0.5em 0px 0.5em;
}

li.mb-listitem:first-of-type {
    border-top: 1px solid #9b3889;
}

li.mb-listitem {
    border-bottom: 1px solid #9b3889;
    padding: 0.2em 4px 0.2em 4px;
}

li.mb-listitem-activate:active {
    background-color: #9b3889;
}



.mb-footer {
    background-color: #20262a;
    border: none;
    border-top: 1px solid #e8d;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mb-footer-content {
    background-color: #20262a;
    width: 10000px;
}

.mb-barcontainer {
    position: relative;
    padding: 2px 0 2px 0;
    -webkit-overflow-scrolling: touch;
}

.mb-baritem {
    background-color: #20262a;
    float: left;
    color: white;
    word-break: break-all;
    font-size: 0.7em;
    text-transform: uppercase;
    text-align: center;
    border-right: 1px solid #e8d;
    text-shadow: none;
}

.mb-baritem img {
    height: 33px;
    padding-top: 8px;
}

.mb-baritem-text {
    white-space: nowrap;
}

.mb-baritem:active {
    background-color: #9b3889;
}



.mb-objinfo {
    margin: 0.5em 0 0 0;
    width: 99.9%;
    overflow-y: auto;
    padding: 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.mb-objinfo-head {
    position: relative;
    background-color: #e4e4e4;
}

.mb-objinfo table {
    border-collapse: collapse;
    color: black;
    background-color: white;
    width: 99.8%;
}

.mb-objinfo td {
    border-top: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    padding: 0.4em 0.2em 0.4em 0.3em;
}

.mb-objinfo-expandtext {
    padding: 0 30px 0 0;
    overflow: hidden;
    position: relative;
}

.mb-objinfo-expandtext .toggleIcon {
    position: absolute;
    top: 0px;
    right: 5px;    
    transition: all 200ms ease;
}

.mb-objinfo-expandtext.expanded1 .toggleIcon {
    transform: rotate(180deg);    
}

div.mb-objinfo-checkpoint {
    padding: 0.3em 0;
    overflow: hidden;
}

.mb-objinfo td.mb-objinfo-text {
    text-align: left;
}

.mb-objinfo td.mb-objinfo-label {
    text-transform: uppercase;
    max-width: 6em;
    min-width: 4em;
    font-size: 0.8em;
    white-space: normal;
    vertical-align: center;
    color: #fff;
    text-align: center;
    background-color: #483c48;
}

.mb-objinfo td.mb-objinfo-label {
    border-right: 1px solid white;
}

.mb-objinfo-button {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.1em;
    font-weight: bold;
    background-color: #ccc;
}

.mb-objinfo-icon {
    width: 40px;
    height: 40px;
    padding: 2px;
}

.mb-objinfo-button {
    border-radius: 3px;
    border: 1px solid gray;
    background-color: #c5b;
    color: white;
    font-size: 0.8em;
    text-decoration: none;
    padding: 3px 8px 3px 8px;
}

.mb-objinfo-headline {
   min-height: 35px;
   font-size: 1.6em;
   font-weight: bold;
   color: #717;
   padding: 0.4em 0 0 0.4em;
   width: 80%
}

.mb-objinfo-subtext {
   font-size: 1em;
   color: #777;
   padding: 0.4em 0 0.4em 0.4em;
   border-bottom: 0px solid white;
   width: 80%
}

.mb-objinfo-mapinfo {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 15%;
    padding: 4px;
    text-align: right;
    white-space: nowrap;
    color: #777;
}



.mb-content-isclosed {
    background-color: white;
    text-align: center;
    color: #333;
    padding: 3px 0px;
    display: none;
}

.mb-content-list {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mb-content-objinfo {
    overflow-y: auto;
}

.mb-xin {
    position: relative;
    margin: 0 auto 0 auto;
    width: 200px;
}

.mb-xin-clockcontainer img {
    width: 256px;
    height: 256px;
}

.mb-xin-clockcontainer {
    text-align: center;
    position: relative;
}

.mb-xin-map {
    position: absolute;
}

.mb-xin-msgs {
    position: absolute;
    top: 0px;
    right: 0px;
}

.mb-xin-clock {
}

.mb-xin-toptext {
    font-size: 30px;
    top: 40px;
    width: 100%;
    position: absolute;
}

.mb-xin-bigtext {
    font-size: 65px;
    font-weight: bold;
    width: 100%;
    top: 89px;
    position: absolute;
}

.mb-xin-bottomtext {
    font-size: 30px;
    width: 100%;
    top: 155px;
    position: absolute;
}



#popupdialog a {
    background-color: #B2A;
    border-color: #B2A;
    min-width: 2em;
}

#popupdialog [data-role=header] {
    background-color: #B2A;
    text-shadow: none;
}

#popupdialog .mb-content {
    overflow: auto;
    text-shadow: none;
    color: black;
}

.ui-popup {
    background-color: #B2A;
}

ul#popupdialog-select {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

ul#popupdialog-select li {
    border-bottom: 1px solid gray;
    color: #444;
    padding: 10px 0 10px 0;
    font-weight: normal;
    cursor: pointer;
}

#popupdialog h1 {
    margin: 6px;
    font-size: 1.5em;
    padding: 4px;
}

#popupdialog h3 {
    color: #333;
    font-weight: normal;
}

#popupdialog .mb-content {
    -webkit-overflow-scrolling: touch;
}



#numerickeyboard {
    width: 100%;
}
#numerickeyboard h1 {
    margin: 6px;
    font-size: 1.5em;
    padding: 4px;
}
#numerickeyboard table {
    width: 100%;
}
#numerickeyboard td.full {
    width: 33%;
    color: black;
    font-size: 2em;
    border: 1px solid gray;
    border-radius: 5px;
    text-align: center;
    padding: 0.2em 0.2em 0.2em 0.2em;
}
#numerickeyboard td.narrow {
    width: 25%;
    color: black;
    font-size: 2em;
    border: 1px solid gray;
    border-radius: 5px;
    text-align: center;
    padding: 0.2em 0.2em 0.2em 0.2em;
}

.ui-popup .ui-btn {
    padding: 0.3em;
}

.ui-popup .ui-content {
    padding: 0.5em;
    background-color: #ddd;
}

.ui-popup [data-role=header] {
    font-size: 0.7em;
}


#photo_toolbar {
    position: absolute;
    width: 100%;
    height: 50px;
    bottom: 0px;
    left: 0px;
    background-color: #20262a;
    border-top: 1px solid #e8d;
}

#photo_toolbar .photo_toolbaritem {
    width: 43px;
    height: 43px;
    float: left;
}

#photo_palette {
    display: none;
    width: 190px;
    position: absolute;
    left: 10px;
    bottom: 60px;
}

#photo_tools {
    display: none;
    width: 50px;
    position: absolute;
    left: 64px;
    bottom: 60px;
}

.photo_toolitem {
    width: 43px;
    height: 43px;
    margin: 1px;
    border: 1px solid white;
    border-radius: 6px;
    background-color: #20262a;
    float: left;
}

#photo_textinput_container {
    position: absolute;
    bottom: 50px;
    left: 0px;
    width: 100%;
    padding: 3px;
    background-color: white;
    border: 1px solid black;
}

#photo_rubberrect {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 20px;
    height: 20px;
    border: 1px solid black;
    display: none;
}


#clog_history {
    font-size: 0.9em;
}

#clog_history .clog_line {
    overflow-y: hidden;
    max-height: 2.6em;
}

.mc_check {
    float: left;
    width: 20px;
    height: 10px;
}

.mc_text {
    padding-top: 1px;
    margin-left: 25px;
    margin-bottom: 3px;
}


#page_crm_order .mb-content-foottext {
    position: absolute;
    bottom: 50px;
    background-color: #ccc;
    color: black;
}

.pancontainer {
    position:relative; /*keep this intact*/
    overflow:hidden; /*keep this intact*/
    border:1px solid black;
}

.pancontainer .zoomcontrols {
    position:absolute;
    width: 30px;
    height: 30px;
    background: #eee;
    border: 1px solid gray;
}

.form_errortxt {
    font-size: 0.8em;
    font-style: italic;
}


.sigcontainer img {
    position: absolute;
    width: 40px;
    height: 40px;
    padding: 8px;
}


/* MB Conversations */
.mb-content-convo-list {
    list-style: none;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    overflow:auto;
}
.mb-content-convo-list .item {
    margin-bottom: 35px;
}

.mb-content-convo-list .item:last-child {
    margin-bottom: 152px;
}

.mb-content-convo-list .item .datetime {
    display: block;
    text-align: right;
    color: rgba(255,255,255,0.5);
    margin-bottom: 5px;
}
.mb-content-convo-list .item.other .datetime {
    text-align: left;
}

.mb-content-convo-list .item.other .actions {
    text-align: left;
}



.mb-content-convo-list .item .clear {
    clear:both;
}

.mb-content-convo-list .item .content {
    background: lightblue;
    color: #000;
    border-radius: 10px 3px 10px 10px;
    padding: 10px;
    float: right;
    transition: all 100ms ease;
}


.mb-content-convo-list .item .content.confirmed {
    background: #4caf50;
    color: #fff;
}

.mb-content-convo-list .item .content.pending {
    background: #ffeb3b;
    color: #000;
}

.mb-content-convo-list .item.other .content  {
    float: left;
    border-radius: 3px 10px 10px 10px;
    background-color: #e9e9e9;
}

.mb-content-convo-list .actions {
    text-align: right;
}

.mb-content-convo-list .actions a {
    background: #ccc;
    border-radius: 5px;
    margin-top: 10px;
    padding: 2px 8px;
    display: inline-block;
    color: #000;
    border: 1px solid rgb(215, 32, 151);
    box-shadow: 0px 0px 13px 3px rgba(0, 0, 0, 0.52);
    text-decoration: none;
}

.mb-content-convo-list .actions .message-action-markasunread {
    background: #ccc;
    border-radius: 5px;
    margin-top: 10px;
    padding: 2px 8px;
    display: inline-block;
    color: #000;
    border: 1px solid rgb(215, 32, 151);
    box-shadow: 0px 0px 13px 3px rgba(0, 0, 0, 0.52);
    text-decoration: none;
}


.mb-content-convo-list .item .message-status.read > .confirmed {
    display: inline-block;
}
.mb-content-convo-list .item .message-status.pending > .pending {
    display: inline-block;
}

.mb-content-convo-list .item .message-status img {
    float: right;
    margin-right: 5px;
    margin-top: 8px;
    opacity: 0.6;
    display: none;
}
.mb-content-convo-list .item.other .message-status img {
    float: left;
    margin-left: 5px;
}


.mb-messagebar {
    background: #e9e9e9;
    position: fixed;
    bottom: -62px;
    width: 100%;
    transition: all 200ms ease;
}

.mb-messagebar.open {
    transform: translate3d(0, -62px, 0);
}

.mb-messagebar .messagebar-top img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.mb-messagebar.open .messagebar-top  img.open {
    display:none;
}

.mb-messagebar:not(.open) .messagebar-top img.close {
    display:none;
}

.mb-messagebar .inner {
    padding: 0px 10px 10px 10px;
}

.mb-messagebar .ui-input-text {
    width: 80%;
    display: inline-block;
    margin-top: 15px;
}

.mb-messagebar .sendbutton {
    background-color: #f6f6f6 /*{a-bup-background-color}*/;
    border-width: 1px;
    border-style: solid;
    border-color: #ddd;
    border-radius: 5px;
    height: 35px;
    display: inline-block;
    line-height: 35px;
    width: 17%;
    text-align: center;
    vertical-align: middle;
}

.mb-messagebar .sendbutton img {
    vertical-align: middle;
}



.mb-unreadcount {
    background: #e9e9e9;
    border-radius: 5px;
    padding: 1px 8px;
    color: #9b3889;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    vertical-align: top;
    margin-top: 3px;
    margin-left: 9px;
}

.mb-confirmpendingcount {
    background: #ffeb3b;
    border-radius: 5px;
    padding: 1px 8px;
    color: #000;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    vertical-align: top;
    margin-top: 3px;
    margin-left: 9px;
}

.mb-confirmedunseencount {
    background: #4caf50;
    border-radius: 5px;
    padding: 1px 8px;
    color: #fff;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    vertical-align: top;
    margin-top: 3px;
    margin-left: 9px;
}

/* Remove the clock icon, as it activates the old time picker. */
.datebox-time + a.ui-icon-clock {
    display: none;
}

.datebox-date + a.ui-icon-calendar {
    display: none;
}

.mb-noteslist {
    list-style: none;
    padding: 0px 10px 0px 10px;
}

.mb-noteslist li {
    background: #e9e9e9;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    color: #000;
}

.mb-noteslist li .title {
    border-bottom: 1px solid rgb(150, 150, 150);
    margin-bottom: 5px;
    padding-bottom: 5px;
}
.mb-noteslist li .content {
    border-bottom: 1px solid rgb(150, 150, 150);
    padding-bottom: 5px;
    margin-bottom: 5px;
}
