a.dir_button{
  background-color: #4444FF;
  padding: 20px;
  margin-top:30px;
  color:white;
  border-radius:7px;
}

span[subject] {
    color: red;
}

span[author] {
    color: teal;
    font-style: italic;
}

table.quote-table{
    border-collapse: collapse;
}

table.quote-table, table.quote-table tr, table.quote-table th, table.quote-table td{
    border: 2px solid black;
}
table.quote-table td {
    background-image: linear-gradient(#ffe08c, #fff0c7);
}
td.quote-number table.quote-table{
    text-align:center;
}
tr.quote-block {
    font-family: Times New Roman;
}

/* table.heading-display td{
    padding: 20px;
    color: #FF3333;
} */


div.title-hover {
    position: relative;
    display: inline-block;
}

div.title-hover .greek-hover {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    color: black;
    border: 1px solid #ccc;
    padding: 6px 10px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

div.title-hover:hover .greek-hover {
    display: block;
}



.heading-table-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  margin: 20px auto;
}

.heading-table-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('resources/page-separator.jpg');
  background-repeat: repeat-x;
  background-size: auto 120%;
  background-position: center;
  filter: blur(0.5px); /* Adjust blur amount here */
  z-index: 0;
}

div.heading-table-wrapper table {
  width: auto;
  border-collapse: collapse;
  position: relative;
  margin:auto;
  z-index: 1; /* Puts the table above the blurred background */
}

div.heading-table-wrapper td {
  text-align: center;
  padding: 0em 0;
  margin: 0 50px;
  color: #FF3333;
}

.heading-inner {
  display: inline-block;
  background: white;
  padding: 0.25em 0.75em;
  font-size: 1.5em;
  font-weight: bold;

  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);

  box-shadow: 0 0 1em white;
}



    iframe {
        display: block;
        margin: 1.5em auto;
        border: none;
        border-radius: 12px;
        width: 80%;
        max-width: 640px;
        height: 220px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }
    .index-btn {
        display: inline-block;
        padding: 0.6em 1.2em;
        border-radius: 12px;
        background-color: #007acc;
        color: white;
        text-decoration: none;
        font-size: 1em;
        transition: background 0.2s ease;
    }
    .index-btn:hover {
        background-color: #005fa3;
    }

body{
    margin-left: 10%; margin-right:5%;
}


/* Button styling */
.nav-btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 22px;
    margin: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: #f2f2f2;
    border-radius: 8px;
    transition: all 0.15s ease;
}

/* Hover effect */
.nav-btn:hover {
    background: #e4e4e4;
    transform: translateY(-1px);
}

/* Click effect */
.nav-btn:active {
    transform: translateY(0);
    background: #dcdcdc;
}

/* Optional: disable text selection for button feel */
.nav-btn {
    user-select: none;
}


/*library*/
body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    margin: 0;
}

.library-container {
    max-width: 800px;
    margin: 30px auto;
}

.book-row {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
    padding: 12px;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.book-row:hover {
    background: #f2f2f2;
}

.thumb {
    width: 90px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 16px;
    background: #ddd;
}

.book-info {
    display: flex;
    flex-direction: column;
}

.book-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
}

.book-author {
    color: #666;
    font-size: 14px;
}

.index-btn {
    display: inline-block;
    padding: 0.6em 1.2em;
    border-radius: 12px;
    background-color: #007acc;
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: background 0.2s ease;
}
.index-btn:hover {
    background-color: #005fa3;
}


/*book-style.css*/
.book-content {
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
    font-size: 18px;
}

.book-content h1,
.book-content h2 {
    margin-top: 1.5em;
}

.book-content blockquote {
    border-left: 4px solid #ccc;
    padding-left: 12px;
    color: #555;
}

/* Navigation container */
.nav {
    margin: 40px auto;
    text-align: center;
}

/* Button styling */
.nav-btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 22px;
    margin: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: #f2f2f2;
    border-radius: 8px;
    transition: all 0.15s ease;
}

/* Hover effect */
.nav-btn:hover {
    background: #e4e4e4;
    transform: translateY(-1px);
}

/* Click effect */
.nav-btn:active {
    transform: translateY(0);
    background: #dcdcdc;
}

/* Optional: disable text selection for button feel */
.nav-btn {
    user-select: none;
}


.library-search-result-count{
    color:#555555;
    font-size:small;
}