div.wrapper {
	border-radius: 10px;
	margin-left: 100px;
	padding: 10px;
	background-color: #29B9D9;
	color: black;
	font-family: Verdana, sans-serif;
	border-style: solid;
	border-color: white;
	border-width: 5px;
}

table, th, td {
  border: 1px solid white;
  border-collapse: collapse;
  padding: 5px;
  font-weight: normal;
  background-color: #F2C4D5;
}

th {
	background-color: #F2C4D5;
}

tr:hover {
	background-color: #D91193;
	color: white;
}


.container {
	display: grid;
	grid-template-columns: 10% 80%;
	padding: 10px;
}

.container > div {
	padding: 10px;
	text-align: left;
}

#sidebarimage {
	border-radius: 5px;
	max-width: 145px;
	padding-top: 10px;
	padding-bottom: 5px;
}
#evilbox {
	border-radius: 5px;
	max-width: 145px;
	padding-top: 10px;
	padding-bottom: 5px;
}

div.sidenav {
	background-color: white;
	padding: 5px;
	width: 145px;
	margin: 10px;
	border-radius: 15px;
	/* check border*/
}

a {
	text-decoration: none;
	color: #D91193;
}

a:hover {
	font-size: 1.2em;
	color: #F2C4D5;
	text-decoration: underline;
}

#mobilesidebarimage {
	display: none;
}

.articleimage img {
	height: 250px;
	width: 100%;
	border: 3px solid white;
}

.captionimage {
	font-size: .8em;
	text-align: center;
}

.sidenav li a {
	display: block;
	text-align: center;
	width: 125px;
	background-color: #29B9D9;
	color: black;
	padding: 10px;
	margin-bottom: 8px;
	text-decoration: none;
	color: black;
	border: 2px;
	border-radius: 5px;
	font-family: Verdana, sans-serif;

}
.sidenav li a:hover{
	background-color: #D91193;
	font-size: 1em;
	color: white;
}
.sidenav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: fixed;
  z-index: 1;
  background-color: white;
}

.listbold dt {
	font-weight: bold;
}

.listbold dd {
	margin-bottom: 1em;
}
.formtext {
	padding: 1em;
	margin-bottom: 5px;
}

input[type=text], input[type=email] {
	width: 95%;
	margin: 5px;
	padding: 5px;
	border: 2px;
	border-color: black;
	border-radius: 5px;
}

input[type=button], input[type=submit], input[type=reset]{
	width: 100px;
	background-color: #29B9D9;
	color: black;
	padding: 10px;
	margin-bottom: 8px;
	text-decoration: none;
	color: black;
	border: 2px;
	border-radius: 5px;
	font-family: Verdana, sans-serif;
}

textarea {
	width: 95%;
	height: 150px;
	margin: 10px;
	padding: 5px;
	border: 2px;
	border-color: black;
	border-radius: 5px;
}

/* https://stackoverflow.com/questions/4932181/rounded-table-corners-css-only*/
body { 
    /*background: url(images/halftone-yellow.png) repeat 0 0;*/
	background: url(images/just-waves.png) repeat 0 0;
	color: #F2D022;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
	/* https://www.toptal.com/designers/subtlepatterns/beanstalk-dark-pattern/ */
}

details {
  border: 1px solid #F2C4D5;
  border-radius: 4px;
  padding: 0.5em 0.5em 0;
}

summary {
  font-weight: bold;
  margin: -0.5em -0.5em 0;
  padding: 0.5em;
}

details[open] {
  padding: 0.5em;
}

details[open] summary {
  border-bottom: 1px solid #aaa;
  margin-bottom: 0.5em;
}
/*https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details*/

@media screen and (min-width: 950px) {
	body { 
	width: 65%;
	/* https://www.toptal.com/designers/subtlepatterns/beanstalk-dark-pattern/ */
}
}

@media screen and (max-width: 950px) {
	
	body {
	width: 100%;
	}
	
#sidebarimage {
	border-radius: 5px;
	max-width: 100%;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-left: auto;
	margin-right: auto;	
	display: block;
	
}
#evilbox {
	display:none;
}

div.wrapper {
	margin-top:5px;
	border-radius: 10px;
	margin-left: 0px;
	padding: 10px;
	border-width: 5px;
}

.container {
	display: flex;
	flex-direction: column;
	padding: 10px;
}
.container > div {
	padding: 0px;
}

div.sidenav {
	background-color: white;
	padding:.5em;
	width: 90%;	
	margin: auto;
	border-radius: 5px;
}

.sidenav li a {
	display: flex;
	flex-direction: column;
	text-align: center;
	width: 90%;
	background-color: #29B9D9;
	color: black;
	padding: .5em;
	margin-bottom: 0;
	text-decoration: none;
	color: black;
	border-radius: 0px;
	border: .25em;
	border-bottom: .25em;
	border-color: white;
	font-family: Verdana, sans-serif;

}

.sidenav li a:active{
	background-color: #D91193;
	color: white;
}
.sidenav ul {
  list-style-type: none;
  display:flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  position: static;
  z-index: 1;
  background-color: white;
}
}
