:root {
  --main-bg-color: #FFFFFF;
  --main-text-font-size: 1.25em;
  --main-text-font-size-mobile: 1.125em;
  --large-font-size: 1.5em;
  --large-font-size-mobile: 1.25em;
}

html, body {
    overflow-x: hidden;
}

body {
	font-family: "Noto Sans Armenian", "Arian AMU", "Dejavu Sans", sans-serif;
	margin: 2px 5px;
	background-color: var(--main-bg-color);
	
}

.n-doc {
	max-width: 110em;
	margin: 0em auto;
}

.content-page-body {
	max-width: 80em;
	margin: 2px auto;
	padding: 0 5px;
}

a {
	text-decoration: none;
}

.nayiri-content-page-header {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: clamp(5px, 0.75em, 1em);
}

.nayiri-header-logo {
	width: clamp(100px, 125vw, 200px);
	margin: clamp(5px, 0.75em, 1em);
	min-width: 100px;
}

.nayiri-header-logo-img {
	width: 100%;
}

.nayiri-header-text {
	color: 1739bb;
	font-size: clamp(1.5rem, 4.0vw, 2.0rem);
	font-weight: 800;
}

.nayiri-content-page-middle {
	width: 100%;
	display: flex;
	gap: clamp(5px, 3vw, 1em);
	padding: 0 clamp(5px, 2vw, 1em);
}

.nayiri-content-page-nav {
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 12.5em;
}

.nayiri-content-page-main {
	flex-grow: 1;
	flex-shrink: 1;
	overflow: auto;
}

.nayiri-content-page-main h3 {
	font-weight: 900;
}

.nayiri-content-page-main h4 {
	margin-top: 2em;
	font-weight: 900;
}

.nayiri-content-page-main > div {
	margin: 4em auto 8em auto;
	overflow-x: hidden;
	font-size: var(--main-text-font-size);
	max-width: 45em;
}

.nayiri-content-page-main > div > div {
	margin-top: 1em;
}

.nayiri-content-page-main > div > p {
	margin-top: 1em;
	margin-left: 1em;
}

.nayiri-content-page-main > div > div p {
	margin-top: 1em;
}

.nayiri-content-page-main-header {
	background-color: #e5ecf9;
	font-size: clamp(1.25rem, 3.0vw, 1.75rem);
	font-weight: 800;
	border-top: 1px solid #3366cc;
	padding: 5px;
}

div.two-column-text-with-logo {
	display: flex;
	flex-wrap: wrap;
	margin: 0 1em;
	gap: 1em 1em;
}

.two-column-text-with-logo div:nth-child(1) {
	flex-basis: 240px;
	flex-grow: 1;
	flex-shrink: 0;
}

.two-column-text-with-logo div:nth-child(2) {
	flex-basis: auto;
	flex-grow: 0;
	flex-shrink: 0;
	text-align: center;
	align-self: center;
	margin: 0 auto;
}

div.two-column-flex-box {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
	margin: 0 1em;
	gap: 1em 1em;
}

div.two-column-flex-box > div {
	flex-basis: auto;
	flex-grow: 0;
	text-align: center;
}

