/*****************************************************/


/* Copyright (c) 2011 OVASIO APS All rights reserved */


/*****************************************************/

body, ul, li, p {
    padding: 0;
    margin: 0;
    border: 0;
}

html {
    overflow: hidden;
}

body {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f0f0f0;
    font-size: 12px;
    -webkit-user-select: none;
    -webkit-text-size-adjust: none;
    -ms-user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    font-family: helvetica;
    overflow: hidden;
}

.hidden {
    display: none;
}

.no-visibility {
    visibility: hidden;
}

#top-bar {
    -webkit-user-select: none;
    -ms-user-select: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45px;
    line-height: 45px;
    opacity: 1;
    color: #fff;
    font-family: helvetica;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    background-color: #464646;
    z-index: 10000;
    box-shadow: 0px 3px 5px rgba(136, 136, 136, 0.7);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#bottom-bar {
    -webkit-user-select: none;
    -ms-user-select: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    line-height: 45px;
    opacity: 1;
    color: #fff;
    font-family: helvetica;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    /*border-top: 1px solid #532500;
    border-bottom: 1px solid #111;*/
    background-color: #464646;
    z-index: 20000;
    padding: 0 10px 0 10px;
    box-shadow: 0px -3px 5px rgba(136, 136, 136, 0.7);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#bottom-bar-features {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#nav-bar {
    -webkit-user-select: none;
    -ms-user-select: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    line-height: 45px;
    opacity: 1;
    color: #333333;
    font-family: helvetica;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    z-index: 20000;
    padding: 0 10px 0 10px;
}

.icon.close {
    position: absolute;
    height: 20px;
    width: 20px;
    top: 4px;
    right: 4px;
    /*background: url(../images/close.png) no-repeat 10px 10px;*/
    cursor: pointer;
    text-align: center;
}

.icon.close > svg {
    width: 15px;
    height: 15px;
    stroke: #888888;
    stroke-width: 1px;
    stroke-linecap: square;
    vertical-align: middle;
}

.bar {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
}

.bar .text {
    padding: 0 10px;
}

.bar .icons {
    text-align: right;
    flex-grow: 1;
    flex-basis: 33%;
    line-height: 0px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.bar .icons .icon > svg {
    width: 24px;
    height: 24px;
    stroke: none;
    fill: #ffffff;
}

.bar .icon {
    height: 45px;
    width: 50px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.bar .icon > svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    fill: transparent;
    stroke: #505050;
    stroke-width: 2px;
    stroke-linecap: square;
}

.bar .icon:active > svg {
    transform: scale(1.2);
}

#bottom-bar .icon > svg {
    stroke: #ffffff;
}

.bar .icon.logo {
    flex-grow: 1;
    flex-basis: 33%;    
    height: 25px;
    margin: 8px;
    padding: 0;
}

.bar .icon.logo img {
    height: 25px;
}

#bottom-bar .icon.index > svg {
    stroke: none;
    fill: #ffffff;
    width: 32px;
    height: 32px;
}

#bottom-bar .icon.settings > svg {
    stroke: none;
    fill: #ffffff;
    width: 28px;
    height: 28px;
}

#sharing-menu {
    position: absolute;
    top: -1000px;
    padding: 3px;
    z-index: 9000;
    /*background: -webkit-gradient(linear, 20% 0, 80% 100%, color-stop(0, #AAAAAA), color-stop(1, #777777));
    background: linear-gradient( #AAAAAA, #777777 80%);*/
    background: #f0f0f0;
    box-shadow: 2px 2px 5px rgba(136, 136, 136, 0.7);
    border: 1px #aaaaaa solid;
    overflow: hidden;
    display: none;
}

#sharing-menu .icon {
    width: 34px;
    height: 34px;
    margin: 1px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#sharing-menu .icon > svg {
    width: 24px;
    height: 24px;
    stroke: none;
    fill: #505050;
}

.sharing-row {
    text-align: center;
}

#sharing-mail-window-overlay {
    position: absolute;
    z-index: 60000;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba( 0, 0, 0, 0.5);
    display: none;
}

