/** MAIN ***************************************************************************/

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

#gallery {
    position: relative;
    height: 100%;
    font-family: Verdana;

    /* disable text selection */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hidden {
    display: none;
}

#logo, #menu, #share, #media {
    z-index: 50;
    /*opacity: 0;*/
}

#logo, #menu, #prev, #next, #share, #media, #navigation-box, .info-box, .share-box, #download-box {
    position: fixed;
}

#logo {
    display: none;
    top: 40px;
    left: 40px;
}

#logo img, #logo2 {
    height: 40px;
}

#menu {
    top: 40px;
    right: 40px;
}

#prev, #next {
    margin: auto;
    top: 0;
    bottom: 0;

    height: 80px;
    background-repeat: no-repeat;
    background-position: center center;
    /*display: none;*/
    opacity: .9;
}

.toggle-area {
    position: absolute;
    width: 80px;
    top: 5%;
    bottom: 5%;
    z-index: 45;
}

#toggle-prev {
    left: 0;
}

#toggle-next {
    right: 0;
}

#prev {
    left: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#next {
    right: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#share {
    bottom: 40px;
    left: 40px;
}

#media {
    bottom: 40px;
    right: 40px;
}

#share .icon, #media .icon {
    float: left;
}

#share .icon {
    margin-right: 10px;
}

#media .icon {
    margin-left: 10px;
}

#slides {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 40;
    box-shadow: 0 0 20px #000;
    background-color: #000;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.slide:first-child {
    left: 0;
}

/** box ***********************************************************************/

.box {
    display: none;
    /*padding: 40px;*/
    font-size: 14px;
    z-index: 100;
}

.box .icon-close {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #0064b4;
}

.box h1 {
    font-size: 18px;
    color: #0064b4;
    margin: 0 0 10px;
}

.box h2 {
    margin: 10px 0 0;
}

.box h3 {
    font-size: 14px;
    margin: 0;
}

.box p {
    margin: 0 0 10px;
    font-size: 8pt;
}

.box a {
    text-decoration: none;
    color: #666;
}

.box a:hover {
    color: #0064af;
}

.box a p {
    margin: 0;
}

.box .selected {
    color: #0064b4;
}

.box .btn {
    padding: 5px 12px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 3px #fff;
    color: #666;
    text-decoration: none;
    display: inline-block;
    /*float: left;*/
}

.box .wrapper {
    margin: 40px;
}

.box button .icon,
.box a .icon {
    /*width: 32px;
    height: 32px;*/
    vertical-align: middle;
    margin-right: 5px;
    background-position: center -2px;
}

#navigation-box {
    top: 40px;
    right: 40px;
    bottom: 40px;
    left: 40px;
}

#navigation-box .wrapper {
    text-align: center;
    overflow-y: auto;
    position: absolute;
    top: 0;
    margin:110px 36px 52px;
    bottom: 0;
    right: 0;
    left: 0;
}

#navigation-box ul {
    list-style: none;
    padding: 0;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 50px;
    height: auto !important;
    /*width: 80%;*/
}

#navigation-box li {
    text-align: center;
    color: #666;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

#navigation-box h2 {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 14pt;
    font-weight: bold;
}

#navigation-box .footer {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    color: #666;
    text-align: center;
}

.info-box {
    bottom: 86px;
    left: 40px;
}

.share-box {
    width: 300px;
    height: 135px;
    bottom: 86px;
    left: 40px;
}

#download-box {
    bottom: 86px;
    right: 40px;
}

#logo2 {
    position: absolute;
    top: 36px;
    left: 36px;
}

/** icon **********************************************************************/

.icon {
    width: 36px;
    height: 36px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 36px !important;
    display: inline-block;
    cursor: pointer;
    z-index: 99;
}

button.icon:hover {
    background-color: #0064b4;
}

button.icon, a.icon {
    background-color: rgba(240, 240, 240, .9);
    border: none;
}

.icon-arrow-left {
    background: url('../img/Buttons/PNG/arrow-left.png');
    background-image: url('../img/Buttons/PNG/arrow-left.png'), none;
}

.icon-arrow-right {
    background: url('../img/Buttons/PNG/arrow-right.png');
    background-image: url('../img/Buttons/PNG/arrow-right.png'), none;
}

.icon-close {
    background: url('../img/Buttons/PNG/close.png');
    background-image: url('../img/Buttons/PNG/close.png');
    background-color: #0064b4 !important;
}

