A
{
    TEXT-DECORATION: none;
}
a:hover {
	color:#008000; 
	TEXT-DECORATION: underline; 
	}
a:active {
	color:#F2F2F2;
	}
A.topclass:link {
	color: #000000;
}
A.topclass:visited {
	color: #000000;
}
A.topclass:hover {
	color: #000000;
	TEXT-DECORATION: underline;
}

TABLE
{
	width:	100%;
	border: 0px;
	padding: 2px;
}
TD
{
	vertical-align: top;
	text-align: justify;
}
H1, H2, H3, H4, H5, H6 {
    border-bottom: 1px solid rgb(200, 200, 200);
	margin-bottom: 0px;
	margin-top: 0px;			 
}
IMG	{
	opacity: 1.0;
	border: 0;
	padding: 5px 5px 5px 5px;
	vertical-align: middle;	
}

IMG:hover
{
	opacity: 1.0;
}
IMG.selected
{
	box-shadow:0px 12px 22px 1px #009999;
}
IMG.hideum	{
	opacity: 1.0;
	border: 0;
	padding: 5px 5px 5px 5px;
	vertical-align: middle;	
}
IMG.hideum:hover
{
	opacity: 0.4;
}

HR	{
	color: #009999
}

HR.thinun
{
    height: 1px;
    color: #cccccc;
    background-color: #000000;
    border: none;
}
TABLE.squashed
{
	margin-top: 0px;
	margin-bottom: 0px;
	border: 0px solid #009999;
	width: 100%;
}
TD.ctr
{	text-align: center;
}
.sidebar	
	{
	list-style-position: inside;
	list-style-type: none; 
	font: 16px/1.4em Garamond,sans-serif;
	}
	
.licircle {
	list-style-type:circle;
	list-style-position: inside;
}

ul	{
	margin: 10px;
	padding: 10px;
}

.submitter {
	font-size:12pt; font-family: Garamond; color:#000000;background-color:#F0F5F5;border:2px solid #0033CC;padding:3px;margin-top:5px;margin-bottom:5px;
}
.submitter:hover {opacity: 0.4;}

 #rightsidemenu {
  position: fixed;
  right: 0.5em;
  top: 90%;
  margin-top: -2.5em;
  background-color: transparent;  
  color: #000000;
  font: 12px/1.4em Garamond,sans-serif;
  border-color: black;
	}
	
#advert {
  position: fixed;
  right: 0.5em;
  top:95%;
  margin-top: -2.5em;
  background-color: #F0F5F5;  
  opacity: 0.8;
  color: red;
  border:1px solid red;
  font: 12px/1.4em Garamond,sans-serif;
  font-weight: bold;
  border-radius:10px;
  text-align:center;
  vertical-align:bottom;
	}
#advert:hover {
	opacity: 0.2;
}

body {
    overflow-x: hidden;
}

/*  MODAL popup stuff     */
/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
#myImg:hover {
	opacity: 0.7;
	/*opacity: 1.0;
	  transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
#growImg:hover {
	opacity: 0.7;
	transform: scale(2.0);
}
#shrinkImg:hover {
	opacity: 0.4;
	transform: scale(0.75); 
	/*transform: rotate(50deg);*/
}
.growingImg:hover {
	opacity: 0.7;
	transform: scale(2.0);
	/*opacity: 1.0;
	  transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 25px; /* Location of the box */
  left: 50px;
  top: 50px;
  width: 75%; /* Part width */
  height: 75%; /* Part height */
  overflow: auto; /* Enable scroll if needed */
  /*background-color: rgb(0,0,0); /* Fallback color */
  /*background-color: rgba(240,245,245); */
  background-color: #F0F5F5;
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 50%;
  max-width: 700px;
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #000000;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.myBooks {
	display:block;
	margin:0 auto;
	width:80px;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
} 
.Menubutton, A.Menubutton
{
    TEXT-DECORATION: none;
	font-size:16px;
	color: #FFFFFF;
}
.Menubutton:hover, A.Menubutton:hover
{
    TEXT-DECORATION: none;
	font-size:16px;
	color: #000000;
}
DIV.menubar {
  width: 35px;
  height: 5px;
  background-color: black;
  margin: 6px 0;
}

/*  Responsive stuff */
@media only screen and (min-width: 400px){
.submenuleft {
  width:33vw;
  display:block;
  margin-right:auto;
}
.submenuleft50 {
  width:50vw;
  display:block;
  margin-right:auto;
}
.linkmenu
    {
	background-color: #F0F5F5; 
	border:2px solid #C2D6D6;
	width: 33vw;
	margin-right:auto;
}
}
@media only screen and (max-width: 400px) {
  .submenuleft {
  width:66vw;
  display:block;
  margin-left:auto;
  }
  .submenuleft50 {
  width:100vw;
  display:block;
  margin-left:auto;
  }  
  .linkmenu {
	background-color: #F0F5F5; 
	/*padding-left: 10px;
	padding-right: 10px; */
	border:2px solid #C2D6D6;
	width: 75vw;
	margin-right:auto;
  }
}

@media only screen and (max-width: 400px){
	.hidefromphone {
		display:none;
	}
	.showtophone  {
		display:block;
	}
}
@media only screen and (min-width: 400px){
	.hidefromphone {
		display:block;
	}
	.showtophone  {
		display:none;
	}
}	


