/* FILTER DELETE */

#groeiboek-quiz-2023{
	max-width: 1455px !important;
    margin-left: auto !important;
    margin-right: auto !important;
	display: none; /* Initially hidden, shown when quiz button is clicked */
	flex-direction: column;
	left: 0px;
	right:0px;
	top:0px;
	bottom:0px;
	position: fixed !important;
	background-color: #ffffff;
	z-index: 10000;
	background-size: cover;
	/* Subtle shadow border on the sides */
	box-shadow: -8px 0 15px -5px rgba(0, 0, 0, 0.1), 8px 0 15px -5px rgba(0, 0, 0, 0.1);
}
#groeiboek-quiz-2023 .content_ans{
	border:0px !important;
	padding: 0px 0px 0px 0px;
}
#groeiboek-quiz-2023.visible{
	display: flex !important; /* Show as flex when visible */
}
.standardFilter{
	margin-right: 5px !important;
}
.quiz-button-mobile {
	display: none !important;
}
#groeiboek-quiz-2023-header{
	background-color: black;
	width: 100%;
	height: 90px;
	min-height: 90px;
	max-height: 90px;
	flex-shrink: 0;
	padding: 0px 20px 0px 20px;
	color: white;
	line-height: 90px;
	font-size: 25px;
	position: relative;
	z-index: 2;
}
#groeiboek-quiz-2023-header div{
	float: left;
	margin:  0px 0px 0px 0px;
}
#groeiboek-quiz-2023-green-line{
  height: 2px;
  background-color: #9bbd32;
  width: 100%;
  clear: both;
  padding: 0px;
  margin: 0px;
	position: relative;
	z-index: 2;
	flex-shrink: 0;
}
.content-book__inner .standaardFilter h2{
	margin-top:5px !important;
}
.contentBox.standaardFilter{
	border-bottom: 0px solid #ccc;
}
.content.inactive{
	margin:  0px 0px 0px 0px !important;
	padding:  0px 0px 0px 0px !important;
}
.content.inactive h2,
.content-book__inner .content.inactive h2,
.contentBox .content.inactive h2,
.content.inactive .groeiboekTitel h2,
.content-book__inner .content.inactive .groeiboekTitel h2,
.content.has-fabel-feit-holder.inactive h2,
.content.has-fabel-feit-holder.inactive .groeiboekTitel h2,
.content-book__inner .content.has-fabel-feit-holder.inactive .groeiboekTitel h2,
.contentBox .content.has-fabel-feit-holder.inactive .groeiboekTitel h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder.inactive h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder.inactive h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder.inactive h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder.inactive .groeiboekTitel h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder.inactive .groeiboekTitel h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder.inactive .groeiboekTitel h2 {
	font-size: 8px !important;
	margin: 5px 0px 0px 0px !important;
	padding: 0px 0px 0px 0px !important;
}
.content.inactive .groeiboekTitel h2{
	font-size: 8px !important;
	margin-bottom:5px !important;
}
.content.inactive .groeiboekTitel .copy-short-link{
	margin-top:5px !important;
}
.content.inactive .groeiboekTitel .copy-short-link .fa-link{
	font-size:12px !important;
}
.content-book__inner .groeiboekTitel{
	text-align: center;
}
.content-book__inner .standaardFilter h2{
	width: 100%;
}
.content.inactive .filterImages{
	display: none;
}
.filterImages{
	display: none;
}
/* Style .content divs within containers with level="2", "3" or "4" (only for quiz groeiboeken) */
/* Exclude first two chapters and chapters with "Colofon" */
/* Only apply to .content divs that have a direct child with class "fabel-feit-holder" */
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder {
	display: block;
	background: rgba(0, 0, 0, 0.03);
	border-radius: 20px;
	padding: 7px 10px 16px 20px;
	margin-right:13px;
	border:1px solid #ddd;
	text-align: center; /* Center the content */
}
/* Center text content within these content divs */
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder p,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder p,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder p {
	text-align: center;
}
/* Center h2 and h3 elements within .content divs that have fabel-feit-holder */
/* Make h3 styling the same as h2 for these cases */
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder h2 {
	text-align: center;
	width: 100% !important;
	margin-bottom: 10px !important;
	font-family: "Georgia", serif;
	font-size: 2rem !important;
	font-weight: 400;
	line-height: 1.3em;
}
/* Override font-size for inactive content with has-fabel-feit-holder */
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder.inactive h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder.inactive h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder.inactive h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder.inactive .groeiboekTitel h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder.inactive .groeiboekTitel h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder.inactive .groeiboekTitel h2 {
	font-size: 8px !important;
}
/* H3 elements in inactive content divs with fabel-feit-holder */
.content.has-fabel-feit-holder.inactive h3,
.content-book__inner .content.has-fabel-feit-holder.inactive h3,
.contentBox .content.has-fabel-feit-holder.inactive h3,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder.inactive h3,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder.inactive h3,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder.inactive h3 {
	font-size: 8px !important;
	margin: 5px 0px 0px 0px !important;
	padding: 0px 0px 0px 0px !important;
}
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder h3,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder h3,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder h3 {
	text-align: center;
	width: 100% !important;
	margin-bottom: 10px !important;
	margin-top: 5px !important;
	font-family: "Georgia", serif;
	font-size: 2rem !important;
	font-weight: 400;
	line-height: 1.3em;
}
/* Align all h2 elements to the left, except those within .content divs with fabel-feit-holder */
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content h2,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content h2 {
	text-align: left;
	width: unset !important;
}
/* Hide empty p elements at the highest level within .content divs - handled by JavaScript */
/* Center block-level elements */
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder > *,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder > *,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder > * {
	margin-left: auto;
	margin-right: auto;
}
/* When quiz view is disabled (quizSwitchCheckbox unchecked), reset styling */
/* Exclude first two chapters and chapters with "Colofon" */
/* Only apply to .content divs that have a direct child with class "fabel-feit-holder" */
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin-right: 0 !important;
	text-align: left !important;
}
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder p,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder p,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder p {
	text-align: left !important;
}
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder > *,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder > *,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
body.quiz-view-disabled .answer-message {
	display: none !important;
}
body.quiz-view-disabled .content_ans {
	border: none !important;
	background: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
}
body.quiz-view-disabled .content-book__inner .groeiboekTitel {
	text-align: left !important;
}
body.quiz-view-disabled .content-book__inner .groeiboekTitel h2 {
	width: auto !important;
}
/* All headers should be left-aligned and width unset when quiz view is disabled */
body.quiz-view-disabled h1,
body.quiz-view-disabled h2,
body.quiz-view-disabled h3,
body.quiz-view-disabled h4,
body.quiz-view-disabled h5,
body.quiz-view-disabled h6 {
	text-align: left !important;
	width: unset !important;
	max-width: unset !important;
}
/* Override specific header width rules when quiz view is disabled */
body.quiz-view-disabled .content-book__inner .standaardFilter h2 {
	width: unset !important;
}
body.quiz-view-disabled .content-book__inner .groeiboekTitel h2 {
	width: unset !important;
}
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder h2,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder h2,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder h2 {
	width: unset !important;
}
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder h3,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder h3,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder h3 {
	width: unset !important;
}
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content h2,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content h2,
body.quiz-view-disabled .contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content h2 {
	width: unset !important;
}
/* Hide empty p elements - used by JavaScript */
.empty-p-hidden {
	display: none !important;
}
.content-book__inner .groeiboekTitel h2{
	margin-bottom:13px !important;
	width: 100%;
}
/* Align copy-short-link elements to the top only within contentBox level 2, 3, or 4 */
/* Exclude first two chapters and chapters with "Colofon" */
/* Only apply to .content divs that have a direct child with class "fabel-feit-holder" */
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="2"] .content.has-fabel-feit-holder .copy-short-link,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="3"] .content.has-fabel-feit-holder .copy-short-link,
.contentBox[level="1"]:not(.exclude-special-css) .contentBox[level="4"] .content.has-fabel-feit-holder .copy-short-link {
	vertical-align: top;
	align-self: flex-start;
	margin-top: 10px !important;
}
.quizTextQuiz{
	float: left;
	margin:  0px 10px 0px 0px;
}
.groeiboekQuizView{
	width: 100%;
	text-align: center;
	font-size: 16px;
	margin-bottom: 10px;
}
.quizHide{
    width: 100%;
    color:black;
    display: flex;
    justify-content: left;
    align-items: start;
}
.switch{
	font-size: 16px;
	padding: 3px 32px 0px 10px !important;
}
.leftColumnFilter .switch{
	color: black;	
	font-size: 12px;

}

