/*BASE*/
html {
    background: #C4C4C4;
    -webkit-text-size-adjust: none;
    touch-action: pan-y; /*prevent user scaling*/
}

body {
    margin: 0;
    padding: 0;
    background: #C4C4C4;
    font-family: acumin-pro, sans-serif;
    font-size: 16px;
    /*-webkit-font-smoothing: antialiased;*/
}

h1, h2, h3, h4 {
    font-family: acumin-pro, sans-serif;
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-size: 35px;
    color: #222;
}

h2 {
    font-size: 23px;
    line-height: 1.2;
    color: #222;
}

h3 {
    font-size: 20px;
    line-height: 1.5;
    color: #bd9f1f;
}

button,
.button {
    font-family: acumin-pro, sans-serif;
    height: 50px;
    line-height: 50px;
    -webkit-tap-highlight-color: transparent;
    background: #bd9f1f;
    color: #fff;
    border-radius: 0;
    border: none;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
    margin: 0;
    display: block;
    min-width: 50px;
    outline: none !important;
    text-decoration: none;
}

button:hover,
.button:hover {
    background: #A1881A;
    color: #fff;
}

button span,
.button span {
    line-height: 50px !important;
    color: #fff;
}

div {
    box-sizing: border-box;
}

/*START POPUP*/

#start-popup {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    padding: 15px;
    background: #fff;
    background-image: url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out, background-size 1s ease-in-out;
}

#start-popup.active{
    z-index: 2;
    opacity: 1;
}

#start-popup.inactive{
    opacity: 0;
}

#start-popup .inner {
    width: 100%;
    max-width: 600px;
    background: #fff;
    padding: 50px;
    position: relative;
    max-height: 100%;
    overflow: scroll;
}

#start-popup .inner h1 {
    margin-top: 0;
}

#start-popup .inner p {
    color: #8d867c;
    line-height: 1.8;
}

#start-popup .inner button {
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#start-popup .inner button:first-of-type {
    margin-bottom: 1em;
    margin-top: 1.83em;
}

/*INFO POPUP*/

#info-popup {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.3);
    left: 0;
    top: 0;
    z-index: 2;
    display: flex;
    padding: 15px;
    justify-content: center;
    align-items: center;
    transition: opacity .5s ease-in-out;
}

#info-popup.active {
    z-index: 2;
    opacity: 1;
}

#info-popup.inactive {
    z-index: -1;
}

#info-popup .inner {
    width: 100%;
    max-width: 600px;
    padding: 50px;
    background: #fff;
    position: relative;
    max-height: 100%;
    overflow: scroll;
}

#info-popup .inner p {
    color: #8d867c;
    line-height: 1.8;
}

#info-popup .inner p.smaller-font {
    font-size: 14px;
}

#info-popup .inner p:last-of-type {
    margin-bottom: 0;
}

#info-popup .inner .item-close {
    position: absolute;
    top: 0;
    left: 0;
}

#info-popup .inner .logos {
    background: #bd9f1f;
    display: flex;
    flex-direction: row;
    padding: 10px 0;
    margin: 50px -50px;
    justify-content: space-around;
}

#info-popup .inner .logos a {
    padding: 20px 40px;
    display: block;
}

#info-popup .inner .logos a img{
    width: 100%;
}

#info-popup .inner .embed-code {
    display: flex;
}

#info-popup .inner .embed-code input[type='text'] {
    flex: 1;
    border-radius: 0;
    border: 0;
    background: #eee;
    padding: 0 19px;
}

#info-popup .inner .embed-code input[type='text']:focus {
    outline: none;
    background: #d4d4d4;
}

#info-popup .inner .embed-code button {
    padding: 0 15px;
}

    /*CONTROLS*/

.controls {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
}

.controls button {
    background: #fff;
    color: #222;
    text-align: center;
    transition: opacity .3s ease-in-out;
}

.controls button span {
    color: #222;
}

.controls button:hover {
    background: #222;
    color: #fff;
}

.controls button:hover span {
    color: #fff;
}

