body {
    background-color: #FFFAFA;
}

h1, h2, h3, h4, h5, h6, p, q, legend, label, li, span, small {
    color: #36688d;
}

nav {
    height: 60px;
    background-color: #36688d;
}

.tnn-logo {
    background-color: cornflowerblue;
    border-radius: .25rem;
    color: white;
    font-weight: 400;
    padding: 0 8px;
}

.tnn-logo:hover {
    text-decoration: none;
    opacity: 1;
    color: white;
}

#header-profile-img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    border: solid .5px cornflowerblue;
}

#header-my-projects {
    height: 60px;  /* Same as nav's height */
}

#header-my-projects > a {
    line-height: 60px;
}

#nav-projects {
    display: none;
    max-width: 500px;
    position: absolute;
    top: 60px;  /* Same as nav's height minus 1px to make up for the border */
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    border-left: solid 1px rgba(0, 0, 0, 0.1);
    border-right: solid 1px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    background-color: #FFFAFA;
    z-index: 1;
}

#nav-projects li {
    margin: 0 10px;
}

#nav-projects a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#nav-projects li:not([key="1"]) {  /* First <li> don't need border-top */
    border-top: solid 1px rgba(0, 0, 0, 0.1);
}

#nav-projects li:hover {
    background-color: aliceblue;
}

#nav-projects li a {
    color: #36688d;
}

.invitation-link {
    position: relative;
    z-index: 0;
}

.invitation-link span {
    background-color: red;
    display: inline-block;
    z-index: -1;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    right: -6px;
    top: 11px;
}

#footer {
    margin-top: 500px;
}

a:hover {
    text-decoration: none;
    opacity: 0.8;
}

nav a {
    display:inline-block;
    line-height: 40px;
    height: 40px;
    color: white;
}

nav a:hover {
    text-decoration: none;
    opacity: 0.8;
    color: white;
}

button {
    min-width: 100px;
}

.stand-out-color {
    background-color: #f18904;
}

i:hover {
    opacity: 0.8;
    cursor: pointer;
}

.custom-form-control {
    display: inline-block;
    width: auto;
    height: auto;
    padding: 0;
    margin: -1px;  /* Compensate for the 1px of border added */
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.errorlist li {
    color: red;
}

.profile-pic {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
}

.profile-pic:hover {
    cursor: pointer;
    opacity: 0.8;
}

.preserve-whitespace {
    white-space: pre;
}
