.qm-quiz {
    box-sizing: border-box;
    margin: 38px 0 20px;
    max-width: 730px;
    position: relative;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.qm-quiz * {
    box-sizing: inherit;
}

ul.qm-choices:after {
    clear: both;
    content: '';
    display: table;
}

.qm-quiz .qm-embed {
    margin: 0 0 20px;
}

/* Form general styles */
.qm-form {
    margin: 0;
}

label.qm-form-label {
    display: block;
    margin: 0 0 4px;
}

.qm-form input[type="text"],
.qm-form input[type="email"] {
    border-width: 2px;
    border-style: solid;
    border-radius: 4px;
    padding: 10px;
}

.qm-form-element {
    margin: 0 0 20px;
}

/* Embed */
.qm-embed iframe {
    max-width: 100%;
    vertical-align: middle;
}

/* Share result */
.qm-share-title {
    margin: 0 0 10px;
}

.qm-quiz .qm-share-result {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.qm-quiz .qm-share-result li {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 0;
}

/* Button */
.qm-quiz .qm-button {
    background: none;
    border: 0;
    border-radius: 4px;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 22px;
    padding: 9px 18px;
    position: relative;
    text-decoration: none;
    text-transform: none;
    -webkit-transition: -webkit-transform .2s ease-out;
    transition: transform .2s ease-out;
}

.qm-quiz .qm-button:hover {
	box-shadow: none;
    color: #fff;
}

.qm-quiz .qm-button_disabled {
    cursor: default;
}

.qm-quiz .qm-button_disabled:before {
    display: none;
}

.qm-quiz .qm-button:before {
    background: rgba(255, 255, 255, .1);
    bottom: 0;
    border-radius: 4px;
    content: '';
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transition: -webkit-transform .2s ease-out;
    transition: transform .2s ease-out;
}

.qm-quiz .qm-button:hover:before,
.qm-quiz .qm-button:focus:before,
.qm-quiz .qm-button:active:before {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}

.qm-quiz .qm-button_icon {
    padding-left: 40px;
}

.qm-button__icon {
    display: block;
    height: 40px;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 40px;
}

.qm-button__icon .fa {
    font-size: 19px;
    line-height: 40px;
}

.qm-quiz .qm-button_facebook {
    background: #3b5998;
    color: #fff;
}

.qm-quiz .qm-button_twitter {
    background: #00aced;
    color: #fff;
}

.qm-quiz .qm-button_google-plus {
    background: #dd4b39;
    color: #fff;
}

/* Items */
.qm-items {
    margin: 0 0 20px;
    position: relative;
}

.qm-items-animate {
    -webkit-transition: height .3s ease-out;
    transition: height .3s ease-out;
}

.qm-items .qm-loading {
    left: 0;
    line-height: 30px;
    margin: -15px 0 0;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
    z-index: 1;
}

/* Item */
.qm-item {
    display: none;
    position: relative;
    z-index: 2;
}

.qm-item-display {
    display: block;
}

.qm-item-absolute {
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.qm-item-bg {
    z-index: 2;
}

.qm-item-fg {
    opacity: 0;
    z-index: 3;
}

.qm-item-animate {
    -webkit-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out;
}

.qm-item-active {
    opacity: 1;
}

.qm-item-invisible {
    opacity: 0;
    -webkit-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out;
}

/* Common item elements */
.qm-heading {
    margin: 0 0 20px;
}

.qm-quiz .qm-heading h2 {
    font-size: 24px;
    line-height: 1.4em;
    margin: 0;
}

.qm-thumb,
.qm-content {
    margin: 0 0 20px;
}

.qm-thumb img {
    vertical-align: middle;
}

/* Info form */
.qm-quiz .qm-info-form-title {
    font-size: 24px;
    line-height: 1.4em;
    margin: 0 0 20px;
}

.qm-form-first_name input[type="text"],
.qm-form-last_name input[type="text"],
.qm-form-email input[type="email"] {
    width: 100%;
}

/* Question item elements */
.qm-question .qm-heading {
    font-size: 22px;
    line-height: 30px;
}

.qm-continue-quiz {
    margin: 20px 0 0;
}

.qm-answer-details {
    border: 1px solid transparent;
    border-radius: 4px;
    margin: 0 0 20px;
    padding: 15px;
}

.qm-answer-details .details-heading {
    margin: 0 0 10px;
}

.qm-answer-details .details-icon {
    border: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    font-family: Verdana, sans-serif;
    font-size: 19px;
    font-weight: bold;
    height: 38px;
    line-height: 34px;
    margin: 0 6px 0 0;
    text-align: center;
    width: 38px;
}

.qm-answer-details .details-title {
    font-size: 1.2em;
}

/* Checkbox */
.qm-checkbox {
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;
    display: inline-block;
    font-family: Verdana, sans-serif;
    text-align: center;
    -webkit-transition: border-color .2s ease-out;
    transition: border-color .2s ease-out;
}

.qm-checkbox:before {
    display: inline-block;
    position: relative;
}

.qm-checkbox-active {
    font-weight: bold;
}

.qm-checkbox-active:before {
    content: '\2713';
}

.qm-checkbox-right:before {
    content: '\2713';
}

.qm-checkbox-wrong {
    font-weight: bold;
}

.qm-checkbox-wrong:before {
    content: '\00d7';
    top: -1px;
}

/* Choices */
.qm-choices-hint {
    margin: 0 0 10px;
}

.qm-quiz .qm-choices {
    list-style: none;
    padding: 0;
}

.qm-choice {
    position: relative;
}

/* Block choices */
.qm-block-choices .qm-choices {
    margin: 0;
}

.qm-block-choices .qm-choice {
    float: left;
    margin: 0 0 14px;
    width: 49%;
}

.qm-block-choices .qm-choice:nth-child(odd) {
    margin-right: 2%;
}

.qm-block-choices .qm-choice-thumb {
    margin: 0 0 8px;
}

.qm-block-choices .qm-checkbox {
    float: left;
    font-size: 15px;
    height: 25px;
    line-height: 21px;
    width: 25px;
}

.qm-block-choices .qm-checkbox:before {
    line-height: 21px;
}

.qm-block-choices .qm-choice-text {
    margin: 0 0 0 30px;
}

/* List choices */
.qm-list-choices .qm-checkbox {
    font-size: 19px;
    height: 38px;
    line-height: 34px;
    width: 38px;
}

.qm-list-choices .qm-checkbox:before {
    line-height: 34px;
}

.qm-list-choices .qm-choices {
    margin: 0;
}

.qm-list-choices .qm-choice {
    line-height: 28px;
    margin: 0;
    padding: 5px 0 5px 48px;
}

.qm-list-choices .qm-choice .qm-checkbox {
    left: 0;
    margin: -19px 0 0;
    position: absolute;
    top: 50%;
}

/* Progress */
.qm-progress {
    background: #eee;
    height: 4px;
    margin: 0 0 20px;
    position: relative;
}

.qm-progress__bar {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 0%;
    -webkit-transition: width .2s ease-out;
    transition: width .2s ease-out;
}

.qm-progress__placeholder,
.qm-progress__label {
    bottom: 100%;
    font-size: 12px;
    line-height: 18px;
    position: absolute;
}

.qm-progress__placeholder {
    left: 0;
}

.qm-progress__label {
    display: none;
    left: 50%;
    margin-left: -40px;
    text-align: center;
    width: 80px;
}

.qm-progress_0 .qm-progress__label {
    left: 0;
    margin-left: 0;
    text-align: left;
}

.qm-progress_active .qm-progress__label {
    display: block;
}

.qm-progress_active .qm-progress__placeholder {
    display: none;
}

/* Timer */
.qm-quiz_timer {
    margin-top: 0;
    padding-top: 50px;
}

.qm-quiz_timer .qm-timer {
    display: block;
    top: 0;
    position: absolute;
    right: 0;
}

.qm-timer {
    display: none;
    height: 40px;
    opacity: 1;
    overflow: hidden;
    position: relative;
    width: 80px;
    -webkit-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out;
}

.qm-timer-disabled {
    opacity: .4;
}

.qm-timer-screen {
    bottom: 0;
    left: 50%;
    line-height: 24px;
    margin: 0 0 0 -25px;
    position: absolute;
    text-align: center;
    width: 50px;
}

.qm-timer .qm-circle1,
.qm-timer .qm-circle2 {
    border-style: solid;
    border-width: 3px;
    box-sizing: border-box;
    height: 40px;
    left: 0;
    position: absolute;
    width: 80px;
}

.qm-timer .qm-circle1 {
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    border-bottom: 0;
    top: 0;
}

.qm-timer .qm-circle2 {
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    border-top: 0;
    top: 100%;
    -ms-transform-origin: 50% 0;
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -ms-transform: rotate(0);
    -webkit-transform: rotate(0);
    transform: rotate(0);
}

/* Error item */
.qm-quiz .qm-error-item__buttons {
    margin-bottom: 0;
}

/* Lite style */
.qm-quiz_lite {
    font-size: 16px;
    line-height: 25px;
}

.qm-quiz_lite .qm-items {
    border-radius: 4px;
}

.qm-quiz_lite .qm-choice {
    border-width: 1px;
    border-style: solid;
    -webkit-transition: background .2s ease-out, border-color .2s ease-out;
    transition: background .2s ease-out, border-color .2s ease-out;
}

.qm-quiz_lite .qm-choice:hover {
    cursor: pointer;
}

.qm-quiz_lite .qm-choices-disabled .qm-choice:hover {
    cursor: default;
}

.qm-quiz_lite .qm-choice-right,
.qm-quiz_lite .qm-choices-disabled .qm-choice-right:hover {
    z-index: 2;
}

.qm-quiz_lite .qm-choice-wrong,
.qm-quiz_lite .qm-choices-disabled .qm-choice-wrong:hover {
    z-index: 1;
}

.qm-quiz_lite .qm-block-choices .qm-choice {
    border-radius: 4px;
    padding: 8px;
}

.qm-quiz_lite .qm-list-choices .qm-choices {
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07);
}

.qm-quiz_lite .qm-list-choices .qm-choice {
    padding: 14px 14px 14px 62px;
}

.qm-quiz_lite .qm-list-choices .qm-choice .qm-checkbox {
    left: 14px;
}

.qm-quiz_lite .qm-list-choices .qm-choice:first-child {
    border-radius: 4px 4px 0 0;
}

.qm-quiz_lite .qm-list-choices .qm-choice:last-child {
    border-radius: 0 0 4px 4px;
}

.qm-quiz_lite .qm-list-choices .qm-choice + .qm-choice {
    margin-top: -1px;
}
