@import "common.css"; 
@media all 
{
/* general settings for all */	
	BODY 
	{
		margin: 0;
		padding-left: 0;
		padding-right: 0;
		padding-top: 0;
		padding-bottom: 0;
		font-family:Sans-Serif;
		font-size:smaller; /* when you change this, change also the TD.label rule below! */
		background-color:#C0C0C0;
		line-height: 160%; 
		text-align:justify;
	}
	
	DIV.body
	{
		text-align:justify;
		margin: 0;
		margin-left:auto;
		margin-right:auto;
		padding: 0;
		background-color: white;
		/*width:100%;*/
		POSITION: relative;
	}
	DIV.notes.body
	{
		background-color:inherit;
		width:inherit;
	}
	TABLE.body
	{
		line-height: 160%;
		text-align:justify; 
	}

	DIV.updates /* section with latest updates (first screen only) */
	{
		font-size:83%; 
		border-top:1px solid black; 
		padding-top:20px;
	}
	
/* Titles along the airplane picture - the heading on every page */	
	DIV.title /* Use <div class="title"> to mark the header inscription */
	{
		/* color: #f9f2b1; */
		color:white;
		position: absolute;
		text-align: right; 
		OVERFLOW: visible;
		margin-left:0pt;
		line-height: normal; 
		z-index:1;
	}

	TABLE.title,TABLE.title-mobile /* Use <TR class="title"> to mark the header section */
	{
		/* background-color: #737373; */
		 background-color:transparent;
		 background-image:url(images/title-bar.jpg);
		 background-repeat:repeat-x;
		 background-size: auto 100%;
		 width:auto;
		 position:relative;
		 z-index:0;
		 width:100%;
	}
	
	TABLE.title
	{
		display:none; /* do nadpisania w media queries, ale aby w IE8 nie pojawiały się dwa nagłówki...*/
	}
	
	TD.logo
	{
		 background-color:transparent;
		 background-image:url(images/title.jpg);
		 background-repeat:none;
		 background-size: auto 100%;
		 width:118px;
		 height:70px;
	}
	
	TABLE.title IMG
	{
		margin:0;
		padding:0;
	}
	
	A.title /* Use <A class="title"> to mark the header links */
	{
		/* color: #f9f2b1; */
		color:#F5F5F5;;
		font-size: 13pt;
		line-height: 25pt; 
	}
	
	A.title IMG.link /* small "link" arrow */
	{
		margin:0; 
		margin-left:3px;
		padding:0;
		height:13px;
	}
	DIV.site-name
	{
		margin:0;
		padding:0;
		font-size:60px;
		height:45px;
		line-height:50%;
		color:white;
		text-align:center;
	}
	DIV.page-header
	{
		margin:0;
		padding:0;
		font-size:30px;
		height:45px;
		color:white;
	}
	A.title:visited
	{
		 color:#F0F0F0;
	}	
	

	TABLE.main-title /* used in the index_x.html, only! */
	{
		 background-color:transparent;
		 background-image:url(images/maintitle-bar.jpg);
		 background-repeat:repeat-x;
	}
	TABLE.main-title IMG
	{
		margin: 0;
		padding: 0;
		position:relative;
		z-index:0;
	}
	
	DIV.title.banner
	{
		RIGHT: 3%; 
		WIDTH: 280px; 
		TOP: 80px;
	}
	
	DIV#Title /* title on the home page*/
	{
		FONT-SIZE: 70px;
	}
	
	DIV#Subtitle /* subtitle on the home page*/
	{
		FONT-SIZE: 25px
	}
	
	DIV#Address /* e-mail address on the home page*/
	{
		FONT-SIZE: 15px; 
		POSITION: relative; 
		TOP: 15px;
	}
	
	UL.menu-vertical  /* standard menu */
	{
		margin:0;
		padding:0;
		text-align:left;
		list-style-type: none;
		width:120pt;
	}
	UL.menu-vertical LI
	{
		padding:0;
		margin:0;
		background-color:#111111;
	}
	
	UL.menu-vertical LI:hover
	{
		background-color:#A0A0A0;
		color:#111111;
	}
	
	UL.menu-vertical A
	{
		display:block;
		text-decoration:none;
		border-bottom:1px solid white;
		width:110pt;
		margin-left:5pt;
		margin-right:5pt;
		height:31px;
		/* width:165pt; */
	}
	
	UL.menu-horizontal  /* standard menu */
	{
		margin:0;
		padding:0;
		list-style-type: none;
		float:right;
		background-color:#111111;
	}
	UL.menu-horizontal LI
	{
		padding:0;
		margin:0;
		margin-top: 3px;
		margin-bottom: 3px;
		float:left;
		height:22px;
		border-right:1px solid gray;
	}
	
	UL.menu-horizontal LI:hover
	{
		background-color:#A0A0A0;
		color:#111111;
	}
	
	UL.menu-horizontal A
	{
		display:inline-block;
		text-decoration:none;
		padding-top:3px;
		padding-right:5px;
		padding-left:5px;
		white-space: nowrap;
	}
	
	UL.menu-horizontal A.title
	{
		font-size:17px;
		line-height:15px;
	}
	UL.menu-horizontal.main-title
	{
		position:relative;
		bottom:28px;
	}
	UL.menu-horizontal.main-title LI
	{
		padding-left:10px;
		padding-right:10px;
	}
	
	DIV.pulldown-menu
	{
		display:inline-block;
		color:#F5F5F5;
		background-color:#111111;
		font-size: 13pt;
		line-height: 25pt; 
		margin:0;
		padding:0;
		padding-left:10pt;
		padding-right:10pt;
		border-radius:8px 8px 0 0;
		display:none;
		cursor:pointer;
	}
	
	DIV.pulldown-menu:hover
	{
		background-color:#A0A0A0;
		color:#111111;
	}
	
	UL.menu-pulldown  /*  menu */
	{
		margin:0;
		padding:0;
		text-align:center;
		list-style-type: none;
		text-align: center;
		background-color:#111111;
		display:none;
	}
	UL.menu-pulldown LI
	{
		padding:0;
		margin:0;
		display:inline-block;
		/* height:20px;*/
		width:50%;
		box-sizing: border-box;
		border:1px solid white;
		border-top:none;
	}
	UL.menu-pulldown LI:hover
	{
		background-color:#A0A0A0;
		color:#111111;
	}
	UL.menu-pulldown A
	{
		/* display:inline-block; */
		text-decoration:none;
		padding:0;
		margin:0;
		white-space: nowrap;
	}
	
	TABLE.main-menu  /* used in the index_x.html, only! */
	{
		width:100%;
		text-align:center;
		/* font-family: "Lucida Sans Unicode",sans-serif; */
		/* font-weight:bold;*/
	}
	
	DIV.intro /* the text on the home page */ 
	{
		margin:0;
		padding:5pt;
		/* background: tan; */
		background:#F5F5F5;
		/* background:#fdf0a8; */
		font-size:120%;
		line-height:160%;
		text-align:justify; 
		text-justify:auto;
	}
	
	DIV.intro DIV.subheader
	{
		margin-top:5pt;
	}
	
	DIV.manifest /* the "manifest" on the first page */
	{
		background:#D3CCD1;
		margin:1pt;
		padding:0.1em;
		color:black;
		font-size:120%;
		line-height:140%; 
		padding-left:2em;
		padding-right:2em;
		/* font-family: "Lucida Sans Unicode",sans-serif;*/
		font-weight: normal;
		/* font-style:italic; */
	}
	/* Two column layout on the index page: */
	DIV.column-right
	{
		float:right; 
		width:320px;
		padding-left:1em;
		height:650px;
	}
	DIV.column-left
	{
		overflow:hidden;
		padding-right:1em;
		height:300px;	
	}
	
	DIV.column-right DIV
	{
		clear:both;
	}
	DIV.column-left DIV
	{
		clear:both;
	}
	DIV.scrollable
	{
		overflow:auto;
		font-size:90%;
		line-height:140%;
		margin-left:0;
		padding-right:1em;
	}
/* Main text element properties (scrollable subwindow) */	
	DIV.content /* this is the main window of the content */
	{
		padding-left: 5px; /* the inner text is more readable with such distance*/ 
		margin-top: 5px; /* in the onResize function, (in header.xsl) we decrease overall height by 10 px
							so this setting gives acceptable margin on upper and bottom edge */ 
		text-align: justify;
		margin-left:0;
		padding-right: 20pt; /* match the margin-left of the general DIV element ...*/
		font-size:120%; /* when you increase it, decrease the font size in the table: */
		line-height:150%;
	}
/* General content */	
	/* content of the user notes: IE does not inherits proper font size style from body, in the tables! */
	TABLE /* so we have to tell it: */
	{
		font-size:83%; 
	}
	
	TABLE TABLE /* to not cascade the decreased font size: */
	{
		font-size:100%;
	}
	
	DIV /* Margin on every paragraph - it is more readable, when headers are shifted left */
	{
		 margin-left: 30pt;
	}
	
	LI /* every list element has additional margin*/
	{
		 margin-left: 30pt;
		 margin-top: 5pt;
	}
	
	BIG
	{
		color: #7a0000;
		font-size:110%; 
	}
	
	UL
	{	
		margin: 0 0 0 0;
		height:auto;
	}
	
	OL
	{	
		margin: 0 0 0 0;
		height:auto;
	}
	
	OL LI /* elements inside ordered list: */
	{
		 margin-top: 0pt;
		 margin-bottom: 0pt;
		 line-height:normal;
	}

	
	DIV.in /* just a DIV inside other DIV... */
	{
		margin-left:0pt;
		text-align:justify; /* to force justification inside tables in Chrome */
	}
	
	DIV IMG
	{
		margin:10pt;
	}
	
	TD IMG
	{
		margin-bottom:0;
	}
	
	SUB,SUP
	{
		/*line-height:0px;*/
	}
	
	DIV.notes.Body IMG
	{
		margin:0pt;
	}

	DIV IMG.clear
	{
		CLEAR: both; /* do not allow text on the either side of the photo. */
	}
	
	/* zawartość notatek: */
	BLOCKQUOTE, PRE
	{
		margin:10px;
	    padding:5px;
    }
	
	
	BLOCKQUOTE
	{
		border: gray 1px solid;
		background-color: #fffce1;
		color: #626262;
	}
	
	PRE
	{
		font-size: 10pt;
		background-color: white;
		/* font-family: Monospace;*/
		font-family:Courier New;  
	}
	
	.pdf, a[href $=".pdf"], 
	.epub, a[href $=".epub"], 
	.mobi, a[href $=".mobi"], 
	.azw, a[href $=".azw"] 
	{
		padding: 0 0 1px 20px;
		min-height:16px;
	}
 
	.pdf, a[href $=".pdf"] 
	{
		background: url(images/document-pdf.png) no-repeat 0 50%;
	}
 
	.epub, a[href $=".epub"] 
	{
		background: url(images/document-epub.png) no-repeat 0 50%;
	}
 
	.mobi, .azw, a[href $=".mobi"], a[href $=".azw"] 
	{
		background: url(images/document-mobi.png) no-repeat 0 50%;
	}
}

