/********** Start RESET **********
	AUTHOR: Osvaldas Valutis, www.osvaldas.info
*/
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
 *behavior: url( '/theme/js/boxsizing.htc' );
	-webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
	-webkit-overflow-scrolling: touch;
}
menu, nav {
	font-size: 100%;
	font-family: inherit;
	font-weight: inherit;
	font-style: inherit;
	line-height: inherit;
	vertical-align: baseline;
	border: 0;
	outline: 0;
	padding: 0;
	margin: 0;
}
html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-o-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
body {
	color: #333;
	font-family: 'Lora', serif;
	font-size: 16px;
	line-height: 24px;
}

menu, nav {
	display: block;
}

canvas {
	-ms-touch-action: double-tap-zoom;
}
 [hidden] {
display: none;
}
a {
	text-decoration: underline;
	color: #000;
}
a:hover {
	text-decoration: none;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
em {
	font-style: italic;
}
strong {
	font-weight: bold;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
sup, sub {
	font-size: 75%;
	line-height: 0;
}
sup {
	vertical-align: super;
}
sub {
	vertical-align: sub;
}
pre {
	display: block;
	overflow: auto;
}
code {
	font-family: 'Courier New', Courier, monospace;
}
ul, ol {
	list-style: none;
}
svg:not(:root) {
	overflow: hidden;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
* html .clearfix {
	zoom: 1;
}
*:first-child+html .clearfix {
	zoom: 1;
}
.cleaner {
	height: 0;
	line-height: 0;
	clear: both;
}

/********** End RESET **********/
	p {
		padding:5px 20px 3px 20px;
		line-height:1.2em;
	}
	#wrapper {
		width:80%;
		margin:0 auto;
		max-width:1000px;
	}	
	#pagecontent {
		margin:10px auto 0 auto;
		border:1px solid #dddddd;
		width:100%;
		background:#ffffff;
		background-size:100% 100%;
		//padding:0% 10% 25% 10%;
		padding-bottom:300px;                                                                                       
		padding-right:1.5em;
	}
	#pagecontent .sublink {
		padding:3px;
		background:#ffffff;
		color:#9999FF                                                                                                                                                                                                    		border-left:1px dotted #999999;
		border-top:1px dotted #999999;
		//text-decoration:underline;
		margin:4% 0 -2% 0;
		font-weight:bold;
		font-size:smaller;
	}
	#pagecontent .sublink a {
		color:#9999FF;
	}
	#pagecontent h1 {                                
		margin:7% 0 0 10%;
	}	
	#pagecontent h2 {
		margin:3% 0 0 10%;	
		width:75%;
		background:#666666;
		color:#ffffff;
		padding:2px 2px 2px 5px;
		font-size:1.2em;
		font-weight:normal;
	}	
	#pagecontent h3 {
		margin:2% 0 -1% 17%;
		font-style:italic;
	}	
	#pagecontent h4 {
		margin:2% 0 -2% 18%;
		font-style:italic;
		//font-size:small;
	}
	#pagecontent p {
		margin:2% 7% 0 7%;
	}
	#pagecontent .review {
		font-size:smaller;
		text-transform:none;
		background:#f0f0f0;
		color:#444444;
		margin:0 8% 0 20%;
		border:1px dotted #777777;
		padding:3px;
	}
	#pagecontent .review signature {
	}	
	#pagecontent .specs {
		font-size:smaller;
		margin:0 8% 0 20%;
		color:#444444;
	}
	
	#pagecontent .moreinfo {
		font-size:smaller;
		margin:0 8% 0 0;
		color:#444444;
		padding:0;
		//border:1px solid #999999;
	}
	
	#pagecontent .moreinfoa {
		text-decoration:underline;
		color:#9999FF;
		font-family: 'Lora', serif;
		font-size:smaller;
	}
	
	#pagecontent .more {
		margin:0 7% 0 9%;
	}
	#pagecontent .more a {
		text-decoration:underline;
		color:#9999FF;
		font-family: 'Lora', serif;
		font-size:smaller;
		//font-weight:bold;
	}
	#pagecontent .excerptlink {
		font-size:smaller;
		margin:0 8% 1% 20%;
		padding:2px;
	}
	#pagecontent .excerptlink a{
		color:#9999FF;
		text-decoration:underline;
	}	
	#footer {
		background:#bbbbbb;
		color:#ffffff;
		text-align:center;
		padding:10px 0 10px 0;
		-moz-box-shadow:0px -2px 3px #444444;
		-webkit-box-shadow:0px -2px 3px #444444;
		box-shadow:0px -2px 3px #444444;
	}
	#footer a {
		text-decoration:underline;
		color:#ffffff;
	}

