* {  
  margin: 0;
  box-sizing: border-box;  
}

@font-face {
  font-family: Nimbus;
  src: url(font/NimbusRomNo9L-RegIta.otf);
}

body {    
  font-family: "Lucida Sans", sans-serif;
  background-image: url("images/paper.jpg");
}

a {
    color: #ffffff;
    text-decoration: none;
    display: block;
}

.classic_link > a {
    color: #0000ff;
    text-decoration: underline;    
}


.grid-container {
  display: grid;
  grid-template-areas:
    'header header header header header header'
    'menu main main main main right'
    'footer footer footer footer footer footer';
  gap: 10px;
  padding: 10px;
}

.grid-container > div {
  padding: 10px;
  font-size: 16px;
 
}

.item1 {    
  grid-area: header;
  background-image: url("images/paper_C.jpg");
  text-align: center;
  color: #ffffff;
}

.item1 > h1 {
  font-size: 40px;
  font-family: Nimbus, Times, serif;
  font-style: normal;
  font-weight: normal;
  text-shadow: 2px 2px 5px black;
}

.item2 {
  grid-area: menu;  
  /* display: flex;  */
  /* flex-wrap: wrap;  */
  /* padding: 4px; */
  }
  
.flex-item-left {
  background-image: url("images/paper_C.jpg");
  padding: 8px;
  margin-bottom: 4px; 
  margin-right: 4px;  
  flex: 50%;
}

.flex-item-right {
  background-image: url("images/paper_C.jpg");
  padding: 8px;
  margin-bottom: 4px;  
  margin-right: 4px;
  flex: 50%;
}

.flex-item-full {
  background-image: url("images/paper_C.jpg");
  padding: 8px;
  margin-bottom: 4px;  
  margin-right: 4px;
  flex: 100%;
}  

.flex-item-left-a {
  color: #E6E6E6;
  background-image: url("images/paper_CA.jpg");
  padding: 8px;
  margin-bottom: 4px;  
  margin-right: 4px;
  flex: 50%;
}

.flex-item-right-a {
  color: #E6E6E6;
  background-image: url("images/paper_CA.jpg");
  padding: 8px;
  margin-bottom: 4px;  
  margin-right: 4px;
  flex: 50%;
}

.flex-item-full-a {
  color: #E6E6E6;	
  background-image-a: url("images/paper_CA.jpg");
  padding: 8px;
  margin-bottom: 4px;  
  margin-right: 4px;
  flex: 100%;
}  
  
.item2 ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.item2 li {
  padding: 8px;
  margin-bottom: 4px;
  background-image: url("images/paper_C.jpg");
}

.item2 li:hover {
  background-image: url("images/paper_CL.jpg");
}

.item2 li.activePage {  
  color: #E6E6E6;
  background-image: url("images/paper_CA.jpg");
}

clickable {
  padding: 8px;
  margin-bottom: 7px;
  background-image: url("images/paper_C.jpg");
  color: #ffffff;   
}

clickable:hover {
  padding: 8px;
  margin-bottom: 7px;
  background-image: url("images/paper_CL.jpg");
  color: #ffffff;   
}
  
.item3 {
  grid-area: main;
}

.item3 > h1 {
  font-size: 30px;
  margin-bottom: 7px;
}

.item3 > p {
  margin-bottom: 7px;
}

.item4 {
  grid-area: right;
  border: 2px solid #000000;
  background-color: white;
  padding: 15px;
  color: #000000;
}

.item4 > h2 {
  font-size: 20px;
  padding-bottom: 10px;
}

.item4 li {
  padding: 5px;
  margin-bottom: 5px;
}

.item5 {
  grid-area: footer;
  background-image: url("images/paper_C.jpg");
  color: #ffffff;
  text-align: center;
}

table, th, td {
  padding: 5px;
  border: 1px solid #555555;
  border-collapse: collapse;
}

.invTable {
  border: none;
  padding: 0px;  
}

.invTable td {
   border: none;        
   padding: 1px;  
}

.container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 100%; 
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

 /* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
} 

.portrait {
  max-width: 100%; 
  height: auto;
  border: 2px solid #000000;
}


@media only screen and (max-width: 800px) {
  .item1 {grid-area: 1 / span 6;}
  .item2 {grid-area: 2 / span 6;}
  .item3 {grid-area: 3 / span 6;}
  .item4 {grid-area: 4 / span 6;}
  .item5 {grid-area: 5 / span 6;}
}

@media only screen and (min-width: 800px) {
  .flex-item-right, .flex-item-left {
    flex: 100%;
  }
  .item1 {grid-area: 1 / span 6;}
  .item2 {grid-area: 2 / span 3;}
  .item3 {grid-area: 2 / span 3;}
  .item4 {grid-area: 3 / span 6;}
  .item5 {grid-area: 4 / span 6;}
}

@media only screen and (min-width: 1000px) {
  .flex-item-right, .flex-item-left {
    flex: 100%;
  }
  .item1 {grid-area: 1 / span 6;}
  .item2 {grid-area: 2 / span 1;}
  .item3 {grid-area: 2 / span 4;}
  .item4 {grid-area: 2 / span 1;}
  .item5 {grid-area: 3 / span 6;}
}