﻿body {
    padding: 0;
    margin: 0;
    font: 12pt 'Neucha', serif;
    font-style: italic;
    color: #000;
}

h1 {
    font-family: 'Neucha', cursive;
    font-size: 20pt;
    font-style: normal;
    text-align: center;
    margin: 0;
}

h2 {
    font-family: 'Neucha', cursive;
    font-size: 18pt;
    font-style: normal;
    text-align: center;
    margin: 0;
}

.shapka {
    padding-top: 10px;
}

.logo-box {
    text-align: center;
    background: #ddd;
    background: url('../../images/fe/diary.jpg');
}

.logo-box img {
    margin-bottom: 10px;
}

.border-down {
    background: url('../../images/fe/border-down.png') repeat-x;
    width: 100%;
    height: 31px;
}

.border-up {
    background: url('../../images/fe/border-up.png') repeat-x;
    width: 100%;
    height: 31px;
}

.body-container {
    margin: 0 auto;
    width: 760px;
}

a {
    color: #444;
}

a:hover {
    color: #000;
}

.bottom {
    padding-bottom: 10px;
    background: url('../../images/fe/diary.jpg');
    text-align: center;
}

.works {
    margin-top: 20px;
}

.works td {
    font-family: 'Neucha', cursive;
    font-size: 16pt;
    font-style: normal;
    vertical-align: top;
}

.works td div {
    font: 12pt 'Neucha', serif;
    font-weight: normal;
    font-style: italic;
    display: table-cell;
    background: #ddd;
    width: 110px;
    height: 38px;
    text-align: center;
    vertical-align: middle;
    border-radius: 5px;
}
/**
.works td a {
    display: inline-block;
    text-decoration: none;
}
**/
.overlay {
    background: rgba(0, 0, 0, .5);
    bottom: 0;
    box-sizing: padding-box;
    display: none;
    height: 100%;
    left: 0;
    outline: none;
    overflow: auto;
    position: absolute;
    right: 0;
    top: 0;
}

.dialog {
    background: #fff;
    margin: 40px auto;
    padding: 20px 30px 10px 30px;
    position: relative;
    width: 700px;
    background: url('../../images/fe/paper.jpg');
    font-style: normal;
    font-family: 'Verdana', sans-serif;
    color: #111;
    text-shadow: 0 0 2px #999;
    line-height: 1.4;
}

.heart {
    display: inline-block;
    background: url("../../images/fe/h.png") no-repeat transparent;
    background-position: 0 0;
    width: 30px;
    height: 27px;
    vertical-align: middle;
}

.heart-block {
    display: inline-block;
    background: url("../../images/fe/h.png") no-repeat transparent;
    background-position: 0 0;
    width: 30px;
    height: 27px;
    vertical-align: middle;
}

.heart:hover {
    background-position: 0 -27px;
    cursor: pointer;
}

.heart-clicked {
    background-position: 0 -54px !important;
}

.btn {
    display: block;
    padding: 0;
    border: none;
    background: none;
}

.btn:hover {
    cursor: pointer;
}