.controls button span {
    line-height: 50px;
}

.page-container[data-zoom='5'] .controls button:nth-child(2) {
    opacity: .5;
    cursor: auto;
}

.page-container[data-zoom='5'] .controls button:nth-child(2):hover {
    background: #fff;
    color: #222;
}

.page-container[data-zoom='5'] .controls button:nth-child(2):hover span {
    color: #222;
}

.page-container[data-zoom='0'] .controls button:nth-child(3) {
    opacity: .5;
    cursor: auto;
}

.page-container[data-zoom='0'] .controls button:nth-child(3):hover {
    background: #fff;
    color: #222;
}

.page-container[data-zoom='0'] .controls button:nth-child(3):hover span {
    color: #222;
}

body.iframe .controls #fullScreenButton {
    display: none;
}

.control-iframe {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    display: none;
}

body.iframe .control-iframe {
    display: block;
}

.control-iframe .button {
    padding-left: 10px;
    padding-right: 10px;
}

/*SIDEBAR*/
#info-box h2 {
    margin-top: 0px;
}

#info-box p:last-of-type {
    margin-bottom: 0px;
}

#info-box .info-item {
    position: fixed;
    width: 400px;
    height: 100%;
    background: #fff;
    padding: 80px 36px 80px 36px;
    right: -400px;
    top: 0;
    overflow-y: scroll;
    transition: right .5s ease-in-out;
    z-index: 1;
    color: #8d867c;
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 16px;
}

#info-box .info-item.active {
    display: block;
    right: 0;
}

#info-box .info-item.easter h2 {
    color: #8d867c;
    line-height: 1.8;
    font-size: 18px;
}

#info-box .info-item.easter p {
    font-size: 20px;
    line-height: 1.2;
    color: #222;
}

#info-box .info-item.easter .bron {
    margin-top: 50px;
    line-height: 1.5;
}

#info-box .info-item .item-num {

}

#info-box .info-item .item-close {
    position: absolute;
    top: 0;
    left: 0;
}

#info-box .info-item .info-controls {
    position: fixed;
    width: 400px;
    bottom: 0;
    right: -400px;
    display: flex;
    transition: right .5s ease-in-out;
    flex-direction: row;
}

#info-box .info-item.active .info-controls {
    right: 0;
}

#info-box .info-item .next-button,
#info-box .info-item .back-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    padding: 0 15px;
}

#info-box .info-item .back-button {
    width: 50px;
    display: block;
    padding: 0;
    background: #e3e3e3;
    flex: 0 0 auto;
    text-align: center;
}

#info-box .info-item .back-button span {
    color: #bd9f1f;
}

#info-box .info-item .back-button:hover {
    background: #A1881A;
}

#info-box .info-item .back-button:hover span {
    color: #fff;
}

/*POINTERS*/

.pointers {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity .5s ease-in-out;
}

.page-container.loaded.start .pointers {
    opacity: 1;
}

.pointer {
    position: absolute;
    -webkit-tap-highlight-color: transparent;
    left: 0;
    top: 0;
    transition: all 1s ease-in-out;
    transform-origin: top left;

    width: 68px;
    height: 68px;

    /*-webkit-transform: scale(0.25);*/
    /*-moz-transform: scale(0.25);*/
    /*-ms-transform: scale(0.25);*/
    /*-o-transform: scale(0.25);*/
    /*transform: scale(0.25);*/
}

.pointer:hover {
    z-index: 1;
}

.pointer .pointerinner > .num {
    margin: 0px;
    line-height: 27px;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .2);
    /*border: 2px solid #222;*/
    cursor: pointer;
    box-sizing: unset;
    overflow: hidden;
    text-align: center;
    float: left;
    color: #222;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    -ms-transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.pointer .pointerinner:before {
    position: absolute;
    content: '';
    display: block;
    border: 4px solid #000;
    width: 60px;
    height: 60px;
    border-radius: 40px;
    top: 1px;
    left: 0;
}

