/* TODO: Develop reasonable hierarchy for all of the nested classes */

body {
    position: absolute;
}

a {
    transition: 100ms;
    color: #ff5777;
    text-decoration: none;
}

a:hover {
    color: #ffaccc;
}

a:active {
    color: #dd0222;
}

.fill-parent {
    width: 100%;
    height: 100%;
    margin: 0px;
}

.fixed {
    position: fixed !important;
}

#left-wrapper {
    background-color: white;
    position: absolute;
    margin: 0px;
    height: 100%;
    width: 65%;
    min-width: 700px;

    display: flex;
    align-items: center;

    box-shadow: 0px 0px 20px #ccc;
}

#left-vertical-aligner {
    position: relative;
    /*width: inherit;*/
    width: auto;
    margin-left: 10%;
    margin-right: 10%;
    /* margin-top: 8%;*/
}

#headshot-container {
    /* height: 100px; */
    display: flex;
    align-items: center;
}

.friendly-text {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1em;
    font-style: italic;
    margin: 0px;
}

.headshot-text {
    font-size: 20px;
    margin-left: 20px;
    border-bottom: 1px solid #ff5777;
    padding-bottom: 5px;
}

.hero-text {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1em;
    margin: 0px;
}

.space-top {
    margin-top: 20px;
}

.space-bottom {
    margin-bottom: 20px;
}

#art-wrapper {
    position: absolute;
    margin: 0px;
    opacity: 0.5;
}

#scroll-indicator {
    position: absolute;
    bottom: 0px;
}

#navigation {
    position: absolute;
    top: 0;
    right: 0;
    list-style-type: none;
    padding: 0;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;

    /* TODO: This 10% is shared with left-vertical-aligner, make a shared class instead */
    /*margin-right: 10%;*/
    background-color: white;

    /*font-family: 'Lora', serif;*/
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    color: #ff5777;
}

#page-one li {
    display: inline;
    margin-right: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    border-bottom: #eeeeee solid 1px;
    transition: 100ms;
}

#page-one li:last-child {
    margin-right: 0px;
}

#page-one li:hover {
    color: #ffaccc;
}

#page-one li:active {
    color: #dd0222;
}

#page-two {
    /* border-top: 1px dashed #ff5777; */
    position: absolute;
    top: 100%;
    height: auto;
    /*background-color: white;*/

    /*
    padding-left: 6.5%;
    padding-right: 6.5%;
    */
}

#nav-wrapper {
    position: sticky;
    top: 0px;

    height: 320px;
    width: 20%;
    float: left;
    background-color: white;
    display: flex;
    align-items: center;

    /*border-bottom: 1px solid #ff5777;*/
}

#nav-center {
    margin: auto;
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1em;
}

#nav-wrapper p {
    font-size: 24px;
    margin-top: 0px;
    margin-bottom: 20px;

    border-left: 2px solid #ff5777;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;

    /*
    text-decoration: underline;
    text-decoration-color: #ff5777;
    */
}

#nav-wrapper ul {
    /*padding: 0px;*/
    padding-left: 12px;
}

#nav-wrapper li {
    font-family: 'Roboto', sans-serif;
    list-style-type: none;
}

#nav-wrapper .nav-sub {
    padding-left: 10px;
}

#content-wrapper {
    /* height: 100%;*/
    width: 80%;
    float: left;
    background-color: white;

    box-shadow: 0px 20px 20px #ccc;
}

#content-wrapper #flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding-top: 65px;
    padding-left: 110px;
}

.divider {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
    /* text-align: right; */

    background-image: url('images/red_pixel_temp.jpg');
    background-repeat-x: repeat;
    background-repeat-y: no-repeat;
    background-position-y: center;
}

.with-children {
    margin-bottom: 10px;
}

.noline {
    text-align: center;
    background-image: none;
    margin-bottom: 20px;
}

.divider span {
    display: inline;
    background-color: white;

    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 12px;
    margin: 0px;
    padding-left: 10px;
    padding-right: 10px;
}

.item {
    width: calc(50% - 60px);

    /* TODO: Figure out how flexbox can be used to space items */
    margin-right: 50px;
    margin-bottom: 40px;
}

.publication {
    width: 100%;
}

.item h2 {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1em;
    margin-top: 0px;
    margin-bottom: 0px;

    /*
    padding-left: 10px;
    border-left: 1px solid #ff5777;
    */
}

.item h3 {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1em;
    margin-top: 0px;
    margin-bottom: 0px;

    /*
    padding-left: 10px;
    border-left: 1px solid #ff5777;
    */
}


.item h4 {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 14px;
    margin: 0px;
    font-style: italic;
}

.item h5 {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 12px;
    margin: 0px;
    font-style: italic;
}

.item h5 strong {
    color: #ff5777;
}

.item h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 3px;
}

