/*  *************    master.css poesic   *****************  */

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(Bubbles04.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: 4.5em 5% 3em 8%;
	max-width: 38em; /*80%*/;
	margin: 0 auto 0;
/*	background-color: white; */
}

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

h1 {
	font-family: Sans-Serif;
	font-size: 2em;
	font-weight: 900;
	color: gray;
	margin-bottom: 0.5em;
}
h2 {
	font-family: Serif;
	font-size: 1.72em;
	font-weight: 500;
	color: black;
	margin-bottom: -0.4em;
}
h3 {
	font-family: Sans-Serif;
	font-size: 1.25em;
	font-weight: 900;
	color: gray;	
	white-space: pre-wrap;
	margin-top: 1em;
	margin-bottom: 0.75em;
}
p {
	font-family: Sans-Serif;
	font-size: 1em;
	font-weight: normal;
	color: black /*#606060*/;
/*	text-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0px, rgba(255, 255, 255, 0.5) -1px -1px 0px, rgba(255, 255, 255, 0.5) -1px 1px 0px, rgba(255, 255, 255, 0.5) 1px -1px 0px; */
	margin-top: 2em;
	margin-bottom: 1em;
	line-height: 170%;
	letter-spacing: 0.027em;
	white-space: pre-wrap;
}

/*p::first-letter {
 	font-family: Sans-Serif;
	font-weight: bold;
	font-size: 1em;
	color: grey; 
	letter-spacing: 0.08em;
}
p::first-letter {
 	font-family: Serif;
	font-weight: bold;
	font-size: 1.3em;
	vertical-align: -0.04em;
	color: red; 
	letter-spacing: 0.08em;
}  */
.footnote p {
	letter-spacing: normal;
}
footer {     /* for attribution data after articles */
	font-family: Sans-Serif;
	font-size: 0.6em;
	color: DarkSlateGray;
	margin-top: 2.5em;	
	margin-bottom: 3em;
}

b {font-weight: bold;}	

em {
	font-family: Serif;
	color: slategray;	
	font-style: normal;
	font-weight: bolder;
	font-size: 0.9em; 
	letter-spacing: 0.04em;	
	vertical-align: 0.05em;
}
i { 	font-family: serif; font-style: italic; }

cite {
	display: block;
	margin-left: 5%;
	margin-top: 1em;
	margin-bottom: 1em;
	font-family: Serif;
	color: #545454;	
	font-style: italic;
	font-weight: normal;
	font-size: 1.25em; 
	line-height: 140%;
	letter-spacing: 0.04em;	
	white-space: pre-wrap;
}

.small {font-size:0.75em; font-weight: 600;}

/*  THE FOLLOWING SEEMS TO BE INCORRECT CSS !?
sup {
	vertical-align: 0.2em;
	line-height: 0;
	font-size: 0.8em;
}
	
sub {
	vertical-align: 0.02em;
	line-height: 0;
	font-size: 0.7em;
}
*/

/* *******************  IMAGES  ********************* */

.stanz {
	position: relative;
	}
	
.kuva {
	position: absolute;
	/*height: 15em;*/
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.7;
	z-index: -2;
	}

.pitka {
	height: 25em }
	
.one {
	width: 16em;
	top: 10%;
	left: 5%;
	}
.two {
	width: 16em;
	top: 20%;
	right: 50%;
	}
.three {
	width: 16em;
	top: -20%;
	right: auto;
	}

/*  *****************  QUOTATIONS  *******************  */

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

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:target {
	display: block;
	overflow-y: auto;
	overflow-x: hidden;
	max-width: 70%;
	top: 5.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-content span {
	display: block;
	padding-top: 0.5em;
	line-height: 144%;
	letter-spacing: 0.027em;
	white-space: pre-wrap;
}*/
.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;
}
	
a {
	text-decoration: underline;
	text-decoration-style: double;
	text-decoration-color: Silver;  /* or SpringGreen or #98FB98 or palegreen */
}
a.ftnt-icon, a.intip-icon, a.int-icon, a.ext-icon {
	position: relative; 
	top: -0.3em; 
	line-height: 0;
	font-size: 0.8em;
}
a.ftnt-icon, a.intip-icon, a.int-icon {
	color: LimeGreen;   /* or #33dd66 was orangered */
}
a.intip-icon {
	text-decoration: none;
	font-weight: bold;
}
a.ext-txt, a.ext-icon {
	color: Royalblue;
}
a.ext-txt {
	text-decoration-style: solid;
}
a.int-txt {
	color: black; /*#00b300;
	font-weight: bolder;
*/
	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;
}
/*  for navigation icons in text  */
a.navi-icon { 
	color: darkorange;
	text-decoration-style: double;
	text-decoration-color: darkorange;
}
.footnote a.ext-icon, .footnote a.ext-txt { 
	text-decoration-style: solid;
}


/*  *********************  @MEDIA RULES  ********************** */
/* iPhone in portrait: appx.max width at end of "..published ##"  */

@media (max-width: 700px) {
	.main {
		padding: 2em 5% 3em 8%;
		max-width: 100%;
	}
	h1 {
		font-size: 2.5em;
		overflow-wrap: break-word;
	}
	h2 {
		font-size: 1.5em;
	}
	blockquote {
	margin: 0 0 1em;
	padding: 1em 0 1em;
	}
}

.recursive, a.recursive {
	color: maroon;
/*	font-family: Serif;*/
	font-style: italic;
}