.filterWrapper{
	margin-top: -10px;
}
.short-url-link3{
	display: none;
}
.short-url-link{
	display: none;
}
.filterContainer{
	width: 100% !important;
}
.filterCategory{
	width: 100% !important;
}
/* The switch - the box around the slider */
.quizSwitch {
  position: relative;
  display: inline-block;
  width: 43px;
  height: 25px;
  float: left;
}

/* Hide default HTML checkbox */
.altnavswitch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.quizSlider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #aaa;
  -webkit-transition: .4s;
  transition: .4s;
}

.quizSlider:before {
    position: absolute;
    content: "";
    height: 21px;
    width: 21px;
    left: 3px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .quizSlider {
  background-color: #9bbd32;
}

input:focus + .quizSlider {
  box-shadow: 0 0 1px #fff;
}

input:checked + .quizSlider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.quizSlider.round {
  border-radius: 34px;
  width: 43px !important;
}

.quizSlider.round:before {
  border-radius: 50%;
}

.quizText{
  line-height: 25px;
  float: left;
  margin:  0px 0px 0px 10px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 30px;
  padding: 0px 0px 0px 0px;
}
.quizText.active{
	background: #9bbe1c;
	color: black;
}
.quizHand {
	text-align: center;
	width: 100px;
	height: 100px;
	margin-top: -33px;	
}
.quizHand img{
	width: 100px;
	height: 100px !important;
}

#groeiboek-quiz-2023-green-image{
	width: 100%;
}
#groeiboek-quiz-2023-progress{
	height: 70px;
  padding: 20px 20px 0px 20px;
  width: 100%;
  background: white;
  position: relative;
  z-index: 2;
  display: flex;
}
#groeiboek-quiz-question-container{
	position: relative;
	display: flex;
	flex-direction: column;
	height:100%;
	flex:1;
}
#home-button{
	width: 72px;
	display: none;
}
#home-box-rect{
	width: 40px;
	height:  40px;
	border-radius: 0px;
	background-color:  #9bbd32;
	float: left;
}
#home-box-circle{
	width: 40px;
	height:  40px;
	border-radius: 20px;
	margin-left: -20px;
	background-color:  #9bbd32;
	float: left;
}
#home-icon{
	color: white;	
	float: left;
	font-size: 23px;
    margin-left: -38px;
    margin-top: 7px;
}
.progress-text{
	line-height: 40px;
	margin-left: 0px;
	margin-right:20px;
	font-size: 25px;
	font-weight: bold;
	white-space: nowrap;
	width: 320px;
}
#quiz-progress-bar{
	width: 100%;
  position: relative;
  height: 8px;
  display: block;
  float: left;
  margin-right: 0px;
  margin-top: 17px;
}
#quiz-progress-bar-percentage{
	width: 10%;
    position: relative;
    height: 8px;
    display: block;
    background: #9bbd32;
    float: left;
    display: none;
}
#groeiboek-quiz-2023-score{
    position: relative;
    z-index: 5;
    font-size: 35px;
    line-height: 50px;
    margin: 0px 0px 0px 0px;
	padding:0px 20px 20px 20px;
    text-align: center;
    font-family: Georgia;
}
.groeiboek-quiz-grade{
	display: inline;
	font-weight: bold;
}
.groeiboek-quiz-grade-box{
	margin-bottom: 10px;
}
#groeiboek-quiz-2023-score-background{
	display: none;
	flex: 0 0 auto; /* Don't grow/shrink, use natural size based on image */
	margin: 0px 20px 20px 20px;
	border-radius: 20px;
	border:1px solid #ccc;
	max-width: 100%;
	overflow: hidden; /* Ensure image respects border-radius */
	align-items: center;
	justify-content: center;
}
#groeiboek-quiz-2023-score-background .groeiboek-quiz-background-image {
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain; /* Show full image, maintain aspect ratio */
	object-position: center center;
	display: block;
}
#single-view-close {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 20px;
    top: 23px;
    z-index: 3000;
    color: white;
    font-size: 45px;
    padding: 0px;
    margin: 0px;
    border-radius: 50%;
    cursor: pointer;
    color: #9bbd32 !important;
}
.filterCategoryTitle{
    font-size: 14px;
    font-weight: bold;
	margin-top:-11px !important;
}
.quiz-progress-bar-piece.right .quiz-progress-bar-piece-background{
	background: #bfd67a !important;
}
.quiz-progress-bar-piece.wrong .quiz-progress-bar-piece-background{
	background: #ff9393 !important;
}
.quiz-progress-bar-piece{
	float: left;
}
.quiz-progress-bar-piece-background{
	background: #ddd;
	height: 8px;
	margin-right: 5px;
}
.header__info-blocks.is-open{
	top: 194px !important;
}
#single-view-close i {
    position: absolute;
    z-index: 150;
}
.close-background-color {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.groeiboek-quiz-2023-question{
	position: relative;
	z-index: 5;
	font-size: 30px;
	line-height: 40px;
	margin:  0px 25px 0px 20px;
	text-align: center;
	font-family: Georgia;
}
.right-answer{
	color: #9bbd32;
}
.wrong-answer{
	color: #d10000;
}
.groeiboek-quiz-end{
	position: relative;
	z-index: 5;
	background-color: #a3e0ee;
	margin: 0px 20px 20px 20px;
	border-radius: 20px;
	height: 100px;
	text-align: center;
	line-height: 100px;
	font-size: 29px;
	cursor: pointer;	
	display: none;
}
.groeiboek-quiz-back{
	position: relative;
	z-index: 5;
	background-color: #9bbd32;
	margin: 0px 20px 20px 20px;
	border-radius:20px;
	height: 100px;
	text-align: center;
	line-height: 100px;
	font-size: 25px;
	cursor: pointer;	
	display: none;
}
.groeiboek-quiz-question-box .book-tip{
	display: none;
}
.groeiboek-quiz-question-chosen-answer{
	position: relative;
	z-index: 5;
	text-align: center;
	font-size: 30px;
	font-family: georgia;
	margin: 30px 20px 32px 20px;
}
.content_ans p{
	margin-bottom: 0px;
	text-align: left !important;
}
.filterIntroText{
	display: none;
}
.header-box-container .header-box .header__title{
	min-width: 475px !important;
	padding: 20px 0px 20px 40px !important
}
.header-box-container .header-box-mobile2 #groeiboek-search-container #groeiboek-search {
	width: 219px !important;
}
.header-box .groeiboek-search-panel-wrapper{
	margin-left: -190px;
}

