﻿span.arabic {
	font-family: "Times New Roman";
	font-size: 130%; /* supersedes BCPS style for .arabic */
}

.rtl {
	direction: rtl;
}

	.rtl:before {
		content: "\02002\02002";
	}

div.BRANCH_BOX {
	display: flex;
	flex-direction: row;
	margin: 3px 0;
	border: 1pt black solid;
	/* CONTAINS TWO SUBDIVS: BRANCH name and SUBFAMILIES_BOX */
}

	div.BRANCH_BOX .branch {
		width: 10em;
		font-weight: bold;
		padding: 2px 0 0 2px;
	}

div.SUBFAMILIES_BOX {
	display: flex;
	flex-direction: column;
	width: 100%;
	/* CONTAINS ONE OR MORE INDIVIDUAL_SUBFAMILY BOXES */
}

	div.SUBFAMILIES_BOX .line {
		border-top: 1px navy solid;
	}

	div.SUBFAMILIES_BOX div.INDIVIDUAL_SUBFAMILY_BOX {
		width: 100%;
	}

div.INDIVIDUAL_SUBFAMILY_BOX {
	display: flex;
	flex-direction: row;
	width: 100%;
	/* CONTAINS TWO DIVS: SUBFAMILY name and LANGUAGES_BOX */
}

	div.INDIVIDUAL_SUBFAMILY_BOX .subfam {
		font-style: italic;
		width: 10em;
		padding: 2px 0 0 2px;
		/*
	align-self: center; THIS IS CORRECT, BUT DECIDED TO ALIGN TO TOP
	THIS DOES NOT WORK WITH FLEX: vertical-align: bottom;
*/
	}

div.LANGUAGES_BOX {
	display: flex;
	flex-direction: column;
	width: 100%; /* This is the width setting that makes the difference */
	/*CONTAINS ONE OR MORE INDIVIDUAL LANGUAGES */
}

div.INDIVIDUAL_LANGUAGE_BOX {
	display: grid;
	grid-template-columns: 1fr 4fr 4fr 6fr;
	padding: 3px;
	align-items: center;
	margin: 2px 0;
	border: 0;
}
/*
The following definitions are used in all three language charts:
Language_Charts_English_GRID: 23 Jan 2023
Language_Chart_Native: 24 Jan 2023
*/
div.LangChart {
	border: 4px red solid;
	width: 60%;
}

div.lang-box-codes {
	display: grid;
	grid-template-columns: 1fr 2fr 4fr repeat(33, 1fr);
	border: 1px gray solid;
	padding: 6px;
}

	div.lang-box-codes div {
		display: grid;
		justify-items: center;
		align-items: center;
	}

/*
div.lang-box-codes {
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	align-items: center;
	border: 1px solid;
	padding: 4px;
	margin: 2px;
}
*/
.head {
	font-weight: bold;
}

div.lang-box-eng {
	display: grid;
	grid-template-columns: repeat(3, 10fr);
	align-items: center;
	border: 1px solid;
	padding: 4px;
	margin: 2px;
}

	div.lang-box-eng.head {
		border: none;
	}

	div.lang-box-eng :nth-child(1) {
	}

	div.lang-box-eng :nth-child(2) {
	}

	div.lang-box-eng :nth-child(3) {
	}

div.flag-slot {
	display: grid;
	grid-template-columns: 1fr 10fr;
}

	div.flag-slot img {
		margin: 4px;
		width: 39px;
		border: 1px solid gray;
		background-color: white;
	}
/* END OF NEW CODES FOR Language_Charts_English_GRID */
/* NEW CODES FOR Language_Charts_Native_GRID */
div.lang-box-nat {
	display: grid;
	grid-template-columns: repeat(2, 10fr);
	align-items: center;
	border: 1px solid;
	padding: 4px;
	margin: 2px;
}

	div.lang-box-nat.head {
		font-weight: bold;
		border: none;
	}

	div.lang-box-nat div.flag-slot {
		display: grid;
		grid-template-columns: auto 1fr;
	}

div.flag-slot img {
	margin: 4px;
	width: 39px;
	border: 1px solid gray;
	background-color: white;
}

div.menu {
	padding: 0; /* PADDING 0 keeps the toolbar at the left edge */
	font-size: 110%;
	width: 60%;
}

	div.menu div.menu-bar {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
	}

		div.menu div.menu-bar div {
			font-weight: bold;
			font-size: 100%;
			font-family: "Segoe UI", "SF UI Display Light", Tahoma, Geneva, Verdana, sans-serif;
			background-color: #FFDCA8;
			text-align: center;
			padding: 6px;
			margin: 2px;
			border: 1px dotted;
			border-radius: 5px; /* Added 31 Dec '18: THIS WORKS IN Opera, Firefox, Chrome, MS Edge and IE 11 */
		}

			div.menu div.menu-bar div a {
				border-bottom: none;
			}

	div.menu div.special div a:hover {
		background-color: navy;
		border-radius: 4px;
		color: white;
	}
