/* Prevent Textarea resizing */
textarea {
    resize: none;
}

/* Message Styling */
span.username {
    float: right;
    color: rgba(100, 100, 100, 0.5);
}

li.message:nth-child(even) {
    background: #E2E2E2;
}

/* User List Styling */
.type-interior .content-secondary {
    position: fixed !important;
}

/* Logo */
.logo {
    font-family: "Ubuntu", Helvetica, sans-serif;
    font-size: 50px;
    text-align: center;
    color: #2e8abf;
}

.logo h3 {
    text-shadow: 0px -1px #AAA;
    margin-bottom: 20px;
}

/* Button Styling Override */
.ui-btn-corner-all {
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

/* Header Styling Override */
.ui-bar-a {
    border: 1px solid #2e8abf;
    background: #2e8abf;
}

/* Home Page */
[data-role="page"] {
    background-color: #FFFFFF;
    background-image: -webkit-linear-gradient(top, rgba(250,250,250, 0.7) 0%, rgba(250,250,250,0) 100%);
    /*
    background-image: -webkit-linear-gradient(top, rgba(250,250,250, 0.7) 0%, rgba(250,250,250,0) 100%), url(../img/pw_pattern.png);
    */
}

.type-home .ui-content {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.type-interior .ui-content {
    min-height: 100%;
}

p.intro {
    font-size: .96em;
    line-height: 1.3;
    border-top: 1px solid #75ae18;
    border-bottom: 0;
    background: none;
    margin: 1.5em 0;
    padding: 1.5em 15px 0;
}
p.intro strong {
    color:  #558e08;
}

.type-interior .content-secondary {
    border-right: 0;
    border-left: 0;
    margin: 10px -15px 0;
    background: #EEE !important;
    border-top: 1px solid #ccc;
    height: 100%;
}
.type-home .ui-content {
    /*margin-top: 5px;
    overflow: hidden;
    position: relative;*/
}
.type-interior .ui-content {
    padding-bottom: 0;
}
.content-secondary .ui-collapsible {
    padding: 10px 15px;
}
.content-secondary .ui-collapsible-inset {
    margin: 0;
}
.content-secondary .ui-collapsible-content {
    padding: 0;
    background: none;
}
.content-secondary .ui-listview {
    margin: 0;
}

.type-interior .ui-content {
    padding: 0;
}

.content-primary .ui-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.content-primary .ui-footer textarea {
    margin: 5px auto;
    width: 97%;
}

#messageContent{
    resize: none;
    height: 50px;
    max-height: 300px;
    /*resize: vertical;*/
}

.content-primary .ui-footer .ui-grid-a {
    width: 100%;
}

.type-interior .content-primary ul:first-child {
    margin: 0;
    /*margin-bottom: 109px;*/
}

.type-interior .content-secondary {
    display: none;
}

/* docs site layout */

/* Small Screen Device */
@media all and (min-width: 650px) {
    .type-interior .content-secondary {
        display: block;
    }

    /*.type-home .ui-content {
      margin-top: 5px;
    }*/
    .ui-mobile #jqm-homeheader {
        max-width: 340px;
    }
    p.intro {
        margin: 2em 0;
    }
    .type-interior > .ui-content {
        padding: 0;
    }
    .type-interior {
        /*height: 100%;*/
    }
    .type-interior > .ui-content {
        /*height: 100%;*/
    }
    .content-secondary {
        text-align: left;
        float: left;
        width: 40%;
    }
    .content-secondary,
    .type-interior .content-secondary {
        margin: 30px 0 20px 2%;
        padding: 20px 4% 0 0;
        background: none;
        border-top: none;
        position: relative;
    }
    .type-interior .content-secondary::after {
        content: "";
        display: inline-block;
        position: absolute;
        top: 0;
        right: 0;
        height: 1px;
        width: 1px;
        margin-bottom: -9999px;
        padding-bottom: 9999px;
        background: #bbb;
    }
    .type-index .content-secondary {
        padding: 0;
    }
    .content-secondary .ui-collapsible {
        margin: 0;
        padding: 0;
    }
    .content-secondary .ui-collapsible-content {
        border-left: none;
        border-right: none;
    }
    .type-index .content-secondary .ui-listview {
        margin: 0;
    }
    .ui-mobile #jqm-homeheader {
        padding: 0;
    }
    .content-primary {
        width: 60%;
        float: right;
        margin: 0;
        padding: 0;
    }
    /* collapsible non-inset example */
    .content-primary .ui-collapsible-content ul:first-child {
        margin-top: -10px;
    }
    .content-secondary h2 {
        position: absolute;
        left: -9999px;
    }
    .type-interior .content-primary {
        /*padding: 1.5em 6% 3em 0;*/
        margin: 0;
    }
    /* fix up the collapsibles - expanded on desktop */
    .content-secondary .ui-collapsible-inset {
        margin-bottom: -1px;
    }
    .content-secondary .ui-collapsible-heading {
        display: none;
    }
    .content-secondary .ui-collapsible-contain {
        margin:0;
    }
    .content-secondary .ui-collapsible-content {
        display: block;
        margin: 0;
        padding: 0;
    }
    .content-secondary .ui-collapsible-content,
    .content-secondary .ui-collapsible-content > .ui-listview .ui-li-last {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .type-interior  .content-secondary .ui-li-divider {
        padding-top: 1em;
        padding-bottom: 1em;
    }
    .type-interior .content-secondary {
        margin: 0;
        padding: 0;
    }
    .type-interior .content-primary .ui-footer {
        width: 60%;
    }
}