div.two-column-flex-row {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

.two-column-flex-row div:nth-child(1) {
	flex-basis: 240px;
	flex-grow: 4;
	flex-shrink: 1;
}

.two-column-flex-row div:nth-child(2) {
	flex-basis: 240px;
	flex-grow: 1;
	flex-shrink: 4;
	text-align: center;
}

.footerDisclaimer, .footer {
	font-size: 1rem;
	margin-block: 2em;
	text-align: center;
}

.bannerText {
	font-size: 1.125rem;
}

.regularText {
	font-size: 1.625rem;
}

.h3 {
	font-size: 1em;
}

.fonts-table {
	width: min(90%, 75rem);
	margin: 1rem auto;
	display: flex;
	flex-direction: column;
}

.fonts-table-row {
	display: flex;
	flex-direction: row;
	padding: 1em;
	align-items: center;
}

.fonts-table-row-name {
	flex-basis: 30%;
	flex-shrink: 0;
	flex-grow: 1;
	font-size: 1.5rem;
	font-weight: 700;
	white-space: nowrap;
	text-align:center;
}

.fonts-table-row-sample {
	flex-basis: 60%;
	flex-shrink: 1;
	flex-grow: 0;
	display: flex;
	align-items: center;
}

.fonts-table-row-download-image {
	flex-basis: 10%;
	flex-shrink: 0;
	flex-grow: 0;
	cursor: pointer;
	width: 50px
}

ol.instructions-list {
	margin-top: 1em;
	margin-left: 1em;
}

ol.instructions-list li {
	margin-bottom: 2em;
} 

.keyboard-layouts-table {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-top: 1em;
	margin-left: 0;
	margin-bottom: 1em;
	margin-right: 0;
	gap: 1em;
}

.keyboard-layouts-table > div {
	flex-basis: 240px;
	flex-grow: 1;
	flex-shrink: 0;
	margin: 0;
	font-weight: 900;
	text-align: center;
}

span.new {
	color: red;
	font-size: 0.6875rem;
	font-weight: 800;
	vertical-align: top;
}

span.derivationTitle {
	font-variant: small-caps;
	font-size: 1.875rem;
	font-weight: bold;
}

span.headword {
	color: blue;
	font-weight: bold;
	font-style: normal;
}

span.documentTitle {
	color: #00897B;
	font-weight: bold;
	font-style: normal;
}

span.pronunciation {
	color: #FE6500;
	font-style: italic;
}

span.pronunciation i {
	font-style: normal;
}

span.inflectionalRules {
	color: #8D00BC;
	font-style: italic;
}

span.inflectionalRules i, span.inflectionalRules b {
	font-style: normal;
}

span.wordFormation {
	/* color: #DFA52E; */
	color: teal;
	font-style: italic;
}

span.wordFormation i, span.wordFormation b {
	font-style: normal;
}

span.morphologicalAnalysis {
	color: #0082C5;
	font-style: italic;
}

span.morphologicalAnalysis i, span.morphologicalAnalysis b {
	font-style: normal;
}

span.etymology {
	color: #000080;
	font-style: italic;
}

span.etymology i, span.etymology b {
	font-style: normal;
}

span.nNote {
	color: #673AB7;
	font-style: italic;
}

span.nNote i, span.nNote b {
	font-style: normal;
}

span.startNote {
	color: #673AB7;
	font-style: italic;
}

span.startNote i, span.startNote b {
	font-style: normal;
}

.preludeNote {
	color: #673AB7;
	font-style: italic;
}

.preludeNote i, .preludeNote b {
	font-style: normal;
}

span.partOfSpeech {
	color: red;
}

span.definitionStartNote {
	color: #673AB7;
	font-style: italic;
}

span.definitionStartNote i, span.definitionStartNote b {
	font-style: normal;
}

span.definition {
	color: green;
	font-style: italic;
}

span.definition i, span.definition b {
	font-style: normal;
}

span.antonym {
	color: purple;
	font-style: italic;
}

span.antonym i, span.antonym b {
	font-style: normal;
}

span.synonym {
	color: #0082C5;
	font-style: italic;
}

span.synonym i, span.synonym b {
	font-style: normal;
}

span.example {
	/* color: #DA4700; */
	/* color: #CE952C; */
	color: #E8772E;
	font-style: normal;
}

span.example i {
	color: #A75723;
}

span.citation {
	color: #3b66e8;
	font-style: normal;
}

/*
span.citation i, span.citation b {
	color: #2b4bad;
}
*/

.endNote {
	color: darkgreen;
	font-style: italic;
	margin-block: 1em;
}

.endNote i, .endNote b {
	font-style: normal;
}

span.headword a,
span.documentTitle a,
span.pronunciation a,
span.inflectionalRules a,
span.morphologicalAnalysis a,
span.wordFormation a,
span.etymology a,
span.nNote a,
span.startNote a,
.preludeNote a,
span.partOfSpeech a,
span.definitionStartNote a,
span.definition a,
span.antonym a,
span.synonym a,
span.example a,
span.citation a,
.endNote a
{
	color: inherit;
	text-decoration: none;
}

span.headword a:hover,
span.documentTitle a:hover,
span.pronunciation a:hover,
span.inflectionalRules a:hover,
span.morphologicalAnalysis a:hover,
span.wordFormation a:hover,
span.etymology a:hover,
span.nNote a:hover,
span.startNote a:hover,
.preludeNote a:hover,
span.partOfSpeech a:hover,
span.definitionStartNote a:hover,
span.definition a:hover,
span.antonym a:hover,
span.synonym a:hover,
span.example a:hover,
span.citation a:hover,
.endNote a:hover
{
	color: inherit;
	text-decoration:underline;
}

.nTooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.nTooltip .nTooltiptext {
  visibility: hidden;
  width: 240px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 5px 8px 5px;
  position: absolute;
  z-index: 1;
  left: 0%;
  bottom: 100%;
  margin-left: -10px;
  margin-bottom: 0px;
}

.nTooltip .nTooltiptext::after {
  content: " ";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 0%;
  margin-left: 	14px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.nTooltip:active,
.nTooltip:focus,
.nTooltip:hover .nTooltiptext { 
  visibility: visible;
}

.nTooltip .nTooltiptext {
  visibility: hidden;
}

.nTooltip .nTooltiptext:focus,
.nTooltip .nTooltiptext:active {
  visibility: hidden;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

a.plain {
	color: black;
	text-decoration: none;
}

a.plain:hover {
	color: black;
	text-decoration:underline
}

#navigation-top {
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}

#navmenu {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	margin: 0;
	overflow: hidden;
	padding: 0;
	width: 100%;
	font-size: var(--main-text-font-size);
}

.nav-item {
	cursor: pointer;
	line-height: 1.5em;
	margin: 0 0 1px;
	padding: 3px 0 2px 0.5em;
	background-color: #EBEFF9;
}

.nav-item:hover {
	background-color: #D1DAEF;
}

#nav-n {
	color: #000000;
	text-decoration: none;
}

.nav-selected {
	background-color: #6B90DA;
	color: #FFFFFF;
	cursor: default;
	font-weight: bold;
	padding: 3px 0 2px 0.5em;
}

.nav-expanded {
margin:0 0 0.65em;
}

.navsub {
background:none repeat scroll 0 0 #FFFFFF;
line-height:inherit;
overflow:visible;
padding:0 0 0.5em 0.5em;
}

.navsub a {
color:#0000CC;
}

.navsub {
line-height:inherit;
}

.navsub div {
font-weight:bold;
}

.navsub a div {
font-weight:normal;
}

li {
	line-height: 1.5em;
}

.gbar,.guser {
	font-size: 13px;
}

.gb1,.gb3 {
	height: 22px;
	margin-right: 0.5em;
	vertical-align: top;
}

a.gb1,a.gb3 {
	color: #0000CC !important;
}

.gbh {
	height: 0;
	position: absolute;
	top: 24px;
	width: 100%;
}

.gbh {
	border-top: 1pxsolid #C9D7F1;
	font-size: 1px;
}

.indentedS {
	padding-left: 25px;
	padding-right: 25px;
	font-size: 18pt;
}

.largeText {
	font-size: var(--large-font-size);
}