.icon-download {
    background: url('../img/Buttons/PNG/download.png');
    background-image: url('../img/Buttons/PNG/download.png'), none;
}

.icon-info {
    background: url('../img/Buttons/PNG/info.png');
    background-image: url('../img/Buttons/PNG/info.png'), none;
}

.icon-help {
    background: url('../img/Buttons/PNG/help.png');
    background-image: url('../img/Buttons/PNG/help.png'), none;
}

.icon-menu {
    background: url('../img/Buttons/PNG/menu.png');
    background-image: url('../img/Buttons/PNG/menu.png'), none;
}

.icon-overview {
    background: url('../img/Buttons/PNG/overview.png');
    background-image: url('../img/Buttons/PNG/overview.png'), none;
}

.icon-pause {
    background: url('../img/Buttons/PNG/pause.png');
    background-image: url('../img/Buttons/PNG/pause.png'), none;
}

.icon-play {
    background: url('../img/Buttons/PNG/play.png');
    background-image: url('../img/Buttons/PNG/play.png'), none;
}

.icon-share {
    background: url('../img/Buttons/PNG/share.png');
    background-image: url('../img/Buttons/PNG/share.png'), none;
}

.icon-slideshow {
    background: url('../img/Buttons/PNG/slideshow.png');
    background-image: url('../img/Buttons/PNG/slideshow.png'), none;
}

.icon-speed {
    background: url('../img/Buttons/PNG/speed.png');
    background-image: url('../img/Buttons/PNG/speed.png'), none;
}

.icon-archive {
    background: url('../img/Buttons/PNG/archive.png');
    background-image: url('../img/Buttons/PNG/archive.png'), none;
}

.icon-trophy {
    background: url('../img/Buttons/PNG/trophy.png');
    background-image: url('../img/Buttons/PNG/trophy.png'), none;
}

/*.icon-arrow-left:hover { background: url('../img/Buttons/PNG/white/arrow-left.png'); }*/
/*.icon-arrow-right:hover { background: url('../img/Buttons/PNG/white/arrow-right.png');  }*/
.icon-close:hover {
    background: url('../img/Buttons/PNG/white/close.png');
}

.icon-download:hover {
    background: url('../img/Buttons/PNG/white/download.png');
}

.icon-info:hover {
    background: url('../img/Buttons/PNG/white/info.png');
}

.icon-help:hover {
    background: url('../img/Buttons/PNG/white/help.png');
}

.icon-menu:hover {
    background: url('../img/Buttons/PNG/white/menu.png');
}

.icon-overview:hover {
    background: url('../img/Buttons/PNG/white/overview.png');
}

.icon-pause:hover {
    background: url('../img/Buttons/PNG/white/pause.png');
}

.icon-play:hover {
    background: url('../img/Buttons/PNG/white/play.png');
}

.icon-share:hover {
    background: url('../img/Buttons/PNG/white/share.png');
}

.icon-slideshow:hover {
    background: url('../img/Buttons/PNG/white/slideshow.png');
}

.icon-speed:hover {
    background: url('../img/Buttons/PNG/white/speed.png');
}

/*.icon-archive:hover { background: url('../img/Buttons/PNG/white/archive.png'); }*/
/*.icon-trophy:hover { background: url('../img/Buttons/PNG/white/trophy.png'); }*/

.blur {
    background-color: rgba(240, 240, 240, .9);
    /*opacity: 0.9;*/
}

/** overview ******************************************************************/

#wrapper-overview {
    /*position: relative;*/
    height: 100%;
    overflow-y: scroll;
}

#overview img {
    width: 25%;
}

.col {
    float: left;
    width: 25%;
}

.col img {
    width: 100%;
    vertical-align: top;
}

.col-4 {
    width: 25%;
}

.col-3 {
    width: 33.33333333%;
}

.col-2 {
    width: 50%;
}

/** error *********************************************************************/

#error {
    font-size: 20pt;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 50px;
    text-align: center;
}

/** share *********************************************************************/

.twitter-share-button,
#___plus_0 {
    vertical-align: top !important;
    height: auto;
}

/** MOBILE ********************************************************************/