DIV.image-array /* do kolekcji obrazków na stronie va2_e.xml, wm3_p.xml*/
{
	width:150px;text-align:center; display:inline-block;margin-bottom:20pt;
}

DIV.FBlinks /* Sekcja na przyciski FB (zwykła strona)*/
{
	/*float:right;
	margin-left:30pt;
	margin-right:-5pt;
	*/
	margin:0;
	margin-top:-8pt;
	text-align:left;
}
DIV.FBlinks DIV.fb-like
{
	/*margin:0; */
}

/* klasy związane z adaptacją ilustracji do rozmiaru ekranu */
.left700,.right700
{
   width:700px;
   text-align:center;
}
.left500,.right500
{
   width:500px;
   text-align:center;
}
.left300,.right300
{
   width:300px;
   text-align:center;
}

.left200,.right200
{
   width:200px;
   text-align:center;
}

.left700, .left500, .left300, .left200 {float:left;}
.right700, .right500, .right300, .right200 {float:right}
.middle {width:inherit; clear:both; margin-left: auto; margin-right: auto;}

DIV.middle 
{text-align:center;}

	.hide700, .hide900, .hide900.unhide700.hide500
	{display:block;}
	
	.unhide700, .unhide900
	{display:none;}
	
	
	span.book-description /* wykorzystywane na wm-000_e.xml */
	{
		display:inline-block;
		padding-bottom:5pt;
	}
	