.mediumText {
	font-size: 1.5rem;
}

.littleText {
	font-size: 1.125rem;
}

.smallerThanMediumText {
	font-size: 1.25rem;
}

.smallText {
	font-size: 13pt;
}

.smallerText {
	font-size: 11pt;
}

.smallestText {
	font-size: 10pt;
}

.dictEntryFooter {
	margin-bottom: 2em;
}

.indentedM {
	padding-left: 50px;
	padding-right: 50px;
	font-size: 18pt;
}

.colHeader {
	color: #6F6F6F;
	font-size: 0.97em;
}

.floatimgright {
float:right;
clear:right;
margin-top:0px;
margin-right:10px;
margin-bottom:20px;
margin-left:10px;
width:120px;
}

.float-img-right {
	float:right;
	clear:right;
	padding: 0.5em;
}

.float-img-left {
	float:left;
	clear:right;
	margin:10px;
}

.img-square-icon {
	width: min(100px, 20vw);
	max-width: min(95vw,95%);
	height: auto;
	margin: 0.5em;
}

.img-wide-100px-icon {
	width: min(100px, 20vw);
	max-width: min(95vw,95%);
	height: auto;
	margin: 0.5em;
}

.img-wide-120px-icon {
	width: 120px;
	max-width: min(95vw,95%);
	height: auto;
	margin: 0.5em;
}

.img-wide-150px-icon {
	width: 150px;
	max-width: min(95vw,95%);
	height: auto;
	margin: 0.5em;
}

.img-wide-200px-icon {
	width: min(200px, 40vw);
	max-width: min(95vw,95%);
	height: auto;
	margin: 0.5em;
}

.img-wide-300px-icon {
	width: 300px;
	max-width: min(95vw,95%);
	height: auto;
	margin: 0.5em;
}

.img-max-100pct {
	max-width: min(95vw,95%);
	height: auto;
	margin: 0.5em;
}

.img-wide-400px-icon {
	width: 400px;
	max-width: min(95vw,95%);
	height: auto;
	margin: 0.5em;
}

.img-wide-450px-icon {
	width: 450px;
	max-width: min(95vw,95%);
	height: auto;
	margin: 0.5em;
}

.indent {
	margin-left: 1em;
}

div.center {
	margin-inline: auto;
	text-align: center;
}

div.center-flex {
	display: flex;
	align-content: space-between;
	flex-direction: row;
}

div.center-flex > div {
	flex-grow: 1;
	text-align: center;
	align-self: center;
}
	
.floatBottomRight {
	float: right;
	margin-right: 10px;
	margin-top: 4px;
	margin-bottom: 4px;
}

div.img-with-caption {
	width: fit-content;
	margin-inline: auto;
}

div.caption-text {
	text-align: left;
	font-weight: 900;
	font-style: italic;
	background-color: #EDF3FD;
}

.pmoabs {
position:absolute;
right:0;
top:28px;
}

.spellchecker-ad {
	margin-top: 1em;
	display: block;
	opacity: 1;
	float: right;
}

#pmocntr  {
border:1px solid #CCCCCC;
}

.padi {
padding:0 0 4px 8px;
}

#pmot {
font-size:13px;
}

.padt {
padding:0 6px 4px;
}

#pmol {
background:url('../images/cb_c.gif') repeat-x scroll 0 0 transparent;
padding:0 3px 3px 2px;
}

#pmol a {
color:#FFFFFF;
font-size:13px;
text-decoration:none;
}

.g-unit, .g-first {
display:block;
float:right;
margin:0;
width:300px;
}

.gc-right  {
float:right;
}

.g-button-basic {
background:none repeat scroll 0 0 transparent;
border:0 none;
padding:0;
}

.g-button, .g-button-basic {
background-color:#CADEF4;
direction:ltr;
line-height:1.2;
max-width:795px;
overflow:visible;
text-align:center;
width:20em;
}

.g-button-basic div {
background:url('../images/g-button-basic-1.gif') no-repeat scroll 0 0 transparent;
font-size:1.3em;
}

.g-button div span, .g-button-basic div span, .g-button-gaia div span {
background:url('../images/g-button-1.gif') no-repeat scroll right -400px transparent;
display:block;
height:1%;
width:100%;
}


.g-button-basic div span {
background:url('../images/g-button-basic-1.gif') no-repeat scroll right -400px transparent;
}

.g-button-basic div span span {
background:url('../images/g-button-basic-1.gif') no-repeat scroll left bottom transparent;
}

.g-button div span span a, .g-button-basic div span span a, .g-button-gaia div span span a {
background:url('../images/g-button-basic-2.gif') no-repeat scroll right bottom transparent;
color:#FFFFFF !important;
display:block;
font-weight:bold;
height:1%;
padding:8px 18px 10px 13px;
text-decoration:none;
}

.g-button *, .g-button-basic *, .g-button-gaia * {
margin:0;
padding:0;
}

.priceValue {
color:green;
font-size:1.4em;
font-weight:bold;
margin-left:5px;
}

.priceValue:visited {
color:green;
}


.priceField {
font-size:1.4em;
font-weight:bold;
margin-left:0px;
}

.indentDiv {
	margin-left: 1em;
}

.indentDiv div {
	margin-left: 1em;
	margin-top: 0.25em;
	margin-right: 0.25em;
}

.indentDiv div div {
	margin-left: 1em;
	margin-top: 0.25em;
	margin-right: 0.25em;
}

.indentDiv ol {
 	margin-bottom: 1em;
}

.indentDiv ol li {
 	margin-bottom: 1em;
}

.indentDiv div ul {
 	margin-bottom: 1em;
}