.poster h2 {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 16px;
    margin: 0px;
}

.large-margin {
    width: 50%;
    /*
    margin-left: 10%;
    margin-right: 10%;
    */
}

.item p {
    font-family: 'Roboto', sans-serif;
    line-height: 1.25;
    font-weight: 400;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.glance-left .larger-text {
    font-family: 'Lora', serif;
    font-size: 16px;
}

.item img {
    float: left;
    padding: 10px;
}

/* TODO: Join with above .item p */
.item li {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.3em;
}

.item ul {
    padding: 0px;
    list-style-type: none;
}

.item .dash li {
    list-style-type: none;
    margin-bottom: 3px;
    /*
    text-indent: -1.5em;
    padding-left: 1.5em;
    */
}

.art {
    width: 20%;
    margin-right: 20px;
    text-align: center;
}

.art-placeholder {
    width: 100px;
    height: 100px;
    margin: auto;
    background-image: url('images/pattern_temp_extra_small.jpg');
}

.full {
    width: 100%;
    margin-right: 0px;
}

.item h1 {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1em;
    margin-top: 0px;
    margin-bottom: 0px;

    text-align: right;
    margin-right: 50px;
    padding-right: 10px;
    border-right: 3px solid #ff5777;
}

.glance-left {
    margin-right: 150px;
    width: 42%;
}

.glance-right {
    width: 30%;
    margin-right: 0px;
}

.item .empty {
    height: 60px;
}

.item .empty-small {
    height: 15px;
}

.item .empty-extra-small {
    height: 10px;
}

li {
    transition: 300ms;
}

.selected {
    color: #ff5777;
}

.unselected {
}

sh {
    /*
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 24px;
    text-decoration: underline;
    text-decoration-color: #ff5777;
    */

    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 24px;
    color: #ff5777;
}

.project-description {
    /*
    font-family: 'Lora', serif !important;
    font-weight: 400 !important;
    */
}

#content-popover {
    position: fixed;
    top: 0px;
    height: 100%;

    /* TODO: These dimensions need to be informed by whatever the midpoint
     *       between the glance-left and glance-right divs ends up being */
    right: 0%;
    width: 30%;

    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
    padding-bottom: 50px;

    background-color: white;
    /*box-shadow: 0px 0px 5px #ff5777;*/
    box-shadow: 2px 0px 10px #333;

    transition: 300ms;

    overflow: scroll;
}

#close-popover {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 10px;
    color: #ff5777;

    padding: 10px;
    background-color: #f7f7f7;
    border-radius: 3px;

    text-transform: uppercase;

    position: absolute;
    top: 10px;
    right: 10px;
}

/* TODO: This is a terrible hack. Separate out the .item sub-classes
 *       to avoid needing to override. */
#content-popover .item {
    margin: 0px !important;
    width: 100% !important;
    padding-bottom: 60px; /* TODO: I don't know why I need this to keep text from getting clipped but I do */
}

.popover-hidden {
    right: calc(-30% - 110px) !important;
}

.art-wrapper {
    width: 25%;
    height: 300px;
}

.art-img-placeholder {
    float: left;
    width: 100px;
    height: 100px;
    background-image: url('images/pattern_temp_extra_small.jpg');
}

.art-wrapper .art-label {
    margin-top: 5px;
}

.large-art-wrapper {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    width: calc(100% - 110px); /* 110px from flex-wrapper margin-left */
}

.full-margin {
    display: flex;
    width: calc(100% - 110px); /* 110px from flex-wrapper margin-left */
    margin-right: 0px;

    /* TODO: This shouldn't be the owner of this override property */
    margin-bottom: 15px;

    /* TODO: A separate "project container" should own this property. Full-margin should just be size */
    border-bottom: 1px dotted #ddd;
    padding-bottom: 15px;
}

.art-image {
    display: inline-block;
    width: 150px;
    height: 220px;
    background-size: cover;
}

.art-display {
    width: 100%;
    height: 60%;
    background-size: cover;
    background-position-y: center;
}

.project-image {
    min-width: 300px;
    width: 300px;
    height: 128px;
    background-size: cover;
    background-position-y: center;
}

.project-arrow-right {
    height: 0px;
    width: 0px;
    border-left: solid 15px transparent;
    border-top: solid 64px white;
    border-bottom: solid 64px white;
    float: right;
}

.project-arrow-left {
    height: 0px;
    width: 0px;
    border-right: solid 15px transparent;
    border-top: solid 64px white;
    border-bottom: solid 64px white;
    float: left;
}

.project-body {
    display: flex;
    align-items: center;
}

.project-right {
    margin-left: 40px;
    text-align: left;
}

.project-left {
    margin-right: 40px;
    text-align: right;
}

.project-body h2 {
    color: #ff5777;
    font-size: 24px;
    font-family: 'Lora', serif;
    font-weight: 400;
}
