/*
Theme Name: library
Theme URI: http://library.com/
Author: developer
Author URI: https://wordpress.org/
Description: library
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: library
Text Domain: library
*/

@font-face {
  src: url('fonts/corki/corki-regular-webfont.eot');
  src: url('fonts/corki/corki-regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/corki/corki-regular-webfont.woff') format('woff'),
       url('fonts/corki/corki-regular-webfont.ttf') format('truetype'),
       url('fonts/corki/corki-regular-webfont.svg#corkiregular') format('svg');
  font-display: swap;
  font-family: 'corkiregular';
  font-style: normal;
  font-weight: normal;
}

* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}

.header ul,
.left-sidebar ul,
.footer ul,
.authors_list {
  list-style: none;
}

body {
  background-color: #fff9db;
	font: 14px/1.2 Calibri;
	height: 100%;
}

.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

.min-width {
  display: table;
  margin: 0 auto;
  width: 1155px;
}

.table {
  display: table;
  width: 100%;
}

/**/
.drop_down_btn {
  background-color: #f3e7ac;
  border: medium none;
  cursor: pointer;
  display: none;
  padding: 12px 14px 9px;
  width: 100%;
}

.drop_down_btn span {
  background-color: #624a34;
  display: block;
  height: 3px;
  margin-bottom: 3px;
  width: 18px;
}

/* Header
-----------------------------------------------------------------------------*/
.header {
	background: url('images/header_bg.jpg') no-repeat center top;
  background-size: 100% 97px;
}

.header .top {
  display: flex;
  align-items: center;
  color: #9a8878;
	font-size: 12px;
}

.header .t_cell {
  vertical-align: middle;
}

.header .top .t_cell {
  flex: 1;
}

.header .top .t_cell + .t_cell {
  padding-left: 20px;
}

.header .top .search-block {
  flex: 2;
}

.header .top .auth-block {
  text-align: right;
}

/*.header .top .logotip {
	background: url('images/filosoff_logo.png') no-repeat center top;
  display: block;
	height: 41px;
  margin: 28px 0;
  width: 166px;
}*/

.header .top .logotip {
	background: url('images/logo.png') no-repeat center top;
  display: block;
	height: 60px;
  margin: 19px 0;
  width: 248px;
}

.header .top .login {
  float: right;  
  text-align: left;
}

.header .top a {
  color: #e1d8ad;
	font-size: 14px;
  text-decoration: none;
}

.header .top a:hover {
  text-decoration: underline;
}