.indentLeft {
	margin-left: 40px;
}

.lsb {
background:url('../images/nav_logo3.png') repeat scroll center bottom transparent;
border:medium none;
color:#000000;
cursor:pointer;
font-size: 16pt;
font-family: "Noto Sans", "Arian AMU", "Dejavu Sans", sans-serif;
height:36px;
margin: 5px;
outline:0 none;
vertical-align:top;
min-width: 120px;
}

/* BEGIN scriptaculous stylesheet */
/*
div.autocomplete {
  position:absolute;
  width:250px;
  background-color:white;
  margin:0;
  padding:0;
}
div.autocomplete ul {
  list-style-type:none;
  margin:0;
  padding:0;
  border:3px #CADEF2 solid;
}
div.autocomplete ul li.selected { background-color: #B7D6F6;}
div.autocomplete ul li {
  list-style-type:none;
  display:block;
  margin:0;
  padding:2px;
  height:30px;
  cursor:pointer;
  background-color:white;
  font-size: 18pt;
}
*/

div.newAutocomplete {
  position:absolute;
  margin:0;
  padding: 0;
  z-index: 1000; /* always on top */
}

div.newAutocomplete ul {
  list-style-type:none;
  margin:0;
  padding: 0.25rem 3.5rem 0.25rem 1.5rem;
  border-radius: 1.625rem;
  background-color:white;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

div.newAutocomplete ul li.selected { background-color: #dedede;}

div.newAutocomplete ul li {
  list-style-type:none;
  display:block;
  padding:0px 2px 0px 2px;
  cursor:pointer;
  background-color:white;
  font-size: 18pt;
}

textarea.editor_field {
	background-color: transparent;
	font-size: 15pt;
	width: 100%;
	max-width: 100%;
	height: 75%;
}

input.editor_ok_button {
	font-size: 13pt;
	font-family: "Noto Sans", "Arian AMU", "Dejavu Sans", sans-serif;
}

a.editor_cancel_link {
	font-size: 13pt;
	font-family: "Noto Sans", "Arian AMU", "Dejavu Sans", sans-serif;
}

/* END scriptaculous stylesheet */

.redtext {
color: #DD4B39;
}

.product-headers h2 {
font-size: 16px;
margin: .4em 0 0;
}

.topLevelPageLongTitle {
	display: inline;
}

.topLevelPageShortTitle {
	display: none;
}

img.nayiriLogo {
	max-width: 360px;
}

div.nayiriBannerContainer {
	display: flex;
  	width: 100%;
  	flex-direction: column;
  	margin-top: 80px;
  	margin-bottom: 20px;
}

div.nayiriBannerImg {
  	margin: auto;
  	max-width: 75%;
}

div.nayiriBannerText {
	font-size: 18pt;
  	margin: auto;
}

#searchContainer {
	display: flex;
  	width: 100%;
  	flex-direction: column;
	margin-top: 0px;
}

#dictionaryTypesLinks {
	margin: auto;
	margin-bottom: 10px;
	white-space: nowrap;
}

.dictSearchTypeLong {
	display: inline;	
}

.dictSearchTypeShort {
	display: none;	
}

#searchBoxContainer {
	margin: auto;
	width: 450px;
	display: flex;
  	flex-direction: row;
  	align-content: stretch;
}

#query {
	flex: 1;
}

#keyboardImg {
  display: inline-block;
  flex: 0 0 28px;
  align-self: center;
  margin-left: 10px;
  padding-left: 4px;
  padding-right: 4px;
  cursor: pointer;
}

#mainButtons {
	margin: auto;
	text-align: center;
}

#autocomplete_choices {
	margin: auto;
}

#keyboardDiv {
  margin: auto;
}

#keyboardDiv * {
	box-sizing: content-box;
}

div.digitized-dictionaries-results-container {
	order: 1;
	flex-grow: 2;
	flex-shrink: 2;
	flex-basis: auto;
	width: 350px;
}
	
div.imaged-dictionaries-box {
	order: 2;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: auto;
	align-self: flex-start;  
	width: 500px;
	margin: 0px 12px 12px 12px;
	margin-top: 0px;
	margin-right: 12px;
	margin-bottom: 12px;
	margin-left: 12px;
	padding: 20px 15px 15px;
	padding-top: 20px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
	background: whiteSmoke;
	background-image: initial;
	background-repeat-x: initial;
	background-repeat-y: initial;
	background-attachment: initial;
	background-position-x: initial;
	background-position-y: initial;
	background-origin: initial;
	background-clip: initial;
	background-color: whiteSmoke;
	border: 1px solid #E5E5E5;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #E5E5E5;
	border-right-color: #E5E5E5;
	border-bottom-color: #E5E5E5;
	border-left-color: #E5E5E5;
	border-image: initial;
}

.imaged-dictionaries-box div.title {
	font-size: 14pt;
	line-height: 1.25em;
	margin: 0 0 1.5em;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 1.5em;
	margin-left: 0px;
	position: relative;
	text-align: center;
}

.imaged-dictionaries-box h3 {
	margin-top: 1.5em;
	font-size: 16pt;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 2px;
	font-weight: 900;
}

.imaged-dictionaries-box ul {
	list-style-type: none;
	padding: 0px;
	margin: 12px;
}

.imaged-dictionaries-box ul li {
	font-size: 14pt;
	line-height: 1.25em;
	margin-top: 1em;
	margin-bottom: 1em;
}

.imaged-dictionaries-box div.new {
	display: block;
	float: left;
	text-align: right;
	font-size: 12px;
	color: red;
	font-weight: normal;
	position: relative;	
	padding: 0px 5px 0px 0px;
}

