/* Link color related stuff */

/* 
a.broken_link:link, 
a.broken_link:visited, {
  //Note: Main settings for this are in Broken Link plugin settings
	color: #FF0000;
}
*/

.orange_link, a.orange_link {
	color: #FF992D;
}					

a[href*="/database/"]:not([href*="theoretical.blog"]):not(.broken_link):not(.orange_link):link, 
a[href*="/database/"]:not([href*="theoretical.blog"]):not(.broken_link):not(.orange_link):visited,  
a.database:not(.broken_link):not(.orange_link):link,
a.database:not(.broken_link):not(.orange_link):visited 
 {
	color: #0e8317;
}

a[href*="/korean_dictionary/"]:not([href*="theoretical.blog"]):link, 
a[href*="/korean_dictionary/"]:not([href*="theoretical.blog"]):visited,  
a.korean:link, 
a.korean:visited {
	color: #830e7a;
}

a[href*="/chinese_dictionary/"]:not([href*="theoretical.blog"]):link, 
a[href*="/chinese_dictionary/"]:not([href*="theoretical.blog"]):visited,  
a.chinese:link, 
a.chinese:visited {
	color: #ba4b06;
}

/* a[href*="/writing/"]:not([href*="theoretical.blog"]):link, 
a[href*="/writing/"]:not([href*="theoretical.blog"]):visited, */
a.writing:link, 
a.writing:visited {
	color: #20b2aa;
}

/* a[href*="/dwarvish/"]:not([href*="theoretical.blog"]):link, 
a[href*="/dwarvish/"]:not([href*="theoretical.blog"]):visited, */
a.dwarvish:link, 
a.dwarvish:visited {
	color: #706980;
}

a[href*="/scribbles/"]:not([href*="theoretical.blog"]):not([href*="theoretical.blog"]):not(.broken_link):not(.orange_link), 
a[href*="/scribbles/"]:not([href*="theoretical.blog"]):not([href*="theoretical.blog"]):not(.broken_link):not(.orange_link):visited,  
a.scribbles:visited:not(.broken_link):not(.orange_link), 
a.scribbles:link:not(.broken_link):not(.orange_link) {
	/* color: #f933ff; */
	color: #fb80ff;
}

a[href*="/database/"]:not([href*="theoretical.blog"]):not(.broken_link):not(.orange_link):hover, a[href*="/database/"]:not([href*="theoretical.blog"]):not(.broken_link):not(.orange_link):active, a.database:not(.broken_link):not(.orange_link):hover, a.database:not(.broken_link):not(.orange_link):active, a.orange_link:hover, a.orange_link:active, a.broken_link:hover, a.broken_link:active, a.scribbles:hover, a.scribbles:active, a.chinese:hover, a.chinese:active, a.korean:hover, a.korean:active, a.writing:hover, a.writing:active, a.dwarvish:hover, a.dwarvish:active {
	color: #999;
} 

/* Tooltip stuff */

.tooltip {
	/* position: relative; 
	display: inline-grid; */
}

.tooltip .tooltiptext {
	visibility: hidden;
	max-width: 500px;
	margin-right:-100vmax;
	background-color: #eee;
	color: #444;
	text-align: justify;
	border-color: #696969;
  border-style: solid;
	margin-top: 28px;
  border-width: 1px;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 30px;
	padding-right: 30px;
	position: absolute;
	z-index: 1;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
}

/* Zoom-in cursor pointer on images with URL */
a>img:hover:not(.custom-logo) {
  cursor: zoom-in;
}


/* Summary (click to show proof) and small text (footnote) related stuff */
summary.smalltext {
	font-size: 15px;
}

summary {
	cursor: pointer;
}

p.smalltext, ol.smalltext, li.smalltext, ul.smalltext, div.smalltext {
	font-family: "Cambria Math", Cambria;
    font-size: 15px;
	color: #444;
	line-height: 175%; 
}

ol.smalltext {
	margin-bottom: 0;
}

/* List and paragraph related stuff */

ul.ptext:not(.nojustify), ol.ptext:not(.nojustify), li.ptext:not(.nojustify) {
    text-align: justify;
}

