/*
 * Definitions that apply while viewing questions.
 */
.question-type-name {
  font-style: italic;
}

/*
 * Definitions that apply while taking the quiz.
 */
#quiz-progress {
  font-style: italic;
  font-size: 80%;
}

#quiz-score-possible,
#quiz-score-percent {
  font-weight: bold;
}

td.quiz-summary-qcell {
  vertical-align: top;
  padding: 1em 1em 0 0;
}

td.quiz-summary-qcell table tr {
  background: transparent;
}

td.quiz-summary-qcell table td {
  vertical-align: top;
  padding: .5em;
}

.quiz-answer-feedback {
  font-style: italic;
}

.feedback-icon {
  display: inline;
}

.add-questions {
  background: transparent url(images/add.png) no-repeat scroll 0% 10%;
  padding: 0 0 1em 2em;
}

.hidden-question {
  display: none;
}

.quiz-question-browser-row.odd {
  background-color: #e7e7e7;
}

.quiz-question-browser-row.even {
  background-color: #fbfbfb;
}

#quiz-question-browser-filters {
  /*background-color: black;*/
  /* Black bg in seven theme looks horrible. */
  background: none repeat scroll 0 0 #e1e2dc;
  border-color: #bebfb9;
  border-style: solid;
  border-width: 1px;
  font-weight: normal;
  padding: 3px 10px;
  text-transform: uppercase;
}

#quiz-question-browser-filters td.active {
  background-color: #666;
}

.quiz-question-browser-row.odd td.active {
  background-color: #e2e2f9;
}

.quiz-question-browser-row.even td.active {
  background-color: #f8f8ff;
}

tr.selected.quiz-question-browser-row td,
tr.selected.quiz-question-browser-row td.active {
  background: none repeat scroll 0 0 #505050;
  color: #fff;
}

.browser-table th {
  border-bottom: 0 solid #666666;
}

.q-staying {
  display: inline;
  float: left;
  margin-right: 8px;
}

/*
 * Definitions that apply on the quiz report pages.
 */
div.quiz-report {
  margin: 0;
  padding: 0;
}

div.quiz-report .dt {
  background: #eee;
  border-top: solid 1px gray;
  padding-left: 5px;
}

div.quiz-report .quiz-report-question-header h3 {
  float: left;
}

div.quiz-report-score-container {
  border-right: solid 1px gray;
  border-left: solid 1px gray;
  border-bottom: solid 1px gray;
  border-top: solid 1px gray;
  float: right;
  padding: 4px 6px;
}

div.quiz-report-score-container span div.form-item {
  display: inline;
}

div.quiz-score-submit {
  float: right;
}

.quiz-report-skipped {
  float: right;
}

.q-correct {
  background-color: #ddffdd;
}

.q-wrong {
  background-color: #ffcccc;
}

.q-waiting {
  background-color: #ffffdd;
}

input#edit-submit-hidden {
  height: 0;
  width: 0;
  overflow: hidden;
  padding: 0;
  border: none;
}

.quiz-passed {
  color: #00dd00;
}

.quiz-failed {
  color: #dd0000;
}

#no-questions {
  font-style: italic;
}
#quiz-start-quiz-button-form div {
  padding: 0;
  margin: 0;
}

#quiz-start-quiz-button-form input {
  margin: 0;
}

#quiz-view-table td {
  padding: 5px 3px;
  margin: 0;
  line-height: 110%;
}

#browser-pager .pager-last {
  display: none;
}
#browser-pager .pager-first {
  display: none;
}

.matching-tbl {
  width: auto;
  border-collapse: separate;
  padding: 0;
  margin: 0;
  border: 0;
  line-height: 100%;
}

.matching-tbl p,
.matching-tbl select,
.matching-tbl div {
  padding: 0;
  margin: 0;
  line-height: 100%;
}

.matching-tbl td {
  padding: 2px;
  margin: 2px;
  line-height: 100%;
}

.quiz-solution {
  border-left: solid 5px #00ff00;
  padding-left: 3px;
}