div.search-results-container {
	display: -webkit-flex;
	display: flex;
  	flex-flow: row wrap;
	justify-content: flex-start;
	width: 100%;
	margin-top: 1.5em;
	gap: 1em;
}

/* For language navigation drop-down */

/* Style The Dropdown Button */
.dropbtn {
  background-color: var(--main-bg-color);
  color: black;
  font-size: 16px;
  border: solid;
  border-width: 1px;
  cursor: pointer;
  min-width: 90px;
  white-space: nowrap;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 4px 6px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
  color: white;
  border-color: black;
}

.dropbtn .langDisplayName,
.dropdown-content .langDisplayName {
	margin-left: 10px;	
	font-family: "Noto Sans Armenian", "Arian AMU", "Dejavu Sans", sans-serif;
}

/* END Language navigation drop-down */

.bottom-lang-nav {
	padding: 5px;
	display: none;
}

/* search box */
.search-wrapper {
  width: 100%;
  max-width: 40.25rem;
  margin: 0.25rem auto;
}

.search-label {
  font-size: .625rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: +1.3px;
  margin-bottom: 1rem;
}

.searchBar {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#searchQueryInput {
  width: 100%;
  height: 3.3rem;
  background: #f5f5f5;
  outline: none;
  border: none;
  border-radius: 1.625rem;
  padding: 0.15rem 10.5rem 0.35rem 1.5rem;
  font-size: 1.5rem;
}

#clearQueryButton {
  width: 3.5rem;
  height: 3.3rem;
  margin-left: -10.0rem;
  background: none;
  border: none;
  outline: none;
}

#searchQuerySubmit {
  width: 3.3rem;
  height: 3.3rem;
  background: none;
  border: none;
  outline: none;
}

#clearQueryButtonImg {
	width: 22px;
	height: 22px;
}

#searchQuerySubmitImg {
	width: 30px;
	height: 30px;
}

#clearQueryButton:hover {
	cursor: pointer;
}

#searchQuerySubmit:hover {
  cursor: pointer;
}

#searchControlDivider {
	border-left: 1px solid gray;
	height: 30px;
}

a[id=ex2-tab-2].nav-link.active {
	color: #2E7D32;
	border-color: #2E7D32;
}

a[id=ex2-tab-3].nav-link.active {
	color: #BF360C;
	border-color: #BF360C;
}

a[id=ex2-tab-4].nav-link.active {
	color: #1565C0;
	border-color: #1565C0;
}

a[id^="ex2-tab-"] {
	font-weight: bold !important;
	font-size: 1.25rem !important;
}

#ex2-tabs-1 {
	border: 2px solid #1565C0;
	border-radius: 10px;
	background-color: #E3F2FD;
	min-height: 60vh;
}

#ex2-tabs-2 {
	border: 2px solid #2E7D32;
	border-radius: 10px;
	background-color: #E8F5E9;
	min-height: 70vh;
}

#ex2-tabs-3 {
	border: 2px solid #BF360C;
	border-radius: 10px;
	background-color: #FFF3E0;
	min-height: 70vh;
}

#ex2-tabs-4 {
	border: 2px solid #1565C0;
	border-radius: 10px;
	background-color: #E3F2FD;
	min-height: 70vh;
}

.corpusTitle {
	display: inline;
	margin-left: 50px;
	margin-right: 50px;
	white-space: nowrap;
	font-weight: 800;
}

.corpusTitleLarge {
	font-weight: 800;
}

#corpusOverview p,
#corpusOverview li {
	font-size: 1.25rem;
}

#corpusOverview li {
	margin-top: 1rem;
}

#corpusOverview h4 {
	font-style: italic;
	font-weight: 800;
	margin-top: 6rem;
}

#corpusOverview h5 {
	font-style: italic;
	font-weight: 800;
	margin-block: 1rem;
}

#corpusOverview > div {
	padding: 1rem;
}

div.hideOnSmallerScreens {
	display: inline;
}

.hideOnSmallScreens {
	display: inline;
}

.showOnSmallScreens {
	display: none;
}

.hideOnMediumOrLargerScreens {
	display: none;
}
	
.showOnMediumOrLargerScreens {
	display: inline;
}

.hideOnSmallerThanLargeMediumScreens {
	display: inline;
}

.showOnSmallerThanLargeMediumScreens {
	display: none;
}

.text-small-stats {
	font-weight: 900;
}

.centered-text-with-lines  {
	display: flex;
	align-items: center;
	text-align: center;
}

.centered-text-with-lines::before,
.centered-text-with-lines::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid #000;
	margin: 0 10px;
}

.centered-text-with-lines span {
	white-space: nowrap;
}

.centered-text-with-double-lines  {
	display: flex;
	align-items: center;
	text-align: center;
}

.centered-text-with-double-lines::before,
.centered-text-with-double-lines::after {
	content: "";
	flex: 1;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	margin: 0 10px;
}

.centered-text-with-double-lines span {
	white-space: nowrap;
}

/* Custom MDB styles */
.datatable table th {
 	white-space: normal;
 	font-size: 1.375rem;
 }
 
.datatable table td {
 	white-space: normal;
 	font-size: 1.375rem;
}

.text-corpus-frequency-table table tr {
	vertical-align: middle;
}

/* Fix overlap issue */
.datatable.datatable-striped tbody tr:nth-of-type(odd) {
	background-color: #F8F8F8;
}

td[data-mdb-field=wordForm] {
 	font-size: 1.25rem !important;
 	font-weight: 400;
 	width: fit-content !important;
 	max-width: fit-content !important;
 	white-space: nowrap !important;
 }