/* Tablet Screen */
@media all and (min-width: 750px) {
    .type-chat-list .ui-content {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .type-home .ui-content {
        background-position: 39%;
    }
    .content-secondary {
        width: 34%;
    }
    .content-primary {
        width: 66%;
        padding: 0;
        margin: 0;
    }

    .type-interior .content-primary .ui-footer {
        width: 66%;
    }
}

/* Widescreen Desktop */
@media all and (min-width: 1200px){
    .type-home .ui-content{
        background-position: 38.5%;
    }
    .content-secondary {
        width: 30%;
        /*padding-right:6%;
        margin: 30px 0 20px 5%;*/
    }
    .type-interior .content-secondary {
        margin: 0;
        padding: 0;
    }
    .content-primary {
        width: 70%;
        /*margin-right: 5%;
        padding-right: 3%;*/
    }
    .type-interior .content-primary {
        width: 70%;
    }
    .type-interior .content-primary .ui-footer {
        width: 70%;
    }
}

/* reset for popup examples */
.type-interior .ui-popup.ui-content,
.type-interior .ui-popup .ui-content {
    background-position: 0 0;
    background-repeat: no-repeat;
    overflow: visible;
}

/* tables documenting enum-type settings */
.enum-value {
    vertical-align: top;
    white-space: nowrap;
}

/* Navbar examples */
.content-primary > .ui-header,
.content-primary > .ui-footer {
    overflow: hidden;
}

/* list styles */
ul { margin:0; padding-left:0; }
ul li { list-style:none; padding:.4em 0; margin:0; border-bottom:1px solid #e3e3e3; }
ul ul li { border: none;}

dl dd ul { padding-left: 40px; }
dl dd ul li { list-style: disc; }
dl dd ul li li { list-style: circle; }
dl dd ul li li li { list-style: square; }
dl dd ul li { border: none; }

.ui-mobile-viewport .localnav li {
    border: none;
}












/* *************** iMessage Link CSS ****************** */




#messageList li, #searchList li, #contextConvoList li { border-bottom: none;}


.ui-mobile-viewport .localnav li {
    border: none;
}



/* .bubble */

.bubble {
    /*background-image: linear-gradient(bottom, rgb(210,244,254) 25%, rgb(149,194,253) 100%);
    background-image: -o-linear-gradient(bottom, rgb(210,244,254) 25%, rgb(149,194,253) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(210,244,254) 25%, rgb(149,194,253) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(210,244,254) 25%, rgb(149,194,253) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(210,244,254) 25%, rgb(149,194,253) 100%);
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.25, rgb(210,244,254)),
        color-stop(1, rgb(149,194,253))
    );*/
    background:#e6e5eb;
    color:#383641;
    /*border: solid 1px rgba(0, 0, 0, 0.5);*/
    border: solid 0px #aaa;
    /* vendor rules */
    border-radius: 6px;
    /* vendor rules */
    /*box-shadow: inset 0 5px 5px rgba(255, 255, 255, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);*/
    /* vendor rules */
    box-sizing: border-box;
    clear: both;
    float: left;
    margin-bottom: 20px;
    padding: 8px 30px;
    position: relative;
    /*text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);*/
    width: auto;
    max-width: 100%;
    word-wrap: break-word;
    text-shadow: none !important;
    font-weight: normal !important;
}

.bubble:before, .bubble:after {
   /* border-radius: 20px / 10px;
    content: '';
    display: block;
    position: absolute;*/
}

.bubble:before {
    /*border: 10px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.5);
    bottom: 0;
    left: -7px;
    z-index: -2;*/
}

.bubble:after {
    /*border: 8px solid transparent;
    border-bottom-color:#e6e5eb;
    bottom: 1px;
    left: -5px;*/

    content: '';
    position: absolute;
    border-style: solid;
    border-width: 11px 19px 11px 0;
    border-color: transparent #e6e5eb;
    display: block;
    width: 0;
    z-index: 0;
    left: -10px;
    top: 0px;
}

.bubble--alt {
    background-color: #158ffe;
    color:#fff;
    /*background-image: linear-gradient(bottom, rgb(172,228,75) 25%, rgb(122,205,71) 100%);
    background-image: -o-linear-gradient(bottom, rgb(172,228,75) 25%, rgb(122,205,71) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(172,228,75) 25%, rgb(122,205,71) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(172,228,75) 25%, rgb(122,205,71) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(172,228,75) 25%, rgb(122,205,71) 100%);
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.25, rgb(172,228,75)),
        color-stop(1, rgb(122,205,71))
    );*/
    float: right;
}
.bubble--alt a{
    color: #fff;
}
.bubble--alt:before {
    /*border-bottom-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px / 10px;
    left: auto;
    right: -7px;*/
}

.bubble--alt:after {
    /*border-bottom-color: #158ffe;
    border-radius: 20px / 10px;
    left: auto;
    right: -5px;*/
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 11px 0 11px 19px;
    border-color: transparent #158ffe;
    display: block;
    width: 0;
    z-index: 0;
    left: auto;
    right: -10px;
    top: 0px;

}

#messageList, #searchList, #contextConvoList{
    padding-left: 10px;
    padding-right: 10px;
}
#messageList .ui-btn-up-c, #searchList .ui-btn-up-c, #contextConvoList .ui-btn-up-c{
    border: none;
    background: none;
}