.quiz-answer-hidden {
  font-style: italic;
}

#quiz-jumper-form,
#quiz-jumper-form div,
#quiz-jumper-form select {
  display: inline;
}

#quiz-progress .item-list .pager {
  text-align: left;
}

#quiz-categorized-form #autocomplete {
  overflow: auto;
  max-height: 300px;
}

.mark-doubtful .toggle {
  margin: auto;
  position: relative;
  width: 100px;
  overflow: hidden;
  height: 18px;
  line-height: 18px;
  font-size: 11px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #ccc;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-radius: 3px;
  -moz-box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
  box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
}

.mark-doubtful .toggle.off {
  background-clip: padding-box;
  background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(50%, red), color-stop(50%, white), color-stop(100%, white));
  background-image: -moz-linear-gradient(left, red 50%, white 50%, white 100%);
  background-image: linear-gradient(left, red 50%, white 50%, white 100%);
}

.mark-doubtful .toggle {
  background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(50%, white), color-stop(50%, green), color-stop(100%, green));
  background-image: -moz-linear-gradient(left, white 50%, green 50%, green 100%);
  background-image: linear-gradient(left, white 50%, green 50%, green 100%);
}

.mark-doubtful .toggle div {
  position: relative;
  color: #777;
  width: 52px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  border-radius: 2px;
  background: white;
  text-shadow: 1px 1px 0 white;
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #fefefe), color-stop(100%, #eaeaea));
  background-image: -moz-linear-gradient(top, #fefefe 0%, #eaeaea 100%);
  background-image: linear-gradient(top, #fefefe 0%, #eaeaea 100%);
  -webkit-transition: left 0.2s;
  -mox-transition: left 0.2s;
  -o-transition: left 0.2s;
  transition: left 0.2s;
}

/*
Fun

#quiz-question-answering-form {
  background-image: url('theme/question_bg.png');
  background-repeat: no-repeat;
  background-position: top left;
}
*/

/* Custom Styles */

#quiz-view-table td,
#quiz-view-table th {
  vertical-align: middle;
  padding-left: 10px;
}

.node-quiz {
  padding-bottom: 20px;
  border: 0;
}

.quiz-start-link {
  font-family: "BPG Nino Mtavruli", sans-serif;
  padding: 5px 10px;
  border-radius: 3px;
  background-color: #C4CAD6;
  border-color: #243459;
  line-height: 20px;
  position: relative;
  color: #081b44 !important;
  margin: 10px;
  transition: all 0.3s;
  text-decoration: none
}

.quiz-start-link:hover {
  background-color: #9FA6B4;
  text-decoration: none
}

#quiz-question-answering-form {
  background-color: #fff;
  padding: 10px;
  background-repeat: no-repeat;
  background-position: top right;
  border: 1px solid #ddd;
}

#quiz-question-answering-form #edit-navigation {
  margin-bottom: 0;
}

#quiz-question-answering-form #edit-navigation p{
  padding: 0 10px;
}

#quiz-question-answering-form #edit-navigation button {
  background-color: #081b44;
  color: #fff;
  font-family: "BPG Nino Mtavruli", sans-serif;
  padding-top: 9px;
  transition: all 0.3s;
}

#quiz-question-answering-form #edit-navigation button:hover {
  background-color: #2d4372;
}

.yellow-theme #quiz-question-answering-form #edit-navigation button{
  color: #edbe5f;
}

.light-blue-theme #quiz-question-answering-form #edit-navigation button{
  background-color: #11549B;
}

#quiz_result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #081b44;
  color: #fff;
}

.tabs--primary.nav.nav-tabs li.active a {
  background-color: #fff;
}

#quiz_score_possible {
  margin-bottom: 10px;
  border-collapse: collapse;
  width: 100%;
}

#quiz_score_possible td,
#quiz_score_possible th {
  border: 1px solid #ddd;
  padding: 7px;
}

#quiz_score_possible th {
  background: #f5f5f5;
}