a {
	-webkit-transition: color .3s ease;
	-moz-transition: color .3s ease;
	-ms-transition: color .3s ease;
	-o-transition: color .3s ease;
	transition: color .3s ease;
}
a, a:hover {
	text-decoration: none;
}
#nav {
	width: 70em; /* 1000 */
	font-family: 'Lora', serif;
	font-weight: 400;
	position: absolute;
	//top: 5%;
	left: 50%;
	margin-left: -30em; /* 30 480 */
}
#nav > a {
	display: none;
}
#nav li {
	position: relative;
}
#nav li a {
	color: #0;
	display: block;
}
#nav li a:active {
	background-color: #999999 !important;
}
#nav span:after {
	width: 0;
	height: 0;
	border: 0.313em solid transparent; /* 5 */
	border-bottom: none;
	border-top-color: #0;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -0.313em; /* 5 */
}
/* first level */

#nav > ul {
	height: 2.5em; /* 60 */
	background-color: #ffffff;
}
#nav > ul > li {
	width: 11%;
	height: 100%;
	float: left;
}
#nav > ul > li > a {
	height: 100%;
	font-size: 1.25em; /* not 24 */
	line-height: 2.5em; /* 60 (24) */
	text-align: center;
		//padding:3px;
		background:#f7f7ff;
		color:#333333;
		border-left:1px dotted #777777;
		border-top:1px dotted #777777;
		margin-right:4px;
		font-size:.95em;
}
#nav > ul > li:not( :last-child ) > a {
	border-right: 1px solid #0;
}
#nav > ul > li:hover > a, #nav > ul:not( :hover ) > li.active > a {
	background-color: #cccccc;
}
/* second level */

#nav li ul {
	background-color: #dddddd;
	display: none;
	position: absolute;
	top: 100%;
}
#nav li:hover ul {
	display: block;
	left: 0;
	right: 0;
}
#nav li:not( :first-child ):hover ul {
	left: -1px;
}
#nav li ul a {
	font-size: .75em;
	border-top: 1px solid #0;
	padding: 0.5em 0 0 0 ; /* 15 (20) */
}
#nav li ul li a:hover, #nav li ul:not( :hover ) li.active a {
	background-color: #cccccc;
}
 @media only screen and ( max-width: 62.5em ) /* 1000 */ {
#nav {
	width: 100%;
	position: static;
	margin: 0;
}
}
 @media only screen and ( max-width: 40em ) /* 640 */ {
html {
	font-size: 75%; /* 12 */
}
#nav {
	position: relative;
	top: auto;
	left: auto;
}
#nav > a {
	width: 3.125em; /* 50 */
	height: 3.125em; /* 50 */
	text-align: left;
	text-indent: -9999px;
	background-color: #aaaaaa;
	position: relative;
}
#nav > a:before, #nav > a:after {
	position: absolute;
	border: 2px solid #fff;
	top: 35%;
	left: 25%;
	right: 25%;
	content: '';
}
#nav > a:after {
	top: 60%;
}
#nav:not( :target ) > a:first-of-type, #nav:target > a:last-of-type {
	display: block;
	font-size: 1.0em;
}
/* first level */

#nav > ul {
	height: auto;
	display: none;
	position: absolute;
	left: 0;
	right: 0;
}
#nav:target > ul {
	display: block;
	font-size: 1.0em;
}
#nav > ul > li {
	width: 100%;
	float: none;
	font-size: 1.0em;
}
#nav > ul > li > a {
	height: auto;
	text-align: left;
	padding: 0 0.833em; /* 20 (24) */
	font-size: 1.0em;
}
#nav > ul > li:not( :last-child ) > a {
	border-right: none;
	border-bottom: 1px solid #cccccc;
	font-size: 1.0em;
}
/* second level */

#nav li ul {
	position: static;
	padding: 1.25em; /* 20 */
	padding-top: 0;
	font-size: 1.0em;
}