div.timestamp {
    /* vendor rules */
    box-sizing: border-box;
    clear: both;
    margin-bottom: 0px;
    padding: 0px 0px;
    position: relative;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
    width: auto;
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
    height: 11px;
}

#li-read-receipt div.timestamp, #li-delivered div.timestamp {
    text-align: right;
    padding-right: 15px;
}


span.timestamp {
    font-weight: bold;
    font-size: 10px;
    color: rgba(100, 100, 100, 0.5);
}


div.user-typing {
    width:77px;
    height:38px;
    background-image: url('/img/user-typing.gif');
}


.bubble--typing {

    background-image: linear-gradient(bottom, rgb(230,230,230) 25%, rgb(230,230,230) 100%);
    background-image: -o-linear-gradient(bottom, rgb(230,230,230) 25%, rgb(230,230,230) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(230,230,230) 25%, rgb(230,230,230) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(230,230,230) 25%, rgb(230,230,230) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(230,230,230) 25%, rgb(230,230,230) 100%);
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.25, rgb(230,230,230)),
        color-stop(1, rgb(230,230,230))
    );
    /*border: solid 1px rgba(0, 0, 0, 0.5);*/
    border: solid 0px #aaa;
    /* vendor rules */
    border-radius: 20px;
    /* vendor rules */
    box-shadow: inset 0 5px 5px rgba(255, 255, 255, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
    /* vendor rules */
    box-sizing: border-box;
    clear: both;
    float: left;
    margin-bottom: 20px;
    padding: 8px 30px;
    position: relative;
    /*text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);*/
    width: auto;
    max-width: 100%;
    word-wrap: break-word;
}

.bubble--typing:before {
    border: 10px solid transparent;
    border-bottom-color: #E6E6E6;
    bottom: 0;
    left: -7px;
    z-index: -2;
}

.bubble--typing:after {
    border: 8px solid transparent;
    border-bottom-color: #E6E6E6;
    bottom: 1px;
    left: -5px;
}


#userList .ui-btn-text {
    padding-left: 25px;
}

#notificationList .ui-btn-text {
    padding-left: 25px;
}

.unreadicon .ui-icon-custom {
    background-image: url("/img/circle-16.png");
    background-size: 100%;
}

.no-icon .ui-icon-custom {
    background-image: none !important;
    background-size: 100% !important;
    background-color : transparent  !important;
    /*background-color: #F9F9F9 !important;*/
}

.no-star-icon .ui-icon-custom {
    background-image: url("/img/star4.png");
    background-size: 100%;
    background-color : transparent  !important;
    /*background-color: #F9F9F9 !important;*/
}
.no-star-icon .ui-btn-text{
    z-index: 0 !important;
}
.star-icon .ui-icon-custom {
    background-image: url("/img/star-lit4.png");
    background-size: 100%;
    background-color : transparent  !important;
    /*background-color: #F9F9F9 !important;*/
}
.star-icon .ui-btn-text{
    z-index: 0 !important;
}