.pointer:hover .pointerinner:before,
.pointer.active .pointerinner:before {
    background: #000;
}

.pointer.easter-egg {
    opacity: 0;
    width: 120px;
    height: 120px;
    cursor: pointer;
}

.page-container[data-zoom='0'] .pointer {
    -webkit-transform: scale(0.50);
    -moz-transform: scale(0.50);
    -ms-transform: scale(0.50);
    -o-transform: scale(0.50);
    transform: scale(0.50);
}

.page-container[data-zoom='1'] .pointer {
    -webkit-transform: scale(0.45);
    -moz-transform: scale(0.45);
    -ms-transform: scale(0.45);
    -o-transform: scale(0.45);
    transform: scale(0.45);
}

.page-container[data-zoom='2'] .pointer {
    -webkit-transform: scale(0.4);
    -moz-transform: scale(0.4);
    -ms-transform: scale(0.4);
    -o-transform: scale(0.4);
    transform: scale(0.4);
}

.page-container[data-zoom='3'] .pointer {
    -webkit-transform: scale(0.35);
    -moz-transform: scale(0.35);
    -ms-transform: scale(0.35);
    -o-transform: scale(0.35);
    transform: scale(0.35);
}

.page-container[data-zoom='4'] .pointer {
    -webkit-transform: scale(0.3);
    -moz-transform: scale(0.3);
    -ms-transform: scale(0.3);
    -o-transform: scale(0.3);
    transform: scale(0.3);
}

.page-container[data-zoom='5'] .pointer {
    -webkit-transform: scale(0.25);
    -moz-transform: scale(0.25);
    -ms-transform: scale(0.25);
    -o-transform: scale(0.25);
    transform: scale(0.25);
}

.pointer:hover .pointerinner > .num {
    /*background: #222;*/
    overflow: visible;
    color: #fff;
    z-index: 1;
}

.pointer.active .pointerinner > .num {
    /*background: #222;*/
    color: #fff;
}

.pointer .pointerinner div:not(.num) {
    background: #fff;
    padding: 0 10px;
    line-height: 30px;
    border-radius: 2px;
    min-height: 30px;
    font-size: 18px;
    color: #222;
    float: left;
    margin-left: 15px;
    z-index: 1;
    position: relative;
    padding: 4px 10px 5px 10px;
    line-height: 24px;
    text-align: left;
    display: none;
    max-width: 300px;
    position: absolute;
    left: 33px;
    top: 2px;
    white-space: nowrap;
}

.pointer .pointerinner div:not(.num)::before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    background: #fff;
    left: -4px;
    top: 10px;
    transform: rotate(45deg);
    border-radius: 2px;
}

.pointer:not(.active):hover .pointerinner div:not(.num) {
    display: block;
}

/*.page-container .pointerinner > p {*/
    /*line-height: 117px;*/
    /*width: 120px;*/
    /*height: 120px;*/
    /*border-radius: 70px;*/
    /*border: 8px solid #222;*/
    /*font-size: 72px;*/
/*}*/

/*.page-container .pointer .pointerinner div {*/
    /*padding: 0 40px;*/
    /*line-height: 120px;*/
    /*border-radius: 8px;*/
    /*min-height: 120px;*/
    /*font-size: 72px;*/
    /*margin-left: 60px;*/
    /*padding: 16px 40px 20px 40px;*/
    /*line-height: 96px;*/
    /*max-width: 1200px;*/
    /*left: 132px;*/
    /*top: 5px;*/
    /*font-size: 72px;*/
/*}*/

/*.page-container .pointerinner div::before {*/
    /*width: 40px;*/
    /*height: 40px;*/
    /*position: absolute;*/
    /*left: -17px;*/
    /*top: 45px;*/
    /*border-radius: 8px;*/
/*}*/

.page-container .pointerinner > .num {
    line-height: 62px;
    width: 68px;
    height: 68px;
    border-radius: 35px;
    /*border: 4px solid #222;*/
    font-size: 36px;
}