@media screen and (max-width: 480px) {

    #logo, #logo2 {
        top: 20px;
        left: 20px;
    }

    #logo img, #logo2 {
        height: 30px;
    }

    #menu {
        top: 20px;
        right: 20px;
    }

    #share {
        bottom: 20px;
        left: 20px;
    }

    #media {
        bottom: 20px;
        right: 20px;
    }

    .icon {
        width: 30px;
        height: 30px;
        background-size: 30px !important;
    }

    #navigation-box ul {
        width: auto;
    }

    #navigation-box h2,
    #navigation-box .btn {
        font-size: 12px;
    }

    #navigation-box {
        top: 20px;
        right: 20px;
        bottom: 20px;
        left: 20px;
    }
    #navigation-box .wrapper {
        margin:60px 30px 42px;
    }

    .info-box {
        max-width: 280px;
        bottom: 66px;
        left: 20px;
    }

    .share-box {
        width: 230px;
        height: 100px;
        bottom: 66px;
        left: 20px;
    }

    #download-box {
        bottom: 66px;
        right: 20px;
    }

    .box .wrapper {
        margin: 20px;
    }

    .box .btn {
        padding: 2px 6px 0;
    }

    #overview img {
        width: 33.3333333%;
    }

    .toggle-area {
        display: none;
    }

}

@media only screen and (min-width: 320px) and (max-width: 568px) and (-webkit-device-pixel-ratio: 2) and (device-aspect-ratio: 40/71) and (orientation: portrait) {
    .info-box {
        bottom: 66px !important;
    }

    .share-box {
        bottom: 66px !important;
    }

}

@media only screen and (min-width: 320px) and (max-width: 568px) and (-webkit-device-pixel-ratio: 2) and (device-aspect-ratio: 40/71) and (orientation: landscape) {
    .info-box {
        bottom: 150px !important;
    }

    .share-box {
        bottom: 150px !important;
    }
}

/** NO-JS *********************************************************************/

.no-js .box {
    visibility: hidden;
}

.no-js .box:hover {
    visibility: visible;
}

/** PayteR changes **/
html.touch #prev,
html.touch #next {
    opacity: 1 !important;
    display: block !important;
}

/*@media only screen and (max-width: 768px) {*/
    /*#prev,*/
    /*#next {*/
        /*opacity: 1 !important;*/
        /*display: block !important;*/
    /*}*/
/*}*/

.info-box {
    max-width: calc(100% - 80px) !important;
}


.intro-overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.82);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: none;
}
@media screen and (max-width: 480px) {
    .icon-help,
    .intro-overlay {
        display: none;
    }

}
.intro-item {
    position: absolute;
}
.intro-previous-picture {
    background-image: url(../img/tips/tip_previous_pictures.png);
    height: 34px;
    width: 202px;
    top: 50%;
    margin-top: -17px;
    left: 45px;
}
.intro-next-picture {
    background-image: url(../img/tips/tip_next_picture.png);
    height: 34px;
    width: 176px;
    top: 50%;
    margin-top: -17px;
    right: 45px;
}
.intro-download-gallery {
    background-image: url(../img/tips/tip_download_gallery.png);
    height: 103px;
    width: 147px;
    bottom: 80px;
    right: 35px;
}
.intro-gallery-overview {
    background-image: url(../img/tips/tip_gallery_overview.png);
    width: 198px;
    height: 50px;
    bottom: 80px;
    right: 100px;
}
.intro-slideshow-controls {
    background-image: url(../img/tips/tip_slideshow_controls.png);
    height: 34px;
    width: 228px;
    bottom: 42px;
    right: 168px;
}
.intro-share-options {
    background-image: url(../img/tips/tip_share_options.png);
    height: 104px;
    width: 123px;
    bottom: 81px;
    left: 44px;
}
.intro-show-infos {
    background-image: url(../img/tips/tip_show_infos.png);
    height: 52px;
    width: 137px;
    bottom: 79px;
    left: 102px;
}
.intro-switch-gallery {
    background-image: url(../img/tips/tip_switch_gallery.png);
    height: 34px;
    width: 208px;
    right: 79px;
    top: 43px;
}
.intro-headline {
    background-image: url(../img/tips/tip_headline.png);
    font-family: Verdana;
    text-transform: uppercase;
    background-repeat: no-repeat;
    padding-top: 55px;
    height: 45px;
    width: 329px;
    min-height: 45px;
    background-size: contain;
    background-position: top center;
    left: 50%;
    margin-left: -164px;
    top: 50%;
    margin-top: -50px;
    text-align: center;
}
.intro-headline a{
    display: inline-block;
    color: #fff;
    border: 1px solid #fff;
    padding: 3px 6px;
    text-decoration: none;
}
.intro-headline a:hover{
    background-color: rgba(240, 240, 240, .9);
    border-color: #000;
    color: #000;
}


