﻿/********************************/
/*		User Messages   		*/
/********************************/

.userMessagesPanelBackground {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: #000000;
    z-index: 151;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.userMessagesNavBar {
    display: inline-block;
    position: relative;
    top: 0;
    max-width: 1264px;
    width: 96%;
    height: 8%;
    border-radius: 10px;
    margin: 2%;
}

.scrollableInboxPanel {
    width: 100%;
    font-size: 150%;
    height: 75%;
    overflow-y: scroll;
}

.userMessagesInbox {
    width: 100%;
    color: black;
    border-spacing: 0px 5px;
}

.userMessagesInboxRow {
    height: 75px;
    background: rgba(223,241,247,1);
}

    .userMessagesInboxRow:nth-child(even) {
        background: rgb(234, 234, 234);
    }

.userMessagesInboxRowHighlight {
    height: 75px;
    background: rgba(223,241,247,1);
    font-weight: bold;
}

    .userMessagesInboxRowHighlight:nth-child(even) {
        background: rgb(234, 234, 234);
    }

.userMessagesInboxFrom {
    width: 20%;
    padding-left: 2%;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    border-right: hidden;
}

.userMessagesInboxDate {
    width: 25%;
    border-left: hidden;
}

.userMessagesInboxSubject {
    width: 55%;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

.navBtnBackImg {
    display: none;
    float: left;
    padding-left: 3%;
    margin-right: 40px;
    height: 100%;
}

.navBtnMessageImg {
    display: none;
    float: left;
    margin-right: 40px;
    height: 100%;
}

.newMsgToButton {
    height: 5vh;
    padding-top: 4%;
    width: 3vw;
}

.userMessagesCancelBtn {
    position: absolute;
    bottom: 10px;
    left: 45%
}

.messageViewPanel {
    height: 68%;
}

.messageView {
    width: 100%;
    height: 100%;
}

.messageViewRow {
    height: 8%;
}

.rowHeader {
    color: black;
    font-weight: bold;
    width: 15%;
    padding-left: 5%;
    font-size: 24px;
}

.fromText {
    color: black;
    font-weight: bold;
    width: 75%;
    font-size: 24px;
}

.receivedText {
    color: black;
    font-weight: bold;
    width: 75%;
    font-size: 24px;
}

.allRecipientDiv {
    max-height: 10vh;
    overflow-y: auto;
}

.subjectText, .searchTextArea, .selectedRecipientPanel, .editModalRecipientDiv {
    width: 80%;
    min-height: 24px;
    background-color: white;
    color: black;
    font-size: 24px;
    border-color: black;
    border-style: solid;
    border-width: 1px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.editTextAreaRow {
    overflow: hidden;
    white-space: nowrap;
    resize: none;
}

.bodyRow {
    height: 76%;
}

.bodyContainer {
    padding-left: 5%;
    padding-right: 4%;
    padding-top: 1%;
}

.bodyText {
    width: 95%;
    overflow-y: scroll;
    font-size: 24px;
    padding: 20px;
    border-color: black;
    border-width: 1px;
    resize: none;
}

.editModalRecipientDiv {
    min-height: 30px;
    max-height: 5vh;
    overflow-y: auto;
}

.viewBodyHeight {
    margin-top: 2vh;
    height: 98%;
}

.messageEditPanel {
    height: 30%
}

.editBodyRow {
    height: 100%;
}

.editBodyContainer {
    height: 100%;
    padding-left: 5%;
    padding-right: 4%;
}

.editBodyHeight {
    height: 50%;
    vertical-align: top;
}

.editBodyText {
    -webkit-user-select: text;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    font-size: 24px;
    padding: 5px;
    border-color: black;
    border-width: 1px;
    resize: none;
}

.partySearchPanel {
    align-self: center;
    height: 30%;
}

.partySearchBar {
    width: 100%;
}

.searchTextArea {
    margin-left: .5vw;
    float: left;
    height: 2vh;
    -webkit-user-select: text;
    resize: none;
    overflow: hidden;
}

.searchButton {
    height: 6vh;
    margin-top: -1.1vh;
    margin-left: .5vw;
    width: 8vw;
    float: left;
}

.searchResultsScrollPanel {
    width: 100%;
    height: 20vh;
    overflow-y: auto;
    padding-bottom: 5px;
    font-size: 140%;
}

.userSearchResults {
    width: 50%;
    float: left;
}

.roleSearchResults {
    width: 50%;
    float: left;
    color: black;
}

.searchResultsTable {
    width: 98%;
    max-width: 98%;
    margin-left: .5vw;
    color: black;
    border-spacing: 0px 2px;
}

.searchResultsRows {
    width: 98%;
    max-width: 98%;
    height: 75px;
    background: rgba(223,241,247,1);
}

    .searchResultsRows:nth-child(even) {
        background: rgb(234, 234, 234);
    }

.userResultName {
    width: 50%;
    border-right: hidden;
}

.userResultPhone {
    width: 30%;
    border-right: hidden;
    border-left: hidden;
}

.userResultClassification {
    width: 20%;
    border-left: hidden;
}

.roleResultName {
    width: 100%
}

.userSearchResultsHeader {
    margin: 1%;
    width: 96%;
    padding-left: .5vw;
    font-size: 2.5vh;
    color: black;
    font-weight: bold;
}

.searchTableHeaders th {
    color: black;
    position: sticky;
    top: 0;
}

.selectedRecipientPanel {
    margin: .5vw;
    width: 95%;
    float: left;
    max-height: 10vh;
    overflow-y: auto;
}

.recipientButton {
    background: #f3f3f4;
    float: left;
    padding: 2px;
    border-radius: 15px;
    border-style: solid;
    border-color: #ceced2;
    margin: 1px;
}

@media screen and (min-height: 640px) and (orientation: portrait) {
}

@media (orientation: portrait) {
    .userMessagesInboxSubject {
        padding-left: 2.5%;
    }

    .selectedRecipientPanel {
        width: 94%;
    }

    .searchButton {
        max-height: 85px;
        width: 10vw;
    }

    .newMsgToButton {
        width: 8vw;
    }
}