#userList .ui-widget-icon-floatend{
    float: left !important;
    margin: 1px 1em 0 0 !important;
}

.form-control-v2{
    width: 90% !important;
}

.ui-btn-up-b-v2{
    background-image: -webkit-linear-gradient( #777B87,#777B87 );
    color: #fff !important;
    text-shadow: 0 1px 1px #194b7e !important;
}

.notificationicon .ui-icon-custom {
    background-image: url("/img/circle-purple-16.png");
    background-size: 100%;

}

.pinkicon .ui-icon-custom {
    background-image: url("/img/circle-pink-16.png");
    background-size: 100%;

}


.unconfirmed .ui-icon-custom {
    /*
    background-image: url("/img/pending-circle.png");
    background-size: 100%;
    */
}

.message-timestamp{
    float:right;
    color:#158ffe;
    font-weight:normal;
    font-size:12px;
}


.message-preview{
    color:#AAAAAA;
    font-weight:normal;
    font-size:12px;
}

.message-preview-v2{
    color:#AAAAAA;
    font-weight:normal;
    font-size:12px;
    margin-left:38px;
}


.message-delivered{
    float:right;color:#999999;
    font-weight:normal;
    font-size:10px;
    margin-right:10px;
}

.bubble-name{
    width:100%;
    float:left;
    margin-left:5px;
}

.bubble--alt-name{
    width:100%;
    float:right;
    text-align: right;
    margin-right:5px;
}

.bubble-timestamp{
    font-size:9px;
    font-weight:normal;
    float:left;
    color:#999;
}


.bubble-date{
    font-size:9px;
    font-weight:normal;
    float:right;
    color:#999;
}

.bubble--alt-timestamp{
    font-size:9px;
    font-weight:normal;
    float:right;
    color:#FFF;
}


#chatPage .content-secondary{
    overflow:auto;
}

#chatPage .content-primary{
    /*overflow:auto;*/
    position: fixed !important;
    margin-left: 30%;
    height:100%;
}

#chatPage .content-primary .ui-content{
    overflow:auto;height:100%;

}

/*
#chatPage .ui-content {
    overflow: hidden;
}*/

.ui-mobile .ui-page, .ui-page, .ui-page-active{
    overflow: hidden !important;
}

.footer-offset{
    height:120px;
    width:100%;
}

.timestamp {
    text-align:center;
    border-bottom:2px solid #d5d5d5;
}

.send-reminder {
    color:#317BF6;
    cursor:pointer;
}

/*
#li-delivered .timestamp{
    border-bottom:0px;
}*/
.timestamp span{
    display:inline-block;

    font-weight:100;
    font-size:10px;
    position:relative;
    top:0px;
    background:#EEEEEE;
    padding:0 12px;
    border-bottom-color:#EEEEEE;
}

.ui-bar-a {
    border: 1px solid #9B9DA1;
    background: #9B9DA1;
}

#top-navbar ul.nav li {
    border: 0px;
}

