/* message css */

.message-window .cgg--modal-content div#cgg--message-form {
    display: flex;
    flex-direction: column;
}

.message-window .cgg--modal-content div#cgg--message-form textarea {
    height: -moz-available;
    height: -webkit-fill-available;
    border-radius: 1.5rem;
    border: solid thin #cccc;
    line-height: 1.7;
    padding: 0 .5rem;
    min-width: 60rem;
    max-width: 80vw;
    margin-top: 2rem;
    background-color: #fff;
}

.message-window .cgg--modal-content button {
    margin-top: 2rem;
}


.cgg--msm-row {
    display: grid;
    grid-template-columns: 3rem 1fr 1fr 30rem 3rem;
    grid-column-gap: 0.5rem;
    padding: 0.5rem 0.2rem;
    border-bottom: solid thin var(--color-white);
}
.cgg--msm-row:hover {
    background-color: var(--color-orange);
}
.cgg--msm-row>div {
    cursor: pointer;
}

.cgg--msm-row .msm-full {
    grid-column: 1 / -1;
}
.cgg--msm-row .double {
    grid-column: span 2;
}

.cgg--msg-del {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
}
.cgg--msg-del img {
    max-width: 2rem;
}
.cgg--msg-del:hover {
    background-color: var(--color-black);
}

#cgg--message-body {
    width: 60%;
    text-align: left;
    margin: 2rem 0;
}

.cgg--private-mesages {
    margin: 7rem 10%;
    grid-column: 1 / -1;
    width: 80%;
}


@media only screen and (orientation: portrait) and ( max-width: 1400px)  {
    .cgg--msm-row {
        grid-template-columns: 4rem 1fr 1fr 4rem;
    }
    .cgg--msm-where {
        grid-column: span 2;
    }
    .cgg--msm-date {
        grid-column: 1 / span 3;  
    }
}