@CHARSET "ISO-8859-1";

/*
@font-face {
  font-family: 'DavkaDavid';
  src: url('DavkaDavid.eot?#iefix') format('embedded-opentype'),  url('DavkaDavid.woff') format('woff'), url('DavkaDavid.ttf')  format('truetype'), url('DavkaDavid.svg#DavkaDavid') format('svg');
  font-weight: normal;
  font-style: normal;
}
*/

/* david-libre-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DavidLibre';
  font-style: normal;
  font-weight: 400;
  src: url('david-libre-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
	height: 100%;
}

body {
	height: 100%;
	padding-left: 0.1em;
	padding-right: 0.1em;
	/*font-family: 'DavidLibre', Arial, Helvetica, sans-serif; */
	font-family: Arial, Helvetica, sans-serif;
}

#wrap {
	min-height: 100%;
}

#main {
	overflow: auto;
	padding-bottom: 60px;
} /* must be same height as the footer */


#footer-left {
	text-align:center;
    position: fixed;
    bottom: 0px;
    left: 0px;
}

#footer {
	text-align:center;
    position: fixed;
    bottom: 0px;
    right: 0px;
}

.footerbut {
	font-size: 2em;
	padding: 1em;
	height: 86px;
	width: 86px;
	margin: 3px;
}

.footerbut_half {
	font-size: 2em;
	padding: 2px;
	height: 40px;
	width: 40px;
	margin: 2px;
	
}

p {
	font-size: 1.5em;
}

.Siddur-Heading1 {
	font-size: 1.6em;
	font-weight: bold;
	padding-top: 2em;
	margin-bottom: 0.5em;
	text-align: center;
	margin-bottom: 0.5em;
	
    display: flex;
    align-items: center;      /* Vertically centers flourishes with text */
    justify-content: center;   /* Keeps the heading centered */
    white-space: nowrap;      /* Prevents text from wrapping to a second line */
    overflow: hidden;         /* Ensures nothing spills out */
    width: 100%;
    gap: 5px;                 /* Small space between flourish and text */		
}




.Siddur-Heading2 {

    display: flex;
    align-items: center;      /* Vertically centers flourishes with text */
    justify-content: center;   /* Keeps the heading centered */
    white-space: nowrap;      /* Prevents text from wrapping to a second line */
    width: 100%;
    gap: 4px;                 /* Small space between flourish and text */	
}

/* Ensure the text itself can shrink slightly if the screen is very narrow */
.Siddur-Heading2 span.title-text {
    flex-shrink: 2;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds "..." if the title is still too long */
}

.Siddur-HebrewNormalChar {
	font-size: 1.9em;
	line-height: 1.3em;
	margin-top: 0em;
	padding-left: 0em;
	/*font-family: 'DavidLibre';*/
}

.Siddur-EnglishNormal {
	font-style: italic;
	margin-top: 0em;
	margin-bottom: 1em;
	margin-left: 15px;
	margin-right: 15px;
}

.Siddur-EnglishCentered {
	text-align: center;
	font-style: italic;
    font-weight: bold;
    margin-bottom: 1em;
}

.text-center {
	text-align: center;
}

.center {
    margin-left: auto;
    margin-right: auto;
    width: 70%;    
}

table.Siddur-HebTranslitTable td {
	padding-left: 0em;
	padding-right 2em;
	vertical-align: top;
	width: 50%;
}

table.Siddur-HebTranslitTable {
	width: 100%;
	border: 1;
	margin-bottom: 0.1em;
}

.Siddur-ArtscrollNewPageRef,.Siddur-IntroPageRefs,.Siddur-ArtscrollPageRef
	{
	text-align: center;
	border-style: solid;
	border-color: #999999;
	background-color: #cccccc;
}

.Siddur-WideInstruction {
	text-align: center;
	border-style: solid;
	border-color: #C4C4C4;
	background-color: #E0E0E0;
	font-style: italic;
	padding: 0.5em;
	margin-top: 2.5em;
	margin-left: 4em;
	margin-right: 4em;
	font-size: 0.98em;
	border-radius: 0.5em;
}

div.Siddur-Special {
	text-align: center;
	border-style: solid;
	border: 0.1em;
	border-color: #999999;
	background-color: #cccccc;
	font-style: italic;
	padding: 0.6em;
}

.Siddur-Translit {
	text-align: left;
	margin-top: 0.25em;
	line-height: 1.35em;
	padding-left: 0.5em;
	font-size: 1.5em;
}

.indent {
	padding-left: 2em;
}

/*
.collapsable {
	color: #0000ff;
	font-size: 1.2em;
	padding-bottom: 0.3em;
	padding-top: 0.3em;
	appearance: button;
	-moz-appearance: button; 
	-webkit-appearance: button;
	margin-left: 1em;
	margin-right: 1em;
	text-decoration: none;
}
*/

.collapsable {
    /* 1. Remove the native browser styling */
    appearance: none;
    -webkit-appearance: none;

	/* Ensure it takes up space and centers its contents */
    display: block; 
    text-align: center;
	
	/* Flat E-ink style */
    color: #000000 !important;
    background-color: #ffffff;
    border: 2px solid #000000;
    
    /* Spacing */
    margin: 1em auto; /* 'auto' centers the block itself if it has a width */
    padding: 0.5em 1em;
    width: fit-content; /* Shrinks the button to fit the text */
    min-width: 60%;     /* Ensures a large enough tap area for e-readers */
    
    /* Clean text */
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;

    /* Prevent flashing */
    -webkit-tap-highlight-color: transparent;
}

.collapsable:active, .collapsable:focus {
    background-color: #ffffff !important;
    color: #000000 !important;
    outline: none;
}

h2.collapsable {
    margin-left: auto !important;
    margin-right: auto !important;
    text-indent: 0 !important; /* Removes any paragraph-style indents */
}

.flourish-img {
    vertical-align: middle;
    height: 1em; /* Scales with your text size */
    margin: 0 0.5em;
}

div.section-num {
	font-size: 1.2em;
	float: right;
	color: #008000;
}

div.indexbuttontext {
	font-size: 1.5em;
}

.indexbutton {
	padding: 0.5em;
	margin: 0.5em;
}

@media only screen and (max-width: 3000px) {
	/* here place CSS for desktop */
}

@media only screen and (max-width: 1000px) {
	/*here place CSS for smaller screens*/
}

@media only screen and (max-width: 480px) {
	/*here place CSS for mobile*/
}