/* END NEW CODES FOR Language_Charts_Native_GRID */
/*
	THESE CODES ARE FOR THE ACCENTED CHARACTER CHART'S LEGEND: 28 JAN 2023
*/
.AccChar-Chart {
	border: 4px red solid;
	width: 60%;
}

div.AccChar-Legend {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 2px fuchsia solid;
}

div.AccChar-Legend-Col {
	display: grid;
	grid-template-rows: repeat(15, 1fr);
	align-items: center;
	border: 1px blue solid;
	padding: 4px;
	margin: 2px;
}

div.AccChar-Row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
	border: 1px lime solid;
	padding: 4px;
	margin: 2px;
}

	div.AccChar-Row div:nth-child(2) {
		margin: 0 1.5em;
	}

div.AccChar-LangBox {
	display: grid;
	grid-template-columns: 1fr 1fr 4fr 3fr;
	margin: 0.25em;
}

	div.AccChar-LangBox > div {
		padding-left: 0.25em;
	}

	div.AccChar-LangBox div:nth-child(1) {
		text-align: center;
	}

	div.AccChar-LangBox div:nth-child(2) {
		font-weight: bold;
		margin-right: 1.5em;
	}

	div.AccChar-LangBox div:nth-child(3) {
	}

	div.AccChar-LangBox div:nth-child(4) {
		margin-left: 1.5em;
	}

.char, .code {
	display: grid;
	grid-template-rows: 1fr 1fr;
}

.char { /* used only in Accented_Chars chart */
	font-size: 120%;
	font-weight: bold;
}

	.char :first-child, .code :first-child {
		color: navy;
	}

	.char :last-child, .code :last-child {
		color: maroon;
	}

.code {
	font-weight: normal;
	margin: 2px;
	color: black;
}

	.code :first-child {
	}

.flag {
	margin: 0 4px;
}

	.flag img {
		height: 30px;
	}
/*
.langE, .langN {
	width: 25%;
}

.native {
	width: 42%;
}
*/
.numbers {
	font-size: 85%;
}

.yes {
	font-weight: bold;
	color: maroon;
	border: 1px black dotted;
}

.not-used {
	font-weight: normal;
	color: gray;
	border: none;
}

.next-fam {
	margin-right: 2px;
}

div.descr {
	justify-items: start;
	align-items: start;
}

.family-codes .LC-Chart {
	width: 50%;
	font-size: 80%;
}

	.family-codes .LC-Chart .row {
		display: grid;
		grid-template-columns: 1fr 1fr 4fr;
		margin: 0 0.5em 0.125em 0.5em;
		padding: 0.25em;
		border: 1px black solid;
	}

		.family-codes .LC-Chart .row .branch .ind-lang {
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			margin: 6px;
			background-color: white;
			border: 1px blue dotted;
		}

		.family-codes .LC-Chart .row .branch div {
			padding: 3px;
		}

	.family-codes .LC-Chart .family-name, .lc-number {
		font-weight: bold;
	}

	.family-codes .LC-Chart .row.heading {
		font-size: 80%;
		font-weight: bold;
		align-items: center;
		margin-bottom: 0;
		border: none;
		line-height: normal;
	}

		.family-codes .LC-Chart .row.heading .branch div {
			border: none;
			margin: 0;
			padding: 0;
		}

		.family-codes .LC-Chart .row.heading div.headbox {
			align-items: center;
		}

.family-codes h1 {
	margin: 0 0.5em 1em;
}

/*

table#lang-chart {
	border-collapse: separate;
}

	table#lang-chart img {
		width: 39px;
		margin: 4px;
		border: 1px gray solid;
		background-color: white;
	}

	table#lang-chart col.firstcol {
		width: 35%;
	}

td {
	border: thin black solid;
}

	td.other-charts {
		font-size: 90%;
		background-color: white;
		/* THE REST DO NOT APPLY FOR TABLE* /
		vertical-align: top;
		padding: 4px;
		/* THE REST DO NOT APPLY FOR TR * /
		border: 0 transparent none;
	}

th {
	text-align: left;
}

	th#fam {
		width: 10%;
	}

td#fam {
	font-weight: bold;
}

th#branch {
	width: 10%;
}

th#sub {
	width: 15%;
}

td#sub {
	font-style: italic;
}

#code {
	width: 6%;
	text-align: center;
	font-weight: bold;
}

#flag { /* WILL BECOME OBSOLETE * /
	width: 6%;
	text-align: center;
	padding: 4px 0;
}

th#lang {
	width: 21%; /* WAS 15% WITH #FLAG=6% * /
}

th#native, td#native {
	width: 50%;
	/*	
	font-weight: bold;
*/
