/** General Styles **/

html {
    box-sizing: border-box;
}
* {
    box-sizing: inherit;
}

body {
    height: 100%;
    widows: 100%;

    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.clear {
    clear: both;
}

/** Sections Positioning **/

#nav {
    position: fixed;
    overflow: hidden;
    width: 150px;
    height: 100vh;

    background-color: #242a3a;
}

#emails {
    position: fixed;
    left: 150px;
    width: 350px;
    height: 100vh;

    /* background-color: gray; */
}

#content {
    float: right;
    min-height: 100vh;
    width: calc(100% - 500px);

    /* background-color: burlywood; */
}


/** Page Styles **/




/** Navigation Section **/

#nav {
    padding: 30px 15px;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#nav a {
    text-decoration: inherit;
    color: inherit;
}

#nav .center {
    margin: 0 auto;
    text-align: center;
}

#nav a.compose {
    display: inline-block;
    padding: 5px 15px;
    margin: 10px 0;
    border-radius: 25px;
    background-color: #1494f0;
    border-width: 0;
}

#nav ul {
    list-style-type: none;
}

#nav li {
    margin: 13px 0;
    padding-left: 5px;
}

#nav .counter {
    color: gray;
    padding-left: 5px;
}
#nav .labelsHeader {
    padding-top: 5px;
    color: gray;
    text-transform: uppercase;
}

.labels .labelColor {
    line-height: 100px;
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    border-radius: 2px;
}

.defaultLabel {
    background-color: white;
}
.yellowLabel {
    background-color: #f5ca52;
}
.blueLabel {
    background-color: #2ad3ad;
}
.greenLabel {
    background-color: #42c262;
}


/** Emails List Section **/

#emails {
    overflow-y: auto;
    border-right: 1px solid lightgrey;
}

/* width */
#emails::-webkit-scrollbar {
    width: 8px;
}
/* Track */
#emails::-webkit-scrollbar-track {
    /* box-shadow: inset 0 0 5px grey;  */
    border-radius: 3px;
}
/* Handle */
#emails::-webkit-scrollbar-thumb {
    background: #1494f0;
    border-radius: 3px;
}
/* Handle on hover */
#emails::-webkit-scrollbar-thumb:hover {
    background: #60a8db;
}

#emails a {
    text-decoration: inherit;
    color: inherit;
}

.mailSummary {
    border-bottom: 1px solid lightgray;
    border-left: 6px solid transparent;
    padding: 15px 20px;
}
.mailSummary.selected {
    background-color: #eeeeee;
}
.mailSummary.unread {
    border-left-color: #1f96e3;
}

.mailSummary img {
    float: left;
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.mailSummary .detail {
    display: inline-block;
    width: calc(100% - 50px);
    padding-left: 5px;
}

.mailSummary h3 {
    color: gray;
    text-transform: uppercase;
}

/* .mailSummary h2 {} */

.mailSummary p {
    padding-top: 5px;
}

/** Content Section **/

#content {
    padding: 20px;
}

#content .head {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid lightgray;
}

#content .head .title {
    width: calc(100% - 300px);
    min-width: 50%;
}

#content .head .options {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    max-width: 50%;
    padding-bottom: 18px;
    padding-right: 10px;
    text-align: right;
    /* background-color: red; */
}

.title h1 {
    font-size: 40px;
}
.title a.from {
    text-decoration: inherit;
    color: #1494f0;
}
.title span.date {
    color: gray;
}

.options a {
    min-width: 90px;
    text-align: center;
    display: inline-block;
    text-decoration: inherit;
    color: gray;
    border: 1px solid lightgray;
    border-radius: 20px;
    padding: 5px 0;
}