/* #################### Fonts: */
@font-face {
    font-family: Diamonds;
    src: url("/fonts/Diamonds-Light.otf");
    font-weight: normal;
}
@font-face {
    font-family: Diamonds;
    src: url("/fonts/Diamonds-Black.otf");
    font-weight: bold;
}

/* #################### General: */
html {
    height: 100%;
    width: 100%;
}

body {
    background-color: #1a1a1a;
    font-family: Diamonds;
    color: white;

    text-align: center;

    height: 100%;
    width: 100%;
}

#container {
    display: inline-block;

    height: 78.2%;
    width: 100%;
}

[id^='nav-'] {
    cursor: pointer;
}

/* #################### Logo: */
#logo {
    height: 10%;
    display: block;

    background-image: url("/img/logo.png");
    background-repeat: no-repeat;
    background-position: center center;
}

#logo > a {
    display: block;
    width: 100%;
    height: 100%;

    background-image: url("/img/logo.png");
    background-repeat: no-repeat;
    background-position: center center;

    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#logo:hover > a {
    opacity: 1;
}

/* #################### Main navigation arrows: */
#container > [id^='nav-'] {
    display: inline-block;

    width: 16px;
    height: 36px;

    position: relative;
    top: -50%;

    margin: 0 20px;

    background-image: url("/img/nav-main.png");
    background-repeat: no-repeat;

    transition: background-image 3s;
}

#container > [id^='nav-'] > div {
    width: 100%;
    height: 100%;
    opacity: 0;
    background-image: url("/img/nav-main.png");
    transition: opacity 0.5s ease-in-out;
}

#container > [id^='nav-']:not(.inactive):hover > div {
    opacity: 1;
}

#nav-left {
    background-position: 0 0;
}


#nav-right {
    background-position: -16px 0;
}

#nav-right > div {
    background-position: -16px 0;
}

.content-arrow {
	position: absolute;
	display: none;
	width: 5%;
	height: 5%;
	z-index: 1000;
}

.content-arrow-left {
	left: 0;
}

.content-arrow-right {
	right: -25px;
	left: auto;
}

#content-arrow-up {
	top: 150px;
}

#content-arrow-down {
	bottom: 0;
}

/* #################### Content container: */
.content {
    margin-top: 1%;

    display: inline-block;

    box-shadow: 3px 3px 5px #111;
    background: black;

    height: 100%;

    overflow: hidden;
}

.content > div {
    height: 100%;
}

h1 {
    font-size: 2.5vw;
    line-height: 0.9;
	letter-spacing: -3px;
}

p {
    font-size: 0.70vw;
    line-height: 1.4;
}

#content-right {
    position: absolute;
    vertical-align: middle;
    top: 0;
    bottom: 0;
    left: 50%;
    height: 100%;
    width: 45%;
}

#content-left, #content-kontakt {
    vertical-align: middle;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 45%;
}

#content-right > div{
    text-align:left;
    position: absolute;
    color: black;
    left: 0;
    height: auto;
    padding-top: 1%;
    padding-left: 10%;
    padding-right: 10%;
    display: table;
    margin: auto 0;
}


#content-kontakt > div {
    width: 100%;
    text-align: right;
    position: absolute;
    color: black;
    bottom: 0;
    left: 0;
    height: auto;
    padding-bottom: 20%;
}

#content-left > div {
    text-align:right;
    position: absolute;
    color: black;
    left: 0;
    height: auto;
    padding-top: 1%;
    padding-left: 10%;
    padding-right: 0;
}
.content > div > img {
    height: 100%;
    max-height: 100%;
    width: auto;
    display: inline;
    margin-left: -5px;
}

.content .logo-icon {
    position: absolute;
    bottom: 3%;

    width: 13px;
    height: 28px;

    background-image: url("/img/logo-icon.png");
}

.content .logo-icon.right {
    right: 3%;
}

.content .logo-icon.left {
    left: 3%;
}


/* #################### Bottom controls: */
#controls-box {
    display: block;
    width: 100%;
    margin-top: 1%;
    height: 8%;
}

#controls {
    display: inline-block;

    width: 52%;
    height: 18px;

    font-size: 0.8vw;
    line-height: 18px;
    color: #4e4e4e;
}

#controls > [id^='nav-'] {
    display: block;

    text-decoration: none;
    color: #4e4e4e;
    transition: color 0.5s ease-in-out;
}

#controls > [id^='nav-']:hover {
    color: #6e6e6e;
}

#controls > [id^='nav-'] > div {
    width: 18px;
    height: 18px;

    background-repeat: no-repeat;

    display: inline-block;
    vertical-align: middle;

    margin-left: 10px;
}

#controls > [id^='nav-'] > div.hovered {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;

    width: 18px;
    height: 18px;

    background-repeat: no-repeat;

    display: inline-block;

    position: relative;
    left: -31px;
}