.ui-btn-up-b {
    background-image: -webkit-linear-gradient( #777B87,#777B87 );
    background-image: -moz-linear-gradient(#777B87,#777B87 );
    background-image: -ms-linear-gradient(#777B87,#777B87 );
}

.ui-btn-hover-b {
    background-image: -webkit-linear-gradient( #777B87,#777B87 );
    background-image: -moz-linear-gradient(#777B87,#777B87 );
    background-image: -ms-linear-gradient(#777B87,#777B87 );
}



.new-bubble {
    background-color: #fff;
    -webkit-border-radius:7px;
    -moz-border-radius:7px;
    border-radius:7px;
    border: 5px solid #7153A1;
    /*-webkit-filter: drop-shadow(4px 4px 5px rgba(0, 0, 0, 0.5));
    -moz-filter: drop-shadow(4px 4px 5px rgba(0, 0, 0, 0.5));
    -ms-filter: drop-shadow(4px 4px 5px rgba(0, 0, 0, 0.5));
    -o-filter: drop-shadow(4px 4px 5px rgba(0, 0, 0, 0.5));
    box-shadow: inset 0 1px 1px hsla(0, 0%, 100%, .5), 4px 4px 0 hsla(0, 0%, 0%, .2);*/
    color: #333;

    font: 16px/25px;
    padding: 5px 10px;
    /*position: absolute;*/
    position: relative;
    width: auto;
    max-width: 100%;
    word-wrap: break-word;
    text-shadow: none !important;
    font-weight: normal !important;
    clear: both;
    margin-bottom: 10px;
}
.new-bubble-left:after, .new-bubble-left:before {
    border-bottom: 10px solid transparent;
    border-left: 10px solid #fff;
    bottom: -10px;
    content:'';
    position: absolute;
    left: 10px;
}
.new-bubble-left:before {
    border-left: 10px solid hsla(0, 0%, 0%, .1);
    bottom: -13px;
    right: 7px;
    z-index: 1;
}
.new-bubble-left:before {
    border-left: 14px solid #7153A1;
    border-bottom: 14px solid transparent;
    bottom: -16px;
    left: 8px;
    z-index: 0;
}
.new-bubble-right {
    /*left: 25%;*/
    border-left:none;
    border-top:none;
    float: right;
    border-color: #317BF6;
}
.new-bubble-left {
    /*right: 25%;*/
    border-right:none;
    border-top:none;
    float: left;
}

.new-bubble-right:after, .new-bubble-right:before {
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
    bottom: -10px;
    content:'';
    position: absolute;
    right: 10px;
}
.new-bubble-right:before {
    border-right: 10px solid hsla(0, 0%, 0%, .1);
    bottom: -13px;
    right: 7px;
    z-index: 1;
}
.new-bubble-right:before {
    border-right: 14px solid #317BF6;
    border-bottom: 14px solid transparent;
    bottom: -16px;
    right: 8px;
    z-index: 0;
}

.new-bubble-title {
    /* remove drop-shadow/filter effect */
    -webkit-filter:none;
    -moz-filter: none;
    -ms-filter: none;
    -o-filter: none;
    box-shadow: none;
    border:none;

    font-size:14px;
    color: #333333;
    padding-right: 8px;
    font-style:regular;
    position: relative;
    bottom: -43px;
    right: 25%;
    text-align:right;
    color: #999;
}


.new-bubble-left .new-bubble-title{
    text-align:left;
    padding-left: 8px;
    left: 25%;
}

.new-bubble-title-left{
    clear: both;
    /*float: left;*/
    margin-bottom: 35px;
    font-size: 12px;
    color: #999;
}
.new-bubble-title-right{
    clear: both;
    /*float: right;*/
    margin-bottom: 35px;
    font-size: 12px;
    color: #999;
}


/*
.speech-bubble-left
{


    background: #FFFFFF;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    border: #7F7F7F solid 3px;
    border-right:  #7F7F7F solid 0px;
    border-top:  #7F7F7F solid 0px;




    color: #333;

    font: 16px/25px;
    padding: 5px 10px;

    position: relative;
    width: auto;
    max-width: 75%;
    white-space: pre;
    white-space: pre-wrap;
    white-space: pre-line;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -hp-pre-wrap;
    word-wrap: break-word;
    text-shadow: none !important;
    font-weight: normal !important;
    clear: both;
    margin-bottom: 5px;
    text-align:left;
    padding-left: 8px;
    left: 10px;
    float: left;
}

.speech-bubble-left:after
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 9px 9px 9px 0;
    border-color: transparent #FFFFFF;
    display: block;
    width: 0;
    z-index: 0;
    left: -9px;
    top: 12px;
    clear: both;
}

.speech-bubble-left:before
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 11px 11px 11px 0;
    border-color: transparent #7F7F7F;
    display: block;
    width: 0;
    z-index: 0;
    left: -14px;
    top: 9px;
    clear: both;
}
*/


.speech-bubble-left{
    position: relative;
    padding: 5px 10px;
    margin: 1em 0 3em;
    border: 5px solid #317BF6;
    text-align: center;
    color: #333;
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border-right-width: 0px;
    border-top-width: 0px;

    width: auto;
    /*max-width: 75%;*/
    max-width: 600px;
    font-weight: normal !important;
    clear: both;
    margin-bottom: 5px;
    text-align:left;
    padding-left: 8px;
    left: 10px;
    float: left;
}

.speech-bubble-left:before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -12px;
    left: -21px;
    height: 22px;
    border-right: 30px solid #317BF6;
    background: #317BF6;
    -webkit-border-bottom-right-radius: 80px 50px;
    -moz-border-radius-bottomright: 80px 50px;
    border-bottom-right-radius: 118px 38px;
    -webkit-transform: translate(0, -2px);
    -moz-transform: translate(0, -2px);
    -ms-transform: translate(0, -2px);
    -o-transform: translate(0, -2px);
    transform: translate(0, -2px);
}

.speech-bubble-left:after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -27px;
    left: -34px;
    width: 60px;
    height: 39px;
    background: #EEEEEE;
    -webkit-border-bottom-right-radius: 40px 50px;
    -moz-border-radius-bottomright: 40px 50px;
    border-bottom-right-radius: 42px 48px;
    -webkit-transform: translate(-30px, -2px);
    -moz-transform: translate(-30px, -2px);
    -ms-transform: translate(-30px, -2px);
    -o-transform: translate(-30px, -2px);
    transform: translate(-30px, -2px);
}


.css-word-wrap{

    white-space: pre;           /* CSS 2.0 */
    white-space: pre-wrap;      /* CSS 2.1 */
    white-space: pre-line;      /* CSS 3.0 */
    white-space: -pre-wrap;     /* Opera 4-6 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    white-space: -moz-pre-wrap; /* Mozilla */
    white-space: -hp-pre-wrap;  /* HP Printers */
    word-wrap: break-word;
}

/*

.speech-bubble-right
{


    background: #FFFFFF;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    border: #317BF6 solid 3px;
    border-left:  #317BF6 solid 0px;
    border-top:  #317BF6 solid 0px;




    color: #333;

    font: 16px/25px;
    padding: 5px 10px;

    position: relative;
    width: auto;
    max-width: 75%;
    white-space: pre;
    white-space: pre-wrap;
    white-space: pre-line;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -hp-pre-wrap;
    word-wrap: break-word;
    text-shadow: none !important;
    font-weight: normal !important;
    clear: both;
    margin-bottom: 5px;
    text-align:left;
    padding-left: 8px;
    right: 10px;
    float: right;
}

.speech-bubble-right:after
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 9px 0px 9px 9px;
    border-color: transparent #FFFFFF;
    display: block;
    width: 0;
    z-index: 0;
    right: -9px;
    top: 12px;
    clear: both;
}

.speech-bubble-right:before
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 11px 0px 11px 11px;
    border-color: transparent #317BF6;
    display: block;
    width: 0;
    z-index: 0;
    right: -14px;
    top: 9px;
    clear: both;
}
*/


.speech-bubble-right{
    position: relative;
    padding: 5px 10px;
    margin: 1em 0 3em;
    border: 5px solid #317BF6;
    text-align: center;
    color: #333;
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border-left-width: 0px;
    border-top-width: 0px;

    width: auto;
    /*max-width: 75%;*/
    max-width: 600px;
    font-weight: normal !important;
    clear: both;
    margin-bottom: 5px;
    text-align:left;
    padding-left: 8px;
    right: 10px;
    float: right;
}

.speech-bubble-right:before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -12px;
    right: -21px;
    height: 22px;
    border-right: 30px solid #317BF6;
    background: #317BF6;
    -webkit-border-bottom-left-radius: 80px 50px;
    -moz-border-radius-bottomright: 80px 50px;
    border-bottom-left-radius: 118px 38px;
    -webkit-transform: translate(0, -2px);
    -moz-transform: translate(0, -2px);
    -ms-transform: translate(0, -2px);
    -o-transform: translate(0, -2px);
    transform: translate(0, -2px);
}

.speech-bubble-right:after {
    content: "";
    position: absolute;
    z-index: -1;

    bottom: -27px;
    right: -95px;
    width: 60px;
    height: 39px;
    background: #EEEEEE;
    -webkit-border-bottom-left-radius: 40px 50px;
    -moz-border-radius-bottomright: 40px 50px;
    border-bottom-left-radius: 48px 42px;
    -webkit-transform: translate(-30px, -2px);
    -moz-transform: translate(-30px, -2px);
    -ms-transform: translate(-30px, -2px);
    -o-transform: translate(-30px, -2px);
    transform: translate(-30px, -2px);
}

#chatPage{
    margin-top:30px;
}

@media (max-width: 480px) {
    #chatPage{
        margin-top:0px;
    }

}
/*
#messageList > * {
    -webkit-transform:          translate3d(0,0,0);
}
*/
#messageList ul, #searchList ul, #contextConvoList ul{
    -webkit-overflow-scrolling: touch;
}

