@font-face {
    font-family: BalooThambi;
    src: url("../fonts/BalooThambi-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: AURORA;
    src: url("../fonts/UTM AURORA.TTF");
    font-weight: normal;
    font-style: normal;
}
@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,400italic,300,100italic,100,300italic,700,900);
body {
    font-family: "Roboto", Tahoma, Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #222222;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section,
time, mark, audio, video, button {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    background:transparent;
}
.container-game {
    
}
.content-game-detail {
    max-width: 420px;
    min-height: 680px;
    margin: 0 auto;
    background-color: #faf1d2;
}
.start-game {
    max-width: 420px;
    margin: 0 auto;
}
.start-game img {
    width: 100%;
    cursor: pointer;
}
.container-question {
    background-color: #faf1d2;
    padding-top: 5px;
}
.question-header, .summary-header {
    position: relative;
    background: #f3811c;
    border-bottom: 3px solid #b65b0f;
    height: 56px;
    line-height: 56px;
    font-family: BalooThambi;
    font-size: 24px;
    padding-left: 81px;
    padding-right: 50px;
    color: #fbd9ba;
}
.question-header span, .summary-header span {
    color: #fff;
}
.question-header .box-icon, .summary-header .box-icon {
    position: absolute;
    left: 25px;
    font-size: 42px;
    line-height: 56px;
    color: #fff;
}
.question-header .box-left {
    float: left;
}
.question-header .box-right {
    float: right;
}
.question-header .point, .question-header .current-question {
    font-size: 30px;
}
.question-body {
    padding: 18px 15px;
}
.question-body .box-ques-content {
    font-weight: bold;
    min-height: 80px;
    margin-bottom: 15px;
}
.question-body .box-ques-content img, .question-body .box-ques-content audio {
    display: block;
    margin: 0 auto;
    margin-top: 12px;
    max-width: 100%;
}
.box-list-answer {
}
.box-answer, .box-result {
    position: relative;
    background: #f39221;
    background: linear-gradient(to right, #f39221,#f6da6f,#f39221);
    background: -webkit-linear-gradient(right, #f39221,#f6da6f,#f39221); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #f39221,#f6da6f,#f39221); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #f39221,#f6da6f,#f39221); /* For Firefox 3.6 to 15 */
    height: 50px;
    border-radius: 32.5px;
    box-shadow: 0px 3px 0 0px #bd6a04;
    margin-bottom: 13px;
    cursor: pointer;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
}
.box-answer.active {
    background: #fdd001;
    background: linear-gradient(to right, #fdd001,#fcf477,#fdd001);
    background: -webkit-linear-gradient(right, #fdd001,#fcf477,#fdd001); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #fdd001,#fcf477,#fdd001); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #fdd001,#fcf477,#fdd001); /* For Firefox 3.6 to 15 */
    box-shadow: 0px 3px 0 0px #d69200;
}
.box-answer .box-icon, .box-result .box-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 6px;
    left: 6px;
    border-radius: 50%;
    background-color: #fff;
    color: #f4901e;
    line-height: 38px;
    text-align: center;
}
.box-answer .box-icon span {
    font-family: AURORA;
    height: 40px;
    font-size: 45px;
    color: #f4901e;
}
.box-answer .box-icon .fa, .box-result .box-icon .fa {
    font-size: 31px;
    line-height: 46px;
}
.box-answer .box-icon .fa {
    display: none;
    color: #fbcb00;
}
.box-answer.active .box-icon .fa, .box-result .box-icon .fa {
    display: inline-block;
}
.box-answer.active .box-icon span {
    display: none;
}
/* .box-answer:nth-child(1) .box-icon {
    background: url("../images/data-game/answer1.png") top center no-repeat;
}
.box-answer:nth-child(2) .box-icon {
    background: url("../images/data-game/answer2.png") top center no-repeat;
}
.box-answer:nth-child(3) .box-icon {
    background: url("../images/data-game/answer3.png") top center no-repeat;
}
.box-answer:nth-child(4) .box-icon {
    background: url("../images/data-game/answer4.png") top center no-repeat;
}
.box-answer.active .box-icon {
    background: url("../images/data-game/icon-check.png") top center no-repeat;
} */
.box-answer .box-content, .box-result .box-content {
    text-align: center;
    line-height: 23px;
    padding: 0 20px 0 70px;
}
.box-btn-answer, .box-btn-next {
    position: relative;
    margin-top: 10px;
    text-align: center;
}
.box-btn-answer .btn-share-fb, .box-btn-next .btn-share-fb, .box-btn-next .btn-share-fb-summary {
    position: absolute;
    width: 56px;
    height: 56px;
    background: url("../images/data-game/icon-fb-share.png") top center no-repeat;
    top: 0;
    left: 0;
}
.box-btn-answer .btn-answer, .box-btn-next .btn-next {
    font-family: BalooThambi;
    font-size: 21px !important;
    color: #fff;
    border: none;
    background: #f39221;
    height: 50px;
    line-height: 50px;
    border-radius: 25px;
    box-shadow: 0px 2px 0 0px #bd6a04;
    padding: 0 41px;
}
.group-result {

}
.group-result h3 {
    font-size: 100%;
    font-weight: bold;
    padding: 8px 0 15px 0;
}
.box-result.right {
    background: #29a6fa;
    background: linear-gradient(to right, #29a6fa,#36cffb,#29a6fa);
    background: -webkit-linear-gradient(right, #29a6fa,#36cffb,#29a6fa); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #29a6fa,#36cffb,#29a6fa); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #29a6fa,#36cffb,#29a6fa); /* For Firefox 3.6 to 15 */
    box-shadow: 0px 3px 0 0px #0072bb;
    color: #fff;
}
.box-result.wrong {
    background: #e30500;
    background: linear-gradient(to right, #e30500,#fa451a,#e30500);
    background: -webkit-linear-gradient(right, #e30500,#fa451a,#e30500); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #e30500,#fa451a,#e30500); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #e30500,#fa451a,#e30500); /* For Firefox 3.6 to 15 */
    box-shadow: 0px 3px 0 0px #9c1212;
    color: #fff;
    margin-bottom: 14px;
}
.box-result.right .box-icon {
    color: #0c98f9;
}
.box-result.wrong .box-icon {
    color: #d00000;
}
.group-result .box-info-answer {
    margin-top: 26px;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 3px 3px 0 0px #d58a4d;
    -webkit-box-shadow: 3px 3px 2px 0px #d58a4d;
}
.container-summary {
    padding-top: 10px;
    background-color: #faf1d2;
}
.container-summary .summary-body {
    padding: 1px 30px;
}
.container-summary .avatar-user {
    display: block;
    width: 38.9%;
    height: auto;
    border-radius: 50%;
    border: 5px solid #f3811c;
    margin: 20px auto;
}
.container-summary .sub-user {
    text-align: center;
}
.container-summary .sub-user span {
    font-weight: bold;
}
.container-summary .congratulations {
    margin-top: 15px;
    text-align: center;
    font-size: 33px;
    color: #f3811c;
}
.container-summary .congratulations .point {
    margin-top: 12px;
    font-size: 80px;
}
.container-summary .congratulations .sub-point {
    font-size: 36px;
}
.container-summary .summary-content {
    margin-top: 19px;
    /*max-height: 300px;*/
    line-height: 25px;
    text-align: justify;
}
.container-summary .summary-content h3 {
    margin-bottom: 10px;
}
.game-mutiple-choice .container-summary .summary-content {
    max-height: none;
}
.container-summary .content-result img {
    max-width: 100%;
    margin-bottom: 14px;
}

/*start scroll ket qua*/
.container-summary .content-result .scrollbar-inner {
    /*max-height: 150px;*/
    /*overflow: scroll;*/
}
/*************** SIMPLE INNER SCROLLBAR ***************/
.scrollbar-inner > .scroll-element,
.scrollbar-inner > .scroll-element div
{
    border: none;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 10;
}
.scrollbar-inner > .scroll-element div {
    display: block;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}
.scrollbar-inner > .scroll-element.scroll-x {
    bottom: 2px;
    height: 8px;
    left: 0;
    width: 100%;
}
.scrollbar-inner > .scroll-element.scroll-y {
    height: 100%;
    right: 2px;
    top: 0;
    width: 8px;
}
.scrollbar-inner > .scroll-element .scroll-element_outer {
    overflow: hidden;
}
.scrollbar-inner > .scroll-element .scroll-element_outer,
.scrollbar-inner > .scroll-element .scroll-element_track,
.scrollbar-inner > .scroll-element .scroll-bar {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
.scrollbar-inner > .scroll-element .scroll-element_track,
.scrollbar-inner > .scroll-element .scroll-bar {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    opacity: 0.4;
}
.scrollbar-inner > .scroll-element .scroll-element_track { background-color: transparent !important }
.scrollbar-inner > .scroll-element .scroll-bar { background-color: #c2c2c2; }
.scrollbar-inner > .scroll-element:hover .scroll-bar { background-color: #919191; }
.scrollbar-inner > .scroll-element.scroll-draggable .scroll-bar { background-color: #919191; }
/* update scrollbar offset if both scrolls are visible */

.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track { left: -12px; }
.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track { top: -12px; }

.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -12px; }
.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -12px; }

.scrollbar-inner > .scroll-element .scroll-element_track { display: none; }
.scrollbar-inner > .scroll-element .scroll-bar {
    background-color: #6C6E71;
    display: block;

    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;

    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;

    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    -ms-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}
.scrollbar-inner:hover > .scroll-element .scroll-bar,
.scrollbar-inner > .scroll-element.scroll-draggable .scroll-bar {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=50);
    opacity: 0.5;
}
/*end scroll ket qua*/

#loadding-layer {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
    display: none;
}
#loadding-layer img {
    position: absolute;
    opacity: 1;
    top: 50%;
    left: 50%;
    margin-top: -88px;
    margin-left: -88px;
}
@media (max-width:440px) {
    .box-btn-next .btn-next {
        padding: 0px 15px;
        font-size: 28px;
        margin-left: 35px;
    }
}
@media (max-width:375px) {
    body {
        font-size: 16px;
    }
    .question-header, .summary-header {
        font-size: 18px;
        height: 48px;
        line-height: 48px;
        padding-left: 65px;
        padding-right: 28px;
    }
    .question-header .box-icon, .summary-header .box-icon {
        font-size: 35px;
        line-height: 48px;
        left: 18px;
    }
    .question-header .point, .question-header .current-question {
        font-size: 19px;
    }
    .question-body {
        padding: 12px 15px;
    }
    .question-body .box-ques-content {
        min-height: 40px;
        margin-bottom: 12px;
    }
    .box-answer .box-content, .box-result .box-content {
        line-height: 18px;
        font-size: 15px;
        padding: 0 15px 0 38px;
    }
    .box-btn-answer, .box-btn-next {
        margin-top: 12px;
    }
    .box-btn-answer .btn-answer, .box-btn-next .btn-next {
        padding: 0px 28px;
        font-size: 23px;
        margin-left: 35px;
        height: 40px;
        line-height: 40px;
    }
    .box-result.wrong {
        margin-bottom: 10px;
    }
    .group-result h3 {
        padding: 4px 0 12px 0;
    }
    .group-result .box-info-answer {
        margin-top: 15px;
    }
    .container-summary .congratulations {
        font-size: 28px;
        margin-top: 12px;
    }
    .container-summary .congratulations .point {
        font-size: 70px;
        height: 78px;
    }
    .container-summary .congratulations .sub-point {
        font-size: 30px;
    }
    .box-answer, .box-result {
        height: 40px;
        border-radius: 20px;
        box-shadow: 0px 2px 0 0px #bd6a04;;
    }
    .box-answer .box-icon, .box-result .box-icon {
        width: 26px;
        height: 26px;
        line-height: 26px;
    }
    .box-answer .box-icon .fa, .box-result .box-icon .fa {
        font-size: 19px;
        line-height: 26px;
    }
    .box-answer .box-icon span {
        font-size: 32px;
        height: 26px;
    }
}

@media (min-width: 320px) {
    div#myModalGameQuiz {
        padding-right: 0!important;
    }
    .modal-dialog.modal-dialog-game-quiz {
        max-width: 420px;
        margin: 0 auto;
        margin-top: 75px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .container {
        max-width: 100%;
    }
    .bx-list-game-quiz {
        margin-top: 20px;
    }
    .bx-list-game-quiz:first-child {
        margin-top: 0;
    }
    .bx-list-game-quiz .photo-game {
        padding-left: 0;
        padding-right: 0;
    }
    .bx-list-game-quiz .info-game {
        padding-right: 0;
    }
    .modal-dialog-game-quiz .modal-title {
        color: red;
    }
    .bx-list-game-quiz .info-game .name-game {
        color: #095ea3;
        font-size: 20px;
        padding-bottom: 10px;
    }
    .bx-list-game-quiz .info-game .view-game {
        padding-bottom: 7px;
        color: #808080;
        font-size: 14px;
    }
    .bx-list-game-quiz .info-game .btn-playgame .btn-green {
        height: 35px;
        padding: 0 6px;
        background-color: #2881c5;
        color: #fff;
        font-size: 13px;
        border-bottom: none;
        border-radius: 0;
        text-transform: uppercase;
        font-weight: bold;
        border-radius: 17px;
    }
}