BODY, HTML {
    background-color: #000;
    color: #CCC;
    font-family: Arial, Helvetica, sans-serif;
}

BODY {
    position: relative;
}

BODY * {
    transition-property: background-color border color font-size left line-height margin opacity top transform width;
    transition-timing-function: ease;
    transition-duration: 1.5s;
}

.hidden {
	display: none !important;
}

.Head {
    position: fixed;
    background-color: #000;
    z-index: 10;
}
.Foot {
    position: fixed;
    background-color: rgba(0,0,0,0.9);
    z-index: 9;
}

.Head .ContainerLogo {
    display: -webkit-flex;
    display: flex;
    z-index: 2;
}
.Head .ContainerLogo .Logo {
    color: #CCC;
    margin: auto;
    white-space: nowrap;
}
.Content {
    position: relative;
    overflow: hidden;
    padding: 0 1px;
    z-index: 2;
}
.Foot .ContainerContact {
    display: -webkit-flex;
    display: flex;
    z-index: 2;
}
.Foot .ContainerContact .Contact {
    color: #CCC;
    margin: auto;
    white-space: nowrap;
}

.DisplayPhotosWrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 20;
}

.DisplayPhotosWrapper .Overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: #222;
    z-index: 8;
}
.DisplayPhotosWrapper.loaded .Overlay {
    opacity: 0.9;
}

.DisplayPhotos {
    position: absolute;
    background-color: #000;
    top: 50%;
    left: 50%;
    width: 0%;
    height: 0%;
    display: -webkit-flex;
    display: flex;
    z-index: 10;
}
.loaded .DisplayPhotos {
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
}
.DisplayPhotos .OverflowWrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.DisplayPhotos .Photo {
    display: -webkit-flex;
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0%;
    z-index: 1;
}
.DisplayPhotos .right.Photo {
    left: 100%;
}
.DisplayPhotos .left.Photo {
    left: -100%;
}
.DisplayPhotos .Photo IMG,
.DisplayPhotos .Photo VIDEO {
    margin: auto;
    max-width: 80%;
    max-height: 90%;
}

.DisplayPhotos .NextButton,
.DisplayPhotos .PreviousButton,
.DisplayPhotos .CloseButton {
    color: #AAA;
    display: -webkit-flex;
    display: flex;
    position: absolute;
    width: 10%;
    z-index: 2;
    opacity: 0;
}   
.loaded .DisplayPhotos .NextButton,
.loaded .DisplayPhotos .PreviousButton,
.loaded .DisplayPhotos .CloseButton {
    opacity: 1;
}   
.DisplayPhotos .NextButton {
    right: 0;
    top: 0;
    height: 100%;
}
.DisplayPhotos .PreviousButton {
    left: 0;
    top: 0;
    height: 100%;
}
.DisplayPhotos .CloseButton {
    right: 0;
    top: -15%;
    height: 15%;
}
.loaded .DisplayPhotos .CloseButton:hover,
.loaded .DisplayPhotos .PreviousButton:hover,
.loaded .DisplayPhotos .NextButton:hover {
    color: #FFF;
}

.button {
	cursor: pointer;
}

.DisplayPhotos .button {
    margin: auto;
}

.Foot .ContainerDetails .Details .label,
.Foot .ContainerDetails .Details .value {
    white-space: nowrap;
}

.Foot .ContainerDetails .Details .Telephone,
.Foot .ContainerDetails .Details .Email {
    overflow: hidden;
    margin-top: 1em;
}



@media all and (orientation: landscape) {
    .Head {
        border-right: 1px solid #000;
        height: 100%;
        width: 50%;
    }
    .Head .ContainerLogo {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0%;
        top: 0%;
    }
    .Head .ContainerLogo .Logo {
        font-size: 3em;
    }
    .starting .Head,
    .started .Head {
        border-right: 1px solid #CCC;
        width: 10%;
    }
    .started .Head {
        z-index: 1;
    }
    .starting .Head .ContainerLogo,
    .started .Head .ContainerLogo {
        left: -45%;
        z-index: 1;
    }
    .starting .Head .ContainerLogo .Logo,
    .started .Head .ContainerLogo .Logo {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transform-origin: center center;
        transform-origin: center center;
    }
    .Content {
        padding-top: 2em;
        margin-left: calc(10% + 1px);
        margin-right: calc(10% - 1px);
    }
    .Foot {
        border-left: 1px solid #000;
        height: 100%;
        right: 0;
        top: 0;
        width: 50%;
    }
    .Foot .ContainerContact {
	    position: fixed;
	    top: 0%;
	    height: 100%;
        width: 100%;
        left: 100%;
    }
    .Foot .ContainerContact .Contact {
        font-size: 3em;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transform-origin: center center;
        transform-origin: center center;
    }
    .Foot .ContainerDetails {
        position: fixed;
        left: 100%;
        top: 0%;
        width: 100%;
        height: 100%;
        display: -webkit-flex;
        display: flex;
    }
    .Foot .ContainerDetails .Details {
        margin: auto;
        height: 100%;
    }

    .Foot .ContainerDetails .Details .Image {
        height: 311px;
        width: 250px;
        margin: 25% 0 15%;
    }

    .Foot .ContainerDetails .Details .Image IMG {
        height: 311px;
        width: 250px;
    }
    
    .starting .Foot,
    .started .Foot {
        border-left: 1px solid #CCC;
        z-index: 1;
        width: 10%;
    }
    .starting .Foot .ContainerContact,
    .started .Foot .ContainerContact {
        left: 45%;
    }
    .starting .Foot .ContainerContact .Contact,
    .started .Foot .ContainerContact .Contact {
    }
    
    .footActive.started .Foot {
        width: 50%;
        z-index: 10;
    }
    .footActive.started .Foot .ContainerContact {
        left: 5%;
    }
    .footActive.started .Foot .ContainerDetails {
        left: 25%;
    }
}

