div.th-page.th-page-messages {
    height:calc(100vh - 48px);
}

div.card > div.card-title-messages {
}

div.card-title-messages > div.card-title-img {
    background-image: url("../../shared/assets/img/home_menu_messages_nobg.svg");
    background-repeat: no-repeat;
}

div.card-messages {
    height:100%;
    font-size: 16px;
}

.no-conversation {
    text-align: center;
    padding: 16px;
}

.card-conversation
{
    margin: 16px;
    padding: 16px;
    background-color: white;
    box-shadow: 0px 2px 7px 0px #d6d5d5;
    border-radius: 2px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.conversation-title {
    font-weight: bold;
}

.conversation-info {
    display: flex;
    flex-flow: column nowrap;
}

.conversation-last-message {
    padding-top: 10px;
}

.emphasized-last-message {
    font-weight: bold;
}

.conversation-subtext {
    color: gray;
    padding-top: 10px;
    font-style: italic;
}

.conversation-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    padding: 10px;
}

.read {
    background-color: #BACFC7;
    color: white;
}

.conversation-button:hover {
    cursor: pointer;
}

simple-chat {
    border: none;
    height: calc(100% - 47px);
}

#messages-container {
    overflow:auto;
    height: calc(100vh - 200px);
}

body.mode-web.layout-landscape.resolution-big #messages-container {
    height: calc(100vh - 142px);
}

.message-bubble-container {
    display: inline-block;
    width: 100%;
}
.img-bad-format {
    position: absolute;
    display: block;
    top: -25px;
    font-size: 15px;
    height: 0px;
}

.sending-msg {
    opacity: 0.5;
}

.message-bubble {
    padding: 10px 18px;
    font-size: 14px;
    font-family: Helvetica Neue,Roboto,sans-serif;
    max-width:70%;
    margin-top:10px;
    margin-bottom:10px;
}

.message-user-container {
    text-align: right;
    margin-right: 10px;
}

.message-careteam-container {
    text-align: left;
    margin-left: 10px;
}

.message-user-comment-title {
    font-size: 12px;
    font-weight: bold;
}

.message-careteam-comment-title {
    font-size: 12px;
    font-weight: bold;
}

.message-user-comment {
    font-size: 12px;
}

.message-careteam-comment {
    font-size: 12px;
}

.message-local-user-origin {
    margin-right: 10px;
    float: right;
    background-color:#158ffe;
    color: #fff;
    border-radius: 5px;
}

.message-careteam-origin {
    margin-left: 10px;
    float: left;
    background-color:#e6e5eb;
    border-radius: 5px 5px 5px 0px;
}

.send-container {
    bottom: 0px;
    border-top: 1px solid #b2b2b2;
    background-color: #f8f8f8;
    line-height: 70px;
    height: 70px;
    position: sticky;
}

.send-container div {
    display: inline-block;
    vertical-align: top;
}

.message-btn-img-i, .message-btn-img-mobile-i {
    color: rgb(15, 117, 188);
    width: 22px;
    height: 46px;
    margin-top: 24px;
    margin-left:8px;
}

.message-btn-img-svg, .message-btn-img-mobile-svg {
    display: none;
}

.message-picture{
    margin: 0px 4px;
}

.message-picture i {
    height: 66px;
}

.message-txt-container {
    width: calc(100% - 95px);
}

body.is-mobile .message-txt-container {
    width: calc(100% - 95px);
}

.message-send-textarea {
    height: 69px;
    border: none;
    background-color: #f8f8f8;
    width: 100%;
    max-width:
}

.message-btn {
    height: 70px;
    width: 30px;
}

.message-container {
    width: calc(100% - 95px);
}

.message-send-btn, .message-send-btn-off {
    margin: 5px;
    margin-top: 10px;
    border-radius: 5px;
    background-color: #158ffe;
    color: #fff;
    border: 1px solid #fff;
    cursor: pointer;
    padding: 2px;
    float: right;
    height: 50px;
    line-height: 50px;
    width: 75px;
}

.message-send-btn-off {
    opacity:0.5;
}

::placeholder {
    color:grey;
    font-size: 0.6em;
}

.right-bubble-design {
    margin-right: 16px;
    float: right;
    color: rgba(0, 0, 0, 0);
    background-color: #158ffe;
    width: 8px;
    margin-left: calc(100% - 20px);
    margin-top: -25px;
    transform: rotate(118deg) skew(-5deg);
}
.left-bubble-design {
    margin-left: 16px;
    float: left;
    color: rgba(0, 0, 0, 0);
    background-color: #e6e5eb;
    width: 8px;
    margin-right: calc(100% - 20px);
    margin-top: -25px;
    transform: rotate(30deg) skew(-5deg);
}

div.th-page.th-page-messages .hidden {
    visibility:hidden;
    height: 0px;
    width: 0px;
}

div.card-title-subtitle {
    font-size: 14px;
    color: grey;
}

.message-container.disabled {
    opacity: 0.5;
}

.message-send-btn.disabled, .message-send-btn-off.disabled {
    cursor: default;
}

.conversation-opening-hours-detail {
    padding: 16px;
}