
/* 1. UPDATED IMPORT 
   I added 'Noto+Serif' to this list so we have a matching Greek font 
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700&family=Noto+Serif:wght@300;400;500;600;700&family=Noto+Serif+Hebrew:wght@300;400;500;600;700&family=Noto+Sans+Display:wdth,wght@87.5,400;87.5,700&display=swap');

/* 2. THE FILTER
   This creates a custom font alias called "Greek Serif Only".
   It loads Noto Serif but strictly limits it to Greek characters.
*/
@font-face {
  font-family: 'Greek Serif Only';
  src: local('Noto Serif'), url('https://fonts.gstatic.com/s/notoserif/v21/ga6Iaw1J5X9T9RW6j9bNfFcWAzh6.woff2') format('woff2'); /* Fallback to standard Noto Serif */
  /* This range covers standard Greek (0370-03FF) and Polytonic Greek (1F00-1FFF) */
  unicode-range: U+0370-03FF, U+1F00-1FFF;
}

/* 3. THE STACK */
body,
h1, h2, h3, h4, h5, h6 {
  /* Logic:
     1. Check 'Greek Serif Only'. If the letter is Greek, use it (Noto Serif).
        If the letter is English, this font "declines" to render it.
     2. Fall back to 'Noto Sans'. This catches all English text.
        It would normally catch Greek too, but step 1 already grabbed the Greek.
     3. Fall back to 'Noto Serif Hebrew'. Catches Hebrew.
  */
  font-family: 'Greek Serif Only', 'Noto Sans', 'Noto Serif Hebrew', sans-serif !important;
	
}

@media screen and (max-width: 600px) {
    #hebrew-word-analysis-container .word-cell-interactive {
        padding-right: 4px !important;
    }
    #hebrew-word-analysis-container .pos-abbreviation {
        margin-left: 4px !important;
    }
}

/* 2. Set your site's font-family "stack" 
body,
h1, h2, h3, h4, h5, h6 {
  /*
   * This tells the browser:
   * 1. Try 'Noto Sans' first.
   * 2. If the character is English, it will be found here and used.
   * 3. If the character is Hebrew, it's not in 'Noto Sans',
   * so the browser falls back to 'Noto Serif Hebrew'.
   *

/* The "!important" overrules any of Astra's default theme styles.
  font-family: 'Noto Sans', 'Noto Serif Hebrew', sans-serif !important;
}  */


.site-content {

    padding-top: 0px;

}   



/* remove margin in footer */

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
    max-width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

/* Stops mobile from moving side-to-side */ 

html, body {

    max-width:100%;

    overflow-x:hidden;

}

/* Remove lines in tables */ 

td {
 border-style : hidden!important;
}

tr {
 border-style : hidden!important;
}

/* QUIZ Colors */ 

.ays-questions-container .ays-field:hover label[for^='ays-answer-'],
.ays-field:hover {
    background: #FD980020 !important;
		color: black !important;
}

/* QUIZ reduce size  */ 
div .ays-questions-container form .ays-quiz-answers .ays-field * {
	font-weight: normal;
	line-height: 1.7 !important;
/*	color:black !important; */
}

.ays-quiz-container .ays_quiz_question p {
    line-height: 0.5;
    height: 30px;
		padding-bottom: 0px !important
}

.ays-question-counter{
	right: 8px;
	top: 0px;
  padding: 0px;
	margin: 0em 0 !important;
	font-size: .8em !important;
}

/* QUIZ change look of elegant theme  */ 

.ays_quiz_elegant_light .ays-quiz-answers .ays-field {
    opacity: 1 !important;
		font-family:'Noto Sans', 'Noto Serif Hebrew', sans-serif !important;
}
.ays_quiz_elegant_light .ays_quiz_question p {
    margin: 30px; 0px; 0px 30px !important;
	  font-family:'Noto Sans', 'Noto Serif Hebrew', sans-serif !important;
    font-weight: normal;
}

.ays_quiz_elegant_light .action-button {
    background: AliceBlue !important;
    border: 1px solid !important;
}

.action-button .ays_finish:disabled:hover, [id^="ays_finish_quiz_"] .action-button:disabled:hover, [id^="ays_finish_quiz_"] .action-button:disabled:focus, [id^="ays_finish_quiz_"] .action-button:disabled {

    background-color: AliceBlue !important;
}

/* QUIZ fix audio size  */

.mejs-fill-container,.mejs-fill-container .mejs-container {
    height: 0px !important;
    width: 100%
}

/* Fonts Adjust for Advanced Flashcard 

.ays-quiz-afc-main-container .ays-quiz-afc-each-question-box .ays-quiz-afc-box-parts{
    font-size: 45px !important;
	  line-height: 1.2;
} */ 


.ays-quiz-afc-main-container .ays-quiz-afc-each-question-box{
    box-shadow: 0rem 0.2rem 2rem .1rem gray !important;
    border-radius: 0.5rem;
    transition: 0.2s;
}
/* size Adjust for Advanced Flashcard */ 

.mejs-container {
  min-width: auto !important;
	max-width: auto !important;
	width:100% !important;
}

.mejs-controls>div {
    position: relative;
    float: left;
    width: 40px;
    height: 100%;
    line-height: 100%;
}

/* Advanced Flashcard Button Font Size 

main-container button.ays-quiz-afc-question-finish-restart-button, .ays-quiz-afc-main-container button.ays-quiz-afc-each-question-start-box-start-button, .ays-quiz-afc-main-container button.ays-quiz-afc-question-finish-restart-from-zero-button {
	
	font-size: 30px !important;
} */

/* remove dotted line around tab */

a:hover, a:active, a:focus { 
	outline: 0 !important;
} 

/* Grades font adjustments */

#ays-quiz-all-orders-page thead th,#ays-quiz-user-score-page thead th {
    font-size: 24px
}

#ays-quiz-all-orders-page td,#ays-quiz-user-score-page td {
    font-size: 22px
}


/* dflip thumbnail appearance */

	.df-sidemenu {
  	font-size: 20px !important;
	}
	
	._df_thumb{
    width:300px !important;
	}
	.df-popup-thumb span.df-book-title {
    display: none !important;
	}
	

/* Text formatting */

.heb{
	font-size: 120% !important;	
	line-height: 1em !important;
}
.verse-ref{
	font-size: 90% !important;
}

.foot-note{
	font-size: 90% !important;
}

.question-banner{
	font-family:auto;
	font-size: 40px;
	padding-bottom: 12px;
	text-align: center;
}

/* Force Astra Search Box to overlap custom header items */
.ast-header-search, 
.ast-search-box,
.ast-search-menu-icon .ast-search-box {
    z-index: 99999 !important;
    position: relative !important; 
}

