html {
    -webkit-text-size-adjust: none;
}

body { 
	font-family: "Arial","Helvetica",sans-serif;
	font-size: 18px;
	background-color: white; 
	color: black; 
	padding: 0px;
	margin: 0px;
}

div.main {
	position: relative;
	max-width: 1200px;
	width: 80%;
	margin: 2em auto;
	border: 1px solid #B2B2B2;
	background-color: #F4F4F4;
	background-image: url('/bg.png');
	padding: 2.5em 3.5em 4em 3.5em;
	border-radius: 12px;
	box-shadow: 5px 5px 10px #B9B9B9;
}

header {
	position: relative;
	border-bottom: 1px solid rgba(0,0,0,0.17);
	margin-bottom: 1.5em;
	padding-bottom: 0.5em;
	text-align: left;
}

p { 
	line-height: 130%;
	text-align: left;
	hyphens: auto;
}

p.blognote {
	font-size: 88.88889%;
	color: #404040;
	font-style: italic;
}

h1 {
	font-size: 200%;
	font-weight: normal;
	margin-top: 0em;
	text-shadow: 0.08em 0.08em 0.1em #C0C0C0;
}

h2 {
	font-size: 130%;
	font-weight: bold;
	margin-top: 1.5em;
	text-shadow: 0.08em 0.08em 0.1em #C0C0C0;
}

h3 {
	font-size: 110%;
	font-weight: bold;
	margin-top: 1.5em;
	text-shadow: 0.08em 0.08em 0.1em #C0C0C0;
}

table {
	border: 1px solid #808080;
	border-spacing: 0px;
	border-collapse: collapse;
	margin: 1em 0em;
}

td {
	border: 1px solid #808080;
	font-size: 85%;
	padding: 0.15em 0.4em;
	vertical-align: baseline;
}

th {
	border: 1px solid #808080;
	font-size: 85%;
	padding: 0.15em 0.4em;
	font-weight: bold;
	text-align: center;
	vertical-align: baseline;
}

td.number {
	text-align: right;
}

td.center {
	text-align: center;
}

sub {
	vertical-align: baseline;
	position: relative;
	font-size: 70%;
	bottom: -0.33em;
	margin-left: 0.04em;
	line-height: 100%;
}

sup {
	vertical-align: baseline;
	position: relative;
	font-size: 70%;
	bottom: 0.5em;
	margin-left: 1px;
	line-height: 100%;
}

a.text {
	color: #008200;
}

a.text:hover {
	color: #00B900;
}

li {
	text-align: left;
	line-height: 135%;
	hyphens: auto;
}

li.linkitem {
	padding-bottom: 0.6em;
	margin-bottom: 0.2em;
}

li.important {
	color: #C00000;
}

ul {
	margin: 0.2em 0em;
}

div.item div.desc { margin-top: 0.5em; }
div.item ul { width: auto; overflow: hidden; padding-left: 1.5em; }
div.item li.important { color: #A00000; }
p#photos { text-align: left; position: relative; }

p#photos span.photocontainer {
	display: inline-block;
	position: relative;
	margin: 0.5em 1.0em 0.5em 0em;
}

p#photos span.photocontainer img.zoomicon {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 32px;
	height: 32px;
	box-shadow: none;
	pointer-events: none;
	margin: 0px;
}

p#photos img {
	box-shadow: 4px 4px 5px rgba(0,0,0,0.4);
	height: 216px;
	width: 288px;
	cursor: pointer;
} 

p#photos img.bigphoto {
	max-width: none;
	width: 100%;
}

p#photos img.backicon {
	position: absolute;
	top: 0em;
	right: 0em;
	width: 32px;
	height: 32px;
	margin: 1.0em 0.5em;
	box-shadow: none;
	pointer-events: none;
}

div#socialgroup {
	display: inline-block;
	position: absolute;
	bottom: 0.5em;
	right: 0px;
}

img.social { width:64px; height:64px; margin-right:12px; }
img.social#last { margin-right: 0px; }
img#rastlogo { height: 100px; width: 353px; }
address { font-style:normal; }
figure { text-align: center; margin: 1.5em auto 1em auto; }
figcaption { font-style: italic; margin-bottom: 1em; }

/* mobile tweaks */


@media all and (max-width: 1023px)
{
	body {
		font-size: 16px;
	}

	div.main {
		margin: 0em;
		border: none;
		box-shadow: none;
		border-radius: 0px;
		width: auto;
	}

	div.headerlogo {
		right: 0em;
	}

	img.social {
		width: 48px;
		height: 48px;
		margin-right: 10px;
	}

	img#rastlogo {
		height: 80px;
	}
}

@media all and (max-width: 799px)
{
	img#rastlogo {
		height: 72px;
	}

	img.social {
		width: 40px;
		height: 40px;
		margin-right: 8px;
	}
}

@media all and (max-width: 567px)
{
	body {
		font-size: 14px;
	}

	div.main {
		padding: 1.7em 2em;
	}

	ul {
		padding-left: 1.5em;
	}

	ol {
		padding-left: 1.5em;
	}

	pre {
		font-size: 70%;
	}

	img#rastlogo {
		height: 64px;
	}

	img.social {
		width: 32px;
		height: 32px;
		margin-right: 6px;
	}
}

@media all and (max-width: 479px)
{
	div#socialgroup {
		position: relative;
		display: block;
		margin-top: 1em;
	}

	header {
		padding-bottom: 0em;
	}
}


@media all and (max-width: 399px)
{
	pre {
		font-size: 62%;
	}	
}

@media all and (max-width: 359px)
{
	pre {
		font-size: 57%;
	}	
}

@media all and (max-width: 359px) {
	p#photos img { width: 100%; height: 75%; }
}