#controls > [id^='nav-']:not(.inactive):hover > div.hovered {
    opacity: 0.5;
}

#nav-sharefb {
    float: left;
    margin-right: 20px;
}

#nav-contact {
    float: left;
    width: 50px;
}

#nav-getpdf {
    float: right;
}

#nav-sharefb > div {
    background-image: url("/img/icons.png");
}

#nav-getpdf > div {
    background-image: url("/img/icons.png");
    background-position: -18px 0;
}

.black-link {
    color: black;
    text-decoration: none;
}

/* ####################: Slide change transitions: */
.content:not([class^='beh-']) > div {
    position: relative;
    left: 0%;
    top: 0%;

    transition: left 0.5s ease-in-out, top 0.5s ease-in-out;
}

[class^='beh-'] > div {
    position: relative;
    transition: left 0.5s ease-in-out, top 0.5s ease-in-out;
}

.beh-slidein-right > div, .beh-slideout-left > div {
    left: -130%;
}

.beh-slidein-left > div, .beh-slideout-right > div {
    left: 130%;
}
/*
.beh-slidein-bottom > div, .beh-slideout-top > div {
    top: -130%;
}

.beh-slidein-top > div, .beh-slideout-bottom > div {
    top: 130%;
}
*/
/* ################################### Facade and floors presentation */
#pre-facade-link {
    display: block;
    text-align: left;
    position: absolute;
    left : 80%;
    bottom: 30%;
    font-size: 1.8vw;
}

#pre-facade-link > a {
    display: block;

    text-decoration: none;
    color: white;
    transition: text-shadow 0.5s ease-in-out;
}

#pre-facade-link > a:hover {
    text-shadow: 0 0 5px #ccc;
}

#facade {
    width: 100%;
}

#facade-cont {
    display:inline;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

#content-text-f {
    display:inline;
    position: absolute;
    top: 0;
    right: 0;
    
    height: 100%;
    width: 28%;
    
    text-align: left;
}

#content-text-r {
    display:inline;
    position: absolute;
    top: 0;
    right: 0;
    
    height: 100%;
    width: 23%;
    
    text-align: left;
}

#facade-cont > img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

.overlay-f {
    opacity: 0;
    -moz-backface-visibility: hidden;
}

.transition-f {
    transition: opacity 0.5s ease-in-out;
    -moz-backface-visibility: hidden;
}

.overlay-f.shown {
    opacity: 1;
    -moz-backface-visibility: hidden;
}

/*
.image-left {
    height: 100%;
    width: auto;
    position: absolute;
}
*/

.side-link {
    position: relative;
    top: 25%;
    padding: 5px;
}

.side-link > a {
    display: block;
    margin-top: 2.6vh;

    color: #6e6e6e;
    font-size: 0.8vw;
    font-weight: bold;
    text-decoration: none;

    transition: color 0.5s ease-in-out;
}

.side-link > .local {
    margin-top: 6px;
    font-size: 11px;
}

.side-link > a.shown {
    color: white;
}

.top-image {
	position: absolute;
	right: 0px;
	top: 0px;

	z-index: 4;
}

.bold-title {
    padding-top: 20%;
    padding-left: 5%;

    font-weight: bold;
    line-height: 20px
}

.tiny-title {
    padding-left: 5%;
    padding-top: 5px;

    font-size: 0.8vw;
    color: #4e4e4e;
}

.back-pietra {
    position: absolute;
    height: 14%;
    width: 20%;
    top: 6%;
    right: 2%;
}

.back-mieszkania {
    position: absolute;
    top: 24%;
    right: 2%;
    height: 19%;
    width: 20%;
}

.download-local {
    position: absolute;
    bottom: 15px;
    right: 15px;

    color: #666;
    font-size: 0.8vw;
    text-decoration: none;

    transition: color 0.5s ease-in-out;
}

.download-local:hover {
    color: #aaa;
}

.caption {
	z-index:4;
        -moz-backface-visibility: hidden;
}

/* #################### Throbber: */
#throbber {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: black;

    opacity: 0;

    transition: opacity 0.25s ease-in-out;
}

#throbber.visible {
    opacity: 0.7;
}

#throbber > img {
    position: relative;
    top: 50%;
    margin-top: -16px;
    margin-left: -14px;
}

/* #################### Zoom: */
.zoom {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 25%;
    bottom: 2%;
    background-image: url("/img/zoom.png");
    background-repeat: no-repeat;
}

/* #################### Page flipping: */
.hidden-page {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    z-index: -1;
    white-space: nowrap;
}

.hidden-page > div > div {
    white-space: normal;
}

#bookake-canvas {
    position: absolute;
    margin-top: 1%;
    z-index: 5;
}

/* #################### Disabled navigation: */
[id^='nav-'].inactive {
    cursor: default;
}
