@font-face
{
font-family: edoifi;
src:url(../font/edoifi.otf);
}
@font-face
{
font-family: edoifi-bold;
src:url(../font/edoifi-bold.otf);
}
@font-face
{
font-family: edoifi-reg;
src:url(../font/edoifi-reg.eot);
}
@font-face
{
font-family: edoifi-bold;
src:url(../font/edoifi-bold.eot);
}

html, body {
    background-color: black;
    background-image: url(../foto/tlo.png);
	color: #000000;
	margin: 0;
    padding: 0;
	text-align: justify;
    font-family: georgia, serif;
}

#top {
	background-image: url(../foto/logo.png);
	background-repeat: no-repeat;
	width: 100%;
	height: 60px;
	/*border-bottom: 2px solid white;*/
    overflow: hidden;
}

#top .naglowek{
	color: #A28A54;
    font-family: segoe print, edoifi, edoifi-reg;
    font-size: 22px;
    height: 100px;
    width: 100%;
    float: left;
    margin-left: 60px;
    padding-left: 40px;
    right: 0;
    font-weight: 900;
    background-image: url(../foto/tlo_nag.png);
    background-repeat: repeat-x;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0%,transparent), color-stop(30%,transparent), color-stop(100%,#674646)); /* Chrome,Safari4+ */
    background: linear-gradient(bottom,  transparent 30%,#674646 100%); /* W3C */
}
.tiny{
    font-size: 12px;
}
.normal_tekst{
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
}
.tekst li{
    font-weight: bold;
}

#menu .nextpage{
    position: absolute;
    bottom: 5px;
    margin-left: 20%;
    padding: 1px;
    opacity: 0.6;
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
}
#tresc .nextpage{
    position: absolute;
    bottom: 3px;
    margin-left: 60%;
    padding: 1px;
    opacity: 0.6;
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
}

/* tutaj jeden duży blok w którym siedzą dwie połówki książki (zrobiony po to, aby wyśrodkować książkę)*/
#srodek{
    display: block;
    height: 560px;
    width:  980px;
    margin: 1px auto;
    margin-left: 5%;
}

#menu {
    position: absolute;
	width: 404px;
	height: 550px;
	float: left;
	margin-left: 155px;
    margin-right: auto;
    margin-top: 5px;
	background-color: transparent;
	background-image: url(../foto/ksiazka_menu.png);
	background-repeat: no-repeat;
}
#tresc a img{
    margin: 50px 120px;
    height: 100px;
    border: 1px solid black;
    -moz-box-shadow: 2px 2px 5px #000000;
    -ms-box-shadow: 2px 2px 5px #000000;
    -webkit-box-shadow: 2px 2px 5px #000000;
    -o-box-shadow: 2px 2px 5px #000000;
    box-shadow: 2px 2px 5px #000000;
}
#menu div.tekst {
    position: absolute;
    margin: 20px 20px 10px 70px;
    opacity: 0.6;
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
    font: Georgia, serif;
    font-size: 12px;
}
/* "butt" to zakładki w książce*/
ul.butt {
    list-style: none;
    display: block;
    margin-top: 40px;
    float: right;
    margin-right:  290px;
    font-family: segoe print, edoifi-bold, edoifi, edoifi-reg;
    font-weight: 900;
    font-size: 16px;
}

ul.butt li {
	display: block;
    width: 250px;
    margin-top: 20px;
	padding: 0;
    float: right;
}


ul.butt a:link {
	text-decoration: none;
    background-image: url(../foto/tekstura1.png);
    background-color: #FFFF99;
	color: #000000;
    /*border: 1px solid black;*/
	/*padding: 5px;*/
    overflow: hidden;
    float: right;
    padding-left: 5px;
}
#butt_on a:link{
    width: 205px;
}
#butt_info_on a:link{
    width: 195px;
    margin-top: 130px;
}
#butt1 a:link{
    margin-right: 65px;
    width: 130px;
}
#butt2 a:link{
    margin-right: 73px;
    width: 130px;
}
#butt3 a:link{
    margin-right: 81px;
    width: 130px;
}
#butt4 a:link{
    margin-right: 89px;
    width: 130px;
}
#butt5 a:link{
    margin-right: 97px;
    width: 130px;
}
#butt6 a:link{
    margin-right: 105px;
    width: 130px;
}
#butt_info a:link{
    margin-right: 111px;
    width: 130px;
    margin-top: 130px;
}

ul.butt a:visited {
    text-decoration: none;
    background-image: url(../foto/tekstura1.png);
    overflow: hidden;
    float: right;
	text-decoration: none;
	/*background-color: #808000;*/
	color: #000000;
	/*padding: 5px;
	/*border: 2px #ccc;*/
}
#butt_on a:visited{
    width: 195px;
}
#butt1 a:visited{
    margin-right: 65px;
    width: 130px;
}
#butt2 a:visited{
    margin-right: 73px;
    width: 130px;
}
#butt3 a:visited{
    margin-right: 81px;
    width: 130px;
}
#butt4 a:visited{
    margin-right: 89px;
    width: 130px;
}
#butt5 a:visited{
    margin-right: 97px;
    width: 130px;
}
#butt6 a:visited{
    margin-right: 105px;
    width: 130px;
}
#butt_info a:visited{
    margin-right: 111px;
    width: 130px;
    margin-top: 130px;
}
#butt_info_on a:visited{
    width: 195px;
    margin-top: 130px;
}

#butt1 a:hover, #butt2 a:hover, #butt4 a:hover, #butt5 a:hover, #butt6 a:hover, #butt_info a:hover {
    width: 150px;
    overflow: visible;
}
#butt3 a:hover{
   width: 185px;
   overflow: visible; 
}

/* teraz prawa strona książki */
#tresc {
    position: absolute;
	width: 430px;
	height: 550px;
	float: right;
	margin-left: 554px;
	margin-right: auto;
    margin-top: 5px;
	background-color: transparent;
	background-image: url(../foto/ksiazka_tresc.png);
	background-repeat: no-repeat;
}

#tresc div.tekst {
    position: absolute;
	padding: 20px 85px 10px 20px;
    opacity: 0.6;
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
    font-size: 12px;
}

.tekst li{
    margin-top: 10px;
    margin-bottom: 10px;
}
h1 {
    font-size: 16px;
    color: #010216;
    text-decoration: underline;
    text-align: center;
    opacity: 1;
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    padding-top: 15px;
    padding-bottom: 10px;
}
#stopka {
	clear: both;
	position: fixed;
	width: 100%;
    height: auto;
    padding: 2px;
	background-color: transparent;
	color: white;
	text-align: center;
    font-size: 15px;
    border-top: 2px solid white;
    bottom: 0;
    bottom: -1px;
    background-image: url(../foto/tlo_stopka.png);
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0%,#800000), color-stop(40%,#000000), color-stop(100%,#674646)); /* Chrome,Safari4+ */
    background: linear-gradient(bottom,  #800000 0%,#674646 100%); /* W3C */
    background: -moz-linear-gradient(bottom, #800000, #000000,#674646);
    background: -ms-linear-gradient(bottom, #800000, #000000,#674646);
    background: -o-linear-gradient(bottom, #800000, #000000,#674646);
}

/* numer rewizji */
p#rev{
    position: absolute;
    right: 80px;
    bottom: 0px;
    font-style: italic;
    font-size: small;
    margin: 1px;
    opacity: 0.2;
    filter: alpha(opacity=20);
    -moz-opacity: 0.2;
}