﻿body {
	padding:0;
	margin:0;
    background: #eaede2 url('../img/bg.png') repeat top left;
    font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	font-size: 13px;
	min-width: 1000px;
    line-height: 1.428;
}

a,a:link {
	color:#359caf;
	text-decoration:none;
}

a:hover {
	color:#32acc2;
}

img {
	border:0 none;
}
/**/
.cleantable {
	border:none 0;
	border-collapse:collapse;
	width:100%;
}

.cleantable td {
	padding:0;
	margin:0;
	border-collapse:collapse;
}
.centered {
	margin:0 auto;
}
.contenttable {
    min-height: 400px;
}
.maintable {
	width:90%;
}
.headertable {
	margin:10px auto; 
}
.headertable .logo {
	width:290px;
	background:url('../img/logo.png') 0 5px no-repeat;
	position:relative;
}
.headertable .logo a .name {
	color:#6fa930;
	position:absolute;
	left:117px;
	top:45px;
	font-size: 12px;
}
.headertable .logo a {
	width:276px;
	height:64px;
	display:block;
	float:left;
	text-decoration:none;
	margin:0px 0 12px 0;
	position:relative;
}
.tdclean {
	line-height:1%;
}
.lt, .rt {
	width:5px;
	height:5px;
	background:url('../img/lt.png') 0 0 no-repeat;
}
.rt {
	background:url('../img/rt.png') 0 0 no-repeat;
}

.lb, .rb {
	width:5px;
	height:7px;
	background: #fff url('../img/lb.png') bottom left no-repeat;
}
.rb {
	background: #fff url('../img/rb.png') bottom right no-repeat;
}
.cb {
	background:url('../img/cb.png') bottom left repeat-x #fff;
}
.whitebg {
	background:#ffffff;
}


/* search */
.sinput {
	vertical-align:top;
	height:45px;
}
.sinput input {
	border:1px solid #e6e9ed;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	background:#ffffff;
	outline:none;
	font-size:16px;
	padding:10px;
	width:95%;
	margin:7px 0 0 0;
}
.sbtn {
	width:140px;
	vertical-align:top;
}

.sbtn button {
    height: 39px;
	cursor:pointer;
    font-family: Arial, Helvetica, sans-serif;
	font-size:15px;
	color:#fff;
	text-shadow: 0 1px 2px #878787;
	text-transform:uppercase;
	font-weight:bold;
    border:none;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	background:url('../img/search.png') 15px 10px no-repeat #a0d468;
	padding:10px 20px 10px 40px;
	margin:7px 0 0 10px;
	outline:none;
}
.sbtn button:hover {
	background-color:#83ae55;
}
td.alpha {
    padding-bottom: 1px;
}
.alpha a {
	text-decoration:none;
	font-size:12px;
	color:#8b8b8b;
	float:left;
	margin:0 1.2% 0 0;
}
select.byauthor {
	font-size:11px;
	color:#707070;
	margin:-2px 1.5% 0 0;
	padding:0 8px 0 0;
	float:left;
}


/* nav */
.btitle,
td.content > h1 {
	margin:0 0 10px 0;
	color: #626262;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: normal;
}
.nav-td {
    width:250px;
    vertical-align:top;
}
.nav {
	border:1px solid #d0d0d0;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	background:#f8f8f8;
	padding:10px 12px;
}
.nav ul {
	margin:0;
	padding:0;
	list-style-type:none;
	font-family: Verdana, Tahoma, sans-serif;
	font-size:13px;
}
.nav ul li {
	margin:0;
	padding:0;
	background:url('../img/navbg.png') bottom center no-repeat;
}
.nav a {
	color:#6fa930;
	text-decoration:none;
	display:block;
	padding:5px 0 8px 0;
}
.nav a:hover {
	color:#3e3038;
	background-position:0 -223px;
}


.navWithPen a {
    background-image:url('../img/leafs.png');
    background-position:0 8px;
    background-repeat:no-repeat;
    padding:5px 0 8px 18px;
}


