body {
    z-index:10;
}


#preloader {
    background-color:black;
    color:white;
}



/* overlay styles, all needed */
.project-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 300;
    transition: opacity 1s;
}

.hidden-overlay {
    display:none;
}


.project-overlay .project-overlay-container {
    display:table;
    position:relative;
    height:100%;
    width:100%;
}

.visible-overlay {
    display:table;
}

.visually-hidden-overlay {
    opacity:0;

}

.project-overlay .parent {
    display:table-cell;
    vertical-align:middle;
    width:100%;
    cursor: not-allowed;
    overflow:auto;   /* for FF */
    height:100%; /* for FF */
}

.project-overlay .parent .project-content {
    background-color:white;
    color:black;
    width:90%;
    height:90%;
    margin: 0 auto;
    cursor:default;

    display:block;
    position:relative;
    overflow-y: auto;
}

.project-overlay .close {
    z-index:100;
    color:black;
    font-size:48px;
    position: absolute;
    top:15px;
    right:15px;
    cursor: pointer;
    font-weight:500;
    line-height:0.8;
    transition: color 500ms;
}

.project-overlay .close:hover {
   /* color:#e1e1e6;*/
    color:white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;

}

.project-overlay .project-content .youtube-container {
    display:table-cell;
    vertical-align:middle;
    background-color:white;
    padding-bottom:56.25%;
    width:auto;
    outline-color:invert;
}

.project-overlay .project-content .project-name {
    margin-top:15px;
}

.project-overlay .project-content .youtube-section {
    display:table;
    margin:0 auto 15px auto;
    position:relative;
    width:840px;
}

.project-overlay .project-content .project-description-title {
    text-transform:uppercase;
    margin-bottom:5px;
}

.project-link {
    display:block;
    color:black;
    background-color:white;
    transition: color 200ms, background-color 200ms;
    padding:0 15px;
}

.project-link:hover {
    color:white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}


.project-overlay li {
    list-style-type: disc;
    list-style-position: inside;

    margin-left: 0;
    padding-left: 1em;
    text-indent: -1em;
}

.previous-video, .next-video {
    display:table-cell;
    vertical-align:middle;

    height:50px;
    width:5%;
}


.previous-video, .next-video {
    background-color:white;
}

.previous-video:hover, .next-video:hover {
    background-color:white;
}

.previous-video {
    left:0;
}

.next-video {
    right:0;
}



.triangle-left, .triangle-right {
    height:auto;
    width:auto;
    color:black;
    background-color:white;
    font-size:60px;

    transition: color 200ms, background-color 200ms;
}


.triangle-left {
    margin-right:5px;
}

.triangle-right {
    margin-left:5px;
}


.triangle-left:hover, .triangle-right:hover {
    color:white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.project-content-container {
    text-align:center;
    width: 100%;
    margin:0 auto;
}

.table-cell {
    display:table-cell;
}

.text-container {
    width:90%;
    margin:0 auto;
}

.project-name {
    margin:0 auto;
}


.project-text-description-column-third, .project-text-description-column-half {
    width: 100%;
    float: left;
    margin: 1%;
}

.project-text-description-column-third p, .project-text-description-column-half p {
    text-align:left;
}

@media screen and (min-width: 1000px) {
    .project-text-description-column-third {
        width: 31%;
        float: left;
        margin: 1%;
    }

    .project-text-description-column-half {
        width: 48%;
        float: left;
        margin: 1%;
    }
}