@media all and (orientation: landscape) and (max-height: 500px) {
	    .Foot .ContainerDetails .Details .Image {
        height: 129px;
        width: 100px;
        margin: 25% 0 15%;
    }

    .Foot .ContainerDetails .Details .Image IMG {
        height: 129px;
        width: 100px;
    }
}

@media all and (orientation: portrait) {
    .Head {
        border-bottom: 1px solid #000;
        height: 50%;
        width: 100%;
    }
    .Head .ContainerLogo {
        position: fixed;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
    }
    .Head .ContainerLogo .Logo {
        font-size: 2em;
    }
    .Content {
        padding-top: 20%;
        padding-bottom: 10%;
    }
    .Foot {
        border-top: 1px solid #000;
        bottom: 0;
        height: 50%;
        width: 100%;
    }
    .Foot .ContainerContact {
        position: fixed;
        top: 100%;
        left: 0%;
        width: 100%;
        height: 100%;
    }
    .Foot .ContainerContact .Contact {
        font-size: 2em;
    }
    .Foot .ContainerDetails {
        position: fixed;
        top: 150%;
        left: 0%;
        width: 100%;
        height: 10%;
        display: -webkit-flex;
        display: flex;
        z-index: 2;
    }
    .Foot .ContainerDetails .Details {
    	width: 100%;
        height: 100%;
        padding: 20% 0 0 0;
    }

    .Foot .ContainerDetails .Details .Image {
        float: left;
        height: 129px;
        width: 100px;
        margin-right: 10px;
    }

    .Foot .ContainerDetails .Details .Image IMG {
        height: 129px;
        width: 100px;
    }
    
    .starting .Head,
    .started .Head {
        border-bottom: 1px solid #CCC;
        height: 10%;
    }
    .starting .Head .ContainerLogo,
    .started .Head .ContainerLogo {
        height: 10%;
    }
    .starting .Foot,
    .started .Foot {
        border-top: 1px solid #CCC;
        height: 10%;
        z-index: 5;
    }
    .starting .Foot .ContainerContact,
    .started .Foot .ContainerContact {
        height: 10%;
        top: 90%;
    }
    .footActive.started .Foot {
        height: 50%;
        z-index: 10;
    }
    .footActive.started .Foot .ContainerContact {
        top: 50%;
    }
    .footActive.started .Foot .ContainerDetails {
        top: 50%;
        height: 50%;
    }
}

.no-js .Project {
	float: left;
}

.Project {
	height: 12em;
	min-width: 14em;
	position: absolute;
	overflow: hidden;
	cursor: pointer;
}
.Project:hover {
	opacity: 0.6;
}
.js .Project {
	top: 0px;
	left: 10000px;
}
.Project .BackgroundImage {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-position: 50% 50%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.Project .Image {
	display: none;
}

.Project .Properties {
    p2osition: relative;
    width: 100%;
    box-sizing: border-box;
}

.Project .Properties .Title,
.Project .Display .Title {
    white-space: nowrap;
    padding: 0.2em;
    text-shadow: 1px 1px 1px #000, 0px 0px 1px #000;
    background-color: rgba(0,0,0,0.5);
}
.Project .Properties .Description,
.Project .Display .Description {
    white-space: nowrap;
    padding: 0.2em;
    text-shadow: 1px 1px 1px #000, 0px 0px 1px #000;
    background-color: rgba(0,0,0,0.5);
}
.Project .Display {
    position: absolute;
    bottom: 0;
    box-sizing: border-box;
    width: 100%;
}

@media all and (max-width: 300px) {
    .DisplayPhotos .button {
        font-size: 2em;
    }
}

@media all and (min-width: 500px) {
    .DisplayPhotos .button {
        font-size: 3em;
    }
}

@media all and (min-width: 700px) {
    .DisplayPhotos .button {
        font-size: 4em;
    }
}

@media all and (min-width: 1200px) {
    .DisplayPhotos .button {
        font-size: 5em;
    }
}