.iaeb_exam>.iaeb_container:not(.active),
.iaeb-getresult:not(.active),
.iaeb-action:not(.active),
.iaeb_exam.iaeb_tab .iaeb-submit,
.iaeb_exam.iaeb_tab .iaeb-info,
.iaeb_exam.iaeb_tab .iaeb-note,
.iaeb_exam.iaeb_tab .iaeb-item:not(.active),
.iaeb_exam.iaeb_tab .iaeb-latercheck,
.iaeb_exam:not(.iaeb_tab) .iaeb-anwsers,
.iaeb_exam:not(.iaeb_tab) .iaeb-solution,
.iaeb_exam:not(.iaeb_tab) .iaeb-method,
.iaeb_exam:not(.iaeb_tab) .iaeb-result-text,
.iaeb_exam.layout_tab .iaeb-item:not(.active),
.iaeb-info-mobi:not(.active) {
    display: none;
}

.iaeb_exam {
    background: #f4f2ec;
    padding: 20px 10px;
}

/*summury*/
.iaeb-summury,
.iaeb-mission {
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.iaeb-summury button {
    background: #e29000;
    color: #fff;
    height: 42px;
    width: 240px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    border: 1px solid #e29000;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.iaeb-summury button:hover {
    background: #e29000;
    color: #fff;
}

.iaeb-getresult button {
    border: 2px solid #e29000;
    background: transparent;
    color: #e29000;
    font-weight: bold;
}

.iaeb-summury>div,
.iaeb-summury>div>div {
    margin-bottom: 10px;
}

.iaeb-summury>div:nth-child(2) {
    display: flex;
    justify-content: center;
    column-gap: 20px;
}

.iaeb_exam .iaeb_heading {
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;
    color: #e29000;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

/*questions*/
.iaeb_questions {
    background: #fff;
    padding: 10px;
    border-radius: 6px;
}

.iaeb-answer>ul {
    padding: 0;
    margin: 0;
}

.iaeb-answer li {
    display: flex;
    margin-bottom: 10px;
    cursor: pointer;
}

.iaeb-answer span.iaeb-select {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    padding: 4px;
    border-radius: 50%;
    margin-right: 7px;
    flex: 0 0 20px;
    margin-top: 4px;
}

.iaeb-answer li.active span.iaeb-select {
    border-color: #00a025;
}

.iaeb-answer li.active span.iaeb-select:before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    background: #00a025;
    border-radius: 50%;
}

.iaeb-answer span:nth-of-type(2) {
    margin-right: 7px;
    flex: 0 0 20px;
}

.iaeb-item {
    padding-top: 15px;
    border-top: 1px solid #ccc;
}

.iaeb-item>div {
    margin-bottom: 20px;
}

.iaeb-anwsers {
    border: 2px dashed #cc2600;
    border-radius: 4px;
    padding: 10px;
}

.iaeb-anwsers.correct {
    border-color: #00a025;
}

.iaeb-anwsers>div {
    font-size: 18px;
    font-weight: bold;
}

.iaeb-solution-title,
.iaeb-method-title {
    color: #e29000;
    font-weight: bold;
    font-size: 18px;
}

.iaeb-solution-content,
.iaeb-method-content {
    line-height: 24px;
}

.iaeb-solution,
.iaeb-method {
    padding: 5px 10px;
    border: 1px solid #e29000;
    border-radius: 4px;
}

.iaeb-quiz {
    margin-top: 10px;
}

.iaeb-title span {
    float: right;
    margin-right: -20px;
    padding: 0 10px;
    background: #00a025;
    color: #fff;
    position: relative;
    z-index: 1;
    border-radius: 4px;
    border-top-right-radius: 0;
    display: none;
}

.iaeb-title span:before {
    content: "";
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: #00a025;
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 0;
}

.iaeb_exam:not(.style_eq, .style_iq, .style_disc, .style_love, .style_mbti) .iaeb-title span {
    display: block;
}

.iaeb-latercheck {
    margin: 20px 0;
    text-align: right;
}

.iaeb-latercheck span {
    cursor: pointer;
}

.iaeb-latercheck span:first-child {
    opacity: 0.5;
}

.iaeb-latercheck span:first-child:hover {
    opacity: 1;
}

.iaeb-latercheck span:last-child {
    height: 30px;
    width: 30px;
    padding: 3px;
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    border-radius: 50%;
    border: 1px solid #a861b3;
}

.iaeb-latercheck.active span:last-child:before {
    content: "";
    background: #a861b3;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.iaeb-title span.type-2 {
    background: #009cff;
}

.iaeb-title span.type-2::before {
    border-left-color: #009cff;
}

.iaeb-title span.type-3 {
    background: #ff6400;
}

.iaeb-title span.type-3::before {
    border-left-color: #ff6400;
}

.iaeb-title span.type-4 {
    background: #ff0000;
}

.iaeb-title span.type-4::before {
    border-left-color: #ff0000;
}

.iaeb_scores {
    background: linear-gradient(#0e664d, #adbf36);
    border-radius: 6px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.iaeb_scores>.haoquang {
    background-image: url(/wp-content/plugins/iauto-exam-buildup/img/hao-quang.png);
    height: 642px;
    left: 10%;
    top: -50%;
    position: absolute;
    width: 642px;
    animation-name: spin;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    opacity: .3;
}

.iaeb_scores>.box {
    width: 286px;
    margin: 80px auto;
    background-color: #7b5821;
    border-radius: 50px;
    border: 5px solid #ffd800;
    position: relative;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.iaeb_scores>.box>img {
    position: absolute;
    top: -64px;
    width: 150px;
    transform: translate(-50%);
    left: 50%;
}

.iaeb_exam .iaeb_scores .iaeb_title {
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
}

.iaeb_exam .iaeb_scores .iaeb_score {
    font-size: 90px;
    padding-top: 0;
    color: #ffd800;
    text-shadow: 5px 5px 7px #141414;
    line-height: 80px;
    margin-bottom: 10px;
}

.iaeb_scores>.box>div {
    font-weight: bold;
}

.iaeb_scores>.box>div>img {
    filter: drop-shadow(0 0 1px #000);
    width: 20px;
    display: inline-block;
}

/*sidebar*/
.iaeb_sidebar {
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 0 5px 5px #c7c7c7;
}

.iaeb_sidebar.fixed-sidebar {
    position: fixed;
    top: 30px;
    z-index: 1;
}

.iaeb_sidebar.bottom-sidebar {
    position: absolute;
    bottom: 0;
}

.iaeb_exam.iaeb_tab .iaeb-list {
    border-top: none;
    overflow-y: hidden;
    max-height: none;
}

.iaeb-info {
    text-align: center;
    display: flex;
    margin-bottom: 10px;
}

.iaeb-info-mobi.active {
    position: fixed;
    background: #fff;
    padding: 5px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    top: 30px;
    left: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px 5px #c7c7c7;
    z-index: 1;
}

.iaeb-info>div {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.iaeb-info>div:first-child {
    border-right: 1px solid #ccc;
}

.iaeb-info>div:last-child {
    display: none;
}

.iaeb-result-text {
    background: #9fdc3c;
    margin: -10px;
    margin-bottom: 10px;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    padding: 10px;
    text-align: center;
}

.iaeb-result-text>div:first-child {
    font-size: 18px;
    color: #fff;
}

.iaeb-result-text>div:last-child {
    color: #cc2600;
}

.iaeb-result {
    font-size: 24px;
}

.iaeb-counttime {
    color: #77909b;
    font-size: 22px;
}

.iaeb-counttime.over {
    color: red;
}

.iaeb-result,
.iaeb-counttime {
    font-weight: bold;
    line-height: 26px;
}

.iaeb-list {
    border-top: 1px solid #ccc;
    overflow-y: scroll;
    max-height: 200px;
    scrollbar-width: thin;
    padding: 10px 5px;
}

.iaeb-list ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    row-gap: 10px;
    margin: 0;
}

.iaeb-list li {
    width: calc(100% / 6);
    display: flex;
    justify-content: center;
}

.iaeb-list span {
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iaeb-list li.answered span {
    background: #00a025;
    color: #fff;
}

.iaeb-list li.latercheck span {
    background: #a861b3;
    color: #fff;
}

.iaeb-list li.wrong span {
    background: #cc2600;
    color: #fff;
}

.iaeb-submit {
    text-align: center;
    margin: 10px 0;
}

.iaeb-submit>button {
    padding: 7px 30px 5px;
    background-color: #e29000;
    color: #fff;
    border-radius: 30px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid #e29000;
}

.iaeb-submit>button:hover {
    background: #e29000;
}

.iaeb-note>div>span {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: sub;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.iaeb-note>div {
    margin-bottom: 10px;
}

.iaeb-note>div:last-child>span {
    background: #a861b3;
    border-color: #a861b3;
}

.iaeb-note>div:first-child>span {
    background: #00a025;
    border-color: #00a025;
}

/*mbti*/
.iaeb_mbti .iaeb_scores>.haoquang {
    left: 20%;
}

/*love*/
.iaeb_exam.style_love {
    background: #ffd9d8;
    text-align: center;
}

.iaeb_exam.style_love .iaeb_questions {
    background: none;
}

.iaeb_exam.style_love .iaeb_pagination {
    font-size: 30px;
    line-height: 40px;
    letter-spacing: 3px;
    font-weight: 900;
    color: #f06eaa;
}

.iaeb_exam.style_love .iaeb_pagination>span {
    color: #9D479E;
}

.iaeb_exam.style_love .iaeb_quiz {
    font-size: 20px;
    margin-top: 20px;
    color: #7e4d7e;
    line-height: 26px;
    text-transform: uppercase;
    font-weight: 900;
}

.iaeb_exam.style_love .answer {
    background: #F2F2F2;
    display: inline-block;
    padding: 10px 15px 10px 15px;
    border-radius: 5px;
    margin: 10px;
}

.iaeb_exam.style_love .iaeb_btn button {
    background: #7E4D7E;
    color: white;
    font-weight: bold;
    width: 200px;
    padding: 15px 10px;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 30px;
}

.iaeb_exam.layout_tab .iaeb_item:not(.active) {
    display: none;
}

.iaeb_exam.style_love .iaeb_btn {
    margin-top: 20px;
}

.iaeb_exam.style_love button.btn_submit {
    margin-left: 20px;
    background: #F84594;
}

@media(max-width:767px) {
    .iaeb_exam.style_love .iaeb_btn button {
        width: 140px;
        font-size: 14px;
    }

    .iaeb_exam.style_love button.btn_submit {
        margin-left: 10px;
    }
}

/*iq*/
.iaeb_exam.style_iq .iaeb-quiz {
    text-align: center;
}

.iaeb_exam.style_iq .iaeb-answer>ul {
    display: grid;
    grid-template-columns: auto auto auto auto;
}

.iaeb_exam.style_iq .iaeb-quiz img {
    width: 50%;
}

.iaeb_exam.style_iq .iaeb-answer img {
    width: 80%;
}

.iaeb-item.iaeb-age {
    text-align: center;
}

.iaeb-item.iaeb-age input[type="number"] {
    width: 170px;
    font-size: 16px;
    line-height: 40px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid #ccc;
}

.iaeb-item.iaeb-age input[type="number"]::-webkit-outer-spin-button,
.iaeb-item.iaeb-age input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*disc*/
.iaeb_exam.style_disc .iaeb_scores {
    background-position: top center;
    background-size: cover;
    margin: 0 auto;
}

.iaeb_exam.style_disc .iaeb_scores>.box {
    background: none;
    border: none;
    width: auto;
    margin: 0;
    padding: 10px;
}

.iaeb_exam.style_disc .iaeb_scores .iaeb_title {
    color: #2863b8;
    font-weight: 500;
}

.iaeb_exam.style_disc .iaeb_scores>.box>div:nth-of-type(2) {
    margin: 15px 0 10px;
    font-size: 50px;
    color: #ffffff;
    text-shadow: none;
}

.iaeb_exam.style_disc .iaeb_description {
    color: #053e86;
    margin-top: 28px;
    text-transform: uppercase;
    font-size: 18px;
}

.iaeb_exam.style_disc .iaeb_content {
    text-align: left;
    color: #000000;
    margin: 15px 10px 0;
}

.iaeb_exam.style_disc .iaeb_content h3 {
    font-size: 16px;
    color: #2c64a1;
    text-decoration: underline;
    margin: 0 0 10px;
    font-weight: bold;
    line-height: 22px;
}

.iaeb_exam.style_disc .iaeb_content ul {
    padding-left: 30px;
    font-weight: normal;
    margin: 0 0 10px;
    color: #2d61a5;
    font-size: 14px;
    line-height: 20px;
}

.iaeb_exam.style_disc .iaeb_content li::marker {
    color: #1a60b3;
    font-size: 20px;
    line-height: 10px;
}

.iaeb_exam.style_disc .iaeb_content table,
.iaeb_exam.style_disc .iaeb_content td,
.iaeb_exam.style_disc .iaeb_content th {
    border: none;
    margin: 0;
    padding: 0;
}

.iaeb_exam.style_disc .iaeb_content td:last-child {
    border-left: 2px solid #053e86;
}

@media (min-width: 768px) {
    .iaeb_exam.style_disc .iaeb_scores {
        width: 680px;
        min-height: 380px;
    }
}

@media(max-width:767px) {
    .iaeb_exam.style_disc .iaeb_scores>.box>div:nth-of-type(2) {
        margin: 8px 0 0;
        font-size: 30px;
        line-height: 40px;
    }

    .iaeb_exam.style_disc .iaeb_content h3 {
        font-size: 10px;
        line-height: 14px;
    }

    .iaeb_exam.style_disc .iaeb_content ul {
        font-size: 8px;
        line-height: 12px;
    }

    .iaeb_exam.style_disc .iaeb_description {
        font-size: 10px;
        margin-top: 18px;
    }

    .iaeb_exam.style_disc .iaeb_content li::marker {
        color: #1a60b3;
        font-size: 12px;
        line-height: 12px;
    }

    .iaeb_exam.style_disc .iaeb_scores .iaeb_title {
        font-size: 12px;
    }

    .iaeb_exam.style_disc .iaeb_scores>.box {
        padding: 2px;
    }
}

/*eq*/
.iaeb_exam.style_eq .iaeb-answer>ul {
    display: flex;
}

.iaeb_exam.style_eq .iaeb-answer>ul>li:not(:first-child, :last-child) span:nth-of-type(2) {
    display: none;
}

.iaeb_exam.style_eq .iaeb-answer>ul>li {
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.iaeb_exam.style_eq .iaeb-answer>ul>li span:nth-of-type(2) {
    text-align: center;
    margin: 0;
}

.iaeb_exam.style_eq .iaeb-answer span.iaeb-select {
    width: 100%;
    height: auto;
    border-radius: 0;
    text-align: center;
    padding: 10px;
}

.iaeb_exam.style_eq .iaeb-answer li.active span.iaeb-select:before {
    display: none;
}

.iaeb_exam.style_eq .iaeb-answer li.active span.iaeb-select {
    background: #00a025;
    color: #fff;
}
.iaeb_exam.style_eq .iaeb_scores {
    background-position: top center;
    background-size: cover;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.iaeb_exam.style_eq .iaeb_scores>.box {
    background: none;
    border: none;
    width: 60%;
    margin: 0;
    color: #f47b2a;
}

.iaeb_exam.style_eq .iaeb_title {
    font-size: 24px;
}

.iaeb_exam.style_eq .iaeb_score {
    font-size: 90px;
    line-height: 80px;
    color: #f47b2a;
    text-shadow: none;
    margin: 15px 0;
}

.iaeb_exam.style_eq .iaeb_description {
    color: #0b3e81;
    font-size: 28px;
    line-height: 32px;
}

@media (min-width: 768px) {
    .iaeb_exam.style_eq .iaeb_scores {
        width: 680px;
        min-height: 380px;
    }
}

@media(max-width:767px) {
    .iaeb_exam.style_eq .iaeb-answer>ul>li span:nth-of-type(2) {
        font-size: 10px;
    }
    .iaeb_exam.style_eq .iaeb_scores {
        height: 220px;
    }

    .iaeb_exam.style_eq .iaeb_title {
        font-size: 14px;
    }

    .iaeb_exam.style_eq .iaeb_score {
        font-size: 40px;
        line-height: 46px;
        margin: 0;
    }

    .iaeb_exam.style_eq .iaeb_description {
        font-size: 16px;
        line-height: 22px;
    }
}


/*modal*/
.iaeb-modal {
    position: fixed;
    background: #00000060;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

/*iatub*/
.iaeb-modal:not(.active),
.iaeb-modal .iatub_content:not(.active),
.iaeb-modal .iatup_content:not(.active) {
    display: none;
}

.iaeb-modal .iatub_content,
.iaeb-modal .iatup_content {
    background: #fff;
    margin: 100px auto 0;
    padding: 20px;
    border-radius: 30px;
    overflow-y: auto;
    height: calc(100vh - 200px);
}

.iaeb-modal .iatub_content::-webkit-scrollbar,
.iaeb-modal .iatup_content::-webkit-scrollbar {
    width: 0;
}

.iaeb-modal .iatub_loading,
.iaeb-modal .iatup_loading {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff0;
    height: 100%;
}

.iaeb-modal .iatub_close,
.iaeb-modal .iatup_close {
    position: absolute;
    font-size: 60px;
    right: 20px;
    top: 40px;
    line-height: 20px;
    cursor: pointer;
    color: #000;
}

.iatub_loading>img,
.iatup_loading>img {
    width: 40px;
}

.iaeb-modal p {
    margin-bottom: 10px;
    line-height: 22px;
}

.iaeb-modal button.change_missions {
    padding: 15px 20px;
    line-height: 0;
    border-radius: 30px;
    background-color: #fff0;
    text-transform: uppercase;
    color: #4285f4;
    border: 1px solid #4285f4;
    transition: all 0.2s;
    cursor: pointer;
    margin-left: 15px;
    font-size: 16px;
}

.iaeb-modal button.change_missions:hover {
    background: #4285f4;
    color: #fff;
}

@media (min-width: 1200px) {
    .iaeb_container {
        width: 1140px;
        padding-left: 10px;
        padding-right: 10px;
        margin: 0 auto;
    }

    .iaeb_row {
        margin-right: -10px;
        margin-left: -10px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap
    }

    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12 {
        padding-right: 20px;
        padding-left: 20px
    }

    .col-sm-1 {
        width: 8.33333333%;
    }

    .col-sm-4 {
        width: 30%;
    }

    .col-sm-7 {
        width: 58.33333333%;
    }

    .col-sm-8 {
        width: 70%
    }

    .col-sm-10 {
        width: 83.33333333%
    }

    .col-sm-12 {
        width: 100%
    }
}

@media (min-width:768px) {

    .iaeb-modal .iatub_content,
    .iaeb-modal .iatup_content {
        width: 800px;
    }

    /*mbti*/
    .iaeb_scores>.haoquang {
        left: 20%;
    }

    .iaeb_mbti .iaeb_scores>.box {
        width: 360px;
    }
}

@media (max-width:767px) {
    .iaeb_row {
        display: grid;
    }

    .iaeb_row>div {
        order: 1;
    }

    .iaeb_row>div.col-sm-4 {
        order: 0;
    }

    .iaeb_sidebar.fixed-sidebar>.iaeb-list,
    .iaeb_sidebar.fixed-sidebar>.iaeb-submit,
    .iaeb_sidebar.fixed-sidebar>.iaeb-note {
        display: none;
    }

    .iaeb-info>div>.iaeb-submit,
    .iaeb_sidebar.fixed-sidebar>.iaeb-info {
        margin: 0;
    }

    .iaeb-info>div>.iaeb-submit>button {
        padding: 5px 15px;
    }

    .iaeb-info>div:not(:first-child) {
        border-left: 1px solid #ccc;
    }

    .iaeb-info>div:nth-child(2) {
        flex-basis: 6%;
    }

    .iaeb_sidebar.fixed-sidebar .iaeb-info>div:last-child {
        display: flex;
    }

    .iaeb_scores>.haoquang {
        top: -30%;
        left: -30%;
    }

    /*mbti*/
    .iaeb_mbti .iaeb_scores>.box {
        width: 90%;
    }

    .iaeb_mbti .iaeb_scores>.box>div:nth-of-type(2) {
        font-size: 70px;
        line-height: 60px;
    }

    .iaeb_mbti .iaeb_scores>.box>div:first-of-type {
        font-size: 16px;
    }

    .iaeb_mbti .iaeb_scores>.haoquang {
        top: -40%;
        left: -50%;
    }

    /*modal*/
    .iaeb-modal .iaeb-content {
        width: 100%;
    }
}