#messageList li, #searchList li, #contextConvoList li{
    display: block;
}

#sendMessageButton{
    padding-top:10px;
    padding-bottom:10px;
}

.patient-color
{
    border-color: #4E2B79 !important;
}
.patient-color:before
{
    border-color:  transparent #4E2B79 !important;
}
.doctor-color
{
    border-color: #31489B !important;
}
.doctor-color:before
{
    border-color:  transparent #31489B !important;
}
.staff-color
{
    border-color: #A2B0E2 !important;
}
.staff-color:before
{
    border-color:  transparent #A2B0E2 !important;
}

.tagged-message-color {
    background-color: #C0DBF8;
}

.ui-block-a .ui-btn-active{
    background-image: linear-gradient( #4E2B79,#4E2B79 ) !important;
    border: 2px solid #4E2B79 !important;
}

.ui-block-b .ui-btn-active{
    background-image: linear-gradient( #7C66B9,#7C66B9 ) !important;
    border: 2px solid #7C66B9 !important;
}


.in, .out {
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-duration: 1ms !important;
}


.ui-page { -webkit-backface-visibility: hidden; }


.li-load-more{
   text-align: center;
}

#btn-load-more{
    align:center;
    background: url(/img/ajax-loader.gif) no-repeat;
    border:none;
    width:32px;
    height:32px;
}

#div-footer-chatview{
    left:auto !important;
}

