/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.3.0.1744311200
Updated: 2025-04-10 18:53:20

*/

/*.calculator-container { display:none; }*/
.calculator-container {
  display: none !important;
  margin-bottom: 20px;
  max-width: 400px;
  position: absolute;
  z-index: 9999;
}

body.examtime .calculator-container {
  display: block !important;
top: -20px;
    left: 0;
}


.page-content { margin-bottom: 50px; }

.login-notice-wrapper {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 16px;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;
}

.login-notice-text {
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

.custom-login-button {
    display: block;
    padding: 10px 20px;
    background-color: #1d6211;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.custom-login-button:hover {
    background-color: #626ee3;
}

.ays-quiz-promote-powered-by-text{ display:none; }




.active-step .ays-questions-container {
  min-height: 100vh; /* or manually match image height */
  position: relative;
}
.active-step .ays-abs-fs {
  /*height: 100vh;
  overflow-y: auto;*/
}


.active-step .ays-abs-fs {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Default: two columns */
  gap: 20px;
}

/* When no image is present, switch to single column */
.active-step .ays-abs-fs:not(:has(.ays-image-question-img)) {
  grid-template-columns: 1fr; /* Single column */
}

/* Force image into left column */
.active-step .ays-image-question-img {
  grid-column: 1;
}

/* Everything else goes into right column */
.active-step .ays-abs-fs > :not(.ays-image-question-img) {
  grid-column: 2;
  text-align: left;
}

/* When no image, ensure content spans single column */
.active-step .ays-abs-fs:not(:has(.ays-image-question-img)) > * {
  grid-column: 1;
}

/* Image styling */
.active-step .ays-image-question-img {
  position: fixed;
  top: 0;
  width: 50%;
  left: 0;
  border-right: 1px solid;
  overflow: scroll;
  max-height: 900px;
}

/* Reset fixed positioning when no image to avoid layout issues */
.active-step .ays-abs-fs:not(:has(.ays-image-question-img)) .ays-image-question-img {
  position: static;
  width: auto;
  border-right: none;
  overflow: auto;
  max-height: none;
}

.ays-quiz-container {
  box-shadow: none !important;
}

.ays-quiz-container .ays-image-question-img img {
  max-width: fit-content;
  width: auto !important;
}

.active-step .ays-start-page {
  display: block;
}


/* LESSON PAGES */
body.examtime {}

body.examtime .ays_quiz_question, body.examtime .ays_quiz_question p {
	font-size:25px !important;
}
body.examtime .ays_quiz_question ul {
    text-align: left;
    margin-left: 30px;
}
body.examtime .ays_quiz_results {}
body.examtime .ays_quiz_results .ays_question_result {
	border-bottom: 1px solid;
}
.ays_quiz_question{}
body.examtime .ays_quiz_results .ays_question_result .ays-image-question-img {
    height: 600px;
    overflow: hidden;
}
body.examtime .ays_quiz_results .ays_question_result .ays-image-question-img img {
	height:100%;
}

body.examtime .foxlms-lesson__breadcrumbs,
body.examtime .foxlms-lesson__sidebar,
body.examtime .foxlms-page__sidebar,
body.examtime .foxlms-tabs,
body.examtime .entry-header,
body.examtime .foxlms-lesson__actions-wrapper { display:none !important; }


@media (max-width: 768px) {
  .ays-abs-fs {
    grid-template-columns: 1fr; /* Stack vertically on small screens */
  }

  .ays-abs-fs > * {
    grid-column: auto !important; /* Let them flow normally */
  }
}