/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */

/* Код для подключения шрифта в /css/stylename.css */
/* font-family: "RobotoSlabRegular"; */
@font-face {
    font-family: "Roboto Slab";
    src: url("../fonts/RobotoSlabRegular/RobotoSlabRegular.eot");
    src: url("../fonts/RobotoSlabRegular/RobotoSlabRegular.eot?#iefix")format("embedded-opentype"),
    url("../fonts/RobotoSlabRegular/RobotoSlabRegular.woff") format("woff"),
    url("../fonts/RobotoSlabRegular/RobotoSlabRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}
/* font-family: "RobotoSlabLight"; */
@font-face {
    font-family: "Roboto Slab";
    src: url("../fonts/RobotoSlabLight/RobotoSlabLight.eot");
    src: url("../fonts/RobotoSlabLight/RobotoSlabLight.eot?#iefix")format("embedded-opentype"),
    url("../fonts/RobotoSlabLight/RobotoSlabLight.woff") format("woff"),
    url("../fonts/RobotoSlabLight/RobotoSlabLight.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}
/* font-family: "RobotoSlabBold"; */
@font-face {
    font-family: "Roboto Slab";
    src: url("../fonts/RobotoSlabBold/RobotoSlabBold.eot");
    src: url("../fonts/RobotoSlabBold/RobotoSlabBold.eot?#iefix")format("embedded-opentype"),
    url("../fonts/RobotoSlabBold/RobotoSlabBold.woff") format("woff"),
    url("../fonts/RobotoSlabBold/RobotoSlabBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

.aligncenter, .alignleft, .alignright {
        margin-top: 15px;
        margin-bottom: 15px;
}

.tm-navbar-fixed.tm-navbar-animated .tm-navbar-small {
    height: 55px;
}

.tm-nav-logo {
    width: 85px;
    height: 85px;
    margin-top: -45px;
}

.tm-navbar-small .tm-nav-logo {
    width: 39px;
    height: 39px;
    margin-top: -23px;
}

.uk-button {
    margin-bottom: 5px;
}

.uk-icon-button {
    color: #6f6d6b;
}

pre {
    font: 15px/20px Consolas, monospace, serif;
    background: inherit;
}

blockquote {
    margin-left: 15px;
}

/*
.tm-block-bottom-a {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.tm-block-bottom-a.tm-block-primary {
    background-color: #f2f2ef !important;
}
*/

.uk-panel-box-secondary > .uk-badge {
    background: #478db9;
}

.fb2-link.uk-icon-spinner {
    margin: 10px;
}

.fb2-link.uk-icon-exclamation-triangle {
    margin: 6.5px;
}

.uk-icon-star {

    color: #549ac6;
}

.uk-icon-star-o {
    color: #ccccc5;
}

.stars {
    font-size: 130%;
    vertical-align: -10%;
}

.uk-dropdown .uk-search > .uk-search-field {
    color: #f2f2ef;
}

/* Читалка Литрес */

.lreader {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: url('../images/loading.gif') 50% 40% no-repeat white;
}

.lreader iframe {
    width: 100%;
    height: 600px;
    border: none;
    position: absolute;
/*    top: -110px; */
}

.lreader-header {
    padding-top: 30px;
/*  background: #ffffff;
    padding: 20px; */
}

.lcover {
    max-height: 400px;
}

/* ---------- */

.uk-article-meta, .screen-reader-text {
    display: none;
}

.uk-article + .uk-article {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 0px solid #e9e8e8;
}

option[value="1"] { display: none; }

.widget_widgetkit h2, .widget_text h2 { display: none; }
.widget_widgetkit p, .widget_text p { margin: 0px !important; }

.uk-badge { top: -30px; }
.uk-panel-box .uk-panel-badge { top: -10px; right: 10px; }

/*
 * Search
 */
.tm-block-search {
  padding: 20px 0;
  background: #eaeae6;
  text-align: center;
  /* Sub-object `uk-search-field` */
}
.tm-block-search .uk-search-field {
  color: #6f6d6b;
}
.tm-block-search .uk-search-close,
.tm-block-search .uk-search:before {
  color: #6f6d6b;
}
.tm-block-search .uk-search-field:-ms-input-placeholder {
  color: #6f6d6b;
}
.tm-block-search .uk-search-field::-moz-placeholder {
  color: #6f6d6b;
}
.tm-block-search .uk-search-field::-webkit-input-placeholder {
  color: #6f6d6b;
}

.img-margins {
    margin: -50px 0 10px 10px;
}

.uk-pagination {
    margin-top: 20px;
    margin-bottom: 20px;
}

.slidelink .uk-button { 
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    border-style: none;
    position: absolute;
    top: 0px;
    left: 0px;
}

article > a > img, article > p > a > img, .img-shadow {
    box-shadow: 4px 4px 15px rgba(29, 37, 47, 0.6);
    transition: 0.4s;
}

.uk-comment-header img {
    box-shadow: 3px 3px 10px rgba(29, 37, 47, 0.6);
}

body:not(.tag):not(.category-articles) article > a > img:hover {
  -webkit-transform: scale(1.1) rotate(3deg);
  transform: scale(1.1) rotate(3deg);
  transition: 0.4s;
  transition-delay: 0.5s;
  z-index: 1;
}

.uk-overlay {
    overflow: inherit;
}

.uk-overlay-hover:hover .uk-overlay-scale,
.uk-overlay-hover.uk-hover .uk-overlay-scale,
.uk-overlay-active .uk-active > .uk-overlay-scale {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.widget_widgetkit img {
    box-shadow: 3px 3px 10px rgba(29, 37, 47, 0.6);
}
.tm-top-a img {
    box-shadow: 3px 3px 10px rgba(29, 37, 47, 0.6);
}

.uk-comment-header > img {
    webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}


/* Sub-object `uk-comment-list`
 ========================================================================== */
.uk-comment-list {
  padding: 0;
  list-style: none;
}
.uk-comment-list .uk-comment + ul {
  margin: 20px 0 0 0;
  list-style: none;
}
.uk-comment-list > li:nth-child(n+2),
.uk-comment-list .uk-comment + ul > li:nth-child(n+2) {
  margin-top: 20px;
}
/* Tablet and bigger */
@media (min-width: 768px) {
  .uk-comment-list .uk-comment + ul {
    padding-left: 30px;
  }
}


/* Кнопки в сайдбаре */
.tm-sidebar-a .uk-icon-button {
    box-sizing: border-box;
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    background: rgba(229, 229, 224, 0.5);
    line-height: 40px;
    color: #383735;
    font-size: 25px;
    text-align: center;
}

.tm-sidebar-a .uk-icon-button:hover, .tm-sidebar-a .uk-icon-button:focus {
    background-color: #549ac6;
    color: #ffffff;
    outline: none;
}

a[data-nolb]:not(.uk-icon-button), a.litres-link {
    text-decoration: none;
}

a[data-nolb]:hover, a.litres-link:hover {
    text-decoration: underline;
}


.hc__message {
    padding: 15px !important;
    border: 2px solid #e9e8e8 !important;
    border-radius: 3px !important;
}

.hc__avatar {
    position: relative !important;
    margin-right: 20px !important;
    float: left !important;
}

.hc__avatar img {
    width: 50px !important;
    height: 50px !important;
    box-shadow: 3px 3px 10px rgba(29, 37, 47, 0.6) !important;
}

.hc__message__comment {
    margin-left: 0px !important;
}

.hc__message__header {
    margin-top: 5px !important;
    margin-bottom: 25px !important;
}

#hypercomments_mix .hc__mix__title {
    display: none !important;
}

#hypercomments_mix .hc__mix {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0;
}

#hypercomments_mix .hc__manager__item {
    font: 300 15px / 22px 'Roboto Slab', Helvetica, Arial, sans-serif !important;
    color: #549ac6 !important;
}

#hypercomments_mix .hc__message__txt {
    font: 300 12px / 17px 'Roboto Slab', Helvetica, Arial, sans-serif !important;
    color: #383735 !important;
}

#hypercomments_mix .hc__mix__message {
    padding: 5px 0;
}

#hypercomments_widget .hc__manager__item {
    font: 300 12px / 19px 'Roboto Slab', Helvetica, Arial, sans-serif !important;
    color: #549ac6 !important;
}

.hc__manager__item:hover {
    color: #286f9b !important;
    text-decoration: underline !important;
}

#hypercomments_widget .hc__nick {
    font: 300 17px / 23px 'Roboto Slab', Helvetica, Arial, sans-serif !important;
    color: #383735 !important;
    text-transform: uppercase;
}