.datatable table td[data-mdb-field=citation] {
	font-size: 1.5rem;
}
 
 .accordion-button {
 	font-size: 1.625rem;
 	font-weight: 600;
 }
 
 .mark, mark {
	padding-left: .2em;
	padding-right: .2em;
	padding-top: .0em;
	padding-bottom: .2em;
	background-color: rgb(255, 224, 230);
}

.matchingStemCount,
.citationCount {
	font-size: 0.875em;
}

/* Used in coda.jspf for text-corpus.jsp */
.datatable td[data-mdb-field="inflections"] {
	font-size: 1.125rem;
}

.datatable td[data-mdb-field="wordFormUsage"] {
	font-size: 1.5rem;
}


.datatable td[data-mdb-field="usageCount"] {
	text-align: center;
}

.datatable td[data-mdb-field="viewContext"] {
	text-align: center;
	font-size: 1.5rem;
}

.datatable th:has( *[data-mdb-sort="viewContext"] ) {
	text-align: center;
}

.datatable th:has( *[data-mdb-sort="usageCount"] ) {
	text-align: center;
}

/* Used in Auto-complete in text-corpus.jsp */
.autocomplete-item {
	font-size: 1.5rem;
}


/* Very large-sized screens */
@media all and (max-width: 1440px) {
	div.imaged-dictionaries-box {
		width: 420px;
	}
}

/* Large-sized screens */
@media all and (max-width: 1240px) {
	
	img.nayiriLogo {
		max-width: 300px;
	}
	
	.gb1 {
		font-size: 12pt;
	}
	
	div.nayiriBannerContainer {
	  	margin-top: 40px;
	}
	
	div.search-results-container {
		/* On small screens, we are no longer using row direction but column */
    	flex-direction: column;
    	margin-top: 0.5em;
    	gap: 0em;
	}
	
	div.imaged-dictionaries-box {
		flex-grow: 1;
		width: auto;
		max-width: 720px;
		margin: auto;
	}
	
	div.digitized-dictionaries-results-container {
		width: auto;
		margin-bottom: 25px;
	}
	
	.indentLeft {
		margin-left: 15px;
	}
	
	.spellchecker-ad {
		display: none;
	}
	
}

/* upto Large-medium-sized screens */
@media all and (max-width: 1024px) {
	
	.hideOnSmallerThanLargeMediumScreens {
		display: none;
	}
	
	.showOnSmallerThanLargeMediumScreens {
		display: inline;
	}

}

/* Medium-sized screens */
@media all and (max-width: 900px) {
	
	.mediumText {
		font-size: 1.375rem;
	}
	
	.smallerThanMediumText {
		font-size: 1.125rem;
	}
	
	.dropbtn .langDisplayName,
	.dropdown-content .langDisplayName {
		display: none;
	}
	
	.dropdown-content {
		text-align: center;
	}
	
	.dropdown-content a {
	 	padding: 6px 6px 8px 6px;
	}
	
	.dropbtn {
		min-width: 0px;
		border: none;
		text-align: center;
		margin-left: 1px;
		padding: 2px 2px 6px 2px;
	}
	
	.datatable table th {
 		font-size: 1.125rem;
 	}
 
 	.datatable table td {
 		font-size: 1.0rem;
	}
	
	.datatable table td span[class=headword] {
 		font-size: 1.125rem;
	}
	
	.datatable table td[data-mdb-field=citation] {
		font-size: 1.25rem;
	}
	
	.datatable td[data-mdb-field="wordFormUsage"] {
		font-size: 1.25rem;
	}
	
	.accordion-button {
 		font-size: 1.375rem;
 	}
 	
 	.regularText {
		font-size: 1.375rem;
	}
	
	.fonts-table {
		width: 100%;
	}
	.fonts-table-header {
		display: none;
	}
	
	.fonts-table-row {
		flex-direction: column;
		padding: 0 0 2.5em 0;
	}
	
	.nayiri-content-page-header {
		flex-direction: column;
		gap: 0;
	}
	
	.nayiri-content-page-middle {
		flex-direction: column;
	}
	
	.nav-item,
	.nav-selected,
	.navsub {
		text-align: center;
	}
}

/* Medium-sized screens */
@media all and (max-width: 800px) {
	
	.topLevelPageLongTitle {
		display: none;
	}
	
	.topLevelPageShortTitle {
		display: inline;
	}
	
}

/* Medium-small-sized screens and smaller */
@media all and (max-width: 720px) {
	
	.hideOnMediumOrLargerScreens {
		display: inline;
	}
	
	.showOnMediumOrLargerScreens {
		display: none;
	}
	
	.corpusTitle {
		display: block;
		margin-left: 0px;
		margin-right: 0px;
		white-space: normal;
		font-size: 1.25rem !important;
		font-weight: 800;
	}
	
	#morphologyContentsDiv .mx-4 {
		margin-left: 0rem!important;
		margin-right: 0rem!important;
	}
	
	.mediumText {
		font-size: 1.25rem;
	}
	
	.smallerThanMediumText {
		font-size: 1.0rem;
	}
}

/* Small screens */
@media all and (max-width: 620px) {
	
	.regularText {
		font-size: 1.25rem;
	}
	
	#morphologyDiv {
		display: none;
	}
	
	.hideOnSmallScreens {
		display: none;
	}
	
	.showOnSmallScreens {
		display: inline;
	}
	
	/*
	#toggleMorphologyButton {
		display: none;
	}
	*/
	
	div.hideOnSmallerScreens {
		display: none;
	}
	
	#morphologyFilters {
		display: none !important;
	}
	
	#matchingLexemes {
		display: none !important;
	}
	
	.dictSearchTypeLong {
		display: none;
	}
	
	.dictSearchTypeShort {
		display: inline;
	}
	
	.matchingStemCount {
		display: none;
	}
	
	div.imaged-dictionaries-box {
		width: auto;
		max-width: none;
	}
	
	a[id^="ex2-tab-"] {
		font-size: 1.0rem !important;
	}
	
	#corpusOverview p,
	#corpusOverview li {
		font-size: 1.0rem !important;
	}
	
	#corpusOverview > div {
	padding: 0.25rem;	
}

}