.displayed{
    display: block;
    margin-left: auto;
    margin-right: auto
}

.chat-name-staff-color{
    color: #317BF6;
}


.in, .out {
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-duration: 0ms !important;
    -moz-animation-duration: 0ms !important;
    animation-duration: 0ms;
}

a, button, .myelements
{
    -ms-touch-action: manipulation; /* IE10  */
    touch-action: manipulation;     /* IE11+ */
}

#startpageleft{
    padding-top:15px;
}

#userList .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li, #notificationList .ui-li .ui-btn-inner a.ui-link-inherit{
    padding: .4em 0px !important;
}
#userList .ui-btn-icon-left .ui-icon, #notificationList .ui-btn-icon-left .ui-icon{
    left: 2px  !important;
}
#userList .unconfirmed .ui-btn-text a{
    color: #b94a48;
}
#userList .practice_admin{
    background-color: #ffc9bf !important;
}
#userList .practice_admin:hover{
    background-color: #f7b1a5 !important;
}

#userList .all_staff_convo {
    background-color: #3DEAFB !important;
}
#userList .all_staff_convo:hover {
    background-color: #2ad1e0 !important;
}
#userList .practice_unassigned{
    background-color: #7AC49A !important;
}
#userList .practice_unassigned:hover{
    background-color: #64af84 !important;
}
#userList .ui-btn-inner, #notificationList .ui-btn-inner{
    font-size: 13px !important;
}
#notificationList .ui-btn-inner{
    padding: .2em;
    padding-right: 5px !important;
    padding-left: 5px !important;
}

#userList .ui-btn-up-c, #notificationList .ui-btn-up-c{
    background: #F9F9F9;
}

#userList .ui-btn-hover-c, #notificationList .ui-btn-hover-c{
    background-image: none !important;
}
.messenger-header-button{
    width:40px;
    height:40px;
}
.video-call-button{
    float:right;
    cursor: pointer;
    margin-right:150px;
    height:50px;
    position: relative;
    top: -45px;
}

.reminder-button{
    float:right;
    cursor: pointer;
    margin-right:50px;
    height:50px;
    position: relative;
    top: -45px;
    padding-top: 7px;
    padding-bottom: 5px;
}

.call-audio-button, .call-end-button{
    float:right;
    cursor: pointer;
    height:50px;
    position: relative;
    top: -45px;
}

