@import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:400,300&subset=latin,latin-ext);

.quizBox {
    padding: 30px;
    background: #f8f8f8;
    min-height: 200px;
    font-family: Helvetica, sans-serif;
}

.quizBox .paging {
    text-align: center;
}

.quizBox .paging a {
    display: inline-block;
    border: 2px solid #dddddd;
    background: #f8f8f8;
    margin-left: 7px;
    width: 21px;
    height: 21px;
    line-height: 21px;
    text-align: center;
    border-radius: 100%;
    text-decoration: none;
    color: #6a6a6a;
    font-size: 11px;
    font-weight: bold;
}

.quizBox .paging a:hover {
    background-color: #f2f2f2;
}

.quizBox .paging a.correct {
    color: #75b727;
    border-color: #75b727;
}

.quizBox .paging a.correct:hover {
    background-color: #d9f6d4;
}

.quizBox .paging a.wrong {
    color: #f32100;
    border-color: #f32100;
}

.quizBox .paging a.wrong:hover {
    background-color: #f6e3e2;
}

.quizBox .paging a.current {
    color: #373737;
    border-color: #696969;
}

.quizBox .paging a.current:hover {
    background-color: #d2d2d2;
}

.quizBox .paging a.current.correct {
    color: #436d1a;
    border-color: #4f7d1a;
}

.quizBox .paging a.current.wrong {
    color: #c31b00;
    border-color: #b81800;
}

.quizBox .paging a:first-child {
    margin-left: 0;
}

.quizBox .question .text {
    font-size: 25px;
    line-height: normal;
    font-family: Source Sans Pro, sans-serif;
    text-align: center;
    margin-top: 60px;
    font-weight: 300;
}

.quizBox .question .question-pic {
    text-align: center;
    position: relative;
    max-width: 100%;
    max-height: 350px;
    margin-top: 25px;
}

.quizBox .question .question-pic img {
    width: auto;
    max-width: 100%;
    max-height: 350px;
    height: auto;
    cursor: pointer;
}

.quizBox .answers {
    margin-top: 25px;
}

.quizBox .answers .option {
    display: block;
    float: left;
    width: 49%;
    margin: 0 0 2% 2%;
    background: rgb(248, 248, 248);
    border: 1px solid #bfbfbf;
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
}
.quizBox .answers .option .content {
	display: -moz-inline-box;
	display: inline-block;
	line-height: normal;
	vertical-align: middle;
}
.quizBox .answers .option .content { *display: inline; }

.quizBox .answers .option:nth-child(2n+1) {
    margin-left: 0;
}

.quizBox .answers.answered .option:hover,
.quizBox .answers .option {
    background: rgb(248, 248, 248);
    background: -moz-linear-gradient(90deg, rgb(248, 248, 248) 36%, rgb(236, 236, 236) 100%);
    background: -webkit-linear-gradient(90deg, rgb(248, 248, 248) 36%, rgb(236, 236, 236) 100%);
    background: -o-linear-gradient(90deg, rgb(248, 248, 248) 36%, rgb(236, 236, 236) 100%);
    background: -ms-linear-gradient(90deg, rgb(248, 248, 248) 36%, rgb(236, 236, 236) 100%);
    background: linear-gradient(180deg, rgb(248, 248, 248) 36%, rgb(236, 236, 236) 100%);
}

.quizBox .answers .option:hover {
    background: rgb(242, 242, 242);
    background: -moz-linear-gradient(90deg, rgb(242, 242, 242) 36%, rgb(230, 230, 230) 100%);
    background: -webkit-linear-gradient(90deg, rgb(242, 242, 242) 36%, rgb(230, 230, 230) 100%);
    background: -o-linear-gradient(90deg, rgb(242, 242, 242) 36%, rgb(230, 230, 230) 100%);
    background: -ms-linear-gradient(90deg, rgb(242, 242, 242) 36%, rgb(230, 230, 230) 100%);
    background: linear-gradient(180deg, rgb(242, 242, 242) 36%, rgb(230, 230, 230) 100%);
}

.quizBox .answers .option.correct,
.quizBox .answers .option.wrong {
    border-width: 3px;
    line-height: 56px;
}

.quizBox .answers .option.wrong {
    border-color: #f32100;
}