.header__title-text{
	margin-right:90px;
}
.exclude-special-css .groeiboekTitel{
	text-align:left !important;
}
.exclude-special-css h2{
	width:unset !important;
}
.quiz-button{
    transform: rotate(-8deg);
    position: relative;
    cursor: pointer;
	height: 100px;
    width: 100px;
}
.quiz-button-icon{
	font-size: 0px;
	text-align: center;
	margin-bottom: 0px;
    margin-top: 0px;

}

.quiz-button-text{
	font-size: 15px;
	font-weight: bold;
	text-align: center;
}
.quiz-button2{
	transform: rotate(0deg);
	left: 50%;
	top: 67px;
	margin-left: 10px;
	cursor: pointer;
	color: black;
	width: 175px;
	height: 25px;
	border-radius: 15px;
	background: white;
}
.quiz-button-icon2{
	font-size: 18px;
	text-align: center;
	float: left;
	line-height: 25px;
	margin: 4px 0px 0px 6px;

}

.quiz-button-text2{
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	line-height: 25px;
}
.quizHand2 {
	text-align: center;
	display: none;
}
.quizHand2 img{
	width: 60px;
}

.groeiboek-quiz-question-answer-content{
	position: relative;
	z-index: 5;
	font-size: 15px;
	line-height: 25px;
	margin: 20px 20px 20px 20px;
}
.groeiboek-quiz-question{
  position: relative;
  display: none;
	background-size: cover;
	height: 100%;
}
.groeiboek-quiz-question.answered{
	display: flex;
	flex-direction: column;
	min-height: 0;
}
/* Global answered question layout - applies to desktop, tablet, and mobile */
/* Calculate available height: 100vh - header(90px) - green line(2px) - progress(70px) = calc(100vh - 162px) */
#groeiboek-quiz-question-container.answered-active{
	height: calc(100vh - 162px) !important;
	min-height: 0;
	overflow: hidden;
}
/* Make sure the answered question takes full height of container */
#groeiboek-quiz-question-container.answered-active .groeiboek-quiz-question.answered{
	height: 100%;
	display: flex;
	flex-direction: column;
	min-height: 0;
}
.groeiboek-quiz-question.answered .groeiboek-quiz-question-box{
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	flex: 1;
	overflow: hidden;
}
.groeiboek-quiz-question.answered .groeiboek-quiz-2023-question{
	flex-shrink: 0;
	order: -2; /* Keep question at top */
}
/* Make the answer wrapper a flex container */
.groeiboek-quiz-question.answered .groeiboek-quiz-2023-answer{
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
	order: -1; /* Keep answer content before next button */
}
/* Chosen answer: flex-shrink 0 to keep its natural height */
.groeiboek-quiz-question.answered .groeiboek-quiz-question-chosen-answer{
	flex-shrink: 0;
	margin: 30px 20px 32px 20px;
}
/* Answer content gets only the space it needs, but can scroll if content is too large */
.groeiboek-quiz-question.answered .groeiboek-quiz-question-answer-content{
	display: block;
	overflow-y: auto;
	overflow-x: hidden;
	flex: 0 1 auto; /* Don't grow, use only space needed */
	min-height: 0;
	margin: 0 20px 20px 20px;
	-webkit-overflow-scrolling: touch;
}
/* Ensure content_ans inside doesn't push things out */
.groeiboek-quiz-question.answered .groeiboek-quiz-question-answer-content .content_ans{
	display: block;
	height: auto;
	max-height: none;
	overflow: visible;
}
/* Next button: placed directly after answer */
.groeiboek-quiz-question.answered .groeiboek-quiz-question-next{
	display: block !important;
	flex-shrink: 0;
	margin-top: 0;
	height: 75px;
	line-height: 75px;
	margin-bottom: 20px;
	order: 1; /* Place directly after answer content */
}
/* When answer is given, show background image below "Volgende" button with remaining space */
.groeiboek-quiz-question.answered .groeiboek-quiz-2023-question-background{
	display: flex;
	flex: 0 0 auto; /* Don't grow/shrink, use natural size based on image */
	min-height: 75px;
	max-width: 100%;
	margin: 0 20px 20px 20px;
	border-radius: 20px;
	border: 1px solid #ccc;
	z-index: 1;
	order: 2; /* Place after next button */
	overflow: hidden; /* Ensure image respects border-radius */
	align-items: center;
	justify-content: center;
}
.groeiboek-quiz-question.answered .groeiboek-quiz-2023-question-background .groeiboek-quiz-background-image {
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain; /* Show full image, maintain aspect ratio */
	object-position: center center;
	display: block;
}
/* Hide background image when there's no space */
.groeiboek-quiz-question.answered.no-space-for-image .groeiboek-quiz-2023-question-background{
	display: none !important;
}
/* Hide "Volgende" button for the last question, even when answered */
.groeiboek-quiz-question.last-question .groeiboek-quiz-question-next{
	display: none !important;
}
.groeiboek-quiz-2023-question-background{
	position: relative;
	margin: 0px 20px 20px 20px;
	border-radius: 20px;
	border:1px solid #ccc;
	z-index: -1;
	overflow: hidden; /* Ensure image respects border-radius */
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}
.groeiboek-quiz-2023-question-background .groeiboek-quiz-background-image {
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain; /* Show full image, maintain aspect ratio */
	object-position: center center;
	display: block;
}
.groeiboek-quiz-question-next{
	position: relative;
	z-index: 5;
	background-color: rgb(0, 184, 225);
	margin: 0px 20px 20px 20px;
	border-radius:20px;
	height: 100px;
	text-align: center;
	line-height: 100px;
	font-size: 29px;
	cursor: pointer;
	display: none;

}
.groeiboek-quiz-question-box{
	position: relative;
	display: flex;
	height:100%;
	flex-direction: column;
	flex:1;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background-color: rgba(255,255,255,0);
}
q {
  quotes: '"' '"' "'" "'";
}
q::before {
  content: open-quote;
}
q::after {
  content: close-quote;
}