@media screen
{
	/* Main text element properties (scrollable subwindow) */	
	DIV.content /* this is the main window of the content */
	{
		overflow: auto; /* makes a scrollbar available*/ 
	}
	
}

/* Adaptacja do różnych rozmiarów ekranu: */
@media screen and (min-width:1px) and (max-width:399px)
{
	DIV.site-name
	{
		font-size:30px;
		height:60px;
		text-align:center;
		line-height:100%;
	}
	
	DIV#Title
	{
		font-size:60px;
	}
	
	TABLE.notes /* ukryj komentarze na zbyt wąskich ekranach... */
	{
		display:none;
	}
}


@media screen and (min-width:1px) and (max-width:460px)
{
	DIV#Subtitle
	{
		display:none; /*tylko strona tytułowa*/
	}
}

@media screen and (min-width:400px) and (max-width:659px)
{
    DIV.title.banner
	{
		WIDTH: 40%;
	}
	
	DIV.site-name
	{
		font-size:30px;
		height:50px;
		text-align:center;
		line-height:100%;
	}
	DIV#Title
	{
		font-size:70px;
	}
}

@media screen and (min-width:1px) and (max-width:659px)
{
	DIV
	{
		margin-left:5pt;
		margin-right:0;
	}
	
	TD.logo
	{
	   width:108px;
	   height:64px;
	}
	
	TABLE.title
	{
		display:none;
	}
	TABLE.title-mobile
	{
		display:table;
	}

	DIV.page-header
	{
		display:none;
	}
	UL.menu-horizontal
	{
		display:none;
	}
	UL.menu-horizontal.main-title
	{
		display:block;
	}
	DIV.pulldown-menu
	{
		display:inherit;
	}
	
	DIV.title.banner
	{
		WIDTH: 40%;
	}
	DIV#Title
	{
		position:relative;
		left:-100%;
		top:-80px;
	}
	DIV#Subtitle
	{
		position:relative;
		left:0;
		top:-60px;
	}
	
	DIV#Address
	{
		display:none;
	}
	
	DIV.intro.column-left
	{
		clear:both;
		float:none;
	}

	
	DIV.intro.column-right
	{
		clear:both;
		float:none;
		width:100%;
		padding:0;
		margin:0;
		padding-top:5pt;
		padding-bottom:5pt;
	}
	
	DIV.intro.column-right DIV
	{
		margin:auto;
		max-width:200px;
	}
	
	DIV.intro.column-right DIV.subheader
	{
		margin-top:10pt;
		margin-left:30pt;
	}
	UL.menu-horizontal.main-title LI
	{
		padding-left:5px;
		padding-right:5px;
	}
	
	IMG#Banner
	{
		height:inherit;
		width:100%;
	}
}