.header .sub-btn {
	background-image: url('images/filosoff_subscription.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  display: block;
	height: 55px;
  width: 162px;
}

.library .header .sub-btn {
	background-image: url('images/library_subscription.png');
	height: 55px;
  width: 179px;
}

.header .top .sub-btn {
	height: 55px;
  width: 162px;
}

.library .header .top .sub-btn {
	height: 55px;
  width: 179px;
}

.header .menu .t_cell + .t_cell {
  padding-right: 10px;
}

.header .menu .sub-btn {
	height: 28px;
  margin-left: auto;
  width: 90px;
}

.header .menu .sub-block {
  padding-right: 10px;
  width: 1%;
}

.header .menu {
  margin-bottom: 14px;
  padding-bottom: 16px;
}

.header .menu:after {
  box-shadow: 0px -13px 16px 8px rgba(0, 0, 0, 0.75);
  content: '';
  display: block;
  height: 0;
  margin: 0 auto;
  width: 100%;
}

.header .menu .searchform input {
  height: 28px;
}

.header .menu .searchform input[type="text"] {
  background: #fffbe4;
}

.header .menu .searchform input[type="submit"] {
	background: #3a2000 url('images/search_icon.png') no-repeat center center;
  padding: 0;
  text-indent: -9999px;
  width: 28px;
}

.header .menu .table {
  background: #f3e7ac;
  position: relative;
}

.header .menu .table .t_cell:first-child {
  width: 1%;
}

.header .menu ul {
  background: #f3e7ac;
  font-size: 0;
  padding-bottom: 6px;
  position: relative;
  text-align: center;
}

.header ul li {
  display: inline-block;
  position: relative;
}

.header .menu ul li {
  overflow: hidden;
  vertical-align: top;
}

.header .menu ul a {
  color: #403122;
  display: inline-block;
	font-size: 17px;
	font-style: italic;
  height: 32px;
  padding: 12px 22px 0 22px;
  text-decoration: none;
}

.header ul li .desc,
.header ul li .desc a {
  color: #3a2000;
  font-family: Calibri;
  font-size: 12px;
  font-style: italic;
  height: auto;
  padding: 0;
}

.header ul li .desc {
  display: block;
  line-height: 12px;
  margin: -14px 8px 0;
  position: relative;
  text-align: center;
}

.header ul li .desc a:hover {
  text-decoration: underline;
}

.header .menu ul .authors_link {
  display: none;
}

@media (max-width: 780px) {
  .header .top .search-block {
    display: none;
  }
  
  .header .top .sub-block {
    order: 2;
  }
  
  .header .top .sub-block .sub-btn {
    margin-left: auto;
  }
  
  .drop_down_btn,
  .header .menu ul li,
  .header .menu ul li a,
  .header .menu ul .authors_link {
    display: block;
  }
  
  .header ul li {
    background: none;
  }
  
  .header .menu ul li a {
    font-size: 19px;
  }
  
  .header .menu ul li a:hover {
    background-color: #fff9db;
  }
  
  .header .menu ul, .header .menu ul li .desc {
    display: none;
    padding: 0;
  }
}

@media (max-width: 560px) {
  .header .top .sub-block {
    display: none;
  }
}

@media (max-width: 440px) {
  header .top .t_cell {
    display: block;
    padding: 0;
  }
  
  .header .top .logotip {
    margin: 14px auto 8px;
  }
  
  .header .top .login {
    float: none;
    margin: 0 0 8px 0;
    text-align: center;
  }
  
  .header .top .login span {
    display: none;
  }
}

@media (min-width: 781px) {
  .header .menu ul {
    display: block !important;
  }
  
  .header .menu .searchform {
    display: none;
  }
  
  .header .menu ul li + li:before {
    background-image: linear-gradient(to right, #dacc98 50%, transparent 50%), linear-gradient(to right, #dacc98 50%, transparent 50%), linear-gradient(to bottom, #dacc98 50%, transparent 50%), linear-gradient(to bottom, #dacc98 50%, transparent 50%);
    background-position: left top, left bottom, left top, right top;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 0, 0, 0, 2px 13px;
    content: '';
    height: 100%;
    position: absolute;
    left: 0;
    top: 5px;
    width: 2px;
  }
}

@media (min-width: 768px) {
  .header .menu:after {
    width: 630px;
  }
}

@media (min-width: 561px) {
  .header .menu .sub-block {
    display: none;
  }
}

/* Letters
-----------------------------------------------------------------------------*/
.letters {
  color: #000;
	font-size: 16px;
	font-style: italic;
  margin-top: 14px;
  text-align: center;
}

.letters ul {
  display: inline-block;
}

.letters .active a {
  color: #815018;
  text-decoration: underline;
}

.letters span {
  margin-right: 10px;
  text-decoration: underline;
}

.letters ul li {
	background: rgba(0, 0, 0, 0);
  display: inline-block;
}

.letters ul li:after {
  display: inline-block;
  content: "\2666";
  font-size: 8px;
  margin: 0 4px;
  vertical-align: middle;
  width: 6px;
}

.letters ul li:last-child:after {
  display: none;
}

.letters ul li a {
  color: #393737;
  display: inline-block;
	font-style: italic;
  padding: 0 3px;
  text-decoration: none;
}

.letters ul li a:hover,
.letters ul li a.active {
  color: #815018;
  text-decoration: underline;
}

/* Middle
-----------------------------------------------------------------------------*/
.middle {
  margin-bottom: 30px;
	position: relative;
}

.middle:after {
	display: table;
	clear: both;
	content: '';
}

.h1, h1, h2, h3 {
  color: #624a34;
  font-weight: normal;
  line-height: 1.2;
}

.h1, h1, h2 {
  font-family: 'corkiregular';
}

.h1 {
  font-size: 28px;
  position: relative;
  margin-bottom: 20px;
  text-align: center;
}

.h1:after {
  background-image: linear-gradient(to right, #624a34 50%, transparent 50%);
  background-position: left top;
  background-repeat: repeat-x;
  background-size: 11px 2px;
  content: '';
  height: 2px;
  left: 0;
  margin-top: -1px;
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: -1;
}

.h1 span {
  background: #fff9db;
  display: inline-block;
  padding: 0 8px;
  position: relative;
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

h3 {
  font-family: Calibri;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 15px;
}

.content-wrap {
  color: #3d2c20;
  font-size: 18px;
	padding: 0 30px 0 20px;
}

.content-wrap ul,
.content-wrap ol {
  padding: revert;
}

.content-wrap * {
  box-sizing: border-box;
}

.content-wrap .list_child {
  list-style: none;
}

.content-wrap .list_child > li > a {
  font-size: 17px;
  font-weight: bold;
}

.content-wrap .list_child ul {
  padding: 0 0 0 13px;
}

.content-wrap p {
  margin-bottom: 15px;
}

.content-wrap q {
  background: url('images/qleft.png') left top no-repeat;
  color: #7d695b;
  display: block;
  font-size: 13px;
  font-style: italic;
  line-height: 1.2;
  margin: 30px 0;
  padding: 0 40px;
  position: relative;
  text-align: center;
}

.content-wrap q i {
  background: url('images/qright.png') left top no-repeat;
  bottom: 0;
  height: 23px;
  position: absolute;
  right: 0;
  width: 24px;
}

.content-wrap a {
  color: inherit;
  font-size: inherit;
}

.content-wrap a:hover {
  text-decoration: none;
}

.content-wrap .lines {  
  background: url('images/content-lines.png') left top repeat-x;
  height: 9px;
  margin-top: 30px;
}

.content-wrap .paging {
  font-size: 15px;
  font-style: italic;
  margin: 20px 0;
  padding: 0;
}

.content-wrap .paging li {
  display: inline-block;
  list-style: none;
  margin: 0 0 0 3px;
  padding: 0;
}

.content-wrap .paging li:first-child {
  margin-left: 0;
}

.content-wrap .paging li span {
  color: #e7511c;
}

/* Left Sidebar
-----------------------------------------------------------------------------*/
.left-sidebar .sites li a {
  color: #624a34;
  font-size: 15px;
}

.left-sidebar .sites .has-children {
  background: #f3e7ac;
  display: block;
  font-weight: bold;
  margin-bottom: 2px;
  padding: 8px 30px 8px 12px;
  position: relative;
  text-decoration: none;
}

.left-sidebar .sites .has-children:hover,
.left-sidebar .sites .active .has-children {
  background-color: #624a34;
  color: #fff9db;
}

.left-sidebar .sites .has-children:after {
  border: solid #624a34;
  border-width: 0 2px 2px 0;
  content: "";
  margin-top: -7px;
  padding: 4px;
  position: absolute;
  right: 11px;
  top: 50%;
  transform: rotate(45deg);  
}

.left-sidebar .sites .has-children:hover:after,
.left-sidebar .sites .active .has-children:after {
  border-color: #fff9db;
}

.left-sidebar .sites .active .has-children:after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.left-sidebar .sites ul {
  display: none;
  padding-bottom: 5px;
}

.left-sidebar .sites .active ul {
  display: block;
}

.left-sidebar .sites ul li {
  padding: 3px 0 3px 1.2em;
}

.left-sidebar .sites ul li:before {
  content: '—';
  display: inline-block;
  margin-left: -1.2em;
  width: 1.2em;
}

.left-sidebar .sites ul li a:hover,
.left-sidebar .sites ul li.active a {
  text-decoration: none;
}

.left-sidebar .sites ul li.active a {
  font-weight: bold;
}

.left-sidebar h3 {
  font-style: normal;
  margin-bottom: 0;
}

.left-sidebar p {
  font-size: 16px;
  font-style: italic;
}


/* Right Sidebar
-----------------------------------------------------------------------------*/
.right-sidebar .portrait {
  color: #37281d;
	font-size: 14px;
	font-style: italic;
}

.right-sidebar .portrait-img {
  margin-bottom: 8px;
  padding: 9px 8px;
  position: relative;
}

.right-sidebar .portrait-img img {
  display: block;
}

.right-sidebar .portrait div {
	font-size: 17px;
	font-weight: bold;
}

.right-sidebar .portrait-img:after {
	background: url('images/frame_light.png') no-repeat center center;
  content: '';
  height: 290px;
  left: 0;
  position: absolute;
  top: 0;
  width: 240px;
}

/* Footer
-----------------------------------------------------------------------------*/
.footer {
	background: url('images/footer_bg.jpg') no-repeat center top;
  background-size: 100% 96px;
	height: 62px;
	position: relative;
  padding: 34px 0 0 0;
}

.footer ul {
  margin: 10px 0;
}

.footer ul li {
  display: inline-block;
  margin-right: 11px;
}

.footer ul li a {
  text-shadow: -1px -1px 1px black;
  color: #fef4c9;
	font-size: 12px;
	font-style: italic;
  text-decoration: none;
}

.footer ul li .desc {
  margin-left: 4px;
}

.footer ul li .desc, .footer ul li .desc a {
  color: #8a8780;
}

.footer .social {
  height: 38px;
  font-size: 0;
}

.footer .social div {
  display: inline-block;
  vertical-align: middle;
}

.footer .social a {
  background: url('images/social.png') no-repeat left top;
  display: inline-block;
  height: 36px;
  margin-left: 4px;
  vertical-align: middle;
  width: 37px;
}

.footer .social a.ok {
  background-position: -37px 0;
}

.footer .social div.vk a,
.footer .social a.vk {
  background-position: -74px 0;
}

.footer .social a.tw {
  background-position: -111px 0;
}

.footer .social a.fb {
  background-position: -148px 0;
}

.footer .social a.gp {
  background-position: -185px 0;
}

.footer .social > *:first-child > a {
  margin-left: 0;
}

/* Other
-----------------------------------------------------------------------------*/
.content-wrap .wp-playlist {
  background: #624a34;
  overflow: hidden;
}

.playlist_wrap .wp-playlist .mejs-container {
  width: 100% !important;
}

.playlist_wrap .wp-playlist p {
  margin: 0;
}

.playlist_wrap .wp-playlist .wp-playlist-prev + p {
  display: none;
}

.meta_hidden {
  display: none;
}

.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.t_cell {
  display: table-cell;  
}

.middle .min-width {
  display: block;
}

.middle .min-width:first-child:after {
  content: '';
  display: block;
  clear: both;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 250px calc(100% - 490px) 240px;
  grid-template-rows: auto;
}

.left-sidebar {
  grid-column: 1;
  grid-row: 1 / last-line;
}

.right-sidebar {
  align-items: center;
  display: flex;
  flex-direction: column;
  grid-column: 3;
  grid-row: 1 / last-line;
}

.content-wrap {
  grid-column: 2;
  grid-row: 1;
  width: auto;
}

.content-wrapper > .google-auto-placed {
  grid-row: 1;
}

.content-wrapper > .google-auto-placed + .content-wrap {
  grid-row: 2;
}

.content-wrapper > .content-wrap + .google-auto-placed {
  grid-row: 3;
}

/* bxslider */
.slider_container .banners_slider {
  position: relative;
}

.slider_container .banners_slider li {
  display: block;
  left: 0;
  position: absolute;
  top: 0;
}

.slider_container .banners_slider li:first-child {
  position: relative;
}

.slider_container img {
  display: block;
  height: auto;
  width: 100%;
}

div.bx-wrapper {
  border: 0;
}

.left-sidebar .slider_container, .right-sidebar .slider_container {
  margin-top: 16px;
}

.left-sidebar .bx-wrapper {
  margin-left: 0 !important;
  width: 200px;
}

.before-content:empty,
.after-content:empty {
  display: none;
}

.before-content {
  margin-bottom: 24px;
}

.after-content {
  margin-top: 30px;
}

/* pagination */
.pagination {
  font-size: 0;
  line-height: 0;
  margin: 20px auto 10px;
  text-align: center;
}

.pagination li {
  display: inline-block;
}

.pagination a,
.pagination span {
  border-radius: 4px;
  color: #000;
  display: inline-block;
  font-size: 16px;
  height: 34px;
  line-height: 34px;
  min-width: 34px;
  padding: 0 4px;
  text-decoration: none;
  vertical-align: middle;
}

.pagination a:hover {
  background: #d6c98a;
  color: #fff;
}

.pagination a.pagen {
  background: #d6c98a;
}

.pagination a.pagen i {
  background: url('images/pagenav_arrows.png') no-repeat left top;
  display: block;
  height: 12px;
  margin: 0 auto;
  width: 7px;
}

.pagination a.pagen.next i {
  background-position: right top;
  margin-left: 14px;
}

.pagination a.active,
.pagination .current {
  background: #724617;
  color: #fff;
}

/* video */
#iframe_container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}

#iframe_container iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* scroll buttons */
.scroll-buttons-wrapper {
  display: none;
}

@media (min-width: 1291px) {
  .scroll-buttons-wrapper {
    bottom: 0;
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    transition: background 0.4s linear;
    width: 68px;
  }
  
  .scroll-buttons-wrapper:hover {
    background: rgba(251, 243, 204, 0.8);
  }
  
  .scroll-buttons-wrapper div {
    position: absolute;
    left: 0;
    text-align: center;
    width: 100%;
  }
  
  .scroll-buttons-wrapper > div {
    color: #52360e;
    height: 50%;
  }
  
  .scroll-buttons-wrapper .button-top {
    top: 0;
  }
  
  .scroll-buttons-wrapper .button-bottom {
    bottom: 0;
  }
  
  .scroll-buttons-wrapper .button-top div {
    padding: 40px 0 20px 0;
    top: 0;
  }
  
  .scroll-buttons-wrapper .button-bottom div {
    bottom: 0;
    padding: 20px 0 40px 0;
  }
  
  .scroll-buttons-wrapper > div {
    cursor: pointer;
    display: none;
  }
  
  .scroll-buttons-wrapper > div div:before,
  .scroll-buttons-wrapper > div div:after {
    border: solid #181818;
    border-width: 0 1px 1px 0;
    content: "";
    padding: 4px;
    position: absolute;
    right: 29px;
    transform: rotate(-135deg);
  }
  
  .scroll-buttons-wrapper > div div:after {
    border-color: #a5a5a5;
  }
  
  .scroll-buttons-wrapper .button-top div:before {
    top: 26px;
  }
  
  .scroll-buttons-wrapper .button-top div:after {
    top: 30px;
  }
  
  .scroll-buttons-wrapper .button-bottom div:before,
  .scroll-buttons-wrapper .button-bottom div:after {
    transform: rotate(45deg);
  }
  
  .scroll-buttons-wrapper .button-bottom div:before {
    bottom: 26px;
  }
  
  .scroll-buttons-wrapper .button-bottom div:after {
    bottom: 30px;
  }
}

.wp-video {
  overflow: hidden;
}

/* form */
.searchform {
  display: table;
}

.searchform * {
  box-sizing: border-box;
}

.searchform input {
  background: #e1d8ab;
  border: 1px solid #3d2c20;
  border-radius: 4px 4px 4px 4px;
  color: #3d2c20;
  height: 24px;
  position: relative;
}

.searchform input[type="text"] {
  display: table-cell;
  font-style: italic;
  margin-bottom: 0;
  padding: 0 10px;
  width: 100%;
  z-index: 2;
}

.searchform input[type="text"]:focus {
  box-shadow: inset 0px 0px 3px 0px rgba(50, 50, 50, 0.4);
}

.searchform input[type="submit"] {
  background: #3a2000;
  color: #fffdf2;
  cursor: pointer;
  margin: 0 0 0 10px;
  padding: 0 24px;
}

.searchform span {
  display: table-cell;
  white-space: nowrap;  
  width: 1%;
}

.searchform p {
  border-bottom: 1px solid #9a8b7c;
  margin: 15px 0;
}

.searchform p small {
  font-style: italic;
}

.searchform input[type="text"]::placeholder {
  color: #3d2c20;
}

/**/
.fixed-banner {
  background: #fff;
  box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.4);
  bottom: 0;
  display: none;
  left: 0;
  max-height: 180px;
  position: fixed;
  text-align: center;
  width: 100%;
  z-index: 900;
}

.fixed-banner.active {
  display: block;
}

.fixed-banner button {
  background: #5d5d5d;
  border: 0;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  height: 16px;
  left: 50%;
  margin-left: -25px;
  padding: 0;
  position: absolute;
  top: -16px;
  width: 50px;
}

.fixed-banner button:after {
  border: solid #fff;
  border-width: 0 1px 1px 0;
  content: "";
  display: inline-block;
  margin-bottom: 4px;
  padding: 4px;
  transform: rotate(45deg);
  vertical-align: top;
}

@media (min-width: 768px) {
  .fixed-banner,
  .fixed-banner.active {
    left: calc(50% - 364px);
    margin: 0 auto;
    width: 728px;
  }
}

@media (min-width: 2030px) {
  .fixed-banner,
  .fixed-banner.active {
    left: calc(50% - 577.5px);
    width: 1155px;
  }
}

.fixed-banner .ads-block:empty + button {
  display: none;
}

.fixed-banner .ads-block:not(:empty) {
  margin: 0;
}

.ads-block {
  overflow: hidden;
}

.ads-block:not(:empty) {
  margin: 15px 0;
}

.before-content .ads-block {
  margin: 0;
  max-height: 250px;
}

.left-sidebar .sites + .ads-block,
.right-sidebar .ads-block {
  position: sticky;
  top: 0;
}

.left-sidebar .ads-block:first-child,
.content-wrap .ads-block:first-child {
  margin-top: 0;
}

.adsbygoogle {
  text-align: center;
}

.fixed-banner .adsbygoogle {
  height: 90px;
  min-width: 320px;
  max-width: 970px;
  width: 100%;
}

.left-sidebar .sites + .adsbygoogle {
  height: 250px;
  width: 250px;
}

.right-sidebar .adsbygoogle {
  height: 200px;
  margin-left: 20px;
  width: 200px;
}

/* Adaptive
-----------------------------------------------------------------------------*/
@media (max-width: 1185px) {
  .min-width {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;    
  }
  
  .middle .left-sidebar {
    display: none;
  }
  
  .content-wrapper {
    grid-template-columns: auto 240px;
  }
  
  .right-sidebar {
    grid-column: 2;
  }
  
  .content-wrap {
    grid-column: 1;
    padding-left: 0;
  }
}

@media (max-width: 1078px) {
  .footer ul li .desc {
    display: none;  
  }
}

@media (max-width: 820px) {
  .right-sidebar {
    margin: 0 auto 10px;
    order: -1;
  }

  .right-sidebar .bx-wrapper {
    display: none;
  }
  
  .content-wrapper {
    display: flex;
    flex-wrap: wrap;
  }
  
  .content-wrap {
    padding-right: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .content-wrap {
    font-size: 19px;
  }
}

@media (max-width: 740px) {
  .footer ul {
    display: none;  
  }
}
  
@media (max-width: 650px) {
  .letters {
    display: none;
  }
}

.breadcrumb {
  margin-top: 10px;
}

.breadcrumb a {
  color: #3d2c20;
}

.breadcrumb a:hover {
  text-decoration: none;
}

/* google */
.google-auto-placed {
  clear: none !important;
}

.content-wrap .google-auto-placed {
  margin-bottom: 15px;
}

/* mgbox */
.mgbox-right-sidebar {
  margin-top: 18px;
}

.mgbox-after-content {
  margin-top: 20px;
}

/* full */
.full-page .header .menu {
  margin-bottom: 0;
  padding-bottom: 0;
}

.full-bg .wrapper {
  display: flex;
	height: 100% !important;
  flex-direction: column;
}

.full-bg .middle {
	background: url('images/filosoff_full.jpg') no-repeat center top / cover;
}

.full-page .middle {
  display: flex;
	height: 100%;
  margin-bottom: 0;
}

.full-page .content-wrap {
  line-height: 1;
  text-align: center;
  width: 100%;
}

.full-page .h1 {
  color: #301e14;
}

.full-page .h1:after {
  display: none;
}

.full-page .wrapper .h1 span {
  background: transparent;
}

.error404 .content-wrapper {
  /*height: 100%;*/
  align-content: center;
}

.error404 h1 {
  font-size: 140px;
  font-style: normal;
  color: #301e14;
}

.error404 .content-wrap,
.error404 .content-wrap a {
  color: #403122;
  font-family: 'corkiregular';
}

.error404 .content-wrap a {
  font-size: 24px;
}

.error404 .content-wrap p {
  font-size: 48px;
  margin-bottom: 30px;
}

/* 
library multisite 
*/
/* lobster-regular - cyrillic-ext */
@font-face {
  src: url('fonts/lobster/lobster-cyrillic-ext-regular.eot');
  src: local(''),
       url('fonts/lobster/lobster-cyrillic-ext-regular.eot?#iefix') format('embedded-opentype'),
       url('fonts/lobster/lobster-cyrillic-ext-regular.woff2') format('woff2'),
       url('fonts/lobster/lobster-cyrillic-ext-regular.woff') format('woff'),
       url('fonts/lobster/lobster-cyrillic-ext-regular.ttf') format('truetype'),
       url('fonts/lobster/lobster-cyrillic-ext-regular.svg#Lobster') format('svg');
  font-display: swap;
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
}

.library {
  background-color: #fff;
}

.library .min-width {
  width: 1400px;
}

@media (max-width: 1400px) {
  .library .min-width {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;    
  }
}

.library .header {
  background: url('images/header_bg_wood.jpg') repeat-x center top;
}

.library .header .top .logotip {
	background: url('images/library_logo.png') no-repeat center top;
	height: 50px;
  width: 197px;
}

.library .drop_down_btn,
.library .header .menu .table,
.library .header .menu ul {
  background: #e8d5c6;
}

.library .header .menu .searchform input[type="text"] {
  background: #fff;
}

.library .header .min-width .searchform {
  margin-left: auto;
  max-width: 240px;
}

.library .searchform input {
  background: #fff;
  border-color: #3d2c20;
  border-radius: 4px 0 0 4px;
  color: #301e14;
  height: 30px;
}

.library .searchform input[type="submit"],
.library .header .menu .searchform input[type="submit"] {
  background: #fff url('images/search_icon_red.png') no-repeat center center;
  border-radius: 0 4px 4px 0;
  margin: 0;
  padding: 0 18px;
  text-indent: -999px;
}

.library .searchform input[type="submit"] {
  border-left: 0;
}

.library .searchform input[type="text"] {
  border-right: 0;
}

.library .searchform input[type="text"]::placeholder {
  color: #301e14;
}

.library .letters,
.library .letters ul li a {
  font-style: normal;
}

.library .left-sidebar .sites .has-children {
  background: #e8d5c6;
  border-radius: 4px;
  color: #5b0000;
  font-family: 'Lobster', cursive;
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 4px;
}

.library .left-sidebar .sites .has-children:hover, 
.library .left-sidebar .sites .active .has-children {
	background: url('images/menu_bg.png') no-repeat center center / cover;
  color: #e8d5c6;
}

.library .right-sidebar .portrait {
  color: #847b74;
}

.library .right-sidebar .portrait div {
  color: #5b0000;
}

.library .h1, 
.library h1, 
.library h2 {
  font-family: 'Lobster', cursive;
  color: #5b0000;
}

.library .h1:after {
  display: none;
}

.library .h1 span {
  background: #fff;
}

.library .pagination a.active, 
.library .pagination .current {
  background: #5b0000;
}

.library .pagination a:hover {
  background: #e8d5c6;
  color: #5b0000;
}

.library .footer {
  background: transparent;
  height: auto;
  padding: 0;
}

.library .footer .min-width .t_cell {
  border-top: 2px solid #301e14;
  padding: 30px 0;
}

.library .footer ul li a {
  color: #674237;
  text-shadow: none;
}

.library.full-bg .middle {
	background: url('images/library_full.jpg') no-repeat center top / cover;
}

.library.error404 h1 {
  font-size: 100px;
}

.library.error404 .content-wrap,
.library.error404 .content-wrap a {
  font-style: italic;
  font-family: Calibri;
}

.library.error404 .content-wrap a {
  font-size: 16px;
}

.library.error404 .content-wrap p {
  font-size: 25px;
  margin-top: 10px;
}

.library .scroll-buttons-wrapper {
  top: auto;
}

.library .scroll-buttons-wrapper:hover {
  background: none;
}

.library .scroll-buttons-wrapper div {
  font-style: italic;
  position: relative;
  text-transform: capitalize;
  text-decoration: underline;
}

.library .scroll-buttons-wrapper .button-top div:before {
	background: url('images/scroll_top.png') no-repeat center center;
  border: none;
  height: 39px;
  padding: 0;
  right: 20px;
  top: 0;
  transform: none;
  width: 28px;
}

.library .scroll-buttons-wrapper > div div:after {
  display: none;
}

.library .button-bottom {
  display: none !important;
}

.library .content-wrap .wp-playlist {
  background: #5b0000;
}

.library .right-sidebar .portrait-img:after {
	background: url('images/frame_dark.png') no-repeat center center;
}

.lazyload {
  display: none;
}

.download-block:not(:first-child) {
  margin-top: 15px;
}

@media (min-width: 480px) {
  .download-block {
    display: flex;
    justify-content: space-between;
  }
}

.download-block > * {
  margin-bottom: 15px;
}

.download-block a {
	background: #dfd6b8;
  border-radius: 5px;
  display: inline-block;
  padding: 8px 12px;
  text-decoration: none;
}

.download-block a:hover {
	background: #f3e7ac;
}

.library .download-block a {
	background: #e8d5c6;
}

.library .download-block a:hover {
	background: #f2e1d3;
}

.download-wrapper {
  font-size: 18px;
}

.download-wrapper:before {
	background: url('images/download.png') no-repeat center center;
  content: '';
  display: inline-block;
  height: 21px;
  margin: -1px 6px 0 0;
  vertical-align: middle;
  width: 17px;
}

.download-wrapper a {
  margin-left: 8px;
}

.print-btn:before {
	background: url('images/print.png') no-repeat center center;
  content: '';
  display: inline-block;
  height: 20px;
  margin: -2px 8px 0 0;
  vertical-align: middle;
  width: 20px;
}

.wp-playlist-item-wrapper {
  border-bottom: 1px solid #ccc;
  display: flex;
}

.wp-playlist-item-wrapper:last-child {
  border-bottom: 0;
}

.wp-playlist-item-wrapper .wp-playlist-item {
  border-bottom: 0;
  flex: 1;
  max-width: calc(100% - 17px);
}

.wp-playlist-item-wrapper .wp-playlist-download {
	background: url('images/download_white.png') no-repeat center center;
  height: 16px;
  margin: 2px 0 0 4px;
  width: 13px;
}

/**/
.on-off {
  cursor: pointer;
  display: inline-block;
  font-size: 0;
  height: 34px;
  overflow: hidden;
  position: relative;
  width: 70px;
}

.on-off > * {
  height: 26px;
  padding: 4px;
  width: 62px;
}

.on-off input {
  display: none;
}

.on-off .label {
  background: #ddcf87;
  border-radius: 20px;
  display: inline-block;
}

.on-off .label > * {
  display: inline-block;
  height: 100%;
  transition: width 0.1s linear;
  vertical-align: top;
}

.on-off .label .toggle {
  background: #fff9db;
  border-radius: 50%;
  height: 26px;
  width: 26px;
}

.on-off input:checked + .label {
  background: #3a2100;
}

.on-off .checked,
.on-off input:checked + .label .unchecked {
  width: 0;
}

.on-off .unchecked,
.on-off input:checked + .label .checked {
  width: 36px;
}

.submit-btn,
.tml-button {
  background: #392000;
  border: none;
  border-radius: 5px;
  color: #fff9db;
  cursor: pointer;
  font: 30px 'corkiregular';
  min-width: 230px;
  padding: 12px 16px;
}

.tml .tml-field {
  background: #fff9db;
  border-radius: 5px;
  border: none;
  color: #392000;
  height: 38px;
  padding: 0 10px;
}

.tml .tml-field::placeholder {
  color: #8e5b1b;
}

.tml .tml-checkbox {
  display: none;
}

.tml .tml-checkbox + .tml-label {
  display: inline-block;
  min-height: 30px;
  padding: 5px 0 0 40px;
  position: relative;
}

.tml .tml-checkbox + .tml-label:before {
  background: #fff9db;
  border-radius: 5px;
  content: '';
  height: 30px;
  left: 0;
  position: absolute;
  top: 0;
  width: 30px;
}

.tml .tml-checkbox:checked + .tml-label:after {
  border-bottom: 3px solid #3a2100;
  border-right: 3px solid #3a2100;
  content: '';
  height: 14px;
  left: 10px;
  position: absolute;
  top: 5px;
  transform: rotate(45deg);
  width: 6px;
}

.tml-links {
  list-style: none;
}

.tml-field-wrap:not(.tml-submit-wrap) {
  margin-left: auto;
  margin-right: auto;
  max-width: 280px;
  text-align: left;
}

.tml .tml-error {
  background: #ffd7d7;
}

.tml .tml-message {
  background: #b2edff;
}

.tml .tml-success {
  background: #ccffd1;
}

/* customize */
.dashed {
  background-image: linear-gradient(to right, #3a2100 50%, transparent 50%);
  background-position: left top;
  background-repeat: repeat-x;
  background-size: 11px 2px;
  height: 2px;
  margin: 18px 0;
}

.leyka-tpl-star-form {
  margin-bottom: 30px;
}

.wp-block-leyka-form.leyka-block-form-star:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: none;
}

.leyka-pf-star .checked {
  color: #8e5b1b;
  font-size: 22px;
  list-style: none;
}

.leyka-pf-star .checked a {
  text-decoration: underline;
}

.leyka-pf-star .checked a:hover {
  text-decoration: none;
}

.leyka-pf-star .checked li {
  margin: 14px 0;
  min-height: 28px;
  padding-left: 44px;
  position: relative;
}

.leyka-pf-star .checked li:before {
  border: 3px solid #674017;
  border-radius: 50%;
  content: '';
  height: 25px;
  left: 0;
  position: absolute;
  top: -3px;
  vertical-align: top;
  width: 25px;
}

.leyka-pf-star .checked li:after {
  border-bottom: 3px solid #674017;
  border-right: 3px solid #674017;
  content: '';
  height: 12px;
  left: 10px;
  position: absolute;
  transform: rotate(45deg);
  top: 3px;
  width: 6px;
}

.leyka-pf-star .text {
  text-align: left;
}

.leyka-pf-star .text .dashed {
  margin: 34px 0;
}

@media (min-width: 768px) {
  .leyka-pf-star .text {
    padding: 0 28px;
  }
}

div[id*="leyka-pf-"].leyka-pf-star,
div[id*="leyka-pf-"].leyka-pf-star:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.1;
  max-width: none;
  padding: 0;
}

div[id*="leyka-pf-"] .amount__figure {
  display: block;
  width: auto;
}

.leyka-tpl-star-form .section .section__fields .star-swiper {
  overflow: visible;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
  width: calc(100% + 10px);
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item {
  border-radius: 8px;
  border: none;
  color: #3a2100;
  display: block;
  height: auto;
  margin: 5px;
  overflow: visible;
  padding: 28px 15px;
  position: relative;
  text-align: center;
  width: calc(100% - 40px);
}

@media (min-width: 480px) {
  .leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item {
    width: calc(50% - 40px);
  }
}

@media (min-width: 768px) {
  .leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item {
    width: calc(25% - 40px);
  }
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item:nth-child(1) {
  background: #f2e7ad;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item:nth-child(2) {
  background: #f6d57b;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item:nth-child(3) {
  background: #e6bb5f;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item:nth-child(4) {
  background: #d2a74c;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item .label {
  cursor: pointer;
  display: inline-block;
  font: bold 30px/1.1 'corkiregular';
  padding-left: 44px;
  position: relative;
  text-align: left;
  text-indent: -44px;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item .label:before {
  border: 3px solid #3a2100;
  border-radius: 50%;
  content: '';
  display: inline-block;
  height: 25px;
  margin: 0 10px 0 0;
  vertical-align: top;
  width: 25px;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item.selected .label:after {
  border-bottom: 3px solid #3a2100;
  border-right: 3px solid #3a2100;
  content: '';
  height: 12px;
  left: 11px;
  position: absolute;
  top: 7px;
  transform: rotate(45deg);
  width: 6px;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item .desc {
  font-size: 18px;
  font-weight: bold;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item .desc .head {
  font-size: 24px;
  margin-bottom: 10px;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item .desc .strike {
  color: #d50000;
  text-decoration: line-through;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item .desc .strike .strike {
  color: #3a2100;
  text-decoration: none;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item .discount {
  box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.6);
  border-radius: 2px;
  color: #fff;
  font: 18px 'corkiregular';
  left: -6px;
  padding: 4px 8px;
  position: absolute;
  top: 8px;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item .discount:after {
  border-style: solid;
  border-width: 0 7px 5px 0;
  bottom: -4px;
  content: '';
  height: 0;
  left: 0;
  position: absolute;
  width: 0;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item :nth-child(2) .discount {
  background: #ff6c00;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item :nth-child(3) .discount {
  background: #ff3600;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item :nth-child(4) .discount {
  background: #d50000;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item :nth-child(2) .discount:after {
  border-color: transparent #ff6c00 transparent transparent;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item :nth-child(3) .discount:after {
  border-color: transparent #ff3600 transparent transparent;
}

.leyka-tpl-star-form .section .section__fields .star-swiper .full-list .swiper-item :nth-child(4) .discount:after {
  border-color: transparent #d50000 transparent transparent;
}

.leyka-tpl-star-form .section .section__fields .donor__submit .leyka-default-submit {
  background: #392000;
  border: none;
  border-radius: 5px;
  color: #fff9db;
  cursor: pointer;
  display: inline-block;
  font: 30px 'corkiregular';
  margin: 0 auto;
  min-width: 230px;
  padding: 12px 16px;
  text-transform: none;
  width: auto;
}

.leyka-tpl-star-form .section .section__fields .donor__submit .leyka-default-submit:disabled {  
  background: #999;
}

.leyka-payment-form .section .section__fields .star-swiper .full-list .swiper-item .desc span {
  color: inherit;
  font: inherit;
}

div[id*="leyka-pf-"].leyka-pf-star .leyka-payment-form .section--cards {
  display: none;
}

.leyka-tpl-star-form .section .section__fields .single-pm-icon, 
.leyka-screen-form .section .section__fields .single-pm-icon {
  display: none !important;
}

/* profile */
.profile-wrapper {
  margin-bottom: 30px;
}

.profile-menu {
  margin-bottom: 30px;
}

.profile-menu a,
.profile-menu span {
  background: #f2e7ad;
  border-radius: 5px;
  display: block;
  font: 24px 'corkiregular';
  margin-bottom: 10px;
  padding: 10px 20px;
  text-align: left;
  text-decoration: none;
}

.profile-menu a:hover,
.profile-menu span {
  background: #ddcf87;
}

.profile-content {
  color: #8e5b1b;
  flex: 1;
  text-align: left;
}

.profile-value,
.profile-content a {
  color: #392000;
}

.profile-content .tml-field {
  background: #f2e7ad;
}

.profile-group {
  margin-bottom: 20px;
}

.profile-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.profile-field {
  display: flex;
  flex-direction: column;
}

.profile-field + .profile-field {
  margin-top: 10px;
}

@media (max-width: 780px) {
  .profile-field .tml-field {
    margin-bottom: 8px;
  }
  
  .profile-pass .profile-field .tml-field {
    margin: 8px 0 0 0;
    order: 2;
  }
}

@media (min-width: 781px) {
  .profile-content .tml-field {
    background: #f2e7ad;
    margin-right: 14px;
    max-width: 280px;
  }
  
  .profile-field {
    align-items: center;
    flex-direction: row;
  }
}

@media (min-width: 680px) {
  .profile-wrapper {
    display: flex;
  }
  
  .profile-menu {
    margin: 0 30px 0 0;
    width: 220px;
  }
}

.adsbygoogle[data-ad-status] {
  display: none !important;
}

.adsbygoogle[data-ad-status="filled"] {
  display: block !important;
}

.mrg-tag {
  text-decoration: none;
}

/* marquee */
.marquee {
  background: #b40000;
  color: #fff;
  font-size: 17px;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 8px 0;
  white-space: nowrap;
}

.marquee img {
  filter: brightness(0) invert(1);
  vertical-align: middle;
}

/**/
.content-wrap img.aligncenter {
  display: flex;
  margin: auto;
}