.receive-call-buttons{
    cursor: pointer;
    height: 70px;
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.receive-div{
    text-align:center;
}


.search-button{
    float:right;
    cursor: pointer;
    margin-right:50px;
    height:50px;
    position: relative;
    top: -45px;
}

.search-convo-container, .search-container{
    width:300px;
    /*margin:50px auto;*/
    float:right;
    cursor: pointer;
    /*margin-right:50px;*/
    height:50px;
    position: relative;
    top: -45px;
}

.search-convo-container .ui-icon-searchfield::after, .search-container .ui-icon-searchfield::after {
    left: 173px !important;
}

.searchbox, .searchbox-convo{
    position:relative;
    min-width:50px;
    width:0%;
    height:50px;
    float:right;
    overflow:hidden;

    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    -ms-transition: width 0.3s;
    -o-transition: width 0.3s;
    transition: width 0.3s;
}

.searchbox-convo-input, .searchbox-input{
    top:0;
    right:0;
    border:0;
    outline:0;
    background:#FFFFFF !important;
    width:100%;
    height:41px;
    margin:0;
    padding:0px 55px 0px 20px;
    font-size:20px;
    color: #a94442;
    padding-top: 0px !important;
    margin-top: 6px !important;
    margin-bottom: 5px !important;
}
.searchbox-convo-input::-webkit-input-placeholder , .searchbox-input::-webkit-input-placeholder {
    color: #a94442;
}
.searchbox-convo-input:-moz-placeholder, .searchbox-input:-moz-placeholder {
    color: #a94442;

}
.searchbox-convo-input::-moz-placeholder , .searchbox-input::-moz-placeholder {
    color: #a94442;
}
.searchbox-convo-input:-ms-input-placeholder , .searchbox-input:-ms-input-placeholder {
    color: #a94442;
}
.searchcancel-icon,
.searchcancel-convo-icon,
.searchbox-convo-icon,
.searchbox-icon,
.searchbox-submit{
    margin-top: 5px !important;
    width:43px !important;
    height:43px;
    display:block;
    position:absolute;
    top:0;
    font-family:verdana;
    font-size:22px;
    right:0;
    padding:0;
    margin:0;
    border:0;
    outline:0;
    line-height:50px;
    text-align:center;
    cursor:pointer;
    color:#dcddd8;
    background:#9B9DA1;
}

.searchbox-v2{
    background:none !important;
    background-color: rgb(238, 238, 238) !important;
}

.chat-header-v2{
    background-color: rgb(238, 238, 238) !important;
    height: 80px !important;
    box-shadow: 0 4px 2px -2px gray;
    padding-top: 25px;
}

.chat-header-title{
    font-size: 16px !important;
}

.searchbox-open{
    width:80%;
}

.li-load-more-search{
    margin-top: 50px;
    text-align: center;
}

.highlight { background-color: #fcf8e3; color: #a94442; }

.search-convo-container{
    margin-top: 40px !important;
}
.search-container-v2{
    top: -52px !important;
}

#searchList li .speech-bubble-right, #searchList li .speech-bubble-left{
    cursor: pointer;
}

#popupConvoContext{
 overflow-y: scroll !important;
 background-image: linear-gradient( #e3e3e3, #e3e3e3 );
}

#div-search-list-header{
    height:40px;
    margin-top:20px;
    padding-top:10px;
    padding-left:5px;
}

.ui-simpledialog-container{
    padding-right: 40px;
    padding-left: 40px;
    background-image: linear-gradient( #EEEEEE, #EEEEEE);
    height: 400px;
    overflow-y: scroll;
}

.ui-simpledialog-container .ui-title{
    margin-right: 0px;
    margin-left: 0px;
}

.rightside{
    overflow-x: hidden !important;
}

input::-webkit-outer-spin-button, /* Removes arrows */
input::-webkit-inner-spin-button, /* Removes arrows */
input::-webkit-clear-button { /* Removes blue cross */
    -webkit-appearance: none;
    margin: 0;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.ui-header .ui-title{
    text-align: left !important;
    margin-left: 5px !important;
}
.profile-links{
    cursor: pointer !important;
}

.ui-staff{
    background-color: #C0DBF8 !important;
}
.ui-staff .speech-bubble-left:after {
    background: #C0DBF8 !important;
}
.ui-staff .speech-bubble-right:after {
    background: #C0DBF8 !important;
}
.ui-patient{
    background-color: #EEEEEE !important;
}
.ui-patient .speech-bubble-left:after {
    background: #EEEEEE !important;
}
.ui-patient .speech-bubble-right:after {
    background: #EEEEEE !important;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

.btn-light-blue {
    background-color: #4fc3f7 !important;
    color: #fff !important;
    border-color: #4fc3f7 !important;
}

.btn-grey{
    background-color: #A1A1A1 !important;
    color: #fff !important;
    border-color: #A1A1A1 !important;
}

@media (max-width: 979px){
    #top-navbar{
    min-height: 120px;
}}

a.disabled {
    /* Make the disabled links grayish*/
    color: gray !important;
    /* And disable the pointer events */
    pointer-events: none;
}

.patient-info-header-links{
    float: right;
    margin-top: -40px;
    width: 180px;
    margin-right: 25px;
}

.patient-info-link{
    font-weight: normal !important;
    text-shadow: 0 0px 0px #111 !important;
    color: #2489ce !important;
    float: right !important;
}

a.patient-info-link {text-decoration:none;}

.table-asr td{text-align: center;}


.div-freedman{
    min-width: 130px !important;
}

.div-ubers{
    color: #002060;
}
.div-ubers h2{
    color: #0070C0;
    text-align: center !important;
}
.title-ubers{
    color: #002060;
    font-weight: bold;
    font-size: 17px;
}