.navBookmarks {
    padding: 0;
}
.navBookmarks table {
    width: 100%;
    border-spacing: 0;
    padding: 0 2px;
}
.navBookmarks td {
    border-bottom: 1px solid #f1f1f1;
}
.navBookmarks tr:first-child td a {
    padding-top: 15px;
}
.navBookmarks tr:last-child td {
    border-bottom: none;
}
.navBookmarks tr:hover {
    background: #f5f5f5;
}
.navBookmarks tr:hover a {
    color: #3e3038;
}
.navBookmarks td.removeButton {
    width: 16px;
    padding: 5px 8px ;
}
.navBookmarks td.removeButton a {
    padding: 0;
    margin: 0;
    display: inline;
}
.navBookmarks td.removeButton img {
    opacity: 0.45;
    cursor: pointer;
}
.navBookmarks td.removeButton img:hover {
    opacity: 1;
}
.navBookmarks a {
    padding: 9px 10px;
    word-break: break-all;
}
.navBookmarks div.pages {
    padding-top: 3px;
    color: #a6a6a6;
    font-size: 10px;
}


.stat {
	border:1px solid #d0d0d0;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}
.stat table {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color:#292929;
	font-size:14px;
}
.stat table strong {
	color:#79b33a;
}
.stat table td {
	border-bottom:1px solid #d0d0d0;
	padding:5px;
}
.noborder {
	border:none 0 !important;
}
/* content */

td.content {
	vertical-align: top;
    padding-bottom: 50px;
}

/*td.content p {
	color: #474543;
	margin:15px 0;
}*/

.align-right {
	float:right;
}

hr {
	border:none;
	border-bottom:1px solid #ccc;
	margin:15px 0;
	clear:both;
	line-height:1%;
}
.bookslist .item {
	border:1px solid #bcbcbc;
	width:101px;
	height:154px;
	position:relative;
	float:left;
	margin:0 5px 5px 0;
}
.bookslist .item img {
	position:absolute;
	left:4px;
	top:4px;
	width:93px;
	height:146px;
}

.clear {
	height:10px;
	clear:both;
}

/* form */
.field-label {
	color:#74716f;
	margin:5px 0 3px 0;
}

.field-input input[type=text],
.field-input input[type=password],
.field-input textarea,
.field-input select
{
	width:35%;
	margin:0;
	outline:none;
	padding:7px;
	border:1px solid #d0d0d0;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}

.field-input textarea {
	width:65%;
}


/* footer */
.footer {
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	background:#ffffff;
	margin-bottom:30px;
}

.footer td {
	padding:10px;
}

.footernav {
	font-size:11px;
}
.footernav a {
	float:right;
	margin:0 0 0 10px;
}
.footer table {
	background:url('../img/footer.png') 0 0 no-repeat;
}
.copy {
	vertical-align:top
}
.copy div {
	font-size:11px;
	position:relative;
	width:100%;
}
.copy div span {
	position:absolute;
	left:56px;
	top:8px;
}

/* my style */

ul.grayDots {
    padding-left: 0;
}
ul.grayDots li {
    list-style-type: none;
    margin-bottom: 4px;
}
ul.grayDots li:before {
    color: #d3d3d3;
    content: "●";
    padding-right: 10px;
}

.row {
    margin: 10px 0;
}


.bookView .cover {
    float: left;
    width: 180px;
    margin-right: 20px;
}
.bookView .cover img,
.bookPage .cover img
{
    width: 100%;
    max-height: 350px;
    -webkit-box-shadow: 3px 3px 1px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:    3px 3px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow:         0px 3px 3px 1px rgb(161, 161, 161);
}
.bookView ul {
    margin: 0;
    padding-left: 0;
}
.bookView li {
    margin: 10px 0;
    list-style-type: none;
    text-align: justify;
}
.bookView .vote-block,
.bookView .vote-result {
    float: left;
}
.bookView .title {
    font-size: 20px;
    margin: 0;
}
.bookView .author {
    margin-top: 4px;
    font-size: 15px;
}
.bookView .links {
    margin-top: 15px;
    color: gray;
}
.bookView .commentCount {
    font-size: 85%;
}


.bookPage {
    margin-top: 20px;
}
.bookPage .cover {
    float: left;
    width: 200px;
    margin-right: 20px;
}
.downloadLinks {
    padding: 0 0 0 20px;
    margin: 15px 0;
    color: #dddddd;
}
.downloadLinks li {
    margin-bottom: 5px;
}
.downloadLinks a {
    vertical-align: middle;
    font-size: 13px;
}
.bookPage .fileSize {
    margin-left: 10px;
    color: gray;
    font-size: 10px;
}
.bookPage .vote-wrap {
    margin: 15px 0;
}
.bookPage .readButton {
    margin: 20px 0;
}
.bookPage .helpLink a > * {
    vertical-align: middle;
}
.coverPopup .mfp-title {
	text-align: center;
	padding: 0;
}


div.captcha input[type=text] {
    width: 100px;
    margin-right: 10px;
}
div.captcha * {
    vertical-align: middle;
    margin-right: 10px;
}

/* блок ошибок */
div.errorSummary {
    margin: 0 0 20px;
    background: #FEE;
    border: 1px solid #C00;
    padding: 15px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}
div.errorSummary ul {
    padding-left: 20px;
}
div.errorSummary p {
    margin: 0 0 10px;
}


/* pager */
ul.yiiPager
{
    font-size:11px;
    border:0;
    margin: 0 0 0 10px;
    padding:0;
    line-height:100%;
    display:inline;
}

ul.yiiPager li
{
    display: inline;
    line-height: 30px;
}

ul.yiiPager a:link,
ul.yiiPager a:visited
{
    border:solid 1px #d0d0d0;
    font-weight:bold;
    color:#8b8b8b;
    padding:4px 8px;
    text-decoration:none;
    margin-right:3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

ul.yiiPager .page a
{
    font-weight:normal;
}

ul.yiiPager a:hover
{
    border:solid 1px #8b8b8b;
    color: #707070;
}

ul.yiiPager .selected a
{
    background: #dcdcdc;
    border-color: #dcdcdc;
    color:#FFFFFF;
    font-weight:bold;
}

ul.yiiPager .hidden a
{
    border:solid 1px #DEDEDE;
    color:#888888;
}

.yiiPager .previous,
.yiiPager .next,
.yiiPager .first,
.yiiPager .last
{
    display: none;
}


/* author page */
.summary {
    margin: 15px 0;
}
.items {
    margin: 30px 0 50px;
}

/* --- */

.reviews select,
.reviews-select2-container {
    width: 350px;
    vertical-align: middle;
}
.reviews select,
.reviews-select2-container .select2-choice {
    padding: 2px 0 2px 8px !important;
}
.reviews-select2-dropdown .select2-results {
    max-height: 300px;
}
.reviews-comment-count {
    float: right;
    color: #9a9a9a;
    font-size: 10px;
}
.reviews-select2-dropdown .reviews-comment-count {
    margin-top: 2px;
}
.reviews-select2-dropdown .select2-highlighted .reviews-comment-count {
    color: #fff;
}

.reviews .summary {
    margin-top: 20px;
}

/* --- */

.searchPage h3 {
    font-weight: normal;
    font-size: 16px;
}
.searchPage .results td {
    padding-bottom: 2px;
}
.searchPage td.num {
    width: 20px;
    font-size: 10px;
    color: gray;
    text-align: right;
    padding-right: 10px;
}
.searchPage .highlighted_search_word {
    background: #f9f9f9;
}
.searchPage ol.results {
    margin: 10px 0;
    padding-left: 35px;
    color: gray;
    font-size: 10px;
}
.searchPage ol.results li {
    margin: 4px 0;
    padding-left: 4px;
}
.searchPage ol.results a {
    font-size: 13px;
}
.searchPage ol.results li.spoiler {
    display: none;
}
.searchPage .showMoreResults {
    display: block;
    margin: 15px 0 15px 10px;
    font-weight: bold;
}

span.smallGray,
span.smallGray a {
    color: #808080;
    font-size: 11px !important;
}
span.smallGray a:hover {
    color: #c0c0c0;
}

/* --- */

.abc-page .items {
    margin: 0 10px;
}

.abc-page .items ul.column {
    float: left;
    padding: 0;
}

.abc-page .items ul.column li {
    list-style: none;
    margin-bottom: 5px;
    padding-right: 15px;
}

.abc-page .items ul.column li.bigabc {
    padding: 12px 0 4px 0;
    font-size: 18px;
    text-decoration: none;
    color: #000;
}

.abc-page .items ul.column li.next_page a,
.abc-page .items ul.column li.previous_page a {
    font-weight: bold;
}

.abc-page .splitscreen {
    border-top: 3px dashed #e3e2df;
    margin: 20px 0 20px 0;
    clear: both;
}

.abc-page .abc-line {
    letter-spacing: 1px;
    padding: 0;
}
.abc-page .abc-line * {
    margin-right: 6px;
}
.abc-page .abc-line span {
    font-weight: bold;
}

#abcTabs {
    margin: 0 0 20px
}
#abcTabs .tab {
    position: relative;
    display: inline-block;
    height: 40px;
    border-radius: 5px 5px 0 0;
    font: 16px Tahoma, Arial, Helvetica, sans-serif;
    line-height: 40px;
    float: left;
    margin: 0 -1px 0 0;
    padding: 0 20px;
    border: 1px solid #CCD1D9;
    background: #f9f9f9;
    cursor: pointer;
}
#abcTabs .tab.active {
    position: relative;
    z-index: 1;
    background: #FFF;
    padding: 0 20px;
    color: #000000;
    font-weight: bold;
    cursor: default;
}
#abcTabs .tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #FFF
}
#abcTabs .tab:not(.active):hover {
    background: #e7ecf5;
    color: #33798c;
}
#abcTabs .contents {
    box-sizing: border-box;
    width: 100%;
    float: right;
    margin: 41px 0 0 -100%;
    padding: 0 20px;
    border: 1px solid #CCD1D9;
    border-radius: 0 5px 5px 5px;
    background: #FFF;
    text-align: left;
}
#abcTabs .contents > div {
    padding: 15px 0;
}
#abcTabs .abc-line {
    border-bottom: 1px dashed #ccc;
}
#abcTabs .abc-line:last-of-type {
    border: none;
}

