html {
    color: #111111;
    background: #ffffff;
}
html,
body,
#container {
    height: 100%;
}
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
    margin: 0px;
    padding: 0px;
}
img {
    border: none;
}
p {
    font-family: Verdana, sans-serif;
}
a {
    text-decoration: none;
    color: #003aac;
}
a:hover {
    text-decoration: none;
    color: #d70a0a;
}
h1 {
    font: 10px Verdana, sans-serif;
    margin: 0px;
    padding-left: 5px;
    text-align: left;
    color: #fc0;
    width: 960px;
}
h1 a {
    text-decoration: none;
    color: #fc0;
}
h1 a:hover {
    text-decoration: none;
    color: #fc0;
}
#container {
    min-width: 1000px;
    max-width: 1920px;
    margin: 0px auto;
    background-image: url('../img/background_tracery.jpg');
}
#main {
    min-height: 100%;
    margin-bottom: -60px;
    background-image: url('../img/background_tracery.jpg');
}
#all {
    padding-bottom: 60px;
    overflow: hidden;
}
.strong {
    font-weight: 900;
}
.em {
    font-style: italic;
}
.floral_divider {
    text-align: center;
}
/******** Стилі кришки (Навігація, Вхід тощо) ********/
.capUnit {
    background-image: url('../img/navbg.jpg');
    background-repeat: repeat-x;
    height: 30px;
    border: 2px solid #b48c64;
    border-radius: 8px;
    text-align: center;
    color: #333333;
    font: 900 15px 'Time New Roman', serif;
}
.capUnit div {
    margin-top: 5px;
}
#capUnit:hover {
    border: 2px solid #f7820d;
}
#capUnit a {
    display: inline-block;
    width: 100%;
    color: #333333;
}
#capUnit a:hover {
    color: #000000;
}
/****************** Кінець стилів кришки *****************/

/********************* Стилі кнопки *********************/
.formButton {
    font: 900 11px Verdana, sans-serif;
    color: #fff;
    background-color: #457ab0;
    text-transform: uppercase;
    height: 27px;
    width: 130px;
    border: 2px solid #ccc;
    border-radius: 6px;
}
.formButton:hover {
    border-color: #f1ca7f;
    cursor: pointer;
    background: #79b5fc;
}
/****************** Кінець стилів кнопки *****************/

/********************* Стилі header *********************/
#header {
    background-image: url('../img/header_fence.webp');
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: left center;
    overflow: hidden;
    text-align: center;
}
#header div {
    width: 1000px;
    height: 216px;
    margin: 0px auto;
}
.alphabet-navigation {
    border: 2px solid #b48c64;
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
}
.authors-by-letter,
.books-by-letter {
    font: 600 16px Time New Roman, serif;
    text-align: center;
    padding: 2px;
}
.authors-by-letter {
    background: #7a3b05;
    color: #ede66b;
}
.authors-by-letter a {
    color: #ede66b;
}
.authors-by-letter a:hover,
.books-by-letter a:hover {
    color: #000;
    background-color: #7f7f9c;
}
.books-by-letter {
    background: #ede66b;
    color: #7a3b05;
}
.books-by-letter a {
    color: #7a3b05;
}
.books-list {
    counter-reset: booknum;
    list-style: none;
    margin: 0;
    padding: 0;
}
.books-grid-row {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 2em;
    margin-bottom: 0.5em;
    position: relative;
    padding-left: 2.8em;
}

.books-grid-row::before {
    counter-increment: booknum;
    content: counter(booknum) '. ';
    position: absolute;
    left: 0;
    top: 0;
    min-width: 2em;
    text-align: right;
}
.author-list {
    text-align: left;
    margin-bottom: 0.5em;
    margin-left: 0.5em;
    padding-left: 0.2em;
}
/****************** Кінець стилів header *****************/

/******************** Стилі content *********************/
#out {
    float: right;
    width: 100%;
    margin-left: -200px;
}
#in {
    float: left;
    width: 100%;
    margin-right: -200px;
}
#content {
    min-width: 590px;
    margin: 0px 200px;
    padding: 5px;
    overflow: hidden;
}
/***************** Кінець стилів content *****************/