#hypercomments_widget .hc__nick__parent {
    font: 300 17px / 23px 'Roboto Slab', Helvetica, Arial, sans-serif !important;
    color: #a4a29e !important;
    text-transform: uppercase;
}

.hc__message .hc__message {
    margin-left: 20px !important;
    margin-bottom: 0px !important;
}

#hypercomments_widget .hc__message__txt,
#hypercomments_widget .hc__message__txt b,
#hypercomments_widget .hc__message__txt u,
#hypercomments_widget .hc__message__txt i,
#hypercomments_widget .hc__message__txt s,
#hypercomments_widget .hc__message__txt q,
#hypercomments_widget .hc__message__txt code {
    font: 300 15px / 22px 'Roboto Slab', Helvetica, Arial, sans-serif !important;
}


#hypercomments_widget .hc__time {
    font: 300 12px / 17px 'Roboto Slab', Helvetica, Arial, sans-serif !important;
    color: #a4a29e;
    margin-left: 0;
    display: block;
}

.hc__menu__item, .hc__menu__count {
    font: 300 24px / 26px 'Roboto Slab', Helvetica, Arial, sans-serif !important;
    color: #383735 !important;
    text-transform: uppercase !important;
}

#hypercomments_widget br {
    line-height: 250%;
}

.hc__right {
    padding: 0 !important;
}


@media (max-width: 768px) {
    .salebuttonsplace {
        text-align: center;
    }
    .salebuttons {
        margin-top: 30px;
    }
}