#sharing-mail-window {
    position: absolute;
    z-index: 20000;
    /*background: -webkit-gradient(linear, 20% 0, 80% 100%, color-stop(0, #AAAAAA), color-stop(1, #777777));
    background: linear-gradient( #AAAAAA, #777777 80%);*/
    background: #f0f0f0;
    box-shadow: 2px 2px 5px rgba(136, 136, 136, 0.7);    
    padding: 5px;
    border: 1px solid #aaaaaa;
    width: 300px;
    height: auto;
}

.sharing-mail-window-item {
    padding: 2px 0;
}

.sharing-mail-window-item>span {
    display: inline-table;
    text-align: left;
    vertical-align: top;
    padding-top: 2px;
    width: 100px;
}

.sharing-mail-window-item>input, .sharing-mail-window-item>textarea {
    display: inline;
    width: 150px;
    font-family: helvetica;
    font-size: 12px;
}

#sharing-mail-window-submit {
    background: transparent;
    height: 35px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    padding-left: 20px;
    padding-right: 20px;
    transition: background 200ms;
    -webkit-appearance: none;
}

#sharing-mail-window-submit:active {
    background: rgba(0,0,0,0.1);
}

#sharing-mail-window-submit {
    /*float: right;*/
    margin: 0 auto;
    display: block;
}

#sharing-mail-window-result {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
    margin: 3em 0;
}

#spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    width: 100px;
    height: 80px;
    margin-left: -50px;
    margin-top: -40px;
    z-index: 50000;
    background-color: #333;
    opacity: 0.8;
    border-radius: 8px;
    box-shadow: 2px 2px 5px #000;
    color: #fff;
    font-size: 10px;
    padding-top: 5px;
}

#spinnerTarget {
    position: relative;
    height: 50px;
}

#wrapper {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    touch-action: none;
    -ms-touch-action: none;
}

#scroller {
    position: relative;
    /*	-webkit-touch-callout:none;*/
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    padding: 0;
}

#scroller img {
    display: block;
}

#scroller ul {
    overflow: hidden;
}

#scroller ul li {
    display: block;
    float: left;
    width: 320px;
    height: 420px;
    margin-right: 40px;
    text-align: center;
}

#scroller ul li>div {
    margin: 0;
    padding: 0;
}

#scroller ul li>div>img {
    z-index: 500;
    display: inline-block;
    margin: 0 auto;
}

#scroller ul li>div>span {
    display: inline-block;
    text-align: right;
    width: 50%;
}

#scroller ul li>div>span.right {
    text-align: left;
}

#slidemenu {
    position: absolute;
    width: 100%;
    bottom: 0px;
    transform: translate3d(0, 1000px, 0);
    -webkit-transform: translate3d(0, 1000px, 0);
    -ms-transform: translate3d(0, 1000px, 0);
    -moz-transform: translate3d(0, 1000px, 0);
    left: 0;
    z-index: 30000;
    background: #f0f0f0;
    display: none;
}

body.landscape #slidemenu {
    position: static;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    -moz-transform: none;
}

body.landscape #slidemenu .wrapper {
    position: static;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    -moz-transform: none;
}

body.landscape #slidemenu .handle {
    top: auto;
    bottom: 0;
    z-index: 99;
}

#slidemenu .handle {
    -webkit-user-select: none;
    -ms-user-select: none;
    position: absolute;
    z-index: 1000;
    top: 0px;
    left: 0;
    width: 100%;
    height: 45px;
    line-height: 45px;
    opacity: 1;
    color: #333333;
    font-family: helvetica;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
}

#slidemenu .wrapper {
    width: 100%;
    height: 100%;
    bottom: 0px;
    position: relative;
    /* On older OS versions "position" and "z-index" must be defined, */
    z-index: 1;
    /* it seems that recent webkit is less picky and works anyway. */
    overflow: hidden;
    /*	background:#aaa url(wrapper-bg.png);*/    
    -ms-touch-action: none;
}

#slidemenu .scroller {
    width: 2400px;
    float: left;
    padding: 0;
    margin-top: 45px;
}