.badge{
    position: fixed;
    top: 5%;
    left: 5%;
    z-index: 42;
    width: 25%;
    min-width: 150px;
    max-width: 350px;
    -ms-transform: rotate(-15deg);
    -o-transform: rotate(-15deg);
    -webkit-transform: rotate(-15deg);
    -moz-transform: rotate(-15deg);
    transform: rotate(-15deg);
    cursor: pointer;
}

#badgeContainer{
    position: fixed;
    top: 7%;
    left: 7%;
    z-index: 42;
    cursor: pointer;
    background-color: white;
    width: 13rem;
    height: 13rem;
}

#badge,
#innerBadge{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: white;
}

#badge:before,
#badge:after,
#innerBadge:before,
#innerBadge:after{
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    content: "";
    background-color: white;
    z-index: 1;
}

#badge:before{
    -ms-transform: rotate(-72deg);
    -o-transform: rotate(-72deg);
    -webkit-transform: rotate(-72deg);
    -moz-transform: rotate(-72deg);
    transform: rotate(-72deg);
}

#badge:after{
    -ms-transform: rotate(-144deg);
    -o-transform: rotate(-144deg);
    -webkit-transform: rotate(-144deg);
    -moz-transform: rotate(-144deg);
    transform: rotate(-144deg);
}


#innerBadge:before{
    -ms-transform: rotate(-216deg);
    -o-transform: rotate(-216deg);
    -webkit-transform: rotate(-216deg);
    -moz-transform: rotate(-216deg);
    transform: rotate(-216deg);
}

#innerBadge:after{
    -ms-transform: rotate(-288deg);
    -o-transform: rotate(-288deg);
    -webkit-transform: rotate(-288deg);
    -moz-transform: rotate(-288deg);
    transform: rotate(-288deg);
}

#badgeContent{
    overflow: hidden;
    border-radius: 100%;
    background-color: #0064af;
    color: white;
    text-align: center;
    position: absolute;
    top: -8%;
    left: -8%;
    z-index: 2;
    -ms-transform: rotate(-15deg);
    -o-transform: rotate(-15deg);
    -webkit-transform: rotate(-15deg);
    -moz-transform: rotate(-15deg);
    transform: rotate(-15deg);
    width: 116%;
    height: 116%;
}

#badgeContent:after{
    background-color: white;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    content: "CLOSE";
    display: block;
    width: 100%;
    height: 100%;
    z-index: 3;
    position: relative;
    top: 1rem;
    padding-top: 0.5rem;
    -moz-transition: top 0.25s 0s ease-in-out;
    -webkit-transition: top 0.25s 0s ease-in-out;
    transition: top 0.25s 0s ease-in-out;
}

#badge:hover #badgeContent:after{
    top: -1.5rem;
}

#badgeContent span{
    display: inline-block;
    padding: 1rem;
}

#badge--partOne{
    margin-top: 1.5rem;
    font-size: 0.9em;
    border-bottom: 1px solid white;
}

#badge--partTwo{
    /* font-size: 0.9em; */
}

#badge--partThree{
    border-top: 1px solid white;
    font-size: 0.9em;
}


#privacyNotice{
    font-family: Verdana;
    z-index: 99999;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 85, 165, 0.95);
    padding: 2rem;
}

#privacyNotice #privacyNoticeInnerWrapper{
    margin: 0 auto;
    position: relative;
    max-width: 1100px;
}

#privacyNotice #privacyNoticeTextWrapper{
    width: 70%;
    float: left;
}

#privacyNotice #privacyNoticeButtonWrapper{
    width: 20%;
    float: left;
    text-align: right;
}

#privacyNotice h1{
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
    margin: 0 0 0.4rem 0;
}

#privacyNotice p{
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.2;
}

#privacyNotice p a{
    color: #f0f0f0;
    text-decoration: underline;
}

#privacyNotice p a:hover,
#privacyNotice p a:focus{
    text-decoration: none;
}

#privacyNotice #acceptPrivacy{
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 1em;
    color: #fff;
    border: 1px solid #fff;
    background-color: transparent;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

#privacyNotice #acceptPrivacy:hover,
#privacyNotice #acceptPrivacy:focus{
    background-color: #fff;
    color: #0062af;
}

