.hdq_quiz_wrapper {
    margin: 0 auto;
    padding-bottom: 60px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;	
}

.hdq_quiz_wrapper *, .hdq_quiz_wrapper:before, *:after {	
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

.hdq_quiz {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hdq_jPaginate, .hdq_hidden {
    display: none;
}

.hdq_jPaginate, .hdq_finish, .hdq_next_page {
    text-align: center;
}

.hdq_button {
    display: inline-block;
    margin: 0 auto;
    padding: 12px 22px;
    text-align: center;
    background: #2d2d2d;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
}

.hdq_button:hover {
    opacity: 0.6;
}

.hdq_results_wrapper, .hdq_result_pass, .hdq_result_fail {
    display: none;
}

.hdq_result_pass, .hdq_result_fail {
    font-size: 1.3em;
}

.hdq_result {
    font-size: 2.4em;
    font-weight: bolder;
}

.hdq_results_wrapper {
    padding: 22px !important
}

.hdq_share {
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
    padding: 22px;
}

.hdq_social_icon {
    margin: 0 10px;
    display: inline-block;
}

.hdq_jPaginate~.hdq_question {
    display: none;
}

.hdq_quiz_wrapper h3 {
    padding: 12px;
    line-height: 1.4;
    color: #2d2d2d !important
}

.hdq_quiz_wrapper img {
    max-width: 100%;
    height: auto;
}

.hdq_question_featured_image {
    text-align: center;
}

.hdq_row:hover {
    background: rgba(0, 0, 0, 0.1)
}

.hdq_question {
    margin: 20px 0;
    padding: 12px;
    background: #efefef;
    border-bottom: 2px solid #dedede;
}

.hdq_question_after_text {
    display: none;
    margin-top: 12px;
    padding: 12px 22px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #dedede;
}

.hdq-options-check {
    display: inline-block;
    margin-right: 12px;
    top: 4px;
    position: relative;
}

.hdq_label_answer {
    display: block;
    font-size: 1.2em;
    cursor: pointer;
    padding: 12px;
    color: #2d2d2d !important
}

.hdq_correct {
    border: 4px solid green
}

.hdq_wrong {
    border: 4px solid red
}

.hdq_correct_not_selected {
    border-bottom: 4px solid green;
    margin-bottom: 2px;
}

.hdq_checkbox .hdq-options-check {
    font-size: 24px;
}

.hdq_question_title {
    border-bottom: 3px solid #999;
}

.hdq_checkbox .hdq-options-check input[type=checkbox] {
    position: absolute;
    opacity: 0;
    display: none;
}

.hdq_checkbox .hdq-options-check label {
    width: 2em;
    height: 1em;
    position: relative;
    cursor: pointer;
    display: block;
    font-size: 22px !important;
}

.hdq_checkbox .hdq-options-check label:before {
    content: '';
    position: absolute;
    width: 2em;
    height: 1em;
    transition: background 0.1s 0.1s ease;
    border-radius: 4px;
    background: #881b1b;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
}

.hdq_checkbox .hdq-options-check label:after {
    content: '';
    position: absolute;
    width: .6em;
    height: .6em;
    left: .2em;
    top: .2em;
    border-radius: 4px;
    transition: all 0.2s ease;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
    background: #F25F5C;
    z-index: 2;
}

.hdq_checkbox .hdq-options-check input[type=checkbox]:checked+label:before {
    background: #72c474;
    box-shadow: inset 0px 1px 1px rgba(84, 152, 140, 0.5);
}

.hdq_checkbox .hdq-options-check input[type=checkbox]:checked+label:after {
    animation: hdq_switch-on .2s ease-out;
    left: 1.1em;
    background: #efefef
}

/* checkbox */
.hdq-options-check {
    font-size: 24px;
}

.hdq-options-check input[type=checkbox] {
    position: absolute;
    opacity: 0;
    display: none;
}

.hdq-options-check label {
    width: 2em;
    height: 1em;
    position: relative;
    cursor: pointer;
    display: block;
    font-size: 22px !important;
}

.hdq_checkbox label {
    margin-bottom: 0 !important
}

.hdq-options-check label:before {
    content: '';
    position: absolute;
    width: 2em;
    height: 1em;
    left: 0.1em;
    transition: background 0.1s ease;
    background: #F25F5C;
    border-radius: 50px;
    box-shadow: inset 0px 1px 1px rgba(171, 66, 63, 0.5);
}

.hdq-options-check label:after {
    content: '';
    position: absolute;
    width: 1em;
    height: 1em;
    border-radius: 50px;
    left: 0;
    transition: all 0.2s ease;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
    background: #efefef;
    animation: hdq_switch-off .2s ease-out;
    z-index: 2;
}

.hdq-options-check input[type=checkbox]:checked+label:before {
    background: #72c474;
    box-shadow: inset 0px 1px 1px rgba(84, 152, 140, 0.5);
}

.hdq-options-check input[type=checkbox]:checked+label:after {
    animation: hdq_switch-on .2s ease-out;
    left: 1.1em;
    background: #efefef
}

label.non-block {
    display: inline-block !important;
    margin-right: 12px !important;
}

@keyframes hdq_switch-on {
    50% {
        transform: scaleX(1.3);
    }
}

@keyframes hdq_switch-off {
    50% {
        transform: scaleX(1.3);
    }
}

/* Columns */
.hdq_one_half {
    width: 48%;
    position: relative;
    margin-right: 3%;
    float: left;
}

.hdq_one_third {
    width: 30.66%;
    position: relative;
    margin-right: 3%;
    float: left;
}

.hdq_two_third {
    width: 64.33%;
    position: relative;
    margin-right: 3%;
    float: left;
}

.hdq_last {
    margin-right: 0 !important;
    clear: right;
}

.clear {
    clear: both;
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    width: 100%;
}

.hdq_tooltip {
    position: relative
}

.hdq_tooltip_question {
    font-size: 12px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    background: #2d2d2d;
    color: #fff;
    display: inline-block;
    margin-left: 12px;
    top: -6px;
}

.hdq_tooltip_content {
    position: absolute;
    top: calc(100% + 0.8rem);
    font-size: 0.85rem;
    width: 360px;
    left: calc(50% - 50px);
    line-height: 1.4;
    margin-left: -130px;
    background: #2d2d2d;
    border-radius: 10px;
    box-shadow: 0 -1px 10px rgba(72, 72, 72, 0.025), 0 10px 20px rgba(72, 72, 72, 0.05);
    color: #fff;
    padding: 2rem;
    text-align: left;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: all 0.3s cubic-bezier(0.1, 1, 0.9, 1);
    transition-property: opacity, transform;
}

.hdq_tooltip_content code {
    background: #1d1d1d
}

.hdq_tooltip_right .hdq_tooltip_content {
    left: -80px;
}

.hdq_tooltip_right .hdq_tooltip_content::after {
    margin-left: 78px;
}

.hdq_tooltip:hover .hdq_tooltip_content {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    z-index: 99999;
}

.hdq_tooltip_content::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -10px;
    display: block;
    border-style: solid;
    border-top-color: transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #2d2d2d;
}

.hdq_tooltip_content span {
    display: block;
}

.hdq_timer {
    position: fixed;
    bottom: 40px;
    right: 40px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    background: #2d2d2d;
    color: #fff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.hdq_timer.hdq_timer_warning {
    background: #f17222
}

.hdq_timer.hdq_timer_danger {
    background: #ab2121;
    box-shadow: 0 0 0 rgba(204, 169, 44, 0.7);
    animation: hdq_pulse 1s infinite;
}

@-webkit-keyframes hdq_pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(171, 33, 33, 0.7);
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(171, 33, 33, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(171, 33, 33, 0);
    }
}

