html,body{
    padding:0px;
    margin:0px;
    height:100%;
    width:100%;
    overflow:hidden;
    font-size:21px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -o-user-select: none;
}
body{
    color:black;
}
.d-cont{
    
    width: 100%;
    height: 100%;
    max-width: 1200px;
    max-height: 800px;
    position: relative;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    overflow:auto;
}
.d-cont > .body{
    position:relative;
    width:100%;
    height:100%;
}

.d-box {
    position: relative;
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%,-50%); */
    max-width: 900px;
    width: 98%;
    text-align: center;
    display: none;
    margin: 90px auto 0 auto;
}
.d-box > .body{
    position:relative;
    width:100%;
    height:100%;
}
.d-box > .body > .content{
    position: relative;
    padding: 20px;
    border: 5px solid #000000;
    margin-bottom: 20px;
    color: #000000;
    border-radius: 10px;
}

.d-box > .body > .footer{
    text-align:right;
}

.d-ins{
    font-size:20px;
    text-align:left;
}

.d-ins .ins-img{
    width:auto;
    height:100px;
    margin:0px 10px;
}

.d-chart-box{
    position:fixed;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    max-width:900px;
    width:98%;
    text-align:center;
    display:none;
}
.d-chart-box > .body{
    position:relative;
    width:100%;
    height:100%;
}
.d-chart-box > .body > .content, .d-chart-box > .body > .chart{
    position:relative;
    padding:20px;
    border:5px solid #000000;
    margin-bottom:20px;
    color:#000000;
    border-radius: 10px;
    text-align:left;
}
.d-chart-box > .body > .chart{
    min-height: 350px;
}
#chart3,#chart4{
    height:290px;
    width:100%;
}

.d-chart-box > .body > .footer{
    text-align:right;
}

canvas{
    margin-bottom:10px;
}

.d-game {
    position: relative;
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%,-50%); */
    max-width: 900px;
    width: 98%;
    text-align: center;
    display: none;
    margin: 90px auto 0 auto;
}
.d-game > .body{
    position:relative;
    width:100%;
    height:100%;
}
.d-game > .body > .header{
    position: relative;
    padding: 20px;
    border: 5px solid #000000;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 35px;
    font-weight: 700;
}
.d-game > .body > .target{
    position:relative;
    padding:20px;
    border:5px solid #000000;
    margin-bottom:20px;
    border-radius: 10px;
    height:auto;
    min-height:500px;
    max-height: 650px;
    overflow-y: auto;
    line-height: 1.3;
    padding-bottom: 0px!important;
}
/* .d-game > .body > .target > .content{
    position:relative;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    height:100%;
    width:100%;
    padding:10px;
    max-width:500px;
    max-height:200px;
} */

.d-game > .body > .target > .content > img{
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%); 
    max-width:100%;
    max-height:100%;   
}

.d-game > .body > .target .d-countdown{
    display:none;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
    font-size: 25px;
    width: 100%;
    padding: 10px;
}
.d-game > .body > .target .d-countdown > .title{
    font-weight:500;
}
.d-game > .body > .target .d-countdown > .count{
    font-weight:700;
    font-size:30px;
}

.d-game > .body > .footer{ 
    text-align:right; 
}
.d-game > .body > .footer > button{
    min-width:200px;
} 
.d-notify{
    position: fixed;
    width: 100%;
    font-size: 35px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-weight: 500;
}


.d-cont.d-scroll{
    max-height: unset;
    position: relative;
    transform: translate(-50%,0%);
    top: 0px;
    overflow:auto;
    width: 100%;
    max-width: unset;
}
.d-cont.d-scroll > .body{
    padding:10px;
}

.d-cont.d-scroll .d-box{
    position:relative;
    top:70px;
    transform: translate(-50%,0%);  
    margin:0px 0px;
}
.d-cont.d-scroll .d-game{
    position:relative;
    top:70px;
    transform: translate(-50%,0%);  
    margin:0px 0px;
}
.d-cont.d-scroll .d-chart-box{
    position:relative;
    top:70px;
    transform: translate(-50%,0%);  
    margin:0px 0px;
}


.d-progress{
    border: none;
    position: fixed;
    top: 0px;
    width: 100%;
    height: 5px;
    z-index:9999;
    background: #86888b;
}

.d-progress::-webkit-progress-value {
  background: #86888b;
}

.d-progress::-moz-progress-bar {
  background: #86888b;
}
.d-progress::-webkit-progress-value {
  background: #86888b;
}
.d-progress::-webkit-progress-bar {
  background: #dddddd;
}

.d-header {
    position: fixed;
    top: 0px;
    font-size: 30px;
    font-weight: 700;
    background: black;
    width: 100%;
    color: white;
    padding: 10px;
    text-align: center;
    z-index: 9998;
}


.d-wrong{
    color:rgba(0,0,0,.5);
}

@media only screen and (max-width: 1000px) {
    .d-ins .ins-img{
        width:auto;
        height:80px;
        margin:0px 5px;
    }  
    
    .d-game > .body > .header{
        padding: 10px;
        border: 5px solid #000000;
        margin-bottom: 10px;
        border-radius: 10px;
        font-size: 20px;
    }    
    .d-game > .body > .target {
        padding: 10px;
        border: 5px solid #000000;
        margin-bottom: 10px;
        height: 300px;
        max-height: unset;
    }   
    
    
    .d-game > .body > .footer > button{
        min-width:40%;
    }     
    
    
    
}

.browserCont{
    position:relative;
    width:100%;
    text-align:center;
    margin:20px 0px;
}
.browserCont > .browser{
    position:relative;
    width:50px;
    height:auto;
    margin:10px;
}
.browserCont > .browser > img{
    width:50px;
    height:auto;
}

body > div.d-cont > div > div.d-game > div > div.target > div.choices > table > tbody > tr:nth-child(1) > td:nth-child(3){
    text-align:center!important;
}

body > div.d-cont > div > div.d-game > div > div.target > div.content{
    text-align: justify;
    text-align-last: left;
}
button, input, optgroup, select, textarea {
    margin-top: 1px;
}

body > div.d-cont > div > div.d-game > div > div.target > div.results{
    margin-top: 20px;
}

body > div.d-cont > div > div.d-game > div > div.target > div.text{
    text-align: justify;
    text-align-last: left;
    margin-top: 20px;
}

body > div.d-cont > div > div.d-game > div > div.target > div.thank{
    margin: 100px auto;
}
body > div.d-cont > div > div.d-game > div > div.target > div.thank > h4{
    padding-top: 30px;
}
input{
    margin-top:0px!important;
    border-top: 1px solid black;
}