.quizBox .answers .option.correct {
    border-color: #75b727;
}

.quizBox .answers .option-pic {
    max-height: 200px;
    height: auto;
    display: block;
    float: left;
    width: 49%;
    margin: 0 0 2% 2%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    clear: right;
}

.quizBox .answers .option-pic img {
    max-width: 200px;
    max-height: 200px;
    cursor: pointer;
    border-radius: 3px;
    border: 3px solid transparent;
}

.quizBox .answers .option-pic:nth-child(2n+1) {
    text-align: right;
    margin-left: 0;
    clear: left;
}

.quizBox .answers.answered .option-pic img {
    opacity: 0.5;
}

.quizBox .answers.answered .option-pic img,
.quizBox .answers.answered .option {
    cursor: default;
}

.quizBox .answers .option-pic.correct img {
    border: 3px solid #75b727;
    opacity: 1;
}

.quizBox .answers .option-pic.wrong img {
    border: 3px solid #f32100;
}

.quizBox .buttonNext {
    margin: 0 auto;
    display: block;
    width: 320px;
    height: 60px;
    color: white;
    background: #4085d5;
    background: -moz-linear-gradient(90deg, rgb(77, 144, 222) 36%, rgb(52, 122, 205) 100%);
    background: -webkit-linear-gradient(90deg, rgb(77, 144, 222) 36%, rgb(52, 122, 205) 100%);
    background: -o-linear-gradient(90deg, rgb(77, 144, 222) 36%, rgb(52, 122, 205) 100%);
    background: -ms-linear-gradient(90deg, rgb(77, 144, 222) 36%, rgb(52, 122, 205) 100%);
    background: linear-gradient(180deg, rgb(77, 144, 222) 36%, rgb(52, 122, 205) 100%);
    line-height: 60px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    border-radius: 3px;
    border: 1px solid rgb(52, 122, 205);
    -moz-box-shadow: inset 0 1px 1px 0 #63afe8;
    -webkit-box-shadow: inset 0 1px 1px 0 #63afe8;
    box-shadow: inset 0 1px 1px 0 #63afe8;
    text-shadow: 1px 1px 1px #2b598f;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.quizBox .buttonNext:hover {
    background: #4085d5;
    background: -moz-linear-gradient(90deg, rgb(77, 144, 222) 36%, rgb(52, 122, 205) 100%);
    background: -webkit-linear-gradient(90deg, rgb(77, 144, 222) 36%, rgb(52, 122, 205) 100%);
    background: -o-linear-gradient(90deg, rgb(77, 144, 222) 36%, rgb(52, 122, 205) 100%);
    background: -ms-linear-gradient(90deg, rgb(77, 144, 222) 36%, rgb(52, 122, 205) 100%);
    background: linear-gradient(180deg, rgb(77, 131, 209) 36%, rgb(52, 106, 189) 100%);
}

.quizBox .buttonNext.inactive {
    display:none;
}

.quizBox .explanation {
    background: #eeeeee;
    padding: 11px 31px;
    color: #6f6f6f;
    margin-bottom: 2%;
}

.quizBox .explanation strong:first-child {
    display: block;
    clear: both;
}

.quizBox .explanation.correct {
    color: white;
    background: url(//ifrype.com/i/icons/success_white.png) 12px 12px no-repeat #7fa340;
}

.quizBox .explanation.wrong {
    color: white;
    background: url(//ifrype.com/i/icons/alert_white.png) 12px 12px no-repeat #db4d4d;
}

.quizBox .quiz-result {
    margin: 30px 35px;
}

.quizBox .quiz-result h1 {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 300;
    border: none;
    margin: 25px 0 10px;
    font-size: 30px;
}

.quizBox .quiz-result .result {
    margin: 15px 0;
    line-height: 1.6;
}

.quizBox .quiz-result select {
    border-radius: 2px;
    border: 1px solid #bebebe;
    -webkit-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.35);
    -moz-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.35);
    box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.35);
    padding: 5px;
}

.quizBox #quiz-friends .userList {
    margin-top: 30px;
}

.quizBox.ie .answers .option-pic,
.quizBox.ie .answers .option {
    width: 48%;
    margin: 0 1% 2%;
}

.quizBox.ie .answers .option-pic {
    text-align: center;
}