/* Smaller screens */
@media all and (max-width: 500px) {
	
	.mediumText {
		font-size: 1.125rem;
	}
	
	.littleText {
		font-size: 1.0rem;
	}
	
	.smallerThanMediumText {
		font-size: 1.0rem;
	}
	
	#navmenu {
		font-size: var(--main-text-font-size-mobile);
	}
	
	.nayiri-content-page-main > div {
		font-size: var(--main-text-font-size-mobile);
	}

	img.nayiriLogo {
		max-width: 240px;
	}
	
	div.nayiriBannerText {
		display: none;
	}
	
	div.nayiriBannerContainer {
	  	margin-bottom: 5px;
	}
	
	#searchQueryInput {
  		height: 2.5rem;
  		border-radius: 1.25rem;
  		padding: 0.25rem 9.0rem 0.35rem 1rem;
  		font-size: 1.4rem;
	}
	
	#clearQueryButton {
  		width: 2.7rem;
  		height: 2.5rem;
  		margin-left: -8.5rem;
	}
	
	#searchControlDivider {
		height: 26px;
	}
	
	#searchQuerySubmit {
		width: 2.5rem;
  		height: 2.5rem;
	}
	
	#clearQueryButtonImg {
		width: 18px;
		height: 18px;
	}
	
	#searchQuerySubmitImg {
		width: 28px;
		height: 28px;
	}
	
	#keyboardImg {
	  padding-left: 0px;
	  margin-left: 6px;
	  margin-right: 5px;
	}
	
	div.newAutocomplete ul {
		border-radius: 1.25rem;
		padding: 0.25rem 1.5rem 0.25rem 1rem;
	}
	
	div.newAutocomplete ul li {
	  font-size: 1.4rem;
	}
	
	.lsb {
		font-size: 14pt;
		margin: 2px;
	}
	
	.largeText {
		font-size: 16pt;
	}
	
	#searchBoxContainer {
		width: 100%;
	}
	
	.indentedS {
		padding-left: 2px;
		padding-right: 2px;
		font-size: 16pt;
	}
	
	.smallerText {
		font-size: 11pt;
	}
	
	.smallestText {
		font-size: 10pt;
	}
	
	div.imaged-dictionaries-box {
		width: auto;
		max-width: 100%;
	}
	
	.imaged-dictionaries-box ul {
		margin-left: 0px;
		margin-right: 0px;
	}
	
	.imaged-dictionaries-box ul li {
		text-align: auto;
	}
	
	div.nayiriBannerContainer {
		margin-top: 5px;
	}
	
	span.derivationTitle {
		font-size: 1.625rem;
	}
	
	.indentDiv {
		margin-left: 0.25em;
	}
	
	.indentDiv div {
		margin-left: 0.25em;
		margin-top: 0.25em;
		margin-right: 0.25em;
	}
	
	.indentDiv div div {
		margin-left: 0.25em;
		margin-top: 0.25em;
		margin-right: 0.25em;
	}
		
}

/* Smallest screens */
@media all and (max-width: 375px) {
	
	img.nayiriLogo {
		max-width: 200px;
	}
	
	div.nayiriBannerContainer {
	  	margin-bottom: 0px;
	}

	.dictSearchTypeShort {
		font-size: 11pt;
	}
	
	.largeText {
		font-size: 15pt;
	}
	
	.indentLeft {
		margin-left: 10px;
	}
	
	.indentedM {
		font-size: 14pt;
	}
	
	div.dropdown {
		display: none;
	}
	
	.imaged-dictionaries-box h3 {
		margin-top: 10px;
		font-size: 14pt;
	}
	
	.imaged-dictionaries-box ul li {
		font-size: 13pt;
	}
	
	.bottom-lang-nav {
		display: block;
	}
	
	.footerDisclaimer, .footer {
		font-size: 0.8rem;
	}
	
}

/* Ultra-small screens (e.g. iPhone 8) */
@media all and (max-width: 360px) {
	
	img.nayiriLogo {
		max-width: 180px;
	}
	
	#searchQueryInput {
  		height: 2.0rem;
  		border-radius: 1rem;
  		padding: 0.25rem 8.7rem 0.35rem 1rem;
  		font-size: 1.2rem;
	}
	
	#clearQueryButton {
  		width: 2.2rem;
  		height: 2rem;
  		margin-left: -7.75rem;
	}
	
	#searchControlDivider {
		height: 20px;
	}
	
	#searchQuerySubmit {
		width: 2rem;
  		height: 2rem;
	}
	
	#clearQueryButtonImg {
		width: 16px;
		height: 16px;
	}
	
	#searchQuerySubmitImg {
		width: 24px;
		height: 24px;
	}
	
	div.newAutocomplete ul {
		border-radius: 1rem;
		padding: 0.25rem 1.5rem 0.25rem 1rem;
	}
	
	div.newAutocomplete ul li {
	  font-size: 1.2rem;
	}
	
	.gb1 {
		font-size: 11pt;
	}
	
	.lsb {
		font-size: 12pt;
		min-width: 100px;
		height: 30px;
	}
	
	.indentedS {
		font-size: 15pt;
	}
	
	.smallerText {
		font-size: 10pt;
	}
	
	.dictionaryCredits {
		font-size: 10pt;
	}
	
	.dictSearchTypeShort {
		font-size: 9pt;
	}
	
	.regularText {
	font-size: 1.125rem;
}
	
}

