@import url('reset.css');
@import url('static.css');
@import url('elements.css');

@font-face {
    font-family: 'euclid_triangle_flexmedium';
    src: url('../fonts/EuclidTriangle-Medium-WebXL.eot');
    src: url('../fonts/EuclidTriangle-Medium-WebXL.eot?#iefix') format("embedded-opentype"),
    url('../fonts/EuclidTriangle-Medium-WebXL.woff2') format('woff2'),
    url('../fonts/EuclidTriangle-Medium-WebXL.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    outline: none;
}
/* = General
-------------------------------------------------------------- */

.clear {
    clear: both;
    display: block;
}

a {
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

label,
input[type="submit"] {
    cursor: pointer;
}

html {
    overflow: hidden;
}


/* = Structure
-------------------------------------------------------------- */

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-text-size-adjust: none;
}

body {
    background: #000000;
    line-height: 1.5;
    font-family: 'euclid_triangle_flexmedium';
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
}


#page {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    display: none;
    width: 1100px;
    height: 715px;
    margin: -358px 0 0 -550px;
}


#page.mobile {
    width: 550px;
    height: 358px;
    margin: -210px 0 0 -275px;
}

#page .padding { /*padding: 0 34px;*/
}


@media screen and (max-width: 1024px) {

    body {
        background-size: 200% 200%;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {

    body {
        background-size: 200% 200%;
    }

}

.overlay {
    position: absolute;
    left: -10000px;
    top: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.overlay.active {
    left: 0;
}


/* = Book
-------------------------------------------------------------- */

#book {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
}

#book .turn-page {
    background-color: white;
    background-size: 100% 100%;
}

.double {
    background-size: 200% 100% !important;
}

.double.first {
    background-position: 0% 0%;
}

.double.second {
    background-position: -100% 0%;
}


/* = Nav Arrows
---------------------------------------- */

.nav_arrow {
    position: absolute;
    top: 50%;
    z-index: 15;
    background: url(../img/flip_arrow-right.png);
    width: 25px;
    height: 47px;
    margin-top: -23px;
}

.nav_arrow.next {
    right: -38px;
}

.nav_arrow.next:hover {
}

.nav_arrow.prev {
    background: url(../img/flip_arrow-left.png);
    left: -40px;
    display: none;
}

.nav_arrow.prev:hover {
}

/*#page.mobile .nav_arrow.next { right: -24px; }*/


/* = Cover
---------------------------------------- */

#logo-cover {
    position: absolute;
    right: 40px;
    bottom: 25px;
    z-index: 5;
}

#cover ul {
    clear: both;
    width: 90%;
    margin: 48% auto 0 auto;
    list-style: none;
    padding: 20px 0;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

#cover ul:after {
    clear: both;
    content: '';
    display: block;
}

#cover li {
    float: left;
    width: 28.3%;
    margin: 0 2.5%;
}

#cover li,
#cover img {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

#cover li:last-child {
    margin-right: 0;
}

#cover li img {
    float: left;
    width: 100%;
}

#cover li a:hover img {
    opacity: .8;
}


/* = End
---------------------------------------- */

#end {
    text-align: center;
}

#end p {
    padding-top: 60%;
}


/* = Meta data
---------------------------------------- */

#book .meta {
    position: absolute;
    bottom: 1%;
    display: none;
}

.meta .num {
    font-weight: bold;
    font-size: 0.750em;
    color: #666;
}

.meta .description {
    font-size: 0.688em;
    color: #666;
}

.meta.left {
    left: 12px;
}

.meta.left .num {
    padding-right: 10px;
}

.meta.right {
    right: 12px;
    text-align: right;
}

.meta.right .num {
    padding-left: 10px;
}


/*= Video in lightbox
----------------------------*/

#lightbox {
    width: 100%;
    height: 100%;
    z-index: 106;
    position: absolute;
    display: block;
}

.bcg {
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: .7;
    position: absolute;
    cursor: pointer;
}


/* --------------------------*/

.page_book {
    padding: 5%;
}

.page_book p {
    -webkit-text-size-adjust: none;
    margin-bottom: 3%;
}

.page_book p a {
    text-decoration: underline;
    color: #ffffff;
    font-weight: bold;
}

.page_book p a:hover {
    text-decoration: none;
}

.page_book h1 {
    -webkit-text-size-adjust: none;
    margin-bottom: 3%;
}

.page_book h3 {
    -webkit-text-size-adjust: none;
    margin-bottom: 3%;
    margin-top: 5%;
}

.page_book ul {
    list-style: disc inside;
    margin-bottom: 3%;
}

.page_book ul li {
    margin-bottom: 1%;
}

.page_book ul li a {
    color: #ffffff;
}

.page_book ul li a:hover {
    color: #000000;
    text-decoration: underline;
}