p:not(.site-description):not(.site-title):not(.sources):not(.smalltext), ul.ptext, ol.ptext, td {
	font-family: "Cambria Math", Cambria;
  font-size: 18px;
	color: #444;
}

td {
	vertical-align: top;
}

span.oneliner {
    /* width: 70px; */
    overflow: hidden;
    white-space: nowrap;
}

.twentyfive {
	width: 25%;
}

.fifty {
	width: 50%;
}

.ptext:not(.nojustify) {
	font-family: "Cambria Math", Cambria;
    font-size: 100%;
    font-size: 18px;
	/* text-align: justify; */
	color: #444;
}

p:not(.has-text-align-center):not(.site-description):not(.site-title):not(.author-bio):not(.nojustify) {
	text-align: justify;
}


/* Border around paragraphs */
.example, .add_border {
    border-color: #696969;
    border-style: solid;
    border-width: 1px;
		padding-top: 15px;
		padding-bottom: 15px;
		padding-left: 30px;
		padding-right: 30px;
}

.dashed_border {
    border-color: #000000;
    border-style: dashed;
    border-width: 2px;
		padding-top: 15px;
		padding-bottom: 15px;
		padding-left: 30px;
		padding-right: 30px;
}

.bigtext {
	font-family: "Cambria Math", Cambria;
	color: #444;
	font-size: 28px;
}

/* Header related stuff */

h1:not(.widget-title), h2, h3, h4, h5, h6 {
	font-family: "Cambria Math", Cambria;
	color: #333;
}

h1.widget-title {
	font-size: 18px;
	font-weight: normal;
	line-height: 1.36em;
	margin: 14px 0;
	color: #555;
}


/* Divider line related stuff */

hr {
	height: 0;
	margin-top: -1px;
	margin-bottom: 24px;
	padding-top: 0px;
	border: 1px solid #666;
	border-width: 0 0 1px 0;
	clear: both;
}


/* Navigation and overall site appearance stuff */

.site-main .post-navigation .nav-previous a,
.site-main .paging-navigation .nav-previous a {
	color: #aaa;
	position: relative;
	float: left;
	width: 50%;
	text-decoration: none;
	text-align: left;
}
.site-main .post-navigation .nav-next a,
.site-main .paging-navigation .nav-next a {
	color: #aaa;
	position: relative;
	float: right;
	width: 50%;
	text-align: right;
	text-decoration: none;
}

.nav-prevnext a {
	position: relative;
	/* float: center; */
	width: 50%;
	text-align: center;
	text-decoration: none;
	color: #1c7c7c;
}

a.page-numbers, span.current {
	margin-left: 3.5px;
	margin-right: 3.5px;
}

div.nav-links {
	text-align: center;
}

p.comment-form-cookies-consent>label {
	width: 90%;
	font-size: 17px;
	text-align: left;
}
/* Fix space after column blocks */

div.wp-block-columns:not(.marginbottom) {
  margin-bottom: 0;
}

.nomargin {
	margin-bottom: 0px;
}

.smallmargin {
	margin-bottom: 7px;
}

.nopadding {
	padding-bottom: 0px;
}

.extramargin {
	margin-bottom: 24px;
}

/* Table related stuff */

table.fixed-table {
  width: 100%;
  table-layout: fixed;
}

.column-thirty {
  width: 30%;
}
.column-thirtyfive {
  width: 35%;
}
.column-forty {
  width: 40%;
}
.column-fortytwopointfive {
  width: 42.5%;
}
.column-fortyfive {
  width: 45%;
}

.front-page-links {
	text-align: center;
	font-size: 15px;
	margin-top: -15px;
	margin-bottom: 10px;
	
}

/* Spacing stuff */
.left-pad {
	padding-left: 26px;
	display:inline-block;
}

.left-margin {
	margin-left: 26px;
}
.top-margin {
	margin-top: 12px;
}
.bottom-margin {
	margin-bottom: 12px;
}

/* Dictionary and quiz related stuff */

table.dictionary-contents {
	border: 0px transparent;
	table-layout: fixed;
  width: 100%;
}

.quizword {
	font-family: "Cambria Math", Cambria;
  font-size: 60px;
	color: #444;
	line-height: 175%; 
	text-align: center;
}

.current_dict_sort {
  color: #666;
}