/* Ultra-ultra small screens (e.g. iPhone SE) */
@media all and (max-width: 320px) {
	
	#searchQueryInput {
		border-radius: 0.5rem;
		padding: 0.25rem 6.5rem 0.35rem 0.5rem;
  		font-size: 1.1rem;
	}
	
	#clearQueryButton {
  		width: 1.8rem;
  		height: 2rem;
  		margin-left: -6.65rem;
	}
	
	#searchQuerySubmit {
		width: 1.8rem;
		height: 1.8rem;
	}
	
	div.newAutocomplete ul {
		border-radius: 0.5rem;
		padding: 0.25rem 1.5rem 0.25rem 0.5rem;
	}
	
	div.newAutocomplete ul li {
	 	font-size: 1.1rem;
	}
	
	.gb1 {
		font-size: 10pt;
	}
	
	.imaged-dictionaries-box h3 {
		letter-spacing: 1px;
	}
}

/* Larger-sized screens */
@media all and (min-width: 1680px) {
	
	.gb1 {
		font-size: 16pt;
	}
	
	.dictSearchTypeLong {
		font-size: 16pt;
	}
	
	.search-wrapper {
	  max-width: 50rem;
	}
	
	#searchQueryInput {
  		height: 4.0rem;
  		border-radius: 1.875rem;
  		padding: 0.15rem 11.0rem 0.35rem 1.8rem;
  		font-size: 2.0rem;
	}
	
	#clearQueryButton {
		margin-left: -10.25rem;
	}
	
	#clearQueryButtonImg {
		width: 24px;
		height: 24px;
	}
	
	#searchControlDivider {
		height: 38px;
	}
	
	#searchQuerySubmitImg {
		width: 36px;
		height: 36px;
	}
	
	div.newAutocomplete ul {
		border-radius: 1.875rem;
		padding: 0.15rem 1.5rem 0.25rem 1.5rem;
	}
	
	div.newAutocomplete ul li {
	  	font-size: 2.0rem;
	}
	
	.indentedS {
		font-size: 20pt;
	}

	.smallerText {
		font-size: 12pt;
	}
	
	.smallestText {
		font-size: 11pt;
	}
	
	div.imaged-dictionaries-box {
		width: 600px;
	}
	
	.imaged-dictionaries-box div.title {
		font-size: 16pt;
		line-height: 1.2em;
	}
	
	.imaged-dictionaries-box h3 {
		font-size: 18pt;
		letter-spacing: 3px;
	}
	
	.imaged-dictionaries-box ul li {
		font-size: 16pt;
	}
}

/* Very large-sized screens */
@media all and (min-width: 1920px) {
	
	div.imaged-dictionaries-box {
		width: 720px;
	}
	
	.imaged-dictionaries-box div.title {
		font-size: 18pt;
	}
	
	.imaged-dictionaries-box h3 {
		margin-top: 2.0em;
		font-size: 20pt;
	}

	.imaged-dictionaries-box ul li {
		font-size: 18pt;
	}

}

img.screenshot {
	width: max(240px, 75%);
	max-width: 100%;
  	max-height: max(240px, 75%);
  	margin: 0.5em 0;
  	display: block;
}

img.large-screenshot {
	width: max(240px, 100%);
	max-width: 100%;
  	max-height: max(240px, 100%);
  	margin: 0.5em 0;
  	display: block;
}

img.medium-screenshot {
	width: max(240px, 60%);
	max-width: 100%;
  	max-height: max(240px, 60%);
  	margin: 0.5em 0;
  	display: block;
}

img.smaller-screenshot {
  	width: max(180px, 30%);
  	max-width: 100%;
  	max-height: max(180px, 30%);
  	margin: 0.5em 0;
  	display: block;
}

img.small-screenshot {
  	width: max(240px, 40%);
  	max-width: 100%;
  	max-height: max(240px, 40%);
  	margin: 0.5em 0;
  	display: block;
}

img.bordered-screenshot {
	width: max(240px, 75%);
	max-width: 100%;
  	max-height: max(240px, 75%);
	border-width: 2pt;
	border-color: black;
	border-style: solid;
	margin: 0.5em 0;
	display: block;
}

img.bordered-medium-screenshot {
	width: max(240px, 60%);
	max-width: 100%;
  	max-height: max(240px, 60%);
	border-width: 2pt;
	border-color: black;
	border-style: solid;
	margin: 0.5em 0;
	display: block;
}

.C_DATATABLE td {
border: 1px solid #DDD;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #DDD;
border-right-color: #DDD;
border-bottom-color: #DDD;
border-left-color: #DDD;
padding: 0.6em;
padding-top: 0.6em;
padding-right: 0.6em;
padding-bottom: 0.6em;
padding-left: 0.6em;
text-align: right;
vertical-align: top;
width: 10%;
border-image: initial;
}

.C_DATATABLE td.C_DATATABLE_ROW_KEY {
text-align: left;
width: 30%;
}

.C_DATATABLE th.C_DATATABLE_KEY_COLUMN {
cursor: pointer;
text-align: left;
}

form.inplaceeditor-form input[type="text"] { /* Input box */
	font-size: 15pt;
}

form.inplaceeditor-form input[type="submit"] { /* The submit button */
  font-size: 14pt;
}

form.inplaceeditor-form a { /* The cancel link */
  font-size: 12pt;
}

div.new-text {
	display: block;
	float: left;
	text-align: right;
	font-size: 12px;
	color: red;
	font-weight: 800;
	position: relative;	
	padding: 0px 5px 0px 0px;
}