.groeiboek-quiz-2023-answer{
	position: relative;
	z-index: 5;
}
.groeiboek-quiz-2023-buttons{
	display: flex;
	justify-content: space-between;
	z-index: 5;
}
.groeiboek-quiz-2023-buttons div{
	height: 75px;
	border-radius: 20px;
	font-size: 35px;
}
.groeiboek-button-fabel{
	width: 50%;
	background-color: #ff2794;
	margin: 0px 20px 20px 20px;
	float: left;
	color:white;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}
.groeiboek-button-of{
	width: 0%;
	background-color: white;
	margin: 15px;
	float: left;
	display: none;
	justify-content: center;
	align-items: center;
}
.groeiboek-button-feit{
	width: 50%;
	background-color: #99bc31;
	margin: 0px 20px 20px 0px;
	float: left;
	color:white;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

form#Filters {
/*    display: none;
*/}

.tab {
	overflow: hidden;
	display: flex;
	justify-content: center;
}

.tab button {
	background-color: inherit;
	float: none;
	width: 140px;
	color: white;
/*	border: 2px solid #ccc;
*/	border-radius: 10px;
	outline: none;
	cursor: pointer;
	box-sizing: border-box;
	padding: 10px 20px;
	margin-right: 15px;
	transition: 0.3s;
	font-size: 16px;
	line-height: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.tablinks.is-fabel{
	background-color: #ff2794;
}
.tablinks.is-feit{
	background-color: #9bbd32;
}
.tab button:hover {
	background-color: #ddd;
	color:black;
}

.tab button.active {
	background-color: #ccc;
}
.tab button.inactive {
	background-color: #ccc;
}

.tab button.fabelwrong.active{
	color: black;
	background-color: #ffe400;
	border-color: #ffe400;
}
.tab button.feitwrong.active{
	color: black;
	background-color: #ffe400;
	border-color: #ffe400;
}
.tab button.fabelcor.active {
	color: black;
	background-color: #ffe400;
	border-color: #ffe400;
}
.tab button.feitcor.active{
	color: black;
	background-color: #ffe400;
	border-color: #ffe400;
}
.tabcontent {
	display: none;
	animation: fadeEffect 1s;
}

 @keyframes fadeEffect {
	 from {opacity: 0;}
	 to {opacity: 1;}
}
.content_ans,
.wrong_ans,
.cor_ans{
	display: none;
    background: white;
    padding: 13px 20px 13px 20px;
    margin: 0px 10px 0px 0px;
    border: 1px solid #ddd;
    border-radius: 15px;
}
.answer-message p{
	text-align: center !important;
	font-size:15px;
}

.wrong_ans {
    font-size: 2rem;
    line-height: 5rem;
    color: red;
    background: white;
    border-radius: 10px;
    margin: 20px;
    width: 290px;
    margin: 15px auto 0px auto;
    padding: 0px 0px 0px 0px;
	display: none;
}

.cor_ans {
	font-size: 2rem;
	line-height: 5rem;
	color: #a1bf52;
	display: none;
}

.active {
	display: block;
}
.fabel-feit-holder{
	margin-top: -2px;
}
.fabel-feit-holder i{
	margin:  0px 0px 0px 0px;
}
.header-box-container {
	position: relative;
	display: block;
}
.score-container {
    right: -25px;
	/* left:24px; */
	/* margin-top:25px; */
	border: 1px solid rgba(0, 0, 0, 0.1);
    border-top-color: white;
	background: white;
	padding: 0px 15px 7px 15px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
    /* width: 184px; */
    position: absolute;
    z-index: 1000;
    font-size: 14px;
	color: rgba(0,0,0,0.8);
}
.score{
	margin-top:7px;
}

.score-title{
	color: rgba(0,0,0,0.8);
	border-bottom: 1px solid black;
	font-weight: bold;
}
.score-cor{
	color: rgba(0,0,0,0.8);
}
.score-wrong{
	color: rgba(0,0,0,0.8);
}
.score-total{
	display: none;
}
.score-total-percentage{
	color: rgba(0,0,0,0.8);
}
.score-cor-count{
	float: right;
}
.score-wrong-count{
	float: right;
}
.score-total-percentage{
	float: right;
}
.newFabelFeit{
	width: 75px;
    position: absolute;
    left: -14px !important;
    margin-top: -21px !important;
	right:unset !important;
}
.quiz-view-disabled .newFabelFeit{
	float:right;
	position: relative !important;
	left:unset !important;
	margin-top:-6px !important;
}
.quiz-view-enabled .newFabelFeit{
	position: absolute !important;
	right:-5px !important;
	width:65px !important;
	margin-top: -42px !important;
	left: unset !important;
}
.quiz-view-enabled #groeiboek-quiz-knop-mobile, .quiz-view-disabled #groeiboek-quiz-knop-mobile{
	display: block !important;
}