.node-quiz .field-name-field-quiz-status {
  background-color: #dff0d8;
  color: #3c763d;
  border: 1px solid #ddd;
  border-bottom: 0;
  padding: 10px;
}

.total-ratings-link{
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

#quiz-summary {
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 10px;
}

.quiz-button {
  border: 1px solid #ddd;
  padding: 10px;
  border-bottom: 0;
}

.quiz-button a,
.node-quiz .form-submit {
  padding: 8px 10px 5px 10px;
  font-family: "BPG Nino Mtavruli", sans-serif;
  background-color: #081b44;
  transition: all 0.3s;
  color: #fff;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.quiz-button a {
  margin-bottom: 0;
}

.quiz-button-link a:hover,
.quiz-button a:hover,
.quiz-button a:active,
.quiz-button a:focus,
.node-quiz .form-submit:hover,
.node-quiz .form-submit:active,
.node-quiz .form-submit:focus {
  text-decoration: none;
  background-color: #2d4372;
}

.blue-theme .quiz-button a,
.blue-theme .node-quiz .form-submit{
  color: #fff;
}

.yellow-theme .quiz-button a ,
.yellow-theme .node-quiz .form-submit {
  color: #edbe5f;
}

.light-blue-theme .quiz-button a,
.light-blue-theme .node-quiz .form-submit{
  background-color: #11549B;
  color: #fff;
}

.quiz-custom-table {
  border: 1px solid #ddd;
  border-collapse: collapse;
}

.quiz-custom-table > thead > tr > th {
  border-bottom: 0!important;
}

.quiz-custom-table th{
  background-color: #f1f1f1;
}

.quiz-custom-table .views-field-nothing {
  text-align: center;
}

.quiz-custom-table tr:nth-child(even) {
  background-color: #f5f5f5;
}

#quiz-question-answering-form h2 {
  font-family: "BPG Nino Mtavruli", sans-serif;
  font-size: 15px;
  border-bottom: 1px solid #ddd;
  margin: -11px;
  margin-bottom: 0;
  padding: 11px;
  padding-top: 14px;
  color: #fff;
  background-color: #081b44;
  border-bottom: 2px solid #edbe5f;
}

.yellow-theme #quiz-question-answering-form h2 {
  color: #edbe5f;
}

.light-blue-theme #quiz-question-answering-form h2 {
  background-color: #11549B;
}

#quiz-progress {
  display: none;
}

.quiz-question-truefalse .form-type-radio {
  border: 1px solid #ddd;
  margin: 0;
  padding: 8px;
  background-color: #f9f9f9;
}

.quiz-question-truefalse .form-type-radio:nth-child(2) {
  margin-top: -1px;
  background-color: #fff;
}

.answering-form .field-type-text-with-summary p {
  padding: 10px 0;
}

.quiz-question-multichoice .form-type-checkboxes,
.quiz-question-truefalse .form-type-radios > label{
  display: none;
}

#quiz-questions-form .tabledrag-toggle-weight {
  display: none;
}

#views-form-quiz-results-page fieldset legend{
  display: none;
}

#views-form-quiz-results-page fieldset {
  padding-top: 10px;
}

#views-form-quiz-results-page fieldset #edit-actionviews-bulk-operations-delete-item {
  margin-bottom: 0;
}

.fb-share-btn {
  border: none;
  font-size: 11px;
  vertical-align: middle;
  background: #4267b2;
  color: white;
  border-radius: 3px;
  padding: 4px 7px;
}

.fb-share-btn i {
  font-size: 15px;
  margin-right: 2px;
}

.fb-share-btn i, .fb-share-btn span {
  vertical-align: middle;
}

.fb-share-btn:hover {
  background: #365899;
}

.fb-share-btn:focus {
  outline: none;
}

.quiz-share {
  position: absolute!important;
  top: 17px;
  right: 1px;
}
.quiz-result-page .score-highlight{
  margin-bottom: 20px;
}

.quiz-result-page.score-header {
  position: relative;
}

.result-remove-info {
  position: absolute;
  top: 20px;
  left: 3px;
  display: none;
}
