        @page {
            size: A4;
            margin: 0.5in;
        }
		
		body {
            font-family: 'Tahoma','Verdana', 'Helvetica',sans-serif;
            font-size: 100%;
            line-height: 1.3;
            margin: 0;
            padding: 20px;
            color: black;
        }
		
#lyric {
font-size:0.8em;
font-weight:normal;
text-align:left;
}
		
a:link, a:active {
text-decoration:none;
color:maroon;
font-weight:bold;
}

a:visited {
text-decoration:none;
color:8b0000;
font-weight:bold;
}

a:hover {
text-decoration:none;
color:#b22222;
font-weight:bold;
}
        
        h1 {
            text-align: center;
            font-size: 1.6em;
            margin-bottom: 20px;
            color: maroon;
            border-bottom: 2px solid #8B4513;
            padding-bottom: 10px;
			}
        
        .timeline-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
		
		 #container {
          	display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .year-section {
            border: 1px solid maroon;
            border-radius: 8px;
            padding: 12px;
            background-color: #fafafa;
            break-inside: avoid;
			margin-bottom: 1%;
        }
        
        .year-header {
            font-weight: bold;
            font-size: 1.2em;
            color: maroon;
			margin-bottom: 8px;
            border-bottom: 1px solid maroon;
            padding-bottom: 0.3%;
        }
        
        .event {
            margin-bottom: 0.8%;
            padding-left: 1%;
            position: relative;
        }
		
		.event:before {
            position: absolute;
            left: 0;
            color: maroon;
            font-weight: bold;
        }
        
        .event:beforedot {
            content: "•";
            position: absolute;
            left: 0;
            color: maroon;
            font-weight: bold;
        }
        
        .event-title {
            font-weight: bold;
            color: black;
        }
		
        .age-indicator {
            color: #8B4513;
            font-weight: bold;
            font-size: 0.7em;
        }
        
        .event-description {
            margin-top: 0.4%;
            color: black;
        }
        
        .scripture-ref {
			margin-top: 0.1%;
            font-style: italic;
            color: black;
            font-size: 0.8em;
        }
		
/* Festival Section */
        
        .festival-section {
            background-color: #f0f8ff;
            border: 2px solid #4682B4;
            border-radius: 8px;
            padding: 1%;
            margin-top: 1.45%;
            break-inside: avoid;
        }
        
        .festival-header {
            font-weight: bold;
            font-size: 1em;
            color: #4682B4;
			margin-bottom: 1.2%;
            text-align: center;
        }
        
        .festival-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4%;
			margin-bottom: 10%;
        }
        
        .festival-item {
            background-color: transparent;
            padding: 8px;
            border-radius: 4px;
            
        }
        
        .festival-name {
            font-weight: bold;
            color: #4682B4;
        }

		
/* NT SECTIONS */
		
        .nt-writing {
            background-color: #98fb98;
            border-left: 4px solid #00fa9a;
            padding: 6px;
            margin: 4px 0;
            border-radius: 4px;
        }
        
        .nt-writing .book-title {
            font-weight: bold;
            color: #006400;
        }
        
        .martyrdom {
            background-color: #ffe4e1;
            border-left: 4px solid #dc143c;
            padding: 0.5%;
            margin: 0.5% 0;
            border-radius: 4px;
        }
        
        .martyrdom .martyr-title {
            font-weight: bold;
            color: #dc143c;
        }
        
        .nt-section {
            background-color: #fff8dc;
            border: 2px solid #daa520;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            break-inside: avoid;
        }
        
        .nt-header {
            font-weight: bold;
            font-size: 1em;
            color: #daa520;
            margin-bottom: 10px;
            text-align: center;
        }
        
        .nt-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        
        .nt-item {
            background-color: white;
            padding: 8px;
            border-radius: 4px;
            border-left: 4px solid #daa520;
        }
        
        .nt-book {
            font-weight: bold;
            color: #daa520;
        }
		

		
		
/* Patristic Sources */
		
		.patristic-source {
            background-color: #f0f8ff;
            border-left: 4px solid #6495ed;
            padding: 6px;
            margin: 4px 0;
            border-radius: 4px;
        }
        
        .patristic-source .source-title {
            font-weight: bold;
            color: #6495ed;
        }
		
		.patristic-description {
        margin-top: 0.4%;
        color: blue;
        }
		
		
		@media print {
        body { font-size: 80%; }

        }