/* main stylesheet for indian history website */

* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #c0c0c0;
	font-family: verdana, arial, sans-serif;
	font-size: 12px;
	color: #000;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="2"><rect width="1" height="1" fill="%23e0e0e0"/><rect x="1" y="1" width="1" height="1" fill="%23e0e0e0"/></svg>');
}

header {
	background: linear-gradient(to bottom, #000080, #1084d7);
	color: #fff;
	padding: 15px;
	text-align: center;
	border-bottom: 3px solid #dfdfdf;
	box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
}

header h1 {
	font-size: 28px;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	letter-spacing: 2px;
}

header p {
	font-size: 11px;
	margin-top: 5px;
	opacity: 0.9;
}

.container {
	max-width: 900px;
	margin: 20px auto;
	display: flex;
	gap: 15px;
}

.sidebar {
	width: 200px;
	background-color: #c0c0c0;
}

.nav-box {
	background-color: #c0c0c0;
	border: 2px outset #dfdfdf;
	border-top-color: #dfdfdf;
	border-left-color: #dfdfdf;
	border-right-color: #808080;
	border-bottom-color: #808080;
	margin-bottom: 15px;
	overflow: hidden;
}

.nav-box-title {
	background: linear-gradient(to right, #000080, #1084d7);
	color: #fff;
	padding: 3px 5px;
	font-weight: bold;
	font-size: 11px;
}

.nav-box ul {
	list-style: none;
	padding: 5px;
}

.nav-box li {
	margin-bottom: 3px;
}

.nav-box a {
	color: #0000ff;
	text-decoration: none;
	display: block;
	padding: 3px 5px;
	cursor: pointer;
}

.nav-box a:hover {
	background-color: #000080;
	color: #fff;
}

.nav-box a:visited {
	color: #800080;
}

.main-content {
	flex: 1;
	background-color: #dfdfdf;
	border: 2px outset #dfdfdf;
	border-top-color: #dfdfdf;
	border-left-color: #dfdfdf;
	border-right-color: #808080;
	border-bottom-color: #808080;
}

.content-box {
	background-color: #fff;
	border: 1px solid #dfdfdf;
	padding: 15px;
	margin: 10px;
	display: none;
}

.content-box.active {
	display: block;
}

.content-box h2 {
	color: #000080;
	font-size: 18px;
	border-bottom: 2px solid #000080;
	padding-bottom: 8px;
	margin-bottom: 15px;
}

.content-box h3 {
	color: #1084d7;
	font-size: 14px;
	margin-top: 15px;
	margin-bottom: 8px;
	font-weight: bold;
}

.content-box p {
	line-height: 1.6;
	margin-bottom: 12px;
	text-align: justify;
}

.content-box ul, .content-box ol {
	margin-left: 25px;
	margin-bottom: 12px;
}

.content-box li {
	margin-bottom: 6px;
	line-height: 1.5;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
	background-color: #f9f9f9;
}

table th {
	background-color: #1084d7;
	color: #fff;
	padding: 8px;
	text-align: left;
	border: 1px solid #000080;
	font-weight: bold;
}

table td {
	border: 1px solid #ddd;
	padding: 8px;
	vertical-align: top;
}

table tr:hover {
	background-color: #e8f4ff;
}

.timeline {
	position: relative;
	margin: 20px 0;
	padding-left: 30px;
}

.timeline-item {
	margin-bottom: 20px;
	padding-left: 20px;
	border-left: 3px solid #1084d7;
}

.timeline-item strong {
	color: #000080;
	display: block;
	margin-bottom: 5px;
}

.footer {
	text-align: center;
	padding: 20px;
	background-color: #c0c0c0;
	border-top: 2px solid #dfdfdf;
	font-size: 10px;
	color: #666;
}

.status-bar {
	background-color: #c0c0c0;
	border-top: 1px solid #dfdfdf;
	padding: 2px 4px;
	font-size: 10px;
	color: #666;
	text-align: right;
}

button {
	background-color: #c0c0c0;
	border: 2px outset #dfdfdf;
	border-top-color: #dfdfdf;
	border-left-color: #dfdfdf;
	border-right-color: #808080;
	border-bottom-color: #808080;
	padding: 4px 12px;
	cursor: pointer;
	font-family: verdana, arial, sans-serif;
	font-size: 11px;
}

button:active {
	border-style: inset;
	border-top-color: #808080;
	border-left-color: #808080;
	border-right-color: #dfdfdf;
	border-bottom-color: #dfdfdf;
}

button:hover {
	background-color: #dfdfdf;
}

.highlight {
	background-color: #ffff99;
	padding: 2px 4px;
	font-weight: bold;
}

.info-box {
	background-color: #e8f4ff;
	border: 1px solid #1084d7;
	padding: 10px;
	margin: 15px 0;
	border-left: 4px solid #1084d7;
}

.info-box strong {
	color: #000080;
}