#slidemenu .scroller ul {
    list-style: none;
    display: block;
    height: 100%;
    width: 100%;
    margin: 0;
    text-align: left;
}

#slidemenu .scroller ul:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#slidemenu .scroller ul li {
    display: block;
    float: left;
    overflow: hidden;
    margin-top: 10px
}

#slidemenu .scroller ul li>div.center {
    margin: 0 auto;
}

#slidemenu .scroller ul li>div.center>div {
    float: left;
    margin-top: 2px;
    margin-right: 10px;
    margin-left: 10px;
}

#slidemenu .scroller ul li>div.center>div:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#slidemenu .scroller ul li>div.center>div>span {
    display: inline-block;
}

#slidemenu .scroller ul li>div.center>div>span.left {
    text-align: right;
}

#slidemenu .scroller ul li>div.center>div>span.right {
    text-align: left;
}

#slidemenu .scroller ul li>div.center>div>span.dummy {
    height: 100%;
}

#slidemenu .scroller ul li>div.center>div span.text {
    margin-top: 2px;
    font-size: 12px;
    display: block;
    text-align: center;
    line-height: 12px;
}

#slidemenu .scroller ul li img {
    display: block;
    background: #fff;
    cursor: pointer;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.2);
}

#slidemenu .scroller ul li img:hover {
    box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.5);
}

#zoom-bar {
    display: none;
}

#flashReminder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 50000;
    justify-content: center;
    align-items: center;
}

#flashReminderContainer {
    background-color: white;
    padding: 30px;
    border: 1px black solid;
    border-top: 0;
    border-radius: 0px 0px 5px 5px;
    box-shadow: 1px 1px 5px grey;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 140px;
    font-size: 16px;
}

#flashReminder button {
    width: 100px;
    padding: 5px;
}

#privacyConsent {
    width: 60%;
    background-color: white;
    position: absolute;
    left: 20%;
    bottom: 10px;
    z-index: 20000;
    box-shadow: 2px 2px 4px grey;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    font-size: 14px;
    box-sizing: border-box;
    transition: bottom 400ms, visibility 0ms 0ms;
}

#privacyConsent.hidden {
    bottom: -150px;
    visibility: hidden;
    transition: bottom 400ms, visibility 0ms 400ms;
}

#privacyConsentIcon {
    width: 48px;
    height: 48px;
    fill: #4169E1;    
}
#privacyConsentText {
    height: 100%;
    width: 100%;
    margin: 0 10px;
}
#privacyAcceptButton {
    flex-shrink: 0;
    border: none;
    background: transparent;
    height: 100%;
    min-height: 40px;
    cursor: pointer;
}

#settingsmenu {
    position: absolute;
    width: 60%;
    left: 20%;
    bottom: 0px;
    transform: translate3d(0, 1000px, 0);
    -webkit-transform: translate3d(0, 1000px, 0);
    -ms-transform: translate3d(0, 1000px, 0);
    -moz-transform: translate3d(0, 1000px, 0);
    z-index: 30000;
    background: #f0f0f0;
    display: none;
    box-shadow: 2px -2px 5px rgba(136, 136, 136, 0.7)
}

#settingsmenu .handle {
    -webkit-user-select: none;
    -ms-user-select: none;
    position: absolute;
    z-index: 1000;
    top: 0px;
    left: 0;
    width: 100%;
    height: 45px;
    line-height: 45px;
    opacity: 1;
    color: #333333;
    font-family: helvetica;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
}

#settingsmenu .settings {
    padding: 65px 10px 30px 10px;
    text-align: center;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#settingsmenu label {
    text-align: left;
}

#settingsmenu input {
    margin-left: 1em;
    vertical-align: middle;
}

#settingsmenu label, #settingsmenu input {
    cursor: pointer;
    
}

#settinsmenu #tracking {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    #privacyConsent {
        width: 90%;
        left: 5%;
    }
    #settingsmenu {
        width: 90%;
        left: 5%;
    }
}

@media (max-width: 450px) {
    .bar .icon.logo {
        display: none;
    }
}