@CHARSET "UTF-8";
html, body {
    height: 100%;
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
}

body {
 	background: #eeebdd;
    /*background: #e4e4d3;*/
 	font-family: "Times New Roman",Georgia,Serif;
	font-size: 1em;
 	color:#0F0F0F;
}

body a {
    color: navy;
    text-decoration: none;
}

#container {
    min-height: 100%;
}

#header {
    position: relative;
    width: 100%;
 	top:0;
 	left:0;
 	background-color:#0F0F0F;
}

#logo {
    padding: 1.25em 0 1.25em 0;
}

#logo h1 {
	text-align:center;
	font-size: 250%;
    margin: 0;
    text-shadow: 0px 0px 2px #ffda87;
    font-family: "Times New Roman",Georgia,Serif;
    color: #ECC87A;
}

#logo h2 {
	text-align:center;
	font-size: 125%;
    margin: 0;
    text-shadow: 0px 0px 2px #ECC87A;
    font-family: "Times New Roman",Georgia,Serif;
    color: #ECC87A;
}


@media (max-width: 640px), (max-device-width: 640px){
    #logo h1 {
	    font-size: 200%;
    }
    #logo h2 {
	    font-size: 100%;
    }
}

/*#header a {
    font-weight: normal;
    font-family: Times New Roman, Helvetica, serif;
    color: #ECC87A;
}*/

#main {
    position: relative;
    overflow:auto;
    padding: 0 1.25em 10em 1.25em;  /* bottom value of footer height */
    margin: 0 auto;
    max-width: 800px;
    /*
    text-align: justify;
    vertical-align: top;
    z-index: 1;*/
}

#up_button_div {
    width: 100%;
    position: relative;
    margin: 0em auto;
    font-size: 1.25em;
    text-align: center;
    font-style: italic;
    padding: 0em 0em 0.5em 0em;
}

#up_button {
    color: black;
	padding: 5px 5px 5px 5px;
    margin: 5px 0 5px 0;
	text-decoration: none;
    /* Round corners */
    border-radius:20px;
	-webkit-border-radius:20px;
	-moz-border-radius:20px;
	-khtml-border-radius:20px;
    /* rotation
    transform-origin: 0 0;
    transform: rotate(270deg);
    -moz-transform-origin: 0 0;
    -moz-transform: rotate(270deg);
    -webkit-transform-origin: 0 0;
    -webkit-transform: rotate(270deg);
    -o-transform-origin: 0 0;
    -o-transform: rotate(270deg);
    -ms-transform-origin: 0 0;
    -ms-transform: rotate(270deg);*/

}

#up_button:hover {
    background-color: #a0a0a0;
	color: white;
}

#footer {
    position: relative;
	margin-top: -10em; /* negative value of footer height */
	height: 10em;
	clear:both;
    background-color:#0F0F0F;
    text-align:center;
    color: #ECC87A;
    /*position: relative;
    height: 100%;*/
}

#copyright {
    padding: 1em 0em 1em 0em;
    width:auto;
    text-align: center;
}

#contacts {
    padding: 0em 0em 1em 0em;
    width:auto;
    text-align: center;
}

#contacts a {
    color: #ECC87A;
}

#contacts a:hover {
    color: #ffffff;
}
/*
       Book list styles
*/

#books_list {
    width: auto;
    max-width: 830px;
	font-size: 1.25em;
	font-family: "Century Gothic","Driod Sans", Helvetica, sans-serif;
	text-decoration: none;
    text-align: left;
	margin: 1em 0 1em 0;
    padding-bottom: 0.5em;
}

#books_list .col1 {
    position: relative;
    padding-left: 0.25em;
    float:left;
    width:auto;
}

#books_list .col2 {
    position: relative;
    padding-left: 0.25em;
    float:right;
    width:auto;
}

#books_list a {
	font-family: "Century Gothic","Driod Sans", Helvetica, sans-serif;
	text-decoration: none;
    color: black;
    padding-bottom: 0.5em;
}

#books_list a:hover {
    text-decoration: underline;
}

@media (max-width: 700px),
    (max-device-width: 700px){
    #books_list {
        font-size: 125%;
    }

    #books_list .col1 {
        float: none;
        width: auto;
    }

    #books_list .col2 {
        padding-bottom: 2em;
        float: none;
        width: auto;
    }


    #books_list a {
        font-family: "Century Gothic","Driod Sans", Helvetica, sans-serif;
        text-decoration: none;
        color: black;
        padding-bottom: 0.5em;
    }

    #books_list a:hover {
        text-decoration: underline;
    }
}

h1 {
	text-align:center;
	font-size: 1.75em;
	font-weight: normal;
	font-family: "Century Gothic","Driod Sans", Helvetica, sans-serif;
	padding: 0em;
	margin: 0em;
}

h2 {
	text-align:center;
	font-size: 1em;
	font-weight: normal;
	font-family: "Century Gothic","Driod Sans", Helvetica, sans-serif;
	margin: 0.5em;
}

.button {
    background-color: #0F0F0F;
	font-size: 1em;
	color: #ECC87A;
	font-family: "Century Gothic","Driod Sans", Helvetica, sans-serif;
	padding: 5px 10px 5px 10px;
	text-decoration: none;

    border-radius:20px;
	-webkit-border-radius:20px;
	-moz-border-radius:20px;
	-khtml-border-radius:20px;
}

.button:hover {
	color: white;
}

.round_top_30 {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.round_30 {
	border-radius:30px;
	-webkit-border-radius:30px;
	-moz-border-radius:30px;
	-khtml-border-radius:30px;
}

.round_20 {
	border-radius:20px;
	-webkit-border-radius:20px;
	-moz-border-radius:20px;
	-khtml-border-radius:20px;
}

.round_10 {
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	-khtml-border-radius:10px;
}

.round_3 {
	border-radius:3px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	-khtml-border-radius:3px;
}

.shadow {
    /*background: #fc0; /* Цвет фона */
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Для Firefox */
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Для Safari и Chrome */
    box-shadow: 0 0 20px rgba(0,0,0,1); /* Параметры тени */
}


.navi {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.navi a {
    background-color: #0F0F0F;
    font-size: 1.25em;
    color: #ECC87A;
    font-family: "Century Gothic","Driod Sans", Helvetica, sans-serif;
    text-decoration: none;
    padding: 0.5em 0 0.5em 0;
    display: block;
    height: 100%;
}

.navi a:not(.disabled):hover {
    background-color: #2f2f2f;
    color: white;
}

.navi .disabled {
    color: darkgrey;
}

.navi_mini {
	display: none;
}

.navi_mini a {
    background-color: #0F0F0F;
    font-size: 0.85em;
    color: #ECC87A;
    font-family: "Century Gothic","Driod Sans", Helvetica, sans-serif;
    text-decoration: none;
    padding: 0.25em 0 0.25em 0;
    display: block;
    height: 100%;
    width: 100%;
}

.navi_mini a:not(.disabled):hover {
    background-color: #2f2f2f;
    color: white;
}

.navi_mini .disabled {
    color: darkgrey;
}

@media (max-width: 640px), (max-device-width: 640px){
    .navi {
        display: none;
    }
    .navi_mini {
        display: block;
    }
}

#loading {
    display: none;
}