
body {background:white;font-family: Verdana, Helvetica, Arial, sans-serif;color:black;}
div.content {margin:0 auto;max-width:1000px;}

h1 { color: #c98403; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 50px; padding: 0 0 20px 0; margin: 20px 0 40px 0; border-bottom: 2px dashed #c98403; font-weight: normal; text-align: center; }
h2 { color: #c98403; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 32px; font-weight: normal; padding: 0; margin: 30px 0 20px 0; }
h3 { color: #c98403; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 26px; font-weight: normal; padding: 20px 0 0 0; margin: 30px 0 20px 0; border-top: #c98403 dashed 2px; }

p, li { line-height: 140%; }

a:link, a:visited { color: #c98403; text-decoration: none; border-bottom: 1px solid #c98403; }
a:active  { color: #999999; text-decoration: none; border-bottom: 1px dashed #c98403; }
a:hover, a:focus   { color: #ff9900; text-decoration: none; border-bottom: 1px dashed #c98403; }

li {margin-bottom: 1em;text-align: left;}
li ul {margin-top: 1em;}

img {max-width:100%;height:auto;}

hr {
	margin-top: 20px;
	height: 0;
	border: 0;
	border-top: 2px dashed #c98403;
}

table { border-top: 1px solid #ccc; border-left: 1px solid #ccc; border-collapse: collapse; }
th, td { border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; }
td { vertical-align: top; white-space: nowrap; }
td a:visited { color: gray; text-decoration: none; }

input, textarea, select {

  padding: 3px 5px;
  margin-bottom: 10px;
  font-size: 105%;
  border: 1px solid #999999;
  border-radius: 4px;
  background: #f8f8f8;

}

textarea {

  width: 100%;
  min-height: 200px;

}

input:focus, textarea:focus, select:focus {

  border: 1px solid #181818;
  background: #ffffff;

}

input[type=submit], input[type=button] {

  padding: 3px 20px;
  border: 1px solid #999999;
  border-radius: 4px;
  background: #cccccc;
  cursor: pointer;

}

input[type=submit]:hover,
input[type=submit]:active,
input[type=button]:hover,
input[type=button]:active {

  border: 1px solid #181818;
  background: #ffbf00;

}

.clear {
	clear: both;
}

/* Stentroll */

.bildgalleri a {display:inline-block;margin:10px;}
.bildgalleri a img {max-width:100px;height:auto;}

/* Ljud */

div.wrap {
	overflow: hidden;
}

div.wrap figure {
	margin: 0 20px 20px 0;
	width: 100%;
	max-width: 310px;
	float: left;
}

div.wrap figure label {
	cursor: pointer;
	float: right;
}

@media only screen and (max-width: 1020px) {
  div.wrap figure { max-width: 45%; }
}

@media only screen and (max-width: 600px) {
  div.wrap figure { max-width: 100%; }
}

audio {
	width: 100%;
}

/* Matalavaroituskyltti */

div.download {
	width: 50%;
	padding: 40px 0 40px 0;
	float: left;
}

div.download:after {
	content: "";
	visibility: hidden;
	display: block;
	height: 0;
	clear: both;
}

div.download img {
	float: left;
	max-width: 70%;
}

div.download p {
	float: left;
	padding-left: 20px;
}

div.download a {
	display: block;
}

/* Tools */

.postinumero {width: 5ch;}

/* Worms */

.preview {background:#000;}
.preview a {display:inline-block;}
video {width:100%;cursor:pointer;}
.vimeowrapper {padding:56.25% 0 0 0;margin-bottom:20px;position:relative;}

/* Less than max width */

@media only screen and (max-width: 600px) {

	div.download {
		width: 100%;
		float: none;
	}

}

/* Dark mode */

@media (prefers-color-scheme: dark) {

	body {
	  background: #222;
	  color: #fff;
	}

	audio {
		border: 1px solid #444;
	}

}