@media screen and (min-width:660px) and (max-width:949px)
{
	TABLE.title
	{
		display:none;
	}
	TABLE.title-mobile
	{
		display:table;
	}
	DIV.site-name
	{
		padding-top:10pt;
		font-size:40px;
		height:40px;
		text-align:center;
		margin-left:10%;
		display:inline-block;
	}
	DIV.page-header
	{
		font-size:20px;
		height:20px;
		margin-left:10%;
		display:inline-block;
	}
	TD.logo
	{
	   width:162px;
	   height:96px;
	}
	
}

@media screen and (min-width:660px) and (max-width:849px)
{
	UL.menu-horizontal A.title 
	{
		font-size: 16px;
		line-height: 15px; 
	}	
	UL.menu-horizontal.main-title LI
	{
		padding-left:6px;
		padding-right:5px;
	}
	UL.menu-horizontal LI
	{
		padding:0;
	}
}

@media screen and (min-width:850px) and (max-width:949px)
{
	UL.menu-horizontal A.title 
	{
		font-size: 16px;
		line-height: 15px; 
	}	
	UL.menu-horizontal.main-title LI
	{
		padding-left:10px;
		padding-right:10px;
	}
	UL.menu-horizontal LI
	{
		padding-left:10px;
		padding-right:10px;
	}
}

