body {
	background: grey;
	font-size: 15px;
	font-family: "Times New Roman", serif;
	}

#mybook {
	position: fixed;
	left: 50%;
	margin-left: -500px;
	top: 15px;
	text-align: justify;
	}

/* Main */

h1, h2, h3, h5 {
	font-weight: bold;
	margin: 0 15px 5px 15px;
	}
	
h1 {
	text-align: center;
	margin-top: 120px;
	text-transform: uppercase;
	font-size: 36px;
	}
		
h2 {
	text-align: left;
	margin-top: 20px;
	text-transform: uppercase;
	font-size: 18px;
	}

h2.onlytitle { margin-bottom: 15px; }
		
h3 { margin-bottom: 15px; }

h4 {
	margin: 5px 15px 10px 15px;
	font-style: italic;
	}
	
h5 { font-size: 15px; }

#mybook .intxt { margin: 10px 15px 10px 15px; }

#mybook .comment { font-style: italic; }

#mybook p {
	margin: 0 15px 0 15px;
	font-size: 15px;
	text-align: justify;
	line-height: 120%;
	}
	
a {
	color: black;
	text-decoration: none;
	}
	
a:hover { text-decoration: underline; }
			
blockquote {
	margin: 5px 15px 10px 30px;
	font-style: italic;
	}
	
cite {
	margin: 0 15px 15px 30px;
	font-style: italic;
	display: block;
	text-align: right;
	}

ul {
	list-style-type: disc;
	list-style-position: inside;
	text-align: left;
	}
	
.clearli { list-style-type: none; }

ol {
	list-style-type: decimal;
	list-style-position: inside;
	text-align: left;
	}
		
ol ol { list-style-type: upper-roman; }
						
.toc h2 {
	text-transform: none;
	text-align: center;
	margin: 30px 0 20px 0;
	font-size: 18px;
	text-decoration: underline;
	}
	
.toc ol {
	font-size: 12px;
	margin: 10px 15px 10px 15px;
	text-transform: uppercase;
	}
	
.toc ol ol {
	margin: 5px 10px 5px 50px;
	list-style-position: outside; 
	font-size: 11px;
	}

.toc ol h3 {
	font-weight: normal;
	font-size: 11px;
	text-decoration: none;
	margin: 5px 10px 5px 19px;
	font-style: italic;
	}
		
#mybook .nextpg { margin-top: 20px; }

#mybook .under { margin-top: 25px; }

#mybook .b-counter { background: white; }

#translators p {
	text-align: center;
	margin-top: 180px;
	font-style: italic;
	font-size: 14px;
	line-height: 130%;
	}

/* Images */

.country img {
	position: relative;
	margin-top: 150px;
	left: 50%;
	margin-left: -100px;
	width: 200px;
	}

.onlyimg img {
	position: relative;
	margin-top: 160px;
	left: 50%;
	margin-left: -125px;
	width: 250px;
	}

/* Photo galleries */

.gallery {
	margin: 20px auto 15px auto;
	width: 460px;
	max-height: 565px;
	overflow: hidden;
	}

.gallery ul {
	margin: 0 auto 0 auto;
	list-style: none;
	float: left;
	}
	
.gallery li {
	float: left;
	margin: 10px 10px 10px 10px;
	width: 205px;
	height: 145px;
	}
		
.gallery li img {
	max-width: 100%;
	max-height: 100%;
    display: block;
    margin: auto;
	}
	
/* Single photo in txt */

.singlephoto {
	float: right;
	display: block;
	margin: 15px 25px 15px 15px;
	max-width: 205px;
	max-height: 145px;
	}
	
.singlephoto img {
	max-width: 100%;
	max-height: 100%;
	}

/* SW photos */

.sphoto {
	margin: 0 auto;
	display: block;
	width: 400px;
	height: 350px;
	margin-top: 80px;
	}
	
.sphoto img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto 5px auto;
	}
	
.sphoto {
	font-size: 14px;
	text-align: left;
	}
		
/* Audio */
		
.audio {
	position: relative;
	left: 50%;
	margin: 30px 15px 0 -100px;
	}
						
/* Cover */

div.cover {
	position: relative;
	top: -10px;
	left: -10px;
	display: block;
	width: 500px;
	height: 600px;
	margin: 0;
	padding: 0;
	background: url('images/mapa-baltyku-4.png');
	}	

h1.cover {
	position: relative;
	top: 110px;
	display: block;
	width: 500px;
	margin: 0;
	padding: 0;
	background: rgb(255,53,144);
	color: #d9c8aa;
	}

.b-page-1 div.b-counter, .b-page-2 div.b-counter, .b-page-3 div.b-counter, .b-page-4 div.b-counter, .b-page-5 div.b-counter {
	display: none;
	}
	
/* Pages */

.b-p4 { border-right: 5px double white; }

.b-wrap-left { border-left: 5px double grey; }

.b-page-186 { border-left: 5px double white; }

.b-p2 .b-wrap-left { border: none; }

#mybook .b-wrap-left  { background: #fff url(images/pages-left.png) repeat-y 465px 0; }

