* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ccffff;
}

ul.sidenav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 25%;
  background-color: #006699;
  position: fixed;
  height: 100%;
  overflow: auto;
}

ul.sidenav li a {
  display: block;
  color: #f2f2f2;
  padding: 8px 16px;
  text-decoration: none;
}
 
ul.sidenav li a.active {
  background-color: #4CAF50;
  color: white;
}

ul.sidenav li a:hover:not(.active) {
  background-color: #555;
  color: white;
}

div.content {
  margin-left: 25%;
  padding: 1px 16px;
/*   height: 1000px; */
}

@media screen and (max-width: 900px) {
  ul.sidenav {
    width: 100%;
    height: auto;
    position: relative;
  }
  
  ul.sidenav li a {
    float: left;
    padding: 15px;
  }
  
  div.content {margin-left: 0;}
}

@media screen and (max-width: 400px) {
  ul.sidenav li a {
    text-align: center;
    float: none;
  }
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #006699;
}

/* Style the topnav links */
.topnav a {
  float: left;
  display: block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the content */
.content {
  background-color: #ccffff;
  padding: 10px;
  overflow-x:auto
}

.content img {
  max-width: 80%;
  height: auto;
/*   width: 80%;
  object-fit: fill; */
  border-radius: 20px;
  filter: saturate(200%);
  filter: hue-rotate(30deg);
}

/* Style the footer */
.footer {
  background-color: #006699;
  color: #f2f2f2;
  padding: 10px;
}

#castlist {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
}

#castlist td, #castlist th {
  border: 1px solid #ddd;
  padding: 8px;
}

#castlist tr:nth-child(even){background-color: #eee;}

#castlist tr:hover {background-color: #ddd;}

#castlist th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #000;
  color: white;
}

#cellbutton
{
/*width: 100px;*/
padding: 0;
background: #c96;
}

#cellbutton a
{
display: block;
padding: 2px;
border-width: 1px;
border-color: #ffe #aaab9c #ccc #fff;
border-style: solid;
color: #00f;
font-weight: bold;
text-decoration: none;
text-align: center;
background: #fc9;
}

#navtable cellbutton a:hover
{
color: #fff;
background: transparent;
border-color: #aaab9c #fff #fff #ccc;
}

#navtable cellcalhead
{
padding: 2px;
border-width: 1px;
border-color: #ffe #aaab9c #ccc #fff;
border-style: solid;
background: #fc9;
height: 20px;
text-align: center;
color: #000;
/*font-size : 10pt;*/
font-weight: bold;
}

#navtable cellcalep
{
padding: 2px;
border-width: 1px;
border-color: #ffe #aaab9c #ccc #fff;
border-style: solid;
background: #fc9;
width: 30px;
height: 20px;
text-align: center;
color: #000;
font-weight: bold;
}

#navtable cellcalep a:hover
{
color: #fff;
background: transparent;
border-color: #aaab9c #fff #fff #ccc;
}

#navtable cellcalno
{
background: #fc9;
width: 30px;
height: 20px;
text-align: center;
color: #000;
}

#navtable cellepdet
{
background-color: #c96;
width: 40%;
color: #000000;
}

#navtable cellepsum
{
background-color: #fc9;
width: 60%;
color: #000000;
}