@keyframes hdq_pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(171, 33, 33, 0.7);
        box-shadow: 0 0 0 0 rgba(171, 33, 33, 0.4);
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(171, 33, 33, 0);
        box-shadow: 0 0 0 10px rgba(171, 33, 33, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(171, 33, 33, 0);
        box-shadow: 0 0 0 0 rgba(171, 33, 33, 0);
    }
}

.hdq_loading_bar {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 8px;
    background: rgba(15, 143, 18, 0.7);
    -webkit-transform: translate3d(-103%, 0, 0);
    transform: translate3d(-103%, 0, 0);
    pointer-events: none;
}

.hdq_loading_bar.hdq_animate {
    bottom: -20px;
    z-index: 100;
    -webkit-transition: -webkit-transform 1.2s ease-in, bottom 0.3s 2.7s;
    transition: transform 1.2s ease-in, bottom 0.3s 2.7s;
    -webkit-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

@media screen and (max-width: 800px) {
    .hdq_timer {
        bottom: 10px;
        right: 10px;
    }

    .hdq_tooltip_content {
        position: fixed;
        top: initial;
        bottom: 10px;
        width: 80%;
        left: 10%;
        margin: 0;
    }

    .hdq_tooltip_content::after {
        display: none
    }

    .hdq_quiz_wrapper {
        overflow-x: hidden;
    }
}