#mybook .b-wrap-right { background: #fff url(images/pages-right.png) repeat-y left; }

/* First page */

#mybook .info { margin: 100px 40px; }
	
#mybook .info p {
	font-size: 12px;
	line-height: 140%;
	}
	
#mybook .info q {
	color: white;
	background-color: #474747;
	padding: 0 5px 0 5px;
	}
	
#mybook .info ul {
	margin-left: 20px;
	font-size: 12px;
	}
	
#mybook .info li { margin: 3px 0; }

.info .under { margin-top: 40px; }

/* Footer */

#footer { margin-top: 100px; }

#mybook #footer p {
	font-size: 12px;
	margin: 30px 35px 0 15px;
	}
	
#footer a { text-decoration: underline; }

/* Technology */

p#technology {
	margin-top: 350px;
	color: grey;
	font-size: 10px;
	text-align: center;
	}

p#technology a { color: grey; }

/* Logos */

div.logo {
	margin: 230px 0 0 15px;
	padding: 0;
	}

img.logo {
	float: left;
	height: 30px;
	margin: 5px;
	padding: 0;
	}

/* Photo Preview */

#photoprev {
	position: absolute;
	top: 50%;
	margin-top: -250px;
	left: 50%;
	margin-left: -355px;
	display: block;
	width: 700px;
	height: 500px;
	z-index: 999;
	}
	
#photoprev img {
	max-width: 100%;
	max-height: 100%;
	display: block;
    margin: auto;
    padding: 5px;
    background: white;
    border: 1px solid black;
	}

/* Navigation */

#nav {
	background-color: #474747;
	position: absolute;
	float: left;
	list-style: none;
	font-family: "Arial", sans-serif;
	font-size: 32px;
	top: 0;
	right: 0;
	z-index: 150;
	border-bottom: 1px dotted white;
	border-left: 1px dotted white;
	}
	
#nav img { height: 32px; }

#home-dd img {
	height: 10px;
	margin-right: 5px;
	}
	
#nav a {
	display: block;
	color: white;
	text-decoration: none;
	background-color: #474747;
	padding: 7px 5px 7px 5px;
	}
	
#nav a:hover { background-color: #b6b6b6; }
		
#nav li {
	position: relative;
	float: left;
	}
		
#nav ul {
	list-style: none;
	position: absolute;
	}
	
#nav ul li {
	float: none;
	white-space: nowrap;
	display: none;
	font-size: 14px;
	text-align: left;
	margin: 0; padding: 0;
	border-bottom: 1px solid grey;
	}
	
#nav ul a {
	background-color: #b6b6b6;
	}
	
#nav ul a:hover {
	background-color: rgb(157,157,157);
	}
	
#nav li:hover #home-dd li { 
	display: block;
	right: 30%;
	}
	
#nav li:hover #lang-dd li {
	display: block;
	border-top: 1px solid grey;
	}

#lang-nav img, #home-icon img, #lang img {
	height: 20px;
	width: 33px;
	padding: 6px 4px 6px 4px;
	}
	
#show-help a {
	font-size: 28px;
	padding: 6px 6px 4px 6px;
	}
	
/* Ghost buttons */
	
#i_left, #i_right {
	position: absolute;
	top: 25px;
	display: block;
	width: 25px;
	height: 600px;
	font-size: 26px;
	text-align: center;
	z-index: 140;
	}

#i_left {
	left: 50%;
	margin-left: -500px;
	}

#i_right {
	right: 50%;
	margin-right: -480px;
	}
	
#i_left a, #i_right a {
	width: 50px;
	display: block;
	background: rgb(224,224,224);
	padding: 270px 0 304px 0;
	opacity: 0.0;
	}
	
#i_left a:hover, #i_right a:hover {
	text-decoration: none;
	opacity: 0.6;
	}
	
/* Help */

#help-m, #help-l, #help-r, #help-c { display: none; }

#help img {
	position: relative;
	left: 50%;
	margin-left: -50px;
	margin-bottom: -13px;
	width: 100px;
	height: 100px;
	}
	
#help-l {
	position: absolute;
	top: 250px;
	right: 50%;
	margin-right: -637px;
	z-index: 999;
	}
	
#help-r {
	position: absolute;
	top: 250px;
	right: 50%;
	margin-right: 420px;
	z-index: 999;
	}
	
#help-c {
	position: absolute;
	top: 250px;
	right: 50%;
	margin-right: 48px;
	margin-top: -50px;
	z-index: 999;
	}
	
#help-m {
	position: absolute;
	top: 7px;
	right: 60px;
	z-index: 999;
	}

#help-l, #help-r, #help-c, #help-m {
	//display: block;
	//background: red;
	//opacity: 0.5;
	width: 200px;
	}
			
#help p {
	//display: block;
	//display: inline-block;
	background: yellow;
	opacity: 0.8;
	//margin: -12px 0 0 -50px;
	text-align: center;
	padding: 10px 0 10px 0;
	//padding: 10px;
	}
	
//#help-l p {	margin-left: 0; }

//#help-c p { margin-left: 0; }

/* Tricks */

* html #mybook { position: absolute; }
