@import url('https://fonts.googleapis.com/css?family=Lato:400|Roboto+Condensed:400,700');

/* common reset */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
/* END: common reset */

html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: 'Lato', sans-serif;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
}
a {
    color: #333333;
}
/* canvases */
#renderCanvas, #renderAnnotations {
    width: 100%;
    height: calc(100% - 66px);
    position: absolute;
    top: 0;
    left: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
}
#renderAnnotations {
    pointer-events:none;
}
.cursor-pointer-important {
    cursor: pointer !important;
}

/* overlay */
#overlay {
    background: rgba(0,0,0,0.5);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
}

/* annotations */
.annotation {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 10px;
    box-shadow: 0px 5px 24px 0px rgba(0,0,0,0.33);
    display: none;
    width: 200px;
    pointer-events: auto;
    user-select: none;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.904);
}
.annotation::after {
    content: "[click annotation to close]";
    display: block;
    margin: 12px 0 8px 0;
    font-size: 11px;
}

.annotation > h1 {
    margin: 8px;
    font-size: 18px;
}
.annotation > h2 {
    margin: 8px;
    font-size: 18px;
}
.annotation > p {
    margin: 8px;
    font-size: 14px;
}
/*#annoOne { width: 400px; }*/
/*#annoTwo { width: 300px; }*/
/*#annoThree { width: 300px; }*/
.anno-close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    background: url("close_icon.png") no-repeat;
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    /* border: 1px solid rgba(255,255,255,0.8); */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
    pointer-events: auto;
    display: none;
}
.annotation.top > .anno-close-btn {
    top: -1px;
}
.anno-corner-line-svg {
    height: 30px;
    width: 130px;
    position: absolute;
    pointer-events: none;
    bottom: -30px;
    left: -40px;
}

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

    .anno-corner-line-svg {
        height: 75px;
        width: 250px;
        bottom: -75px;
        left: -40px;
    }
}

/* loader */
.loader {
    width: 100%;
    height: calc(100% - 66px);
    position: absolute;
    top: 0;
    left: 0;
    background-color:black;
    background-image: url(preview.jpg);
    background-size: cover;
    background-position: center;
    color: white;
}
.loader-cont {
    display: table;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.loader-text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    height: 100%;
}

/* bottom bar */
.bottom-bar{
    pointer-events: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
    background: #000000;
}

/* footer */
.footer {
    position: absolute;
    left: 0;
    bottom: 0;
}
.footer-logo-link {
    position: absolute;
    display: block;
    left: 11px;
    bottom: 16px;
    height: 35px;
    cursor: pointer;
}
.footer-logo-link > img {
    display: block;
    width: auto;
    height: 100%;
}
.footer-more-info {
    position: absolute;
    margin: 0;
    padding: 0;
    background: rgb(231, 229, 229);
    width: 155px;
    height: 35px;
    bottom: 16px;
    left: 65px;
    transition: opacity .5s ease-in-out;
}

.footer-more-info span {
    position: absolute;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: normal;
    left: 15px;
    top: 6.5px;
}

.footer-more-info:before {
    content: "";
    position: absolute;
    left: -15px;
    top: 9px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 16px solid rgb(231, 229, 229);
    border-bottom: 8px solid transparent;
}

.footer-more-info a {
    text-decoration: underline;
    font-weight: 900;
    color: #000;
    cursor: pointer;
}

/* toolbox */
.toolbox-cont {
    position: absolute;
    bottom: 31px;
    transform: translate(0, 50%);
    right: 0;
    padding: 0px 18px;
}
.toolbox-btn {
    display: block;
    box-sizing: border-box;
    float: left;
    margin-right: 19px;
    overflow: hidden;
    width: 32px;
    height: 32px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
    user-select: none;
}
.toolbox-btn:last-of-type {
    margin: 0 0 0 -4px;
}
@media (max-width: 380px) {
    .toolbox-cont {
        padding: 0px 10px;
    }
    .toolbox-btn {
        margin-right: 10px;
    }
}
@media (max-width: 340px) {
    .toolbox-btn:last-of-type {
        margin-right: -4px;
    }
}

.toolbox-btn img {
    width: 100%;
    height: 100%;
}
/* toolbox menu */
.toolbox-menu {
    position: absolute;
    bottom: 52px;
    right: 0px;
    background: rgba(0, 0, 0, 1.0);
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: white;
    padding: 9px 20px 9px 18px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms;
}
.toolbox-menu.visible {
    visibility: visible;
    opacity: 1;
}
.toolbox-menu-item {
    padding: 5px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    height: 20px;
}
.toolbox-menu-item.radio::before {
    content: " ";
    font-family: monospace;
    width: 21px;
    display: inline-block;
}
.toolbox-menu-item.radio.active::before {
    content: "✓";
}

/* appctrl btn */
.appctrl-btn {
    display: block;
    box-sizing: border-box;
    width: auto;
    height: 39px;
    line-height: 39px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    text-align: center;
    font-size: 15px;
    padding-left: 17px;
    padding-right: 17px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
    user-select: none;
    border: 1px solid rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    margin: 10px 8px 10px 0;
    float: left;
}
.appctrl-btn.toggle {
    padding-right: 50px;
}
.appctrl-btn:last-of-type {
    margin-right: 19px;
}
@media (max-width: 750px) {
    .appctrl-btn, .appctrl-btn:last-of-type {
        margin: 8px 8px 8px 0;
        float: none;
    }
    .appctrl-btn.appctrl-btn.toggle {
        text-align: left;
    }
}
.appctrl-btn img {
    width: 26px;
    height: 26px;
    position: absolute;
    top: 4px;
    left: 9px;
    user-select: none;
}
.appctrl-btn .onoff {
    top: -1px;
    right: -1px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.75);
    background: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    text-align: center;
    height: 39px;
    width: 39px;
    position: absolute;
    user-select: none;
}
/* appctrl select */

.appctrl-select-items {
    visibility: hidden;
    position: absolute;
    width: 220px;
    top: 43px;
    right: -1px;
    box-sizing: border-box;
}
.appctrl-select-i {
    border: 1px solid rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.6);
    box-sizing: border-box;
    margin-top: -1px;
    height: 38px;
}
/* appctrl slider */
.appctrl-slider {
    display: block;
    box-sizing: border-box;
    position: relative;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.5);
    width: 149px;
    height: 28px;
    float: left;
}
.appctrl-slider-range {
    border: none;
    border-radius: 0;
    box-shadow: none;
    outline: none;

    display: block;

    height: 11px;
    width: 129px;
    margin: 7px auto;

    background: -moz-linear-gradient(left, rgb(255,226,182) 0%, rgb(255,255,255) 50%, rgb(134,198,224) 100%);
    background: -webkit-linear-gradient(left, rgb(255,226,182) 0%,rgb(255,255,255) 50%,rgb(134,198,224) 100%);
    background: linear-gradient(to right, rgb(255,226,182) 0%,rgb(255,255,255) 50%,rgb(134,198,224) 100%);
}
.appctrl-slider-range .noUi-handle:before,
.appctrl-slider-range .noUi-handle:after {
    display: none;
}
.appctrl-slider-range .noUi-handle {
    border-radius: 0;
    box-shadow: none;

    outline: none;

    width: 20px;
    height: 28px;
    background: rgba(255,255,255,0.5);
    border: 1px dashed rgba(255,255,255,0.8);
    cursor: pointer;

    right: -10px !important;
    left: auto !important;
    top: -8px !important;
}