@media screen and (min-width:950px) and (max-width:1099px)
{
	TABLE.title
	{
		display:table;
	}
	TABLE.title-mobile
	{
		display:none;
	}
}

@media screen and (min-width:1100px)
{
	TABLE.title
	{
		display:table;
	}
	TABLE.title-mobile
	{
		display:none;
	}
	DIV.body
	{
		width:1100px;
	}
}


/* adaptacja ilustracji w tekście do szerokości ekranu*/
@media (max-width:1100px)
{
	.image1050 
	{width:100%;}
}

@media (max-width:1050px)
{
	.image900 
	{width:100%;}
}
@media (max-width:1000px)
{
	
	.left700,.right700
	{
	   width:inherit;
	   clear:both;
	   float:none;
	   margin-left:auto;
	   margin-right:auto;
	}
}

@media (max-width:950px)
{	
	.image850 
	{width:100%;}
}

@media (max-width:900px)
{	
	.hide900
	{display:none;}
	.hide900.unhide700.hide500
	{display:none;}
	.unhide900
	{display:block;}
}

@media (max-width:850px)
{	
	.image800  
	{width:100%;}
	
	.left500,.right500
	{
	   width:inherit;
	   clear:both;
	   float:none;
	   margin-left:auto;
	   margin-right:auto;
	}
}

@media (max-width:900px)
{	
	.hide900
	{display:none;}
	
	.unhide900
	{display:block;}
}

@media (max-width:750px)
{	
	.image700
	{width:100%;}
	

}

@media (max-width:700px)
{	
	.image640 
	{width:100%; }

	.image500 
	{width:100%;}
	
	.left300,.right300
	{
	   width:inherit;
	   clear:both;
	   float:none;
	   margin-left:auto;
	   margin-right:auto;
	   text-align:center;
	}
	.hide700
	{display:none;}
	
	.unhide700
	{display:block;}
	
	.hide900.unhide700.hide500
	{display:block;}
}

@media (max-width:500px)
{	
	.image400 
	{width:100%;}
	
	.image300 
	{width:100%;}
	.left200,.right200
	{
	   width:inherit;
	   clear:both;
	   float:none;
	   margin-left:auto;
	   margin-right:auto;
	   text-align:center;
	}
	.hide900.unhide700.hide500
	{display:none;}
}
@media (max-width:300px)
{	
	.image200 
	{width:100%;}
}
@media print
{
	/* Main text element properties (scrollable subwindow) */	
	DIV.content /* this is the main window of the content */
	{
		overflow: visible; /* view all at once */ 
	}
		TABLE.title
		{
			display:table;
		}
		TABLE.title-mobile
		{
			display:none;
		}
}