@media only screen and (max-width: 1440px) {
	.score-container{
		right:0px;
		margin-top:-1px; 
	}
	.score{
		background-color:white !important;
	}
}
@media only screen and (max-width : 767px) {
	.quiz-button2{
		position: relative;
		clear: both;
		width: 175px !important;
		margin:  10px auto !important;
		left: inherit !important;
		top: 0px !important;
	}
	.groeiboek-quiz-grade-text{
		margin-bottom:20px;
		font-size: 25px;
		line-height: 35px;
	}
	.groeiboek-quiz-grade-box{
		font-weight: bold;
		font-size:28px;
	}
	.groeiboek-quiz-question-chosen-answer{
		font-size:22px;
	}
	.groeiboek-quiz-question-box{
		display: flex;
		height: 100%;
	}
	.quizHide{
		width: 190px !important;
		height: initial !important;
	}
	.header__title{
		line-height: 21px !important;
		font-size: 14px !important;
	}
	.groeiboek-title-box .header__title-text{
		font-size: 19px !important;
	}
	.quizText{
		/* margin:  0px 0px 15px -10px !important; */
	}
	.content-book__inner{
		padding-top:40px !important;
	}
	.header-box-mobile2 .header__title{
		/* margin: -92px 10px 0px 80px; */
	}
	.progress-text{
		font-size: 22px !important;
	}
	#groeiboek-quiz-2023-header{
		height: 90px;
		min-height: 90px;
		max-height: 90px;
		flex-shrink: 0;
		line-height:  25px !important;
		padding:  20px 50px 0px 0px;
		font-size: 20px !important;
		font-family: "Georgia", serif;
	}
	.groeiboek-quiz-2023-question{
		line-height: 33px;
		font-size:24px;
	}
	#groeiboek-quiz-2023-score{
		margin-bottom: 0px !important;
		padding-bottom: 0px !important;
	}
	.groeiboek-quiz-question-answer-content{

	}
	/* Mobile: Hide background image when answered */
	.groeiboek-quiz-question.answered .groeiboek-quiz-2023-question-background{
		display: none !important;
	}
	/* Mobile: Place "Volgende" button at the bottom */
	.groeiboek-quiz-question.answered .groeiboek-quiz-question-box{
		display: flex;
		flex-direction: column;
	}
	.groeiboek-quiz-question.answered .groeiboek-quiz-question-next{
		margin-top: auto; /* Push button to bottom */
		order: 999; /* Ensure it's at the end */
	}
	/* Answered question CSS is now global (defined outside media queries) */
	.header__info-blocks{
		margin-top: 169px !important;
	}
	.content-book{
		padding-top: 121px !important;
	}
	.groeiboek-quiz-2023-buttons div{
		height:55px;
		font-size: 26px;
	}
	.groeiboek-quiz-back{
		height:75px;
		line-height: 75px;
	}
	.groeiboek-search-panel-wrapper{
		margin-left:-200px !important
	}
	.toc-mobile{
		padding-right: 18px !important;
		margin-right:0px !important;
	}
	.header-box-mobile2 .groeiboek-tools-mobile > div{
		margin: 0px 0px 0px 10px !important;
	}
	.content .newFabelFeit{
		left: unset !important;
		position:relative !important;
		right:unset !important;
		margin-top:0px !important;
		float:right;
	}
	.quiz-view-enabled .newFabelFeit{
		width:60px !important;
		margin-top: -15px !important;
		float:left;
	}
	.quiz-view-enabled .content-book__inner .newFabelFeit img{
		margin: 0px 0px 0px -25px !important;
	}
}
@media only screen and (min-width: 1024px) and (max-width: 1259px) {
	.header .header-box-container .header-box .header__title{
		min-width:405px !important;
	}
	#groeiboek-quiz-2023-header{
		font-size:21px;
        display: flex;
        justify-content: left;
        align-items: center;
		padding:initial;
		flex-shrink: 0;
		min-height: 90px;
		max-height: 90px;
	}
	#groeiboek-quiz-2023-header div{
		padding: 0px 60px 0px 20px;
	}
	.groeiboek-title-box .header__title-text{
		font-size: 30px !important;
	}
	.newFabelFeit{
		right: -15px !important;
	}

}
@media only screen and (max-width: 1023px) {
	.groeiboek-title-box .header__title-text{
		line-height: 21px !important;
	}
	.header{
		max-height: 116px !important;
	}
	.content-book__inner h2{
		font-weight: normal !important;
	}
	#groeiboek-quiz-knop-mobile{
		margin-right:0px;
	}
	#groeiboek-quiz-knop-mobile img{
        width: 45px;
        height: 45px;
        margin-top: 0px;
        margin-right: 12px;
	}
	#groeiboek-quiz-2023-header{
		font-size:21px;
        display: flex;
        justify-content: left;
        align-items: center;
		padding:initial;
		flex-shrink: 0;
		min-height: 90px;
		max-height: 90px;
	}
	#groeiboek-quiz-2023-header div{
		padding: 0px 70px 0px 20px;
	}
	.newFabelFeit{
		right: -15px !important;
	}
	/* Answered question CSS is now global (defined outside media queries) */

}
@media only screen and (min-width: 767px) and (max-width: 1023px) {
	.header-box-mobile2 .groeiboek-tools-mobile > div{
		margin:0px 0px 0px 10px !important
	}
	.quiz-view-enabled .newFabelFeit{
		left:0px !important;
	}
}