html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}


p {
	line-height: 1.2;
}

body {
  font-family: arial;
  background-color: #fffffe;
  min-height: 100vh;
}

A:link {color:#0066CC; text-decoration: none; font-family: sans-serif; }
A:active {text-decoration: underline; font-family: sans-serif;}
A:visited {color:#0066CC; font-family: sans-serif;}


.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}


@media (min-width: 768px) {
  .container {
    display: grid;
    grid-template-columns: 160px 1fr;
    grid-template-rows: auto 1fr;
  }

  .item, .item-current {
	display: inline-block;
	min-width: 80px;
	margin: 4px;
	font-size: 1.2em;
	/*background-color: #dddddd;*/
  }
  

}  

.item,.item-current {
	padding-right: 10px;	
}

.item a {
  color: #d84315;
  border: 2px;
}

.item a:hover {
	text-decoration: underline;
	border: 2px;
}

.item-current a {
	color: #fdd835;
	background-color: #d84315;
	border: 2px solid #d84315;
}
  


header {
  grid-column: span 2;
  padding: 30px;
  text-align: left;
  font-size: 1.4em;
  background-color:  #21618c ;
  color: white;
}

main {
  flex: 1;
  background-color: #fff;
  font-size: 1.1em;
  margin: 0.5em;
  padding: 0.5em;
  flex-shrink: 0;
}

main p {
	font-size: 1.1em;
	max-width: 800px;
}

main a {
/*	font-size: .9em;	*/
}


nav {
  background-color:   #fdd835 ;
  padding: 20px;
   flex-shrink: 0;
 
}
 
.content {
  margin: auto;
  max-width: 800px;
  /* border: 3px solid green; */
  padding: 10px;
  
}


footer {
  grid-column: span 2;
  padding: 10px;
  text-align: center;
  font-size: 1em;
  background-color: #d84315;
  color: white;
   flex-shrink: 0;
}

h1 {
  margin-bottom: .6em;
  font-size: 1.3em;
  font-weight: bold;
}

h2 {
  margin-top: 1.2em;
  margin-bottom: .6em;
  font-size: 1.2em;
  font-weight: bold;
}

figure {
  float: left;
  /*width: 80%;*/
  text-align: center;
  font-style: italic;
  font-size: smaller;
  text-indent: 0;
  /* border: thin silver solid; */
  border: none;
  margin-top: 0.5em;
 /* padding: 0.5em; */
}

figcaption a {
	font-size: 1em;	
}



.scaled {
  width: 100%;
  /*height: auto;*/
}

p.indexpage {
	
	max-width: 500px;	
}

p#alteregos {
	 
     clear: both;
     padding-top: 12px;
	
}

ul{
  margin-left:30px;
}

strong {
	font-weight: bold;	
}

/* Scale iframes for videos */

.wrapper {
  width:80%;
  max-width:600px;
  height:100%;
  margin:0 auto;
  background-color:#cfcfcf;
  border:1px solid red;
}

.h_iframe {
  position:relative;
  padding-top: 56%;
}

.h_iframe iframe {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

div.center {
  text-align: center;
}
