body,
html {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-size: 20px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -o-user-select: none
}

body {
    color: #000
}

.d-cont {
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    overflow: auto
}

.d-cont,
.d-cont>.body {
    width: 100%;
    height: 100%
}

.d-cont>.body {
    position: relative
}

.d-box {
    position: relative;
    /* top: 50%; */
    /* left: 50%; */
    /* -webkit-transform: translate(-50%,-50%); */
    /* transform: translate(-50%,-50%); */
    max-width: 900px;
    /* width: 98%; */
    text-align: center;
    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 #000;
    margin-bottom: 20px;
    color: #000;
    border-radius: 10px
}

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

.d-box-canvas {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 98%;
    text-align: center
}

.d-box-canvas>.body {
    position: relative;
    width: 100%;
    height: 100%
}

.d-box-canvas>.body>.content {
    position: relative;
    border: 5px solid #000;
    margin-bottom: 20px;
    color: #000;
    border-radius: 10px
}

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

.btn,
.btn:active,
.btn:focus {
    background-color: #ddd!important;
    -webkit-box-shadow: 0 0 0 0 rgba(0, 123, 255, .25)!important;
    box-shadow: 0 0 0 0 rgba(0, 123, 255, .25)!important
}

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

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

.d-chart-box {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 98%;
    text-align: center
}

.d-chart-box>.body {
    position: relative;
    width: 100%;
    height: 100%
}

.d-chart-box>.body>.chart,
.d-chart-box>.body>.content {
    position: relative;
    padding: 20px;
    border: 5px solid #000;
    margin-bottom: 20px;
    color: #000;
    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%; */
    /* -webkit-transform: translate(-50%, -50%); */
    /* transform: translate(-50%, -50%); */
    max-width: 900px;
    /* width: 98%; */
    text-align: center;
    margin: 90px auto 0 auto;
}

.d-game>.body {
    position: relative;
    width: 100%;
    height: 100%
}

.d-game>.body>.header {
    font-size: 23px;
    font-weight: 700
}

.d-game>.body>.header,
.d-game>.body>.target {
    position: relative;
    padding: 20px;
    border: 5px solid #000;
    margin-bottom: 20px;
    border-radius: 10px
}

.d-game>.body>.target {
    height: auto;
    max-height: 500px;
    text-align: left
}

.d-game>.body>.target>.content {
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    padding: 10px;
    max-width: 500px;
    max-height: 200px
}

.d-game>.body>.target>.content>img {
    max-width: 100%;
    max-height: 100%
}

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

.d-game>.body>.target .d-countdown {
    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-notify {
    position: fixed;
    width: 100%;
    font-size: 35px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-weight: 500
}

.d-cont.d-scroll {
    max-height: unset;
    position: absolute;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    top: 0;
    overflow: auto;
    width: 100%;
    max-width: unset
}

.d-cont.d-scroll>.body {
    padding: 10px
}

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

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

.d-progress::-moz-progress-bar {
    background: #86888b
}

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

.d-progress::-webkit-progress-bar {
    background: #ddd
}

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

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

.browserCont {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 20px 0
}

.browserCont>.browser {
    position: relative;
    margin: 10px
}

.browserCont>.browser,
.browserCont>.browser>img {
    width: 50px;
    height: auto
}

.col-md-4>span {
    border: 1px solid #d2d2d2;
    padding: 0 15px;
    font-weight: 700;
    cursor: pointer
}

.col-md-4>span.active {
    border: 2px solid red
}

.my-textbox {
    margin-right: 5px
}

.ans-drag,
.my-textbox {
    max-width: 150px;
    border: 1px solid #cecece
}

.ans-drag {
    min-width: 130px;
    min-height: 25px;
    display: inline-block;
    vertical-align: middle
}

.dragChoice {
    max-width: 500px;
    border: 2px solid #cecece;
    left: 50%;
    position: relative;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    margin-top: 3px;
    margin-bottom: 3px;
    min-height: 100px
}

.col-md-6>span {
    border: 1px solid #cecece;
    padding: 0 15px;
    font-weight: 700
}

.list-ans1-drag {
    text-align: center;
    font-weight: 700
}

.errorShow {
    -webkit-transform: translate(-69%);
    transform: translate(-69%)
}

.errorShow,
.successShow {
    position: absolute;
    left: 50%;
    width: 100%;
    font-weight: 700
}

.successShow {
    -webkit-transform: translate(-73%);
    transform: translate(-73%)
}

em {
    font-size: .95rem
}

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

@media only screen and (max-width:780px) {
    .d-header {
        font-size: .9rem
    }
    .content>h1 {
        font-size: 1.5rem
    }
    .body>.header {
        font-size: .9rem
    }
    .body>.target,
    .content>div>div>p,
    .content>ol>li,
    .content>p {
        font-size: .8rem
    }
    .ans-drag {
        min-height: 23px;
        min-width: 115px
    }
    .dragChoice {
        left: 45%;
        -webkit-transform: translate(-40%);
        transform: translate(-40%)
    }
    .col-md-6>span {
        font-size: .8rem
    }
    .errorShow,
    .successShow {
        font-size: .55rem;
        text-align: left;
        width: 65%
    }
}