.salebuttons {
    padding: 15px;
    border: 1px solid #eaeae6;
}

@media (min-width: 768px) and (max-width: 850px) {
    .uk-vertical-align-middle, .uk-vertical-align-bottom, .reader-top {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .uk-sticky-placeholder {
        display: none;
    }
}

.coverplace > a > img {
    box-shadow: 4px 4px 15px rgba(29, 37, 47, 0.6)
}

.related-cover {
    box-shadow: 4px 4px 15px rgba(29, 37, 47, 0.6)
}

.tk-coverplace {
    background: #f8f8f6;
}

.tk-categories a {
    margin: 0 8px 8px 0;
}

.tk-categories a span {
    text-transform: none;
    color: #747474;
    margin: 0 5px 10px 0;
}

.tk-categories .uk-badge {
    box-sizing: border-box;
    display: inline-block;
    padding: 0 10px;
    background-color: #549ac6;
    color: #ffffff;
    font-size: 13px;
    text-align: center;
    vertical-align: middle;
    line-height: 25px;
    min-height: 25px;
    text-decoration: none;
    text-align: center;
    border-radius: 3px;
    font-weight: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
}

.tk-categories .uk-badge:active {
    background-color: #5886a3;
    color: #beeaff;
}

.tk-categories .uk-badge:hover, .tk-categories .uk-badge:focus {
    background-color: #6ba8ce;
    color: #ffffff;
}

.tk-paperbook {
    background: #f8f8f6;
}

.salepaperbook noindex > div {
    width: 100%
}

.salepaperbook .uk-button-danger {
    background-color: #e8c601;
    color: #ffffff;
}

.salepaperbook p span {
    display: inline-block;
    min-width: 120px;
}

.salepaperbook p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.salepaperbook .uk-button-mini {
    font-size: 12px !important;
}

.tm-block-bottom-a {
    padding-bottom: 30px;
}

.slidelink {
    margin-bottom: 20px;
}

.tk-article {
    font-size: 17px !important;
    line-height: 26px !important;
}

.tk-article .uk-panel-box {
    padding: 15px;
}

.tk-article .uk-article-meta {
    display: inline;
}

.tk-article .tk-incut {
    max-width: 250px;
}

.tk-article .uk-text-small {
    font-size: 14px !important;
    line-height: 19px !important;
}

.tk-mirror {
    height: 60px;
    background-size: cover;
    background-position: center bottom;
    -o-transform: scale(1, -1);
    -ms-transform: scale(1, -1);
    -moz-transform: scale(1, -1);
    -webkit-transform: scale(1, -1);
    transform: scale(1, -1);
}

.tk-excerpt {
    display: none;
}

@media (max-width: 1151px) {
    .tk-excerpt {
        display: none !important;
    }
}

.tk-litres {
    display: none;
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 999999;
}

.tk-litres > div > div {
    border-radius: 3px;
    box-shadow: 4px 4px 7px rgba(0,0,0,0.1);
}

.tk-litres .litres-banner-buy-block {
    border-radius: 3px;
    background-color: #00d800 !important;
}

.tk-litres .litres-banner-line:hover .litres-banner-buy-block {
    background-color: #00f700 !important;
}


.tk-litres > div > .uk-close {
    padding: 2px;
    background: #fff;
    opacity: 1;
    border-radius: 50%;
    box-shadow: 2px 0 7px rgba(0,0,0,0.5);
    z-index: 999999;
}

.category-articles .uk-overlay {
    overflow: hidden;
    box-shadow: 4px 4px 15px rgba(29, 37, 47, 0.6);
}

.uk-slidenav-contrast:hover, .uk-slidenav-contrast:focus {
    color: rgba(255, 255, 255, 0.7);
}


.page-id-414948 .tm-navbar, .page-id-414948 .uk-article-title {
    display: none !important;
}
.page-id-414948 .tm-wrapper {
    top: 0px !important;
}
.page-id-414948 [class*="tm-block-"]:not(.tm-block-top-main), .page-id-414948 .tm-sidebar-a {
    display: none !important;
}
.page-id-414948 .tm-main {
    width: 100% !important;
    font: 300 17px / 26px 'Roboto Slab', Helvetica, Arial, sans-serif;
}

.page-id-414948 {
    background-color: #f0f0f0 !important;
}

/* 10.11.2018
a.reader-top {
    display: none;
}
*/

#tk-adv {
    display: none;
    position: absolute;
    top: -1000px;
    left: 1.5%;
    width: 195px !important;
}

@media (min-width: 1664px) { /* 1650px + 14px scrollbar */
    #tk-adv {
        display: block;
        position: absolute;
        top: -1000px;
        left: 1.5%;
        width: 195px !important;
    }
}

div#remark42 {
    padding: 15px;
    border: 2px solid #e9e8e8;
    border-radius: 3px;
}

div.js-1259, div.js-1269 {
    min-height: 300px !important;
}

.uk-form select {
    height: 35px;
}


/* block paperbook */

.tk-paperbook {
    display: none;
}
