body, h1, h2, h3, h4, ul, li, p {
	margin: 0;
	padding: 0;
	border-style: none;
}

body {
	color: #333;
	text-align: center;
	background: url(images/paperback.jpg) repeat;
	font: 14px/0 museo-sans, MuseoSans-500, sans-serif;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5)
{
  body {
    background-image: url('images/paperback@2x.jpg');
    background-size: 300px 300px;
  }
}

#container {
	width: 1024px;
	display: inline-block;
	text-align: left;
	position: relative;
	overflow: hidden;
	box-shadow: 0px 0px 6px #333;
}

#top {
	background-color: #39f;
	padding-left: 58px;
	padding-top: 8px;
	padding-bottom: 12px;
	position: relative;
}

#top h1 {
	color: white;
	font: 32px museo, serif;
	font-weight: 300;
}

#top strong {
	font-family: museo, serif;
	font-weight: 700;
}

#toplogo {
	position: absolute;
	top: 9px;
	left: 9px;
}

#topsub {
	background-color: #333;
	text-align: right;
	padding-top: 4px;
	position: relative;
	height: 26px;
}

#topsub h2, #topsub a {
	color: white;
	font: 700 1.2em/1em museo, serif;
	text-decoration: none;
	float: right;
	padding: 4px 24px 0 0;
}

#topsub a:hover {
	text-decoration: underline;
}

#topsub a:first-of-type {
	float: left;
	padding: 4px 0 0 24px;
}

#topillu {
	max-width: 1024px;
	width: 100%;
	padding: 0;
	min-width: 560px;
	z-index: -5;
	position: relative;
}

#framed {
	width: 360px;
	height: 160px;
	position: absolute;
	right: 12px;
	top: 160px;
}

#framed h2 {
	background-color: #333;
	border-radius: 12px 0;
	color:  white;
	font: 700 1.2em/1.2em museo, serif;
	text-decoration: none;
	padding: 6px 12px 6px 34px;
}

#framed li {
	color: white;
	line-height: 1.5em;
	font-size: 14px;
	margin-top: 8px;
	list-style: none;
	padding: 6px 12px 12px 34px;
	border-radius: 12px 0;
	background: url(images/msm-logo.svg) no-repeat 6px 6px #333;
}

#framed li:nth-of-type(2) {
	opacity: 0.6;
}

#framed li:nth-of-type(3) {
	opacity: 0.2;
}

#framed a {
	color: white;
	text-decoration: none;
	font-family: museo, serif;
	font-weight: 700;
}

#framed a:hover {
	text-decoration: underline;
}

.menucontainer {
	display: inline-block;
	color: white;
}

#menu {
	background-color: rgba(128,128,128,0.2);
	text-align: center;
}

.borderup {
	background: url(images/borderup.svg) repeat-x;
	height: 6px;
	background-size: 32px 6px;
	clear: both;
	margin-top: -4px;
}

.borderdown {
	background: url(images/borderdown.svg) repeat-x;
	height: 6px;
	background-size: 32px, 6px;
	clear: both;
	margin-bottom: -4px;
	z-index: 10;
	position: relative;
}

#rt-menu {
	text-align: center;
	background-color: rgba(0,0,0,0.8);
}

.menublock {
	width: 214px;
	display: inline-block;
	text-align: left;
	padding: 12px;
	position: relative;
	background-color: rgba(128,128,128,0.2);
	margin: 12px 48px;
}

.menublock h2 {
	font: 700 20px museo, serif;
	padding: 0;
	margin: 8px 0 0;
}

.menupic {
	position: absolute;
	right: -8px;
	top: -24px;
}

.special {
	background-color: rgba(128,128,128,0.6);
}

.button {
	width: 180px;
	height: 38px;
	background: url(images/button.svg) no-repeat center center;
	display: inline-block;
	text-align: center;
	font: 20px museo, serif;
	font-weight: 700;
	padding-top: 14px;
	margin: 16px 8px 8px;
	padding-left: 16px;
	cursor: pointer;
}

#content {
	background: url(images/paperbackdark.jpg) repeat;
	line-height: 1.5em;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5)
{
  #content {
    background-image: url('images/paperbackdark@2x.jpg');
    background-size: 300px 300px;
  }
}

.details {
	list-style-position: inside;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	overflow: hidden;
}

img.iPhoneH {
	background: url(images/iPhoneH.png) no-repeat;
	padding: 15px 67px 83px;
}

img.iPadH {
	background: url(images/iPadH.png) no-repeat;
	padding: 55px 64px 111px;
}

img.iPhoneV {
	background: url(images/iPhoneV.png) no-repeat;
	padding: 67px 16px 130px;
	margin-right: 24px;
	margin-left: 24px;
}

img.iPadV {
	background: url(images/iPadV.png) no-repeat;
	padding: 61px 53px 120px;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5)
{
  img.iPhoneH {
    background-image: url('images/iPhoneH@2x.png');
    background-size: 374px 258px;
  }
  img.iPadH {
    background-image: url('images/iPadH@2x.png');
    background-size: 640px 550px;
  }
  img.iPhoneV {
    background-image: url('images/iPhoneV@2x.png');
    background-size: 192px 437px;
  }
  img.iPadV {
    background-image: url('images/iPadV@2x.png');
    background-size: 490px 693px;
  }
}

.closed {
	height: 0;
	opacity: 0;
}

.details h1 {
	font: 32px museo, serif;
	font-weight: 300;
	margin-bottom: 6px;
}

.details h2 {
	font: 20px museo, serif;
	font-weight: 700;
	margin-top: 24px;
	margin-bottom: 6px;
}

.details h3 {
	font: 16px museo, serif;
	font-weight: 700;
	margin-top: 12px;
	margin-bottom: 6px;
}

.details p {
	margin-bottom: 6px;
}

#content a {
	color: #333;	
}

.textblocks {
	padding: 24px 80px 24px 48px;
}

.main {
	width: 62%;
	text-align: justify;
}

.aside {
	width: 32%;
	float: right;
	margin-right: -304px;
	margin-top: 32px;
	text-align: right;
}

.aside img {
	margin-left: -50%;
}

.infoblock {
	text-align: left;
	background-color: rgba(0,0,0,0.2);
	border-radius: 12px 0 0 12px;
	padding: 24px;
	width: 240px;
}

#footer {
	background-color: #333;
	color: white;
	position: relative;
	height: auto;
	line-height: 1.5em;
}

#footer p {
	margin-bottom: 6px;
}

#footer h3 {
	font: 24px museo, serif;
	font-weight: 700;
}

#footer img {
	border: 3px solid white;
	margin: 10px 6px 0;
}

#footer a {
	color: white;
	font-weight: 700;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

.col2 {
	padding: 0;
	width: 464px;
	display: inline-block;
	float: left;
	margin: 24px;
}

.col2 img {
	position: absolute;
	right: 10%;
}

.centered {
	text-align: center;
}

#base {
	background-color: #39f;
	font-family: museo, serif;
	font-weight: 700;
	font-size: 0.8em;
	color: white;
	line-height: 3em;
	padding: 0 24px;
	clear: both;
}

#base p {
	margin: 0;
}

#csl {
	border-style: none;
	position: absolute;
	right: 48px;
	bottom: 48px;
}