body, canvas{
    margin: 0px 0px;
    padding: 0px 0px;
}
canvas{
    /* fix outline and gaps */
    outline: none;
    position: fixed;
}
html,body{
    font-family: Open Sans; 
    overflow: hidden; /*stop mac over drag*/
}


.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.can_select {
  -webkit-touch-callout: all; /* iOS Safari */
    -webkit-user-select: all; /* Safari */
     -khtml-user-select: all; /* Konqueror HTML */
       -moz-user-select: all; /* Old versions of Firefox */
        -ms-user-select: all; /* Internet Explorer/Edge */
            user-select: all; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
/* bottom info */
.btm_infobox {
    margin: 0px;
    padding-left: 10px;
    padding-right: 10px;
    
    position: absolute;
    /* width: 200px; */
    /*height: 60px;*/
    bottom: 25px;
    left: 50%;
    transform: translate(-50%,0);
    color: #fff;
    background: rgba(23,167,209,.95) !important;
    background-color: rgba(23,167,209,.95) !important;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 5px;
    
    display: none;
    opacity: 0;
    transition: opacity 1s;
}
.btm_infobox.visible{
    display: block;
    opacity: 1;
}

a.boxclose{
    float:right;
    margin-top:-12px;
    margin-right:-20px;
    cursor:pointer;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 30px;
    background: #605F61;
    font-size: 31px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 11px 3px;
    text-decoration: none;
}

.boxclose:before {
    content: "\00d7"; /*×*/
}
/* dialog */
/* coin info */
.pop{
    font-family: Open Sans; 
    position: absolute;
    width: 90%;
    max-width: 500px;
    max-height: 90%;
    z-index: 5;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    
    opacity: 0;
    display: none;
    
    transition: opacity 1s;
}
.pop h3{
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    border-radius: 2px;
    background: rgba(23,167,209,.75);
    width: 80%;
    padding: 5px;
    margin: 0px auto;
    text-align: center;
}
.pop p{
    text-align: justify;
    overflow: auto;
}

.pop_info{
    color: #fff;
    
    border: 2px solid #fff;
    border-radius: 2px;
    
}
.pop_info_inner{
    margin: 5px;
    padding: 10px;
    background: rgba(23,167,209,.75);/*#17A7D1*/
}

.pop img{

}
.pop .pop_img{
    display: block;
    margin: 10px auto;
    width: 100px;
    height: 100px;
}
@media screen and (max-width:930px){
    /*700*/
    .pop p{
        max-height: 100px;
    }
    .pop .pop_img{
        display: block;
        margin: 10px auto;
        width: 50px;
        height: 50px;
    }
}
.pop_button{
    display: block;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 2px;
    width: 80%;
    margin: 0px auto;
    text-align: center;
    max-width: 200px;
    text-decoration: none;
    font-weight: 600;
    padding: 10px;
}
.pop_button:hover{
    color: rgb(22,167,209);
    background-color: #fff;
}


.pop.visible{
    display: block;
    opacity: 1;
}


/* infobox Popup */
.infobox{
    border: 2px solid #fff;
    margin: 0px;
    padding: 0px;

    font-family: Open Sans; 
    position: absolute;
    
    width:90%;
    max-width: 500px;
    max-height: 90%;

    z-index: 5;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    
    opacity: 0;
    display: none;
    
    transition: opacity 1s;
}
.infobox.visible{
    display: block;
    opacity: 1;
}
.infobox_content{
    border-top: 2px solid #fff;
    margin-top:32px;
    /* background-color:#000;*/ /* no color transparent box*/
    display: none;
}
.infobox_content.active{
    display: block;
}

.infobox_img{
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    display: block;
}
.infobox_imgbox{
    background-color: #000;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
}
.infobox_text, .infobox_text_large{
    text-align: justify;
    overflow: auto;
    margin: 0px;
    padding: 10px;
    color: #fff;
    background-color:#e46a8b;
    /*background: rgba(213,96,76,.85);*/ /* override */
    max-height: 180px;
}
.infobox_text{
    border-top: 2px solid #fff;
}
.infobox_text h3{
    text-align: left;
    margin:0px;
    padding:0px;
}
a.infoboxclose{
    float:right;
    margin-top:5px;
    margin-right:5px;
    cursor:pointer;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 30px;
    background: #e46a8b;
    /* background: rgba(213,96,76,.75); */ /* override */
    font-size: 31px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 11px 3px;
    text-decoration: none;
}
.infoboxclose:before {
    content: "\00d7"; /*×*/
}
.infobox .prev,.infobox .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  
  margin-top: -22px;
  padding: 16px;
  color: #ffd678;
  font-weight: bold;
  font-size: 48px;
  transition: 0.6s ease;
  
  border-radius: 0 3px 3px 0;
  border-radius: 3px;
  width: auto;
  
  user-select: none;
  width: 50px;
  height: 50px;
  background-image: url(./img/arrow_left_pink.png);
  background-size:contain;
  background-repeat:no-repeat;
  background-position: center center;
}
.infobox .prev{
    margin-left:-100px;
}
.infobox .next{
    background-image: url(./img/arrow_right_pink.png);
    right: 0;
    margin-right:-100px;
    border-radius: 3px 0 0 3px;
    border-radius: 3px ;
}
@media screen and (max-width:930px){
    .infobox_img{
        height: 200px;
    }
    .infobox_imgbox{
        height: 200px;
    }
    .infobox_text{
        max-height: 50px;
    }
    .infobox_text_large{
        max-height: 250px;
    }
    .infobox .prev,.infobox .next {
        font-size: 16px;
        width: 36px;
        height: 36px;
    }
    .infobox .prev{
        margin-left:-75px;
    }
    .infobox .next{
        margin-right:-75px;
    }
}