.page-container .pointer .pointerinner div:not(.num) {
    padding: 0 20px;
    line-height: 60px;
    border-radius: 4px;
    min-height: 60px;
    font-size: 36px;
    margin-left: 30px;
    padding: 8px 20px 10px 20px;
    line-height: 48px;
    max-width: 600px;
    left: 66px;
    top: 2.5px;
    font-size: 36px;
}

.page-container .pointer.right-side .pointerinner div:not(.num) {
    left: auto;
    right: calc(100% + 30px);
}

.page-container .pointerinner div:not(.num)::before {
    width: 20px;
    height: 20px;
    position: absolute;
    left: -8px;
    top: 22px;
    border-radius: 4px;
}

.page-container .pointer.right-side .pointerinner div:not(.num)::before {
    left: auto;
    right: -8px;
}

/*PANZOOM*/

.panzoom-container {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.panzoom-inner-container {
    position: relative;
    left: 0;
    top: 0;
    /*overflow: hidden;*/
    overflow: visible !important;
    width: 100%;
    user-select: none;
    touch-action: none;
    max-height: 100vh;
    /*max-width: calc(100vh * 1.77778);*/
    /*max-width: 100vw;*/
    max-width: calc(100vh * 1.77778);
    margin: auto;
    width: 100%;

    box-shadow: 0 0 15px rgba(0,0,0,.2);
}

#panzoom {
    cursor: move;
    user-select: none;
    touch-action: none;
    display: inline-block;
}

#panzoom .panzoom-object {
    max-width: calc(100vh * 1.77778);
    margin: auto;
    width: 100%;
}

#panzoom img {
    display: block;
    width: auto;
    /*height: 100vh;*/

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    -ms-transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Chrome 29+ */
/*@media screen and (-webkit-min-device-pixel-ratio:0)*/
/*and (min-resolution:.001dpcm) {*/
    /*#panzoom img {*/
        /*-webkit-backface-visibility: unset !important;*/
        /*backface-visibility: unset !important;*/

        /*-ms-transform: none !important;*/
        /*-webkit-transform: none !important;*/
        /*transform: none !important;*/
    /*}*/
/*}*/

/*!* Chrome 22-28 *!*/
/*@media screen and(-webkit-min-device-pixel-ratio:0) {*/
    /*#panzoom img {*/
        /*-webkit-backface-visibility: unset !important;*/
        /*backface-visibility: unset !important;*/
        /**/
        /*-ms-transform: none !important;*/
        /*-webkit-transform: none !important;*/
        /*transform: none !important;*/
    /*}*/
/*}*/

/*IMAGE BLUR*/

.blurry-load {
    -webkit-filter: blur(8px);
    filter: blur(8px);
    height: 100vh;
}

.blur-out {
    transition: filter 3s;
    -webkit-transition: filter 3s;
    -moz-transition: filter 3s;
    -o-transition: filter 3s;
}

.heightDefault {
    height: 100vh;
}

@-webkit-keyframes shimmer {
    0% {
        background-position: -100vw 0;
    }
    to {
        background-position: 100vw 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: -100vw 0;
    }
    to {
        background-position: 100vw 0;
    }
}

.no-blur {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: shimmer;
    animation-name: shimmer;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    background: #f6f7f8;
    background: gradient(linear, left top, right top, color-stop(8%, #eee), color-stop(18%, #ddd), color-stop(33%, #eee));
    background: linear-gradient(90deg, #eee 8%, #ddd 18%, #eee 33%)
}

@media only screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 30px;
        color: #222;
    }

    h2 {
        font-size: 20px;
        line-height: 1.2;
        color: #222;
    }

    h2 b {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }

    #info-box .info-item,
    #info-box .info-item .info-controls {
        width: 100%;
        right: -100%;
    }

    #start-popup .inner {
        padding: 20px;
    }

    #info-popup .inner {
        padding: 50px 20px 20px 20px;
    }

    #info-popup .inner .logos {
        margin: 20px -20px;
    }

    #info-popup .inner .logos a {
        padding: 20px;
    }

}