header.quiz-entry-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
}
h1.entry-title {
	font-size: 25px;
}

h4.question-title {
    text-align: center;
    line-height: 35px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
}

.quiz-entry-header-inner {
    text-align: center;
    padding: 10px;
}

h2#quiz-question-title {
    font-size: 25px;
    text-align: center;
}

header.quiz-entry-header p {
    margin: 0;
    margin-top: 10px;
}
.entry-content {
    margin-top: -15px;
    padding: 15px 15px 45px 15px;
}
.form-check-input {
    margin-top: 8px;
}
span#error {
    color: #ff0000;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

span.time {
    font-size: 20px;
    color: green;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.live::after {
    position: absolute;
    font-size: 0.8em;
    color: #000;
    background: #00800080;
    content: "LIVE";
    letter-spacing: 0.03rem;
    top: 0;
    right: 0;
    height: auto;
    width: auto;
    display: inline-block;
    padding: 0px 6px;
    margin: 0px;
    font-weight: bold;
    animation: blink 2s infinite; /* Adjust the duration to make the blinking slower */
}
.soon::after {
    position: absolute;
    font-size: 0.8em;
    color: #000;
    background: #ffff007d;
    content: "SOON";
    letter-spacing: 0.03rem;
    top: 0;
    right: 0;
    height: auto;
    width: auto;
    display: inline-block;
    padding: 0px 6px;
    margin: 0px;
    font-weight: bold;
}
.card-title {
    text-transform: inherit;
    margin-top: 10px;
}

/* Hide radio buttons and style labels */
#quiz-form input[type="radio"] {
    display: none; /* Hide radio buttons */
}

#quiz-form label.form-check-label {
    padding: 8px 12px;
    border: 2px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px;
    float: left;
    width: 48%;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
    #quiz-form label.form-check-label {
        padding: 12px 16px;
        border-radius: 25px;
        font-size: 1.2rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199px) {
    #quiz-form label.form-check-label {
        padding: 10px 14px;
        border-radius: 22px;
        font-size: 1.1rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    #quiz-form label.form-check-label {
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 1rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    #quiz-form label.form-check-label {
        padding: 6px 10px;
        border-radius: 18px;
        font-size: 0.9rem;
        width: 100%; /* Full width for smaller screens */
        margin-right: 0;
    }
}

/* Ultra small devices (very small portrait phones, less than 400px) */
@media (max-width: 400px) {
    #quiz-form label.form-check-label {
        padding: 4px 8px;
        border-radius: 16px;
        font-size: 0.8rem;
        width: 100%; /* Full width for very small screens */
        margin-right: 0;
    }
}


/* Style for label in checked state */
#quiz-form input[type="radio"]:checked + label.form-check-label {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* Additional styling to improve accessibility and interaction */
#quiz-form label.form-check-label:hover {
    background-color: #f0f0f0;
}

#quiz-form input[type="radio"]:focus + label.form-check-label {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

#submit-quiz {
    display: block;
    margin: 20px auto;
    min-width: 200px;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    background: #ccc;
    color: #000;
    font-weight: 600;
    border: none;
}

.center {
    text-align: center;
}

.quiz-button{
	text-decoration:none;
	width:100%;
}
p.quiz-detail {
    border-bottom: 1px solid;
}

.card.live {
        box-shadow: 0px 3px 0px 1px #00800080;
}

.card.soon {
        box-shadow: 0px 3px 0px 1px #ffff00;
}

button#resend-otp-button:hover {
    background: none;
}

.questions {
    background: #fff;
    padding: 10px;
}

button#resend-otp-button {
    background: no-repeat;
    color: #000;
    text-decoration: none;
}

.card-header {
  height: 120px; /* Adjust to the desired height */
  overflow: hidden; /* To ensure content doesn't overflow */
}
.extra-class {
    height: inherit;
}

@media only screen and (max-width: 600px) {
    h1.entry-title.title1 {
        font-size: 16px;
        line-height: 30px;
    }
	h2#quiz-question-title {
		font-size: 16px;
		font-weight: 600;
	}
	h4.question-title {
		font-size: 14px;
		line-height: inherit;
	}
	.entry-content {
		padding: 0;
	}
	.questions {
		background: linear-gradient(#ffc107, #ffc107), url(https://onlineexampro.in/wp-content/uploads/2024/08/onlineexam-bg.webp);
		background-repeat: repeat-y;
		background-size: cover;
		background-blend-mode: overlay;
	}
	.card-header {
		height: auto;
	}
	p.quiz-detail{
		margin-bottom:10px;
		box-shadow:3px 3px 3px 3px #ddd;
		border:none;
	}
}