/*  *************    master.css m.op   *****************  */
/*  *************    edited 24/9'20     *****************  */

* {box-sizing: border-box;}

body {
	/*font-family:  -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; from Mathias - not used*/
	font-size: 1em; /* */
	background-image: url(iBubbles04.png);
	background-size: contain;
	background-attachment: fixed;
}
.main {
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 3em 0 3em ;
	max-width: 34em;
	margin: 0 auto 0;
	background-color: white; 
}

/* ***************************************************************** */
/* ******              STICKY MENU & HEAD IMG                ******* */
/* ***************************************************************** */

.menu {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-around;
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 0;
	margin: 0.7em auto 0;
	padding: 0.2em 5% 1em ;
	max-width: 100%;
	text-align: center;
	background: RGBA(255, 255, 255, 0.7);
	z-index: 1;
}

.A .menu .a, .I .menu .i, .B .menu .b, .C .menu .c, .D .menu .d, .E .menu .e {background-color: Orange; color: white; text-shadow: #000 1px 1px 1px; }

.numberCircle3 {
	display: inline-block;
	width: 2em;
	height: 2em;
	border-top: 0.08em solid #000;
	border-left: 0.08em solid #000;
	border-right: 0.12em solid #000;
	border-bottom: 0.12em solid #000;
	margin-top: 0;
	font: 0.9em sans-serif;
	font-weight: bold;
	text-align: center;
	color: rgba(128, 128, 128, 1); /* RGBA to avoid color inheritance */
	background-color: /*#f5f5f5*/ rgba(245,245,245,1);
	line-height: 2em; 
}

.HeadBlock {
	max-width: 47em;
	/*padding: 3em 5em 3em 8em;*/
	margin: 0 auto 0;
}	
.HeadBlock img {
	border: 0.5px solid black;
	max-width: 100%;
	height: auto;
	box-sizing: border-box;
	}

/* **************************************************************** */
/* **************            TYPOGRAPHY             *************** */
/* **************************************************************** */

							/* ***** ELEMENTS ***** */

h1 {
	font-family: Serif;
	font-size: 3em;
	font-weight: 900;
	color: grey /*DarkSlateGray*/ ;
	line-height: 1.1 /*0.9*/ ;
	padding: 0 0 0.5em ;
}
h2 {  /* second level h1 */
	font-family: Serif;
	font-size: 2.25em;
	font-weight: 900;
	color: grey /*DarkSlateGray*/ ;
	margin-top: 0.7em;
}
h3 { 	/* section headings - only in A-Content.php*/
	font-family: Serif;
	font-size: 1.75em;
	font-weight: 900;
	color: grey;	
	margin: 1em 0 0.5em;
	white-space: pre-wrap;
}
h4 {
	font-family: Serif;
	font-size: 1.2em;
	font-weight: 900;
	color: black;	
	margin: 1em 0 0.5em;
	white-space: pre-wrap;
}
p {
	font-family: Sans-Serif;
	font-size: 1em;
	font-weight: normal;
	color: black;
	margin: 0.75em 0 0.75em;
	line-height: 170%;
	white-space: pre-wrap;
	/* letter-spacing: 0.027em; */
}

i {font-style: italic;}

b {font-weight: bold;}	

em {font-size: 0.75em;
	text-transform: uppercase;
	vertical-align: 0.05em;
	color: DarkSlateGray;}

footer {     /* for article date info (under H1) */
	font-family: Sans-Serif;
	font-size: 0.65em;
	font-weight: bold;
	color: black;
	margin-top: 1em;	
	margin-bottom: 3em;
}

sup {
	vertical-align: 0.2em;
	line-height: 0;
	font-size: 0.8em;
}

sub {
	vertical-align: 0.02em;
	line-height: 0;
	font-size: 0.7em;
}

							/* ***** CLASSES ***** */

.smallHead {
	display: block;
	line-height: 1.5;
	font-size: 0.75em;
	text-shadow: initial;
}
.small {
	font-size: 0.7em;
	text-shadow: initial;
}
.intro {
	color: black /DarkSlateGray*/;	
	font-family: Serif;
	font-style: italic;
	font-size: 1.03em ;
	font-weight: normal;
	line-height: 150% /*170%*/;
	letter-spacing: /*0.06em*/ 0.06em;	
	white-space: pre-wrap;
	margin-top: 0.7em;
	margin-right: 0 /*0.5em*/;
	margin-bottom: 1em /*1em*/ ;
	margin-left: 0 /*0.8em*/;
}

.cite {
	display: inline-block;
	position: relative;
	left: 15%;
	text-align: left;
	margin: 0.7em 0;
	max-width: 70%;
	font-family: Serif;
	color: midnightblue;	
	font-style: italic;
	font-weight: normal;
	font-size: 1.1em; 
	line-height: 140%;
	letter-spacing: 0.02em;	
	white-space: pre-wrap;
}

/* *************************************************************** */
/* ******            QUOTATIONS  and IMAGES                ******* */
/* *************************************************************** */

blockquote {
	overflow: hidden;
	font-family: Times Roman;
	font-size: 1em;
	font-style: italic;
	padding: 1em;
	margin: 0 3em 0 1em;
	background-color: WhiteSmoke ;
	white-space: pre-wrap;
	}

img.quoteleft {
	float: left;
	vertical-align: text-top;
	width: 2.5em;
	margin: 0 0.8em 0.2em 0;
}
img.quoteright {
	clear: left;
	float: right;
	width: 2.5em;
	margin:  0.2em 0.2em 0;
	}

/* *************************************************************** */
/* ******        NOTATIONS (footnotes, intips, etc)        ******* */
/* *************************************************************** */

.footnote {
	display: none;
	position: fixed;
	font-size: 0.75em;
	padding: 2em 1em;
	}
.footnote p {
	letter-spacing: normal;
	}
.footnote:target {
	display: block;
	overflow-y: auto;
	overflow-x: hidden;
	max-width: 70%;
	top: 0.5em;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	border-width: 0.1em;
	border-color: darkgray;
	border-style: none none solid none;
	background-color: white ;
   box-shadow: -0.3em 0.6em 2em -0.7em gray;
   }
.footnote blockquote {
	font-size: 1.1em; /* to offset the height reduction of Times Roman */
	}
	
span:target {  /* for footnotes to link back to */
	background-color: silver;
	}
	
.intip-icon {
	color: LimeGreen;
	font-weight: bolder;
	text-decoration: none;
	position: relative; 
	padding-bottom: 1em;
	top: -0.3em;
	}
.intip-content {
	display: none;
	padding-top: 1em;
	}

.intip:hover .intip-content, .intip:active .intip-content, .intip:target .intip-content {
	display: inline;
	color: firebrick;
	font-style: italic;
	font-weight: bolder;
	font-family: serif;
	}
	
/* *************************************************************** */
/* ******                      ANCHORS                     ******* */
/* *************************************************************** */

a {
	text-decoration: underline;
	text-decoration-style: double;
	text-decoration-color: Silver;  /* or SpringGreen or #98FB98 or palegreen */
}

a.ext-icon {color: black;}
a.ext-icon:after {
	content: "\a0 \25BA";
	color: RoyalBlue;
}

a.int-icon {
	color: black;
	font-size: 1em;
}
a.int-icon:after {
	content: "\a0 \25BA";
	color: LimeGreen;
}

a.ftnt-icon/*a, .intip-icon, a.ext-icon*/ {
	position: relative; 
	top: -0.2em; 
	line-height: 0;
	font-size: 0.8em;
}

a.ftnt-icon, /*a.intip-icon,a.int-icon*/  {
	color: orange; /*LimeGreen;    or #33dd66 was orangered */
}
a.intip-icon {
	color: LimeGreen;   /* or #33dd66 was orangered */
	text-decoration: none;
	font-weight: bold;
}
a.ext-txt {
	color: black;
	text-decoration-style: double;
	text-decoration-color: Royalblue;
}
a.int-txt {
	color: black; 
	text-decoration-style: double;
	text-decoration-color: LimeGreen;
}
a.int-txt:hover, a.int-txt:target, a.int-txt:active { 
	background-color: lightcyan;
	color: green;
	text-decoration-color: limegreen;
}
a.navi-icon {  /*  for navigation icons in text  */
	color: darkorange;
	text-decoration-color: darkorange;
	text-decoration-style: double;
}
.footnote a.ext-icon, .footnote a.ext-txt {  
	text-decoration-style: solid;
}

/* *************************************************************** */
/* ******                  @MEDIA RULES                    ******* */
/* *************************************************************** */

@media (max-width: 700px) {
	.indent	{padding: 0 0.25em 0 1em; }

	.main {
		padding: 2em 0 3em 0 ;
	}
	.menu {
		padding: 0.5em 4%;
	}
	.cite {
		left: 10%;
		max-width: 80%;
	}
	h1 {
		font-size: 2.4em;
		overflow-wrap: break-word;
	}
	h2 {
		font-size: 2.0em;  /* ex second level h1 */
		margin-top: 0.7em;
	}
	h3 {
		font-size: 1.6em;  /* headings in A2, contents*/
	}
	img.quoteleft {
		width: 1.5em;
	}
	blockquote {
	margin: 0 0 1em;
	padding: 1em 0 1em;
	}
}

@media print {
	.cite {display: block;}
	}