/******************** Стилі leftBlock *******************/
#leftBlock {
    float: left;
    width: 199px;
    background: #ffffff;
    border-radius: 8px;
    margin-top: 5px;
}
ul.leftMenu {
    list-style-type: none;
    padding: 0px;
    margin: 3px;
    border: solid 0px #808080;
    border-bottom-width: 1px;
    width: 194px;
}
ul.leftMenu li {
    margin: 0px;
    padding: 0px;
    border: solid 1px #808080;
    border-bottom-width: 0px;
    line-height: 0;
}
ul.leftMenu a {
    display: block;
    text-decoration: none;
    color: #111111;
    background-color: #f6f6f6;
    font: 900 13px Georgia, Verdana, sans-serif;
    padding: 8px 5px;
    cursor: pointer;
}
ul.leftMenu a:hover {
    color: #d70a0a;
    background-color: #ffff99;
}
ul.leftMenu li {
    position: relative;
}
ul.leftMenu li ul {
    display: none;
    margin: 0px;
    padding: 0px;
    position: absolute;
    left: 100%;
    top: 0px;
    list-style-type: none;
    width: 240px;
}
ul.leftMenu li:hover ul {
    display: block;
}
ul.leftMenu li ul.g1 {
    top: -200px;
}
ul.leftMenu li ul li a {
    background-color: #252525;
    border: 1px solid #252525;
    color: #eeeeee;
    padding-left: 5px;
    font: 400 13px Arial, sans-serif;
}
ul.leftMenu li ul li a:hover {
    background-color: #f6f6f6;
    color: #0051e7;
    font-weight: bold;
}
/***************** Кінець стилів leftBlock ***************/

/******************** Стилі rightBlock ******************/
#rightBlock {
    float: right;
    width: 199px;
    background: #ffffff;
    border-radius: 8px;
    margin-top: 5px;
}
#enterSite {
    text-align: center;
    font: 12px Verdana, sans-serif;
    padding-top: 10px;
}
#enterSite a {
    font-size: 11px;
}
#enterSite label {
    display: block;
    margin-top: 8px;
}
#enterSite input.formButton {
    margin: 5px 0px;
}
#login,
#password,
#search {
    width: 150px;
    border: 3px #f1ca7f double;
    border-radius: 4px;
    background-color: #fdffe2;
    font: 12px Verdana, sans-serif;
}
#remember {
    vertical-align: middle;
}

#userSession {
    font: 13px Verdana, sans-serif;
    color: #43637e;
}
#userSession span {
    font-weight: bold;
}
#userSession span.pointsUser {
    color: green;
}
#userSession a {
    font-size: 14px;
}
#userSession ul {
    list-style-type: none;
    margin: 10px;
    padding: 0px;
}
#userSession li {
    margin: 6px;
}
#userSession .avatarUser {
    text-align: center;
    margin: 10px;
}
#userSession .avatarUser img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

#searchSite {
    text-align: center;
    font: 12px Verdana, sans-serif;
}
#searchSite label {
    display: block;
}
#searchSite img {
    padding-top: 10px;
}
#searchSite .checkboxSearch {
    text-align: left;
    margin-bottom: 5px;
}
#searchSite .checkboxSearch label {
    padding-left: 18px;
}
#searchSite .checkboxSearch input {
    padding: 0px;
    margin: 3px 0px 0px 0px;
}
#searchSite input.formButton {
    margin: 10px 0px;
}
/***************** Кінець стилів rightBlock **************/

/********************* Стилі footer *********************/
#footer {
    background-image: url('../img/footer_fon.jpg');
    background-repeat: repeat-x;
    overflow: hidden;
    height: 60px;
    margin: 0px auto;
    text-align: center;
    border-radius: 10px 10px 0px 0px;
}
#footer p {
    width: 800px;
    height: 40px;
    background-image: url('../img/footer-books-412x160.png');
    background-repeat: no-repeat;
    background-size: 103px 40px;
    background-position: left center;
    margin: 10px auto;
    padding-left: 115px;
    text-align: left;
    font-size: 10px;
    line-height: 1.5em;
    color: #7f7f9c;
}
#header div {
    width: 1000px;
    height: 216px;
    margin: 0px auto;
}
#footer strong {
    font-weight: normal;
}
#footer a {
    color: #7f7f9c;
}
/****************** Кінець стилів footer *****************/
