﻿html, body {
    position: relative;
    height: 100%;
}

body {
    position: fixed;
    margin: 0px;
    overflow: hidden;
    background-color: #000000;
    /*background: linear-gradient(-135deg, #E4A972, #9941D8) fixed;*/
    font-family: Verdana, Roboto, 'Droid Sans', '游ゴシック', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'メイリオ', Meiryo, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'ＭＳ Ｐゴシック', 'MS PGothic',sans-serif;
    /*font-family: sans-serif;*/
}

div.watermark {
    position: fixed; /* 親要素からの相対位置 */
    display: inline-block; /* インラインブロック化 */
    white-space: nowrap; /* 折り返ししない       */
    /*font-family: sans-serif;*/
    font-size: calc(15vw); /* 背景透かし文字サイズ */
    font-weight: bold; /* 太字                 */
    color: rgba(255, 255, 255, 0.20); /* 背景透かし文字色     */
    /* 中心寄せ＆角度       */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(315deg);
    z-index: 1;
    visibility: hidden;
}


/* 動作環境表記 */
.sys-requirements {
    position: fixed;
    display: block;
    bottom: 25px;
    padding: 0 30px;
    color: #fff;
    text-align: left;
    white-space: pre-line;
    font-size: 8px;
    font-weight: 300;
}


#loader {
    position: fixed; /* 親要素からの相対位置 */
    /* 中心寄せ＆角度       */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

#hold_over_marker {
    position: fixed;
    display: inline-block;
    width: 75%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    visibility: hidden;
}


@media screen and (orientation: landscape) {

    #hold_over_marker {
        position: fixed;
        display: inline-block;
        width: 55%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        visibility: hidden;
    }
}



#msg_sleep_mode {
    position: fixed;
    display: inline-block;
    width: 75%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    visibility: hidden;
}

@media screen and (orientation: landscape) {

    #msg_sleep_mode {
        position: fixed;
        display: inline-block;
        width: 45%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        visibility: hidden;
    }
}





#save_picture {
    background-color: #ffffff;
    border: 1px dashed #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 0px 5px #ffffff;
    padding: 10px;
    position: fixed;
    display: inline-block;
    white-space: nowrap;
    /*font-family: sans-serif;*/
    font-size: calc(4.5vw);
    font-weight: bold;
    color: rgba(0, 0, 0, 0.70);
    top: 18%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    visibility: hidden;
}

    #save_picture::before {
        content: '';
        position: absolute;
        border: 15px solid transparent;
        border-top: 20px solid #ffffff;
        border-bottom: 0;
        top: 100%;
        left: 15px;
        -webkit-transform: translateY(6px);
        transform: translateY(6px);
    }

#permit_cam {
    background-color: #ffffff;
    border: solid 3px #6091d3;
    border-radius: 8px;
    box-shadow: 0px 0px 0px 5px #ffffff;
    padding: 0.2em;
    position: fixed;
    display: inline-block;
    white-space: nowrap;
    /*font-family: sans-serif;*/
    font-size: calc(4vw);
    font-weight: bold;
    color: #6091d3;
    top: 14%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

#loading_message {
    position: absolute; /* 親要素からの相対位置 */
    display: inline-block; /* インラインブロック化 */
    white-space: nowrap; /* 折り返ししない       */
    /*font-family: sans-serif;*/
    font-size: calc(4vw); /* 背景透かし文字サイズ */
    font-weight: bold; /* 太字                 */
    color: rgba(255, 255, 255, 0.70); /* 背景透かし文字色     */
    /* 中心寄せ＆角度       */
    top: 100px;
    /*left: 50%;*/
    transform: translate(-30%, 0%);
    z-index: 100;
    /*margin: 0 auto;*/

}


#backButton {
    /* 親要素からの相対位置 */
    /*position: fixed;*/
    /* インラインブロック化 */
    /*display: inline-block;*/
    /* 折り返ししない       */
    /*white-space: nowrap;*/
    /*font-family: sans-serif;*/
    /* 背景透かし文字サイズ */
    /*font-size: calc(5vw);*/
    /* 太字                 */
    /*font-weight: bold;*/
    /* 背景透かし文字色     */
    /*color: rgba(255, 255, 255, 0.70);*/
    /* 中心寄せ＆角度       */
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    /*visibility: hidden;*/
    /*z-index: 4;*/
    /*hidden: true;*/
}