/* --- */

.bookmarks {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}
.bookmarks th {
    text-align: center;
    font-size: 14px;
    font-weight: normal;
    padding: 12px 15px;
}
.bookmarks td.page,
.bookmarks td.date {
    padding: 3px;
    font-size: 11px;
    text-align: center;
}
.bookmarks td {
    border-top: 1px solid #e8edff;
    padding: 5px 5px;
    height: 24px;
}
.bookmarks tbody tr:hover td {
    background: #eff2ff;
}
.bookmarks td.buttons {
    text-align: right;
}
.bookmarks td.link a {
    width: 100%;
    display: block;
}
.bookmarks td.checkAll {
    color: gray;
}
#bookmarksEmptyPage {
    display: none;
}


/* --- */

.faqPage li {
    margin-bottom: 8px;
}
.faqPage h3 {
    margin-top: 25px;
}
.faqPage h3:first-child {
    margin-top: 20px;
}


/* --- */

#leftButtons {
    opacity: 0.4;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    min-width: 49px;
    width: 5%;
    margin-top: 10px;
    text-align: center;
}
#leftButtons img {
    margin-bottom: 10px;
    cursor: pointer;
}
#toTop {
    cursor: pointer;
}
h1.download {
    font-size: 14px;
    font-weight: bold;
    color: gray;
}

/* --- */

.clearfix {
    display: table;
}
.clearfix:after {
    content: '. .';
    display: block;
    word-spacing: 99in;
    height: 0;
    overflow: hidden;
    font-size: 0.13em;
    line-height: 0;
}

.top0  { margin-top:0 !important; }
.top10 { margin-top:10px !important; }
.top15 { margin-top:15px !important; }
.top20 { margin-top:20px !important; }
.bottom20 { margin-bottom:20px !important; }
.left10 { margin-left:10px !important; }
.cols2 {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}
.cols3 {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}