.mail {
    flex:1;
    background-color: whitesmoke;
}

.mail-tools {
    display: flex;
    justify-content: space-between;
    background-color: white;
}

.mail-toolsLeft {
    display: flex;
}

.mail-body {
    display: flex;
    flex-direction: column;
    margin: 30px;
    background-color: white;
    padding: 20px;
    height: 100vh;
    box-shadow: 0px 5px 7px 0px rgba(0,0,0,0.25);
}

.mail-bodyHeader {
    display: flex;
    align-items: center;
    border-bottom: 1px solid whitesmoke;
    padding: 20px;
    position: relative;
}

.mail-important {
    color: #e8ab02 !important;
}

.mail-bodyHeader > h2 {
    font-weight: 400;
    margin-right: 20px;
}

.mail-bodyHeader > p {
    margin-left: 20px;
}

.mail-time {
    position: absolute;
    top: 24px;
    right: 0;
    font-size: 12px;
    color: grey;
}

.mail-message > p {
    padding: 10px;
    margin-right: 20px;
    overflow-wrap: break-word;
}
.mail-subject{
    display: flex;
}

@media only screen and (max-width: 700px) {   
    .mail-bodyHeader{
    display: grid !important;
    margin-left: 0;
    }

    .mail-time {
        position: unset;
        margin-top: 5px;
    }
    
    .mail-bodyHeader > p{
        margin-left: 0;
    }
    .mail-message > p {
        margin-left: 10px;
    }
}