#shutterButton {
    /* 親要素からの相対位置 */
    /*position: fixed;*/
    /* インラインブロック化 */
    /*display: inline-block;*/
    /* 折り返ししない       */
    /*white-space: nowrap;*/
    /*font-family: sans-serif;*/
    /* 背景透かし文字サイズ */
    /*font-size: calc(5vw);*/
    /* 太字                 */
    /*font-weight: bold;*/
    /* 背景透かし文字色     */
    /*color: rgba(255, 255, 255, 0.70);*/
    /* 中心寄せ＆角度       */
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    /*visibility: hidden;*/
    /*z-index: 4;*/
}
#view_date {
    position: fixed; /* 親要素からの相対位置 */
    display: inline-block; /* インラインブロック化 */
    white-space: nowrap; /* 折り返ししない       */
    /*font-family: sans-serif;*/
    font-size: calc(4vw); /* 背景透かし文字サイズ */
    font-weight: bold; /* 太字                 */
    color: rgba(255, 255, 255, 0.70); /* 背景透かし文字色     */
    /* 中心寄せ＆角度       */
    top: 16px;
    left: 16px;
    transform: translate( 0%, 0%);
    z-index: 5;
    margin: 0 auto;
}


/* ############ */
/* ############  overlay_snapshot  ###############  */
/* ############ */

#overlay_snapshot {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    opacity: 0;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    transition: all 0.5s ease-in-out;
    z-index: 100;
}

    #overlay_snapshot.active {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

#popup_iframe_snapshot {
    /*padding: 15px;
    text-align: center;*/
    position: fixed;
    top: 50%;
    left: 50%;
    /*width: 0;*/
    /*max-width: 600px;*/
    height: 0;
    opacity: 0;
    -webkit-transform: translate(-50%,100%);
    transform: translate(-50%,100%);
    transition: all 0.5s ease-in-out;
    background-color: #ffffff;
    box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    padding: 15px 15px 0px 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    z-index: 200;
}

    #popup_iframe_snapshot.active {
        /*box-shadow: 0px 0px 20px 20px #5bc0de inset;*/
        width: 340px;
        /* max-width: 340px;*/ /*Point*/
        height: 340px; /*Point*/
        opacity: 1;
        -webkit-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }


    #popup_iframe_snapshot #close_snapshot {
        position: fixed;
        top: 6px;
        right: 6px;
        width: 1em;
        height: 1em;
        background-color: #000000;
        border: none;
        border-radius: 50%;
        color: #808080;
        font-size: 20px;
        line-height: 20px;
        -webkit-appearance: none;
        outline: none;
        padding: 0;
        cursor: pointer;
        z-index: 1;
    }

#downLoadImage {
    position: absolute;
    left: 0px;
    top: 0px;
    filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.6));
}

#popup_iframe_save_pic {
    margin: 0px;
    border: 0px;
    padding: 10px;
    position: absolute;
    display: inline-block;
    white-space: nowrap;
    /*font-family: sans-serif;*/
    font-size: calc(3vw);
    font-weight: bold;
    color: rgba(0, 0, 0, 0.70);
    bottom: 0px;
    left: 50%;
    -webkit-transform: translateY( 0%) translateX(-50%);
    transform: translateY( 0%) translateX(-50%);
    visibility: hidden;
}

/* ############ */


/* ############ */
/* ############  dat.GUIレイアウト  ###############  */
/* ############ */


#iframe-goes-in-here {
    position: absolute;
    width: 50%;
    height: 200px;
    background-color: #000000;
}

    #iframe-goes-in-here iframe {
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 1;
    }

#my-gui-container {
    position: absolute;
    /*dat.GUI位置調整*/
    top: 5px;
    left: 10px;
    z-index: 10;
}

/* ############ */

